httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sas...@locus.apache.org
Subject cvs commit: apache-2.0/src/lib/apr threads.m4
Date Sat, 29 Apr 2000 23:42:24 GMT
sascha      00/04/29 16:42:24

  Modified:    src/lib/apr threads.m4
  Log:
  REENTRANCY_FLAGS changes:
  
  * Add SCO OpenServer/UnixWare flag
  * Use CPPFLAGS instead of CFLAGS
  
  Revision  Changes    Path
  1.5       +5 -4      apache-2.0/src/lib/apr/threads.m4
  
  Index: threads.m4
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/threads.m4,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -u -r1.4 -r1.5
  --- threads.m4	2000/04/29 14:37:48	1.4
  +++ threads.m4	2000/04/29 23:42:23	1.5
  @@ -21,13 +21,14 @@
       PTHREAD_FLAGS="-D_POSIX_THREAD_SAFE_FUNCTIONS";;
     *hpux*)
       PTHREAD_FLAGS="-D_REENTRANT";;
  +  *sco*)
  +    PTHREAD_FLAGS="-D_REENTRANT";;
  +dnl Solves sigwait() problem, creates problems with u_long etc.
  +dnl    PTHREAD_FLAGS="-D_REENTRANT -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=199506 -D_XOPEN_SOURCE_EXTENDED=1";;
     esac
   
  -dnl These flags should go into CPPFLAGS. APR needs to be improved to use
  -dnl the right names.
  -
     if test -n "$PTHREAD_FLAGS"; then
  -    CFLAGS="$CFLAGS $PTHREAD_FLAGS"
  +    CPPFLAGS="$CPPFLAGS $PTHREAD_FLAGS"
     fi
   ])dnl
   dnl
  
  
  

Mime
View raw message