apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jerenkra...@apache.org
Subject cvs commit: apr apr-config.in
Date Thu, 06 Mar 2003 00:14:41 GMT
jerenkrantz    2003/03/05 16:14:41

  Modified:    .        apr-config.in
  Log:
  Add --installbuilddir option to apr-config
  
  Revision  Changes    Path
  1.31      +12 -0     apr/apr-config.in
  
  Index: apr-config.in
  ===================================================================
  RCS file: /home/cvs/apr/apr-config.in,v
  retrieving revision 1.30
  retrieving revision 1.31
  diff -u -u -r1.30 -r1.31
  --- apr-config.in	22 Feb 2003 09:10:52 -0000	1.30
  +++ apr-config.in	6 Mar 2003 00:14:41 -0000	1.31
  @@ -95,6 +95,7 @@
     --ldflags         print linker flags
     --libs            print additional libraries to link against
     --srcdir          print APR source directory
  +  --installbuilddir print APR build helper directory
     --link-ld         print link switch(es) for linking to APR
     --link-libtool    print the libtool inputs for linking to APR
     --shlib-path-var  print the name of the shared library path env var
  @@ -205,6 +206,17 @@
       ;;
       --srcdir)
       echo $APR_SOURCE_DIR
  +    exit 0
  +    ;;
  +    --installbuilddir)
  +    if test "$location" = "installed"; then
  +        echo "${installbuilddir}"
  +    elif test "$location" = "source"; then
  +        echo "$APR_SOURCE_DIR/build"
  +    else
  +        # this is for VPATH builds
  +        echo "$thisdir/build"
  +    fi
       exit 0
       ;;
       --version)
  
  
  

Mime
View raw message