aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rwxr-xr-xconfigure10
-rw-r--r--configure.in10
3 files changed, 17 insertions, 10 deletions
diff --git a/ChangeLog b/ChangeLog
index fb1c7a9..ac29f91 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2003-01-16 Jakub Jelinek <jakub@redhat.com>
+
+ * configure.in (baseargs): Remove all supported forms of
+ --cache-file, --srcdir, --host, --build and --target options
+ from argument lists.
+ * configure: Rebuilt.
+
2003-01-15 Alexandre Oliva <aoliva@redhat.com>
* configure.in (noconfigdirs): Don't skip gas on IRIX 6.
diff --git a/configure b/configure
index 92473d7..b44d1a8 100755
--- a/configure
+++ b/configure
@@ -2452,11 +2452,11 @@ serialization_dependencies=serdep.tmp
# down to subconfigures.
baseargs=`echo " ${ac_configure_args} " | \
sed -e 's/ --no[^ ]* / /' \
- -e 's/ --cache[a-z-]*=[^ ]* / /' \
- -e 's/ --sr[a-z-]*=[^ ]* / /' \
- -e 's/ --ho[a-z-]*=[^ ]* / /' \
- -e 's/ --bu[a-z-]*=[^ ]* / /' \
- -e 's/ --ta[a-z-]*=[^ ]* / /' \
+ -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/ [^ -][^ ]* / /' \
-e 's/^ *//;s/ *$//'`
diff --git a/configure.in b/configure.in
index 27c2732..39554a5 100644
--- a/configure.in
+++ b/configure.in
@@ -1794,11 +1794,11 @@ AC_SUBST_FILE(serialization_dependencies)
# down to subconfigures.
baseargs=`echo " ${ac_configure_args} " | \
sed -e 's/ --no[[^ ]]* / /' \
- -e 's/ --cache[[a-z-]]*=[[^ ]]* / /' \
- -e 's/ --sr[[a-z-]]*=[[^ ]]* / /' \
- -e 's/ --ho[[a-z-]]*=[[^ ]]* / /' \
- -e 's/ --bu[[a-z-]]*=[[^ ]]* / /' \
- -e 's/ --ta[[a-z-]]*=[[^ ]]* / /' \
+ -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/ [[^ -][^ ]*] / /' \
-e 's/^ *//;s/ *$//'`