aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2003-01-17 09:02:23 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2003-01-17 09:02:23 +0100
commita94a2d4cfb44f7e2ec04c3471c00d4d7f80433c6 (patch)
treed4658900e6f71a8d1862e148fdb1fe4ef00755c6
parent011936178c1670d7298524cbd750a2bc6b14bb65 (diff)
downloadgcc-a94a2d4cfb44f7e2ec04c3471c00d4d7f80433c6.zip
gcc-a94a2d4cfb44f7e2ec04c3471c00d4d7f80433c6.tar.gz
gcc-a94a2d4cfb44f7e2ec04c3471c00d4d7f80433c6.tar.bz2
configure.in (baseargs): Avoid using \| in sed regular expressions.
* configure.in (baseargs): Avoid using \| in sed regular expressions. * configure: Rebuilt. From-SVN: r61431
-rw-r--r--ChangeLog6
-rwxr-xr-xconfigure15
-rw-r--r--configure.in15
3 files changed, 26 insertions, 10 deletions
diff --git a/ChangeLog b/ChangeLog
index f645b20..056f0a3 100644
--- 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
diff --git a/configure b/configure
index b44d1a8..0357978 100755
--- 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/ *$//'`
diff --git a/configure.in b/configure.in
index 39554a5..47ea16f 100644
--- a/configure.in
+++ b/configure.in
@@ -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/ *$//'`