X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=configure.in;h=8f6eadeedfc825cc74cf60a20b5d6f4d339712fd;hb=b86dd62eef146a35d43b60efa20d30756ce78d00;hp=b663920b233863413eededdc095965f1dee6b204;hpb=c3533f89f324411112a8b80d7ff0d7afd1e70b5d;p=collectd.git diff --git a/configure.in b/configure.in index b663920b..8f6eadee 100644 --- a/configure.in +++ b/configure.in @@ -88,6 +88,10 @@ if test "x$ac_system" = "xSolaris" 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" @@ -964,7 +968,7 @@ fi AC_MSG_CHECKING([if have htonll defined]) have_htonll="no" - AC_RUN_IFELSE([ + AC_LINK_IFELSE([ AC_LANG_PROGRAM([ #include #include @@ -3927,7 +3931,7 @@ then 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 @@ -4388,7 +4392,7 @@ then 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