From: Kurt Zeilenga Date: Sat, 19 Sep 1998 04:57:41 +0000 (+0000) Subject: -pthread test should have mangled LIBS not CPPFLAGS X-Git-Tag: PHP3_TOOL_0_0~18^2~101 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f41beb9ecf88e57b86de6347b29374371f096b83;p=openldap -pthread test should have mangled LIBS not CPPFLAGS --- diff --git a/configure b/configure index 9f0e2fb0d1..f0de599955 100755 --- a/configure +++ b/configure @@ -1751,8 +1751,8 @@ if eval "test \"`echo '$''{'cf_cv_pthread_flag'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else - save_CPPFLAGS=$CPPFLAGS - CPPFLAGS="-pthread $CPPFLAGS" + save_LIBS="$LIBS" + LIBS="-pthread $LIBS" cat > conftest.$ac_ext <],[ if(0) pthread_create((pthread_t*) 0, (pthread_attr_t*) 0, 0, 0); ], cf_cv_pthread_flag=yes, cf_cv_pthread_flag=no) - dnl restore the CPPFLAGS - CPPFLAGS=$save_CPPFLAGS + dnl restore the LIBS + LIBS="$save_LIBS" ]) if test $cf_cv_pthread_flag = yes ; then