diff options
author | rms <rms@138bc75d-0d04-0410-961f-82ee72b054a4> | 1993-05-18 21:29:03 +0000 |
---|---|---|
committer | rms <rms@138bc75d-0d04-0410-961f-82ee72b054a4> | 1993-05-18 21:29:03 +0000 |
commit | a3105601baae589f2d8c104da6191ea9fcf90ee1 (patch) | |
tree | 1fb06032e04893ff0cee481b5b782a071eef333a /gcc/configure.bat | |
parent | a2aa0fc16f7248a8fad8052c3b1ed75a8c6f790b (diff) | |
download | gcc-a3105601baae589f2d8c104da6191ea9fcf90ee1.tar.gz |
Fix sed for version.c to handle both with
and without spaces correctly (MS-DOS).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4499 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/configure.bat')
-rw-r--r-- | gcc/configure.bat | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/configure.bat b/gcc/configure.bat index 3c7b4a8254d..75e7baff4cc 100644 --- a/gcc/configure.bat +++ b/gcc/configure.bat @@ -17,7 +17,7 @@ echo "/\.o[ ]*:/ s/config.status// ">> config.sed echo "/^target=/ c\ ">> config.sed echo "target=go32 ">> config.sed echo "/^version=/ c\ ">> config.sed -sed -e "s/[^\"]*\"/version=/" -e "s/\ .*//" version.c >> config.sed +sed -e "s/.*\"\([^ \"]*\)[ \"].*/version=\1/" version.c >> config.sed echo "s/CC = cc/CC = gcc/ ">> config.sed echo "s/:\$/: \$/g ">> config.sed echo "s/^ \ *\.\// go32 / ">> config.sed |