mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-20 22:59:34 -05:00
For AIX thread options when CC is manual set to cc_r or xlc_r.
This commit is contained in:
parent
23c4b81819
commit
638efc878b
2 changed files with 577 additions and 571 deletions
|
|
@ -334,7 +334,8 @@ case "$target" in
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
if test -z "${CC}" -a $ol_aix_threads = yes ; then
|
if test $ol_aix_threads = yes ; then
|
||||||
|
if test -z "${CC}" ; then
|
||||||
AC_CHECK_PROGS(CC,cc_r xlc_r cc)
|
AC_CHECK_PROGS(CC,cc_r xlc_r cc)
|
||||||
|
|
||||||
if test "$CC" = cc ; then
|
if test "$CC" = cc ; then
|
||||||
|
|
@ -345,8 +346,10 @@ if test -z "${CC}" -a $ol_aix_threads = yes ; then
|
||||||
AC_MSG_WARN([disabling threads, no cc_r on AIX])
|
AC_MSG_WARN([disabling threads, no cc_r on AIX])
|
||||||
fi
|
fi
|
||||||
ol_with_threads=no
|
ol_with_threads=no
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
elif test "$CC" ; then
|
if test "${CC}" = "cc_r" -o "${CC}" = "xlc_r" ; then
|
||||||
ol_with_threads=posix
|
ol_with_threads=posix
|
||||||
ol_cv_pthread_create=yes
|
ol_cv_pthread_create=yes
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue