]> git.sur5r.net Git - openldap/commitdiff
Fix typo ol_cv_pthread_pthread -> ol_cv_pthread_threads for -threads option
authorHallvard Furuseth <hallvard@openldap.org>
Wed, 7 Apr 1999 04:44:19 +0000 (04:44 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Wed, 7 Apr 1999 04:44:19 +0000 (04:44 +0000)
configure
configure.in

index 227b770a54238bdbb3b9d1a80d3b006f92376dbc..cf3c165c0377a15695c0e016489b9f2ab371eb23 100755 (executable)
--- a/configure
+++ b/configure
@@ -5407,12 +5407,12 @@ echo "$ac_t""$ol_cv_pthread_lc_r" 1>&6
        fi
 
 
-               # Pthread try link: -threads (ol_cv_pthread_pthread)
+               # Pthread try link: -threads (ol_cv_pthread_threads)
        if test "$ol_link_threads" = no ; then
                # try -threads
                echo $ac_n "checking for pthread link with -threads""... $ac_c" 1>&6
 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
 else
   
@@ -5448,12 +5448,12 @@ int main() {
 EOF
 if { (eval echo configure:5450: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   rm -rf conftest*
-  ol_cv_pthread_pthread=yes
+  ol_cv_pthread_threads=yes
 else
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
   rm -rf conftest*
-  ol_cv_pthread_pthread=no
+  ol_cv_pthread_threads=no
 fi
 rm -f conftest*
 
@@ -5462,9 +5462,9 @@ rm -f conftest*
                
 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_threads=posix
                fi
index 0486db1c0793cb14f12d19164e5f81032e4be062..cf0bd7412ee7c41b30f3ea8fe7ef4b88b7aab197 100644 (file)
@@ -694,7 +694,7 @@ int main(argc, argv)
                OL_PTHREAD_TRY_LINK([-lpthread],[ol_cv_pthread_lpthread])
                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_cv_pthread_lpthreads_lmach_lexc_lc_r])