mirror of
https://github.com/gnustep/tools-make.git
synced 2025-04-23 22:33:28 +00:00
Fixed regular expression used to parse GCC version; it was failing, causing ./configure not to detect that the compiler supported auto-dependencies
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@26570 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
6a77b9b41c
commit
f23afbca3f
3 changed files with 13 additions and 4 deletions
|
@ -1,3 +1,12 @@
|
|||
2008-05-25 Nicola Pero <nicola.pero@meta-innovation.com>
|
||||
|
||||
Fixed cases where ./configure wouldn't detect that the compiler
|
||||
supported auto-dependencies.
|
||||
* configure.ac: Fixed regular expression to determine the
|
||||
GCC version. If was failing when the string terminated at
|
||||
the minor version.
|
||||
* configure: Regenerated.
|
||||
|
||||
2008-05-24 Nicola Pero <nicola.pero@meta-innovation.com>
|
||||
|
||||
Fixed occasional spurious rebuilds of Info-gnustep.plist and
|
||||
|
|
4
configure
vendored
4
configure
vendored
|
@ -5861,8 +5861,8 @@ else
|
|||
# All square brackets are doubled because this file is processed by m4 first.
|
||||
# Finally, any error messages are redirected to &5, so that they are logged
|
||||
# into config.log but don't clutter the normal user output.
|
||||
gs_cv_gcc_major_version=`(${CC} -dumpversion | sed "s/\([^0-9]*\)\([0-9][0-9]*\)\([^0-9]*\)\([0-9][0-9]*\)\([^0-9].*\)/\2/") 2>&5`;
|
||||
gs_cv_gcc_minor_version=`(${CC} -dumpversion | sed "s/\([^0-9]*\)\([0-9][0-9]*\)\([^0-9]*\)\([0-9][0-9]*\)\([^0-9].*\)/\4/") 2>&5`;
|
||||
gs_cv_gcc_major_version=`(${CC} -dumpversion | sed "s/\([^0-9]*\)\([0-9][0-9]*\)\([^0-9]*\)\([0-9][0-9]*\)\([^0-9]*.*\)/\2/") 2>&5`;
|
||||
gs_cv_gcc_minor_version=`(${CC} -dumpversion | sed "s/\([^0-9]*\)\([0-9][0-9]*\)\([^0-9]*\)\([0-9][0-9]*\)\([^0-9]*.*\)/\4/") 2>&5`;
|
||||
|
||||
gs_cv_gcc_parsed_version=${gs_cv_gcc_major_version}.${gs_cv_gcc_minor_version}
|
||||
|
||||
|
|
|
@ -1248,8 +1248,8 @@ else
|
|||
# All square brackets are doubled because this file is processed by m4 first.
|
||||
# Finally, any error messages are redirected to &5, so that they are logged
|
||||
# into config.log but don't clutter the normal user output.
|
||||
gs_cv_gcc_major_version=`(${CC} -dumpversion | sed "s/\([[^0-9]]*\)\([[0-9]][[0-9]]*\)\([[^0-9]]*\)\([[0-9]][[0-9]]*\)\([[^0-9]].*\)/\2/") 2>&5`;
|
||||
gs_cv_gcc_minor_version=`(${CC} -dumpversion | sed "s/\([[^0-9]]*\)\([[0-9]][[0-9]]*\)\([[^0-9]]*\)\([[0-9]][[0-9]]*\)\([[^0-9]].*\)/\4/") 2>&5`;
|
||||
gs_cv_gcc_major_version=`(${CC} -dumpversion | sed "s/\([[^0-9]]*\)\([[0-9]][[0-9]]*\)\([[^0-9]]*\)\([[0-9]][[0-9]]*\)\([[^0-9]]*.*\)/\2/") 2>&5`;
|
||||
gs_cv_gcc_minor_version=`(${CC} -dumpversion | sed "s/\([[^0-9]]*\)\([[0-9]][[0-9]]*\)\([[^0-9]]*\)\([[0-9]][[0-9]]*\)\([[^0-9]]*.*\)/\4/") 2>&5`;
|
||||
|
||||
gs_cv_gcc_parsed_version=${gs_cv_gcc_major_version}.${gs_cv_gcc_minor_version}
|
||||
|
||||
|
|
Loading…
Reference in a new issue