From: Nathan Sidwell Date: Tue, 29 May 2001 15:16:24 +0000 (+0000) Subject: configure.in (gcc_version): Remove unrequired \ on ". X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=022dae817d1d2f731e3fcaa7b650319983aeea8b;p=gcc.git configure.in (gcc_version): Remove unrequired \ on ". * configure.in (gcc_version): Remove unrequired \ on ". (Solaris /bin/sed fails on [^\"]). (configargs.h): Likewise. From-SVN: r42689 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e48b2928adf..4e18c7dfc64 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2001-05-29 Nathan Sidwell + + * configure.in (gcc_version): Remove unrequired \ on ". (Solaris + /bin/sed fails on [^\"]). + (configargs.h): Likewise. + 2001-05-29 Hartmut Schirmer * config/sh/sh.h (IDENT_ASM_OP): End with TAB, not LF. diff --git a/gcc/configure b/gcc/configure index 8bcb8c9cbd9..d39c73a356b 100755 --- a/gcc/configure +++ b/gcc/configure @@ -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" diff --git a/gcc/configure.in b/gcc/configure.in index 2db8388c8c6..9924517f076 100644 --- a/gcc/configure.in +++ b/gcc/configure.in @@ -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"