From afd88efc0530ec39d926c9932e4302cff9a2e526 Mon Sep 17 00:00:00 2001 From: Martin Liska Date: Wed, 31 May 2017 15:35:41 +0200 Subject: Fix configure.ac to respect --{enable,disable}-werror option. 2017-05-31 Martin Liska * configure.ac: Add handling of stage2_werror_flags to action-if-given and to action-if-not-given. * configure: Regenerate. From-SVN: r248737 --- configure | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'configure') diff --git a/configure b/configure index 82aa619fad1..2cbb4b7ab9d 100755 --- a/configure +++ b/configure @@ -14641,13 +14641,13 @@ fi # Check whether --enable-werror was given. if test "${enable_werror+set}" = set; then : enableval=$enable_werror; -fi - case ${enable_werror} in yes) stage2_werror_flag="--enable-werror-always" ;; *) stage2_werror_flag="" ;; esac +else + if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then case $BUILD_CONFIG in bootstrap-debug) @@ -14657,6 +14657,9 @@ if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; esac fi +fi + + # Specify what files to not compare during bootstrap. -- cgit v1.2.1