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/01/30 17:57:35 UTC

cvs commit: apr-util apu-config.in CHANGES

jerenkrantz    2003/01/30 08:57:35

  Modified:    .        apu-config.in CHANGES
  Log:
  Add --includedir flag to apu-config.
  
  Revision  Changes    Path
  1.28      +13 -0     apr-util/apu-config.in
  
  Index: apu-config.in
  ===================================================================
  RCS file: /home/cvs/apr-util/apu-config.in,v
  retrieving revision 1.27
  retrieving revision 1.28
  diff -u -u -r1.27 -r1.28
  --- apu-config.in	23 Jan 2003 09:01:36 -0000	1.27
  +++ apu-config.in	30 Jan 2003 16:57:35 -0000	1.28
  @@ -83,6 +83,7 @@
     --prefix[=DIR]    change prefix to DIR
     --bindir          print location where binaries are installed
     --includes        print include information
  +  --includedir      print location where includes are installed
     --ldflags         print linker flags
     --libs            print library information
     --srcdir          print APR-util source directory
  @@ -162,6 +163,18 @@
       ;;
       --libs)
       flags="$flags $LIBS"
  +    ;;
  +    --includedir)
  +    if test "$location" = "installed"; then
  +        flags="$includedir"
  +    elif test "$location" = "source"; then
  +        flags="$APU_SOURCE_DIR/include"
  +    else
  +        # this is for VPATH builds
  +        flags="$thisdir/include $APU_SOURCE_DIR/include"
  +    fi
  +    echo $flags
  +    exit 0
       ;;
       --includes)
       if test "$location" = "installed"; then
  
  
  
  1.97      +2 -0      apr-util/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /home/cvs/apr-util/CHANGES,v
  retrieving revision 1.96
  retrieving revision 1.97
  diff -u -u -r1.96 -r1.97
  --- CHANGES	23 Jan 2003 11:43:01 -0000	1.96
  +++ CHANGES	30 Jan 2003 16:57:35 -0000	1.97
  @@ -1,5 +1,7 @@
   Changes with APR-util 0.9.2
   
  +  *) Add --includedir flag to apu-config.  [Justin Erenkrantz]
  +
     *) Fix brokenness in sdbm when sizeof(int) != sizeof(size_t)
        (e.g., 64-bit AIX, 64-bit Solaris).  PR 14861.  [Jeff Trawick]