summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Bannert <aaron@apache.org>2002-06-19 20:06:58 +0000
committerAaron Bannert <aaron@apache.org>2002-06-19 20:06:58 +0000
commitd9ed1f25fa929a9c539645f0d86baa59e464e063 (patch)
tree1cbdde82e9e23ed9ead51038ea91bc412496e739
parentb39b4b63495bccfd21d79f853f2dad73f304b2a7 (diff)
downloadapr-d9ed1f25fa929a9c539645f0d86baa59e464e063.tar.gz
Store CC in the config.nice too.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63508 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--build/apr_common.m43
1 files changed, 3 insertions, 0 deletions
diff --git a/build/apr_common.m4 b/build/apr_common.m4
index 5be8b9eb8..d351e4ab6 100644
--- a/build/apr_common.m4
+++ b/build/apr_common.m4
@@ -14,6 +14,9 @@ AC_DEFUN(APR_CONFIG_NICE,[
# Created by configure
EOF
+ if test -n "$CC"; then
+ echo "CC=\"$CC\"; export CC" >> $1
+ fi
if test -n "$CFLAGS"; then
echo "CFLAGS=\"$CFLAGS\"; export CFLAGS" >> $1
fi