trawick 2004/04/16 05:49:59
Modified: build apr_threads.m4
Log:
-mt is the threading option to use with HP-UX vendor compiler on ia64;
check for that prior to -mthreads since it is a prefix of -mthreads
prior to this, -mthreads would pass the test but the extra "hreads"
would be treated as separate options, most/all of which were ignored with
a warning (on every compile)
Revision Changes Path
1.11 +1 -1 apr/build/apr_threads.m4
Index: apr_threads.m4
===================================================================
RCS file: /home/cvs/apr/build/apr_threads.m4,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- apr_threads.m4 31 Oct 2003 10:34:28 -0000 1.10
+++ apr_threads.m4 16 Apr 2004 12:49:59 -0000 1.11
@@ -110,7 +110,7 @@
AC_CACHE_CHECK([for CFLAGS needed for pthreads], [apr_cv_pthreads_cflags],
[apr_ptc_cflags=$CFLAGS
- for flag in none -kthread -pthread -pthreads -mthreads -Kthread -threads;
do
+ 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([