1 2006-09-06 Matthias Klose <doko@debian.org>
3 * Makefile.in (s-macro_list): Conform to POSIX rules in single quoted
6 --- s/gcc/Makefile.in~ 2008-10-18 08:53:56.000000000 +0100
7 +++ s/gcc/Makefile.in 2008-10-18 08:55:16.000000000 +0100
9 macro_list: s-macro_list; @true
10 s-macro_list : $(GCC_PASSES)
11 echo | $(GCC_FOR_TARGET) -E -dM - | \
12 - sed -n 's/^#define \([^_][a-zA-Z0-9_]*\).*/\1/p ; \
13 - s/^#define \(_[^_A-Z][a-zA-Z0-9_]*\).*/\1/p' | \
14 + sed -n -e 's/^#define \([^_][a-zA-Z0-9_]*\).*/\1/p' \
15 + -e 's/^#define \(_[^_A-Z][a-zA-Z0-9_]*\).*/\1/p' | \
16 sort -u > tmp-macro_list
17 $(SHELL) $(srcdir)/../move-if-change tmp-macro_list macro_list