diff --git a/configure.in b/configure.in
index 66785583a3cc2e86f474d4230dceb658c5a1f08e..5d82c47c993775e934c7dcbee721a795c1b1c7a1 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"