summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1994-04-19 00:43:06 +0000
committerKarl Heuer <kwzh@gnu.org>1994-04-19 00:43:06 +0000
commit196a7903859d7f25d927e73119d264bca8049b91 (patch)
treed7cb0ef836ffb95298ac5cea8aa146603dbd8f6b
parent3717217eee6d4e0b4871e89980cdae7bf828ab14 (diff)
downloademacs-196a7903859d7f25d927e73119d264bca8049b91.tar.gz
(src/Makefile, lib-src/Makefile): Delete ^L. Fix definition of $undefs.
-rwxr-xr-xconfigure1.in11
1 files changed, 5 insertions, 6 deletions
diff --git a/configure1.in b/configure1.in
index b8fa83ec2a9..b9987e59cf6 100755
--- a/configure1.in
+++ b/configure1.in
@@ -1577,10 +1577,9 @@ changequote(,)dnl The horror, the horror.
# the C preprocessor to some helpful value like 1, or maybe the empty
# string. Needless to say consequent macro substitutions are less
# than conducive to the makefile finding the correct directory.
-undefs="`echo $top_srcdir $configuration |
-sed -e 's/[^a-zA-Z0-9_]/ /g' -e 's/ */ -U/g' \
- -e 's/ -U$//' -e 's/^[^ ]/-U/' \
- -e 's/-U[0-9][^ ]*//g' \
+undefs="`echo $top_srcdir $configuration |
+sed -e 's/[^a-zA-Z0-9_]/ /g' -e 's/^/ /' -e 's/ *$//' \
+ -e 's/ */ -U/g' -e 's/-U[0-9][^ ]*//g' \
`"
changequote([,])dnl
@@ -1591,7 +1590,7 @@ echo creating lib-src/Makefile
-e 's@/\*\*/#\(.*\)$@/* \1 */@' \
< Makefile.in > junk.c
$CPP $undefs -I. -I$top_srcdir/src $CPPFLAGS junk.c |
- sed -e 's/^ / /' -e '/^#/d' -e '/^[ ]*$/d' > Makefile.new
+ sed -e 's/^ / /' -e '/^#/d' -e '/^[ ]*$/d' > Makefile.new
rm -f junk.c
chmod 444 Makefile.new;
mv -f Makefile.new Makefile;
@@ -1604,7 +1603,7 @@ echo creating src/Makefile
-e 's@/\*\*/#\(.*\)$@/* \1 */@' \
< Makefile.in > junk.c
$CPP $undefs -I. -I$top_srcdir/src $CPPFLAGS junk.c |
- sed -e 's/^ / /' -e '/^#/d' -e '/^[ ]*$/d' > Makefile.new
+ sed -e 's/^ / /' -e '/^#/d' -e '/^[ ]*$/d' > Makefile.new
rm -f junk.c
chmod 444 Makefile.new;
mv -f Makefile.new Makefile;