diff options
author | K. Richard Pixley <rich@cygnus> | 1991-12-28 00:29:34 +0000 |
---|---|---|
committer | K. Richard Pixley <rich@cygnus> | 1991-12-28 00:29:34 +0000 |
commit | e488e5811826aaabe7ee3756e4b09ff6bd045f9e (patch) | |
tree | bd158af42d4569a8ecb5cedda0979a5fbf46d397 /configure | |
parent | 0065bc396832fb9e894df0110fc7c9ad79cb64dc (diff) | |
download | gdb-e488e5811826aaabe7ee3756e4b09ff6bd045f9e.zip gdb-e488e5811826aaabe7ee3756e4b09ff6bd045f9e.tar.gz gdb-e488e5811826aaabe7ee3756e4b09ff6bd045f9e.tar.bz2 |
Be less sensitive to spaces in Makefile.in. Kills bug #556.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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. |