diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2012-02-22 12:00:16 +0200 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2012-02-22 12:00:16 +0200 |
commit | 2dcea03712fa881930d69ec9eff70855c3d126d9 (patch) | |
tree | a9997a604ce7fe1d66c4c714d76c1454d3f3878f /configure.ac | |
parent | Tests: Fix a compiler warning with _FORTIFY_SOURCE. (diff) | |
download | xz-2dcea03712fa881930d69ec9eff70855c3d126d9.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 37949a94..25eb838f 100644 --- a/configure.ac +++ b/configure.ac @@ -457,7 +457,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. # These are nice to have but not mandatory. OLD_CFLAGS=$CFLAGS |