configure.in (gcc_version): Remove unrequired \ on ".
authorNathan Sidwell <nathan@codesourcery.com>
Tue, 29 May 2001 15:16:24 +0000 (15:16 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Tue, 29 May 2001 15:16:24 +0000 (15:16 +0000)
* configure.in (gcc_version): Remove unrequired \ on ". (Solaris
/bin/sed fails on [^\"]).
(configargs.h): Likewise.

From-SVN: r42689

gcc/ChangeLog
gcc/configure
gcc/configure.in

index e48b2928adfaacd7923c830daffbcc9592cd7e96..4e18c7dfc64f111662432ff7d2774a4581f395f1 100644 (file)
@@ -1,3 +1,9 @@
+2001-05-29  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * configure.in (gcc_version): Remove unrequired \ on ". (Solaris
+       /bin/sed fails on [^\"]).
+       (configargs.h): Likewise.
+
 2001-05-29  Hartmut Schirmer <SchirmerH@Innovative-Systems.de>
 
        * config/sh/sh.h (IDENT_ASM_OP): End with TAB, not LF.
index 8bcb8c9cbd96c2659c6dcf071c54aa1fb0020cec..d39c73a356b599c1c0432790febf84ce4775431c 100755 (executable)
@@ -5004,13 +5004,13 @@ if test "${with_gcc_version_trigger+set}" = set; then
 else
        gcc_version_trigger=${srcdir}/version.c
 fi
-gcc_version_full=`grep version_string ${gcc_version_trigger} | sed -e 's/.*\"\([^\"]*\)\".*/\1/'`
+gcc_version_full=`grep version_string ${gcc_version_trigger} | sed -e 's/.*"\([^"]*\)".*/\1/'`
 gcc_version=`echo ${gcc_version_full} | sed -e 's/\([^ ]*\) .*/\1/'`
 
 # Compile in configure arguments.
 if test -f configargs.h ; then
        # Being re-configured.
-       gcc_config_arguments=`grep configuration_arguments configargs.h | sed -e 's/.*\"\([^\"]*\)\".*/\1/'`
+       gcc_config_arguments=`grep configuration_arguments configargs.h | sed -e 's/.*"\([^"]*\)".*/\1/'`
        gcc_config_arguments="$gcc_config_arguments : (reconfigured) $TOPLEVEL_CONFIGURE_ARGUMENTS"
 else
        gcc_config_arguments="$TOPLEVEL_CONFIGURE_ARGUMENTS"
index 2db8388c8c68e1f8342706b02b603543ac70bca1..9924517f076a06f62a633a619e02456f6f8a48ad 100644 (file)
@@ -872,13 +872,13 @@ else
        gcc_version_trigger=${srcdir}/version.c
 fi
 changequote(,)dnl
-gcc_version_full=`grep version_string ${gcc_version_trigger} | sed -e 's/.*\"\([^\"]*\)\".*/\1/'`
+gcc_version_full=`grep version_string ${gcc_version_trigger} | sed -e 's/.*"\([^"]*\)".*/\1/'`
 gcc_version=`echo ${gcc_version_full} | sed -e 's/\([^ ]*\) .*/\1/'`
 
 # Compile in configure arguments.
 if test -f configargs.h ; then
        # Being re-configured.
-       gcc_config_arguments=`grep configuration_arguments configargs.h | sed -e 's/.*\"\([^\"]*\)\".*/\1/'`
+       gcc_config_arguments=`grep configuration_arguments configargs.h | sed -e 's/.*"\([^"]*\)".*/\1/'`
        gcc_config_arguments="$gcc_config_arguments : (reconfigured) $TOPLEVEL_CONFIGURE_ARGUMENTS"
 else
        gcc_config_arguments="$TOPLEVEL_CONFIGURE_ARGUMENTS"