* configure.in: -linux-gnu*, not -linux-gnu.
authorJason Merrill <jason@redhat.com>
Thu, 30 Mar 2000 02:19:56 +0000 (02:19 +0000)
committerJason Merrill <jason@redhat.com>
Thu, 30 Mar 2000 02:19:56 +0000 (02:19 +0000)
        * configure (gcc_version): When setting, narrow search to
        lines containing `version_string'.

ChangeLog
configure
configure.in
gdb/ChangeLog
gdb/configure.in

index 17966a58637a80d705772ef9601e171691b84eb1..78a812274aec5cf3340767689be301ea6c238c37 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2000-03-29  Jason Merrill  <jason@casey.cygnus.com>
+
+       * configure.in: -linux-gnu*, not -linux-gnu.
+
 2000-03-10  H.J. Lu  <hjl@gnu.org>
 
        * Makefile.in (all-gcc): Backed out the last change.
@@ -45,6 +49,11 @@ Thu Feb 24 16:15:56 2000  Andrew Cagney  <cagney@b1.cygnus.com>
 
        * config.guess: Guess "cygwin" rather than "cygwin32".
 
+2000-02-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * configure (gcc_version): When setting, narrow search to
+       lines containing `version_string'.
+
 2000-01-06  Geoff Keating  <geoffk@cygnus.com>
 
        * configure.in: Use mt-aix43 to handle *_TARGET defs,
index 499925a48ad497b50a865b6133c46451f261ed8d..c5f0291340090c1e65824a5c734e0aed350218f2 100755 (executable)
--- 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* )
            ;;
index 2cee9b68e01a02fe1bbeca547bb3098a458a14ff..ca1b04f9dc801a20ae4f59c4b5b9337dbcea9c13 100644 (file)
@@ -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].*)
index 7f67e14cede37079f01dfa5d92c1b4107c329279..c461c40132601af52ac8942475111cccef5c0416 100644 (file)
@@ -1,3 +1,7 @@
+2000-03-29  Jason Merrill  <jason@casey.cygnus.com>
+
+       * configure.in: -linux-gnu*, not -linux-gnu.
+
 Tue Mar 28 18:28:40 2000  Andrew Cagney  <cagney@b1.cygnus.com>
 
        * remote.c (remote_threads_extra_info): Replace qfThreadExtraInfo
index 8e39589719fde0725299431ac4f40fca6fc0a40e..c2c5df68eaa87a0eee230e3cb7c7f6e138dadfe9 100644 (file)
@@ -810,7 +810,7 @@ if test "${shared}" = "true"; then
     ;;
   *-*-linux*aout*)
     ;;
-  *-*-linux* | *-pc-linux-gnu)
+  *-*-linux* | *-pc-linux-gnu*)
     HLDFLAGS='-Wl,-rpath,$(libdir)'
     ;;
   *-*-solaris*)