joes        2004/07/14 10:19:36

  Modified:    .        acinclude.m4
  Log:
  LTLIBS shouldn't require --ldflags, and CPPFLAGS needs to be supplemented 
with those from apr-config (esp -D_LARGEFILE64_SOURCE is missing).
  
  Revision  Changes    Path
  1.24      +4 -2      httpd-apreq-2/acinclude.m4
  
  Index: acinclude.m4
  ===================================================================
  RCS file: /home/cvs/httpd-apreq-2/acinclude.m4,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  --- acinclude.m4      5 Jul 2004 05:22:16 -0000       1.23
  +++ acinclude.m4      14 Jul 2004 17:19:36 -0000      1.24
  @@ -91,12 +91,14 @@
           APU_INCLUDES=`$APU_CONFIG --includes`
           APR_LA=`$APR_CONFIG --link-libtool`
           APU_LA=`$APU_CONFIG --link-libtool`
  -        APR_LTLIBS=`$APR_CONFIG --link-libtool --ldflags --libs`
  -        APU_LTLIBS=`$APU_CONFIG --link-libtool --ldflags --libs`
  +        APR_LTLIBS=`$APR_CONFIG --link-libtool --libs`
  +        APU_LTLIBS=`$APU_CONFIG --link-libtool --libs`
           dnl perl glue/tests do not use libtool: need ld linker flags
           APR_LDLIBS=`$APR_CONFIG --link-ld --ldflags --libs`
           APU_LDLIBS=`$APU_CONFIG --link-ld --ldflags --libs`
   
  +        CPPFLAGS="$CPPFLAGS `$APR_CONFIG --cppflags`"
  +        
           dnl Absolute source/build directory
           abs_srcdir=`(cd $srcdir && pwd)`
           abs_builddir=`pwd`
  
  
  

Reply via email to