X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=configure.ac;h=a2fb6be87d3c38168b9235abdb31dce1091724ef;hb=d17d1f5e3301a5c5ab0aea105940fa6fad915b82;hp=cf407228afe31c3e9c2a369c676868b3dc76b434;hpb=9f8dc5668faf5432dcb1430017bd7a1c383c2453;p=collectd.git diff --git a/configure.ac b/configure.ac index cf407228..a2fb6be8 100644 --- a/configure.ac +++ b/configure.ac @@ -165,6 +165,7 @@ AC_CHECK_HEADERS_ONCE([ \ kstat.h \ kvm.h \ libgen.h \ + locale.h \ mntent.h \ mnttab.h \ netdb.h \ @@ -742,26 +743,12 @@ test_cxx_flags() { # AC_CHECK_FUNCS_ONCE([ \ asprintf \ - closelog \ - getaddrinfo \ - getgrnam_r \ - getnameinfo \ getpwnam \ getpwnam_r \ - gettimeofday \ if_indextoname \ - openlog \ - regcomp \ - regerror \ - regexec \ - regfree \ - select \ setenv \ setgroups \ - strcasecmp \ - strdup \ - strncasecmp \ - sysconf + setlocale ] ) @@ -3972,6 +3959,8 @@ if test "x$with_libnetsnmpagent" = "xyes"; then fi if test "x$with_libnetsnmpagent" = "xyes"; then + BUILD_WITH_LIBNETSNMPAGENT_CPPFLAGS="$with_libnetsnmpagent_cppflags" + BUILD_WITH_LIBNETSNMPAGENT_LDFLAGS="$with_libnetsnmpagent_ldflags" BUILD_WITH_LIBNETSNMPAGENT_LIBS="-lnetsnmpagent $libnetsnmphelpers" fi