apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wsanc...@apache.org
Subject cvs commit: apr-util apu-config.in
Date Wed, 25 Sep 2002 05:11:15 GMT
wsanchez    2002/09/24 22:11:15

  Modified:    .        apu-config.in
  Log:
  --libs option emits a path to libexpat.la, which forces the client to use GNU libtool.
  Instead, emit -lexpat, which will be found in the path given by --ldflags.
  (We can't use the path to the file, since we don't know the library file extension.)
  
  Revision  Changes    Path
  1.21      +2 -2      apr-util/apu-config.in
  
  Index: apu-config.in
  ===================================================================
  RCS file: /home/cvs/apr-util/apu-config.in,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -r1.20 -r1.21
  --- apu-config.in	25 Sep 2002 04:56:06 -0000	1.20
  +++ apu-config.in	25 Sep 2002 05:11:15 -0000	1.21
  @@ -125,8 +125,8 @@
   if test "$location" = "installed"; then
       LA_FILE="$libdir/lib${APRUTIL_LIBNAME}.la"
   
  -        LIBS=`echo "$LIBS"     | sed -e "s $APU_BUILD_DIR/xml/expat $prefix g"`
  -     LDFLAGS=`echo "$LDFLAGS"  | sed -e "s $APU_BUILD_DIR/xml/expat $prefix g"`
  +    LIBS=`echo "$LIBS" | sed -e "s $APU_BUILD_DIR/xml/expat $prefix g" -e "s $prefix/lib/libexpat.la
-lexpat g"`
  +    LDFLAGS=`echo "$LDFLAGS" | sed -e "s $APU_BUILD_DIR/xml/expat $prefix g"`
       INCLUDES=`echo "$INCLUDES" | sed -e "s $APU_BUILD_DIR/xml/expat $prefix g" -e "s -I$prefix/lib
 g"`
   else
       LA_FILE="$thisdir/lib${APRUTIL_LIBNAME}.la"
  
  
  

Mime
View raw message