summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authoraaron <aaron@13f79535-47bb-0310-9956-ffa450edef68>2002-06-19 20:06:58 +0000
committeraaron <aaron@13f79535-47bb-0310-9956-ffa450edef68>2002-06-19 20:06:58 +0000
commit35e6913cf8526e13ce0171c36114832918cb6a97 (patch)
tree1cbdde82e9e23ed9ead51038ea91bc412496e739 /build
parentf7cb407ab66c544c2d9c6c612fdb71ccc12f041b (diff)
downloadlibapr-35e6913cf8526e13ce0171c36114832918cb6a97.tar.gz
Store CC in the config.nice too.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63508 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build')
-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