2007-04-23 Ralf Wildenhues <Ralf.Wildenhues <at> gmx.de>
* confsubdir.m4 (AC_CONFIG_SUBDIRS, _AC_OUTPUT_SUBDIRS): New
        file.  Override Autoconf-2.59's version of these macros with
        fixed handling of multiple adjacent whitespace in arguments.
        * aclocal.m4: Regenerated forcefully.
        * configure: Ditto.
        * Makefile.in: Ditto.
        * libc/*Makefile.in: Ditto.
        * libc/*aclocal.m4: Ditto.
        * libc/*configure: Ditto.
        * libm/*Makefile.in: Ditto.
        * libm/*aclocal.m4: Ditto.
        * libm/*configure: Ditto.
			
			
This commit is contained in:
		
							
								
								
									
										46
									
								
								newlib/configure
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										46
									
								
								newlib/configure
									
									
									
									
										vendored
									
									
								
							| @@ -6996,14 +6996,17 @@ if test "$no_create" != yes; then | ||||
| fi | ||||
|  | ||||
| # | ||||
| # CONFIG_SUBDIRS section. | ||||
| # CONFIG_SUBDIRS section, as fixed in confsubdir.m4. | ||||
| # | ||||
| if test "$no_recursion" != yes; then | ||||
|  | ||||
|   # Remove --cache-file and --srcdir arguments so they do not pile up. | ||||
|   ac_sub_configure_args= | ||||
|   ac_prev= | ||||
|   for ac_arg in $ac_configure_args; do | ||||
|   eval "set x $ac_configure_args" | ||||
|   shift | ||||
|   for ac_arg | ||||
|   do | ||||
|     if test -n "$ac_prev"; then | ||||
|       ac_prev= | ||||
|       continue | ||||
| @@ -7026,20 +7029,28 @@ if test "$no_recursion" != yes; then | ||||
|       ac_prev=prefix ;; | ||||
|     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) | ||||
|       ;; | ||||
|     *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;; | ||||
|     *) | ||||
|       case $ac_arg in | ||||
|       *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; | ||||
|       esac | ||||
|       ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;; | ||||
|     esac | ||||
|   done | ||||
|  | ||||
|   # Always prepend --prefix to ensure using the same prefix | ||||
|   # in subdir configurations. | ||||
|   ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args" | ||||
|   ac_arg="--prefix=$prefix" | ||||
|   case $ac_arg in | ||||
|   *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; | ||||
|   esac | ||||
|   ac_sub_configure_args="$ac_arg $ac_sub_configure_args" | ||||
|  | ||||
|   ac_popdir=`pwd` | ||||
|   for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue | ||||
|  | ||||
|     # Do not complain, so a configure script can configure whichever | ||||
|     # parts of a large source tree are present. | ||||
|     test -d $srcdir/$ac_dir || continue | ||||
|     test -d "$srcdir/$ac_dir" || continue | ||||
|  | ||||
|     { echo "$as_me:$LINENO: configuring in $ac_dir" >&5 | ||||
| echo "$as_me: configuring in $ac_dir" >&6;} | ||||
| @@ -7134,15 +7145,16 @@ case $ac_abs_builddir in | ||||
| esac | ||||
|  | ||||
|  | ||||
|     cd $ac_dir | ||||
|     cd "$ac_dir" | ||||
|  | ||||
|     # Check for guested configure; otherwise get Cygnus style configure. | ||||
|     if test -f $ac_srcdir/configure.gnu; then | ||||
|       ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'" | ||||
|     elif test -f $ac_srcdir/configure; then | ||||
|       ac_sub_configure="$SHELL '$ac_srcdir/configure'" | ||||
|     elif test -f $ac_srcdir/configure.in; then | ||||
|       ac_sub_configure=$ac_configure | ||||
|     if test -f "$ac_srcdir/configure.gnu"; then | ||||
|       ac_sub_configure=$ac_srcdir/configure.gnu | ||||
|     elif test -f "$ac_srcdir/configure"; then | ||||
|       ac_sub_configure=$ac_srcdir/configure | ||||
|     elif test -f "$ac_srcdir/configure.in"; then | ||||
|       # This should be Cygnus configure. | ||||
|       ac_sub_configure=$ac_aux_dir/configure | ||||
|     else | ||||
|       { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5 | ||||
| echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} | ||||
| @@ -7158,17 +7170,17 @@ echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} | ||||
| 	ac_sub_cache_file=$ac_top_builddir$cache_file ;; | ||||
|       esac | ||||
|  | ||||
|       { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5 | ||||
| echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} | ||||
|       { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5 | ||||
| echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} | ||||
|       # The eval makes quoting arguments work. | ||||
|       eval $ac_sub_configure $ac_sub_configure_args \ | ||||
| 	   --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir || | ||||
|       eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \ | ||||
| 	   --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" || | ||||
| 	{ { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5 | ||||
| echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;} | ||||
|    { (exit 1); exit 1; }; } | ||||
|     fi | ||||
|  | ||||
|     cd $ac_popdir | ||||
|     cd "$ac_popdir" | ||||
|   done | ||||
| fi | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user