# HG changeset patch # User kevinw # Date 1521649140 25200 # Node ID 54eb4c29ece454e344918584ab33bc234932a3da # Parent 0e87966d7ff170684d99b851ecf14a54a077082a 8033292: only warn, not fail, on unknown variables in configure Reviewed-by: ihse, erikj diff -r 0e87966d7ff1 -r 54eb4c29ece4 common/autoconf/basics.m4 --- a/common/autoconf/basics.m4 Tue Mar 20 09:19:10 2018 -0700 +++ b/common/autoconf/basics.m4 Wed Mar 21 09:19:00 2018 -0700 @@ -250,7 +250,7 @@ if test "x$CONFIGURE_OVERRIDDEN_VARIABLES" != x; then # Replace the separating ! with spaces before presenting for end user. unknown_variables=${CONFIGURE_OVERRIDDEN_VARIABLES//!/ } - AC_MSG_ERROR([The following variables are unknown to configure: $unknown_variables]) + AC_MSG_WARN([The following variables might be unknown to configure: $unknown_variables]) fi ]) diff -r 0e87966d7ff1 -r 54eb4c29ece4 common/autoconf/generated-configure.sh --- a/common/autoconf/generated-configure.sh Tue Mar 20 09:19:10 2018 -0700 +++ b/common/autoconf/generated-configure.sh Wed Mar 21 09:19:00 2018 -0700 @@ -4076,7 +4076,7 @@ #CUSTOM_AUTOCONF_INCLUDE # Do not change or remove the following line, it is needed for consistency checks: -DATE_WHEN_GENERATED=1521554908 +DATE_WHEN_GENERATED=1521626909 ############################################################################### # @@ -47013,7 +47013,8 @@ if test "x$CONFIGURE_OVERRIDDEN_VARIABLES" != x; then # Replace the separating ! with spaces before presenting for end user. unknown_variables=${CONFIGURE_OVERRIDDEN_VARIABLES//!/ } - as_fn_error $? "The following variables are unknown to configure: $unknown_variables" "$LINENO" 5 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The following variables might be unknown to configure: $unknown_variables" >&5 +$as_echo "$as_me: WARNING: The following variables might be unknown to configure: $unknown_variables" >&2;} fi