mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-21 15:19:34 -05:00
Fix typo ol_cv_pthread_pthread -> ol_cv_pthread_threads for -threads option
This commit is contained in:
parent
14f4d60d49
commit
479c14ac6c
2 changed files with 7 additions and 7 deletions
12
configure
vendored
12
configure
vendored
|
|
@ -5407,12 +5407,12 @@ echo "$ac_t""$ol_cv_pthread_lc_r" 1>&6
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
# Pthread try link: -threads (ol_cv_pthread_pthread)
|
# Pthread try link: -threads (ol_cv_pthread_threads)
|
||||||
if test "$ol_link_threads" = no ; then
|
if test "$ol_link_threads" = no ; then
|
||||||
# try -threads
|
# try -threads
|
||||||
echo $ac_n "checking for pthread link with -threads""... $ac_c" 1>&6
|
echo $ac_n "checking for pthread link with -threads""... $ac_c" 1>&6
|
||||||
echo "configure:5415: checking for pthread link with -threads" >&5
|
echo "configure:5415: checking for pthread link with -threads" >&5
|
||||||
if eval "test \"`echo '$''{'ol_cv_pthread_pthread'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ol_cv_pthread_threads'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
|
|
||||||
|
|
@ -5448,12 +5448,12 @@ int main() {
|
||||||
EOF
|
EOF
|
||||||
if { (eval echo configure:5450: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
if { (eval echo configure:5450: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||||
rm -rf conftest*
|
rm -rf conftest*
|
||||||
ol_cv_pthread_pthread=yes
|
ol_cv_pthread_threads=yes
|
||||||
else
|
else
|
||||||
echo "configure: failed program was:" >&5
|
echo "configure: failed program was:" >&5
|
||||||
cat conftest.$ac_ext >&5
|
cat conftest.$ac_ext >&5
|
||||||
rm -rf conftest*
|
rm -rf conftest*
|
||||||
ol_cv_pthread_pthread=no
|
ol_cv_pthread_threads=no
|
||||||
fi
|
fi
|
||||||
rm -f conftest*
|
rm -f conftest*
|
||||||
|
|
||||||
|
|
@ -5462,9 +5462,9 @@ rm -f conftest*
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "$ac_t""$ol_cv_pthread_pthread" 1>&6
|
echo "$ac_t""$ol_cv_pthread_threads" 1>&6
|
||||||
|
|
||||||
if test $ol_cv_pthread_pthread = yes ; then
|
if test $ol_cv_pthread_threads = yes ; then
|
||||||
ol_link_pthreads="-threads"
|
ol_link_pthreads="-threads"
|
||||||
ol_link_threads=posix
|
ol_link_threads=posix
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
|
|
@ -694,7 +694,7 @@ int main(argc, argv)
|
||||||
OL_PTHREAD_TRY_LINK([-lpthread],[ol_cv_pthread_lpthread])
|
OL_PTHREAD_TRY_LINK([-lpthread],[ol_cv_pthread_lpthread])
|
||||||
OL_PTHREAD_TRY_LINK([-lc_r], [ol_cv_pthread_lc_r])
|
OL_PTHREAD_TRY_LINK([-lc_r], [ol_cv_pthread_lc_r])
|
||||||
|
|
||||||
OL_PTHREAD_TRY_LINK([-threads], [ol_cv_pthread_pthread])
|
OL_PTHREAD_TRY_LINK([-threads], [ol_cv_pthread_threads])
|
||||||
|
|
||||||
OL_PTHREAD_TRY_LINK([-lpthreads -lmach -lexc -lc_r],
|
OL_PTHREAD_TRY_LINK([-lpthreads -lmach -lexc -lc_r],
|
||||||
[ol_cv_pthread_lpthreads_lmach_lexc_lc_r])
|
[ol_cv_pthread_lpthreads_lmach_lexc_lc_r])
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue