aaron       01/12/10 18:29:18

  Modified:    .        configure.in
  Log:
  Kind of an obscure bug. VPATH on a platform that builds exports.c (like
  AIX) would improperly build the INCLUDES macro. This sticks an extra
  '/' in there so the compiler can find all the include files properly.
  
  Without this patch, symptoms would include:
   - AIX would build and run, and even work with "GET /" requests, but
     would SEGV on anything more complicated ("GET / HTTP/1.1"...).
   - Include failures when trying to build exports.lo (but it would
     not halt the build and would be buried in the build output).
  
  Revision  Changes    Path
  1.385     +3 -3      apr/configure.in
  
  Index: configure.in
  ===================================================================
  RCS file: /home/cvs/apr/configure.in,v
  retrieving revision 1.384
  retrieving revision 1.385
  diff -u -r1.384 -r1.385
  --- configure.in      2001/12/07 15:48:05     1.384
  +++ configure.in      2001/12/11 02:29:18     1.385
  @@ -1451,9 +1451,9 @@
   EOF
   )    |  cat - $makefile | \
           sed \
  -             -e 's#-I\($(INCDIR[0-9]*)\)#-I\1 -I$(srcdir)\1#g' \
  -             -e 's#-I\($(OSDIR[0-9]*)\)#-I\1 -I$(srcdir)\1#g' \
  -             -e 's#-I\($(DEFOSDIR[0-9]*)\)#-I\1 -I$(srcdir)\1#g' \
  +             -e 's#-I\($(INCDIR[0-9]*)\)#-I\1 -I$(srcdir)/\1#g' \
  +             -e 's#-I\($(OSDIR[0-9]*)\)#-I\1 -I$(srcdir)/\1#g' \
  +             -e 's#-I\($(DEFOSDIR[0-9]*)\)#-I\1 -I$(srcdir)/\1#g' \
                > tmp
       cp tmp $makefile
     done
  
  
  

Reply via email to