projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix compile time issues
[collectd.git]
/
configure.ac
diff --git
a/configure.ac
b/configure.ac
index
b2dcabf
..
ac072b0
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 \
@@
-635,16
+636,6
@@
fi
# }}}
# }}}
-# For the dns plugin
-AC_CHECK_HEADERS([arpa/nameser.h])
-AC_CHECK_HEADERS([arpa/nameser_compat.h], [], [],
- [[
- #if HAVE_ARPA_NAMESER_H
- # include <arpa/nameser.h>
- #endif
- ]]
-)
-
AC_CHECK_HEADERS([net/if_arp.h], [], [],
[[
#if HAVE_SYS_SOCKET_H
AC_CHECK_HEADERS([net/if_arp.h], [], [],
[[
#if HAVE_SYS_SOCKET_H
@@
-768,6
+759,7
@@
AC_CHECK_FUNCS_ONCE([ \
select \
setenv \
setgroups \
select \
setenv \
setgroups \
+ setlocale \
strcasecmp \
strdup \
strncasecmp \
strcasecmp \
strdup \
strncasecmp \
@@
-3982,6
+3974,8
@@
if test "x$with_libnetsnmpagent" = "xyes"; then
fi
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
BUILD_WITH_LIBNETSNMPAGENT_LIBS="-lnetsnmpagent $libnetsnmphelpers"
fi