apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jerenkra...@apache.org
Subject cvs commit: apr configure.in
Date Mon, 02 Jul 2001 16:52:32 GMT
jerenkrantz    01/07/02 09:52:31

  Modified:    .        configure.in
  Log:
  REALLY flip the order of the pthread_mutex_t and fcntl() decision.
  I have no clue what I was thinking before.
  
  Revision  Changes    Path
  1.325     +3 -3      apr/configure.in
  
  Index: configure.in
  ===================================================================
  RCS file: /home/cvs/apr/configure.in,v
  retrieving revision 1.324
  retrieving revision 1.325
  diff -u -r1.324 -r1.325
  --- configure.in	2001/07/02 16:23:45	1.324
  +++ configure.in	2001/07/02 16:52:27	1.325
  @@ -967,8 +967,8 @@
   # See which lock mechanisms we can support on this system.
   APR_IFALLYES(func:semget func:semctl, hassysvser="1", hassysvser="0")
   APR_IFALLYES(func:flock define:LOCK_EX, hasflockser="1", hasflockser="0")
  -APR_IFALLYES(header:pthread.h define:PTHREAD_PROCESS_SHARED func:pthread_mutexattr_setpshared,
hasprocpthreadser="1", hasprocpthreadser="0")
   APR_IFALLYES(header:fcntl.h define:F_SETLK, hasfcntlser="1", hasfcntlser="0")
  +APR_IFALLYES(header:pthread.h define:PTHREAD_PROCESS_SHARED func:pthread_mutexattr_setpshared,
hasprocpthreadser="1", hasprocpthreadser="0")
   APR_IFALLYES(struct:pthread_rw, hasrwlockser="1", hasrwlockser="0")
   
   # See which lock mechanism we'll select by default on this system.
  @@ -978,11 +978,11 @@
               APR_DECIDE(USE_SYSVSEM_SERIALIZE, [SysV IPC semget()]))
   APR_IFALLYES(func:flock define:LOCK_EX,
               APR_DECIDE(USE_FLOCK_SERIALIZE, [4.2BSD-style flock()]))
  -APR_IFALLYES(header:fcntl.h define:F_SETLK,
  -            APR_DECIDE(USE_FCNTL_SERIALIZE, [SVR4-style fcntl()]))
   APR_IFALLYES(header:pthread.h define:PTHREAD_PROCESS_SHARED dnl
               func:pthread_mutexattr_setpshared,
               APR_DECIDE(USE_PROC_PTHREAD_SERIALIZE, [pthread mutex]))
  +APR_IFALLYES(header:fcntl.h define:F_SETLK,
  +            APR_DECIDE(USE_FCNTL_SERIALIZE, [SVR4-style fcntl()]))
   if test "x$apr_lock_method" != "x"; then
       APR_DECISION_FORCE($apr_lock_method)
   fi
  
  
  

Mime
View raw message