You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by je...@apache.org on 2003/03/06 01:14:41 UTC

cvs commit: apr apr-config.in

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)
  
  
  

Re: cvs commit: apr apr-config.in

Posted by "William A. Rowe, Jr." <wr...@rowe-clan.net>.
At 06:14 PM 3/5/2003, you wrote:
>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

caught for _RC2