FYI: sync from GCC: Fix unportable shell quoting.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

FYI: sync from GCC: Fix unportable shell quoting.

Ralf Wildenhues
I'm syncing the following from GCC to src after testing binutils+gdb.

Cheers,
Ralf

Fix unportable shell quoting.

ChangeLog:
2010-06-27  Ralf Wildenhues  <[hidden email]>

        Sync from GCC:

        PR bootstrap/44621
        * configure.ac: Fix unportable shell quoting.
        * configure: Regenerate.

config/ChangeLog:
2010-06-27  Ralf Wildenhues  <[hidden email]>

        * po.m4 (AM_PO_SUBDIRS): Fix unportable shell quoting.

bfd/ChangeLog:
2010-09-27  Ralf Wildenhues  <[hidden email]>

        * configure: Regenerate.

gas/ChangeLog:
2010-09-27  Ralf Wildenhues  <[hidden email]>

        * configure: Regenerate.

gold/ChangeLog:
2010-09-27  Ralf Wildenhues  <[hidden email]>

        * configure: Regenerate.

intl/ChangeLog:
2010-09-27  Ralf Wildenhues  <[hidden email]>

        * configure: Regenerate.

ld/ChangeLog:
2010-09-27  Ralf Wildenhues  <[hidden email]>

        * configure: Regenerate.

opcodes/ChangeLog:
2010-09-27  Ralf Wildenhues  <[hidden email]>

        * configure: Regenerate.

binutils/ChangeLog:
2010-09-27  Ralf Wildenhues  <[hidden email]>

        * configure: Regenerate.

gprof/ChangeLog:
2010-09-27  Ralf Wildenhues  <[hidden email]>

        * configure: Regenerate.

Index: configure.ac
===================================================================
RCS file: /cvs/src/src/configure.ac,v
retrieving revision 1.105
diff -u -r1.105 configure.ac
--- configure.ac 23 Jul 2010 14:52:42 -0000 1.105
+++ configure.ac 27 Sep 2010 19:34:33 -0000
@@ -351,7 +351,7 @@
             configdirs="$configdirs gold"
     ;;
   *)
-            configdirs="`echo " ${configdirs} " | sed -e 's/ ld / gold /'`"
+            configdirs=`echo " ${configdirs} " | sed -e 's/ ld / gold /'`
     ;;
   esac
   ENABLE_GOLD=yes
Index: config/po.m4
===================================================================
RCS file: /cvs/src/src/config/po.m4,v
retrieving revision 1.1
diff -u -r1.1 po.m4
--- config/po.m4 23 Sep 2004 19:43:47 -0000 1.1
+++ config/po.m4 27 Sep 2010 19:34:35 -0000
@@ -96,7 +96,7 @@
       case "$ac_file" in */Makefile.in)
         # Adjust a relative srcdir.
         ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
-        ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
+        ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'`
         ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
         # In autoconf-2.13 it is called $ac_given_srcdir.
         # In autoconf-2.50 it is called $srcdir.