diff options
author | Sascha Schumann <sas@php.net> | 1999-10-04 15:00:38 +0000 |
---|---|---|
committer | Sascha Schumann <sas@php.net> | 1999-10-04 15:00:38 +0000 |
commit | ec01d01400c67fd6d1bf2ae0e170771260e1ecc0 (patch) | |
tree | 3540234fbb1d8b574fce2b5fc8d7ecea59e36e6d /TSRM/configure.in | |
parent | 3e202d75ffeb44eb2b92e58848e93d0cca448601 (diff) | |
download | php-git-ec01d01400c67fd6d1bf2ae0e170771260e1ecc0.tar.gz |
Whoops, OSF/1 has -lpthread and -lpthreads, but defines most
pthread_* as __pthread*. According to pthread(3), -lpthread is the
correct choice.
Diffstat (limited to 'TSRM/configure.in')
-rw-r--r-- | TSRM/configure.in | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/TSRM/configure.in b/TSRM/configure.in index 6a40ea0c09..d81618eb4d 100644 --- a/TSRM/configure.in +++ b/TSRM/configure.in @@ -12,13 +12,12 @@ AM_PROG_CC_STDC AC_PROG_CC_C_O AC_PROG_RANLIB -AC_CHECK_LIB(c_r, pthread_create) -AC_CHECK_LIB(pthread, pthread_create) -AC_CHECK_LIB(pthreads, pthread_create) +AC_CHECK_LIB(c_r, pthread_kill) +AC_CHECK_LIB(pthread, pthread_kill) -AC_CHECK_FUNCS(pthread_create) +AC_CHECK_FUNCS(pthread_kill) -if test "$ac_cv_func_pthread_create" != "yes"; then +if test "$ac_cv_func_pthread_kill" != "yes"; then AC_MSG_ERROR(You need pthreads to build TSRM.) fi |