+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.
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.