From 3b4619a031def1d304efb309bb41e51a27fdfa6e Mon Sep 17 00:00:00 2001 From: trawick Date: Mon, 21 Apr 2003 14:21:59 +0000 Subject: Add --cc and --cpp flags to apr-config. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64489 13f79535-47bb-0310-9956-ffa450edef68 --- apr-config.in | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'apr-config.in') 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" ;; -- cgit v1.2.1