esac ]
)
+dnl extra argument: --with-snmp
+AC_ARG_WITH(snmp,
+[ --with-snmp Compile in SNMP support],
+[ case "$withval" in
+ no)
+ ;;
+ yes)
+ AC_DEFINE(WITH_SNMP)
+ SNMPLIB="-lsnmp -lcrypto"
+ SNMPINC=-I/usr/include/ucd-snmp
+ esac ]
+)
+
+AC_SUBST(SNMPLIB)
+AC_SUBST(SNMPINC)
+
+
AC_ARG_ENABLE(ltdl-install,
[ --disable-ltdl-install do not install libltdl])
if test x"${enable_ltdl_install+set}" != xset; then
utmp.h \
utmpx.h \
sys/select.h \
- dlfcn.h \
regex.h \
syslog.h \
inttypes.h \
/* use a pool of threads to handle requests, instead of spawning threads? */
#undef WITH_THREAD_POOL
+/* Include SNMP subagent */
+#undef WITH_SNMP
+
/* The number of bytes in a unsigned int. */
#undef SIZEOF_UNSIGNED_INT
/* Define if you have the <dirent.h> header file. */
#undef HAVE_DIRENT_H
-/* Define if you have the <dlfcn.h> header file. */
-#undef HAVE_DLFCN_H
-
/* Define if you have the <errno.h> header file. */
#undef HAVE_ERRNO_H
/* Define if you have the <ndir.h> header file. */
#undef HAVE_NDIR_H
+/* Define if you have the <netinet/in.h> header file. */
+#undef HAVE_NETINET_IN_H
+
/* Define if you have the <pthread.h> header file. */
#undef HAVE_PTHREAD_H
/* Define if you have the <sys/time.h> header file. */
#undef HAVE_SYS_TIME_H
+/* Define if you have the <sys/types.h> header file. */
+#undef HAVE_SYS_TYPES_H
+
/* Define if you have the <syslog.h> header file. */
#undef HAVE_SYSLOG_H