re PR other/27843 (gcc-4.2-20060527 make install fails on alphaev68-dec-osf5.1b)
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Fri, 16 Feb 2007 08:53:51 +0000 (08:53 +0000)
committerPaolo Bonzini <bonzini@gcc.gnu.org>
Fri, 16 Feb 2007 08:53:51 +0000 (08:53 +0000)
2007-02-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>

PR other/27843
* Makefile.in (SYSTEM_HEADER_DIR): Use single quotes to avoid
nested double- and backquotes.

From-SVN: r122032

gcc/ChangeLog
gcc/Makefile.in

index d2991a04852ec6bd3462c1c6d46527241449330a..6a6886d493e8df6158edc9d0d874bac833d76b62 100644 (file)
@@ -1,3 +1,9 @@
+2007-02-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       PR other/27843
+       * Makefile.in (SYSTEM_HEADER_DIR): Use single quotes to avoid
+       nested double- and backquotes.
+
 2007-02-15  Roger Sayle  <roger@eyesopen.com>
 
        PR middle-end/30391
index 6ea4280d8b95aa76f29698cea8b99a552c5d58d9..b68510663e47725e07bfaf818dd88e452ed4edeb 100644 (file)
@@ -386,7 +386,9 @@ CROSS_SYSTEM_HEADER_DIR = @CROSS_SYSTEM_HEADER_DIR@
 # Purge it of unneccessary internal relative paths
 # to directories that might not exist yet.
 # The sed idiom for this is to repeat the search-and-replace until it doesn't match, using :a ... ta.
-SYSTEM_HEADER_DIR = `echo @SYSTEM_HEADER_DIR@ | sed -e :a -e "s,[^/]*/\.\.\/,," -e ta`
+# Use single quotes here to avoid nested double- and backquotes, this
+# macro is also used in a double-quoted context.
+SYSTEM_HEADER_DIR = `echo @SYSTEM_HEADER_DIR@ | sed -e :a -e 's,[^/]*/\.\.\/,,' -e ta`
 
 # Control whether to run fixproto and fixincludes.
 STMP_FIXPROTO = @STMP_FIXPROTO@