summaryrefslogtreecommitdiff
path: root/apr-config.in
diff options
context:
space:
mode:
authorJeff Trawick <trawick@apache.org>2003-04-21 14:21:59 +0000
committerJeff Trawick <trawick@apache.org>2003-04-21 14:21:59 +0000
commit85549ebd5b9944ca1c391a048029ce9bfc2737ec (patch)
treed533bc5ff560105d68159978d6b6afe1cec99818 /apr-config.in
parent88fb1e8860de5ecb82799f360ef936278d128cdd (diff)
downloadapr-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
Diffstat (limited to 'apr-config.in')
-rw-r--r--apr-config.in10
1 files changed, 10 insertions, 0 deletions
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"
;;