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 CHANGES
Date Thu, 30 Jan 2003 16:56:10 GMT
jerenkrantz    2003/01/30 08:56:10

  Modified:    .        apr-config.in CHANGES
  Log:
  Add --includedir flag to apr-config.
  
  Revision  Changes    Path
  1.29      +13 -0     apr/apr-config.in
  
  Index: apr-config.in
  ===================================================================
  RCS file: /home/cvs/apr/apr-config.in,v
  retrieving revision 1.28
  retrieving revision 1.29
  diff -u -u -r1.28 -r1.29
  --- apr-config.in	8 Jan 2003 13:09:17 -0000	1.28
  +++ apr-config.in	30 Jan 2003 16:56:09 -0000	1.29
  @@ -88,6 +88,7 @@
   Known values for OPTION are:
     --prefix[=DIR]    change prefix to DIR
     --bindir          print location where binaries are installed
  +  --includedir      print location where headers are installed
     --cflags          print C compiler flags
     --cppflags        print cpp flags
     --includes        print include information
  @@ -165,6 +166,18 @@
       ;;
       --bindir)
       echo $bindir
  +    exit 0
  +    ;;
  +    --includedir)
  +    if test "$location" = "installed"; then
  +        flags="$includedir"
  +    elif test "$location" = "source"; then
  +        flags="$APR_SOURCE_DIR/include"
  +    else
  +        # this is for VPATH builds
  +        flags="$thisdir/include $APR_SOURCE_DIR/include"
  +    fi
  +    echo $flags
       exit 0
       ;;
       --cflags)
  
  
  
  1.370     +2 -0      apr/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /home/cvs/apr/CHANGES,v
  retrieving revision 1.369
  retrieving revision 1.370
  diff -u -u -r1.369 -r1.370
  --- CHANGES	22 Jan 2003 18:25:59 -0000	1.369
  +++ CHANGES	30 Jan 2003 16:56:10 -0000	1.370
  @@ -1,5 +1,7 @@
   Changes with APR 0.9.2
   
  +  *) Add --includedir flag to apr-config.  [Justin Erenkrantz]
  +
     *) Only include sys/syslimits.h if we don't have limits.h
        [Craig Rodrigues <rodrigc@attbi.com>, Garrett Rooney 
        <rooneg@electricjellyfish.net>, Thom May]
  
  
  

Mime
View raw message