Patch to config-ml.in from gcc version

Fred Fish fnf@specifix.com
Thu Jun 8 10:43:00 GMT 2006


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 ;;



More information about the Newlib mailing list