2007-02-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
authorbonzini <bonzini@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 16 Feb 2007 08:53:51 +0000 (08:53 +0000)
committerbonzini <bonzini@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 16 Feb 2007 08:53:51 +0000 (08:53 +0000)
PR other/27843
* Makefile.in (SYSTEM_HEADER_DIR): Use single quotes to avoid
nested double- and backquotes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122032 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/Makefile.in

index d2991a0..6a6886d 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 6ea4280..b685106 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@