diff options
author | Jason Merrill <jason@redhat.com> | 2000-03-30 02:19:55 +0000 |
---|---|---|
committer | Jason Merrill <jason@redhat.com> | 2000-03-30 02:19:55 +0000 |
commit | 5f4d6baaf2dda6525860b8a44524f4cafb8c6a9e (patch) | |
tree | 13dab74459906bf02d779a6ef903580597ed2323 /configure | |
parent | d29b6111a5517d528bdaebfbd850c7e9471b41ae (diff) | |
download | newlib-5f4d6baaf2dda6525860b8a44524f4cafb8c6a9e.zip newlib-5f4d6baaf2dda6525860b8a44524f4cafb8c6a9e.tar.gz newlib-5f4d6baaf2dda6525860b8a44524f4cafb8c6a9e.tar.bz2 |
* configure.in: -linux-gnu*, not -linux-gnu.
* configure (gcc_version): When setting, narrow search to
lines containing `version_string'.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -587,12 +587,12 @@ esac # the gcc version number changes. if [ "${with_gcc_version_trigger+set}" = set ]; then gcc_version_trigger="$with_gcc_version_trigger" - gcc_version=`sed -e 's/.*\"\([^ \"]*\)[ \"].*/\1/' < ${with_gcc_version_trigger}` + gcc_version=`grep version_string ${with_gcc_version_trigger} | sed -e 's/.*\"\([^ \"]*\)[ \"].*/\1/'` else # If gcc's sources are available, define the trigger file. if [ -f ${topsrcdir}/gcc/version.c ] ; then gcc_version_trigger=${topsrcdir}/gcc/version.c - gcc_version=`sed -e 's/.*\"\([^ \"]*\)[ \"].*/\1/' < ${gcc_version_trigger}` + gcc_version=`grep version_string ${gcc_version_trigger} | sed -e 's/.*\"\([^ \"]*\)[ \"].*/\1/'` case "$arguments" in *--with-gcc-version-trigger=$gcc_version_trigger* ) ;; |