diff options
author | Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | 2009-08-19 22:19:37 +0000 |
---|---|---|
committer | Ralf Wildenhues <rwild@gcc.gnu.org> | 2009-08-19 22:19:37 +0000 |
commit | 0115d4a36f4ec51a9d70efe91d595b8a002facd2 (patch) | |
tree | 3c87f798687a766a129c5e463c41722890b39c89 /configure.ac | |
parent | 58af276a30a51c50a9da39f09acbc39dfd74f8dd (diff) | |
download | gcc-0115d4a36f4ec51a9d70efe91d595b8a002facd2.zip gcc-0115d4a36f4ec51a9d70efe91d595b8a002facd2.tar.gz gcc-0115d4a36f4ec51a9d70efe91d595b8a002facd2.tar.bz2 |
Disable option checking in the toplevel, avoid 2.64 fopen glitch.
/:
* configure.ac: Call AC_DISABLE_OPTION_CHECKING.
(baseargs): Add --disable-option-checking.
* configure: Regenerate.
config/:
* override.m4 (AC_DISABLE_OPTION_CHECKING): Define to be
empty if not defined, to avoid error with 2.59.
(_AC_LANG_IO_PROGRAM): When the Autoconf version is exactly
2.64, avoid per-language instances to drop fopen from test
program.
From-SVN: r150945
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 7508758..9da0048 100644 --- a/configure.ac +++ b/configure.ac @@ -25,6 +25,7 @@ m4_include(config/proginstall.m4) AC_INIT(move-if-change) AC_PREREQ(2.59) +AC_DISABLE_OPTION_CHECKING progname=$0 # if PWD already has a value, it is probably wrong. @@ -2662,6 +2663,7 @@ baseargs="$baseargs --program-transform-name='${gcc_transform_name}'" if test "$silent" = yes; then baseargs="$baseargs --silent" fi +baseargs="$baseargs --disable-option-checking" # For the build-side libraries, we just need to pretend we're native, # and not use the same cache file. Multilibs are neither needed nor |