From d332c5ac7ed3134551a79a45d16ef8e0c626bb07 Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Thu, 30 Mar 2000 02:19:56 +0000 Subject: [PATCH] * configure.in: -linux-gnu*, not -linux-gnu. * configure (gcc_version): When setting, narrow search to lines containing `version_string'. --- ChangeLog | 9 +++++++++ configure | 4 ++-- configure.in | 2 +- gdb/ChangeLog | 4 ++++ gdb/configure.in | 2 +- 5 files changed, 17 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 17966a58637..78a812274ae 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2000-03-29 Jason Merrill + + * configure.in: -linux-gnu*, not -linux-gnu. + 2000-03-10 H.J. Lu * Makefile.in (all-gcc): Backed out the last change. @@ -45,6 +49,11 @@ Thu Feb 24 16:15:56 2000 Andrew Cagney * config.guess: Guess "cygwin" rather than "cygwin32". +2000-02-16 Kaveh R. Ghazi + + * configure (gcc_version): When setting, narrow search to + lines containing `version_string'. + 2000-01-06 Geoff Keating * configure.in: Use mt-aix43 to handle *_TARGET defs, diff --git a/configure b/configure index 499925a48ad..c5f02913400 100755 --- a/configure +++ b/configure @@ -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* ) ;; diff --git a/configure.in b/configure.in index 2cee9b68e01..ca1b04f9dc8 100644 --- a/configure.in +++ b/configure.in @@ -329,7 +329,7 @@ case "${target}" in powerpc-*-netware*) target_makefile_frag="${target_makefile_frag} config/mt-netware" ;; - *-*-linux-gnu) + *-*-linux-gnu*) target_makefile_frag="${target_makefile_frag} config/mt-linux" ;; *-*-aix4.[3456789]* | *-*-aix[56789].*) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 7f67e14cede..c461c401326 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2000-03-29 Jason Merrill + + * configure.in: -linux-gnu*, not -linux-gnu. + Tue Mar 28 18:28:40 2000 Andrew Cagney * remote.c (remote_threads_extra_info): Replace qfThreadExtraInfo diff --git a/gdb/configure.in b/gdb/configure.in index 8e39589719f..c2c5df68eaa 100644 --- a/gdb/configure.in +++ b/gdb/configure.in @@ -810,7 +810,7 @@ if test "${shared}" = "true"; then ;; *-*-linux*aout*) ;; - *-*-linux* | *-pc-linux-gnu) + *-*-linux* | *-pc-linux-gnu*) HLDFLAGS='-Wl,-rpath,$(libdir)' ;; *-*-solaris*) -- 2.30.2