projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'collectd-4.9' into collectd-4.10
[collectd.git]
/
configure.in
diff --git
a/configure.in
b/configure.in
index
c435027
..
a47fed0
100644
(file)
--- a/
configure.in
+++ b/
configure.in
@@
-91,6
+91,10
@@
if test "x$ac_system" = "xSolaris"
then
AC_DEFINE(_POSIX_PTHREAD_SEMANTICS, 1, [Define to enforce POSIX thread semantics under Solaris.])
fi
then
AC_DEFINE(_POSIX_PTHREAD_SEMANTICS, 1, [Define to enforce POSIX thread semantics under Solaris.])
fi
+if test "x$ac_system" = "xAIX"
+then
+ AC_DEFINE(_THREAD_SAFE_ERRNO, 1, [Define to use the thread-safe version of errno under AIX.])
+fi
# Where to install .pc files.
pkgconfigdir="${libdir}/pkgconfig"
# Where to install .pc files.
pkgconfigdir="${libdir}/pkgconfig"
@@
-967,7
+971,7
@@
fi
AC_MSG_CHECKING([if have htonll defined])
have_htonll="no"
AC_MSG_CHECKING([if have htonll defined])
have_htonll="no"
- AC_
RUN
_IFELSE([
+ AC_
LINK
_IFELSE([
AC_LANG_PROGRAM([
#include <sys/types.h>
#include <netinet/in.h>
AC_LANG_PROGRAM([
#include <sys/types.h>
#include <netinet/in.h>
@@
-4030,7
+4034,7
@@
then
plugin_vserver="yes"
plugin_wireless="yes"
plugin_vserver="yes"
plugin_wireless="yes"
- if test "x$have_net_ip_vs_h" = "xyes"
-o
"x$have_ip_vs_h" = "xyes"
+ if test "x$have_net_ip_vs_h" = "xyes"
|| test
"x$have_ip_vs_h" = "xyes"
then
plugin_ipvs="yes"
fi
then
plugin_ipvs="yes"
fi
@@
-4500,7
+4504,7
@@
then
with_librrd="yes (warning: librrd is not thread-safe)"
fi
with_librrd="yes (warning: librrd is not thread-safe)"
fi
-if test "x$with_libiptc" = "xyes"
-a
"x$with_own_libiptc" = "xyes"
+if test "x$with_libiptc" = "xyes"
&& test
"x$with_own_libiptc" = "xyes"
then
with_libiptc="yes (shipped version)"
fi
then
with_libiptc="yes (shipped version)"
fi