Blame emacs-23.1-cpp.patch
|
Daniel Novotny |
d1aa66 |
diff -up emacs-23.1/configure.in.cpp emacs-23.1/configure.in
|
|
Daniel Novotny |
d1aa66 |
--- emacs-23.1/configure.in.cpp 2009-11-30 13:24:53.000000000 +0100
|
|
Daniel Novotny |
d1aa66 |
+++ emacs-23.1/configure.in 2009-11-30 13:25:45.000000000 +0100
|
|
Daniel Novotny |
d1aa66 |
@@ -2983,7 +2983,7 @@ echo creating lib-src/Makefile
|
|
Daniel Novotny |
d1aa66 |
sed -e '1,/start of cpp stuff/d'\
|
|
Daniel Novotny |
d1aa66 |
-e 's,/\*\*/#\(.*\)$,/* \1 */,' \
|
|
Daniel Novotny |
d1aa66 |
< Makefile.c > junk.c
|
|
Daniel Novotny |
d1aa66 |
- $CPP $cpp_undefs -I. -I$srcdir/src $CPPFLAGS junk.c | \
|
|
Daniel Novotny |
d1aa66 |
+ $CPP -P $cpp_undefs -I. -I$srcdir/src $CPPFLAGS junk.c | \
|
|
Daniel Novotny |
d1aa66 |
sed -e 's/^ / /' -e '/^#/d' -e '/^[ ?]*$/d' > junk2.c
|
|
Daniel Novotny |
d1aa66 |
cat junk1.c junk2.c > Makefile.new
|
|
Daniel Novotny |
d1aa66 |
rm -f junk.c junk1.c junk2.c
|
|
Daniel Novotny |
d1aa66 |
@@ -2999,7 +2999,7 @@ echo creating src/Makefile
|
|
Daniel Novotny |
d1aa66 |
sed -e '1,/start of cpp stuff/d'\
|
|
Daniel Novotny |
d1aa66 |
-e 's,/\*\*/#\(.*\)$,/* \1 */,' \
|
|
Daniel Novotny |
d1aa66 |
< Makefile.c > junk.c
|
|
Daniel Novotny |
d1aa66 |
- $CPP $cpp_undefs -I. -I$srcdir/src $CPPFLAGS junk.c | \
|
|
Daniel Novotny |
d1aa66 |
+ $CPP -P $cpp_undefs -I. -I$srcdir/src $CPPFLAGS junk.c | \
|
|
Daniel Novotny |
d1aa66 |
sed -e 's/^ / /' -e '/^#/d' -e '/^[ ?]*$/d' > junk2.c
|
|
Daniel Novotny |
d1aa66 |
cat junk1.c junk2.c > Makefile.new
|
|
Daniel Novotny |
d1aa66 |
rm -f junk.c junk1.c junk2.c
|