X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=configure;h=92f62a34d7a3d7e40ea2b48e32d68108b76afd6e;hb=4a7622d18f7a0e67c53090c685f99ac2c38d0201;hp=a86371a9504444162ee05552291a63f32b5a9208;hpb=e33b51a675a59f37ed6aa8c60b3b202fb470d4ca;p=binutils-gdb.git diff --git a/configure b/configure index a86371a9504..92f62a34d7a 100755 --- a/configure +++ b/configure @@ -1415,13 +1415,22 @@ echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} ,);; *) if test "x$ac_old_val" != "x$ac_new_val"; then - { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 + # differences in whitespace do not lead to failure. + ac_old_val_w=`echo x $ac_old_val` + ac_new_val_w=`echo x $ac_new_val` + if test "$ac_old_val_w" != "$ac_new_val_w"; then + { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} - { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 -echo "$as_me: former value: $ac_old_val" >&2;} - { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 -echo "$as_me: current value: $ac_new_val" >&2;} - ac_cache_corrupted=: + ac_cache_corrupted=: + else + { echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 +echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} + eval $ac_var=\$ac_old_val + fi + { echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 +echo "$as_me: former value: \`$ac_old_val'" >&2;} + { echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 +echo "$as_me: current value: \`$ac_new_val'" >&2;} fi;; esac # Pass precious variables to config.status. @@ -2048,7 +2057,7 @@ if test "${ENABLE_GOLD}" = "yes"; then if test "$is_elf" = "yes"; then # Check for target supported by gold. case "${target}" in - i?86-*-* | x86_64-*-*) + i?86-*-* | x86_64-*-* | sparc*-*-*) configdirs="`echo " ${configdirs} " | sed -e 's/ ld / gold /'`" ;; esac @@ -2326,7 +2335,7 @@ case "${target}" in noconfigdirs="$noconfigdirs ld target-libgloss ${libgcj}" ;; avr-*-*) - noconfigdirs="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj}" + noconfigdirs="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj} target-libssp" ;; bfin-*-*) noconfigdirs="$noconfigdirs gdb" @@ -2340,6 +2349,9 @@ case "${target}" in c54x*-*-* | tic54x-*-*) noconfigdirs="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj} gcc gdb newlib" ;; + cr16-*-*) + noconfigdirs="$noconfigdirs ${libgcj} gdb" + ;; cris-*-* | crisv32-*-*) unsupported_languages="$unsupported_languages java" case "${target}" in @@ -2785,9 +2797,11 @@ echo "$as_me:$LINENO: checking to see if cat works as expected" >&5 echo $ECHO_N "checking to see if cat works as expected... $ECHO_C" >&6 echo a >cygwin-cat-check if test `cat cygwin-cat-check` == a ; then + rm cygwin-cat-check echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 else + rm cygwin-cat-check echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 { { echo "$as_me:$LINENO: error: The cat command does not ignore carriage return characters. @@ -2804,7 +2818,6 @@ export SHELLOPTS " >&2;} { (exit 1); exit 1; }; } fi -rm cygwin-cat-check host_makefile_frag="config/mh-cygwin" ;;