You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by tr...@apache.org on 2003/04/21 16:22:00 UTC

cvs commit: apr CHANGES apr-config.in

trawick     2003/04/21 07:22:00

  Modified:    .        CHANGES apr-config.in
  Log:
  Add --cc and --cpp flags to apr-config.
  
  Revision  Changes    Path
  1.403     +2 -0      apr/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /home/cvs/apr/CHANGES,v
  retrieving revision 1.402
  retrieving revision 1.403
  diff -u -r1.402 -r1.403
  --- CHANGES	19 Apr 2003 02:33:13 -0000	1.402
  +++ CHANGES	21 Apr 2003 14:21:59 -0000	1.403
  @@ -1,5 +1,7 @@
   Changes with APR 0.9.4
   
  +  *) Add --cc and --cpp flags to apr-config.  [Jeff Trawick]
  +
     *) Don't segfault trying to close a file in error paths of flock
        and fcntl mutex creation.  PR 19036  [Jeff Trawick]
   
  
  
  
  1.33      +10 -0     apr/apr-config.in
  
  Index: apr-config.in
  ===================================================================
  RCS file: /home/cvs/apr/apr-config.in,v
  retrieving revision 1.32
  retrieving revision 1.33
  diff -u -r1.32 -r1.33
  --- apr-config.in	23 Mar 2003 03:29:23 -0000	1.32
  +++ apr-config.in	21 Apr 2003 14:21:59 -0000	1.33
  @@ -89,6 +89,8 @@
     --prefix[=DIR]    change prefix to DIR
     --bindir          print location where binaries are installed
     --includedir      print location where headers are installed
  +  --cc              print C compiler name
  +  --cpp             print C preprocessor name and any required options
     --cflags          print C compiler flags
     --cppflags        print cpp flags
     --includes        print include information
  @@ -183,6 +185,14 @@
           flags="$thisdir/include $APR_SOURCE_DIR/include"
       fi
       echo $flags
  +    exit 0
  +    ;;
  +    --cc)
  +    echo $CC
  +    exit 0
  +    ;;
  +    --cpp)
  +    echo $CPP
       exit 0
       ;;
       --cflags)