From e488e5811826aaabe7ee3756e4b09ff6bd045f9e Mon Sep 17 00:00:00 2001 From: "K. Richard Pixley" Date: Sat, 28 Dec 1991 00:29:34 +0000 Subject: [PATCH] Be less sensitive to spaces in Makefile.in. Kills bug #556. --- ChangeLog | 4 ++++ configure | 10 +++++----- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index dd336b28e19..0cca85184e0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Fri Dec 27 16:26:47 1991 K. Richard Pixley (rich at cygnus.com) + + * configure: be less sensitive to spaces in Makefile.in. + Thu Dec 26 16:30:26 1991 K. Richard Pixley (rich at cygnus.com) * cfg-paper.texi: some changes suggested by rms. diff --git a/configure b/configure index b2ad6022a41..f91c8513097 100755 --- a/configure +++ b/configure @@ -658,27 +658,27 @@ for host in ${hosts} ; do mv Makefile.tem ${Makefile} # set srcdir - sed "s@^srcdir = \.@srcdir = ${srcdir}@" ${Makefile} > Makefile.tem + sed "s@^srcdir[ ]*=.*$@srcdir = ${srcdir}@" ${Makefile} > Makefile.tem mv Makefile.tem ${Makefile} # set prefix if [ -n "${prefix}" ] ; then - sed "s:^prefix =.*$:prefix = ${prefix}:" ${Makefile} > Makefile.tem + sed "s:^prefix[ ]*=.*$:prefix = ${prefix}:" ${Makefile} > Makefile.tem mv Makefile.tem ${Makefile} fi # set datadir if [ -n "${datadir}" ] ; then - sed "s:^datadir =.*$:datadir = ${datadir}:" ${Makefile} > Makefile.tem + sed "s:^datadir[ ]*=.*$:datadir = ${datadir}:" ${Makefile} > Makefile.tem mv Makefile.tem ${Makefile} fi # reset SUBDIRS - sed "s:^SUBDIRS =.*$:SUBDIRS = ${configdirs}:" ${Makefile} > Makefile.tem + sed "s:^SUBDIRS[ ]*=.*$:SUBDIRS = ${configdirs}:" ${Makefile} > Makefile.tem mv Makefile.tem ${Makefile} # reset NONSUBDIRS - sed "s:^NONSUBDIRS =.*$:NONSUBDIRS = ${noconfigdirs}:" ${Makefile} > Makefile.tem + sed "s:^NONSUBDIRS[ ]*=.*$:NONSUBDIRS = ${noconfigdirs}:" ${Makefile} > Makefile.tem mv Makefile.tem ${Makefile} # remove any form feeds. -- 2.30.2