manoj       99/02/17 00:29:12

  Modified:    pthreads/src Configure
  Log:
  Patch for Linux 2.x. Both the LinuxThreads home page and
  /usr/include/features.h from glibc 2.0 say that -D_REENTRANT should be
  used for compiling threaded programs. gcc provides a -pthread option
  which gives us this for free, so let's switch to it. Doesn't fix any
  known bugs, but it doesn't seem to break anything and I imagine this
  fixed some unknown bugs.
  
  Revision  Changes    Path
  1.4       +2 -2      apache-apr/pthreads/src/Configure
  
  Index: Configure
  ===================================================================
  RCS file: /home/cvs/apache-apr/pthreads/src/Configure,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -u -r1.3 -r1.4
  --- Configure 1999/02/07 06:29:09     1.3
  +++ Configure 1999/02/17 08:29:11     1.4
  @@ -414,8 +414,8 @@
       *-linux2)
        DEF_WANTHSREGEX=yes
        OS='Linux'
  -     CFLAGS="$CFLAGS -DLINUX=2"
  -     LIBS="$LIBS -lm -lpthread"
  +     CFLAGS="$CFLAGS -DLINUX=2 -pthread"
  +     LIBS="$LIBS -lm"
        ;;
       *-linux1)
        DEF_WANTHSREGEX=yes
  
  
  

Reply via email to