apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b..@apache.org
Subject cvs commit: apr configure.in
Date Wed, 15 Aug 2001 11:13:57 GMT
bjh         01/08/15 04:13:57

  Modified:    .        configure.in
  Log:
  Allow for OS/2 in shared memory type test.
  
  Revision  Changes    Path
  1.358     +9 -1      apr/configure.in
  
  Index: configure.in
  ===================================================================
  RCS file: /home/cvs/apr/configure.in,v
  retrieving revision 1.357
  retrieving revision 1.358
  diff -u -r1.357 -r1.358
  --- configure.in	2001/08/14 05:14:59	1.357
  +++ configure.in	2001/08/15 11:13:57	1.358
  @@ -391,6 +391,7 @@
   AC_HAVE_FUNCS(shmget shmat shmdt shmctl)
   AC_HAVE_HEADERS(kernel/OS.h)
   AC_HAVE_FUNCS(create_area)
  +AC_HAVE_HEADERS(os2.h)
   
   dnl Now we determine which one is our preference.
   APR_BEGIN_DECISION([shared memory allocation method])
  @@ -412,6 +413,8 @@
                [Classical mmap() on temporary file]))
   APR_IFALLYES(header:kernel/OS.h func:create_area,
                APR_DECIDE(USE_SHMEM_BEOS, [BeOS areas]))
  +APR_IFALLYES(header:os2.h,
  +             APR_DECIDE(USE_SHMEM_OS2, [OS/2 DosAllocSharedMem()]))
   APR_END_DECISION
   AC_DEFINE_UNQUOTED($ac_decision)
   
  @@ -421,6 +424,7 @@
   useshmget="0"
   usemmapanon="0"
   usebeosarea="0"
  +useos2shm="0"
   mem_based="0"
   file_based="1"
   
  @@ -449,10 +453,14 @@
           usebeosarea="1"
           mem_based="1"
           ;;
  +    USE_SHMEM_OS2 )
  +        useos2shm="1"
  +        file_based="0"
  +        ;;
   esac
   
   dnl Do we have any shared memory support?
  -if test "$usemmaptmp$usemmapshm$usemmapzero$useshmget$usemmapanon$usebeosarea" = "000000";
then
  +if test "$usemmaptmp$usemmapshm$usemmapzero$useshmget$usemmapanon$usebeosarea$useos2shm"
= "0000000"; then
     sharedmem="0"
   else
     sharedmem="1"
  
  
  

Mime
View raw message