X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=configure.in;h=8f6eadeedfc825cc74cf60a20b5d6f4d339712fd;hb=13cbf9d48f26083e29e07c1b59ad1d67b6efa147;hp=3e31cf2a6de15bb46f65a35fa4ad2d11644d4495;hpb=abca4ca8259e09e4a195d1741e8aec32fa800b62;p=collectd.git diff --git a/configure.in b/configure.in index 3e31cf2a..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"