diff --git a/gcc/configure b/gcc/configure index c7b96446c83..f4939ebaa98 100755 --- a/gcc/configure +++ b/gcc/configure @@ -3931,7 +3931,7 @@ fi if test "${with_gnu_ld+set}" = set; then : withval=$with_gnu_ld; gnu_ld_flag="$with_gnu_ld" else - gnu_ld_flag=no + gnu_ld_flag= fi @@ -4037,7 +4037,7 @@ fi if test "${with_gnu_as+set}" = set; then : withval=$with_gnu_as; gas_flag="$with_gnu_as" else - gas_flag=no + gas_flag= fi @@ -4063,7 +4063,7 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a default assembler was specified" >&5 $as_echo_n "checking whether a default assembler was specified... " >&6; } if test x"${DEFAULT_ASSEMBLER+set}" = x"set"; then - if test x"$gas_flag" = x"no"; then + if test x"$gas_flag" != x"yes"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($DEFAULT_ASSEMBLER)" >&5 $as_echo "yes ($DEFAULT_ASSEMBLER)" >&6; } else diff --git a/gcc/configure.ac b/gcc/configure.ac index 2868785f201..5fb5a43f316 100644 --- a/gcc/configure.ac +++ b/gcc/configure.ac @@ -336,7 +336,7 @@ AC_SUBST(GENINSRC) AC_ARG_WITH(gnu-ld, [AS_HELP_STRING([--with-gnu-ld], [arrange to work with GNU ld])], gnu_ld_flag="$with_gnu_ld", -gnu_ld_flag=no) +gnu_ld_flag=) case $target in *darwin*) @@ -415,7 +415,7 @@ fi AC_ARG_WITH(gnu-as, [AS_HELP_STRING([--with-gnu-as], [arrange to work with GNU as])], gas_flag="$with_gnu_as", -gas_flag=no) +gas_flag=) AC_ARG_WITH(as, [AS_HELP_STRING([--with-as], [arrange to use the specified as (full pathname)])], @@ -432,7 +432,7 @@ fi AC_MSG_CHECKING([whether a default assembler was specified]) if test x"${DEFAULT_ASSEMBLER+set}" = x"set"; then - if test x"$gas_flag" = x"no"; then + if test x"$gas_flag" != x"yes"; then AC_MSG_RESULT([yes ($DEFAULT_ASSEMBLER)]) else AC_MSG_RESULT([yes ($DEFAULT_ASSEMBLER - GNU as)])