diff options
author | Sascha Schumann <sas@php.net> | 2000-05-05 12:15:36 +0000 |
---|---|---|
committer | Sascha Schumann <sas@php.net> | 2000-05-05 12:15:36 +0000 |
commit | 86d6389db4fa128a544a7e0f46b0f3c31d854511 (patch) | |
tree | 46428cc6ec8d6e4ea34d9f8f0e1601903779da3d /TSRM | |
parent | 30f6031bfa2a1be946fe978b14ce5fc118deea5b (diff) | |
download | php-git-86d6389db4fa128a544a7e0f46b0f3c31d854511.tar.gz |
Assign/restore vars appropiately
Diffstat (limited to 'TSRM')
-rw-r--r-- | TSRM/threads.m4 | 5 |
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="" |