manoj       99/12/21 22:03:56

  Modified:    src      Configure
  Log:
  Add a temporary ultrahack to make building easier for people jumping
  into Apache 2.0 that aren't messing with the configuration system.
  
  Submitted by: Chris Costello <[EMAIL PROTECTED]> (partially)
  
  Revision  Changes    Path
  1.19      +8 -4      apache-2.0/src/Configure
  
  Index: Configure
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/Configure,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -d -u -r1.18 -r1.19
  --- Configure 1999/12/19 18:18:10     1.18
  +++ Configure 1999/12/22 06:03:48     1.19
  @@ -54,6 +54,10 @@
   ## For more information on the Apache Group and the Apache HTTP server
   ## project, please see <http://www.apache.org/>.
   
  +# XXX - the FreeBSD and Linux pthread references are a hack to be able
  +# to build until we figure out how to do more MPM-specific build flags
  +# If this config system sticks around, they really, really should be removed
  +
   # Uses 6 supplemental scripts located in ./helpers:
   #    CutRule: Determines the value for a specified Rule
   #    GuessOS: Uses uname to determine OS/platform
  @@ -430,8 +434,8 @@
       *-linux2)
        DEF_WANTHSREGEX=yes
        OS='Linux'
  -     CFLAGS="$CFLAGS -DLINUX=2"
  -     LIBS="$LIBS -lm"
  +     CFLAGS="$CFLAGS -DLINUX=2 -D_REENTRANT"
  +     LIBS="$LIBS -lm -pthread"
        ;;
       *-linux1)
        DEF_WANTHSREGEX=yes
  @@ -474,10 +478,10 @@
        case "$PLATOSVERS" in
            [234]*)
                DEF_WANTHSREGEX=no
  -             CFLAGS="$CFLAGS -funsigned-char"
  +             CFLAGS="$CFLAGS -D_REENTRANT -funsigned-char"
                ;;
        esac
  -     LIBS="$LIBS -lcrypt"
  +     LIBS="$LIBS -lcrypt -pthread"
        DBM_LIB=""
        DB_LIB=""
        ;;
  
  
  

Reply via email to