projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #3207 from dago/cppflagsbugs
[collectd.git]
/
configure.ac
diff --git
a/configure.ac
b/configure.ac
index
cf40722
..
add1556
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
]
)
]
)
@@
-3972,6
+3959,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
@@
-5767,7
+5756,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],