* configure.in (baseargs): Avoid using \| in sed regular
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 17 Jan 2003 08:02:23 +0000 (08:02 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 17 Jan 2003 08:02:23 +0000 (08:02 +0000)
expressions.
* configure: Rebuilt.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61431 138bc75d-0d04-0410-961f-82ee72b054a4

ChangeLog
configure
configure.in

index f645b20..056f0a3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2003-01-17  Jakub Jelinek  <jakub@redhat.com>
+
+       * configure.in (baseargs): Avoid using \| in sed regular
+       expressions.
+       * configure: Rebuilt.
+
 2003-01-16  Jakub Jelinek  <jakub@redhat.com>
 
        * configure.in (baseargs): Remove all supported forms of
index b44d1a8..0357978 100755 (executable)
--- a/configure
+++ b/configure
@@ -2452,11 +2452,16 @@ serialization_dependencies=serdep.tmp
 # down to subconfigures.
 baseargs=`echo " ${ac_configure_args} " | \
        sed -e 's/ --no[^ ]* / /' \
-           -e 's/ \(--c[a-z-]*\|-cache-file\)[= ][^ ]* / /' \
-           -e 's/ \(--sr[a-z-]*\|-srcdir\)[= ][^ ]* / /' \
-           -e 's/ \(--ho[a-z-]*\|-host\)[= ][^ ]* / /' \
-           -e 's/ \(--bu[a-z-]*\|-build\)[= ][^ ]* / /' \
-           -e 's/ \(--t[a-z-]*\|-target\)[= ][^ ]* / /' \
+           -e 's/ --c[a-z-]*[= ][^ ]* / /' \
+           -e 's/ --sr[a-z-]*[= ][^ ]* / /' \
+           -e 's/ --ho[a-z-]*[= ][^ ]* / /' \
+           -e 's/ --bu[a-z-]*[= ][^ ]* / /' \
+           -e 's/ --t[a-z-]*[= ][^ ]* / /' \
+           -e 's/ -cache-file[= ][^ ]* / /' \
+           -e 's/ -srcdir[= ][^ ]* / /' \
+           -e 's/ -host[= ][^ ]* / /' \
+           -e 's/ -build[= ][^ ]* / /' \
+           -e 's/ -target[= ][^ ]* / /' \
            -e 's/ [^ -][^ ]* / /' \
            -e 's/^ *//;s/ *$//'`
 
index 39554a5..47ea16f 100644 (file)
@@ -1794,11 +1794,16 @@ AC_SUBST_FILE(serialization_dependencies)
 # down to subconfigures.
 baseargs=`echo " ${ac_configure_args} " | \
        sed -e 's/ --no[[^ ]]* / /' \
-           -e 's/ \(--c[[a-z-]]*\|-cache-file\)[[= ]][[^ ]]* / /' \
-           -e 's/ \(--sr[[a-z-]]*\|-srcdir\)[[= ]][[^ ]]* / /' \
-           -e 's/ \(--ho[[a-z-]]*\|-host\)[[= ]][[^ ]]* / /' \
-           -e 's/ \(--bu[[a-z-]]*\|-build\)[[= ]][[^ ]]* / /' \
-           -e 's/ \(--t[[a-z-]]*\|-target\)[[= ]][[^ ]]* / /' \
+           -e 's/ --c[[a-z-]]*[[= ]][[^ ]]* / /' \
+           -e 's/ --sr[[a-z-]]*[[= ]][[^ ]]* / /' \
+           -e 's/ --ho[[a-z-]]*[[= ]][[^ ]]* / /' \
+           -e 's/ --bu[[a-z-]]*[[= ]][[^ ]]* / /' \
+           -e 's/ --t[[a-z-]]*[[= ]][[^ ]]* / /' \
+           -e 's/ -cache-file[[= ]][[^ ]]* / /' \
+           -e 's/ -srcdir[[= ]][[^ ]]* / /' \
+           -e 's/ -host[[= ]][[^ ]]* / /' \
+           -e 's/ -build[[= ]][[^ ]]* / /' \
+           -e 's/ -target[[= ]][[^ ]]* / /' \
            -e 's/ [[^ -][^ ]*] / /' \
            -e 's/^ *//;s/ *$//'`