projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b2fbcb
)
Fix sed for version.c to handle both with
author
Richard Stallman
<rms@gnu.org>
Tue, 18 May 1993 21:29:03 +0000
(21:29 +0000)
committer
Richard Stallman
<rms@gnu.org>
Tue, 18 May 1993 21:29:03 +0000
(21:29 +0000)
and without spaces correctly (MS-DOS).
From-SVN: r4499
gcc/configure.bat
patch
|
blob
|
history
diff --git
a/gcc/configure.bat
b/gcc/configure.bat
index 3c7b4a8254d2c0359bc908bc039951c45b344ad7..75e7baff4ccfa188b6c14bf2708bdedfd093bffb 100644
(file)
--- 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