]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
* configure.in: Only export CC and CPP if a cache file is not
authorJoe Orton <jorton@apache.org>
Tue, 21 Sep 2004 20:04:51 +0000 (20:04 +0000)
committerJoe Orton <jorton@apache.org>
Tue, 21 Sep 2004 20:04:51 +0000 (20:04 +0000)
specified.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105230 13f79535-47bb-0310-9956-ffa450edef68

configure.in

index 109335280d5d60f95b1967eb3f1ff2f6043be1c5..84b53d05b7426c06bf75077424223d3d81a54cd4 100644 (file)
@@ -116,9 +116,11 @@ dnl PCRE and for our config tests will be whatever PCRE determines.
 AC_PROG_CC
 AC_PROG_CPP
 
-# Likewise, ensure that CC and CPP are passed through to the pcre
-# configure script if caching is disabled (the autoconf 2.5x default).
-export CC; export CPP
+if test "x${cache_file}" = "x/dev/null"; then
+  # Likewise, ensure that CC and CPP are passed through to the pcre
+  # configure script iff caching is disabled (the autoconf 2.5x default).
+  export CC; export CPP
+fi
 
 echo $ac_n "${nl}Configuring PCRE regular expression library ...${nl}"