summaryrefslogtreecommitdiff
path: root/config-ml.in
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2006-06-08 16:10:12 +0000
committerJeff Johnston <jjohnstn@redhat.com>2006-06-08 16:10:12 +0000
commitc327e828e89fe60c6024e683ec6b1f32791019e9 (patch)
tree485a851622ea5ce10427b3bef0a33516a2f818a7 /config-ml.in
parent6cd4984b880a8d788860f03ed810ea923c12795c (diff)
downloadgdb-c327e828e89fe60c6024e683ec6b1f32791019e9.tar.gz
2006-06-08 Jeff Johnston <jjohnstn@redhat.com>
Sync from gcc: 2005-01-12 David Edelsohn <edelsohn@gnu.org> Andreas Schwab <schwab@suse.de> PR bootstrap/18033 * config-ml.in: Eval option if surrounded by single quotes.
Diffstat (limited to 'config-ml.in')
-rw-r--r--config-ml.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/config-ml.in b/config-ml.in
index 4082fe45d3d..88c9e81f15a 100644
--- a/config-ml.in
+++ b/config-ml.in
@@ -108,6 +108,11 @@ ml_realsrcdir=${srcdir}
ml_verbose=--verbose
for option in ${ac_configure_args}
do
+ # strip single quotes surrounding individual options
+ case $option in
+ \'*\') eval option=$option ;;
+ esac
+
case $option in
--*) ;;
-*) option=-$option ;;