projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
configure.ac: fix typo
[collectd.git]
/
configure.ac
diff --git
a/configure.ac
b/configure.ac
index
2289aa4
..
18314e2
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-165,6
+165,7
@@
AC_CHECK_HEADERS_ONCE([ \
kstat.h \
kvm.h \
libgen.h \
kstat.h \
kvm.h \
libgen.h \
+ locale.h \
mntent.h \
mnttab.h \
netdb.h \
mntent.h \
mnttab.h \
netdb.h \
@@
-742,26
+743,12
@@
test_cxx_flags() {
#
AC_CHECK_FUNCS_ONCE([ \
asprintf \
#
AC_CHECK_FUNCS_ONCE([ \
asprintf \
- closelog \
- getaddrinfo \
- getgrnam_r \
- getnameinfo \
getpwnam \
getpwnam_r \
getpwnam \
getpwnam_r \
- gettimeofday \
if_indextoname \
if_indextoname \
- openlog \
- regcomp \
- regerror \
- regexec \
- regfree \
- select \
setenv \
setgroups \
setenv \
setgroups \
- strcasecmp \
- strdup \
- strncasecmp \
- sysconf
+ setlocale
]
)
]
)
@@
-3963,7
+3950,13
@@
if test "x$with_libnetsnmpagent" = "xyes"; then
)
AC_CHECK_LIB([netsnmpagent], [init_agent],
)
AC_CHECK_LIB([netsnmpagent], [init_agent],
- [with_libnetsnmpagent="yes"],
+ [
+ # libnetsnmp can be built without mib loading support
+ AC_CHECK_LIB([netsnmp], [get_tree],
+ [with_libnetsnmpagent="yes"],
+ [with_libnetsnmpagent="no (libnetsnmp doesn't support mib loading)"]
+ )
+ ],
[with_libnetsnmpagent="no (libnetsnmpagent not found)"],
[$libnetsnmphelpers]
)
[with_libnetsnmpagent="no (libnetsnmpagent not found)"],
[$libnetsnmphelpers]
)
@@
-5769,7
+5762,7
@@
if test "x$with_libxmms" = "xyes"; then
fi
if test "x$with_libxmms" = "xyes"; then
fi
if test "x$with_libxmms" = "xyes"; then
- SAVE_CPPFLAGS="$CFLAGS"
+ SAVE_CPPFLAGS="$C
PP
FLAGS"
CPPFLAGS="$with_xmms_cflags"
AC_CHECK_HEADER([xmmsctrl.h],
CPPFLAGS="$with_xmms_cflags"
AC_CHECK_HEADER([xmmsctrl.h],