CHange sed script

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@17162 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Adam Fedor 2003-07-07 03:33:22 +00:00
parent bc24223b80
commit 385d3c2716
4 changed files with 7 additions and 3 deletions

View file

@ -1,3 +1,7 @@
2003-07-06 Adam Fedor <fedor@gnu.org>
* configure.ac: Remove '^' match from gcc version sed script.
2003-07-05 Adam Fedor <fedor@gnu.org>
* configure.ac: Add flags for openbsd like freebsd.

View file

@ -514,7 +514,7 @@ gdnc doesn't work. If you recompile the kernel then it starts working.
@node Suse/Intel, Suse 7.x/PPC, Suse 6.x/Intel, Machine Specific
@section Suse/Intel
GNUstep has been tested on version 7.0, 8.0, and 8.1 of Suse
GNUstep has been tested on version 7.0, 8.0, 8.1, and 8.2 of Suse
@table @samp
@item Recommended compiler

2
configure vendored
View file

@ -4138,7 +4138,7 @@ else
# subpattern)
# \([^0-9].*\) matches a non numeric char followed by anything
# /\2/ replace the whole lot with the 2^nd subpattern
gs_cv_gcc_major_version=`${CC} -dumpversion | sed "s/\(^[^0-9]*\)\([0-9][0-9]*\)\([^0-9].*\)/\2/"`;
gs_cv_gcc_major_version=`${CC} -dumpversion | sed "s/\([^0-9]*\)\([0-9][0-9]*\)\([^0-9].*\)/\2/"`;
if test "${gs_cv_gcc_major_version}" -ge "3" ; then
AUTO_DEPENDENCIES=yes

View file

@ -471,7 +471,7 @@ else
# subpattern)
# \([^0-9].*\) matches a non numeric char followed by anything
# /\2/ replace the whole lot with the 2^nd subpattern
gs_cv_gcc_major_version=`${CC} -dumpversion | sed "s/\(^[[^0-9]]*\)\([[0-9]][[0-9]]*\)\([[^0-9]].*\)/\2/"`;
gs_cv_gcc_major_version=`${CC} -dumpversion | sed "s/\([[^0-9]]*\)\([[0-9]][[0-9]]*\)\([[^0-9]].*\)/\2/"`;
if test "${gs_cv_gcc_major_version}" -ge "3" ; then
AUTO_DEPENDENCIES=yes