diff options
author | DJ Delorie <dj@redhat.com> | 2008-04-18 15:14:13 +0000 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2008-04-18 15:14:13 +0000 |
commit | 5ae542419de15ad6f48110068c39df08b0750120 (patch) | |
tree | 28ec112f521e5c15169211e511429ff6560c6dcd /libdecnumber/configure | |
parent | dae39accc2005cb456ad00d4369b3ccc482f6a7d (diff) | |
download | gdb-5ae542419de15ad6f48110068c39df08b0750120.zip gdb-5ae542419de15ad6f48110068c39df08b0750120.tar.gz gdb-5ae542419de15ad6f48110068c39df08b0750120.tar.bz2 |
merge from gcc
Diffstat (limited to 'libdecnumber/configure')
-rwxr-xr-x | libdecnumber/configure | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/libdecnumber/configure b/libdecnumber/configure index 19ece0f..ab73f46 100755 --- a/libdecnumber/configure +++ b/libdecnumber/configure @@ -1252,13 +1252,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. |