apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gst...@apache.org
Subject cvs commit: apr apr-config.in
Date Mon, 04 Feb 2002 00:05:18 GMT
gstein      02/02/03 16:05:18

  Modified:    .        apr-config.in
  Log:
  Rename the link options so we can standardize the name across our
  different *-config scripts.
  
  Revision  Changes    Path
  1.5       +6 -6      apr/apr-config.in
  
  Index: apr-config.in
  ===================================================================
  RCS file: /home/cvs/apr/apr-config.in,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- apr-config.in	3 Feb 2002 13:39:47 -0000	1.4
  +++ apr-config.in	4 Feb 2002 00:05:18 -0000	1.5
  @@ -87,15 +87,15 @@
     --ldflags         print linker flags
     --libs            print additional libraries to link against
     --srcdir          print APR source directory
  -  --apr-ld          print link switch(es) for linking to APR
  -  --apr-libtool     print the libtool inputs for linking to APR
  +  --link-ld         print link switch(es) for linking to APR
  +  --link-libtool    print the libtool inputs for linking to APR
     --apr-la-file     print the path to the .la file, if available
     --help            print this help
   
   When linking with libtool, an application should do something like:
  -  APR_LIBS="\`apr-config --apr-libtool --libs\`"
  +  APR_LIBS="\`apr-config --link-libtool --libs\`"
   or when linking directly:
  -  APR_LIBS="\`apr-config --apr-ld --libs\`"
  +  APR_LIBS="\`apr-config --link-ld --libs\`"
   
   An application should use the results of --cflags, --cppflags, --includes,
   and --ldflags in their build process.
  @@ -162,7 +162,7 @@
       --srcdir)
       echo $APR_SOURCE_DIR
       ;;
  -    --apr-ld)
  +    --link-ld)
       if test "$location" = "installed"; then
           ### avoid using -L if libdir is a "standard" location like /usr/lib
           echo "-L$libdir -lapr"
  @@ -170,7 +170,7 @@
           echo "-L$thisdir -lapr"
       fi
       ;;
  -    --apr-libtool)
  +    --link-libtool)
       if test -f "$LA_FILE"; then
           echo $LA_FILE
       elif test "$location" = "installed"; then
  
  
  

Mime
View raw message