httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b..@locus.apache.org
Subject cvs commit: apache-2.0/src/lib/apr configure.in
Date Tue, 14 Mar 2000 14:16:15 GMT
bjh         00/03/14 06:16:15

  Modified:    src/lib/apr configure.in
  Log:
  Make APR_HAS_THREADS always be 1 for OS/2.
  
  Revision  Changes    Path
  1.55      +6 -1      apache-2.0/src/lib/apr/configure.in
  
  Index: configure.in
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/configure.in,v
  retrieving revision 1.54
  retrieving revision 1.55
  diff -u -r1.54 -r1.55
  --- configure.in	2000/03/02 20:36:44	1.54
  +++ configure.in	2000/03/14 14:16:15	1.55
  @@ -66,6 +66,7 @@
          CFLAGS="$CFLAGS -DOS2 -Zmt"
          OSDIR="os2"
          LIBPREFIX=""
  +       enable_threads="os2"
          ;;
      *beos*)
          OSDIR="beos"
  @@ -278,20 +279,24 @@
       pthreadh="0"
   else
       REENTRANCY_FLAGS
  -    PTHREADS_CHECK
       if test "$ac_cv_enable_threads" = "pthread"; then
   # We have specified pthreads for our threading library, just make sure
   # that we have everything we need
  +      PTHREADS_CHECK
         AC_CHECK_HEADERS(pthread.h, [
             threads="1"
             pthreadh="1"
             AC_DEFINE(USE_THREADS) ], [
             threads="0"
             pthreadh="0" ] )
  +    elif test "$ac_cv_enable_threads" = "os2"; then
  +          threads="1"
  +          pthreadh="0"
       else
   # We basically specified that we wanted threads, but not how to implement
   # them.  In this case, just look for pthreads.  In the future, we can check
   # for other threading libraries as well.
  +      PTHREADS_CHECK
         AC_CHECK_HEADERS(pthread.h, [
             threads="1"
             pthreadh="1"
  
  
  

Mime
View raw message