httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dr...@locus.apache.org
Subject cvs commit: apache-2.0/src/lib/apr configure.in
Date Tue, 25 Apr 2000 10:33:20 GMT
dreid       00/04/25 03:33:20

  Modified:    src/lib/apr configure.in
  Log:
  This change gets the threads variable being set correctly and thus sets the
  APR_HAS_THREADS flag correctly for APR.  Changed the variable name to make it
  more obvious and avoid any conflicts with the cache file being used when
  building APR as part of Apache.  Also a few formatting changes.
  
  Revision  Changes    Path
  1.74      +13 -7     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.73
  retrieving revision 1.74
  diff -u -r1.73 -r1.74
  --- configure.in	2000/04/22 06:16:12	1.73
  +++ configure.in	2000/04/25 10:33:19	1.74
  @@ -67,12 +67,12 @@
          CFLAGS="$CFLAGS -DOS2 -Zmt"
          OSDIR="os2"
          LIBPREFIX=""
  -       enable_threads="system_threads"
  +       enable_apr_threads="system_threads"
          ;;
      *beos*)
          OSDIR="beos"
          CFLAGS="$CFLAGS -DBEOS"
  -       enable_threads="system_threads"
  +       enable_apr_threads="system_threads"
          config_subdirs="shmem/unix/mm"
          ;;
      *)
  @@ -296,7 +296,7 @@
   AC_SUBST(off_t_fmt) 
   
   dnl #----------------------------- Checking for Threads
  -echo $ac_n "${nl}Checking for Threads..."
  +echo $ac_n "${nl}Checking for Threads...${nl}"
   AC_CACHE_CHECK([for threads], ac_cv_enable_threads,
     [ AC_ARG_ENABLE(threads,
       [  --enable-threads  Enable threading support in APR.],
  @@ -320,7 +320,7 @@
             AC_DEFINE(USE_THREADS) ], [
             threads="0"
             pthreadh="0" ] )
  -    elif test "$ac_cv_enable_threads" = "system_threads"; then
  +    elif test "$enable_apr_threads" = "system_threads"; then
             threads="1"
             pthreadh="0"
       else
  @@ -340,10 +340,16 @@
   ac_cv_define_READDIR_IS_THREAD_SAFE=no
   AC_CHECK_LIB(c_r, readdir, AC_DEFINE(READDIR_IS_THREAD_SAFE))
   
  +if test "$threads" = "1"; then
  +    echo "APR will use threads"
  +else
  +    echo "APR will be non-threaded"
  +fi
  +
   AC_SUBST(threads)
   
   dnl #----------------------------- Checking for MMAP 
  -echo $ac_n "${nl}Checking for MMAP..."
  +echo $ac_n "${nl}Checking for MMAP...${nl}"
   AC_FUNC_MMAP
   if test "$ac_cv_func_mmap_fixed_mapped" = "yes"; then
       mmap="1"
  @@ -422,7 +428,7 @@
   AC_SUBST(pthreadser)
   
   dnl #----------------------------- Checking for Shared Memory Support 
  -echo $ac_n "${nl}Checking for Shared Memory Support..."
  +echo $ac_n "${nl}Checking for Shared Memory Support...${nl}"
   
   # run the MM config script regardless of whether we are going to use
   # it or not.  When we have a much better idea of who is using MM, we can
  @@ -481,7 +487,7 @@
   
   AC_SUBST(rand)
   dnl #----------------------------- Checking for Time Support 
  -echo $ac_n "${nl}Checking for Time Support..."
  +echo $ac_n "${nl}Checking for Time Support...${nl}"
   AC_CACHE_CHECK([for tm_gmtoff in struct tm], ac_cv_struct_tm_gmtoff,
   [AC_TRY_COMPILE([#include <sys/types.h>
   #include <$ac_cv_struct_tm>], [struct tm tm; tm.tm_gmtoff;],
  
  
  

Mime
View raw message