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 /intl/configure | |
parent | dae39accc2005cb456ad00d4369b3ccc482f6a7d (diff) | |
download | gdb-5ae542419de15ad6f48110068c39df08b0750120.zip gdb-5ae542419de15ad6f48110068c39df08b0750120.tar.gz gdb-5ae542419de15ad6f48110068c39df08b0750120.tar.bz2 |
merge from gcc
Diffstat (limited to 'intl/configure')
-rwxr-xr-x | intl/configure | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/intl/configure b/intl/configure index b7fbd0e..09143ceb 100755 --- a/intl/configure +++ b/intl/configure @@ -1251,13 +1251,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. |