summaryrefslogtreecommitdiff
path: root/apr-config.in
diff options
context:
space:
mode:
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"
;;