trawick     01/06/27 09:44:41

  Modified:    .        configure.in
  Log:
  clean up the generation of APR_HAS_foo_SERIALIZE just a bit by using
  APR_IFALLYES() in a smarter manner
  
  Revision  Changes    Path
  1.320     +4 -8      apr/configure.in
  
  Index: configure.in
  ===================================================================
  RCS file: /home/cvs/apr/configure.in,v
  retrieving revision 1.319
  retrieving revision 1.320
  diff -u -r1.319 -r1.320
  --- configure.in      2001/06/26 15:33:01     1.319
  +++ configure.in      2001/06/27 16:44:40     1.320
  @@ -940,14 +940,10 @@
   fi
   
   # See which lock mechanisms we can support on this system.
  -hassysvser="0"
  -hasflockser="0"
  -hasfcntlser="0"
  -hasprocpthreadser="0"
  -APR_IFALLYES(func:semget func:semctl, hassysvser="1")
  -APR_IFALLYES(func:flock define:LOCK_EX, hasflockser="1")
  -APR_IFALLYES(header:fcntl.h define:F_SETLK, hasfcntlser="1")
  -APR_IFALLYES(header:pthread.h define:PTHREAD_PROCESS_SHARED 
func:pthread_mutexattr_setpshared, hasprocpthreadser="1")
  +APR_IFALLYES(func:semget func:semctl, hassysvser="1", hassysvser="0")
  +APR_IFALLYES(func:flock define:LOCK_EX, hasflockser="1", hasflockser="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")
   
   # See which lock mechanism we'll select by default on this system.
   # The last APR_DECIDE to execute sets the default
  
  
  

Reply via email to