From: Alex P. <ale...@ea...> - 2005-02-21 13:51:46
|
Hi Ben, The patch is so big because of the picture in it. The next time is this not needed anymore. Remark about the Configure.ac file: fix for --with-data-source=nagios|asnmtap? AC_ARG_WITH(sys, need to be AC_ARG_WITH(data-source, The next is missing: AM_CONDITIONAL([USE_SOURCE_NAGIOS], [ test "x${USE_SOURCE_NAGIOS}" = "xyes" ]) AM_CONDITIONAL([USE_SOURCE_ASNMTAP], [ test "x${USE_SOURCE_ASNMTAP}" = "xyes" ]) and echo "Database support: ${USE_DB}" need to be: echo "Database support: ${USE_DB}" echo "Data Source: ${DATA_SOURCE}" # # What system are we handling data for? # AC_MSG_CHECKING([for what data source]) DATA_SOURCE=nagios AC_ARG_WITH(data-source, [ --with-data-source=nagios|asnmtap Data Source (default=nagios)],[ if test "$withval" != "no" -a "$withval" != "yes"; then DATA_SOURCE=$withval fi ]) case ${DATA_SOURCE} in nagios) USE_SOURCE_NAGIOS=yes AC_DEFINE_UNQUOTED([USE_SOURCE_NAGIOS],1, [Data Source is Nagios]) AC_MSG_RESULT([Nagios]) ;; asnmtap) USE_SOURCE_ASNMTAP=yes AC_DEFINE_UNQUOTED([USE_SOURCE_ASNMTAP],1, [Data Source is ASNMTAP]) AC_MSG_RESULT([ASNMTAP]) ;; *) AC_MSG_ERROR([${DATA_SOURCE} is not supported (yet?)]) ;; esac AM_CONDITIONAL([USE_SOURCE_NAGIOS], [ test "x${USE_SOURCE_NAGIOS}" = "xyes" ]) AM_CONDITIONAL([USE_SOURCE_ASNMTAP], [ test "x${USE_SOURCE_ASNMTAP}" = "xyes" ]) -- Alex -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 266.1.0 - Release Date: 18/02/2005 |