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
commita4d8b6901f6d32faedf603a4b55236a488649447 (patch)
tree8bca306fdae4e624135399fa95c1dbddb38ab265 /config-ml.in
parent7c752c2afce59a751f6f86959fee5d61b33e484c (diff)
downloadbinutils-gdb-a4d8b6901f6d32faedf603a4b55236a488649447.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 ;;