diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2012-05-24 18:47:52 +0300 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2012-05-24 18:47:52 +0300 |
commit | c6fa03a427e3d1320794102cee3ff4f5ae00eb36 (patch) | |
tree | 5c0431aabcb127c144f734a1f718befe11a4bb24 /configure.ac | |
parent | Build: Upgrade m4/acx_pthread.m4 to the latest version. (diff) | |
download | xz-c6fa03a427e3d1320794102cee3ff4f5ae00eb36.tar.xz |
Fix compiling with IBM XL C on AIX.
Diffstat (limited to '')
-rw-r--r-- | configure.ac | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 88d35241..f0ccef94 100644 --- a/configure.ac +++ b/configure.ac @@ -434,7 +434,11 @@ if test "x$enable_threads" = xyes; then AX_PTHREAD LIBS="$LIBS $PTHREAD_LIBS" AM_CFLAGS="$AM_CFLAGS $PTHREAD_CFLAGS" - CC="$PTHREAD_CC" + + dnl NOTE: PTHREAD_CC is ignored. It would be useful on AIX, but + dnl it's tricky to get it right together with AC_PROG_CC_C99. + dnl Thus, this is handled by telling the user in INSTALL to set + dnl the correct CC manually. fi echo |