This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Patch to config-ml.in from gcc version


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]