This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Patch to config-ml.in from gcc version
- From: Fred Fish <fnf at specifix dot com>
- To: newlib at sources dot redhat dot com
- Date: Wed, 7 Jun 2006 21:40:06 -0400
- Subject: Patch to config-ml.in from gcc version
- Reply-to: fnf at specifix dot com
This patch from the gcc version of config-ml.in is needed to avoid
problems with newer versions of autoconf generated configure scripts.
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.
Index: newlib/config-ml.in
===================================================================
RCS file: /cvsroots/latest/src/newlib/config-ml.in,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 config-ml.in
--- newlib/config-ml.in 8 Oct 2005 19:45:10 -0000 1.1.1.1
+++ newlib/config-ml.in 28 May 2006 17:43:41 -0000
@@ -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 ;;