summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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