X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=configure.in;h=a47fed03a67237582cdb07f7c8c2e9ef4043da3f;hb=171d6a4bd5e05b56be83860701d35bfe1373d6a7;hp=75ac706a85c354928b65b6851418bcceaa91fc08;hpb=f6d2b3c2f83808f9f3913bf0220b3e6ad84fe23c;p=collectd.git diff --git a/configure.in b/configure.in index 75ac706a..a47fed03 100644 --- 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 +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"