1234567891011121314151617181920212223242526272829303132 |
- Index: apr-1.3.12/build/apr_threads.m4
- ===================================================================
- --- apr-1.3.12.orig/build/apr_threads.m4
- +++ apr-1.3.12/build/apr_threads.m4
- @@ -124,26 +124,6 @@ dnl pthreads_working variable to "yes" o
- dnl
- AC_DEFUN([APR_PTHREADS_CHECK], [
-
- -AC_CACHE_CHECK([for CFLAGS needed for pthreads], [apr_cv_pthreads_cflags],
- -[apr_ptc_cflags=$CFLAGS
- - for flag in none -kthread -pthread -pthreads -mt -mthreads -Kthread -threads; do
- - CFLAGS=$apr_ptc_cflags
- - test "x$flag" != "xnone" && CFLAGS="$CFLAGS $flag"
- - APR_PTHREADS_TRY_RUN([
- - apr_cv_pthreads_cflags="$flag"
- - break
- - ])
- - done
- - CFLAGS=$apr_ptc_cflags
- -])
- -
- -if test -n "$apr_cv_pthreads_cflags"; then
- - pthreads_working=yes
- - if test "x$apr_cv_pthreads_cflags" != "xnone"; then
- - APR_ADDTO(CFLAGS,[$apr_cv_pthreads_cflags])
- - fi
- -fi
- -
- # The CFLAGS may or may not be sufficient to ensure that libapr
- # depends on the pthreads library: some versions of libtool
- # drop -pthread when passed on the link line; some versions of
|