summaryrefslogtreecommitdiff
path: root/TSRM
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2000-05-05 12:15:36 +0000
committerSascha Schumann <sas@php.net>2000-05-05 12:15:36 +0000
commit86d6389db4fa128a544a7e0f46b0f3c31d854511 (patch)
tree46428cc6ec8d6e4ea34d9f8f0e1601903779da3d /TSRM
parent30f6031bfa2a1be946fe978b14ce5fc118deea5b (diff)
downloadphp-git-86d6389db4fa128a544a7e0f46b0f3c31d854511.tar.gz
Assign/restore vars appropiately
Diffstat (limited to 'TSRM')
-rw-r--r--TSRM/threads.m45
1 files changed, 5 insertions, 0 deletions
diff --git a/TSRM/threads.m4 b/TSRM/threads.m4
index 2c8af928b9..2d2a096211 100644
--- a/TSRM/threads.m4
+++ b/TSRM/threads.m4
@@ -89,7 +89,12 @@ dnl Try to find a way to enable POSIX threads
dnl
AC_DEFUN(PTHREADS_CHECK,[
+save_CFLAGS="$CFLAGS"
+save_LIBS="$LIBS"
+PTHREADS_ASSIGN_VARS
PTHREADS_CHECK_COMPILE
+LIBS="$save_LIBS"
+CFLAGS="$save_CFLAGS"
AC_CACHE_CHECK(for pthreads_cflags,ac_cv_pthreads_cflags,[
ac_cv_pthreads_cflags=""