Skip to content
Snippets Groups Projects
Commit d6a71b92 authored by Thomas Jahns's avatar Thomas Jahns :cartwheel:
Browse files

Reintroduce fix for AX_PTHREAD autoconf macro.

parent 2fb0559e
No related branches found
No related tags found
No related merge requests found
......@@ -24359,7 +24359,7 @@ $as_echo "${flag}" >&6; }
CFLAGS="$save_CFLAGS"
 
# More AIX lossage: must compile with xlc_r or cc_r
if test x"$GCC" != xyes; then
if test x"$GCC" != xyes -a \( x"$CC" = xxlc -o x"$CC" = cc \) ; then
for ac_prog in xlc_r cc_r
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
......
......@@ -258,7 +258,7 @@ if test "x$ax_pthread_ok" = xyes; then
CFLAGS="$save_CFLAGS"
# More AIX lossage: must compile with xlc_r or cc_r
if test x"$GCC" != xyes; then
if test x"$GCC" != xyes -a \( x"$CC" = xxlc -o x"$CC" = cc \) ; then
AC_CHECK_PROGS(PTHREAD_CC, xlc_r cc_r, ${CC})
else
PTHREAD_CC=$CC
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment