AIX gcc fix

git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@605 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
aet 2002-05-19 22:50:00 +00:00
parent e0993d24fd
commit 798915ab36
1 changed files with 5 additions and 1 deletions

View File

@ -213,7 +213,11 @@ if test "x$acx_pthread_ok" = xyes; then
CFLAGS="$save_CFLAGS"
# More AIX lossage: must compile with cc_r
AC_CHECK_PROG(PTHREAD_CC, cc_r, cc_r, ${CC})
if test "$GCC" != "yes"; then
AC_CHECK_PROG(PTHREAD_CC, cc_r, cc_r, ${CC})
else
PTHREAD_CC="$CC"
fi
else
PTHREAD_CC="$CC"
fi