From: Joe Orton Date: Tue, 21 Sep 2004 20:04:51 +0000 (+0000) Subject: * configure.in: Only export CC and CPP if a cache file is not X-Git-Tag: 2.1.1~229 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1cc4147c801822003b2e35d5f4bd4165a03bbe59;p=thirdparty%2Fapache%2Fhttpd.git * configure.in: Only export CC and CPP if a cache file is not specified. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105230 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/configure.in b/configure.in index 109335280d5..84b53d05b74 100644 --- a/configure.in +++ b/configure.in @@ -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}"