diff --git a/configure.in b/configure.in
index 75ac706a85c354928b65b6851418bcceaa91fc08..a47fed03a67237582cdb07f7c8c2e9ef4043da3f 100644 (file)
--- a/configure.in
+++ b/configure.in
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"