[package] base-files: rewrite killing of nonessential services to not rely on top...
[openwrt-working-2016/.git] / toolchain / gdb / patches / 600-fix-compile-flag-mismatch.patch
1 --- a/gdb/configure
2 +++ b/gdb/configure
3 @@ -988,7 +988,7 @@ CPP
4  YACC
5  YFLAGS
6  XMKMF'
7 -ac_subdirs_all='doc testsuite
8 +ac_subdirs_all='doc
9  gdbtk
10  multi-ice
11  gdbserver'
12 @@ -7881,7 +7881,7 @@ fi
13  
14  
15  
16 -subdirs="$subdirs doc testsuite"
17 +subdirs="$subdirs doc"
18  
19  
20  # Check whether to support alternative target configurations
21 --- a/gdb/gdbserver/configure
22 +++ b/gdb/gdbserver/configure
23 @@ -2152,7 +2152,7 @@ $as_echo "$as_me: error: \`$ac_var' was 
24        ac_cache_corrupted=: ;;
25      ,);;
26      *)
27 -      if test "x$ac_old_val" != "x$ac_new_val"; then
28 +      if test "`echo x$ac_old_val`" != "`echo x$ac_new_val`"; then
29         # differences in whitespace do not lead to failure.
30         ac_old_val_w=`echo x $ac_old_val`
31         ac_new_val_w=`echo x $ac_new_val`