mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-20 13:10:43 +01:00
add Michael Biebl's autoconf patch for netsnmp - thks!
This commit is contained in:
parent
bd6a67d38e
commit
16d4429147
@ -3,6 +3,10 @@ Version 3.10.3 (rgerhards), 2008-01-14
|
|||||||
- fixed a bug with standard template definitions (not a big deal) - thanks
|
- fixed a bug with standard template definitions (not a big deal) - thanks
|
||||||
to varmojfekoj for spotting it
|
to varmojfekoj for spotting it
|
||||||
- run-time instrumentation added
|
- run-time instrumentation added
|
||||||
|
- implemented disk-assisted queue mode, which enables on-demand disk
|
||||||
|
spooling if the queue's in-memory queue is exhausted
|
||||||
|
- implemented a dynamic worker thread pool for processing incoming
|
||||||
|
messages; workers are started and shut down as need arises
|
||||||
- implemented the $MainMsgQueueSaveOnShutdown config directive
|
- implemented the $MainMsgQueueSaveOnShutdown config directive
|
||||||
- implemented the $MainMsgQueueWorkerThreadMinimumMessages config directive
|
- implemented the $MainMsgQueueWorkerThreadMinimumMessages config directive
|
||||||
- implemented the $MainMsgQueueTimeoutWorkerThreadShutdown config directive
|
- implemented the $MainMsgQueueTimeoutWorkerThreadShutdown config directive
|
||||||
|
|||||||
36
configure.ac
36
configure.ac
@ -388,28 +388,20 @@ AC_ARG_ENABLE(snmp,
|
|||||||
esac],
|
esac],
|
||||||
[enable_snmp=no]
|
[enable_snmp=no]
|
||||||
)
|
)
|
||||||
#if test "x$enable_snmp" = "xyes"; then
|
if test "x$enable_snmp" = "xyes"; then
|
||||||
# I think we can delete that part -- rgerhards, 2008-01-22
|
AC_CHECK_HEADERS(
|
||||||
# AC_CHECK_PROG(
|
[net-snmp/net-snmp-config.h],,
|
||||||
# [HAVE_PGSQL_CONFIG],
|
[AC_MSG_FAILURE([Net-SNMP is missing])]
|
||||||
# [pg_config],
|
)
|
||||||
# [yes],,,
|
AC_CHECK_LIB(
|
||||||
# )
|
[netsnmp],
|
||||||
# if test "x${HAVE_PGSQL_CONFIG}" != "xyes"; then
|
[snmp_timeout],
|
||||||
# AC_MSG_FAILURE([pg_config not found in PATH])
|
[snmp_cflags=""
|
||||||
# fi
|
snmp_libs="-lnetsnmp"
|
||||||
# END to-be-deleted
|
],
|
||||||
# here must go the check for netsnmp
|
[AC_MSG_FAILURE([Net-SNMP library is missing])]
|
||||||
# AC_CHECK_LIB(
|
)
|
||||||
# [pq],
|
fi
|
||||||
# [PQconnectdb],
|
|
||||||
# [snmp_cflags=""
|
|
||||||
# snmp_libs=""
|
|
||||||
# ],
|
|
||||||
# [AC_MSG_FAILURE([netsnmp library is missing])],
|
|
||||||
# [-L`pg_config --libdir`]
|
|
||||||
# )
|
|
||||||
#fi
|
|
||||||
AM_CONDITIONAL(ENABLE_SNMP, test x$enable_snmp = xyes)
|
AM_CONDITIONAL(ENABLE_SNMP, test x$enable_snmp = xyes)
|
||||||
AC_SUBST(snmp_cflags)
|
AC_SUBST(snmp_cflags)
|
||||||
AC_SUBST(snmp_libs)
|
AC_SUBST(snmp_libs)
|
||||||
|
|||||||
@ -3,4 +3,4 @@ pkglib_LTLIBRARIES = omsnmp.la
|
|||||||
omsnmp_la_SOURCES = omsnmp.c
|
omsnmp_la_SOURCES = omsnmp.c
|
||||||
omsnmp_la_CPPFLAGS = -I$(top_srcdir) $(pthreads_cflags) $(mudflap_cflags)
|
omsnmp_la_CPPFLAGS = -I$(top_srcdir) $(pthreads_cflags) $(mudflap_cflags)
|
||||||
omsnmp_la_LDFLAGS = $(mudflap_libs) -module -avoid-version
|
omsnmp_la_LDFLAGS = $(mudflap_libs) -module -avoid-version
|
||||||
omsnmp_la_LIBADD =
|
omsnmp_la_LIBADD = $(snmp_libs)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user