diff options
author | Jeff Trawick <trawick@apache.org> | 2003-04-21 14:21:59 +0000 |
---|---|---|
committer | Jeff Trawick <trawick@apache.org> | 2003-04-21 14:21:59 +0000 |
commit | 85549ebd5b9944ca1c391a048029ce9bfc2737ec (patch) | |
tree | d533bc5ff560105d68159978d6b6afe1cec99818 | |
parent | 88fb1e8860de5ecb82799f360ef936278d128cdd (diff) | |
download | apr-85549ebd5b9944ca1c391a048029ce9bfc2737ec.tar.gz |
Add --cc and --cpp flags to apr-config.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64489 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | CHANGES | 2 | ||||
-rw-r--r-- | apr-config.in | 10 |
2 files changed, 12 insertions, 0 deletions
@@ -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] diff --git a/apr-config.in b/apr-config.in index 0bb228c99..0593e48fc 100644 --- a/apr-config.in +++ b/apr-config.in @@ -89,6 +89,8 @@ 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 + --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 @@ -185,6 +187,14 @@ while test $# -gt 0; do echo $flags exit 0 ;; + --cc) + echo $CC + exit 0 + ;; + --cpp) + echo $CPP + exit 0 + ;; --cflags) flags="$flags $CFLAGS" ;; |