diff options
author | Nick Clifton <nickc@redhat.com> | 2009-09-25 19:23:40 +0000 |
---|---|---|
committer | Nick Clifton <nickc@gcc.gnu.org> | 2009-09-25 19:23:40 +0000 |
commit | f1a036e46fa3ae4831604357a78b4f57af5133da (patch) | |
tree | 1f66002fdbdc32a8edc90f01e6cab5639c78e09c | |
parent | 712ff3c86386edf84b22f5954bf6596210218f6d (diff) | |
download | gcc-f1a036e46fa3ae4831604357a78b4f57af5133da.zip gcc-f1a036e46fa3ae4831604357a78b4f57af5133da.tar.gz gcc-f1a036e46fa3ae4831604357a78b4f57af5133da.tar.bz2 |
configure.ac: Pass any --cache-file=/dev/null option on to subconfigures.
* configure.ac: Pass any --cache-file=/dev/null option on to
subconfigures.
* configure: Regenerate.
From-SVN: r152183
-rw-r--r-- | ChangeLog | 6 | ||||
-rwxr-xr-x | configure | 15 | ||||
-rw-r--r-- | configure.ac | 15 |
3 files changed, 30 insertions, 6 deletions
@@ -1,3 +1,9 @@ +2009-09-25 Nick Clifton <nickc@redhat.com> + + * configure.ac: Pass any --cache-file=/dev/null option on to + subconfigures. + * configure: Regenerate. + 2009-09-23 Nick Clifton <nickc@redhat.com> * config.sub, config.guess: Update from upstream sources. @@ -6750,9 +6750,11 @@ serialization_dependencies=serdep.tmp # Base args. Strip norecursion, cache-file, srcdir, host, build, # target, nonopt, and variable assignments. These are the ones we -# might not want to pass down to subconfigures. Also strip -# program-prefix, program-suffix, and program-transform-name, so that -# we can pass down a consistent program-transform-name. +# might not want to pass down to subconfigures. The exception being +# --cache-file=/dev/null, which is used to turn off the use of cache +# files altogether, and which should be passed on to subconfigures. +# Also strip program-prefix, program-suffix, and program-transform-name, +# so that we can pass down a consistent program-transform-name. baseargs= keep_next=no skip_next=no @@ -6791,6 +6793,13 @@ do esac case "$ac_arg" in + --cache-file=/dev/null | \ + -cache-file=/dev/null ) + # Handled here to avoid the test to skip args below. + baseargs="$baseargs '$ac_arg'" + # Assert: $separate_arg should always be no. + keep_next=$separate_arg + ;; --no*) continue ;; diff --git a/configure.ac b/configure.ac index e7d44db..91b2bca 100644 --- a/configure.ac +++ b/configure.ac @@ -2632,9 +2632,11 @@ AC_SUBST_FILE(serialization_dependencies) # Base args. Strip norecursion, cache-file, srcdir, host, build, # target, nonopt, and variable assignments. These are the ones we -# might not want to pass down to subconfigures. Also strip -# program-prefix, program-suffix, and program-transform-name, so that -# we can pass down a consistent program-transform-name. +# might not want to pass down to subconfigures. The exception being +# --cache-file=/dev/null, which is used to turn off the use of cache +# files altogether, and which should be passed on to subconfigures. +# Also strip program-prefix, program-suffix, and program-transform-name, +# so that we can pass down a consistent program-transform-name. baseargs= keep_next=no skip_next=no @@ -2673,6 +2675,13 @@ do esac case "$ac_arg" in + --cache-file=/dev/null | \ + -cache-file=/dev/null ) + # Handled here to avoid the test to skip args below. + baseargs="$baseargs '$ac_arg'" + # Assert: $separate_arg should always be no. + keep_next=$separate_arg + ;; --no*) continue ;; |