* Makefile.am (check-DEJAGNU): New target.
(site.exp): Likewise. * acinclude.m4 (NEWLIB_CONFIGURE): Replace AC_CANONICAL_HOST with AC_CANONICAL_SYSTEM. Remove AC_CANONICAL_BUILD. * libc/locale/locale.c (_setlocale_r): Add UTF-8 support. * libc/stdlib/mbtowc_r.c (_mbtowc_r): Likewise. * libc/stdlib/wctomb_r.c (_wctomb_r): Likewise. * testsuite: New directory. * testsuite/config: Likewise. * testsuite/lib: Likewise. * testsuite/newlib.locale: Likewise. * testsuite/newlib.string: Likewise. * testsuite/config/default.exp: New file. * testsuite/lib/checkoutput.exp: New file. * testsuite/lib/newlib.exp: New file. * testsuite/lib/passfail.exp: New file. * testsuite/newlib.locale/UTF-8.c: New file. * testsuite/newlib.locale/UTF-8.exp: New file. * testsuite/newlib.locale/locale.exp: New file. * testsuite/newlib.string/string.exp: New file. * testsuite/newlib.string/tstring.c: New file.
This commit is contained in:
		| @@ -1,3 +1,27 @@ | ||||
| 2002-04-24  Thomas Fitzsimmons  <fitzsim@redhat.com> | ||||
|  | ||||
| 	* Makefile.am (check-DEJAGNU): New target. | ||||
| 	(site.exp): Likewise. | ||||
| 	* acinclude.m4 (NEWLIB_CONFIGURE): Replace AC_CANONICAL_HOST | ||||
| 	with AC_CANONICAL_SYSTEM.  Remove AC_CANONICAL_BUILD. | ||||
| 	* libc/locale/locale.c (_setlocale_r): Add UTF-8 support. | ||||
| 	* libc/stdlib/mbtowc_r.c (_mbtowc_r): Likewise. | ||||
| 	* libc/stdlib/wctomb_r.c (_wctomb_r): Likewise. | ||||
| 	* testsuite: New directory. | ||||
| 	* testsuite/config: Likewise. | ||||
| 	* testsuite/lib: Likewise. | ||||
| 	* testsuite/newlib.locale: Likewise. | ||||
| 	* testsuite/newlib.string: Likewise. | ||||
| 	* testsuite/config/default.exp: New file. | ||||
| 	* testsuite/lib/checkoutput.exp: New file. | ||||
| 	* testsuite/lib/newlib.exp: New file. | ||||
| 	* testsuite/lib/passfail.exp: New file. | ||||
| 	* testsuite/newlib.locale/UTF-8.c: New file. | ||||
| 	* testsuite/newlib.locale/UTF-8.exp: New file. | ||||
| 	* testsuite/newlib.locale/locale.exp: New file. | ||||
| 	* testsuite/newlib.string/string.exp: New file. | ||||
| 	* testsuite/newlib.string/tstring.c: New file. | ||||
|  | ||||
| 2002-04-23  Jeff Johnston  <jjohnstn@redhat.com> | ||||
|  | ||||
|         *  libc/include/machine/types.h (__pid_t, __off_t, __loff_t): Added. | ||||
|   | ||||
| @@ -1,6 +1,6 @@ | ||||
| ## Process this file with automake to generate Makefile.in | ||||
|  | ||||
| AUTOMAKE_OPTIONS = cygnus | ||||
| AUTOMAKE_OPTIONS = cygnus dejagnu | ||||
|  | ||||
| # Multilib support variables. | ||||
| MULTISRCTOP = | ||||
| @@ -276,3 +276,67 @@ maintainer-clean-multi: | ||||
| 	$(MULTICLEAN) $(AM_MAKEFLAGS) DO=maintainer-clean multi-clean | ||||
|  | ||||
| MAKEOVERRIDES= | ||||
|  | ||||
| # dejagnu support | ||||
|  | ||||
| RUNTESTFLAGS= | ||||
|  | ||||
| site.exp: Makefile | ||||
| 	@echo 'Making a new site.exp file...' | ||||
| 	@test ! -f site.bak || rm -f site.bak | ||||
| 	@echo '## these variables are automatically generated by make ##' > $@-t | ||||
| 	@echo '# Do not edit here.  If you wish to override these values' >> $@-t | ||||
| 	@echo '# edit the last section' >> $@-t | ||||
| 	@echo 'set tool $(DEJATOOL)' >> $@-t | ||||
| 	@echo 'set tool_version $(VERSION)' >> $@-t | ||||
| 	@echo 'set srcdir $(srcdir)/testsuite' >> $@-t | ||||
| 	@echo 'set objdir' `pwd` >> $@-t | ||||
| 	@echo 'set newlib_cflags "$(NEWLIB_CFLAGS)"' >> $@-t | ||||
| 	@echo 'set build_alias $(build_alias)' >> $@-t | ||||
| 	@echo 'set build_triplet $(build_triplet)' >> $@-t | ||||
| 	@echo 'set host_alias $(host_alias)' >> $@-t | ||||
| 	@echo 'set host_triplet $(host_triplet)' >> $@-t | ||||
| 	@echo 'set target_alias $(host_alias)' >> $@-t | ||||
| 	@echo 'set target_triplet $(host_triplet)' >> $@-t | ||||
| 	@echo '## All variables above are generated by configure. Do Not Edit ##' >> $@-t | ||||
| 	@test ! -f site.exp || sed '1,/^## All variables above are.*##/ d' site.exp >> $@-t | ||||
| 	@test ! -f site.exp || mv site.exp site.bak | ||||
| 	@mv $@-t site.exp | ||||
|  | ||||
| check-DEJAGNU: site.exp | ||||
| 	@if [ -d testsuite ] ; then \ | ||||
| 	  true ; \ | ||||
| 	else \ | ||||
| 	  mkdir testsuite ; \ | ||||
| 	fi | ||||
| 	@rm -f testsuite/site.exp | ||||
| 	@cp site.exp testsuite/site.exp | ||||
| 	@rootme=`pwd` ; \ | ||||
| 	export rootme ; \ | ||||
| 	srcdir=`cd ${srcdir}; pwd` ; \ | ||||
| 	export srcdir ; \ | ||||
| 	EXPECT=`if [ -f $${rootme}/${MULTIBUILDTOP}../../expect/expect ] ; then \ | ||||
| 	          echo $${rootme}/${MULTIBUILDTOP}../../expect/expect ; \ | ||||
| 	        else \ | ||||
| 	          echo expect ; \ | ||||
| 	        fi` ; \ | ||||
| 	export EXPECT ; \ | ||||
| 	echo "Found expect: $${EXPECT}" ; \ | ||||
| 	if [ -f $(top_builddir)/$(MULTIBUILDTOP)../../expect/expect ] ; then \ | ||||
| 	  TCL_LIBRARY=`cd $(top_srcdir)/../tcl/library && pwd` ; \ | ||||
| 	  export TCL_LIBRARY ; \ | ||||
| 	  echo "Found TCL library directory: $${TCL_LIBRARY}" ; \ | ||||
| 	fi ; \ | ||||
| 	RUNTEST=`if [ -f $${srcdir}/../dejagnu/runtest ] ; then \ | ||||
| 	           echo $${srcdir}/../dejagnu/runtest ; \ | ||||
| 	         else \ | ||||
| 	           echo runtest ; \ | ||||
| 	         fi` ; \ | ||||
| 	export RUNTEST ; \ | ||||
| 	echo "Found runtest: $${RUNTEST}" ; \ | ||||
| 	cd testsuite ; \ | ||||
| 	if $(SHELL) -c "$$RUNTEST --version" > /dev/null 2>&1 ; then \ | ||||
| 	   $$RUNTEST --tool $(DEJATOOL) --srcdir $${srcdir}/testsuite $(RUNTESTFLAGS); \ | ||||
| 	else \ | ||||
| 	   echo "WARNING: could not find \`runtest'" 1>&2 ; \ | ||||
| 	fi | ||||
|   | ||||
| @@ -57,8 +57,12 @@ POST_INSTALL = : | ||||
| NORMAL_UNINSTALL = : | ||||
| PRE_UNINSTALL = : | ||||
| POST_UNINSTALL = : | ||||
| build_alias = @build_alias@ | ||||
| build_triplet = @build@ | ||||
| host_alias = @host_alias@ | ||||
| host_triplet = @host@ | ||||
| target_alias = @target_alias@ | ||||
| target_triplet = @target@ | ||||
| AR = @AR@ | ||||
| AS = @AS@ | ||||
| AWK = @AWK@ | ||||
| @@ -96,7 +100,7 @@ newlib_basedir = @newlib_basedir@ | ||||
| oext = @oext@ | ||||
| sys_dir = @sys_dir@ | ||||
|  | ||||
| AUTOMAKE_OPTIONS = cygnus | ||||
| AUTOMAKE_OPTIONS = cygnus dejagnu | ||||
|  | ||||
| # Multilib support variables. | ||||
| MULTISRCTOP =  | ||||
| @@ -224,6 +228,10 @@ CLEANFILES = targ-include stmp-targ-include | ||||
| CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host | ||||
|  | ||||
| MAKEOVERRIDES =  | ||||
|  | ||||
| # dejagnu support | ||||
|  | ||||
| RUNTESTFLAGS =  | ||||
| ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 | ||||
| mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs | ||||
| CONFIG_CLEAN_FILES =  | ||||
| @@ -261,6 +269,8 @@ DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) | ||||
| TAR = gtar | ||||
| GZIP_ENV = --best | ||||
| DIST_SUBDIRS =  libc libm doc . | ||||
| EXPECT = `if test -f $(top_builddir)/../expect/expect; then echo $(top_builddir)/../expect/expect; else echo expect; fi` | ||||
| RUNTEST = `if test -f $(top_srcdir)/../dejagnu/runtest; then echo $(top_srcdir)/../dejagnu/runtest; else echo runtest; fi` | ||||
| SOURCES = libm.a.c libc.a.c $(libm_la_SOURCES) $(libc_la_SOURCES) | ||||
| OBJECTS = libm.a.o libc.a.o $(libm_la_OBJECTS) $(libc_la_OBJECTS) | ||||
|  | ||||
| @@ -549,11 +559,16 @@ distdir: $(DISTFILES) | ||||
| 	      || exit 1; \ | ||||
| 	  fi; \ | ||||
| 	done | ||||
|  | ||||
| DEJATOOL = $(PACKAGE) | ||||
|  | ||||
| RUNTESTDEFAULTFLAGS = --tool $(DEJATOOL) --srcdir $$srcdir | ||||
| info-am: | ||||
| info: info-recursive | ||||
| dvi-am: | ||||
| dvi: dvi-recursive | ||||
| check-am: | ||||
| 	$(MAKE) $(AM_MAKEFLAGS) check-DEJAGNU | ||||
| check: check-recursive | ||||
| installcheck-am: | ||||
| installcheck: installcheck-recursive | ||||
| @@ -637,13 +652,13 @@ uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \ | ||||
| all-recursive check-recursive installcheck-recursive info-recursive \ | ||||
| dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \ | ||||
| maintainer-clean-recursive tags tags-recursive mostlyclean-tags \ | ||||
| distclean-tags clean-tags maintainer-clean-tags distdir info-am info \ | ||||
| dvi-am dvi check check-am installcheck-am installcheck install-info-am \ | ||||
| install-info install-exec-am install-exec install-data-local \ | ||||
| install-data-am install-data install-am install uninstall-am uninstall \ | ||||
| all-redirect all-am all installdirs-am installdirs mostlyclean-generic \ | ||||
| distclean-generic clean-generic maintainer-clean-generic clean \ | ||||
| mostlyclean distclean maintainer-clean | ||||
| distclean-tags clean-tags maintainer-clean-tags distdir check-DEJAGNU \ | ||||
| info-am info dvi-am dvi check check-am installcheck-am installcheck \ | ||||
| install-info-am install-info install-exec-am install-exec \ | ||||
| install-data-local install-data-am install-data install-am install \ | ||||
| uninstall-am uninstall all-redirect all-am all installdirs-am \ | ||||
| installdirs mostlyclean-generic distclean-generic clean-generic \ | ||||
| maintainer-clean-generic clean mostlyclean distclean maintainer-clean | ||||
|  | ||||
|  | ||||
| # objects listed later in LIBM_OBJECTLISTS will override those listed earlier | ||||
| @@ -778,6 +793,66 @@ distclean-multi: | ||||
| maintainer-clean-multi: | ||||
| 	$(MULTICLEAN) $(AM_MAKEFLAGS) DO=maintainer-clean multi-clean | ||||
|  | ||||
| site.exp: Makefile | ||||
| 	@echo 'Making a new site.exp file...' | ||||
| 	@test ! -f site.bak || rm -f site.bak | ||||
| 	@echo '## these variables are automatically generated by make ##' > $@-t | ||||
| 	@echo '# Do not edit here.  If you wish to override these values' >> $@-t | ||||
| 	@echo '# edit the last section' >> $@-t | ||||
| 	@echo 'set tool $(DEJATOOL)' >> $@-t | ||||
| 	@echo 'set tool_version $(VERSION)' >> $@-t | ||||
| 	@echo 'set srcdir $(srcdir)/testsuite' >> $@-t | ||||
| 	@echo 'set objdir' `pwd` >> $@-t | ||||
| 	@echo 'set newlib_cflags "$(NEWLIB_CFLAGS)"' >> $@-t | ||||
| 	@echo 'set build_alias $(build_alias)' >> $@-t | ||||
| 	@echo 'set build_triplet $(build_triplet)' >> $@-t | ||||
| 	@echo 'set host_alias $(host_alias)' >> $@-t | ||||
| 	@echo 'set host_triplet $(host_triplet)' >> $@-t | ||||
| 	@echo 'set target_alias $(host_alias)' >> $@-t | ||||
| 	@echo 'set target_triplet $(host_triplet)' >> $@-t | ||||
| 	@echo '## All variables above are generated by configure. Do Not Edit ##' >> $@-t | ||||
| 	@test ! -f site.exp || sed '1,/^## All variables above are.*##/ d' site.exp >> $@-t | ||||
| 	@test ! -f site.exp || mv site.exp site.bak | ||||
| 	@mv $@-t site.exp | ||||
|  | ||||
| check-DEJAGNU: site.exp | ||||
| 	@if [ -d testsuite ] ; then \ | ||||
| 	  true ; \ | ||||
| 	else \ | ||||
| 	  mkdir testsuite ; \ | ||||
| 	fi | ||||
| 	@rm -f testsuite/site.exp | ||||
| 	@cp site.exp testsuite/site.exp | ||||
| 	@rootme=`pwd` ; \ | ||||
| 	export rootme ; \ | ||||
| 	srcdir=`cd ${srcdir}; pwd` ; \ | ||||
| 	export srcdir ; \ | ||||
| 	EXPECT=`if [ -f $${rootme}/${MULTIBUILDTOP}../../expect/expect ] ; then \ | ||||
| 	          echo $${rootme}/${MULTIBUILDTOP}../../expect/expect ; \ | ||||
| 	        else \ | ||||
| 	          echo expect ; \ | ||||
| 	        fi` ; \ | ||||
| 	export EXPECT ; \ | ||||
| 	echo "Found expect: $${EXPECT}" ; \ | ||||
| 	if [ -f $(top_builddir)/$(MULTIBUILDTOP)../../expect/expect ] ; then \ | ||||
| 	  TCL_LIBRARY=`cd $(top_srcdir)/../tcl/library && pwd` ; \ | ||||
| 	  export TCL_LIBRARY ; \ | ||||
| 	  echo "Found TCL library directory: $${TCL_LIBRARY}" ; \ | ||||
| 	fi ; \ | ||||
| 	RUNTEST=`if [ -f $${srcdir}/../dejagnu/runtest ] ; then \ | ||||
| 	           echo $${srcdir}/../dejagnu/runtest ; \ | ||||
| 	         else \ | ||||
| 	           echo runtest ; \ | ||||
| 	         fi` ; \ | ||||
| 	export RUNTEST ; \ | ||||
| 	echo "Found runtest: $${RUNTEST}" ; \ | ||||
| 	cd testsuite ; \ | ||||
| 	if $(SHELL) -c "$$RUNTEST --version" > /dev/null 2>&1 ; then \ | ||||
| 	   $$RUNTEST --tool $(DEJATOOL) --srcdir $${srcdir}/testsuite $(RUNTESTFLAGS); \ | ||||
| 	else \ | ||||
| 	   echo "WARNING: could not find \`runtest'" 1>&2 ; \ | ||||
| 	fi | ||||
|  | ||||
| # Tell versions [3.59,3.63) of GNU make to not export all variables. | ||||
| # Otherwise a system limit (for SysV at least) may be exceeded. | ||||
| .NOEXPORT: | ||||
|   | ||||
| @@ -70,7 +70,7 @@ else | ||||
| fi | ||||
| AC_SUBST(newlib_basedir) | ||||
|  | ||||
| AC_CANONICAL_HOST | ||||
| AC_CANONICAL_SYSTEM | ||||
|  | ||||
| AM_INIT_AUTOMAKE(newlib, 1.10.0) | ||||
|  | ||||
| @@ -114,12 +114,6 @@ fi | ||||
|  | ||||
| LIB_AC_PROG_CC | ||||
|  | ||||
| # AC_CHECK_TOOL does AC_REQUIRE (AC_CANONICAL_BUILD).  If we don't | ||||
| # run it explicitly here, it will be run implicitly before | ||||
| # NEWLIB_CONFIGURE, which doesn't work because that means that it will | ||||
| # be run before AC_CANONICAL_HOST. | ||||
| AC_CANONICAL_BUILD | ||||
|  | ||||
| AC_CHECK_TOOL(AS, as) | ||||
| AC_CHECK_TOOL(AR, ar) | ||||
| AC_CHECK_TOOL(RANLIB, ranlib, :) | ||||
|   | ||||
							
								
								
									
										8
									
								
								newlib/aclocal.m4
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								newlib/aclocal.m4
									
									
									
									
										vendored
									
									
								
							| @@ -82,7 +82,7 @@ else | ||||
| fi | ||||
| AC_SUBST(newlib_basedir) | ||||
|  | ||||
| AC_CANONICAL_HOST | ||||
| AC_CANONICAL_SYSTEM | ||||
|  | ||||
| AM_INIT_AUTOMAKE(newlib, 1.10.0) | ||||
|  | ||||
| @@ -126,12 +126,6 @@ fi | ||||
|  | ||||
| LIB_AC_PROG_CC | ||||
|  | ||||
| # AC_CHECK_TOOL does AC_REQUIRE (AC_CANONICAL_BUILD).  If we don't | ||||
| # run it explicitly here, it will be run implicitly before | ||||
| # NEWLIB_CONFIGURE, which doesn't work because that means that it will | ||||
| # be run before AC_CANONICAL_HOST. | ||||
| AC_CANONICAL_BUILD | ||||
|  | ||||
| AC_CHECK_TOOL(AS, as) | ||||
| AC_CHECK_TOOL(AR, ar) | ||||
| AC_CHECK_TOOL(RANLIB, ranlib, :) | ||||
|   | ||||
							
								
								
									
										196
									
								
								newlib/configure
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										196
									
								
								newlib/configure
									
									
									
									
										vendored
									
									
								
							| @@ -871,13 +871,34 @@ fi | ||||
|  | ||||
|  | ||||
|  | ||||
| # Do some error checking and defaulting for the host and target type. | ||||
| # The inputs are: | ||||
| #    configure --host=HOST --target=TARGET --build=BUILD NONOPT | ||||
| # | ||||
| # The rules are: | ||||
| # 1. You are not allowed to specify --host, --target, and nonopt at the | ||||
| #    same time. | ||||
| # 2. Host defaults to nonopt. | ||||
| # 3. If nonopt is not specified, then host defaults to the current host, | ||||
| #    as determined by config.guess. | ||||
| # 4. Target and build default to nonopt. | ||||
| # 5. If nonopt is not specified, then target and build default to host. | ||||
|  | ||||
| # The aliases save the names the user supplied, while $host etc. | ||||
| # will get canonicalized. | ||||
| case $host---$target---$nonopt in | ||||
| NONE---*---* | *---NONE---* | *---*---NONE) ;; | ||||
| *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;; | ||||
| esac | ||||
|  | ||||
|  | ||||
| # Make sure we can run config.sub. | ||||
| if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then : | ||||
| else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking host system type""... $ac_c" 1>&6 | ||||
| echo "configure:881: checking host system type" >&5 | ||||
| echo "configure:902: checking host system type" >&5 | ||||
|  | ||||
| host_alias=$host | ||||
| case "$host_alias" in | ||||
| @@ -897,6 +918,47 @@ host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$host" 1>&6 | ||||
|  | ||||
| echo $ac_n "checking target system type""... $ac_c" 1>&6 | ||||
| echo "configure:923: checking target system type" >&5 | ||||
|  | ||||
| target_alias=$target | ||||
| case "$target_alias" in | ||||
| NONE) | ||||
|   case $nonopt in | ||||
|   NONE) target_alias=$host_alias ;; | ||||
|   *) target_alias=$nonopt ;; | ||||
|   esac ;; | ||||
| esac | ||||
|  | ||||
| target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias` | ||||
| target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||||
| target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$target" 1>&6 | ||||
|  | ||||
| echo $ac_n "checking build system type""... $ac_c" 1>&6 | ||||
| echo "configure:941: checking build system type" >&5 | ||||
|  | ||||
| build_alias=$build | ||||
| case "$build_alias" in | ||||
| NONE) | ||||
|   case $nonopt in | ||||
|   NONE) build_alias=$host_alias ;; | ||||
|   *) build_alias=$nonopt ;; | ||||
|   esac ;; | ||||
| esac | ||||
|  | ||||
| build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias` | ||||
| build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||||
| build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$build" 1>&6 | ||||
|  | ||||
| test "$host_alias" != "$target_alias" && | ||||
|   test "$program_prefix$program_suffix$program_transform_name" = \ | ||||
|     NONENONEs,x,x, && | ||||
|   program_prefix=${target_alias}- | ||||
|  | ||||
|  | ||||
|  | ||||
| PACKAGE=newlib | ||||
| @@ -918,7 +980,7 @@ EOF | ||||
|  | ||||
| missing_dir=`cd $ac_aux_dir && pwd` | ||||
| echo $ac_n "checking for working aclocal""... $ac_c" 1>&6 | ||||
| echo "configure:922: checking for working aclocal" >&5 | ||||
| echo "configure:984: checking for working aclocal" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -931,7 +993,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 | ||||
| echo "configure:935: checking for working autoconf" >&5 | ||||
| echo "configure:997: checking for working autoconf" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -944,7 +1006,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working automake""... $ac_c" 1>&6 | ||||
| echo "configure:948: checking for working automake" >&5 | ||||
| echo "configure:1010: checking for working automake" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -957,7 +1019,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 | ||||
| echo "configure:961: checking for working autoheader" >&5 | ||||
| echo "configure:1023: checking for working autoheader" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -970,7 +1032,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 | ||||
| echo "configure:974: checking for working makeinfo" >&5 | ||||
| echo "configure:1036: checking for working makeinfo" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -995,7 +1057,7 @@ fi | ||||
| # Extract the first word of "gcc", so it can be a program name with args. | ||||
| set dummy gcc; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:999: checking for $ac_word" >&5 | ||||
| echo "configure:1061: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1025,7 +1087,7 @@ if test -z "$CC"; then | ||||
|   # Extract the first word of "cc", so it can be a program name with args. | ||||
| set dummy cc; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1029: checking for $ac_word" >&5 | ||||
| echo "configure:1091: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1074,7 +1136,7 @@ fi | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | ||||
| echo "configure:1078: checking whether we are using GNU C" >&5 | ||||
| echo "configure:1140: checking whether we are using GNU C" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1083,7 +1145,7 @@ else | ||||
|   yes; | ||||
| #endif | ||||
| EOF | ||||
| if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1087: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | ||||
| if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1149: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | ||||
|   ac_cv_prog_gcc=yes | ||||
| else | ||||
|   ac_cv_prog_gcc=no | ||||
| @@ -1098,7 +1160,7 @@ if test $ac_cv_prog_gcc = yes; then | ||||
|   ac_save_CFLAGS="$CFLAGS" | ||||
|   CFLAGS= | ||||
|   echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | ||||
| echo "configure:1102: checking whether ${CC-cc} accepts -g" >&5 | ||||
| echo "configure:1164: checking whether ${CC-cc} accepts -g" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1126,33 +1188,10 @@ else | ||||
| fi | ||||
|  | ||||
|  | ||||
| # AC_CHECK_TOOL does AC_REQUIRE (AC_CANONICAL_BUILD).  If we don't | ||||
| # run it explicitly here, it will be run implicitly before | ||||
| # NEWLIB_CONFIGURE, which doesn't work because that means that it will | ||||
| # be run before AC_CANONICAL_HOST. | ||||
| echo $ac_n "checking build system type""... $ac_c" 1>&6 | ||||
| echo "configure:1135: checking build system type" >&5 | ||||
|  | ||||
| build_alias=$build | ||||
| case "$build_alias" in | ||||
| NONE) | ||||
|   case $nonopt in | ||||
|   NONE) build_alias=$host_alias ;; | ||||
|   *) build_alias=$nonopt ;; | ||||
|   esac ;; | ||||
| esac | ||||
|  | ||||
| build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias` | ||||
| build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||||
| build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$build" 1>&6 | ||||
|  | ||||
|  | ||||
| # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}as; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1156: checking for $ac_word" >&5 | ||||
| echo "configure:1195: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1184,7 +1223,7 @@ fi | ||||
| # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}ar; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1188: checking for $ac_word" >&5 | ||||
| echo "configure:1227: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1216,7 +1255,7 @@ fi | ||||
| # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}ranlib; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1220: checking for $ac_word" >&5 | ||||
| echo "configure:1259: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1248,7 +1287,7 @@ if test -n "$ac_tool_prefix"; then | ||||
|   # Extract the first word of "ranlib", so it can be a program name with args. | ||||
| set dummy ranlib; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1252: checking for $ac_word" >&5 | ||||
| echo "configure:1291: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1293,7 +1332,7 @@ fi | ||||
| # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | ||||
| # ./install, which can be erroneously created by make from ./install.sh. | ||||
| echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | ||||
| echo "configure:1297: checking for a BSD compatible install" >&5 | ||||
| echo "configure:1336: checking for a BSD compatible install" >&5 | ||||
| if test -z "$INSTALL"; then | ||||
| if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| @@ -1347,7 +1386,7 @@ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | ||||
|  | ||||
|  | ||||
| echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6 | ||||
| echo "configure:1351: checking whether to enable maintainer-specific portions of Makefiles" >&5 | ||||
| echo "configure:1390: checking whether to enable maintainer-specific portions of Makefiles" >&5 | ||||
|     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. | ||||
| if test "${enable_maintainer_mode+set}" = set; then | ||||
|   enableval="$enable_maintainer_mode" | ||||
| @@ -1381,7 +1420,7 @@ if false; then | ||||
|    | ||||
|  | ||||
| echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 | ||||
| echo "configure:1385: checking for executable suffix" >&5 | ||||
| echo "configure:1424: checking for executable suffix" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1391,7 +1430,7 @@ else | ||||
|   rm -f conftest* | ||||
|   echo 'int main () { return 0; }' > conftest.$ac_ext | ||||
|   ac_cv_exeext= | ||||
|   if { (eval echo configure:1395: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then | ||||
|   if { (eval echo configure:1434: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then | ||||
|     for file in conftest.*; do | ||||
|       case $file in | ||||
|       *.c | *.o | *.obj | *.ilk | *.pdb) ;; | ||||
| @@ -1514,7 +1553,7 @@ fi | ||||
| # Extract the first word of "ranlib", so it can be a program name with args. | ||||
| set dummy ranlib; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1518: checking for $ac_word" >&5 | ||||
| echo "configure:1557: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1544,7 +1583,7 @@ fi | ||||
| # Extract the first word of "gcc", so it can be a program name with args. | ||||
| set dummy gcc; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1548: checking for $ac_word" >&5 | ||||
| echo "configure:1587: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1574,7 +1613,7 @@ if test -z "$CC"; then | ||||
|   # Extract the first word of "cc", so it can be a program name with args. | ||||
| set dummy cc; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1578: checking for $ac_word" >&5 | ||||
| echo "configure:1617: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1625,7 +1664,7 @@ fi | ||||
|       # Extract the first word of "cl", so it can be a program name with args. | ||||
| set dummy cl; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1629: checking for $ac_word" >&5 | ||||
| echo "configure:1668: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1657,7 +1696,7 @@ fi | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | ||||
| echo "configure:1661: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | ||||
| echo "configure:1700: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | ||||
|  | ||||
| ac_ext=c | ||||
| # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. | ||||
| @@ -1668,12 +1707,12 @@ cross_compiling=$ac_cv_prog_cc_cross | ||||
|  | ||||
| cat > conftest.$ac_ext << EOF | ||||
|  | ||||
| #line 1672 "configure" | ||||
| #line 1711 "configure" | ||||
| #include "confdefs.h" | ||||
|  | ||||
| main(){return(0);} | ||||
| EOF | ||||
| if { (eval echo configure:1677: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | ||||
| if { (eval echo configure:1716: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | ||||
|   ac_cv_prog_cc_works=yes | ||||
|   # If we can't run a trivial program, we are probably using a cross compiler. | ||||
|   if (./conftest; exit) 2>/dev/null; then | ||||
| @@ -1699,12 +1738,12 @@ if test $ac_cv_prog_cc_works = no; then | ||||
|   { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | ||||
| fi | ||||
| echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | ||||
| echo "configure:1703: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | ||||
| echo "configure:1742: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | ||||
| echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | ||||
| cross_compiling=$ac_cv_prog_cc_cross | ||||
|  | ||||
| echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | ||||
| echo "configure:1708: checking whether we are using GNU C" >&5 | ||||
| echo "configure:1747: checking whether we are using GNU C" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1713,7 +1752,7 @@ else | ||||
|   yes; | ||||
| #endif | ||||
| EOF | ||||
| if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1717: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | ||||
| if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1756: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | ||||
|   ac_cv_prog_gcc=yes | ||||
| else | ||||
|   ac_cv_prog_gcc=no | ||||
| @@ -1732,7 +1771,7 @@ ac_test_CFLAGS="${CFLAGS+set}" | ||||
| ac_save_CFLAGS="$CFLAGS" | ||||
| CFLAGS= | ||||
| echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | ||||
| echo "configure:1736: checking whether ${CC-cc} accepts -g" >&5 | ||||
| echo "configure:1775: checking whether ${CC-cc} accepts -g" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1775,7 +1814,7 @@ ac_prog=ld | ||||
| if test "$ac_cv_prog_gcc" = yes; then | ||||
|   # Check if gcc -print-prog-name=ld gives a path. | ||||
|   echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 | ||||
| echo "configure:1779: checking for ld used by GCC" >&5 | ||||
| echo "configure:1818: checking for ld used by GCC" >&5 | ||||
|   ac_prog=`($CC -print-prog-name=ld) 2>&5` | ||||
|   case "$ac_prog" in | ||||
|     # Accept absolute paths. | ||||
| @@ -1799,10 +1838,10 @@ echo "configure:1779: checking for ld used by GCC" >&5 | ||||
|   esac | ||||
| elif test "$with_gnu_ld" = yes; then | ||||
|   echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 | ||||
| echo "configure:1803: checking for GNU ld" >&5 | ||||
| echo "configure:1842: checking for GNU ld" >&5 | ||||
| else | ||||
|   echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6 | ||||
| echo "configure:1806: checking for non-GNU ld" >&5 | ||||
| echo "configure:1845: checking for non-GNU ld" >&5 | ||||
| fi | ||||
| if eval "test \"`echo '$''{'ac_cv_path_LD'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| @@ -1837,7 +1876,7 @@ else | ||||
| fi | ||||
| test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; } | ||||
| echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6 | ||||
| echo "configure:1841: checking if the linker ($LD) is GNU ld" >&5 | ||||
| echo "configure:1880: checking if the linker ($LD) is GNU ld" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_gnu_ld'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1853,7 +1892,7 @@ echo "$ac_t""$ac_cv_prog_gnu_ld" 1>&6 | ||||
|  | ||||
|  | ||||
| echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6 | ||||
| echo "configure:1857: checking for BSD-compatible nm" >&5 | ||||
| echo "configure:1896: checking for BSD-compatible nm" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_path_NM'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1889,7 +1928,7 @@ NM="$ac_cv_path_NM" | ||||
| echo "$ac_t""$NM" 1>&6 | ||||
|  | ||||
| echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 | ||||
| echo "configure:1893: checking whether ln -s works" >&5 | ||||
| echo "configure:1932: checking whether ln -s works" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1933,8 +1972,8 @@ test x"$silent" = xyes && libtool_flags="$libtool_flags --silent" | ||||
| case "$host" in | ||||
| *-*-irix6*) | ||||
|   # Find out which ABI we are using. | ||||
|   echo '#line 1937 "configure"' > conftest.$ac_ext | ||||
|   if { (eval echo configure:1938: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | ||||
|   echo '#line 1976 "configure"' > conftest.$ac_ext | ||||
|   if { (eval echo configure:1977: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | ||||
|     case "`/usr/bin/file conftest.o`" in | ||||
|     *32-bit*) | ||||
|       LD="${LD-ld} -32" | ||||
| @@ -1955,19 +1994,19 @@ case "$host" in | ||||
|   SAVE_CFLAGS="$CFLAGS" | ||||
|   CFLAGS="$CFLAGS -belf" | ||||
|   echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6 | ||||
| echo "configure:1959: checking whether the C compiler needs -belf" >&5 | ||||
| echo "configure:1998: checking whether the C compiler needs -belf" >&5 | ||||
| if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
|   cat > conftest.$ac_ext <<EOF | ||||
| #line 1964 "configure" | ||||
| #line 2003 "configure" | ||||
| #include "confdefs.h" | ||||
|  | ||||
| int main() { | ||||
|  | ||||
| ; return 0; } | ||||
| EOF | ||||
| if { (eval echo configure:1971: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | ||||
| if { (eval echo configure:2010: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | ||||
|   rm -rf conftest* | ||||
|   lt_cv_cc_needs_belf=yes | ||||
| else | ||||
| @@ -1990,7 +2029,7 @@ echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6 | ||||
|   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}dlltool; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1994: checking for $ac_word" >&5 | ||||
| echo "configure:2033: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -2022,7 +2061,7 @@ if test -n "$ac_tool_prefix"; then | ||||
|   # Extract the first word of "dlltool", so it can be a program name with args. | ||||
| set dummy dlltool; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:2026: checking for $ac_word" >&5 | ||||
| echo "configure:2065: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -2057,7 +2096,7 @@ fi | ||||
|   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}as; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:2061: checking for $ac_word" >&5 | ||||
| echo "configure:2100: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -2089,7 +2128,7 @@ if test -n "$ac_tool_prefix"; then | ||||
|   # Extract the first word of "as", so it can be a program name with args. | ||||
| set dummy as; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:2093: checking for $ac_word" >&5 | ||||
| echo "configure:2132: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -2124,7 +2163,7 @@ fi | ||||
|   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}objdump; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:2128: checking for $ac_word" >&5 | ||||
| echo "configure:2167: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_OBJDUMP'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -2156,7 +2195,7 @@ if test -n "$ac_tool_prefix"; then | ||||
|   # Extract the first word of "objdump", so it can be a program name with args. | ||||
| set dummy objdump; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:2160: checking for $ac_word" >&5 | ||||
| echo "configure:2199: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_OBJDUMP'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -2276,7 +2315,7 @@ do | ||||
| # Extract the first word of "$ac_prog", so it can be a program name with args. | ||||
| set dummy $ac_prog; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:2280: checking for $ac_word" >&5 | ||||
| echo "configure:2319: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -2575,6 +2614,16 @@ s%@host_alias@%$host_alias%g | ||||
| s%@host_cpu@%$host_cpu%g | ||||
| s%@host_vendor@%$host_vendor%g | ||||
| s%@host_os@%$host_os%g | ||||
| s%@target@%$target%g | ||||
| s%@target_alias@%$target_alias%g | ||||
| s%@target_cpu@%$target_cpu%g | ||||
| s%@target_vendor@%$target_vendor%g | ||||
| s%@target_os@%$target_os%g | ||||
| s%@build@%$build%g | ||||
| s%@build_alias@%$build_alias%g | ||||
| s%@build_cpu@%$build_cpu%g | ||||
| s%@build_vendor@%$build_vendor%g | ||||
| s%@build_os@%$build_os%g | ||||
| s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g | ||||
| s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g | ||||
| s%@INSTALL_DATA@%$INSTALL_DATA%g | ||||
| @@ -2587,11 +2636,6 @@ s%@AUTOHEADER@%$AUTOHEADER%g | ||||
| s%@MAKEINFO@%$MAKEINFO%g | ||||
| s%@SET_MAKE@%$SET_MAKE%g | ||||
| s%@CC@%$CC%g | ||||
| s%@build@%$build%g | ||||
| s%@build_alias@%$build_alias%g | ||||
| s%@build_cpu@%$build_cpu%g | ||||
| s%@build_vendor@%$build_vendor%g | ||||
| s%@build_os@%$build_os%g | ||||
| s%@AS@%$AS%g | ||||
| s%@AR@%$AR%g | ||||
| s%@RANLIB@%$RANLIB%g | ||||
|   | ||||
| @@ -57,8 +57,12 @@ POST_INSTALL = : | ||||
| NORMAL_UNINSTALL = : | ||||
| PRE_UNINSTALL = : | ||||
| POST_UNINSTALL = : | ||||
| build_alias = @build_alias@ | ||||
| build_triplet = @build@ | ||||
| host_alias = @host_alias@ | ||||
| host_triplet = @host@ | ||||
| target_alias = @target_alias@ | ||||
| target_triplet = @target@ | ||||
| AR = @AR@ | ||||
| AS = @AS@ | ||||
| CC = @CC@ | ||||
|   | ||||
							
								
								
									
										8
									
								
								newlib/doc/aclocal.m4
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								newlib/doc/aclocal.m4
									
									
									
									
										vendored
									
									
								
							| @@ -82,7 +82,7 @@ else | ||||
| fi | ||||
| AC_SUBST(newlib_basedir) | ||||
|  | ||||
| AC_CANONICAL_HOST | ||||
| AC_CANONICAL_SYSTEM | ||||
|  | ||||
| AM_INIT_AUTOMAKE(newlib, 1.10.0) | ||||
|  | ||||
| @@ -126,12 +126,6 @@ fi | ||||
|  | ||||
| LIB_AC_PROG_CC | ||||
|  | ||||
| # AC_CHECK_TOOL does AC_REQUIRE (AC_CANONICAL_BUILD).  If we don't | ||||
| # run it explicitly here, it will be run implicitly before | ||||
| # NEWLIB_CONFIGURE, which doesn't work because that means that it will | ||||
| # be run before AC_CANONICAL_HOST. | ||||
| AC_CANONICAL_BUILD | ||||
|  | ||||
| AC_CHECK_TOOL(AS, as) | ||||
| AC_CHECK_TOOL(AR, ar) | ||||
| AC_CHECK_TOOL(RANLIB, ranlib, :) | ||||
|   | ||||
							
								
								
									
										140
									
								
								newlib/doc/configure
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										140
									
								
								newlib/doc/configure
									
									
									
									
										vendored
									
									
								
							| @@ -859,13 +859,34 @@ fi | ||||
|  | ||||
|  | ||||
|  | ||||
| # Do some error checking and defaulting for the host and target type. | ||||
| # The inputs are: | ||||
| #    configure --host=HOST --target=TARGET --build=BUILD NONOPT | ||||
| # | ||||
| # The rules are: | ||||
| # 1. You are not allowed to specify --host, --target, and nonopt at the | ||||
| #    same time. | ||||
| # 2. Host defaults to nonopt. | ||||
| # 3. If nonopt is not specified, then host defaults to the current host, | ||||
| #    as determined by config.guess. | ||||
| # 4. Target and build default to nonopt. | ||||
| # 5. If nonopt is not specified, then target and build default to host. | ||||
|  | ||||
| # The aliases save the names the user supplied, while $host etc. | ||||
| # will get canonicalized. | ||||
| case $host---$target---$nonopt in | ||||
| NONE---*---* | *---NONE---* | *---*---NONE) ;; | ||||
| *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;; | ||||
| esac | ||||
|  | ||||
|  | ||||
| # Make sure we can run config.sub. | ||||
| if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then : | ||||
| else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking host system type""... $ac_c" 1>&6 | ||||
| echo "configure:869: checking host system type" >&5 | ||||
| echo "configure:890: checking host system type" >&5 | ||||
|  | ||||
| host_alias=$host | ||||
| case "$host_alias" in | ||||
| @@ -885,6 +906,47 @@ host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$host" 1>&6 | ||||
|  | ||||
| echo $ac_n "checking target system type""... $ac_c" 1>&6 | ||||
| echo "configure:911: checking target system type" >&5 | ||||
|  | ||||
| target_alias=$target | ||||
| case "$target_alias" in | ||||
| NONE) | ||||
|   case $nonopt in | ||||
|   NONE) target_alias=$host_alias ;; | ||||
|   *) target_alias=$nonopt ;; | ||||
|   esac ;; | ||||
| esac | ||||
|  | ||||
| target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias` | ||||
| target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||||
| target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$target" 1>&6 | ||||
|  | ||||
| echo $ac_n "checking build system type""... $ac_c" 1>&6 | ||||
| echo "configure:929: checking build system type" >&5 | ||||
|  | ||||
| build_alias=$build | ||||
| case "$build_alias" in | ||||
| NONE) | ||||
|   case $nonopt in | ||||
|   NONE) build_alias=$host_alias ;; | ||||
|   *) build_alias=$nonopt ;; | ||||
|   esac ;; | ||||
| esac | ||||
|  | ||||
| build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias` | ||||
| build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||||
| build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$build" 1>&6 | ||||
|  | ||||
| test "$host_alias" != "$target_alias" && | ||||
|   test "$program_prefix$program_suffix$program_transform_name" = \ | ||||
|     NONENONEs,x,x, && | ||||
|   program_prefix=${target_alias}- | ||||
|  | ||||
|  | ||||
|  | ||||
| PACKAGE=newlib | ||||
| @@ -906,7 +968,7 @@ EOF | ||||
|  | ||||
| missing_dir=`cd $ac_aux_dir && pwd` | ||||
| echo $ac_n "checking for working aclocal""... $ac_c" 1>&6 | ||||
| echo "configure:910: checking for working aclocal" >&5 | ||||
| echo "configure:972: checking for working aclocal" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -919,7 +981,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 | ||||
| echo "configure:923: checking for working autoconf" >&5 | ||||
| echo "configure:985: checking for working autoconf" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -932,7 +994,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working automake""... $ac_c" 1>&6 | ||||
| echo "configure:936: checking for working automake" >&5 | ||||
| echo "configure:998: checking for working automake" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -945,7 +1007,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 | ||||
| echo "configure:949: checking for working autoheader" >&5 | ||||
| echo "configure:1011: checking for working autoheader" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -958,7 +1020,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 | ||||
| echo "configure:962: checking for working makeinfo" >&5 | ||||
| echo "configure:1024: checking for working makeinfo" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -983,7 +1045,7 @@ fi | ||||
| # Extract the first word of "gcc", so it can be a program name with args. | ||||
| set dummy gcc; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:987: checking for $ac_word" >&5 | ||||
| echo "configure:1049: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1013,7 +1075,7 @@ if test -z "$CC"; then | ||||
|   # Extract the first word of "cc", so it can be a program name with args. | ||||
| set dummy cc; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1017: checking for $ac_word" >&5 | ||||
| echo "configure:1079: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1062,7 +1124,7 @@ fi | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | ||||
| echo "configure:1066: checking whether we are using GNU C" >&5 | ||||
| echo "configure:1128: checking whether we are using GNU C" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1071,7 +1133,7 @@ else | ||||
|   yes; | ||||
| #endif | ||||
| EOF | ||||
| if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1075: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | ||||
| if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1137: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | ||||
|   ac_cv_prog_gcc=yes | ||||
| else | ||||
|   ac_cv_prog_gcc=no | ||||
| @@ -1086,7 +1148,7 @@ if test $ac_cv_prog_gcc = yes; then | ||||
|   ac_save_CFLAGS="$CFLAGS" | ||||
|   CFLAGS= | ||||
|   echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | ||||
| echo "configure:1090: checking whether ${CC-cc} accepts -g" >&5 | ||||
| echo "configure:1152: checking whether ${CC-cc} accepts -g" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1114,33 +1176,10 @@ else | ||||
| fi | ||||
|  | ||||
|  | ||||
| # AC_CHECK_TOOL does AC_REQUIRE (AC_CANONICAL_BUILD).  If we don't | ||||
| # run it explicitly here, it will be run implicitly before | ||||
| # NEWLIB_CONFIGURE, which doesn't work because that means that it will | ||||
| # be run before AC_CANONICAL_HOST. | ||||
| echo $ac_n "checking build system type""... $ac_c" 1>&6 | ||||
| echo "configure:1123: checking build system type" >&5 | ||||
|  | ||||
| build_alias=$build | ||||
| case "$build_alias" in | ||||
| NONE) | ||||
|   case $nonopt in | ||||
|   NONE) build_alias=$host_alias ;; | ||||
|   *) build_alias=$nonopt ;; | ||||
|   esac ;; | ||||
| esac | ||||
|  | ||||
| build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias` | ||||
| build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||||
| build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$build" 1>&6 | ||||
|  | ||||
|  | ||||
| # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}as; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1144: checking for $ac_word" >&5 | ||||
| echo "configure:1183: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1172,7 +1211,7 @@ fi | ||||
| # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}ar; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1176: checking for $ac_word" >&5 | ||||
| echo "configure:1215: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1204,7 +1243,7 @@ fi | ||||
| # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}ranlib; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1208: checking for $ac_word" >&5 | ||||
| echo "configure:1247: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1236,7 +1275,7 @@ if test -n "$ac_tool_prefix"; then | ||||
|   # Extract the first word of "ranlib", so it can be a program name with args. | ||||
| set dummy ranlib; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1240: checking for $ac_word" >&5 | ||||
| echo "configure:1279: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1281,7 +1320,7 @@ fi | ||||
| # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | ||||
| # ./install, which can be erroneously created by make from ./install.sh. | ||||
| echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | ||||
| echo "configure:1285: checking for a BSD compatible install" >&5 | ||||
| echo "configure:1324: checking for a BSD compatible install" >&5 | ||||
| if test -z "$INSTALL"; then | ||||
| if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| @@ -1335,7 +1374,7 @@ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | ||||
|  | ||||
|  | ||||
| echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6 | ||||
| echo "configure:1339: checking whether to enable maintainer-specific portions of Makefiles" >&5 | ||||
| echo "configure:1378: checking whether to enable maintainer-specific portions of Makefiles" >&5 | ||||
|     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. | ||||
| if test "${enable_maintainer_mode+set}" = set; then | ||||
|   enableval="$enable_maintainer_mode" | ||||
| @@ -1369,7 +1408,7 @@ if false; then | ||||
|    | ||||
|  | ||||
| echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 | ||||
| echo "configure:1373: checking for executable suffix" >&5 | ||||
| echo "configure:1412: checking for executable suffix" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1379,7 +1418,7 @@ else | ||||
|   rm -f conftest* | ||||
|   echo 'int main () { return 0; }' > conftest.$ac_ext | ||||
|   ac_cv_exeext= | ||||
|   if { (eval echo configure:1383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then | ||||
|   if { (eval echo configure:1422: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then | ||||
|     for file in conftest.*; do | ||||
|       case $file in | ||||
|       *.c | *.o | *.obj | *.ilk | *.pdb) ;; | ||||
| @@ -1443,7 +1482,7 @@ if test "x$cross_compiling" = "xno"; then | ||||
|   EXEEXT_FOR_BUILD='$(EXEEXT)' | ||||
| else | ||||
|   echo $ac_n "checking for build system executable suffix""... $ac_c" 1>&6 | ||||
| echo "configure:1447: checking for build system executable suffix" >&5 | ||||
| echo "configure:1486: checking for build system executable suffix" >&5 | ||||
| if eval "test \"`echo '$''{'newlib_cv_build_exeext'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1615,6 +1654,16 @@ s%@host_alias@%$host_alias%g | ||||
| s%@host_cpu@%$host_cpu%g | ||||
| s%@host_vendor@%$host_vendor%g | ||||
| s%@host_os@%$host_os%g | ||||
| s%@target@%$target%g | ||||
| s%@target_alias@%$target_alias%g | ||||
| s%@target_cpu@%$target_cpu%g | ||||
| s%@target_vendor@%$target_vendor%g | ||||
| s%@target_os@%$target_os%g | ||||
| s%@build@%$build%g | ||||
| s%@build_alias@%$build_alias%g | ||||
| s%@build_cpu@%$build_cpu%g | ||||
| s%@build_vendor@%$build_vendor%g | ||||
| s%@build_os@%$build_os%g | ||||
| s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g | ||||
| s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g | ||||
| s%@INSTALL_DATA@%$INSTALL_DATA%g | ||||
| @@ -1627,11 +1676,6 @@ s%@AUTOHEADER@%$AUTOHEADER%g | ||||
| s%@MAKEINFO@%$MAKEINFO%g | ||||
| s%@SET_MAKE@%$SET_MAKE%g | ||||
| s%@CC@%$CC%g | ||||
| s%@build@%$build%g | ||||
| s%@build_alias@%$build_alias%g | ||||
| s%@build_cpu@%$build_cpu%g | ||||
| s%@build_vendor@%$build_vendor%g | ||||
| s%@build_os@%$build_os%g | ||||
| s%@AS@%$AS%g | ||||
| s%@AR@%$AR%g | ||||
| s%@RANLIB@%$RANLIB%g | ||||
|   | ||||
| @@ -57,8 +57,12 @@ POST_INSTALL = : | ||||
| NORMAL_UNINSTALL = : | ||||
| PRE_UNINSTALL = : | ||||
| POST_UNINSTALL = : | ||||
| build_alias = @build_alias@ | ||||
| build_triplet = @build@ | ||||
| host_alias = @host_alias@ | ||||
| host_triplet = @host@ | ||||
| target_alias = @target_alias@ | ||||
| target_triplet = @target@ | ||||
| AR = @AR@ | ||||
| AS = @AS@ | ||||
| CC = @CC@ | ||||
|   | ||||
							
								
								
									
										8
									
								
								newlib/libc/aclocal.m4
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								newlib/libc/aclocal.m4
									
									
									
									
										vendored
									
									
								
							| @@ -82,7 +82,7 @@ else | ||||
| fi | ||||
| AC_SUBST(newlib_basedir) | ||||
|  | ||||
| AC_CANONICAL_HOST | ||||
| AC_CANONICAL_SYSTEM | ||||
|  | ||||
| AM_INIT_AUTOMAKE(newlib, 1.10.0) | ||||
|  | ||||
| @@ -126,12 +126,6 @@ fi | ||||
|  | ||||
| LIB_AC_PROG_CC | ||||
|  | ||||
| # AC_CHECK_TOOL does AC_REQUIRE (AC_CANONICAL_BUILD).  If we don't | ||||
| # run it explicitly here, it will be run implicitly before | ||||
| # NEWLIB_CONFIGURE, which doesn't work because that means that it will | ||||
| # be run before AC_CANONICAL_HOST. | ||||
| AC_CANONICAL_BUILD | ||||
|  | ||||
| AC_CHECK_TOOL(AS, as) | ||||
| AC_CHECK_TOOL(AR, ar) | ||||
| AC_CHECK_TOOL(RANLIB, ranlib, :) | ||||
|   | ||||
							
								
								
									
										194
									
								
								newlib/libc/configure
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										194
									
								
								newlib/libc/configure
									
									
									
									
										vendored
									
									
								
							| @@ -869,13 +869,34 @@ fi | ||||
|  | ||||
|  | ||||
|  | ||||
| # Do some error checking and defaulting for the host and target type. | ||||
| # The inputs are: | ||||
| #    configure --host=HOST --target=TARGET --build=BUILD NONOPT | ||||
| # | ||||
| # The rules are: | ||||
| # 1. You are not allowed to specify --host, --target, and nonopt at the | ||||
| #    same time. | ||||
| # 2. Host defaults to nonopt. | ||||
| # 3. If nonopt is not specified, then host defaults to the current host, | ||||
| #    as determined by config.guess. | ||||
| # 4. Target and build default to nonopt. | ||||
| # 5. If nonopt is not specified, then target and build default to host. | ||||
|  | ||||
| # The aliases save the names the user supplied, while $host etc. | ||||
| # will get canonicalized. | ||||
| case $host---$target---$nonopt in | ||||
| NONE---*---* | *---NONE---* | *---*---NONE) ;; | ||||
| *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;; | ||||
| esac | ||||
|  | ||||
|  | ||||
| # Make sure we can run config.sub. | ||||
| if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then : | ||||
| else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking host system type""... $ac_c" 1>&6 | ||||
| echo "configure:879: checking host system type" >&5 | ||||
| echo "configure:900: checking host system type" >&5 | ||||
|  | ||||
| host_alias=$host | ||||
| case "$host_alias" in | ||||
| @@ -895,6 +916,47 @@ host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$host" 1>&6 | ||||
|  | ||||
| echo $ac_n "checking target system type""... $ac_c" 1>&6 | ||||
| echo "configure:921: checking target system type" >&5 | ||||
|  | ||||
| target_alias=$target | ||||
| case "$target_alias" in | ||||
| NONE) | ||||
|   case $nonopt in | ||||
|   NONE) target_alias=$host_alias ;; | ||||
|   *) target_alias=$nonopt ;; | ||||
|   esac ;; | ||||
| esac | ||||
|  | ||||
| target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias` | ||||
| target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||||
| target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$target" 1>&6 | ||||
|  | ||||
| echo $ac_n "checking build system type""... $ac_c" 1>&6 | ||||
| echo "configure:939: checking build system type" >&5 | ||||
|  | ||||
| build_alias=$build | ||||
| case "$build_alias" in | ||||
| NONE) | ||||
|   case $nonopt in | ||||
|   NONE) build_alias=$host_alias ;; | ||||
|   *) build_alias=$nonopt ;; | ||||
|   esac ;; | ||||
| esac | ||||
|  | ||||
| build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias` | ||||
| build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||||
| build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$build" 1>&6 | ||||
|  | ||||
| test "$host_alias" != "$target_alias" && | ||||
|   test "$program_prefix$program_suffix$program_transform_name" = \ | ||||
|     NONENONEs,x,x, && | ||||
|   program_prefix=${target_alias}- | ||||
|  | ||||
|  | ||||
|  | ||||
| PACKAGE=newlib | ||||
| @@ -916,7 +978,7 @@ EOF | ||||
|  | ||||
| missing_dir=`cd $ac_aux_dir && pwd` | ||||
| echo $ac_n "checking for working aclocal""... $ac_c" 1>&6 | ||||
| echo "configure:920: checking for working aclocal" >&5 | ||||
| echo "configure:982: checking for working aclocal" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -929,7 +991,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 | ||||
| echo "configure:933: checking for working autoconf" >&5 | ||||
| echo "configure:995: checking for working autoconf" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -942,7 +1004,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working automake""... $ac_c" 1>&6 | ||||
| echo "configure:946: checking for working automake" >&5 | ||||
| echo "configure:1008: checking for working automake" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -955,7 +1017,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 | ||||
| echo "configure:959: checking for working autoheader" >&5 | ||||
| echo "configure:1021: checking for working autoheader" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -968,7 +1030,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 | ||||
| echo "configure:972: checking for working makeinfo" >&5 | ||||
| echo "configure:1034: checking for working makeinfo" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -993,7 +1055,7 @@ fi | ||||
| # Extract the first word of "gcc", so it can be a program name with args. | ||||
| set dummy gcc; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:997: checking for $ac_word" >&5 | ||||
| echo "configure:1059: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1023,7 +1085,7 @@ if test -z "$CC"; then | ||||
|   # Extract the first word of "cc", so it can be a program name with args. | ||||
| set dummy cc; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1027: checking for $ac_word" >&5 | ||||
| echo "configure:1089: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1072,7 +1134,7 @@ fi | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | ||||
| echo "configure:1076: checking whether we are using GNU C" >&5 | ||||
| echo "configure:1138: checking whether we are using GNU C" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1081,7 +1143,7 @@ else | ||||
|   yes; | ||||
| #endif | ||||
| EOF | ||||
| if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1085: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | ||||
| if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1147: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | ||||
|   ac_cv_prog_gcc=yes | ||||
| else | ||||
|   ac_cv_prog_gcc=no | ||||
| @@ -1096,7 +1158,7 @@ if test $ac_cv_prog_gcc = yes; then | ||||
|   ac_save_CFLAGS="$CFLAGS" | ||||
|   CFLAGS= | ||||
|   echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | ||||
| echo "configure:1100: checking whether ${CC-cc} accepts -g" >&5 | ||||
| echo "configure:1162: checking whether ${CC-cc} accepts -g" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1124,33 +1186,10 @@ else | ||||
| fi | ||||
|  | ||||
|  | ||||
| # AC_CHECK_TOOL does AC_REQUIRE (AC_CANONICAL_BUILD).  If we don't | ||||
| # run it explicitly here, it will be run implicitly before | ||||
| # NEWLIB_CONFIGURE, which doesn't work because that means that it will | ||||
| # be run before AC_CANONICAL_HOST. | ||||
| echo $ac_n "checking build system type""... $ac_c" 1>&6 | ||||
| echo "configure:1133: checking build system type" >&5 | ||||
|  | ||||
| build_alias=$build | ||||
| case "$build_alias" in | ||||
| NONE) | ||||
|   case $nonopt in | ||||
|   NONE) build_alias=$host_alias ;; | ||||
|   *) build_alias=$nonopt ;; | ||||
|   esac ;; | ||||
| esac | ||||
|  | ||||
| build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias` | ||||
| build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||||
| build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$build" 1>&6 | ||||
|  | ||||
|  | ||||
| # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}as; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1154: checking for $ac_word" >&5 | ||||
| echo "configure:1193: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1182,7 +1221,7 @@ fi | ||||
| # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}ar; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1186: checking for $ac_word" >&5 | ||||
| echo "configure:1225: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1214,7 +1253,7 @@ fi | ||||
| # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}ranlib; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1218: checking for $ac_word" >&5 | ||||
| echo "configure:1257: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1246,7 +1285,7 @@ if test -n "$ac_tool_prefix"; then | ||||
|   # Extract the first word of "ranlib", so it can be a program name with args. | ||||
| set dummy ranlib; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1250: checking for $ac_word" >&5 | ||||
| echo "configure:1289: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1291,7 +1330,7 @@ fi | ||||
| # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | ||||
| # ./install, which can be erroneously created by make from ./install.sh. | ||||
| echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | ||||
| echo "configure:1295: checking for a BSD compatible install" >&5 | ||||
| echo "configure:1334: checking for a BSD compatible install" >&5 | ||||
| if test -z "$INSTALL"; then | ||||
| if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| @@ -1345,7 +1384,7 @@ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | ||||
|  | ||||
|  | ||||
| echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6 | ||||
| echo "configure:1349: checking whether to enable maintainer-specific portions of Makefiles" >&5 | ||||
| echo "configure:1388: checking whether to enable maintainer-specific portions of Makefiles" >&5 | ||||
|     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. | ||||
| if test "${enable_maintainer_mode+set}" = set; then | ||||
|   enableval="$enable_maintainer_mode" | ||||
| @@ -1379,7 +1418,7 @@ if false; then | ||||
|    | ||||
|  | ||||
| echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 | ||||
| echo "configure:1383: checking for executable suffix" >&5 | ||||
| echo "configure:1422: checking for executable suffix" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1389,7 +1428,7 @@ else | ||||
|   rm -f conftest* | ||||
|   echo 'int main () { return 0; }' > conftest.$ac_ext | ||||
|   ac_cv_exeext= | ||||
|   if { (eval echo configure:1393: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then | ||||
|   if { (eval echo configure:1432: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then | ||||
|     for file in conftest.*; do | ||||
|       case $file in | ||||
|       *.c | *.o | *.obj | *.ilk | *.pdb) ;; | ||||
| @@ -1513,7 +1552,7 @@ fi | ||||
| # Extract the first word of "ranlib", so it can be a program name with args. | ||||
| set dummy ranlib; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1517: checking for $ac_word" >&5 | ||||
| echo "configure:1556: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1543,7 +1582,7 @@ fi | ||||
| # Extract the first word of "gcc", so it can be a program name with args. | ||||
| set dummy gcc; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1547: checking for $ac_word" >&5 | ||||
| echo "configure:1586: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1573,7 +1612,7 @@ if test -z "$CC"; then | ||||
|   # Extract the first word of "cc", so it can be a program name with args. | ||||
| set dummy cc; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1577: checking for $ac_word" >&5 | ||||
| echo "configure:1616: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1624,7 +1663,7 @@ fi | ||||
|       # Extract the first word of "cl", so it can be a program name with args. | ||||
| set dummy cl; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1628: checking for $ac_word" >&5 | ||||
| echo "configure:1667: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1656,7 +1695,7 @@ fi | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | ||||
| echo "configure:1660: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | ||||
| echo "configure:1699: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | ||||
|  | ||||
| ac_ext=c | ||||
| # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. | ||||
| @@ -1667,12 +1706,12 @@ cross_compiling=$ac_cv_prog_cc_cross | ||||
|  | ||||
| cat > conftest.$ac_ext << EOF | ||||
|  | ||||
| #line 1671 "configure" | ||||
| #line 1710 "configure" | ||||
| #include "confdefs.h" | ||||
|  | ||||
| main(){return(0);} | ||||
| EOF | ||||
| if { (eval echo configure:1676: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | ||||
| if { (eval echo configure:1715: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | ||||
|   ac_cv_prog_cc_works=yes | ||||
|   # If we can't run a trivial program, we are probably using a cross compiler. | ||||
|   if (./conftest; exit) 2>/dev/null; then | ||||
| @@ -1698,12 +1737,12 @@ if test $ac_cv_prog_cc_works = no; then | ||||
|   { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | ||||
| fi | ||||
| echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | ||||
| echo "configure:1702: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | ||||
| echo "configure:1741: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | ||||
| echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | ||||
| cross_compiling=$ac_cv_prog_cc_cross | ||||
|  | ||||
| echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | ||||
| echo "configure:1707: checking whether we are using GNU C" >&5 | ||||
| echo "configure:1746: checking whether we are using GNU C" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1712,7 +1751,7 @@ else | ||||
|   yes; | ||||
| #endif | ||||
| EOF | ||||
| if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1716: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | ||||
| if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1755: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | ||||
|   ac_cv_prog_gcc=yes | ||||
| else | ||||
|   ac_cv_prog_gcc=no | ||||
| @@ -1731,7 +1770,7 @@ ac_test_CFLAGS="${CFLAGS+set}" | ||||
| ac_save_CFLAGS="$CFLAGS" | ||||
| CFLAGS= | ||||
| echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | ||||
| echo "configure:1735: checking whether ${CC-cc} accepts -g" >&5 | ||||
| echo "configure:1774: checking whether ${CC-cc} accepts -g" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1774,7 +1813,7 @@ ac_prog=ld | ||||
| if test "$ac_cv_prog_gcc" = yes; then | ||||
|   # Check if gcc -print-prog-name=ld gives a path. | ||||
|   echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 | ||||
| echo "configure:1778: checking for ld used by GCC" >&5 | ||||
| echo "configure:1817: checking for ld used by GCC" >&5 | ||||
|   ac_prog=`($CC -print-prog-name=ld) 2>&5` | ||||
|   case "$ac_prog" in | ||||
|     # Accept absolute paths. | ||||
| @@ -1798,10 +1837,10 @@ echo "configure:1778: checking for ld used by GCC" >&5 | ||||
|   esac | ||||
| elif test "$with_gnu_ld" = yes; then | ||||
|   echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 | ||||
| echo "configure:1802: checking for GNU ld" >&5 | ||||
| echo "configure:1841: checking for GNU ld" >&5 | ||||
| else | ||||
|   echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6 | ||||
| echo "configure:1805: checking for non-GNU ld" >&5 | ||||
| echo "configure:1844: checking for non-GNU ld" >&5 | ||||
| fi | ||||
| if eval "test \"`echo '$''{'ac_cv_path_LD'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| @@ -1836,7 +1875,7 @@ else | ||||
| fi | ||||
| test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; } | ||||
| echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6 | ||||
| echo "configure:1840: checking if the linker ($LD) is GNU ld" >&5 | ||||
| echo "configure:1879: checking if the linker ($LD) is GNU ld" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_gnu_ld'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1852,7 +1891,7 @@ echo "$ac_t""$ac_cv_prog_gnu_ld" 1>&6 | ||||
|  | ||||
|  | ||||
| echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6 | ||||
| echo "configure:1856: checking for BSD-compatible nm" >&5 | ||||
| echo "configure:1895: checking for BSD-compatible nm" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_path_NM'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1888,7 +1927,7 @@ NM="$ac_cv_path_NM" | ||||
| echo "$ac_t""$NM" 1>&6 | ||||
|  | ||||
| echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 | ||||
| echo "configure:1892: checking whether ln -s works" >&5 | ||||
| echo "configure:1931: checking whether ln -s works" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1932,8 +1971,8 @@ test x"$silent" = xyes && libtool_flags="$libtool_flags --silent" | ||||
| case "$host" in | ||||
| *-*-irix6*) | ||||
|   # Find out which ABI we are using. | ||||
|   echo '#line 1936 "configure"' > conftest.$ac_ext | ||||
|   if { (eval echo configure:1937: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | ||||
|   echo '#line 1975 "configure"' > conftest.$ac_ext | ||||
|   if { (eval echo configure:1976: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | ||||
|     case "`/usr/bin/file conftest.o`" in | ||||
|     *32-bit*) | ||||
|       LD="${LD-ld} -32" | ||||
| @@ -1954,19 +1993,19 @@ case "$host" in | ||||
|   SAVE_CFLAGS="$CFLAGS" | ||||
|   CFLAGS="$CFLAGS -belf" | ||||
|   echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6 | ||||
| echo "configure:1958: checking whether the C compiler needs -belf" >&5 | ||||
| echo "configure:1997: checking whether the C compiler needs -belf" >&5 | ||||
| if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
|   cat > conftest.$ac_ext <<EOF | ||||
| #line 1963 "configure" | ||||
| #line 2002 "configure" | ||||
| #include "confdefs.h" | ||||
|  | ||||
| int main() { | ||||
|  | ||||
| ; return 0; } | ||||
| EOF | ||||
| if { (eval echo configure:1970: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | ||||
| if { (eval echo configure:2009: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | ||||
|   rm -rf conftest* | ||||
|   lt_cv_cc_needs_belf=yes | ||||
| else | ||||
| @@ -1989,7 +2028,7 @@ echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6 | ||||
|   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}dlltool; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1993: checking for $ac_word" >&5 | ||||
| echo "configure:2032: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -2021,7 +2060,7 @@ if test -n "$ac_tool_prefix"; then | ||||
|   # Extract the first word of "dlltool", so it can be a program name with args. | ||||
| set dummy dlltool; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:2025: checking for $ac_word" >&5 | ||||
| echo "configure:2064: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -2056,7 +2095,7 @@ fi | ||||
|   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}as; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:2060: checking for $ac_word" >&5 | ||||
| echo "configure:2099: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -2088,7 +2127,7 @@ if test -n "$ac_tool_prefix"; then | ||||
|   # Extract the first word of "as", so it can be a program name with args. | ||||
| set dummy as; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:2092: checking for $ac_word" >&5 | ||||
| echo "configure:2131: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -2123,7 +2162,7 @@ fi | ||||
|   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}objdump; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:2127: checking for $ac_word" >&5 | ||||
| echo "configure:2166: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_OBJDUMP'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -2155,7 +2194,7 @@ if test -n "$ac_tool_prefix"; then | ||||
|   # Extract the first word of "objdump", so it can be a program name with args. | ||||
| set dummy objdump; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:2159: checking for $ac_word" >&5 | ||||
| echo "configure:2198: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_OBJDUMP'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -2535,6 +2574,16 @@ s%@host_alias@%$host_alias%g | ||||
| s%@host_cpu@%$host_cpu%g | ||||
| s%@host_vendor@%$host_vendor%g | ||||
| s%@host_os@%$host_os%g | ||||
| s%@target@%$target%g | ||||
| s%@target_alias@%$target_alias%g | ||||
| s%@target_cpu@%$target_cpu%g | ||||
| s%@target_vendor@%$target_vendor%g | ||||
| s%@target_os@%$target_os%g | ||||
| s%@build@%$build%g | ||||
| s%@build_alias@%$build_alias%g | ||||
| s%@build_cpu@%$build_cpu%g | ||||
| s%@build_vendor@%$build_vendor%g | ||||
| s%@build_os@%$build_os%g | ||||
| s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g | ||||
| s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g | ||||
| s%@INSTALL_DATA@%$INSTALL_DATA%g | ||||
| @@ -2547,11 +2596,6 @@ s%@AUTOHEADER@%$AUTOHEADER%g | ||||
| s%@MAKEINFO@%$MAKEINFO%g | ||||
| s%@SET_MAKE@%$SET_MAKE%g | ||||
| s%@CC@%$CC%g | ||||
| s%@build@%$build%g | ||||
| s%@build_alias@%$build_alias%g | ||||
| s%@build_cpu@%$build_cpu%g | ||||
| s%@build_vendor@%$build_vendor%g | ||||
| s%@build_os@%$build_os%g | ||||
| s%@AS@%$AS%g | ||||
| s%@AR@%$AR%g | ||||
| s%@RANLIB@%$RANLIB%g | ||||
|   | ||||
| @@ -58,8 +58,12 @@ POST_INSTALL = : | ||||
| NORMAL_UNINSTALL = : | ||||
| PRE_UNINSTALL = : | ||||
| POST_UNINSTALL = : | ||||
| build_alias = @build_alias@ | ||||
| build_triplet = @build@ | ||||
| host_alias = @host_alias@ | ||||
| host_triplet = @host@ | ||||
| target_alias = @target_alias@ | ||||
| target_triplet = @target@ | ||||
| AR = @AR@ | ||||
| AS = @AS@ | ||||
| CC = @CC@ | ||||
|   | ||||
| @@ -58,8 +58,12 @@ POST_INSTALL = : | ||||
| NORMAL_UNINSTALL = : | ||||
| PRE_UNINSTALL = : | ||||
| POST_UNINSTALL = : | ||||
| build_alias = @build_alias@ | ||||
| build_triplet = @build@ | ||||
| host_alias = @host_alias@ | ||||
| host_triplet = @host@ | ||||
| target_alias = @target_alias@ | ||||
| target_triplet = @target@ | ||||
| AR = @AR@ | ||||
| AS = @AS@ | ||||
| CC = @CC@ | ||||
|   | ||||
| @@ -58,8 +58,12 @@ POST_INSTALL = : | ||||
| NORMAL_UNINSTALL = : | ||||
| PRE_UNINSTALL = : | ||||
| POST_UNINSTALL = : | ||||
| build_alias = @build_alias@ | ||||
| build_triplet = @build@ | ||||
| host_alias = @host_alias@ | ||||
| host_triplet = @host@ | ||||
| target_alias = @target_alias@ | ||||
| target_triplet = @target@ | ||||
| AR = @AR@ | ||||
| AS = @AS@ | ||||
| CC = @CC@ | ||||
|   | ||||
| @@ -140,13 +140,16 @@ _DEFUN(_setlocale_r, (p, category, locale), | ||||
|         {  | ||||
|           if (strcmp (locale, "C") && strcmp (locale, "") && | ||||
|               strcmp (locale, "C") && strcmp (locale, "C-JIS") &&  | ||||
|               strcmp (locale, "C-EUCJP") && strcmp (locale, "C-SJIS")) | ||||
|               strcmp (locale, "C-EUCJP") && strcmp (locale, "C-SJIS") && | ||||
|               strcmp (locale, "UTF-8")) | ||||
|             return 0; | ||||
|  | ||||
|           strcpy (last_lc_ctype, lc_ctype); | ||||
|           strcpy (lc_ctype, locale); | ||||
|  | ||||
|           if (!strcmp (locale, "C-JIS")) | ||||
|           if (!strcmp (locale, "UTF-8")) | ||||
|             __mb_cur_max = 6; | ||||
|           else if (!strcmp (locale, "C-JIS")) | ||||
|             __mb_cur_max = 8; | ||||
|           else if (strlen (locale) > 1) | ||||
|             __mb_cur_max = 2; | ||||
|   | ||||
| @@ -57,8 +57,12 @@ POST_INSTALL = : | ||||
| NORMAL_UNINSTALL = : | ||||
| PRE_UNINSTALL = : | ||||
| POST_UNINSTALL = : | ||||
| build_alias = @build_alias@ | ||||
| build_triplet = @build@ | ||||
| host_alias = @host_alias@ | ||||
| host_triplet = @host@ | ||||
| target_alias = @target_alias@ | ||||
| target_triplet = @target@ | ||||
| AR = @AR@ | ||||
| AS = @AS@ | ||||
| CC = @CC@ | ||||
|   | ||||
| @@ -57,8 +57,12 @@ POST_INSTALL = : | ||||
| NORMAL_UNINSTALL = : | ||||
| PRE_UNINSTALL = : | ||||
| POST_UNINSTALL = : | ||||
| build_alias = @build_alias@ | ||||
| build_triplet = @build@ | ||||
| host_alias = @host_alias@ | ||||
| host_triplet = @host@ | ||||
| target_alias = @target_alias@ | ||||
| target_triplet = @target@ | ||||
| AR = @AR@ | ||||
| AS = @AS@ | ||||
| CC = @CC@ | ||||
|   | ||||
							
								
								
									
										8
									
								
								newlib/libc/machine/a29k/aclocal.m4
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								newlib/libc/machine/a29k/aclocal.m4
									
									
									
									
										vendored
									
									
								
							| @@ -82,7 +82,7 @@ else | ||||
| fi | ||||
| AC_SUBST(newlib_basedir) | ||||
|  | ||||
| AC_CANONICAL_HOST | ||||
| AC_CANONICAL_SYSTEM | ||||
|  | ||||
| AM_INIT_AUTOMAKE(newlib, 1.10.0) | ||||
|  | ||||
| @@ -126,12 +126,6 @@ fi | ||||
|  | ||||
| LIB_AC_PROG_CC | ||||
|  | ||||
| # AC_CHECK_TOOL does AC_REQUIRE (AC_CANONICAL_BUILD).  If we don't | ||||
| # run it explicitly here, it will be run implicitly before | ||||
| # NEWLIB_CONFIGURE, which doesn't work because that means that it will | ||||
| # be run before AC_CANONICAL_HOST. | ||||
| AC_CANONICAL_BUILD | ||||
|  | ||||
| AC_CHECK_TOOL(AS, as) | ||||
| AC_CHECK_TOOL(AR, ar) | ||||
| AC_CHECK_TOOL(RANLIB, ranlib, :) | ||||
|   | ||||
							
								
								
									
										138
									
								
								newlib/libc/machine/a29k/configure
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										138
									
								
								newlib/libc/machine/a29k/configure
									
									
									
									
										vendored
									
									
								
							| @@ -859,13 +859,34 @@ fi | ||||
|  | ||||
|  | ||||
|  | ||||
| # Do some error checking and defaulting for the host and target type. | ||||
| # The inputs are: | ||||
| #    configure --host=HOST --target=TARGET --build=BUILD NONOPT | ||||
| # | ||||
| # The rules are: | ||||
| # 1. You are not allowed to specify --host, --target, and nonopt at the | ||||
| #    same time. | ||||
| # 2. Host defaults to nonopt. | ||||
| # 3. If nonopt is not specified, then host defaults to the current host, | ||||
| #    as determined by config.guess. | ||||
| # 4. Target and build default to nonopt. | ||||
| # 5. If nonopt is not specified, then target and build default to host. | ||||
|  | ||||
| # The aliases save the names the user supplied, while $host etc. | ||||
| # will get canonicalized. | ||||
| case $host---$target---$nonopt in | ||||
| NONE---*---* | *---NONE---* | *---*---NONE) ;; | ||||
| *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;; | ||||
| esac | ||||
|  | ||||
|  | ||||
| # Make sure we can run config.sub. | ||||
| if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then : | ||||
| else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking host system type""... $ac_c" 1>&6 | ||||
| echo "configure:869: checking host system type" >&5 | ||||
| echo "configure:890: checking host system type" >&5 | ||||
|  | ||||
| host_alias=$host | ||||
| case "$host_alias" in | ||||
| @@ -885,6 +906,47 @@ host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$host" 1>&6 | ||||
|  | ||||
| echo $ac_n "checking target system type""... $ac_c" 1>&6 | ||||
| echo "configure:911: checking target system type" >&5 | ||||
|  | ||||
| target_alias=$target | ||||
| case "$target_alias" in | ||||
| NONE) | ||||
|   case $nonopt in | ||||
|   NONE) target_alias=$host_alias ;; | ||||
|   *) target_alias=$nonopt ;; | ||||
|   esac ;; | ||||
| esac | ||||
|  | ||||
| target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias` | ||||
| target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||||
| target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$target" 1>&6 | ||||
|  | ||||
| echo $ac_n "checking build system type""... $ac_c" 1>&6 | ||||
| echo "configure:929: checking build system type" >&5 | ||||
|  | ||||
| build_alias=$build | ||||
| case "$build_alias" in | ||||
| NONE) | ||||
|   case $nonopt in | ||||
|   NONE) build_alias=$host_alias ;; | ||||
|   *) build_alias=$nonopt ;; | ||||
|   esac ;; | ||||
| esac | ||||
|  | ||||
| build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias` | ||||
| build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||||
| build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$build" 1>&6 | ||||
|  | ||||
| test "$host_alias" != "$target_alias" && | ||||
|   test "$program_prefix$program_suffix$program_transform_name" = \ | ||||
|     NONENONEs,x,x, && | ||||
|   program_prefix=${target_alias}- | ||||
|  | ||||
|  | ||||
|  | ||||
| PACKAGE=newlib | ||||
| @@ -906,7 +968,7 @@ EOF | ||||
|  | ||||
| missing_dir=`cd $ac_aux_dir && pwd` | ||||
| echo $ac_n "checking for working aclocal""... $ac_c" 1>&6 | ||||
| echo "configure:910: checking for working aclocal" >&5 | ||||
| echo "configure:972: checking for working aclocal" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -919,7 +981,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 | ||||
| echo "configure:923: checking for working autoconf" >&5 | ||||
| echo "configure:985: checking for working autoconf" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -932,7 +994,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working automake""... $ac_c" 1>&6 | ||||
| echo "configure:936: checking for working automake" >&5 | ||||
| echo "configure:998: checking for working automake" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -945,7 +1007,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 | ||||
| echo "configure:949: checking for working autoheader" >&5 | ||||
| echo "configure:1011: checking for working autoheader" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -958,7 +1020,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 | ||||
| echo "configure:962: checking for working makeinfo" >&5 | ||||
| echo "configure:1024: checking for working makeinfo" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -983,7 +1045,7 @@ fi | ||||
| # Extract the first word of "gcc", so it can be a program name with args. | ||||
| set dummy gcc; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:987: checking for $ac_word" >&5 | ||||
| echo "configure:1049: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1013,7 +1075,7 @@ if test -z "$CC"; then | ||||
|   # Extract the first word of "cc", so it can be a program name with args. | ||||
| set dummy cc; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1017: checking for $ac_word" >&5 | ||||
| echo "configure:1079: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1062,7 +1124,7 @@ fi | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | ||||
| echo "configure:1066: checking whether we are using GNU C" >&5 | ||||
| echo "configure:1128: checking whether we are using GNU C" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1071,7 +1133,7 @@ else | ||||
|   yes; | ||||
| #endif | ||||
| EOF | ||||
| if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1075: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | ||||
| if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1137: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | ||||
|   ac_cv_prog_gcc=yes | ||||
| else | ||||
|   ac_cv_prog_gcc=no | ||||
| @@ -1086,7 +1148,7 @@ if test $ac_cv_prog_gcc = yes; then | ||||
|   ac_save_CFLAGS="$CFLAGS" | ||||
|   CFLAGS= | ||||
|   echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | ||||
| echo "configure:1090: checking whether ${CC-cc} accepts -g" >&5 | ||||
| echo "configure:1152: checking whether ${CC-cc} accepts -g" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1114,33 +1176,10 @@ else | ||||
| fi | ||||
|  | ||||
|  | ||||
| # AC_CHECK_TOOL does AC_REQUIRE (AC_CANONICAL_BUILD).  If we don't | ||||
| # run it explicitly here, it will be run implicitly before | ||||
| # NEWLIB_CONFIGURE, which doesn't work because that means that it will | ||||
| # be run before AC_CANONICAL_HOST. | ||||
| echo $ac_n "checking build system type""... $ac_c" 1>&6 | ||||
| echo "configure:1123: checking build system type" >&5 | ||||
|  | ||||
| build_alias=$build | ||||
| case "$build_alias" in | ||||
| NONE) | ||||
|   case $nonopt in | ||||
|   NONE) build_alias=$host_alias ;; | ||||
|   *) build_alias=$nonopt ;; | ||||
|   esac ;; | ||||
| esac | ||||
|  | ||||
| build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias` | ||||
| build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||||
| build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$build" 1>&6 | ||||
|  | ||||
|  | ||||
| # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}as; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1144: checking for $ac_word" >&5 | ||||
| echo "configure:1183: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1172,7 +1211,7 @@ fi | ||||
| # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}ar; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1176: checking for $ac_word" >&5 | ||||
| echo "configure:1215: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1204,7 +1243,7 @@ fi | ||||
| # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}ranlib; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1208: checking for $ac_word" >&5 | ||||
| echo "configure:1247: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1236,7 +1275,7 @@ if test -n "$ac_tool_prefix"; then | ||||
|   # Extract the first word of "ranlib", so it can be a program name with args. | ||||
| set dummy ranlib; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1240: checking for $ac_word" >&5 | ||||
| echo "configure:1279: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1281,7 +1320,7 @@ fi | ||||
| # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | ||||
| # ./install, which can be erroneously created by make from ./install.sh. | ||||
| echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | ||||
| echo "configure:1285: checking for a BSD compatible install" >&5 | ||||
| echo "configure:1324: checking for a BSD compatible install" >&5 | ||||
| if test -z "$INSTALL"; then | ||||
| if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| @@ -1335,7 +1374,7 @@ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | ||||
|  | ||||
|  | ||||
| echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6 | ||||
| echo "configure:1339: checking whether to enable maintainer-specific portions of Makefiles" >&5 | ||||
| echo "configure:1378: checking whether to enable maintainer-specific portions of Makefiles" >&5 | ||||
|     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. | ||||
| if test "${enable_maintainer_mode+set}" = set; then | ||||
|   enableval="$enable_maintainer_mode" | ||||
| @@ -1369,7 +1408,7 @@ if false; then | ||||
|    | ||||
|  | ||||
| echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 | ||||
| echo "configure:1373: checking for executable suffix" >&5 | ||||
| echo "configure:1412: checking for executable suffix" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1379,7 +1418,7 @@ else | ||||
|   rm -f conftest* | ||||
|   echo 'int main () { return 0; }' > conftest.$ac_ext | ||||
|   ac_cv_exeext= | ||||
|   if { (eval echo configure:1383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then | ||||
|   if { (eval echo configure:1422: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then | ||||
|     for file in conftest.*; do | ||||
|       case $file in | ||||
|       *.c | *.o | *.obj | *.ilk | *.pdb) ;; | ||||
| @@ -1579,6 +1618,16 @@ s%@host_alias@%$host_alias%g | ||||
| s%@host_cpu@%$host_cpu%g | ||||
| s%@host_vendor@%$host_vendor%g | ||||
| s%@host_os@%$host_os%g | ||||
| s%@target@%$target%g | ||||
| s%@target_alias@%$target_alias%g | ||||
| s%@target_cpu@%$target_cpu%g | ||||
| s%@target_vendor@%$target_vendor%g | ||||
| s%@target_os@%$target_os%g | ||||
| s%@build@%$build%g | ||||
| s%@build_alias@%$build_alias%g | ||||
| s%@build_cpu@%$build_cpu%g | ||||
| s%@build_vendor@%$build_vendor%g | ||||
| s%@build_os@%$build_os%g | ||||
| s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g | ||||
| s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g | ||||
| s%@INSTALL_DATA@%$INSTALL_DATA%g | ||||
| @@ -1591,11 +1640,6 @@ s%@AUTOHEADER@%$AUTOHEADER%g | ||||
| s%@MAKEINFO@%$MAKEINFO%g | ||||
| s%@SET_MAKE@%$SET_MAKE%g | ||||
| s%@CC@%$CC%g | ||||
| s%@build@%$build%g | ||||
| s%@build_alias@%$build_alias%g | ||||
| s%@build_cpu@%$build_cpu%g | ||||
| s%@build_vendor@%$build_vendor%g | ||||
| s%@build_os@%$build_os%g | ||||
| s%@AS@%$AS%g | ||||
| s%@AR@%$AR%g | ||||
| s%@RANLIB@%$RANLIB%g | ||||
|   | ||||
							
								
								
									
										8
									
								
								newlib/libc/machine/aclocal.m4
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								newlib/libc/machine/aclocal.m4
									
									
									
									
										vendored
									
									
								
							| @@ -82,7 +82,7 @@ else | ||||
| fi | ||||
| AC_SUBST(newlib_basedir) | ||||
|  | ||||
| AC_CANONICAL_HOST | ||||
| AC_CANONICAL_SYSTEM | ||||
|  | ||||
| AM_INIT_AUTOMAKE(newlib, 1.10.0) | ||||
|  | ||||
| @@ -126,12 +126,6 @@ fi | ||||
|  | ||||
| LIB_AC_PROG_CC | ||||
|  | ||||
| # AC_CHECK_TOOL does AC_REQUIRE (AC_CANONICAL_BUILD).  If we don't | ||||
| # run it explicitly here, it will be run implicitly before | ||||
| # NEWLIB_CONFIGURE, which doesn't work because that means that it will | ||||
| # be run before AC_CANONICAL_HOST. | ||||
| AC_CANONICAL_BUILD | ||||
|  | ||||
| AC_CHECK_TOOL(AS, as) | ||||
| AC_CHECK_TOOL(AR, ar) | ||||
| AC_CHECK_TOOL(RANLIB, ranlib, :) | ||||
|   | ||||
| @@ -57,8 +57,12 @@ POST_INSTALL = : | ||||
| NORMAL_UNINSTALL = : | ||||
| PRE_UNINSTALL = : | ||||
| POST_UNINSTALL = : | ||||
| build_alias = @build_alias@ | ||||
| build_triplet = @build@ | ||||
| host_alias = @host_alias@ | ||||
| host_triplet = @host@ | ||||
| target_alias = @target_alias@ | ||||
| target_triplet = @target@ | ||||
| AR = @AR@ | ||||
| AS = @AS@ | ||||
| CC = @CC@ | ||||
|   | ||||
							
								
								
									
										8
									
								
								newlib/libc/machine/arm/aclocal.m4
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								newlib/libc/machine/arm/aclocal.m4
									
									
									
									
										vendored
									
									
								
							| @@ -82,7 +82,7 @@ else | ||||
| fi | ||||
| AC_SUBST(newlib_basedir) | ||||
|  | ||||
| AC_CANONICAL_HOST | ||||
| AC_CANONICAL_SYSTEM | ||||
|  | ||||
| AM_INIT_AUTOMAKE(newlib, 1.10.0) | ||||
|  | ||||
| @@ -126,12 +126,6 @@ fi | ||||
|  | ||||
| LIB_AC_PROG_CC | ||||
|  | ||||
| # AC_CHECK_TOOL does AC_REQUIRE (AC_CANONICAL_BUILD).  If we don't | ||||
| # run it explicitly here, it will be run implicitly before | ||||
| # NEWLIB_CONFIGURE, which doesn't work because that means that it will | ||||
| # be run before AC_CANONICAL_HOST. | ||||
| AC_CANONICAL_BUILD | ||||
|  | ||||
| AC_CHECK_TOOL(AS, as) | ||||
| AC_CHECK_TOOL(AR, ar) | ||||
| AC_CHECK_TOOL(RANLIB, ranlib, :) | ||||
|   | ||||
							
								
								
									
										138
									
								
								newlib/libc/machine/arm/configure
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										138
									
								
								newlib/libc/machine/arm/configure
									
									
									
									
										vendored
									
									
								
							| @@ -859,13 +859,34 @@ fi | ||||
|  | ||||
|  | ||||
|  | ||||
| # Do some error checking and defaulting for the host and target type. | ||||
| # The inputs are: | ||||
| #    configure --host=HOST --target=TARGET --build=BUILD NONOPT | ||||
| # | ||||
| # The rules are: | ||||
| # 1. You are not allowed to specify --host, --target, and nonopt at the | ||||
| #    same time. | ||||
| # 2. Host defaults to nonopt. | ||||
| # 3. If nonopt is not specified, then host defaults to the current host, | ||||
| #    as determined by config.guess. | ||||
| # 4. Target and build default to nonopt. | ||||
| # 5. If nonopt is not specified, then target and build default to host. | ||||
|  | ||||
| # The aliases save the names the user supplied, while $host etc. | ||||
| # will get canonicalized. | ||||
| case $host---$target---$nonopt in | ||||
| NONE---*---* | *---NONE---* | *---*---NONE) ;; | ||||
| *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;; | ||||
| esac | ||||
|  | ||||
|  | ||||
| # Make sure we can run config.sub. | ||||
| if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then : | ||||
| else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking host system type""... $ac_c" 1>&6 | ||||
| echo "configure:869: checking host system type" >&5 | ||||
| echo "configure:890: checking host system type" >&5 | ||||
|  | ||||
| host_alias=$host | ||||
| case "$host_alias" in | ||||
| @@ -885,6 +906,47 @@ host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$host" 1>&6 | ||||
|  | ||||
| echo $ac_n "checking target system type""... $ac_c" 1>&6 | ||||
| echo "configure:911: checking target system type" >&5 | ||||
|  | ||||
| target_alias=$target | ||||
| case "$target_alias" in | ||||
| NONE) | ||||
|   case $nonopt in | ||||
|   NONE) target_alias=$host_alias ;; | ||||
|   *) target_alias=$nonopt ;; | ||||
|   esac ;; | ||||
| esac | ||||
|  | ||||
| target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias` | ||||
| target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||||
| target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$target" 1>&6 | ||||
|  | ||||
| echo $ac_n "checking build system type""... $ac_c" 1>&6 | ||||
| echo "configure:929: checking build system type" >&5 | ||||
|  | ||||
| build_alias=$build | ||||
| case "$build_alias" in | ||||
| NONE) | ||||
|   case $nonopt in | ||||
|   NONE) build_alias=$host_alias ;; | ||||
|   *) build_alias=$nonopt ;; | ||||
|   esac ;; | ||||
| esac | ||||
|  | ||||
| build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias` | ||||
| build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||||
| build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$build" 1>&6 | ||||
|  | ||||
| test "$host_alias" != "$target_alias" && | ||||
|   test "$program_prefix$program_suffix$program_transform_name" = \ | ||||
|     NONENONEs,x,x, && | ||||
|   program_prefix=${target_alias}- | ||||
|  | ||||
|  | ||||
|  | ||||
| PACKAGE=newlib | ||||
| @@ -906,7 +968,7 @@ EOF | ||||
|  | ||||
| missing_dir=`cd $ac_aux_dir && pwd` | ||||
| echo $ac_n "checking for working aclocal""... $ac_c" 1>&6 | ||||
| echo "configure:910: checking for working aclocal" >&5 | ||||
| echo "configure:972: checking for working aclocal" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -919,7 +981,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 | ||||
| echo "configure:923: checking for working autoconf" >&5 | ||||
| echo "configure:985: checking for working autoconf" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -932,7 +994,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working automake""... $ac_c" 1>&6 | ||||
| echo "configure:936: checking for working automake" >&5 | ||||
| echo "configure:998: checking for working automake" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -945,7 +1007,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 | ||||
| echo "configure:949: checking for working autoheader" >&5 | ||||
| echo "configure:1011: checking for working autoheader" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -958,7 +1020,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 | ||||
| echo "configure:962: checking for working makeinfo" >&5 | ||||
| echo "configure:1024: checking for working makeinfo" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -983,7 +1045,7 @@ fi | ||||
| # Extract the first word of "gcc", so it can be a program name with args. | ||||
| set dummy gcc; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:987: checking for $ac_word" >&5 | ||||
| echo "configure:1049: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1013,7 +1075,7 @@ if test -z "$CC"; then | ||||
|   # Extract the first word of "cc", so it can be a program name with args. | ||||
| set dummy cc; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1017: checking for $ac_word" >&5 | ||||
| echo "configure:1079: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1062,7 +1124,7 @@ fi | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | ||||
| echo "configure:1066: checking whether we are using GNU C" >&5 | ||||
| echo "configure:1128: checking whether we are using GNU C" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1071,7 +1133,7 @@ else | ||||
|   yes; | ||||
| #endif | ||||
| EOF | ||||
| if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1075: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | ||||
| if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1137: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | ||||
|   ac_cv_prog_gcc=yes | ||||
| else | ||||
|   ac_cv_prog_gcc=no | ||||
| @@ -1086,7 +1148,7 @@ if test $ac_cv_prog_gcc = yes; then | ||||
|   ac_save_CFLAGS="$CFLAGS" | ||||
|   CFLAGS= | ||||
|   echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | ||||
| echo "configure:1090: checking whether ${CC-cc} accepts -g" >&5 | ||||
| echo "configure:1152: checking whether ${CC-cc} accepts -g" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1114,33 +1176,10 @@ else | ||||
| fi | ||||
|  | ||||
|  | ||||
| # AC_CHECK_TOOL does AC_REQUIRE (AC_CANONICAL_BUILD).  If we don't | ||||
| # run it explicitly here, it will be run implicitly before | ||||
| # NEWLIB_CONFIGURE, which doesn't work because that means that it will | ||||
| # be run before AC_CANONICAL_HOST. | ||||
| echo $ac_n "checking build system type""... $ac_c" 1>&6 | ||||
| echo "configure:1123: checking build system type" >&5 | ||||
|  | ||||
| build_alias=$build | ||||
| case "$build_alias" in | ||||
| NONE) | ||||
|   case $nonopt in | ||||
|   NONE) build_alias=$host_alias ;; | ||||
|   *) build_alias=$nonopt ;; | ||||
|   esac ;; | ||||
| esac | ||||
|  | ||||
| build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias` | ||||
| build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||||
| build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$build" 1>&6 | ||||
|  | ||||
|  | ||||
| # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}as; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1144: checking for $ac_word" >&5 | ||||
| echo "configure:1183: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1172,7 +1211,7 @@ fi | ||||
| # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}ar; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1176: checking for $ac_word" >&5 | ||||
| echo "configure:1215: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1204,7 +1243,7 @@ fi | ||||
| # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}ranlib; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1208: checking for $ac_word" >&5 | ||||
| echo "configure:1247: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1236,7 +1275,7 @@ if test -n "$ac_tool_prefix"; then | ||||
|   # Extract the first word of "ranlib", so it can be a program name with args. | ||||
| set dummy ranlib; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1240: checking for $ac_word" >&5 | ||||
| echo "configure:1279: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1281,7 +1320,7 @@ fi | ||||
| # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | ||||
| # ./install, which can be erroneously created by make from ./install.sh. | ||||
| echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | ||||
| echo "configure:1285: checking for a BSD compatible install" >&5 | ||||
| echo "configure:1324: checking for a BSD compatible install" >&5 | ||||
| if test -z "$INSTALL"; then | ||||
| if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| @@ -1335,7 +1374,7 @@ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | ||||
|  | ||||
|  | ||||
| echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6 | ||||
| echo "configure:1339: checking whether to enable maintainer-specific portions of Makefiles" >&5 | ||||
| echo "configure:1378: checking whether to enable maintainer-specific portions of Makefiles" >&5 | ||||
|     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. | ||||
| if test "${enable_maintainer_mode+set}" = set; then | ||||
|   enableval="$enable_maintainer_mode" | ||||
| @@ -1369,7 +1408,7 @@ if false; then | ||||
|    | ||||
|  | ||||
| echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 | ||||
| echo "configure:1373: checking for executable suffix" >&5 | ||||
| echo "configure:1412: checking for executable suffix" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1379,7 +1418,7 @@ else | ||||
|   rm -f conftest* | ||||
|   echo 'int main () { return 0; }' > conftest.$ac_ext | ||||
|   ac_cv_exeext= | ||||
|   if { (eval echo configure:1383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then | ||||
|   if { (eval echo configure:1422: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then | ||||
|     for file in conftest.*; do | ||||
|       case $file in | ||||
|       *.c | *.o | *.obj | *.ilk | *.pdb) ;; | ||||
| @@ -1579,6 +1618,16 @@ s%@host_alias@%$host_alias%g | ||||
| s%@host_cpu@%$host_cpu%g | ||||
| s%@host_vendor@%$host_vendor%g | ||||
| s%@host_os@%$host_os%g | ||||
| s%@target@%$target%g | ||||
| s%@target_alias@%$target_alias%g | ||||
| s%@target_cpu@%$target_cpu%g | ||||
| s%@target_vendor@%$target_vendor%g | ||||
| s%@target_os@%$target_os%g | ||||
| s%@build@%$build%g | ||||
| s%@build_alias@%$build_alias%g | ||||
| s%@build_cpu@%$build_cpu%g | ||||
| s%@build_vendor@%$build_vendor%g | ||||
| s%@build_os@%$build_os%g | ||||
| s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g | ||||
| s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g | ||||
| s%@INSTALL_DATA@%$INSTALL_DATA%g | ||||
| @@ -1591,11 +1640,6 @@ s%@AUTOHEADER@%$AUTOHEADER%g | ||||
| s%@MAKEINFO@%$MAKEINFO%g | ||||
| s%@SET_MAKE@%$SET_MAKE%g | ||||
| s%@CC@%$CC%g | ||||
| s%@build@%$build%g | ||||
| s%@build_alias@%$build_alias%g | ||||
| s%@build_cpu@%$build_cpu%g | ||||
| s%@build_vendor@%$build_vendor%g | ||||
| s%@build_os@%$build_os%g | ||||
| s%@AS@%$AS%g | ||||
| s%@AR@%$AR%g | ||||
| s%@RANLIB@%$RANLIB%g | ||||
|   | ||||
							
								
								
									
										194
									
								
								newlib/libc/machine/configure
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										194
									
								
								newlib/libc/machine/configure
									
									
									
									
										vendored
									
									
								
							| @@ -869,13 +869,34 @@ fi | ||||
|  | ||||
|  | ||||
|  | ||||
| # Do some error checking and defaulting for the host and target type. | ||||
| # The inputs are: | ||||
| #    configure --host=HOST --target=TARGET --build=BUILD NONOPT | ||||
| # | ||||
| # The rules are: | ||||
| # 1. You are not allowed to specify --host, --target, and nonopt at the | ||||
| #    same time. | ||||
| # 2. Host defaults to nonopt. | ||||
| # 3. If nonopt is not specified, then host defaults to the current host, | ||||
| #    as determined by config.guess. | ||||
| # 4. Target and build default to nonopt. | ||||
| # 5. If nonopt is not specified, then target and build default to host. | ||||
|  | ||||
| # The aliases save the names the user supplied, while $host etc. | ||||
| # will get canonicalized. | ||||
| case $host---$target---$nonopt in | ||||
| NONE---*---* | *---NONE---* | *---*---NONE) ;; | ||||
| *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;; | ||||
| esac | ||||
|  | ||||
|  | ||||
| # Make sure we can run config.sub. | ||||
| if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then : | ||||
| else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking host system type""... $ac_c" 1>&6 | ||||
| echo "configure:879: checking host system type" >&5 | ||||
| echo "configure:900: checking host system type" >&5 | ||||
|  | ||||
| host_alias=$host | ||||
| case "$host_alias" in | ||||
| @@ -895,6 +916,47 @@ host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$host" 1>&6 | ||||
|  | ||||
| echo $ac_n "checking target system type""... $ac_c" 1>&6 | ||||
| echo "configure:921: checking target system type" >&5 | ||||
|  | ||||
| target_alias=$target | ||||
| case "$target_alias" in | ||||
| NONE) | ||||
|   case $nonopt in | ||||
|   NONE) target_alias=$host_alias ;; | ||||
|   *) target_alias=$nonopt ;; | ||||
|   esac ;; | ||||
| esac | ||||
|  | ||||
| target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias` | ||||
| target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||||
| target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$target" 1>&6 | ||||
|  | ||||
| echo $ac_n "checking build system type""... $ac_c" 1>&6 | ||||
| echo "configure:939: checking build system type" >&5 | ||||
|  | ||||
| build_alias=$build | ||||
| case "$build_alias" in | ||||
| NONE) | ||||
|   case $nonopt in | ||||
|   NONE) build_alias=$host_alias ;; | ||||
|   *) build_alias=$nonopt ;; | ||||
|   esac ;; | ||||
| esac | ||||
|  | ||||
| build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias` | ||||
| build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||||
| build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$build" 1>&6 | ||||
|  | ||||
| test "$host_alias" != "$target_alias" && | ||||
|   test "$program_prefix$program_suffix$program_transform_name" = \ | ||||
|     NONENONEs,x,x, && | ||||
|   program_prefix=${target_alias}- | ||||
|  | ||||
|  | ||||
|  | ||||
| PACKAGE=newlib | ||||
| @@ -916,7 +978,7 @@ EOF | ||||
|  | ||||
| missing_dir=`cd $ac_aux_dir && pwd` | ||||
| echo $ac_n "checking for working aclocal""... $ac_c" 1>&6 | ||||
| echo "configure:920: checking for working aclocal" >&5 | ||||
| echo "configure:982: checking for working aclocal" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -929,7 +991,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 | ||||
| echo "configure:933: checking for working autoconf" >&5 | ||||
| echo "configure:995: checking for working autoconf" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -942,7 +1004,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working automake""... $ac_c" 1>&6 | ||||
| echo "configure:946: checking for working automake" >&5 | ||||
| echo "configure:1008: checking for working automake" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -955,7 +1017,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 | ||||
| echo "configure:959: checking for working autoheader" >&5 | ||||
| echo "configure:1021: checking for working autoheader" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -968,7 +1030,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 | ||||
| echo "configure:972: checking for working makeinfo" >&5 | ||||
| echo "configure:1034: checking for working makeinfo" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -993,7 +1055,7 @@ fi | ||||
| # Extract the first word of "gcc", so it can be a program name with args. | ||||
| set dummy gcc; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:997: checking for $ac_word" >&5 | ||||
| echo "configure:1059: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1023,7 +1085,7 @@ if test -z "$CC"; then | ||||
|   # Extract the first word of "cc", so it can be a program name with args. | ||||
| set dummy cc; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1027: checking for $ac_word" >&5 | ||||
| echo "configure:1089: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1072,7 +1134,7 @@ fi | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | ||||
| echo "configure:1076: checking whether we are using GNU C" >&5 | ||||
| echo "configure:1138: checking whether we are using GNU C" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1081,7 +1143,7 @@ else | ||||
|   yes; | ||||
| #endif | ||||
| EOF | ||||
| if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1085: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | ||||
| if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1147: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | ||||
|   ac_cv_prog_gcc=yes | ||||
| else | ||||
|   ac_cv_prog_gcc=no | ||||
| @@ -1096,7 +1158,7 @@ if test $ac_cv_prog_gcc = yes; then | ||||
|   ac_save_CFLAGS="$CFLAGS" | ||||
|   CFLAGS= | ||||
|   echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | ||||
| echo "configure:1100: checking whether ${CC-cc} accepts -g" >&5 | ||||
| echo "configure:1162: checking whether ${CC-cc} accepts -g" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1124,33 +1186,10 @@ else | ||||
| fi | ||||
|  | ||||
|  | ||||
| # AC_CHECK_TOOL does AC_REQUIRE (AC_CANONICAL_BUILD).  If we don't | ||||
| # run it explicitly here, it will be run implicitly before | ||||
| # NEWLIB_CONFIGURE, which doesn't work because that means that it will | ||||
| # be run before AC_CANONICAL_HOST. | ||||
| echo $ac_n "checking build system type""... $ac_c" 1>&6 | ||||
| echo "configure:1133: checking build system type" >&5 | ||||
|  | ||||
| build_alias=$build | ||||
| case "$build_alias" in | ||||
| NONE) | ||||
|   case $nonopt in | ||||
|   NONE) build_alias=$host_alias ;; | ||||
|   *) build_alias=$nonopt ;; | ||||
|   esac ;; | ||||
| esac | ||||
|  | ||||
| build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias` | ||||
| build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||||
| build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$build" 1>&6 | ||||
|  | ||||
|  | ||||
| # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}as; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1154: checking for $ac_word" >&5 | ||||
| echo "configure:1193: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1182,7 +1221,7 @@ fi | ||||
| # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}ar; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1186: checking for $ac_word" >&5 | ||||
| echo "configure:1225: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1214,7 +1253,7 @@ fi | ||||
| # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}ranlib; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1218: checking for $ac_word" >&5 | ||||
| echo "configure:1257: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1246,7 +1285,7 @@ if test -n "$ac_tool_prefix"; then | ||||
|   # Extract the first word of "ranlib", so it can be a program name with args. | ||||
| set dummy ranlib; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1250: checking for $ac_word" >&5 | ||||
| echo "configure:1289: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1291,7 +1330,7 @@ fi | ||||
| # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | ||||
| # ./install, which can be erroneously created by make from ./install.sh. | ||||
| echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | ||||
| echo "configure:1295: checking for a BSD compatible install" >&5 | ||||
| echo "configure:1334: checking for a BSD compatible install" >&5 | ||||
| if test -z "$INSTALL"; then | ||||
| if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| @@ -1345,7 +1384,7 @@ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | ||||
|  | ||||
|  | ||||
| echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6 | ||||
| echo "configure:1349: checking whether to enable maintainer-specific portions of Makefiles" >&5 | ||||
| echo "configure:1388: checking whether to enable maintainer-specific portions of Makefiles" >&5 | ||||
|     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. | ||||
| if test "${enable_maintainer_mode+set}" = set; then | ||||
|   enableval="$enable_maintainer_mode" | ||||
| @@ -1379,7 +1418,7 @@ if false; then | ||||
|    | ||||
|  | ||||
| echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 | ||||
| echo "configure:1383: checking for executable suffix" >&5 | ||||
| echo "configure:1422: checking for executable suffix" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1389,7 +1428,7 @@ else | ||||
|   rm -f conftest* | ||||
|   echo 'int main () { return 0; }' > conftest.$ac_ext | ||||
|   ac_cv_exeext= | ||||
|   if { (eval echo configure:1393: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then | ||||
|   if { (eval echo configure:1432: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then | ||||
|     for file in conftest.*; do | ||||
|       case $file in | ||||
|       *.c | *.o | *.obj | *.ilk | *.pdb) ;; | ||||
| @@ -1513,7 +1552,7 @@ fi | ||||
| # Extract the first word of "ranlib", so it can be a program name with args. | ||||
| set dummy ranlib; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1517: checking for $ac_word" >&5 | ||||
| echo "configure:1556: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1543,7 +1582,7 @@ fi | ||||
| # Extract the first word of "gcc", so it can be a program name with args. | ||||
| set dummy gcc; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1547: checking for $ac_word" >&5 | ||||
| echo "configure:1586: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1573,7 +1612,7 @@ if test -z "$CC"; then | ||||
|   # Extract the first word of "cc", so it can be a program name with args. | ||||
| set dummy cc; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1577: checking for $ac_word" >&5 | ||||
| echo "configure:1616: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1624,7 +1663,7 @@ fi | ||||
|       # Extract the first word of "cl", so it can be a program name with args. | ||||
| set dummy cl; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1628: checking for $ac_word" >&5 | ||||
| echo "configure:1667: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1656,7 +1695,7 @@ fi | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | ||||
| echo "configure:1660: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | ||||
| echo "configure:1699: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | ||||
|  | ||||
| ac_ext=c | ||||
| # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. | ||||
| @@ -1667,12 +1706,12 @@ cross_compiling=$ac_cv_prog_cc_cross | ||||
|  | ||||
| cat > conftest.$ac_ext << EOF | ||||
|  | ||||
| #line 1671 "configure" | ||||
| #line 1710 "configure" | ||||
| #include "confdefs.h" | ||||
|  | ||||
| main(){return(0);} | ||||
| EOF | ||||
| if { (eval echo configure:1676: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | ||||
| if { (eval echo configure:1715: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | ||||
|   ac_cv_prog_cc_works=yes | ||||
|   # If we can't run a trivial program, we are probably using a cross compiler. | ||||
|   if (./conftest; exit) 2>/dev/null; then | ||||
| @@ -1698,12 +1737,12 @@ if test $ac_cv_prog_cc_works = no; then | ||||
|   { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | ||||
| fi | ||||
| echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | ||||
| echo "configure:1702: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | ||||
| echo "configure:1741: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | ||||
| echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | ||||
| cross_compiling=$ac_cv_prog_cc_cross | ||||
|  | ||||
| echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | ||||
| echo "configure:1707: checking whether we are using GNU C" >&5 | ||||
| echo "configure:1746: checking whether we are using GNU C" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1712,7 +1751,7 @@ else | ||||
|   yes; | ||||
| #endif | ||||
| EOF | ||||
| if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1716: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | ||||
| if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1755: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | ||||
|   ac_cv_prog_gcc=yes | ||||
| else | ||||
|   ac_cv_prog_gcc=no | ||||
| @@ -1731,7 +1770,7 @@ ac_test_CFLAGS="${CFLAGS+set}" | ||||
| ac_save_CFLAGS="$CFLAGS" | ||||
| CFLAGS= | ||||
| echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | ||||
| echo "configure:1735: checking whether ${CC-cc} accepts -g" >&5 | ||||
| echo "configure:1774: checking whether ${CC-cc} accepts -g" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1774,7 +1813,7 @@ ac_prog=ld | ||||
| if test "$ac_cv_prog_gcc" = yes; then | ||||
|   # Check if gcc -print-prog-name=ld gives a path. | ||||
|   echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 | ||||
| echo "configure:1778: checking for ld used by GCC" >&5 | ||||
| echo "configure:1817: checking for ld used by GCC" >&5 | ||||
|   ac_prog=`($CC -print-prog-name=ld) 2>&5` | ||||
|   case "$ac_prog" in | ||||
|     # Accept absolute paths. | ||||
| @@ -1798,10 +1837,10 @@ echo "configure:1778: checking for ld used by GCC" >&5 | ||||
|   esac | ||||
| elif test "$with_gnu_ld" = yes; then | ||||
|   echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 | ||||
| echo "configure:1802: checking for GNU ld" >&5 | ||||
| echo "configure:1841: checking for GNU ld" >&5 | ||||
| else | ||||
|   echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6 | ||||
| echo "configure:1805: checking for non-GNU ld" >&5 | ||||
| echo "configure:1844: checking for non-GNU ld" >&5 | ||||
| fi | ||||
| if eval "test \"`echo '$''{'ac_cv_path_LD'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| @@ -1836,7 +1875,7 @@ else | ||||
| fi | ||||
| test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; } | ||||
| echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6 | ||||
| echo "configure:1840: checking if the linker ($LD) is GNU ld" >&5 | ||||
| echo "configure:1879: checking if the linker ($LD) is GNU ld" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_gnu_ld'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1852,7 +1891,7 @@ echo "$ac_t""$ac_cv_prog_gnu_ld" 1>&6 | ||||
|  | ||||
|  | ||||
| echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6 | ||||
| echo "configure:1856: checking for BSD-compatible nm" >&5 | ||||
| echo "configure:1895: checking for BSD-compatible nm" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_path_NM'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1888,7 +1927,7 @@ NM="$ac_cv_path_NM" | ||||
| echo "$ac_t""$NM" 1>&6 | ||||
|  | ||||
| echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 | ||||
| echo "configure:1892: checking whether ln -s works" >&5 | ||||
| echo "configure:1931: checking whether ln -s works" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1932,8 +1971,8 @@ test x"$silent" = xyes && libtool_flags="$libtool_flags --silent" | ||||
| case "$host" in | ||||
| *-*-irix6*) | ||||
|   # Find out which ABI we are using. | ||||
|   echo '#line 1936 "configure"' > conftest.$ac_ext | ||||
|   if { (eval echo configure:1937: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | ||||
|   echo '#line 1975 "configure"' > conftest.$ac_ext | ||||
|   if { (eval echo configure:1976: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | ||||
|     case "`/usr/bin/file conftest.o`" in | ||||
|     *32-bit*) | ||||
|       LD="${LD-ld} -32" | ||||
| @@ -1954,19 +1993,19 @@ case "$host" in | ||||
|   SAVE_CFLAGS="$CFLAGS" | ||||
|   CFLAGS="$CFLAGS -belf" | ||||
|   echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6 | ||||
| echo "configure:1958: checking whether the C compiler needs -belf" >&5 | ||||
| echo "configure:1997: checking whether the C compiler needs -belf" >&5 | ||||
| if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
|   cat > conftest.$ac_ext <<EOF | ||||
| #line 1963 "configure" | ||||
| #line 2002 "configure" | ||||
| #include "confdefs.h" | ||||
|  | ||||
| int main() { | ||||
|  | ||||
| ; return 0; } | ||||
| EOF | ||||
| if { (eval echo configure:1970: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | ||||
| if { (eval echo configure:2009: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | ||||
|   rm -rf conftest* | ||||
|   lt_cv_cc_needs_belf=yes | ||||
| else | ||||
| @@ -1989,7 +2028,7 @@ echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6 | ||||
|   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}dlltool; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1993: checking for $ac_word" >&5 | ||||
| echo "configure:2032: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -2021,7 +2060,7 @@ if test -n "$ac_tool_prefix"; then | ||||
|   # Extract the first word of "dlltool", so it can be a program name with args. | ||||
| set dummy dlltool; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:2025: checking for $ac_word" >&5 | ||||
| echo "configure:2064: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -2056,7 +2095,7 @@ fi | ||||
|   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}as; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:2060: checking for $ac_word" >&5 | ||||
| echo "configure:2099: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -2088,7 +2127,7 @@ if test -n "$ac_tool_prefix"; then | ||||
|   # Extract the first word of "as", so it can be a program name with args. | ||||
| set dummy as; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:2092: checking for $ac_word" >&5 | ||||
| echo "configure:2131: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -2123,7 +2162,7 @@ fi | ||||
|   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}objdump; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:2127: checking for $ac_word" >&5 | ||||
| echo "configure:2166: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_OBJDUMP'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -2155,7 +2194,7 @@ if test -n "$ac_tool_prefix"; then | ||||
|   # Extract the first word of "objdump", so it can be a program name with args. | ||||
| set dummy objdump; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:2159: checking for $ac_word" >&5 | ||||
| echo "configure:2198: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_OBJDUMP'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -2438,6 +2477,16 @@ s%@host_alias@%$host_alias%g | ||||
| s%@host_cpu@%$host_cpu%g | ||||
| s%@host_vendor@%$host_vendor%g | ||||
| s%@host_os@%$host_os%g | ||||
| s%@target@%$target%g | ||||
| s%@target_alias@%$target_alias%g | ||||
| s%@target_cpu@%$target_cpu%g | ||||
| s%@target_vendor@%$target_vendor%g | ||||
| s%@target_os@%$target_os%g | ||||
| s%@build@%$build%g | ||||
| s%@build_alias@%$build_alias%g | ||||
| s%@build_cpu@%$build_cpu%g | ||||
| s%@build_vendor@%$build_vendor%g | ||||
| s%@build_os@%$build_os%g | ||||
| s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g | ||||
| s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g | ||||
| s%@INSTALL_DATA@%$INSTALL_DATA%g | ||||
| @@ -2450,11 +2499,6 @@ s%@AUTOHEADER@%$AUTOHEADER%g | ||||
| s%@MAKEINFO@%$MAKEINFO%g | ||||
| s%@SET_MAKE@%$SET_MAKE%g | ||||
| s%@CC@%$CC%g | ||||
| s%@build@%$build%g | ||||
| s%@build_alias@%$build_alias%g | ||||
| s%@build_cpu@%$build_cpu%g | ||||
| s%@build_vendor@%$build_vendor%g | ||||
| s%@build_os@%$build_os%g | ||||
| s%@AS@%$AS%g | ||||
| s%@AR@%$AR%g | ||||
| s%@RANLIB@%$RANLIB%g | ||||
|   | ||||
| @@ -57,8 +57,12 @@ POST_INSTALL = : | ||||
| NORMAL_UNINSTALL = : | ||||
| PRE_UNINSTALL = : | ||||
| POST_UNINSTALL = : | ||||
| build_alias = @build_alias@ | ||||
| build_triplet = @build@ | ||||
| host_alias = @host_alias@ | ||||
| host_triplet = @host@ | ||||
| target_alias = @target_alias@ | ||||
| target_triplet = @target@ | ||||
| AR = @AR@ | ||||
| AS = @AS@ | ||||
| CC = @CC@ | ||||
|   | ||||
							
								
								
									
										8
									
								
								newlib/libc/machine/d10v/aclocal.m4
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								newlib/libc/machine/d10v/aclocal.m4
									
									
									
									
										vendored
									
									
								
							| @@ -82,7 +82,7 @@ else | ||||
| fi | ||||
| AC_SUBST(newlib_basedir) | ||||
|  | ||||
| AC_CANONICAL_HOST | ||||
| AC_CANONICAL_SYSTEM | ||||
|  | ||||
| AM_INIT_AUTOMAKE(newlib, 1.10.0) | ||||
|  | ||||
| @@ -126,12 +126,6 @@ fi | ||||
|  | ||||
| LIB_AC_PROG_CC | ||||
|  | ||||
| # AC_CHECK_TOOL does AC_REQUIRE (AC_CANONICAL_BUILD).  If we don't | ||||
| # run it explicitly here, it will be run implicitly before | ||||
| # NEWLIB_CONFIGURE, which doesn't work because that means that it will | ||||
| # be run before AC_CANONICAL_HOST. | ||||
| AC_CANONICAL_BUILD | ||||
|  | ||||
| AC_CHECK_TOOL(AS, as) | ||||
| AC_CHECK_TOOL(AR, ar) | ||||
| AC_CHECK_TOOL(RANLIB, ranlib, :) | ||||
|   | ||||
							
								
								
									
										138
									
								
								newlib/libc/machine/d10v/configure
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										138
									
								
								newlib/libc/machine/d10v/configure
									
									
									
									
										vendored
									
									
								
							| @@ -859,13 +859,34 @@ fi | ||||
|  | ||||
|  | ||||
|  | ||||
| # Do some error checking and defaulting for the host and target type. | ||||
| # The inputs are: | ||||
| #    configure --host=HOST --target=TARGET --build=BUILD NONOPT | ||||
| # | ||||
| # The rules are: | ||||
| # 1. You are not allowed to specify --host, --target, and nonopt at the | ||||
| #    same time. | ||||
| # 2. Host defaults to nonopt. | ||||
| # 3. If nonopt is not specified, then host defaults to the current host, | ||||
| #    as determined by config.guess. | ||||
| # 4. Target and build default to nonopt. | ||||
| # 5. If nonopt is not specified, then target and build default to host. | ||||
|  | ||||
| # The aliases save the names the user supplied, while $host etc. | ||||
| # will get canonicalized. | ||||
| case $host---$target---$nonopt in | ||||
| NONE---*---* | *---NONE---* | *---*---NONE) ;; | ||||
| *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;; | ||||
| esac | ||||
|  | ||||
|  | ||||
| # Make sure we can run config.sub. | ||||
| if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then : | ||||
| else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking host system type""... $ac_c" 1>&6 | ||||
| echo "configure:869: checking host system type" >&5 | ||||
| echo "configure:890: checking host system type" >&5 | ||||
|  | ||||
| host_alias=$host | ||||
| case "$host_alias" in | ||||
| @@ -885,6 +906,47 @@ host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$host" 1>&6 | ||||
|  | ||||
| echo $ac_n "checking target system type""... $ac_c" 1>&6 | ||||
| echo "configure:911: checking target system type" >&5 | ||||
|  | ||||
| target_alias=$target | ||||
| case "$target_alias" in | ||||
| NONE) | ||||
|   case $nonopt in | ||||
|   NONE) target_alias=$host_alias ;; | ||||
|   *) target_alias=$nonopt ;; | ||||
|   esac ;; | ||||
| esac | ||||
|  | ||||
| target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias` | ||||
| target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||||
| target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$target" 1>&6 | ||||
|  | ||||
| echo $ac_n "checking build system type""... $ac_c" 1>&6 | ||||
| echo "configure:929: checking build system type" >&5 | ||||
|  | ||||
| build_alias=$build | ||||
| case "$build_alias" in | ||||
| NONE) | ||||
|   case $nonopt in | ||||
|   NONE) build_alias=$host_alias ;; | ||||
|   *) build_alias=$nonopt ;; | ||||
|   esac ;; | ||||
| esac | ||||
|  | ||||
| build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias` | ||||
| build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||||
| build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$build" 1>&6 | ||||
|  | ||||
| test "$host_alias" != "$target_alias" && | ||||
|   test "$program_prefix$program_suffix$program_transform_name" = \ | ||||
|     NONENONEs,x,x, && | ||||
|   program_prefix=${target_alias}- | ||||
|  | ||||
|  | ||||
|  | ||||
| PACKAGE=newlib | ||||
| @@ -906,7 +968,7 @@ EOF | ||||
|  | ||||
| missing_dir=`cd $ac_aux_dir && pwd` | ||||
| echo $ac_n "checking for working aclocal""... $ac_c" 1>&6 | ||||
| echo "configure:910: checking for working aclocal" >&5 | ||||
| echo "configure:972: checking for working aclocal" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -919,7 +981,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 | ||||
| echo "configure:923: checking for working autoconf" >&5 | ||||
| echo "configure:985: checking for working autoconf" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -932,7 +994,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working automake""... $ac_c" 1>&6 | ||||
| echo "configure:936: checking for working automake" >&5 | ||||
| echo "configure:998: checking for working automake" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -945,7 +1007,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 | ||||
| echo "configure:949: checking for working autoheader" >&5 | ||||
| echo "configure:1011: checking for working autoheader" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -958,7 +1020,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 | ||||
| echo "configure:962: checking for working makeinfo" >&5 | ||||
| echo "configure:1024: checking for working makeinfo" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -983,7 +1045,7 @@ fi | ||||
| # Extract the first word of "gcc", so it can be a program name with args. | ||||
| set dummy gcc; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:987: checking for $ac_word" >&5 | ||||
| echo "configure:1049: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1013,7 +1075,7 @@ if test -z "$CC"; then | ||||
|   # Extract the first word of "cc", so it can be a program name with args. | ||||
| set dummy cc; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1017: checking for $ac_word" >&5 | ||||
| echo "configure:1079: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1062,7 +1124,7 @@ fi | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | ||||
| echo "configure:1066: checking whether we are using GNU C" >&5 | ||||
| echo "configure:1128: checking whether we are using GNU C" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1071,7 +1133,7 @@ else | ||||
|   yes; | ||||
| #endif | ||||
| EOF | ||||
| if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1075: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | ||||
| if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1137: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | ||||
|   ac_cv_prog_gcc=yes | ||||
| else | ||||
|   ac_cv_prog_gcc=no | ||||
| @@ -1086,7 +1148,7 @@ if test $ac_cv_prog_gcc = yes; then | ||||
|   ac_save_CFLAGS="$CFLAGS" | ||||
|   CFLAGS= | ||||
|   echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | ||||
| echo "configure:1090: checking whether ${CC-cc} accepts -g" >&5 | ||||
| echo "configure:1152: checking whether ${CC-cc} accepts -g" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1114,33 +1176,10 @@ else | ||||
| fi | ||||
|  | ||||
|  | ||||
| # AC_CHECK_TOOL does AC_REQUIRE (AC_CANONICAL_BUILD).  If we don't | ||||
| # run it explicitly here, it will be run implicitly before | ||||
| # NEWLIB_CONFIGURE, which doesn't work because that means that it will | ||||
| # be run before AC_CANONICAL_HOST. | ||||
| echo $ac_n "checking build system type""... $ac_c" 1>&6 | ||||
| echo "configure:1123: checking build system type" >&5 | ||||
|  | ||||
| build_alias=$build | ||||
| case "$build_alias" in | ||||
| NONE) | ||||
|   case $nonopt in | ||||
|   NONE) build_alias=$host_alias ;; | ||||
|   *) build_alias=$nonopt ;; | ||||
|   esac ;; | ||||
| esac | ||||
|  | ||||
| build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias` | ||||
| build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||||
| build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$build" 1>&6 | ||||
|  | ||||
|  | ||||
| # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}as; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1144: checking for $ac_word" >&5 | ||||
| echo "configure:1183: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1172,7 +1211,7 @@ fi | ||||
| # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}ar; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1176: checking for $ac_word" >&5 | ||||
| echo "configure:1215: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1204,7 +1243,7 @@ fi | ||||
| # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}ranlib; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1208: checking for $ac_word" >&5 | ||||
| echo "configure:1247: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1236,7 +1275,7 @@ if test -n "$ac_tool_prefix"; then | ||||
|   # Extract the first word of "ranlib", so it can be a program name with args. | ||||
| set dummy ranlib; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1240: checking for $ac_word" >&5 | ||||
| echo "configure:1279: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1281,7 +1320,7 @@ fi | ||||
| # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | ||||
| # ./install, which can be erroneously created by make from ./install.sh. | ||||
| echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | ||||
| echo "configure:1285: checking for a BSD compatible install" >&5 | ||||
| echo "configure:1324: checking for a BSD compatible install" >&5 | ||||
| if test -z "$INSTALL"; then | ||||
| if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| @@ -1335,7 +1374,7 @@ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | ||||
|  | ||||
|  | ||||
| echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6 | ||||
| echo "configure:1339: checking whether to enable maintainer-specific portions of Makefiles" >&5 | ||||
| echo "configure:1378: checking whether to enable maintainer-specific portions of Makefiles" >&5 | ||||
|     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. | ||||
| if test "${enable_maintainer_mode+set}" = set; then | ||||
|   enableval="$enable_maintainer_mode" | ||||
| @@ -1369,7 +1408,7 @@ if false; then | ||||
|    | ||||
|  | ||||
| echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 | ||||
| echo "configure:1373: checking for executable suffix" >&5 | ||||
| echo "configure:1412: checking for executable suffix" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1379,7 +1418,7 @@ else | ||||
|   rm -f conftest* | ||||
|   echo 'int main () { return 0; }' > conftest.$ac_ext | ||||
|   ac_cv_exeext= | ||||
|   if { (eval echo configure:1383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then | ||||
|   if { (eval echo configure:1422: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then | ||||
|     for file in conftest.*; do | ||||
|       case $file in | ||||
|       *.c | *.o | *.obj | *.ilk | *.pdb) ;; | ||||
| @@ -1579,6 +1618,16 @@ s%@host_alias@%$host_alias%g | ||||
| s%@host_cpu@%$host_cpu%g | ||||
| s%@host_vendor@%$host_vendor%g | ||||
| s%@host_os@%$host_os%g | ||||
| s%@target@%$target%g | ||||
| s%@target_alias@%$target_alias%g | ||||
| s%@target_cpu@%$target_cpu%g | ||||
| s%@target_vendor@%$target_vendor%g | ||||
| s%@target_os@%$target_os%g | ||||
| s%@build@%$build%g | ||||
| s%@build_alias@%$build_alias%g | ||||
| s%@build_cpu@%$build_cpu%g | ||||
| s%@build_vendor@%$build_vendor%g | ||||
| s%@build_os@%$build_os%g | ||||
| s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g | ||||
| s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g | ||||
| s%@INSTALL_DATA@%$INSTALL_DATA%g | ||||
| @@ -1591,11 +1640,6 @@ s%@AUTOHEADER@%$AUTOHEADER%g | ||||
| s%@MAKEINFO@%$MAKEINFO%g | ||||
| s%@SET_MAKE@%$SET_MAKE%g | ||||
| s%@CC@%$CC%g | ||||
| s%@build@%$build%g | ||||
| s%@build_alias@%$build_alias%g | ||||
| s%@build_cpu@%$build_cpu%g | ||||
| s%@build_vendor@%$build_vendor%g | ||||
| s%@build_os@%$build_os%g | ||||
| s%@AS@%$AS%g | ||||
| s%@AR@%$AR%g | ||||
| s%@RANLIB@%$RANLIB%g | ||||
|   | ||||
| @@ -57,8 +57,12 @@ POST_INSTALL = : | ||||
| NORMAL_UNINSTALL = : | ||||
| PRE_UNINSTALL = : | ||||
| POST_UNINSTALL = : | ||||
| build_alias = @build_alias@ | ||||
| build_triplet = @build@ | ||||
| host_alias = @host_alias@ | ||||
| host_triplet = @host@ | ||||
| target_alias = @target_alias@ | ||||
| target_triplet = @target@ | ||||
| AR = @AR@ | ||||
| AS = @AS@ | ||||
| CC = @CC@ | ||||
|   | ||||
							
								
								
									
										8
									
								
								newlib/libc/machine/d30v/aclocal.m4
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								newlib/libc/machine/d30v/aclocal.m4
									
									
									
									
										vendored
									
									
								
							| @@ -82,7 +82,7 @@ else | ||||
| fi | ||||
| AC_SUBST(newlib_basedir) | ||||
|  | ||||
| AC_CANONICAL_HOST | ||||
| AC_CANONICAL_SYSTEM | ||||
|  | ||||
| AM_INIT_AUTOMAKE(newlib, 1.10.0) | ||||
|  | ||||
| @@ -126,12 +126,6 @@ fi | ||||
|  | ||||
| LIB_AC_PROG_CC | ||||
|  | ||||
| # AC_CHECK_TOOL does AC_REQUIRE (AC_CANONICAL_BUILD).  If we don't | ||||
| # run it explicitly here, it will be run implicitly before | ||||
| # NEWLIB_CONFIGURE, which doesn't work because that means that it will | ||||
| # be run before AC_CANONICAL_HOST. | ||||
| AC_CANONICAL_BUILD | ||||
|  | ||||
| AC_CHECK_TOOL(AS, as) | ||||
| AC_CHECK_TOOL(AR, ar) | ||||
| AC_CHECK_TOOL(RANLIB, ranlib, :) | ||||
|   | ||||
							
								
								
									
										138
									
								
								newlib/libc/machine/d30v/configure
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										138
									
								
								newlib/libc/machine/d30v/configure
									
									
									
									
										vendored
									
									
								
							| @@ -859,13 +859,34 @@ fi | ||||
|  | ||||
|  | ||||
|  | ||||
| # Do some error checking and defaulting for the host and target type. | ||||
| # The inputs are: | ||||
| #    configure --host=HOST --target=TARGET --build=BUILD NONOPT | ||||
| # | ||||
| # The rules are: | ||||
| # 1. You are not allowed to specify --host, --target, and nonopt at the | ||||
| #    same time. | ||||
| # 2. Host defaults to nonopt. | ||||
| # 3. If nonopt is not specified, then host defaults to the current host, | ||||
| #    as determined by config.guess. | ||||
| # 4. Target and build default to nonopt. | ||||
| # 5. If nonopt is not specified, then target and build default to host. | ||||
|  | ||||
| # The aliases save the names the user supplied, while $host etc. | ||||
| # will get canonicalized. | ||||
| case $host---$target---$nonopt in | ||||
| NONE---*---* | *---NONE---* | *---*---NONE) ;; | ||||
| *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;; | ||||
| esac | ||||
|  | ||||
|  | ||||
| # Make sure we can run config.sub. | ||||
| if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then : | ||||
| else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking host system type""... $ac_c" 1>&6 | ||||
| echo "configure:869: checking host system type" >&5 | ||||
| echo "configure:890: checking host system type" >&5 | ||||
|  | ||||
| host_alias=$host | ||||
| case "$host_alias" in | ||||
| @@ -885,6 +906,47 @@ host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$host" 1>&6 | ||||
|  | ||||
| echo $ac_n "checking target system type""... $ac_c" 1>&6 | ||||
| echo "configure:911: checking target system type" >&5 | ||||
|  | ||||
| target_alias=$target | ||||
| case "$target_alias" in | ||||
| NONE) | ||||
|   case $nonopt in | ||||
|   NONE) target_alias=$host_alias ;; | ||||
|   *) target_alias=$nonopt ;; | ||||
|   esac ;; | ||||
| esac | ||||
|  | ||||
| target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias` | ||||
| target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||||
| target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$target" 1>&6 | ||||
|  | ||||
| echo $ac_n "checking build system type""... $ac_c" 1>&6 | ||||
| echo "configure:929: checking build system type" >&5 | ||||
|  | ||||
| build_alias=$build | ||||
| case "$build_alias" in | ||||
| NONE) | ||||
|   case $nonopt in | ||||
|   NONE) build_alias=$host_alias ;; | ||||
|   *) build_alias=$nonopt ;; | ||||
|   esac ;; | ||||
| esac | ||||
|  | ||||
| build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias` | ||||
| build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||||
| build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$build" 1>&6 | ||||
|  | ||||
| test "$host_alias" != "$target_alias" && | ||||
|   test "$program_prefix$program_suffix$program_transform_name" = \ | ||||
|     NONENONEs,x,x, && | ||||
|   program_prefix=${target_alias}- | ||||
|  | ||||
|  | ||||
|  | ||||
| PACKAGE=newlib | ||||
| @@ -906,7 +968,7 @@ EOF | ||||
|  | ||||
| missing_dir=`cd $ac_aux_dir && pwd` | ||||
| echo $ac_n "checking for working aclocal""... $ac_c" 1>&6 | ||||
| echo "configure:910: checking for working aclocal" >&5 | ||||
| echo "configure:972: checking for working aclocal" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -919,7 +981,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 | ||||
| echo "configure:923: checking for working autoconf" >&5 | ||||
| echo "configure:985: checking for working autoconf" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -932,7 +994,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working automake""... $ac_c" 1>&6 | ||||
| echo "configure:936: checking for working automake" >&5 | ||||
| echo "configure:998: checking for working automake" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -945,7 +1007,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 | ||||
| echo "configure:949: checking for working autoheader" >&5 | ||||
| echo "configure:1011: checking for working autoheader" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -958,7 +1020,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 | ||||
| echo "configure:962: checking for working makeinfo" >&5 | ||||
| echo "configure:1024: checking for working makeinfo" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -983,7 +1045,7 @@ fi | ||||
| # Extract the first word of "gcc", so it can be a program name with args. | ||||
| set dummy gcc; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:987: checking for $ac_word" >&5 | ||||
| echo "configure:1049: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1013,7 +1075,7 @@ if test -z "$CC"; then | ||||
|   # Extract the first word of "cc", so it can be a program name with args. | ||||
| set dummy cc; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1017: checking for $ac_word" >&5 | ||||
| echo "configure:1079: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1062,7 +1124,7 @@ fi | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | ||||
| echo "configure:1066: checking whether we are using GNU C" >&5 | ||||
| echo "configure:1128: checking whether we are using GNU C" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1071,7 +1133,7 @@ else | ||||
|   yes; | ||||
| #endif | ||||
| EOF | ||||
| if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1075: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | ||||
| if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1137: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | ||||
|   ac_cv_prog_gcc=yes | ||||
| else | ||||
|   ac_cv_prog_gcc=no | ||||
| @@ -1086,7 +1148,7 @@ if test $ac_cv_prog_gcc = yes; then | ||||
|   ac_save_CFLAGS="$CFLAGS" | ||||
|   CFLAGS= | ||||
|   echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | ||||
| echo "configure:1090: checking whether ${CC-cc} accepts -g" >&5 | ||||
| echo "configure:1152: checking whether ${CC-cc} accepts -g" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1114,33 +1176,10 @@ else | ||||
| fi | ||||
|  | ||||
|  | ||||
| # AC_CHECK_TOOL does AC_REQUIRE (AC_CANONICAL_BUILD).  If we don't | ||||
| # run it explicitly here, it will be run implicitly before | ||||
| # NEWLIB_CONFIGURE, which doesn't work because that means that it will | ||||
| # be run before AC_CANONICAL_HOST. | ||||
| echo $ac_n "checking build system type""... $ac_c" 1>&6 | ||||
| echo "configure:1123: checking build system type" >&5 | ||||
|  | ||||
| build_alias=$build | ||||
| case "$build_alias" in | ||||
| NONE) | ||||
|   case $nonopt in | ||||
|   NONE) build_alias=$host_alias ;; | ||||
|   *) build_alias=$nonopt ;; | ||||
|   esac ;; | ||||
| esac | ||||
|  | ||||
| build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias` | ||||
| build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||||
| build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$build" 1>&6 | ||||
|  | ||||
|  | ||||
| # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}as; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1144: checking for $ac_word" >&5 | ||||
| echo "configure:1183: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1172,7 +1211,7 @@ fi | ||||
| # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}ar; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1176: checking for $ac_word" >&5 | ||||
| echo "configure:1215: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1204,7 +1243,7 @@ fi | ||||
| # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}ranlib; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1208: checking for $ac_word" >&5 | ||||
| echo "configure:1247: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1236,7 +1275,7 @@ if test -n "$ac_tool_prefix"; then | ||||
|   # Extract the first word of "ranlib", so it can be a program name with args. | ||||
| set dummy ranlib; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1240: checking for $ac_word" >&5 | ||||
| echo "configure:1279: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1281,7 +1320,7 @@ fi | ||||
| # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | ||||
| # ./install, which can be erroneously created by make from ./install.sh. | ||||
| echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | ||||
| echo "configure:1285: checking for a BSD compatible install" >&5 | ||||
| echo "configure:1324: checking for a BSD compatible install" >&5 | ||||
| if test -z "$INSTALL"; then | ||||
| if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| @@ -1335,7 +1374,7 @@ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | ||||
|  | ||||
|  | ||||
| echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6 | ||||
| echo "configure:1339: checking whether to enable maintainer-specific portions of Makefiles" >&5 | ||||
| echo "configure:1378: checking whether to enable maintainer-specific portions of Makefiles" >&5 | ||||
|     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. | ||||
| if test "${enable_maintainer_mode+set}" = set; then | ||||
|   enableval="$enable_maintainer_mode" | ||||
| @@ -1369,7 +1408,7 @@ if false; then | ||||
|    | ||||
|  | ||||
| echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 | ||||
| echo "configure:1373: checking for executable suffix" >&5 | ||||
| echo "configure:1412: checking for executable suffix" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1379,7 +1418,7 @@ else | ||||
|   rm -f conftest* | ||||
|   echo 'int main () { return 0; }' > conftest.$ac_ext | ||||
|   ac_cv_exeext= | ||||
|   if { (eval echo configure:1383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then | ||||
|   if { (eval echo configure:1422: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then | ||||
|     for file in conftest.*; do | ||||
|       case $file in | ||||
|       *.c | *.o | *.obj | *.ilk | *.pdb) ;; | ||||
| @@ -1579,6 +1618,16 @@ s%@host_alias@%$host_alias%g | ||||
| s%@host_cpu@%$host_cpu%g | ||||
| s%@host_vendor@%$host_vendor%g | ||||
| s%@host_os@%$host_os%g | ||||
| s%@target@%$target%g | ||||
| s%@target_alias@%$target_alias%g | ||||
| s%@target_cpu@%$target_cpu%g | ||||
| s%@target_vendor@%$target_vendor%g | ||||
| s%@target_os@%$target_os%g | ||||
| s%@build@%$build%g | ||||
| s%@build_alias@%$build_alias%g | ||||
| s%@build_cpu@%$build_cpu%g | ||||
| s%@build_vendor@%$build_vendor%g | ||||
| s%@build_os@%$build_os%g | ||||
| s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g | ||||
| s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g | ||||
| s%@INSTALL_DATA@%$INSTALL_DATA%g | ||||
| @@ -1591,11 +1640,6 @@ s%@AUTOHEADER@%$AUTOHEADER%g | ||||
| s%@MAKEINFO@%$MAKEINFO%g | ||||
| s%@SET_MAKE@%$SET_MAKE%g | ||||
| s%@CC@%$CC%g | ||||
| s%@build@%$build%g | ||||
| s%@build_alias@%$build_alias%g | ||||
| s%@build_cpu@%$build_cpu%g | ||||
| s%@build_vendor@%$build_vendor%g | ||||
| s%@build_os@%$build_os%g | ||||
| s%@AS@%$AS%g | ||||
| s%@AR@%$AR%g | ||||
| s%@RANLIB@%$RANLIB%g | ||||
|   | ||||
| @@ -57,8 +57,12 @@ POST_INSTALL = : | ||||
| NORMAL_UNINSTALL = : | ||||
| PRE_UNINSTALL = : | ||||
| POST_UNINSTALL = : | ||||
| build_alias = @build_alias@ | ||||
| build_triplet = @build@ | ||||
| host_alias = @host_alias@ | ||||
| host_triplet = @host@ | ||||
| target_alias = @target_alias@ | ||||
| target_triplet = @target@ | ||||
| AR = @AR@ | ||||
| AS = @AS@ | ||||
| CC = @CC@ | ||||
|   | ||||
							
								
								
									
										8
									
								
								newlib/libc/machine/fr30/aclocal.m4
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								newlib/libc/machine/fr30/aclocal.m4
									
									
									
									
										vendored
									
									
								
							| @@ -82,7 +82,7 @@ else | ||||
| fi | ||||
| AC_SUBST(newlib_basedir) | ||||
|  | ||||
| AC_CANONICAL_HOST | ||||
| AC_CANONICAL_SYSTEM | ||||
|  | ||||
| AM_INIT_AUTOMAKE(newlib, 1.10.0) | ||||
|  | ||||
| @@ -126,12 +126,6 @@ fi | ||||
|  | ||||
| LIB_AC_PROG_CC | ||||
|  | ||||
| # AC_CHECK_TOOL does AC_REQUIRE (AC_CANONICAL_BUILD).  If we don't | ||||
| # run it explicitly here, it will be run implicitly before | ||||
| # NEWLIB_CONFIGURE, which doesn't work because that means that it will | ||||
| # be run before AC_CANONICAL_HOST. | ||||
| AC_CANONICAL_BUILD | ||||
|  | ||||
| AC_CHECK_TOOL(AS, as) | ||||
| AC_CHECK_TOOL(AR, ar) | ||||
| AC_CHECK_TOOL(RANLIB, ranlib, :) | ||||
|   | ||||
							
								
								
									
										138
									
								
								newlib/libc/machine/fr30/configure
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										138
									
								
								newlib/libc/machine/fr30/configure
									
									
									
									
										vendored
									
									
								
							| @@ -859,13 +859,34 @@ fi | ||||
|  | ||||
|  | ||||
|  | ||||
| # Do some error checking and defaulting for the host and target type. | ||||
| # The inputs are: | ||||
| #    configure --host=HOST --target=TARGET --build=BUILD NONOPT | ||||
| # | ||||
| # The rules are: | ||||
| # 1. You are not allowed to specify --host, --target, and nonopt at the | ||||
| #    same time. | ||||
| # 2. Host defaults to nonopt. | ||||
| # 3. If nonopt is not specified, then host defaults to the current host, | ||||
| #    as determined by config.guess. | ||||
| # 4. Target and build default to nonopt. | ||||
| # 5. If nonopt is not specified, then target and build default to host. | ||||
|  | ||||
| # The aliases save the names the user supplied, while $host etc. | ||||
| # will get canonicalized. | ||||
| case $host---$target---$nonopt in | ||||
| NONE---*---* | *---NONE---* | *---*---NONE) ;; | ||||
| *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;; | ||||
| esac | ||||
|  | ||||
|  | ||||
| # Make sure we can run config.sub. | ||||
| if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then : | ||||
| else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking host system type""... $ac_c" 1>&6 | ||||
| echo "configure:869: checking host system type" >&5 | ||||
| echo "configure:890: checking host system type" >&5 | ||||
|  | ||||
| host_alias=$host | ||||
| case "$host_alias" in | ||||
| @@ -885,6 +906,47 @@ host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$host" 1>&6 | ||||
|  | ||||
| echo $ac_n "checking target system type""... $ac_c" 1>&6 | ||||
| echo "configure:911: checking target system type" >&5 | ||||
|  | ||||
| target_alias=$target | ||||
| case "$target_alias" in | ||||
| NONE) | ||||
|   case $nonopt in | ||||
|   NONE) target_alias=$host_alias ;; | ||||
|   *) target_alias=$nonopt ;; | ||||
|   esac ;; | ||||
| esac | ||||
|  | ||||
| target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias` | ||||
| target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||||
| target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$target" 1>&6 | ||||
|  | ||||
| echo $ac_n "checking build system type""... $ac_c" 1>&6 | ||||
| echo "configure:929: checking build system type" >&5 | ||||
|  | ||||
| build_alias=$build | ||||
| case "$build_alias" in | ||||
| NONE) | ||||
|   case $nonopt in | ||||
|   NONE) build_alias=$host_alias ;; | ||||
|   *) build_alias=$nonopt ;; | ||||
|   esac ;; | ||||
| esac | ||||
|  | ||||
| build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias` | ||||
| build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||||
| build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$build" 1>&6 | ||||
|  | ||||
| test "$host_alias" != "$target_alias" && | ||||
|   test "$program_prefix$program_suffix$program_transform_name" = \ | ||||
|     NONENONEs,x,x, && | ||||
|   program_prefix=${target_alias}- | ||||
|  | ||||
|  | ||||
|  | ||||
| PACKAGE=newlib | ||||
| @@ -906,7 +968,7 @@ EOF | ||||
|  | ||||
| missing_dir=`cd $ac_aux_dir && pwd` | ||||
| echo $ac_n "checking for working aclocal""... $ac_c" 1>&6 | ||||
| echo "configure:910: checking for working aclocal" >&5 | ||||
| echo "configure:972: checking for working aclocal" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -919,7 +981,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 | ||||
| echo "configure:923: checking for working autoconf" >&5 | ||||
| echo "configure:985: checking for working autoconf" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -932,7 +994,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working automake""... $ac_c" 1>&6 | ||||
| echo "configure:936: checking for working automake" >&5 | ||||
| echo "configure:998: checking for working automake" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -945,7 +1007,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 | ||||
| echo "configure:949: checking for working autoheader" >&5 | ||||
| echo "configure:1011: checking for working autoheader" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -958,7 +1020,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 | ||||
| echo "configure:962: checking for working makeinfo" >&5 | ||||
| echo "configure:1024: checking for working makeinfo" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -983,7 +1045,7 @@ fi | ||||
| # Extract the first word of "gcc", so it can be a program name with args. | ||||
| set dummy gcc; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:987: checking for $ac_word" >&5 | ||||
| echo "configure:1049: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1013,7 +1075,7 @@ if test -z "$CC"; then | ||||
|   # Extract the first word of "cc", so it can be a program name with args. | ||||
| set dummy cc; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1017: checking for $ac_word" >&5 | ||||
| echo "configure:1079: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1062,7 +1124,7 @@ fi | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | ||||
| echo "configure:1066: checking whether we are using GNU C" >&5 | ||||
| echo "configure:1128: checking whether we are using GNU C" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1071,7 +1133,7 @@ else | ||||
|   yes; | ||||
| #endif | ||||
| EOF | ||||
| if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1075: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | ||||
| if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1137: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | ||||
|   ac_cv_prog_gcc=yes | ||||
| else | ||||
|   ac_cv_prog_gcc=no | ||||
| @@ -1086,7 +1148,7 @@ if test $ac_cv_prog_gcc = yes; then | ||||
|   ac_save_CFLAGS="$CFLAGS" | ||||
|   CFLAGS= | ||||
|   echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | ||||
| echo "configure:1090: checking whether ${CC-cc} accepts -g" >&5 | ||||
| echo "configure:1152: checking whether ${CC-cc} accepts -g" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1114,33 +1176,10 @@ else | ||||
| fi | ||||
|  | ||||
|  | ||||
| # AC_CHECK_TOOL does AC_REQUIRE (AC_CANONICAL_BUILD).  If we don't | ||||
| # run it explicitly here, it will be run implicitly before | ||||
| # NEWLIB_CONFIGURE, which doesn't work because that means that it will | ||||
| # be run before AC_CANONICAL_HOST. | ||||
| echo $ac_n "checking build system type""... $ac_c" 1>&6 | ||||
| echo "configure:1123: checking build system type" >&5 | ||||
|  | ||||
| build_alias=$build | ||||
| case "$build_alias" in | ||||
| NONE) | ||||
|   case $nonopt in | ||||
|   NONE) build_alias=$host_alias ;; | ||||
|   *) build_alias=$nonopt ;; | ||||
|   esac ;; | ||||
| esac | ||||
|  | ||||
| build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias` | ||||
| build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||||
| build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$build" 1>&6 | ||||
|  | ||||
|  | ||||
| # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}as; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1144: checking for $ac_word" >&5 | ||||
| echo "configure:1183: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1172,7 +1211,7 @@ fi | ||||
| # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}ar; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1176: checking for $ac_word" >&5 | ||||
| echo "configure:1215: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1204,7 +1243,7 @@ fi | ||||
| # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}ranlib; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1208: checking for $ac_word" >&5 | ||||
| echo "configure:1247: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1236,7 +1275,7 @@ if test -n "$ac_tool_prefix"; then | ||||
|   # Extract the first word of "ranlib", so it can be a program name with args. | ||||
| set dummy ranlib; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1240: checking for $ac_word" >&5 | ||||
| echo "configure:1279: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1281,7 +1320,7 @@ fi | ||||
| # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | ||||
| # ./install, which can be erroneously created by make from ./install.sh. | ||||
| echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | ||||
| echo "configure:1285: checking for a BSD compatible install" >&5 | ||||
| echo "configure:1324: checking for a BSD compatible install" >&5 | ||||
| if test -z "$INSTALL"; then | ||||
| if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| @@ -1335,7 +1374,7 @@ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | ||||
|  | ||||
|  | ||||
| echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6 | ||||
| echo "configure:1339: checking whether to enable maintainer-specific portions of Makefiles" >&5 | ||||
| echo "configure:1378: checking whether to enable maintainer-specific portions of Makefiles" >&5 | ||||
|     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. | ||||
| if test "${enable_maintainer_mode+set}" = set; then | ||||
|   enableval="$enable_maintainer_mode" | ||||
| @@ -1369,7 +1408,7 @@ if false; then | ||||
|    | ||||
|  | ||||
| echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 | ||||
| echo "configure:1373: checking for executable suffix" >&5 | ||||
| echo "configure:1412: checking for executable suffix" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1379,7 +1418,7 @@ else | ||||
|   rm -f conftest* | ||||
|   echo 'int main () { return 0; }' > conftest.$ac_ext | ||||
|   ac_cv_exeext= | ||||
|   if { (eval echo configure:1383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then | ||||
|   if { (eval echo configure:1422: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then | ||||
|     for file in conftest.*; do | ||||
|       case $file in | ||||
|       *.c | *.o | *.obj | *.ilk | *.pdb) ;; | ||||
| @@ -1579,6 +1618,16 @@ s%@host_alias@%$host_alias%g | ||||
| s%@host_cpu@%$host_cpu%g | ||||
| s%@host_vendor@%$host_vendor%g | ||||
| s%@host_os@%$host_os%g | ||||
| s%@target@%$target%g | ||||
| s%@target_alias@%$target_alias%g | ||||
| s%@target_cpu@%$target_cpu%g | ||||
| s%@target_vendor@%$target_vendor%g | ||||
| s%@target_os@%$target_os%g | ||||
| s%@build@%$build%g | ||||
| s%@build_alias@%$build_alias%g | ||||
| s%@build_cpu@%$build_cpu%g | ||||
| s%@build_vendor@%$build_vendor%g | ||||
| s%@build_os@%$build_os%g | ||||
| s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g | ||||
| s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g | ||||
| s%@INSTALL_DATA@%$INSTALL_DATA%g | ||||
| @@ -1591,11 +1640,6 @@ s%@AUTOHEADER@%$AUTOHEADER%g | ||||
| s%@MAKEINFO@%$MAKEINFO%g | ||||
| s%@SET_MAKE@%$SET_MAKE%g | ||||
| s%@CC@%$CC%g | ||||
| s%@build@%$build%g | ||||
| s%@build_alias@%$build_alias%g | ||||
| s%@build_cpu@%$build_cpu%g | ||||
| s%@build_vendor@%$build_vendor%g | ||||
| s%@build_os@%$build_os%g | ||||
| s%@AS@%$AS%g | ||||
| s%@AR@%$AR%g | ||||
| s%@RANLIB@%$RANLIB%g | ||||
|   | ||||
| @@ -57,8 +57,12 @@ POST_INSTALL = : | ||||
| NORMAL_UNINSTALL = : | ||||
| PRE_UNINSTALL = : | ||||
| POST_UNINSTALL = : | ||||
| build_alias = @build_alias@ | ||||
| build_triplet = @build@ | ||||
| host_alias = @host_alias@ | ||||
| host_triplet = @host@ | ||||
| target_alias = @target_alias@ | ||||
| target_triplet = @target@ | ||||
| AR = @AR@ | ||||
| AS = @AS@ | ||||
| CC = @CC@ | ||||
|   | ||||
							
								
								
									
										8
									
								
								newlib/libc/machine/h8300/aclocal.m4
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								newlib/libc/machine/h8300/aclocal.m4
									
									
									
									
										vendored
									
									
								
							| @@ -82,7 +82,7 @@ else | ||||
| fi | ||||
| AC_SUBST(newlib_basedir) | ||||
|  | ||||
| AC_CANONICAL_HOST | ||||
| AC_CANONICAL_SYSTEM | ||||
|  | ||||
| AM_INIT_AUTOMAKE(newlib, 1.10.0) | ||||
|  | ||||
| @@ -126,12 +126,6 @@ fi | ||||
|  | ||||
| LIB_AC_PROG_CC | ||||
|  | ||||
| # AC_CHECK_TOOL does AC_REQUIRE (AC_CANONICAL_BUILD).  If we don't | ||||
| # run it explicitly here, it will be run implicitly before | ||||
| # NEWLIB_CONFIGURE, which doesn't work because that means that it will | ||||
| # be run before AC_CANONICAL_HOST. | ||||
| AC_CANONICAL_BUILD | ||||
|  | ||||
| AC_CHECK_TOOL(AS, as) | ||||
| AC_CHECK_TOOL(AR, ar) | ||||
| AC_CHECK_TOOL(RANLIB, ranlib, :) | ||||
|   | ||||
							
								
								
									
										138
									
								
								newlib/libc/machine/h8300/configure
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										138
									
								
								newlib/libc/machine/h8300/configure
									
									
									
									
										vendored
									
									
								
							| @@ -859,13 +859,34 @@ fi | ||||
|  | ||||
|  | ||||
|  | ||||
| # Do some error checking and defaulting for the host and target type. | ||||
| # The inputs are: | ||||
| #    configure --host=HOST --target=TARGET --build=BUILD NONOPT | ||||
| # | ||||
| # The rules are: | ||||
| # 1. You are not allowed to specify --host, --target, and nonopt at the | ||||
| #    same time. | ||||
| # 2. Host defaults to nonopt. | ||||
| # 3. If nonopt is not specified, then host defaults to the current host, | ||||
| #    as determined by config.guess. | ||||
| # 4. Target and build default to nonopt. | ||||
| # 5. If nonopt is not specified, then target and build default to host. | ||||
|  | ||||
| # The aliases save the names the user supplied, while $host etc. | ||||
| # will get canonicalized. | ||||
| case $host---$target---$nonopt in | ||||
| NONE---*---* | *---NONE---* | *---*---NONE) ;; | ||||
| *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;; | ||||
| esac | ||||
|  | ||||
|  | ||||
| # Make sure we can run config.sub. | ||||
| if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then : | ||||
| else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking host system type""... $ac_c" 1>&6 | ||||
| echo "configure:869: checking host system type" >&5 | ||||
| echo "configure:890: checking host system type" >&5 | ||||
|  | ||||
| host_alias=$host | ||||
| case "$host_alias" in | ||||
| @@ -885,6 +906,47 @@ host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$host" 1>&6 | ||||
|  | ||||
| echo $ac_n "checking target system type""... $ac_c" 1>&6 | ||||
| echo "configure:911: checking target system type" >&5 | ||||
|  | ||||
| target_alias=$target | ||||
| case "$target_alias" in | ||||
| NONE) | ||||
|   case $nonopt in | ||||
|   NONE) target_alias=$host_alias ;; | ||||
|   *) target_alias=$nonopt ;; | ||||
|   esac ;; | ||||
| esac | ||||
|  | ||||
| target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias` | ||||
| target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||||
| target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$target" 1>&6 | ||||
|  | ||||
| echo $ac_n "checking build system type""... $ac_c" 1>&6 | ||||
| echo "configure:929: checking build system type" >&5 | ||||
|  | ||||
| build_alias=$build | ||||
| case "$build_alias" in | ||||
| NONE) | ||||
|   case $nonopt in | ||||
|   NONE) build_alias=$host_alias ;; | ||||
|   *) build_alias=$nonopt ;; | ||||
|   esac ;; | ||||
| esac | ||||
|  | ||||
| build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias` | ||||
| build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||||
| build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$build" 1>&6 | ||||
|  | ||||
| test "$host_alias" != "$target_alias" && | ||||
|   test "$program_prefix$program_suffix$program_transform_name" = \ | ||||
|     NONENONEs,x,x, && | ||||
|   program_prefix=${target_alias}- | ||||
|  | ||||
|  | ||||
|  | ||||
| PACKAGE=newlib | ||||
| @@ -906,7 +968,7 @@ EOF | ||||
|  | ||||
| missing_dir=`cd $ac_aux_dir && pwd` | ||||
| echo $ac_n "checking for working aclocal""... $ac_c" 1>&6 | ||||
| echo "configure:910: checking for working aclocal" >&5 | ||||
| echo "configure:972: checking for working aclocal" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -919,7 +981,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 | ||||
| echo "configure:923: checking for working autoconf" >&5 | ||||
| echo "configure:985: checking for working autoconf" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -932,7 +994,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working automake""... $ac_c" 1>&6 | ||||
| echo "configure:936: checking for working automake" >&5 | ||||
| echo "configure:998: checking for working automake" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -945,7 +1007,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 | ||||
| echo "configure:949: checking for working autoheader" >&5 | ||||
| echo "configure:1011: checking for working autoheader" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -958,7 +1020,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 | ||||
| echo "configure:962: checking for working makeinfo" >&5 | ||||
| echo "configure:1024: checking for working makeinfo" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -983,7 +1045,7 @@ fi | ||||
| # Extract the first word of "gcc", so it can be a program name with args. | ||||
| set dummy gcc; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:987: checking for $ac_word" >&5 | ||||
| echo "configure:1049: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1013,7 +1075,7 @@ if test -z "$CC"; then | ||||
|   # Extract the first word of "cc", so it can be a program name with args. | ||||
| set dummy cc; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1017: checking for $ac_word" >&5 | ||||
| echo "configure:1079: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1062,7 +1124,7 @@ fi | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | ||||
| echo "configure:1066: checking whether we are using GNU C" >&5 | ||||
| echo "configure:1128: checking whether we are using GNU C" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1071,7 +1133,7 @@ else | ||||
|   yes; | ||||
| #endif | ||||
| EOF | ||||
| if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1075: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | ||||
| if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1137: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | ||||
|   ac_cv_prog_gcc=yes | ||||
| else | ||||
|   ac_cv_prog_gcc=no | ||||
| @@ -1086,7 +1148,7 @@ if test $ac_cv_prog_gcc = yes; then | ||||
|   ac_save_CFLAGS="$CFLAGS" | ||||
|   CFLAGS= | ||||
|   echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | ||||
| echo "configure:1090: checking whether ${CC-cc} accepts -g" >&5 | ||||
| echo "configure:1152: checking whether ${CC-cc} accepts -g" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1114,33 +1176,10 @@ else | ||||
| fi | ||||
|  | ||||
|  | ||||
| # AC_CHECK_TOOL does AC_REQUIRE (AC_CANONICAL_BUILD).  If we don't | ||||
| # run it explicitly here, it will be run implicitly before | ||||
| # NEWLIB_CONFIGURE, which doesn't work because that means that it will | ||||
| # be run before AC_CANONICAL_HOST. | ||||
| echo $ac_n "checking build system type""... $ac_c" 1>&6 | ||||
| echo "configure:1123: checking build system type" >&5 | ||||
|  | ||||
| build_alias=$build | ||||
| case "$build_alias" in | ||||
| NONE) | ||||
|   case $nonopt in | ||||
|   NONE) build_alias=$host_alias ;; | ||||
|   *) build_alias=$nonopt ;; | ||||
|   esac ;; | ||||
| esac | ||||
|  | ||||
| build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias` | ||||
| build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||||
| build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$build" 1>&6 | ||||
|  | ||||
|  | ||||
| # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}as; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1144: checking for $ac_word" >&5 | ||||
| echo "configure:1183: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1172,7 +1211,7 @@ fi | ||||
| # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}ar; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1176: checking for $ac_word" >&5 | ||||
| echo "configure:1215: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1204,7 +1243,7 @@ fi | ||||
| # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}ranlib; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1208: checking for $ac_word" >&5 | ||||
| echo "configure:1247: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1236,7 +1275,7 @@ if test -n "$ac_tool_prefix"; then | ||||
|   # Extract the first word of "ranlib", so it can be a program name with args. | ||||
| set dummy ranlib; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1240: checking for $ac_word" >&5 | ||||
| echo "configure:1279: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1281,7 +1320,7 @@ fi | ||||
| # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | ||||
| # ./install, which can be erroneously created by make from ./install.sh. | ||||
| echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | ||||
| echo "configure:1285: checking for a BSD compatible install" >&5 | ||||
| echo "configure:1324: checking for a BSD compatible install" >&5 | ||||
| if test -z "$INSTALL"; then | ||||
| if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| @@ -1335,7 +1374,7 @@ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | ||||
|  | ||||
|  | ||||
| echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6 | ||||
| echo "configure:1339: checking whether to enable maintainer-specific portions of Makefiles" >&5 | ||||
| echo "configure:1378: checking whether to enable maintainer-specific portions of Makefiles" >&5 | ||||
|     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. | ||||
| if test "${enable_maintainer_mode+set}" = set; then | ||||
|   enableval="$enable_maintainer_mode" | ||||
| @@ -1369,7 +1408,7 @@ if false; then | ||||
|    | ||||
|  | ||||
| echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 | ||||
| echo "configure:1373: checking for executable suffix" >&5 | ||||
| echo "configure:1412: checking for executable suffix" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1379,7 +1418,7 @@ else | ||||
|   rm -f conftest* | ||||
|   echo 'int main () { return 0; }' > conftest.$ac_ext | ||||
|   ac_cv_exeext= | ||||
|   if { (eval echo configure:1383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then | ||||
|   if { (eval echo configure:1422: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then | ||||
|     for file in conftest.*; do | ||||
|       case $file in | ||||
|       *.c | *.o | *.obj | *.ilk | *.pdb) ;; | ||||
| @@ -1579,6 +1618,16 @@ s%@host_alias@%$host_alias%g | ||||
| s%@host_cpu@%$host_cpu%g | ||||
| s%@host_vendor@%$host_vendor%g | ||||
| s%@host_os@%$host_os%g | ||||
| s%@target@%$target%g | ||||
| s%@target_alias@%$target_alias%g | ||||
| s%@target_cpu@%$target_cpu%g | ||||
| s%@target_vendor@%$target_vendor%g | ||||
| s%@target_os@%$target_os%g | ||||
| s%@build@%$build%g | ||||
| s%@build_alias@%$build_alias%g | ||||
| s%@build_cpu@%$build_cpu%g | ||||
| s%@build_vendor@%$build_vendor%g | ||||
| s%@build_os@%$build_os%g | ||||
| s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g | ||||
| s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g | ||||
| s%@INSTALL_DATA@%$INSTALL_DATA%g | ||||
| @@ -1591,11 +1640,6 @@ s%@AUTOHEADER@%$AUTOHEADER%g | ||||
| s%@MAKEINFO@%$MAKEINFO%g | ||||
| s%@SET_MAKE@%$SET_MAKE%g | ||||
| s%@CC@%$CC%g | ||||
| s%@build@%$build%g | ||||
| s%@build_alias@%$build_alias%g | ||||
| s%@build_cpu@%$build_cpu%g | ||||
| s%@build_vendor@%$build_vendor%g | ||||
| s%@build_os@%$build_os%g | ||||
| s%@AS@%$AS%g | ||||
| s%@AR@%$AR%g | ||||
| s%@RANLIB@%$RANLIB%g | ||||
|   | ||||
| @@ -57,8 +57,12 @@ POST_INSTALL = : | ||||
| NORMAL_UNINSTALL = : | ||||
| PRE_UNINSTALL = : | ||||
| POST_UNINSTALL = : | ||||
| build_alias = @build_alias@ | ||||
| build_triplet = @build@ | ||||
| host_alias = @host_alias@ | ||||
| host_triplet = @host@ | ||||
| target_alias = @target_alias@ | ||||
| target_triplet = @target@ | ||||
| AR = @AR@ | ||||
| AS = @AS@ | ||||
| CC = @CC@ | ||||
|   | ||||
							
								
								
									
										8
									
								
								newlib/libc/machine/h8500/aclocal.m4
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								newlib/libc/machine/h8500/aclocal.m4
									
									
									
									
										vendored
									
									
								
							| @@ -82,7 +82,7 @@ else | ||||
| fi | ||||
| AC_SUBST(newlib_basedir) | ||||
|  | ||||
| AC_CANONICAL_HOST | ||||
| AC_CANONICAL_SYSTEM | ||||
|  | ||||
| AM_INIT_AUTOMAKE(newlib, 1.10.0) | ||||
|  | ||||
| @@ -126,12 +126,6 @@ fi | ||||
|  | ||||
| LIB_AC_PROG_CC | ||||
|  | ||||
| # AC_CHECK_TOOL does AC_REQUIRE (AC_CANONICAL_BUILD).  If we don't | ||||
| # run it explicitly here, it will be run implicitly before | ||||
| # NEWLIB_CONFIGURE, which doesn't work because that means that it will | ||||
| # be run before AC_CANONICAL_HOST. | ||||
| AC_CANONICAL_BUILD | ||||
|  | ||||
| AC_CHECK_TOOL(AS, as) | ||||
| AC_CHECK_TOOL(AR, ar) | ||||
| AC_CHECK_TOOL(RANLIB, ranlib, :) | ||||
|   | ||||
							
								
								
									
										138
									
								
								newlib/libc/machine/h8500/configure
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										138
									
								
								newlib/libc/machine/h8500/configure
									
									
									
									
										vendored
									
									
								
							| @@ -859,13 +859,34 @@ fi | ||||
|  | ||||
|  | ||||
|  | ||||
| # Do some error checking and defaulting for the host and target type. | ||||
| # The inputs are: | ||||
| #    configure --host=HOST --target=TARGET --build=BUILD NONOPT | ||||
| # | ||||
| # The rules are: | ||||
| # 1. You are not allowed to specify --host, --target, and nonopt at the | ||||
| #    same time. | ||||
| # 2. Host defaults to nonopt. | ||||
| # 3. If nonopt is not specified, then host defaults to the current host, | ||||
| #    as determined by config.guess. | ||||
| # 4. Target and build default to nonopt. | ||||
| # 5. If nonopt is not specified, then target and build default to host. | ||||
|  | ||||
| # The aliases save the names the user supplied, while $host etc. | ||||
| # will get canonicalized. | ||||
| case $host---$target---$nonopt in | ||||
| NONE---*---* | *---NONE---* | *---*---NONE) ;; | ||||
| *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;; | ||||
| esac | ||||
|  | ||||
|  | ||||
| # Make sure we can run config.sub. | ||||
| if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then : | ||||
| else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking host system type""... $ac_c" 1>&6 | ||||
| echo "configure:869: checking host system type" >&5 | ||||
| echo "configure:890: checking host system type" >&5 | ||||
|  | ||||
| host_alias=$host | ||||
| case "$host_alias" in | ||||
| @@ -885,6 +906,47 @@ host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$host" 1>&6 | ||||
|  | ||||
| echo $ac_n "checking target system type""... $ac_c" 1>&6 | ||||
| echo "configure:911: checking target system type" >&5 | ||||
|  | ||||
| target_alias=$target | ||||
| case "$target_alias" in | ||||
| NONE) | ||||
|   case $nonopt in | ||||
|   NONE) target_alias=$host_alias ;; | ||||
|   *) target_alias=$nonopt ;; | ||||
|   esac ;; | ||||
| esac | ||||
|  | ||||
| target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias` | ||||
| target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||||
| target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$target" 1>&6 | ||||
|  | ||||
| echo $ac_n "checking build system type""... $ac_c" 1>&6 | ||||
| echo "configure:929: checking build system type" >&5 | ||||
|  | ||||
| build_alias=$build | ||||
| case "$build_alias" in | ||||
| NONE) | ||||
|   case $nonopt in | ||||
|   NONE) build_alias=$host_alias ;; | ||||
|   *) build_alias=$nonopt ;; | ||||
|   esac ;; | ||||
| esac | ||||
|  | ||||
| build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias` | ||||
| build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||||
| build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$build" 1>&6 | ||||
|  | ||||
| test "$host_alias" != "$target_alias" && | ||||
|   test "$program_prefix$program_suffix$program_transform_name" = \ | ||||
|     NONENONEs,x,x, && | ||||
|   program_prefix=${target_alias}- | ||||
|  | ||||
|  | ||||
|  | ||||
| PACKAGE=newlib | ||||
| @@ -906,7 +968,7 @@ EOF | ||||
|  | ||||
| missing_dir=`cd $ac_aux_dir && pwd` | ||||
| echo $ac_n "checking for working aclocal""... $ac_c" 1>&6 | ||||
| echo "configure:910: checking for working aclocal" >&5 | ||||
| echo "configure:972: checking for working aclocal" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -919,7 +981,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 | ||||
| echo "configure:923: checking for working autoconf" >&5 | ||||
| echo "configure:985: checking for working autoconf" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -932,7 +994,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working automake""... $ac_c" 1>&6 | ||||
| echo "configure:936: checking for working automake" >&5 | ||||
| echo "configure:998: checking for working automake" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -945,7 +1007,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 | ||||
| echo "configure:949: checking for working autoheader" >&5 | ||||
| echo "configure:1011: checking for working autoheader" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -958,7 +1020,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 | ||||
| echo "configure:962: checking for working makeinfo" >&5 | ||||
| echo "configure:1024: checking for working makeinfo" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -983,7 +1045,7 @@ fi | ||||
| # Extract the first word of "gcc", so it can be a program name with args. | ||||
| set dummy gcc; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:987: checking for $ac_word" >&5 | ||||
| echo "configure:1049: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1013,7 +1075,7 @@ if test -z "$CC"; then | ||||
|   # Extract the first word of "cc", so it can be a program name with args. | ||||
| set dummy cc; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1017: checking for $ac_word" >&5 | ||||
| echo "configure:1079: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1062,7 +1124,7 @@ fi | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | ||||
| echo "configure:1066: checking whether we are using GNU C" >&5 | ||||
| echo "configure:1128: checking whether we are using GNU C" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1071,7 +1133,7 @@ else | ||||
|   yes; | ||||
| #endif | ||||
| EOF | ||||
| if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1075: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | ||||
| if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1137: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | ||||
|   ac_cv_prog_gcc=yes | ||||
| else | ||||
|   ac_cv_prog_gcc=no | ||||
| @@ -1086,7 +1148,7 @@ if test $ac_cv_prog_gcc = yes; then | ||||
|   ac_save_CFLAGS="$CFLAGS" | ||||
|   CFLAGS= | ||||
|   echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | ||||
| echo "configure:1090: checking whether ${CC-cc} accepts -g" >&5 | ||||
| echo "configure:1152: checking whether ${CC-cc} accepts -g" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1114,33 +1176,10 @@ else | ||||
| fi | ||||
|  | ||||
|  | ||||
| # AC_CHECK_TOOL does AC_REQUIRE (AC_CANONICAL_BUILD).  If we don't | ||||
| # run it explicitly here, it will be run implicitly before | ||||
| # NEWLIB_CONFIGURE, which doesn't work because that means that it will | ||||
| # be run before AC_CANONICAL_HOST. | ||||
| echo $ac_n "checking build system type""... $ac_c" 1>&6 | ||||
| echo "configure:1123: checking build system type" >&5 | ||||
|  | ||||
| build_alias=$build | ||||
| case "$build_alias" in | ||||
| NONE) | ||||
|   case $nonopt in | ||||
|   NONE) build_alias=$host_alias ;; | ||||
|   *) build_alias=$nonopt ;; | ||||
|   esac ;; | ||||
| esac | ||||
|  | ||||
| build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias` | ||||
| build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||||
| build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$build" 1>&6 | ||||
|  | ||||
|  | ||||
| # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}as; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1144: checking for $ac_word" >&5 | ||||
| echo "configure:1183: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1172,7 +1211,7 @@ fi | ||||
| # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}ar; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1176: checking for $ac_word" >&5 | ||||
| echo "configure:1215: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1204,7 +1243,7 @@ fi | ||||
| # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}ranlib; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1208: checking for $ac_word" >&5 | ||||
| echo "configure:1247: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1236,7 +1275,7 @@ if test -n "$ac_tool_prefix"; then | ||||
|   # Extract the first word of "ranlib", so it can be a program name with args. | ||||
| set dummy ranlib; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1240: checking for $ac_word" >&5 | ||||
| echo "configure:1279: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1281,7 +1320,7 @@ fi | ||||
| # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | ||||
| # ./install, which can be erroneously created by make from ./install.sh. | ||||
| echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | ||||
| echo "configure:1285: checking for a BSD compatible install" >&5 | ||||
| echo "configure:1324: checking for a BSD compatible install" >&5 | ||||
| if test -z "$INSTALL"; then | ||||
| if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| @@ -1335,7 +1374,7 @@ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | ||||
|  | ||||
|  | ||||
| echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6 | ||||
| echo "configure:1339: checking whether to enable maintainer-specific portions of Makefiles" >&5 | ||||
| echo "configure:1378: checking whether to enable maintainer-specific portions of Makefiles" >&5 | ||||
|     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. | ||||
| if test "${enable_maintainer_mode+set}" = set; then | ||||
|   enableval="$enable_maintainer_mode" | ||||
| @@ -1369,7 +1408,7 @@ if false; then | ||||
|    | ||||
|  | ||||
| echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 | ||||
| echo "configure:1373: checking for executable suffix" >&5 | ||||
| echo "configure:1412: checking for executable suffix" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1379,7 +1418,7 @@ else | ||||
|   rm -f conftest* | ||||
|   echo 'int main () { return 0; }' > conftest.$ac_ext | ||||
|   ac_cv_exeext= | ||||
|   if { (eval echo configure:1383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then | ||||
|   if { (eval echo configure:1422: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then | ||||
|     for file in conftest.*; do | ||||
|       case $file in | ||||
|       *.c | *.o | *.obj | *.ilk | *.pdb) ;; | ||||
| @@ -1579,6 +1618,16 @@ s%@host_alias@%$host_alias%g | ||||
| s%@host_cpu@%$host_cpu%g | ||||
| s%@host_vendor@%$host_vendor%g | ||||
| s%@host_os@%$host_os%g | ||||
| s%@target@%$target%g | ||||
| s%@target_alias@%$target_alias%g | ||||
| s%@target_cpu@%$target_cpu%g | ||||
| s%@target_vendor@%$target_vendor%g | ||||
| s%@target_os@%$target_os%g | ||||
| s%@build@%$build%g | ||||
| s%@build_alias@%$build_alias%g | ||||
| s%@build_cpu@%$build_cpu%g | ||||
| s%@build_vendor@%$build_vendor%g | ||||
| s%@build_os@%$build_os%g | ||||
| s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g | ||||
| s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g | ||||
| s%@INSTALL_DATA@%$INSTALL_DATA%g | ||||
| @@ -1591,11 +1640,6 @@ s%@AUTOHEADER@%$AUTOHEADER%g | ||||
| s%@MAKEINFO@%$MAKEINFO%g | ||||
| s%@SET_MAKE@%$SET_MAKE%g | ||||
| s%@CC@%$CC%g | ||||
| s%@build@%$build%g | ||||
| s%@build_alias@%$build_alias%g | ||||
| s%@build_cpu@%$build_cpu%g | ||||
| s%@build_vendor@%$build_vendor%g | ||||
| s%@build_os@%$build_os%g | ||||
| s%@AS@%$AS%g | ||||
| s%@AR@%$AR%g | ||||
| s%@RANLIB@%$RANLIB%g | ||||
|   | ||||
| @@ -57,8 +57,12 @@ POST_INSTALL = : | ||||
| NORMAL_UNINSTALL = : | ||||
| PRE_UNINSTALL = : | ||||
| POST_UNINSTALL = : | ||||
| build_alias = @build_alias@ | ||||
| build_triplet = @build@ | ||||
| host_alias = @host_alias@ | ||||
| host_triplet = @host@ | ||||
| target_alias = @target_alias@ | ||||
| target_triplet = @target@ | ||||
| AR = @AR@ | ||||
| AS = @AS@ | ||||
| CC = @CC@ | ||||
|   | ||||
							
								
								
									
										8
									
								
								newlib/libc/machine/hppa/aclocal.m4
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								newlib/libc/machine/hppa/aclocal.m4
									
									
									
									
										vendored
									
									
								
							| @@ -82,7 +82,7 @@ else | ||||
| fi | ||||
| AC_SUBST(newlib_basedir) | ||||
|  | ||||
| AC_CANONICAL_HOST | ||||
| AC_CANONICAL_SYSTEM | ||||
|  | ||||
| AM_INIT_AUTOMAKE(newlib, 1.10.0) | ||||
|  | ||||
| @@ -126,12 +126,6 @@ fi | ||||
|  | ||||
| LIB_AC_PROG_CC | ||||
|  | ||||
| # AC_CHECK_TOOL does AC_REQUIRE (AC_CANONICAL_BUILD).  If we don't | ||||
| # run it explicitly here, it will be run implicitly before | ||||
| # NEWLIB_CONFIGURE, which doesn't work because that means that it will | ||||
| # be run before AC_CANONICAL_HOST. | ||||
| AC_CANONICAL_BUILD | ||||
|  | ||||
| AC_CHECK_TOOL(AS, as) | ||||
| AC_CHECK_TOOL(AR, ar) | ||||
| AC_CHECK_TOOL(RANLIB, ranlib, :) | ||||
|   | ||||
							
								
								
									
										138
									
								
								newlib/libc/machine/hppa/configure
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										138
									
								
								newlib/libc/machine/hppa/configure
									
									
									
									
										vendored
									
									
								
							| @@ -859,13 +859,34 @@ fi | ||||
|  | ||||
|  | ||||
|  | ||||
| # Do some error checking and defaulting for the host and target type. | ||||
| # The inputs are: | ||||
| #    configure --host=HOST --target=TARGET --build=BUILD NONOPT | ||||
| # | ||||
| # The rules are: | ||||
| # 1. You are not allowed to specify --host, --target, and nonopt at the | ||||
| #    same time. | ||||
| # 2. Host defaults to nonopt. | ||||
| # 3. If nonopt is not specified, then host defaults to the current host, | ||||
| #    as determined by config.guess. | ||||
| # 4. Target and build default to nonopt. | ||||
| # 5. If nonopt is not specified, then target and build default to host. | ||||
|  | ||||
| # The aliases save the names the user supplied, while $host etc. | ||||
| # will get canonicalized. | ||||
| case $host---$target---$nonopt in | ||||
| NONE---*---* | *---NONE---* | *---*---NONE) ;; | ||||
| *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;; | ||||
| esac | ||||
|  | ||||
|  | ||||
| # Make sure we can run config.sub. | ||||
| if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then : | ||||
| else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking host system type""... $ac_c" 1>&6 | ||||
| echo "configure:869: checking host system type" >&5 | ||||
| echo "configure:890: checking host system type" >&5 | ||||
|  | ||||
| host_alias=$host | ||||
| case "$host_alias" in | ||||
| @@ -885,6 +906,47 @@ host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$host" 1>&6 | ||||
|  | ||||
| echo $ac_n "checking target system type""... $ac_c" 1>&6 | ||||
| echo "configure:911: checking target system type" >&5 | ||||
|  | ||||
| target_alias=$target | ||||
| case "$target_alias" in | ||||
| NONE) | ||||
|   case $nonopt in | ||||
|   NONE) target_alias=$host_alias ;; | ||||
|   *) target_alias=$nonopt ;; | ||||
|   esac ;; | ||||
| esac | ||||
|  | ||||
| target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias` | ||||
| target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||||
| target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$target" 1>&6 | ||||
|  | ||||
| echo $ac_n "checking build system type""... $ac_c" 1>&6 | ||||
| echo "configure:929: checking build system type" >&5 | ||||
|  | ||||
| build_alias=$build | ||||
| case "$build_alias" in | ||||
| NONE) | ||||
|   case $nonopt in | ||||
|   NONE) build_alias=$host_alias ;; | ||||
|   *) build_alias=$nonopt ;; | ||||
|   esac ;; | ||||
| esac | ||||
|  | ||||
| build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias` | ||||
| build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||||
| build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$build" 1>&6 | ||||
|  | ||||
| test "$host_alias" != "$target_alias" && | ||||
|   test "$program_prefix$program_suffix$program_transform_name" = \ | ||||
|     NONENONEs,x,x, && | ||||
|   program_prefix=${target_alias}- | ||||
|  | ||||
|  | ||||
|  | ||||
| PACKAGE=newlib | ||||
| @@ -906,7 +968,7 @@ EOF | ||||
|  | ||||
| missing_dir=`cd $ac_aux_dir && pwd` | ||||
| echo $ac_n "checking for working aclocal""... $ac_c" 1>&6 | ||||
| echo "configure:910: checking for working aclocal" >&5 | ||||
| echo "configure:972: checking for working aclocal" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -919,7 +981,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 | ||||
| echo "configure:923: checking for working autoconf" >&5 | ||||
| echo "configure:985: checking for working autoconf" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -932,7 +994,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working automake""... $ac_c" 1>&6 | ||||
| echo "configure:936: checking for working automake" >&5 | ||||
| echo "configure:998: checking for working automake" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -945,7 +1007,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 | ||||
| echo "configure:949: checking for working autoheader" >&5 | ||||
| echo "configure:1011: checking for working autoheader" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -958,7 +1020,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 | ||||
| echo "configure:962: checking for working makeinfo" >&5 | ||||
| echo "configure:1024: checking for working makeinfo" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -983,7 +1045,7 @@ fi | ||||
| # Extract the first word of "gcc", so it can be a program name with args. | ||||
| set dummy gcc; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:987: checking for $ac_word" >&5 | ||||
| echo "configure:1049: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1013,7 +1075,7 @@ if test -z "$CC"; then | ||||
|   # Extract the first word of "cc", so it can be a program name with args. | ||||
| set dummy cc; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1017: checking for $ac_word" >&5 | ||||
| echo "configure:1079: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1062,7 +1124,7 @@ fi | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | ||||
| echo "configure:1066: checking whether we are using GNU C" >&5 | ||||
| echo "configure:1128: checking whether we are using GNU C" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1071,7 +1133,7 @@ else | ||||
|   yes; | ||||
| #endif | ||||
| EOF | ||||
| if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1075: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | ||||
| if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1137: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | ||||
|   ac_cv_prog_gcc=yes | ||||
| else | ||||
|   ac_cv_prog_gcc=no | ||||
| @@ -1086,7 +1148,7 @@ if test $ac_cv_prog_gcc = yes; then | ||||
|   ac_save_CFLAGS="$CFLAGS" | ||||
|   CFLAGS= | ||||
|   echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | ||||
| echo "configure:1090: checking whether ${CC-cc} accepts -g" >&5 | ||||
| echo "configure:1152: checking whether ${CC-cc} accepts -g" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1114,33 +1176,10 @@ else | ||||
| fi | ||||
|  | ||||
|  | ||||
| # AC_CHECK_TOOL does AC_REQUIRE (AC_CANONICAL_BUILD).  If we don't | ||||
| # run it explicitly here, it will be run implicitly before | ||||
| # NEWLIB_CONFIGURE, which doesn't work because that means that it will | ||||
| # be run before AC_CANONICAL_HOST. | ||||
| echo $ac_n "checking build system type""... $ac_c" 1>&6 | ||||
| echo "configure:1123: checking build system type" >&5 | ||||
|  | ||||
| build_alias=$build | ||||
| case "$build_alias" in | ||||
| NONE) | ||||
|   case $nonopt in | ||||
|   NONE) build_alias=$host_alias ;; | ||||
|   *) build_alias=$nonopt ;; | ||||
|   esac ;; | ||||
| esac | ||||
|  | ||||
| build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias` | ||||
| build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||||
| build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$build" 1>&6 | ||||
|  | ||||
|  | ||||
| # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}as; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1144: checking for $ac_word" >&5 | ||||
| echo "configure:1183: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1172,7 +1211,7 @@ fi | ||||
| # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}ar; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1176: checking for $ac_word" >&5 | ||||
| echo "configure:1215: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1204,7 +1243,7 @@ fi | ||||
| # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}ranlib; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1208: checking for $ac_word" >&5 | ||||
| echo "configure:1247: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1236,7 +1275,7 @@ if test -n "$ac_tool_prefix"; then | ||||
|   # Extract the first word of "ranlib", so it can be a program name with args. | ||||
| set dummy ranlib; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1240: checking for $ac_word" >&5 | ||||
| echo "configure:1279: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1281,7 +1320,7 @@ fi | ||||
| # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | ||||
| # ./install, which can be erroneously created by make from ./install.sh. | ||||
| echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | ||||
| echo "configure:1285: checking for a BSD compatible install" >&5 | ||||
| echo "configure:1324: checking for a BSD compatible install" >&5 | ||||
| if test -z "$INSTALL"; then | ||||
| if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| @@ -1335,7 +1374,7 @@ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | ||||
|  | ||||
|  | ||||
| echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6 | ||||
| echo "configure:1339: checking whether to enable maintainer-specific portions of Makefiles" >&5 | ||||
| echo "configure:1378: checking whether to enable maintainer-specific portions of Makefiles" >&5 | ||||
|     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. | ||||
| if test "${enable_maintainer_mode+set}" = set; then | ||||
|   enableval="$enable_maintainer_mode" | ||||
| @@ -1369,7 +1408,7 @@ if false; then | ||||
|    | ||||
|  | ||||
| echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 | ||||
| echo "configure:1373: checking for executable suffix" >&5 | ||||
| echo "configure:1412: checking for executable suffix" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1379,7 +1418,7 @@ else | ||||
|   rm -f conftest* | ||||
|   echo 'int main () { return 0; }' > conftest.$ac_ext | ||||
|   ac_cv_exeext= | ||||
|   if { (eval echo configure:1383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then | ||||
|   if { (eval echo configure:1422: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then | ||||
|     for file in conftest.*; do | ||||
|       case $file in | ||||
|       *.c | *.o | *.obj | *.ilk | *.pdb) ;; | ||||
| @@ -1579,6 +1618,16 @@ s%@host_alias@%$host_alias%g | ||||
| s%@host_cpu@%$host_cpu%g | ||||
| s%@host_vendor@%$host_vendor%g | ||||
| s%@host_os@%$host_os%g | ||||
| s%@target@%$target%g | ||||
| s%@target_alias@%$target_alias%g | ||||
| s%@target_cpu@%$target_cpu%g | ||||
| s%@target_vendor@%$target_vendor%g | ||||
| s%@target_os@%$target_os%g | ||||
| s%@build@%$build%g | ||||
| s%@build_alias@%$build_alias%g | ||||
| s%@build_cpu@%$build_cpu%g | ||||
| s%@build_vendor@%$build_vendor%g | ||||
| s%@build_os@%$build_os%g | ||||
| s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g | ||||
| s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g | ||||
| s%@INSTALL_DATA@%$INSTALL_DATA%g | ||||
| @@ -1591,11 +1640,6 @@ s%@AUTOHEADER@%$AUTOHEADER%g | ||||
| s%@MAKEINFO@%$MAKEINFO%g | ||||
| s%@SET_MAKE@%$SET_MAKE%g | ||||
| s%@CC@%$CC%g | ||||
| s%@build@%$build%g | ||||
| s%@build_alias@%$build_alias%g | ||||
| s%@build_cpu@%$build_cpu%g | ||||
| s%@build_vendor@%$build_vendor%g | ||||
| s%@build_os@%$build_os%g | ||||
| s%@AS@%$AS%g | ||||
| s%@AR@%$AR%g | ||||
| s%@RANLIB@%$RANLIB%g | ||||
|   | ||||
| @@ -58,8 +58,12 @@ POST_INSTALL = : | ||||
| NORMAL_UNINSTALL = : | ||||
| PRE_UNINSTALL = : | ||||
| POST_UNINSTALL = : | ||||
| build_alias = @build_alias@ | ||||
| build_triplet = @build@ | ||||
| host_alias = @host_alias@ | ||||
| host_triplet = @host@ | ||||
| target_alias = @target_alias@ | ||||
| target_triplet = @target@ | ||||
| AR = @AR@ | ||||
| AS = @AS@ | ||||
| CC = @CC@ | ||||
|   | ||||
							
								
								
									
										8
									
								
								newlib/libc/machine/i386/aclocal.m4
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								newlib/libc/machine/i386/aclocal.m4
									
									
									
									
										vendored
									
									
								
							| @@ -82,7 +82,7 @@ else | ||||
| fi | ||||
| AC_SUBST(newlib_basedir) | ||||
|  | ||||
| AC_CANONICAL_HOST | ||||
| AC_CANONICAL_SYSTEM | ||||
|  | ||||
| AM_INIT_AUTOMAKE(newlib, 1.10.0) | ||||
|  | ||||
| @@ -126,12 +126,6 @@ fi | ||||
|  | ||||
| LIB_AC_PROG_CC | ||||
|  | ||||
| # AC_CHECK_TOOL does AC_REQUIRE (AC_CANONICAL_BUILD).  If we don't | ||||
| # run it explicitly here, it will be run implicitly before | ||||
| # NEWLIB_CONFIGURE, which doesn't work because that means that it will | ||||
| # be run before AC_CANONICAL_HOST. | ||||
| AC_CANONICAL_BUILD | ||||
|  | ||||
| AC_CHECK_TOOL(AS, as) | ||||
| AC_CHECK_TOOL(AR, ar) | ||||
| AC_CHECK_TOOL(RANLIB, ranlib, :) | ||||
|   | ||||
							
								
								
									
										194
									
								
								newlib/libc/machine/i386/configure
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										194
									
								
								newlib/libc/machine/i386/configure
									
									
									
									
										vendored
									
									
								
							| @@ -869,13 +869,34 @@ fi | ||||
|  | ||||
|  | ||||
|  | ||||
| # Do some error checking and defaulting for the host and target type. | ||||
| # The inputs are: | ||||
| #    configure --host=HOST --target=TARGET --build=BUILD NONOPT | ||||
| # | ||||
| # The rules are: | ||||
| # 1. You are not allowed to specify --host, --target, and nonopt at the | ||||
| #    same time. | ||||
| # 2. Host defaults to nonopt. | ||||
| # 3. If nonopt is not specified, then host defaults to the current host, | ||||
| #    as determined by config.guess. | ||||
| # 4. Target and build default to nonopt. | ||||
| # 5. If nonopt is not specified, then target and build default to host. | ||||
|  | ||||
| # The aliases save the names the user supplied, while $host etc. | ||||
| # will get canonicalized. | ||||
| case $host---$target---$nonopt in | ||||
| NONE---*---* | *---NONE---* | *---*---NONE) ;; | ||||
| *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;; | ||||
| esac | ||||
|  | ||||
|  | ||||
| # Make sure we can run config.sub. | ||||
| if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then : | ||||
| else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking host system type""... $ac_c" 1>&6 | ||||
| echo "configure:879: checking host system type" >&5 | ||||
| echo "configure:900: checking host system type" >&5 | ||||
|  | ||||
| host_alias=$host | ||||
| case "$host_alias" in | ||||
| @@ -895,6 +916,47 @@ host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$host" 1>&6 | ||||
|  | ||||
| echo $ac_n "checking target system type""... $ac_c" 1>&6 | ||||
| echo "configure:921: checking target system type" >&5 | ||||
|  | ||||
| target_alias=$target | ||||
| case "$target_alias" in | ||||
| NONE) | ||||
|   case $nonopt in | ||||
|   NONE) target_alias=$host_alias ;; | ||||
|   *) target_alias=$nonopt ;; | ||||
|   esac ;; | ||||
| esac | ||||
|  | ||||
| target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias` | ||||
| target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||||
| target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$target" 1>&6 | ||||
|  | ||||
| echo $ac_n "checking build system type""... $ac_c" 1>&6 | ||||
| echo "configure:939: checking build system type" >&5 | ||||
|  | ||||
| build_alias=$build | ||||
| case "$build_alias" in | ||||
| NONE) | ||||
|   case $nonopt in | ||||
|   NONE) build_alias=$host_alias ;; | ||||
|   *) build_alias=$nonopt ;; | ||||
|   esac ;; | ||||
| esac | ||||
|  | ||||
| build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias` | ||||
| build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||||
| build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$build" 1>&6 | ||||
|  | ||||
| test "$host_alias" != "$target_alias" && | ||||
|   test "$program_prefix$program_suffix$program_transform_name" = \ | ||||
|     NONENONEs,x,x, && | ||||
|   program_prefix=${target_alias}- | ||||
|  | ||||
|  | ||||
|  | ||||
| PACKAGE=newlib | ||||
| @@ -916,7 +978,7 @@ EOF | ||||
|  | ||||
| missing_dir=`cd $ac_aux_dir && pwd` | ||||
| echo $ac_n "checking for working aclocal""... $ac_c" 1>&6 | ||||
| echo "configure:920: checking for working aclocal" >&5 | ||||
| echo "configure:982: checking for working aclocal" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -929,7 +991,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 | ||||
| echo "configure:933: checking for working autoconf" >&5 | ||||
| echo "configure:995: checking for working autoconf" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -942,7 +1004,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working automake""... $ac_c" 1>&6 | ||||
| echo "configure:946: checking for working automake" >&5 | ||||
| echo "configure:1008: checking for working automake" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -955,7 +1017,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 | ||||
| echo "configure:959: checking for working autoheader" >&5 | ||||
| echo "configure:1021: checking for working autoheader" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -968,7 +1030,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 | ||||
| echo "configure:972: checking for working makeinfo" >&5 | ||||
| echo "configure:1034: checking for working makeinfo" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -993,7 +1055,7 @@ fi | ||||
| # Extract the first word of "gcc", so it can be a program name with args. | ||||
| set dummy gcc; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:997: checking for $ac_word" >&5 | ||||
| echo "configure:1059: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1023,7 +1085,7 @@ if test -z "$CC"; then | ||||
|   # Extract the first word of "cc", so it can be a program name with args. | ||||
| set dummy cc; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1027: checking for $ac_word" >&5 | ||||
| echo "configure:1089: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1072,7 +1134,7 @@ fi | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | ||||
| echo "configure:1076: checking whether we are using GNU C" >&5 | ||||
| echo "configure:1138: checking whether we are using GNU C" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1081,7 +1143,7 @@ else | ||||
|   yes; | ||||
| #endif | ||||
| EOF | ||||
| if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1085: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | ||||
| if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1147: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | ||||
|   ac_cv_prog_gcc=yes | ||||
| else | ||||
|   ac_cv_prog_gcc=no | ||||
| @@ -1096,7 +1158,7 @@ if test $ac_cv_prog_gcc = yes; then | ||||
|   ac_save_CFLAGS="$CFLAGS" | ||||
|   CFLAGS= | ||||
|   echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | ||||
| echo "configure:1100: checking whether ${CC-cc} accepts -g" >&5 | ||||
| echo "configure:1162: checking whether ${CC-cc} accepts -g" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1124,33 +1186,10 @@ else | ||||
| fi | ||||
|  | ||||
|  | ||||
| # AC_CHECK_TOOL does AC_REQUIRE (AC_CANONICAL_BUILD).  If we don't | ||||
| # run it explicitly here, it will be run implicitly before | ||||
| # NEWLIB_CONFIGURE, which doesn't work because that means that it will | ||||
| # be run before AC_CANONICAL_HOST. | ||||
| echo $ac_n "checking build system type""... $ac_c" 1>&6 | ||||
| echo "configure:1133: checking build system type" >&5 | ||||
|  | ||||
| build_alias=$build | ||||
| case "$build_alias" in | ||||
| NONE) | ||||
|   case $nonopt in | ||||
|   NONE) build_alias=$host_alias ;; | ||||
|   *) build_alias=$nonopt ;; | ||||
|   esac ;; | ||||
| esac | ||||
|  | ||||
| build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias` | ||||
| build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||||
| build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$build" 1>&6 | ||||
|  | ||||
|  | ||||
| # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}as; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1154: checking for $ac_word" >&5 | ||||
| echo "configure:1193: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1182,7 +1221,7 @@ fi | ||||
| # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}ar; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1186: checking for $ac_word" >&5 | ||||
| echo "configure:1225: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1214,7 +1253,7 @@ fi | ||||
| # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}ranlib; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1218: checking for $ac_word" >&5 | ||||
| echo "configure:1257: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1246,7 +1285,7 @@ if test -n "$ac_tool_prefix"; then | ||||
|   # Extract the first word of "ranlib", so it can be a program name with args. | ||||
| set dummy ranlib; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1250: checking for $ac_word" >&5 | ||||
| echo "configure:1289: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1291,7 +1330,7 @@ fi | ||||
| # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | ||||
| # ./install, which can be erroneously created by make from ./install.sh. | ||||
| echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | ||||
| echo "configure:1295: checking for a BSD compatible install" >&5 | ||||
| echo "configure:1334: checking for a BSD compatible install" >&5 | ||||
| if test -z "$INSTALL"; then | ||||
| if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| @@ -1345,7 +1384,7 @@ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | ||||
|  | ||||
|  | ||||
| echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6 | ||||
| echo "configure:1349: checking whether to enable maintainer-specific portions of Makefiles" >&5 | ||||
| echo "configure:1388: checking whether to enable maintainer-specific portions of Makefiles" >&5 | ||||
|     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. | ||||
| if test "${enable_maintainer_mode+set}" = set; then | ||||
|   enableval="$enable_maintainer_mode" | ||||
| @@ -1379,7 +1418,7 @@ if false; then | ||||
|    | ||||
|  | ||||
| echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 | ||||
| echo "configure:1383: checking for executable suffix" >&5 | ||||
| echo "configure:1422: checking for executable suffix" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1389,7 +1428,7 @@ else | ||||
|   rm -f conftest* | ||||
|   echo 'int main () { return 0; }' > conftest.$ac_ext | ||||
|   ac_cv_exeext= | ||||
|   if { (eval echo configure:1393: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then | ||||
|   if { (eval echo configure:1432: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then | ||||
|     for file in conftest.*; do | ||||
|       case $file in | ||||
|       *.c | *.o | *.obj | *.ilk | *.pdb) ;; | ||||
| @@ -1513,7 +1552,7 @@ fi | ||||
| # Extract the first word of "ranlib", so it can be a program name with args. | ||||
| set dummy ranlib; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1517: checking for $ac_word" >&5 | ||||
| echo "configure:1556: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1543,7 +1582,7 @@ fi | ||||
| # Extract the first word of "gcc", so it can be a program name with args. | ||||
| set dummy gcc; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1547: checking for $ac_word" >&5 | ||||
| echo "configure:1586: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1573,7 +1612,7 @@ if test -z "$CC"; then | ||||
|   # Extract the first word of "cc", so it can be a program name with args. | ||||
| set dummy cc; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1577: checking for $ac_word" >&5 | ||||
| echo "configure:1616: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1624,7 +1663,7 @@ fi | ||||
|       # Extract the first word of "cl", so it can be a program name with args. | ||||
| set dummy cl; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1628: checking for $ac_word" >&5 | ||||
| echo "configure:1667: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1656,7 +1695,7 @@ fi | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | ||||
| echo "configure:1660: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | ||||
| echo "configure:1699: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | ||||
|  | ||||
| ac_ext=c | ||||
| # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. | ||||
| @@ -1667,12 +1706,12 @@ cross_compiling=$ac_cv_prog_cc_cross | ||||
|  | ||||
| cat > conftest.$ac_ext << EOF | ||||
|  | ||||
| #line 1671 "configure" | ||||
| #line 1710 "configure" | ||||
| #include "confdefs.h" | ||||
|  | ||||
| main(){return(0);} | ||||
| EOF | ||||
| if { (eval echo configure:1676: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | ||||
| if { (eval echo configure:1715: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | ||||
|   ac_cv_prog_cc_works=yes | ||||
|   # If we can't run a trivial program, we are probably using a cross compiler. | ||||
|   if (./conftest; exit) 2>/dev/null; then | ||||
| @@ -1698,12 +1737,12 @@ if test $ac_cv_prog_cc_works = no; then | ||||
|   { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | ||||
| fi | ||||
| echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | ||||
| echo "configure:1702: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | ||||
| echo "configure:1741: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | ||||
| echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | ||||
| cross_compiling=$ac_cv_prog_cc_cross | ||||
|  | ||||
| echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | ||||
| echo "configure:1707: checking whether we are using GNU C" >&5 | ||||
| echo "configure:1746: checking whether we are using GNU C" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1712,7 +1751,7 @@ else | ||||
|   yes; | ||||
| #endif | ||||
| EOF | ||||
| if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1716: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | ||||
| if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1755: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | ||||
|   ac_cv_prog_gcc=yes | ||||
| else | ||||
|   ac_cv_prog_gcc=no | ||||
| @@ -1731,7 +1770,7 @@ ac_test_CFLAGS="${CFLAGS+set}" | ||||
| ac_save_CFLAGS="$CFLAGS" | ||||
| CFLAGS= | ||||
| echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | ||||
| echo "configure:1735: checking whether ${CC-cc} accepts -g" >&5 | ||||
| echo "configure:1774: checking whether ${CC-cc} accepts -g" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1774,7 +1813,7 @@ ac_prog=ld | ||||
| if test "$ac_cv_prog_gcc" = yes; then | ||||
|   # Check if gcc -print-prog-name=ld gives a path. | ||||
|   echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 | ||||
| echo "configure:1778: checking for ld used by GCC" >&5 | ||||
| echo "configure:1817: checking for ld used by GCC" >&5 | ||||
|   ac_prog=`($CC -print-prog-name=ld) 2>&5` | ||||
|   case "$ac_prog" in | ||||
|     # Accept absolute paths. | ||||
| @@ -1798,10 +1837,10 @@ echo "configure:1778: checking for ld used by GCC" >&5 | ||||
|   esac | ||||
| elif test "$with_gnu_ld" = yes; then | ||||
|   echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 | ||||
| echo "configure:1802: checking for GNU ld" >&5 | ||||
| echo "configure:1841: checking for GNU ld" >&5 | ||||
| else | ||||
|   echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6 | ||||
| echo "configure:1805: checking for non-GNU ld" >&5 | ||||
| echo "configure:1844: checking for non-GNU ld" >&5 | ||||
| fi | ||||
| if eval "test \"`echo '$''{'ac_cv_path_LD'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| @@ -1836,7 +1875,7 @@ else | ||||
| fi | ||||
| test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; } | ||||
| echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6 | ||||
| echo "configure:1840: checking if the linker ($LD) is GNU ld" >&5 | ||||
| echo "configure:1879: checking if the linker ($LD) is GNU ld" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_gnu_ld'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1852,7 +1891,7 @@ echo "$ac_t""$ac_cv_prog_gnu_ld" 1>&6 | ||||
|  | ||||
|  | ||||
| echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6 | ||||
| echo "configure:1856: checking for BSD-compatible nm" >&5 | ||||
| echo "configure:1895: checking for BSD-compatible nm" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_path_NM'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1888,7 +1927,7 @@ NM="$ac_cv_path_NM" | ||||
| echo "$ac_t""$NM" 1>&6 | ||||
|  | ||||
| echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 | ||||
| echo "configure:1892: checking whether ln -s works" >&5 | ||||
| echo "configure:1931: checking whether ln -s works" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1932,8 +1971,8 @@ test x"$silent" = xyes && libtool_flags="$libtool_flags --silent" | ||||
| case "$host" in | ||||
| *-*-irix6*) | ||||
|   # Find out which ABI we are using. | ||||
|   echo '#line 1936 "configure"' > conftest.$ac_ext | ||||
|   if { (eval echo configure:1937: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | ||||
|   echo '#line 1975 "configure"' > conftest.$ac_ext | ||||
|   if { (eval echo configure:1976: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | ||||
|     case "`/usr/bin/file conftest.o`" in | ||||
|     *32-bit*) | ||||
|       LD="${LD-ld} -32" | ||||
| @@ -1954,19 +1993,19 @@ case "$host" in | ||||
|   SAVE_CFLAGS="$CFLAGS" | ||||
|   CFLAGS="$CFLAGS -belf" | ||||
|   echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6 | ||||
| echo "configure:1958: checking whether the C compiler needs -belf" >&5 | ||||
| echo "configure:1997: checking whether the C compiler needs -belf" >&5 | ||||
| if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
|   cat > conftest.$ac_ext <<EOF | ||||
| #line 1963 "configure" | ||||
| #line 2002 "configure" | ||||
| #include "confdefs.h" | ||||
|  | ||||
| int main() { | ||||
|  | ||||
| ; return 0; } | ||||
| EOF | ||||
| if { (eval echo configure:1970: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | ||||
| if { (eval echo configure:2009: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | ||||
|   rm -rf conftest* | ||||
|   lt_cv_cc_needs_belf=yes | ||||
| else | ||||
| @@ -1989,7 +2028,7 @@ echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6 | ||||
|   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}dlltool; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1993: checking for $ac_word" >&5 | ||||
| echo "configure:2032: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -2021,7 +2060,7 @@ if test -n "$ac_tool_prefix"; then | ||||
|   # Extract the first word of "dlltool", so it can be a program name with args. | ||||
| set dummy dlltool; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:2025: checking for $ac_word" >&5 | ||||
| echo "configure:2064: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -2056,7 +2095,7 @@ fi | ||||
|   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}as; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:2060: checking for $ac_word" >&5 | ||||
| echo "configure:2099: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -2088,7 +2127,7 @@ if test -n "$ac_tool_prefix"; then | ||||
|   # Extract the first word of "as", so it can be a program name with args. | ||||
| set dummy as; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:2092: checking for $ac_word" >&5 | ||||
| echo "configure:2131: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -2123,7 +2162,7 @@ fi | ||||
|   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}objdump; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:2127: checking for $ac_word" >&5 | ||||
| echo "configure:2166: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_OBJDUMP'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -2155,7 +2194,7 @@ if test -n "$ac_tool_prefix"; then | ||||
|   # Extract the first word of "objdump", so it can be a program name with args. | ||||
| set dummy objdump; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:2159: checking for $ac_word" >&5 | ||||
| echo "configure:2198: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_OBJDUMP'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -2433,6 +2472,16 @@ s%@host_alias@%$host_alias%g | ||||
| s%@host_cpu@%$host_cpu%g | ||||
| s%@host_vendor@%$host_vendor%g | ||||
| s%@host_os@%$host_os%g | ||||
| s%@target@%$target%g | ||||
| s%@target_alias@%$target_alias%g | ||||
| s%@target_cpu@%$target_cpu%g | ||||
| s%@target_vendor@%$target_vendor%g | ||||
| s%@target_os@%$target_os%g | ||||
| s%@build@%$build%g | ||||
| s%@build_alias@%$build_alias%g | ||||
| s%@build_cpu@%$build_cpu%g | ||||
| s%@build_vendor@%$build_vendor%g | ||||
| s%@build_os@%$build_os%g | ||||
| s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g | ||||
| s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g | ||||
| s%@INSTALL_DATA@%$INSTALL_DATA%g | ||||
| @@ -2445,11 +2494,6 @@ s%@AUTOHEADER@%$AUTOHEADER%g | ||||
| s%@MAKEINFO@%$MAKEINFO%g | ||||
| s%@SET_MAKE@%$SET_MAKE%g | ||||
| s%@CC@%$CC%g | ||||
| s%@build@%$build%g | ||||
| s%@build_alias@%$build_alias%g | ||||
| s%@build_cpu@%$build_cpu%g | ||||
| s%@build_vendor@%$build_vendor%g | ||||
| s%@build_os@%$build_os%g | ||||
| s%@AS@%$AS%g | ||||
| s%@AR@%$AR%g | ||||
| s%@RANLIB@%$RANLIB%g | ||||
|   | ||||
| @@ -57,8 +57,12 @@ POST_INSTALL = : | ||||
| NORMAL_UNINSTALL = : | ||||
| PRE_UNINSTALL = : | ||||
| POST_UNINSTALL = : | ||||
| build_alias = @build_alias@ | ||||
| build_triplet = @build@ | ||||
| host_alias = @host_alias@ | ||||
| host_triplet = @host@ | ||||
| target_alias = @target_alias@ | ||||
| target_triplet = @target@ | ||||
| AR = @AR@ | ||||
| AS = @AS@ | ||||
| CC = @CC@ | ||||
|   | ||||
							
								
								
									
										8
									
								
								newlib/libc/machine/i960/aclocal.m4
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								newlib/libc/machine/i960/aclocal.m4
									
									
									
									
										vendored
									
									
								
							| @@ -82,7 +82,7 @@ else | ||||
| fi | ||||
| AC_SUBST(newlib_basedir) | ||||
|  | ||||
| AC_CANONICAL_HOST | ||||
| AC_CANONICAL_SYSTEM | ||||
|  | ||||
| AM_INIT_AUTOMAKE(newlib, 1.10.0) | ||||
|  | ||||
| @@ -126,12 +126,6 @@ fi | ||||
|  | ||||
| LIB_AC_PROG_CC | ||||
|  | ||||
| # AC_CHECK_TOOL does AC_REQUIRE (AC_CANONICAL_BUILD).  If we don't | ||||
| # run it explicitly here, it will be run implicitly before | ||||
| # NEWLIB_CONFIGURE, which doesn't work because that means that it will | ||||
| # be run before AC_CANONICAL_HOST. | ||||
| AC_CANONICAL_BUILD | ||||
|  | ||||
| AC_CHECK_TOOL(AS, as) | ||||
| AC_CHECK_TOOL(AR, ar) | ||||
| AC_CHECK_TOOL(RANLIB, ranlib, :) | ||||
|   | ||||
							
								
								
									
										138
									
								
								newlib/libc/machine/i960/configure
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										138
									
								
								newlib/libc/machine/i960/configure
									
									
									
									
										vendored
									
									
								
							| @@ -859,13 +859,34 @@ fi | ||||
|  | ||||
|  | ||||
|  | ||||
| # Do some error checking and defaulting for the host and target type. | ||||
| # The inputs are: | ||||
| #    configure --host=HOST --target=TARGET --build=BUILD NONOPT | ||||
| # | ||||
| # The rules are: | ||||
| # 1. You are not allowed to specify --host, --target, and nonopt at the | ||||
| #    same time. | ||||
| # 2. Host defaults to nonopt. | ||||
| # 3. If nonopt is not specified, then host defaults to the current host, | ||||
| #    as determined by config.guess. | ||||
| # 4. Target and build default to nonopt. | ||||
| # 5. If nonopt is not specified, then target and build default to host. | ||||
|  | ||||
| # The aliases save the names the user supplied, while $host etc. | ||||
| # will get canonicalized. | ||||
| case $host---$target---$nonopt in | ||||
| NONE---*---* | *---NONE---* | *---*---NONE) ;; | ||||
| *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;; | ||||
| esac | ||||
|  | ||||
|  | ||||
| # Make sure we can run config.sub. | ||||
| if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then : | ||||
| else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking host system type""... $ac_c" 1>&6 | ||||
| echo "configure:869: checking host system type" >&5 | ||||
| echo "configure:890: checking host system type" >&5 | ||||
|  | ||||
| host_alias=$host | ||||
| case "$host_alias" in | ||||
| @@ -885,6 +906,47 @@ host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$host" 1>&6 | ||||
|  | ||||
| echo $ac_n "checking target system type""... $ac_c" 1>&6 | ||||
| echo "configure:911: checking target system type" >&5 | ||||
|  | ||||
| target_alias=$target | ||||
| case "$target_alias" in | ||||
| NONE) | ||||
|   case $nonopt in | ||||
|   NONE) target_alias=$host_alias ;; | ||||
|   *) target_alias=$nonopt ;; | ||||
|   esac ;; | ||||
| esac | ||||
|  | ||||
| target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias` | ||||
| target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||||
| target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$target" 1>&6 | ||||
|  | ||||
| echo $ac_n "checking build system type""... $ac_c" 1>&6 | ||||
| echo "configure:929: checking build system type" >&5 | ||||
|  | ||||
| build_alias=$build | ||||
| case "$build_alias" in | ||||
| NONE) | ||||
|   case $nonopt in | ||||
|   NONE) build_alias=$host_alias ;; | ||||
|   *) build_alias=$nonopt ;; | ||||
|   esac ;; | ||||
| esac | ||||
|  | ||||
| build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias` | ||||
| build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||||
| build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$build" 1>&6 | ||||
|  | ||||
| test "$host_alias" != "$target_alias" && | ||||
|   test "$program_prefix$program_suffix$program_transform_name" = \ | ||||
|     NONENONEs,x,x, && | ||||
|   program_prefix=${target_alias}- | ||||
|  | ||||
|  | ||||
|  | ||||
| PACKAGE=newlib | ||||
| @@ -906,7 +968,7 @@ EOF | ||||
|  | ||||
| missing_dir=`cd $ac_aux_dir && pwd` | ||||
| echo $ac_n "checking for working aclocal""... $ac_c" 1>&6 | ||||
| echo "configure:910: checking for working aclocal" >&5 | ||||
| echo "configure:972: checking for working aclocal" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -919,7 +981,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 | ||||
| echo "configure:923: checking for working autoconf" >&5 | ||||
| echo "configure:985: checking for working autoconf" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -932,7 +994,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working automake""... $ac_c" 1>&6 | ||||
| echo "configure:936: checking for working automake" >&5 | ||||
| echo "configure:998: checking for working automake" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -945,7 +1007,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 | ||||
| echo "configure:949: checking for working autoheader" >&5 | ||||
| echo "configure:1011: checking for working autoheader" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -958,7 +1020,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 | ||||
| echo "configure:962: checking for working makeinfo" >&5 | ||||
| echo "configure:1024: checking for working makeinfo" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -983,7 +1045,7 @@ fi | ||||
| # Extract the first word of "gcc", so it can be a program name with args. | ||||
| set dummy gcc; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:987: checking for $ac_word" >&5 | ||||
| echo "configure:1049: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1013,7 +1075,7 @@ if test -z "$CC"; then | ||||
|   # Extract the first word of "cc", so it can be a program name with args. | ||||
| set dummy cc; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1017: checking for $ac_word" >&5 | ||||
| echo "configure:1079: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1062,7 +1124,7 @@ fi | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | ||||
| echo "configure:1066: checking whether we are using GNU C" >&5 | ||||
| echo "configure:1128: checking whether we are using GNU C" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1071,7 +1133,7 @@ else | ||||
|   yes; | ||||
| #endif | ||||
| EOF | ||||
| if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1075: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | ||||
| if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1137: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | ||||
|   ac_cv_prog_gcc=yes | ||||
| else | ||||
|   ac_cv_prog_gcc=no | ||||
| @@ -1086,7 +1148,7 @@ if test $ac_cv_prog_gcc = yes; then | ||||
|   ac_save_CFLAGS="$CFLAGS" | ||||
|   CFLAGS= | ||||
|   echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | ||||
| echo "configure:1090: checking whether ${CC-cc} accepts -g" >&5 | ||||
| echo "configure:1152: checking whether ${CC-cc} accepts -g" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1114,33 +1176,10 @@ else | ||||
| fi | ||||
|  | ||||
|  | ||||
| # AC_CHECK_TOOL does AC_REQUIRE (AC_CANONICAL_BUILD).  If we don't | ||||
| # run it explicitly here, it will be run implicitly before | ||||
| # NEWLIB_CONFIGURE, which doesn't work because that means that it will | ||||
| # be run before AC_CANONICAL_HOST. | ||||
| echo $ac_n "checking build system type""... $ac_c" 1>&6 | ||||
| echo "configure:1123: checking build system type" >&5 | ||||
|  | ||||
| build_alias=$build | ||||
| case "$build_alias" in | ||||
| NONE) | ||||
|   case $nonopt in | ||||
|   NONE) build_alias=$host_alias ;; | ||||
|   *) build_alias=$nonopt ;; | ||||
|   esac ;; | ||||
| esac | ||||
|  | ||||
| build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias` | ||||
| build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||||
| build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$build" 1>&6 | ||||
|  | ||||
|  | ||||
| # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}as; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1144: checking for $ac_word" >&5 | ||||
| echo "configure:1183: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1172,7 +1211,7 @@ fi | ||||
| # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}ar; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1176: checking for $ac_word" >&5 | ||||
| echo "configure:1215: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1204,7 +1243,7 @@ fi | ||||
| # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}ranlib; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1208: checking for $ac_word" >&5 | ||||
| echo "configure:1247: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1236,7 +1275,7 @@ if test -n "$ac_tool_prefix"; then | ||||
|   # Extract the first word of "ranlib", so it can be a program name with args. | ||||
| set dummy ranlib; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1240: checking for $ac_word" >&5 | ||||
| echo "configure:1279: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1281,7 +1320,7 @@ fi | ||||
| # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | ||||
| # ./install, which can be erroneously created by make from ./install.sh. | ||||
| echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | ||||
| echo "configure:1285: checking for a BSD compatible install" >&5 | ||||
| echo "configure:1324: checking for a BSD compatible install" >&5 | ||||
| if test -z "$INSTALL"; then | ||||
| if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| @@ -1335,7 +1374,7 @@ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | ||||
|  | ||||
|  | ||||
| echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6 | ||||
| echo "configure:1339: checking whether to enable maintainer-specific portions of Makefiles" >&5 | ||||
| echo "configure:1378: checking whether to enable maintainer-specific portions of Makefiles" >&5 | ||||
|     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. | ||||
| if test "${enable_maintainer_mode+set}" = set; then | ||||
|   enableval="$enable_maintainer_mode" | ||||
| @@ -1369,7 +1408,7 @@ if false; then | ||||
|    | ||||
|  | ||||
| echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 | ||||
| echo "configure:1373: checking for executable suffix" >&5 | ||||
| echo "configure:1412: checking for executable suffix" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1379,7 +1418,7 @@ else | ||||
|   rm -f conftest* | ||||
|   echo 'int main () { return 0; }' > conftest.$ac_ext | ||||
|   ac_cv_exeext= | ||||
|   if { (eval echo configure:1383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then | ||||
|   if { (eval echo configure:1422: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then | ||||
|     for file in conftest.*; do | ||||
|       case $file in | ||||
|       *.c | *.o | *.obj | *.ilk | *.pdb) ;; | ||||
| @@ -1579,6 +1618,16 @@ s%@host_alias@%$host_alias%g | ||||
| s%@host_cpu@%$host_cpu%g | ||||
| s%@host_vendor@%$host_vendor%g | ||||
| s%@host_os@%$host_os%g | ||||
| s%@target@%$target%g | ||||
| s%@target_alias@%$target_alias%g | ||||
| s%@target_cpu@%$target_cpu%g | ||||
| s%@target_vendor@%$target_vendor%g | ||||
| s%@target_os@%$target_os%g | ||||
| s%@build@%$build%g | ||||
| s%@build_alias@%$build_alias%g | ||||
| s%@build_cpu@%$build_cpu%g | ||||
| s%@build_vendor@%$build_vendor%g | ||||
| s%@build_os@%$build_os%g | ||||
| s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g | ||||
| s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g | ||||
| s%@INSTALL_DATA@%$INSTALL_DATA%g | ||||
| @@ -1591,11 +1640,6 @@ s%@AUTOHEADER@%$AUTOHEADER%g | ||||
| s%@MAKEINFO@%$MAKEINFO%g | ||||
| s%@SET_MAKE@%$SET_MAKE%g | ||||
| s%@CC@%$CC%g | ||||
| s%@build@%$build%g | ||||
| s%@build_alias@%$build_alias%g | ||||
| s%@build_cpu@%$build_cpu%g | ||||
| s%@build_vendor@%$build_vendor%g | ||||
| s%@build_os@%$build_os%g | ||||
| s%@AS@%$AS%g | ||||
| s%@AR@%$AR%g | ||||
| s%@RANLIB@%$RANLIB%g | ||||
|   | ||||
| @@ -57,8 +57,12 @@ POST_INSTALL = : | ||||
| NORMAL_UNINSTALL = : | ||||
| PRE_UNINSTALL = : | ||||
| POST_UNINSTALL = : | ||||
| build_alias = @build_alias@ | ||||
| build_triplet = @build@ | ||||
| host_alias = @host_alias@ | ||||
| host_triplet = @host@ | ||||
| target_alias = @target_alias@ | ||||
| target_triplet = @target@ | ||||
| AR = @AR@ | ||||
| AS = @AS@ | ||||
| CC = @CC@ | ||||
|   | ||||
							
								
								
									
										8
									
								
								newlib/libc/machine/m32r/aclocal.m4
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								newlib/libc/machine/m32r/aclocal.m4
									
									
									
									
										vendored
									
									
								
							| @@ -82,7 +82,7 @@ else | ||||
| fi | ||||
| AC_SUBST(newlib_basedir) | ||||
|  | ||||
| AC_CANONICAL_HOST | ||||
| AC_CANONICAL_SYSTEM | ||||
|  | ||||
| AM_INIT_AUTOMAKE(newlib, 1.10.0) | ||||
|  | ||||
| @@ -126,12 +126,6 @@ fi | ||||
|  | ||||
| LIB_AC_PROG_CC | ||||
|  | ||||
| # AC_CHECK_TOOL does AC_REQUIRE (AC_CANONICAL_BUILD).  If we don't | ||||
| # run it explicitly here, it will be run implicitly before | ||||
| # NEWLIB_CONFIGURE, which doesn't work because that means that it will | ||||
| # be run before AC_CANONICAL_HOST. | ||||
| AC_CANONICAL_BUILD | ||||
|  | ||||
| AC_CHECK_TOOL(AS, as) | ||||
| AC_CHECK_TOOL(AR, ar) | ||||
| AC_CHECK_TOOL(RANLIB, ranlib, :) | ||||
|   | ||||
							
								
								
									
										138
									
								
								newlib/libc/machine/m32r/configure
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										138
									
								
								newlib/libc/machine/m32r/configure
									
									
									
									
										vendored
									
									
								
							| @@ -859,13 +859,34 @@ fi | ||||
|  | ||||
|  | ||||
|  | ||||
| # Do some error checking and defaulting for the host and target type. | ||||
| # The inputs are: | ||||
| #    configure --host=HOST --target=TARGET --build=BUILD NONOPT | ||||
| # | ||||
| # The rules are: | ||||
| # 1. You are not allowed to specify --host, --target, and nonopt at the | ||||
| #    same time. | ||||
| # 2. Host defaults to nonopt. | ||||
| # 3. If nonopt is not specified, then host defaults to the current host, | ||||
| #    as determined by config.guess. | ||||
| # 4. Target and build default to nonopt. | ||||
| # 5. If nonopt is not specified, then target and build default to host. | ||||
|  | ||||
| # The aliases save the names the user supplied, while $host etc. | ||||
| # will get canonicalized. | ||||
| case $host---$target---$nonopt in | ||||
| NONE---*---* | *---NONE---* | *---*---NONE) ;; | ||||
| *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;; | ||||
| esac | ||||
|  | ||||
|  | ||||
| # Make sure we can run config.sub. | ||||
| if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then : | ||||
| else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking host system type""... $ac_c" 1>&6 | ||||
| echo "configure:869: checking host system type" >&5 | ||||
| echo "configure:890: checking host system type" >&5 | ||||
|  | ||||
| host_alias=$host | ||||
| case "$host_alias" in | ||||
| @@ -885,6 +906,47 @@ host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$host" 1>&6 | ||||
|  | ||||
| echo $ac_n "checking target system type""... $ac_c" 1>&6 | ||||
| echo "configure:911: checking target system type" >&5 | ||||
|  | ||||
| target_alias=$target | ||||
| case "$target_alias" in | ||||
| NONE) | ||||
|   case $nonopt in | ||||
|   NONE) target_alias=$host_alias ;; | ||||
|   *) target_alias=$nonopt ;; | ||||
|   esac ;; | ||||
| esac | ||||
|  | ||||
| target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias` | ||||
| target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||||
| target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$target" 1>&6 | ||||
|  | ||||
| echo $ac_n "checking build system type""... $ac_c" 1>&6 | ||||
| echo "configure:929: checking build system type" >&5 | ||||
|  | ||||
| build_alias=$build | ||||
| case "$build_alias" in | ||||
| NONE) | ||||
|   case $nonopt in | ||||
|   NONE) build_alias=$host_alias ;; | ||||
|   *) build_alias=$nonopt ;; | ||||
|   esac ;; | ||||
| esac | ||||
|  | ||||
| build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias` | ||||
| build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||||
| build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$build" 1>&6 | ||||
|  | ||||
| test "$host_alias" != "$target_alias" && | ||||
|   test "$program_prefix$program_suffix$program_transform_name" = \ | ||||
|     NONENONEs,x,x, && | ||||
|   program_prefix=${target_alias}- | ||||
|  | ||||
|  | ||||
|  | ||||
| PACKAGE=newlib | ||||
| @@ -906,7 +968,7 @@ EOF | ||||
|  | ||||
| missing_dir=`cd $ac_aux_dir && pwd` | ||||
| echo $ac_n "checking for working aclocal""... $ac_c" 1>&6 | ||||
| echo "configure:910: checking for working aclocal" >&5 | ||||
| echo "configure:972: checking for working aclocal" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -919,7 +981,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 | ||||
| echo "configure:923: checking for working autoconf" >&5 | ||||
| echo "configure:985: checking for working autoconf" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -932,7 +994,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working automake""... $ac_c" 1>&6 | ||||
| echo "configure:936: checking for working automake" >&5 | ||||
| echo "configure:998: checking for working automake" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -945,7 +1007,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 | ||||
| echo "configure:949: checking for working autoheader" >&5 | ||||
| echo "configure:1011: checking for working autoheader" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -958,7 +1020,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 | ||||
| echo "configure:962: checking for working makeinfo" >&5 | ||||
| echo "configure:1024: checking for working makeinfo" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -983,7 +1045,7 @@ fi | ||||
| # Extract the first word of "gcc", so it can be a program name with args. | ||||
| set dummy gcc; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:987: checking for $ac_word" >&5 | ||||
| echo "configure:1049: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1013,7 +1075,7 @@ if test -z "$CC"; then | ||||
|   # Extract the first word of "cc", so it can be a program name with args. | ||||
| set dummy cc; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1017: checking for $ac_word" >&5 | ||||
| echo "configure:1079: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1062,7 +1124,7 @@ fi | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | ||||
| echo "configure:1066: checking whether we are using GNU C" >&5 | ||||
| echo "configure:1128: checking whether we are using GNU C" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1071,7 +1133,7 @@ else | ||||
|   yes; | ||||
| #endif | ||||
| EOF | ||||
| if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1075: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | ||||
| if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1137: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | ||||
|   ac_cv_prog_gcc=yes | ||||
| else | ||||
|   ac_cv_prog_gcc=no | ||||
| @@ -1086,7 +1148,7 @@ if test $ac_cv_prog_gcc = yes; then | ||||
|   ac_save_CFLAGS="$CFLAGS" | ||||
|   CFLAGS= | ||||
|   echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | ||||
| echo "configure:1090: checking whether ${CC-cc} accepts -g" >&5 | ||||
| echo "configure:1152: checking whether ${CC-cc} accepts -g" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1114,33 +1176,10 @@ else | ||||
| fi | ||||
|  | ||||
|  | ||||
| # AC_CHECK_TOOL does AC_REQUIRE (AC_CANONICAL_BUILD).  If we don't | ||||
| # run it explicitly here, it will be run implicitly before | ||||
| # NEWLIB_CONFIGURE, which doesn't work because that means that it will | ||||
| # be run before AC_CANONICAL_HOST. | ||||
| echo $ac_n "checking build system type""... $ac_c" 1>&6 | ||||
| echo "configure:1123: checking build system type" >&5 | ||||
|  | ||||
| build_alias=$build | ||||
| case "$build_alias" in | ||||
| NONE) | ||||
|   case $nonopt in | ||||
|   NONE) build_alias=$host_alias ;; | ||||
|   *) build_alias=$nonopt ;; | ||||
|   esac ;; | ||||
| esac | ||||
|  | ||||
| build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias` | ||||
| build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||||
| build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$build" 1>&6 | ||||
|  | ||||
|  | ||||
| # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}as; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1144: checking for $ac_word" >&5 | ||||
| echo "configure:1183: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1172,7 +1211,7 @@ fi | ||||
| # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}ar; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1176: checking for $ac_word" >&5 | ||||
| echo "configure:1215: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1204,7 +1243,7 @@ fi | ||||
| # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}ranlib; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1208: checking for $ac_word" >&5 | ||||
| echo "configure:1247: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1236,7 +1275,7 @@ if test -n "$ac_tool_prefix"; then | ||||
|   # Extract the first word of "ranlib", so it can be a program name with args. | ||||
| set dummy ranlib; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1240: checking for $ac_word" >&5 | ||||
| echo "configure:1279: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1281,7 +1320,7 @@ fi | ||||
| # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | ||||
| # ./install, which can be erroneously created by make from ./install.sh. | ||||
| echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | ||||
| echo "configure:1285: checking for a BSD compatible install" >&5 | ||||
| echo "configure:1324: checking for a BSD compatible install" >&5 | ||||
| if test -z "$INSTALL"; then | ||||
| if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| @@ -1335,7 +1374,7 @@ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | ||||
|  | ||||
|  | ||||
| echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6 | ||||
| echo "configure:1339: checking whether to enable maintainer-specific portions of Makefiles" >&5 | ||||
| echo "configure:1378: checking whether to enable maintainer-specific portions of Makefiles" >&5 | ||||
|     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. | ||||
| if test "${enable_maintainer_mode+set}" = set; then | ||||
|   enableval="$enable_maintainer_mode" | ||||
| @@ -1369,7 +1408,7 @@ if false; then | ||||
|    | ||||
|  | ||||
| echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 | ||||
| echo "configure:1373: checking for executable suffix" >&5 | ||||
| echo "configure:1412: checking for executable suffix" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1379,7 +1418,7 @@ else | ||||
|   rm -f conftest* | ||||
|   echo 'int main () { return 0; }' > conftest.$ac_ext | ||||
|   ac_cv_exeext= | ||||
|   if { (eval echo configure:1383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then | ||||
|   if { (eval echo configure:1422: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then | ||||
|     for file in conftest.*; do | ||||
|       case $file in | ||||
|       *.c | *.o | *.obj | *.ilk | *.pdb) ;; | ||||
| @@ -1579,6 +1618,16 @@ s%@host_alias@%$host_alias%g | ||||
| s%@host_cpu@%$host_cpu%g | ||||
| s%@host_vendor@%$host_vendor%g | ||||
| s%@host_os@%$host_os%g | ||||
| s%@target@%$target%g | ||||
| s%@target_alias@%$target_alias%g | ||||
| s%@target_cpu@%$target_cpu%g | ||||
| s%@target_vendor@%$target_vendor%g | ||||
| s%@target_os@%$target_os%g | ||||
| s%@build@%$build%g | ||||
| s%@build_alias@%$build_alias%g | ||||
| s%@build_cpu@%$build_cpu%g | ||||
| s%@build_vendor@%$build_vendor%g | ||||
| s%@build_os@%$build_os%g | ||||
| s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g | ||||
| s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g | ||||
| s%@INSTALL_DATA@%$INSTALL_DATA%g | ||||
| @@ -1591,11 +1640,6 @@ s%@AUTOHEADER@%$AUTOHEADER%g | ||||
| s%@MAKEINFO@%$MAKEINFO%g | ||||
| s%@SET_MAKE@%$SET_MAKE%g | ||||
| s%@CC@%$CC%g | ||||
| s%@build@%$build%g | ||||
| s%@build_alias@%$build_alias%g | ||||
| s%@build_cpu@%$build_cpu%g | ||||
| s%@build_vendor@%$build_vendor%g | ||||
| s%@build_os@%$build_os%g | ||||
| s%@AS@%$AS%g | ||||
| s%@AR@%$AR%g | ||||
| s%@RANLIB@%$RANLIB%g | ||||
|   | ||||
| @@ -57,8 +57,12 @@ POST_INSTALL = : | ||||
| NORMAL_UNINSTALL = : | ||||
| PRE_UNINSTALL = : | ||||
| POST_UNINSTALL = : | ||||
| build_alias = @build_alias@ | ||||
| build_triplet = @build@ | ||||
| host_alias = @host_alias@ | ||||
| host_triplet = @host@ | ||||
| target_alias = @target_alias@ | ||||
| target_triplet = @target@ | ||||
| AR = @AR@ | ||||
| AS = @AS@ | ||||
| CC = @CC@ | ||||
|   | ||||
							
								
								
									
										8
									
								
								newlib/libc/machine/m68k/aclocal.m4
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								newlib/libc/machine/m68k/aclocal.m4
									
									
									
									
										vendored
									
									
								
							| @@ -82,7 +82,7 @@ else | ||||
| fi | ||||
| AC_SUBST(newlib_basedir) | ||||
|  | ||||
| AC_CANONICAL_HOST | ||||
| AC_CANONICAL_SYSTEM | ||||
|  | ||||
| AM_INIT_AUTOMAKE(newlib, 1.10.0) | ||||
|  | ||||
| @@ -126,12 +126,6 @@ fi | ||||
|  | ||||
| LIB_AC_PROG_CC | ||||
|  | ||||
| # AC_CHECK_TOOL does AC_REQUIRE (AC_CANONICAL_BUILD).  If we don't | ||||
| # run it explicitly here, it will be run implicitly before | ||||
| # NEWLIB_CONFIGURE, which doesn't work because that means that it will | ||||
| # be run before AC_CANONICAL_HOST. | ||||
| AC_CANONICAL_BUILD | ||||
|  | ||||
| AC_CHECK_TOOL(AS, as) | ||||
| AC_CHECK_TOOL(AR, ar) | ||||
| AC_CHECK_TOOL(RANLIB, ranlib, :) | ||||
|   | ||||
							
								
								
									
										138
									
								
								newlib/libc/machine/m68k/configure
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										138
									
								
								newlib/libc/machine/m68k/configure
									
									
									
									
										vendored
									
									
								
							| @@ -859,13 +859,34 @@ fi | ||||
|  | ||||
|  | ||||
|  | ||||
| # Do some error checking and defaulting for the host and target type. | ||||
| # The inputs are: | ||||
| #    configure --host=HOST --target=TARGET --build=BUILD NONOPT | ||||
| # | ||||
| # The rules are: | ||||
| # 1. You are not allowed to specify --host, --target, and nonopt at the | ||||
| #    same time. | ||||
| # 2. Host defaults to nonopt. | ||||
| # 3. If nonopt is not specified, then host defaults to the current host, | ||||
| #    as determined by config.guess. | ||||
| # 4. Target and build default to nonopt. | ||||
| # 5. If nonopt is not specified, then target and build default to host. | ||||
|  | ||||
| # The aliases save the names the user supplied, while $host etc. | ||||
| # will get canonicalized. | ||||
| case $host---$target---$nonopt in | ||||
| NONE---*---* | *---NONE---* | *---*---NONE) ;; | ||||
| *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;; | ||||
| esac | ||||
|  | ||||
|  | ||||
| # Make sure we can run config.sub. | ||||
| if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then : | ||||
| else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking host system type""... $ac_c" 1>&6 | ||||
| echo "configure:869: checking host system type" >&5 | ||||
| echo "configure:890: checking host system type" >&5 | ||||
|  | ||||
| host_alias=$host | ||||
| case "$host_alias" in | ||||
| @@ -885,6 +906,47 @@ host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$host" 1>&6 | ||||
|  | ||||
| echo $ac_n "checking target system type""... $ac_c" 1>&6 | ||||
| echo "configure:911: checking target system type" >&5 | ||||
|  | ||||
| target_alias=$target | ||||
| case "$target_alias" in | ||||
| NONE) | ||||
|   case $nonopt in | ||||
|   NONE) target_alias=$host_alias ;; | ||||
|   *) target_alias=$nonopt ;; | ||||
|   esac ;; | ||||
| esac | ||||
|  | ||||
| target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias` | ||||
| target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||||
| target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$target" 1>&6 | ||||
|  | ||||
| echo $ac_n "checking build system type""... $ac_c" 1>&6 | ||||
| echo "configure:929: checking build system type" >&5 | ||||
|  | ||||
| build_alias=$build | ||||
| case "$build_alias" in | ||||
| NONE) | ||||
|   case $nonopt in | ||||
|   NONE) build_alias=$host_alias ;; | ||||
|   *) build_alias=$nonopt ;; | ||||
|   esac ;; | ||||
| esac | ||||
|  | ||||
| build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias` | ||||
| build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||||
| build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$build" 1>&6 | ||||
|  | ||||
| test "$host_alias" != "$target_alias" && | ||||
|   test "$program_prefix$program_suffix$program_transform_name" = \ | ||||
|     NONENONEs,x,x, && | ||||
|   program_prefix=${target_alias}- | ||||
|  | ||||
|  | ||||
|  | ||||
| PACKAGE=newlib | ||||
| @@ -906,7 +968,7 @@ EOF | ||||
|  | ||||
| missing_dir=`cd $ac_aux_dir && pwd` | ||||
| echo $ac_n "checking for working aclocal""... $ac_c" 1>&6 | ||||
| echo "configure:910: checking for working aclocal" >&5 | ||||
| echo "configure:972: checking for working aclocal" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -919,7 +981,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 | ||||
| echo "configure:923: checking for working autoconf" >&5 | ||||
| echo "configure:985: checking for working autoconf" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -932,7 +994,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working automake""... $ac_c" 1>&6 | ||||
| echo "configure:936: checking for working automake" >&5 | ||||
| echo "configure:998: checking for working automake" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -945,7 +1007,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 | ||||
| echo "configure:949: checking for working autoheader" >&5 | ||||
| echo "configure:1011: checking for working autoheader" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -958,7 +1020,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 | ||||
| echo "configure:962: checking for working makeinfo" >&5 | ||||
| echo "configure:1024: checking for working makeinfo" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -983,7 +1045,7 @@ fi | ||||
| # Extract the first word of "gcc", so it can be a program name with args. | ||||
| set dummy gcc; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:987: checking for $ac_word" >&5 | ||||
| echo "configure:1049: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1013,7 +1075,7 @@ if test -z "$CC"; then | ||||
|   # Extract the first word of "cc", so it can be a program name with args. | ||||
| set dummy cc; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1017: checking for $ac_word" >&5 | ||||
| echo "configure:1079: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1062,7 +1124,7 @@ fi | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | ||||
| echo "configure:1066: checking whether we are using GNU C" >&5 | ||||
| echo "configure:1128: checking whether we are using GNU C" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1071,7 +1133,7 @@ else | ||||
|   yes; | ||||
| #endif | ||||
| EOF | ||||
| if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1075: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | ||||
| if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1137: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | ||||
|   ac_cv_prog_gcc=yes | ||||
| else | ||||
|   ac_cv_prog_gcc=no | ||||
| @@ -1086,7 +1148,7 @@ if test $ac_cv_prog_gcc = yes; then | ||||
|   ac_save_CFLAGS="$CFLAGS" | ||||
|   CFLAGS= | ||||
|   echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | ||||
| echo "configure:1090: checking whether ${CC-cc} accepts -g" >&5 | ||||
| echo "configure:1152: checking whether ${CC-cc} accepts -g" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1114,33 +1176,10 @@ else | ||||
| fi | ||||
|  | ||||
|  | ||||
| # AC_CHECK_TOOL does AC_REQUIRE (AC_CANONICAL_BUILD).  If we don't | ||||
| # run it explicitly here, it will be run implicitly before | ||||
| # NEWLIB_CONFIGURE, which doesn't work because that means that it will | ||||
| # be run before AC_CANONICAL_HOST. | ||||
| echo $ac_n "checking build system type""... $ac_c" 1>&6 | ||||
| echo "configure:1123: checking build system type" >&5 | ||||
|  | ||||
| build_alias=$build | ||||
| case "$build_alias" in | ||||
| NONE) | ||||
|   case $nonopt in | ||||
|   NONE) build_alias=$host_alias ;; | ||||
|   *) build_alias=$nonopt ;; | ||||
|   esac ;; | ||||
| esac | ||||
|  | ||||
| build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias` | ||||
| build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||||
| build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$build" 1>&6 | ||||
|  | ||||
|  | ||||
| # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}as; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1144: checking for $ac_word" >&5 | ||||
| echo "configure:1183: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1172,7 +1211,7 @@ fi | ||||
| # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}ar; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1176: checking for $ac_word" >&5 | ||||
| echo "configure:1215: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1204,7 +1243,7 @@ fi | ||||
| # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}ranlib; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1208: checking for $ac_word" >&5 | ||||
| echo "configure:1247: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1236,7 +1275,7 @@ if test -n "$ac_tool_prefix"; then | ||||
|   # Extract the first word of "ranlib", so it can be a program name with args. | ||||
| set dummy ranlib; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1240: checking for $ac_word" >&5 | ||||
| echo "configure:1279: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1281,7 +1320,7 @@ fi | ||||
| # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | ||||
| # ./install, which can be erroneously created by make from ./install.sh. | ||||
| echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | ||||
| echo "configure:1285: checking for a BSD compatible install" >&5 | ||||
| echo "configure:1324: checking for a BSD compatible install" >&5 | ||||
| if test -z "$INSTALL"; then | ||||
| if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| @@ -1335,7 +1374,7 @@ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | ||||
|  | ||||
|  | ||||
| echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6 | ||||
| echo "configure:1339: checking whether to enable maintainer-specific portions of Makefiles" >&5 | ||||
| echo "configure:1378: checking whether to enable maintainer-specific portions of Makefiles" >&5 | ||||
|     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. | ||||
| if test "${enable_maintainer_mode+set}" = set; then | ||||
|   enableval="$enable_maintainer_mode" | ||||
| @@ -1369,7 +1408,7 @@ if false; then | ||||
|    | ||||
|  | ||||
| echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 | ||||
| echo "configure:1373: checking for executable suffix" >&5 | ||||
| echo "configure:1412: checking for executable suffix" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1379,7 +1418,7 @@ else | ||||
|   rm -f conftest* | ||||
|   echo 'int main () { return 0; }' > conftest.$ac_ext | ||||
|   ac_cv_exeext= | ||||
|   if { (eval echo configure:1383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then | ||||
|   if { (eval echo configure:1422: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then | ||||
|     for file in conftest.*; do | ||||
|       case $file in | ||||
|       *.c | *.o | *.obj | *.ilk | *.pdb) ;; | ||||
| @@ -1579,6 +1618,16 @@ s%@host_alias@%$host_alias%g | ||||
| s%@host_cpu@%$host_cpu%g | ||||
| s%@host_vendor@%$host_vendor%g | ||||
| s%@host_os@%$host_os%g | ||||
| s%@target@%$target%g | ||||
| s%@target_alias@%$target_alias%g | ||||
| s%@target_cpu@%$target_cpu%g | ||||
| s%@target_vendor@%$target_vendor%g | ||||
| s%@target_os@%$target_os%g | ||||
| s%@build@%$build%g | ||||
| s%@build_alias@%$build_alias%g | ||||
| s%@build_cpu@%$build_cpu%g | ||||
| s%@build_vendor@%$build_vendor%g | ||||
| s%@build_os@%$build_os%g | ||||
| s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g | ||||
| s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g | ||||
| s%@INSTALL_DATA@%$INSTALL_DATA%g | ||||
| @@ -1591,11 +1640,6 @@ s%@AUTOHEADER@%$AUTOHEADER%g | ||||
| s%@MAKEINFO@%$MAKEINFO%g | ||||
| s%@SET_MAKE@%$SET_MAKE%g | ||||
| s%@CC@%$CC%g | ||||
| s%@build@%$build%g | ||||
| s%@build_alias@%$build_alias%g | ||||
| s%@build_cpu@%$build_cpu%g | ||||
| s%@build_vendor@%$build_vendor%g | ||||
| s%@build_os@%$build_os%g | ||||
| s%@AS@%$AS%g | ||||
| s%@AR@%$AR%g | ||||
| s%@RANLIB@%$RANLIB%g | ||||
|   | ||||
| @@ -57,8 +57,12 @@ POST_INSTALL = : | ||||
| NORMAL_UNINSTALL = : | ||||
| PRE_UNINSTALL = : | ||||
| POST_UNINSTALL = : | ||||
| build_alias = @build_alias@ | ||||
| build_triplet = @build@ | ||||
| host_alias = @host_alias@ | ||||
| host_triplet = @host@ | ||||
| target_alias = @target_alias@ | ||||
| target_triplet = @target@ | ||||
| AR = @AR@ | ||||
| AS = @AS@ | ||||
| CC = @CC@ | ||||
|   | ||||
							
								
								
									
										8
									
								
								newlib/libc/machine/m88k/aclocal.m4
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								newlib/libc/machine/m88k/aclocal.m4
									
									
									
									
										vendored
									
									
								
							| @@ -82,7 +82,7 @@ else | ||||
| fi | ||||
| AC_SUBST(newlib_basedir) | ||||
|  | ||||
| AC_CANONICAL_HOST | ||||
| AC_CANONICAL_SYSTEM | ||||
|  | ||||
| AM_INIT_AUTOMAKE(newlib, 1.10.0) | ||||
|  | ||||
| @@ -126,12 +126,6 @@ fi | ||||
|  | ||||
| LIB_AC_PROG_CC | ||||
|  | ||||
| # AC_CHECK_TOOL does AC_REQUIRE (AC_CANONICAL_BUILD).  If we don't | ||||
| # run it explicitly here, it will be run implicitly before | ||||
| # NEWLIB_CONFIGURE, which doesn't work because that means that it will | ||||
| # be run before AC_CANONICAL_HOST. | ||||
| AC_CANONICAL_BUILD | ||||
|  | ||||
| AC_CHECK_TOOL(AS, as) | ||||
| AC_CHECK_TOOL(AR, ar) | ||||
| AC_CHECK_TOOL(RANLIB, ranlib, :) | ||||
|   | ||||
							
								
								
									
										138
									
								
								newlib/libc/machine/m88k/configure
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										138
									
								
								newlib/libc/machine/m88k/configure
									
									
									
									
										vendored
									
									
								
							| @@ -859,13 +859,34 @@ fi | ||||
|  | ||||
|  | ||||
|  | ||||
| # Do some error checking and defaulting for the host and target type. | ||||
| # The inputs are: | ||||
| #    configure --host=HOST --target=TARGET --build=BUILD NONOPT | ||||
| # | ||||
| # The rules are: | ||||
| # 1. You are not allowed to specify --host, --target, and nonopt at the | ||||
| #    same time. | ||||
| # 2. Host defaults to nonopt. | ||||
| # 3. If nonopt is not specified, then host defaults to the current host, | ||||
| #    as determined by config.guess. | ||||
| # 4. Target and build default to nonopt. | ||||
| # 5. If nonopt is not specified, then target and build default to host. | ||||
|  | ||||
| # The aliases save the names the user supplied, while $host etc. | ||||
| # will get canonicalized. | ||||
| case $host---$target---$nonopt in | ||||
| NONE---*---* | *---NONE---* | *---*---NONE) ;; | ||||
| *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;; | ||||
| esac | ||||
|  | ||||
|  | ||||
| # Make sure we can run config.sub. | ||||
| if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then : | ||||
| else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking host system type""... $ac_c" 1>&6 | ||||
| echo "configure:869: checking host system type" >&5 | ||||
| echo "configure:890: checking host system type" >&5 | ||||
|  | ||||
| host_alias=$host | ||||
| case "$host_alias" in | ||||
| @@ -885,6 +906,47 @@ host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$host" 1>&6 | ||||
|  | ||||
| echo $ac_n "checking target system type""... $ac_c" 1>&6 | ||||
| echo "configure:911: checking target system type" >&5 | ||||
|  | ||||
| target_alias=$target | ||||
| case "$target_alias" in | ||||
| NONE) | ||||
|   case $nonopt in | ||||
|   NONE) target_alias=$host_alias ;; | ||||
|   *) target_alias=$nonopt ;; | ||||
|   esac ;; | ||||
| esac | ||||
|  | ||||
| target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias` | ||||
| target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||||
| target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$target" 1>&6 | ||||
|  | ||||
| echo $ac_n "checking build system type""... $ac_c" 1>&6 | ||||
| echo "configure:929: checking build system type" >&5 | ||||
|  | ||||
| build_alias=$build | ||||
| case "$build_alias" in | ||||
| NONE) | ||||
|   case $nonopt in | ||||
|   NONE) build_alias=$host_alias ;; | ||||
|   *) build_alias=$nonopt ;; | ||||
|   esac ;; | ||||
| esac | ||||
|  | ||||
| build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias` | ||||
| build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||||
| build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$build" 1>&6 | ||||
|  | ||||
| test "$host_alias" != "$target_alias" && | ||||
|   test "$program_prefix$program_suffix$program_transform_name" = \ | ||||
|     NONENONEs,x,x, && | ||||
|   program_prefix=${target_alias}- | ||||
|  | ||||
|  | ||||
|  | ||||
| PACKAGE=newlib | ||||
| @@ -906,7 +968,7 @@ EOF | ||||
|  | ||||
| missing_dir=`cd $ac_aux_dir && pwd` | ||||
| echo $ac_n "checking for working aclocal""... $ac_c" 1>&6 | ||||
| echo "configure:910: checking for working aclocal" >&5 | ||||
| echo "configure:972: checking for working aclocal" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -919,7 +981,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 | ||||
| echo "configure:923: checking for working autoconf" >&5 | ||||
| echo "configure:985: checking for working autoconf" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -932,7 +994,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working automake""... $ac_c" 1>&6 | ||||
| echo "configure:936: checking for working automake" >&5 | ||||
| echo "configure:998: checking for working automake" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -945,7 +1007,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 | ||||
| echo "configure:949: checking for working autoheader" >&5 | ||||
| echo "configure:1011: checking for working autoheader" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -958,7 +1020,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 | ||||
| echo "configure:962: checking for working makeinfo" >&5 | ||||
| echo "configure:1024: checking for working makeinfo" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -983,7 +1045,7 @@ fi | ||||
| # Extract the first word of "gcc", so it can be a program name with args. | ||||
| set dummy gcc; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:987: checking for $ac_word" >&5 | ||||
| echo "configure:1049: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1013,7 +1075,7 @@ if test -z "$CC"; then | ||||
|   # Extract the first word of "cc", so it can be a program name with args. | ||||
| set dummy cc; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1017: checking for $ac_word" >&5 | ||||
| echo "configure:1079: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1062,7 +1124,7 @@ fi | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | ||||
| echo "configure:1066: checking whether we are using GNU C" >&5 | ||||
| echo "configure:1128: checking whether we are using GNU C" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1071,7 +1133,7 @@ else | ||||
|   yes; | ||||
| #endif | ||||
| EOF | ||||
| if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1075: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | ||||
| if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1137: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | ||||
|   ac_cv_prog_gcc=yes | ||||
| else | ||||
|   ac_cv_prog_gcc=no | ||||
| @@ -1086,7 +1148,7 @@ if test $ac_cv_prog_gcc = yes; then | ||||
|   ac_save_CFLAGS="$CFLAGS" | ||||
|   CFLAGS= | ||||
|   echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | ||||
| echo "configure:1090: checking whether ${CC-cc} accepts -g" >&5 | ||||
| echo "configure:1152: checking whether ${CC-cc} accepts -g" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1114,33 +1176,10 @@ else | ||||
| fi | ||||
|  | ||||
|  | ||||
| # AC_CHECK_TOOL does AC_REQUIRE (AC_CANONICAL_BUILD).  If we don't | ||||
| # run it explicitly here, it will be run implicitly before | ||||
| # NEWLIB_CONFIGURE, which doesn't work because that means that it will | ||||
| # be run before AC_CANONICAL_HOST. | ||||
| echo $ac_n "checking build system type""... $ac_c" 1>&6 | ||||
| echo "configure:1123: checking build system type" >&5 | ||||
|  | ||||
| build_alias=$build | ||||
| case "$build_alias" in | ||||
| NONE) | ||||
|   case $nonopt in | ||||
|   NONE) build_alias=$host_alias ;; | ||||
|   *) build_alias=$nonopt ;; | ||||
|   esac ;; | ||||
| esac | ||||
|  | ||||
| build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias` | ||||
| build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||||
| build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$build" 1>&6 | ||||
|  | ||||
|  | ||||
| # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}as; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1144: checking for $ac_word" >&5 | ||||
| echo "configure:1183: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1172,7 +1211,7 @@ fi | ||||
| # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}ar; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1176: checking for $ac_word" >&5 | ||||
| echo "configure:1215: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1204,7 +1243,7 @@ fi | ||||
| # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}ranlib; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1208: checking for $ac_word" >&5 | ||||
| echo "configure:1247: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1236,7 +1275,7 @@ if test -n "$ac_tool_prefix"; then | ||||
|   # Extract the first word of "ranlib", so it can be a program name with args. | ||||
| set dummy ranlib; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1240: checking for $ac_word" >&5 | ||||
| echo "configure:1279: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1281,7 +1320,7 @@ fi | ||||
| # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | ||||
| # ./install, which can be erroneously created by make from ./install.sh. | ||||
| echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | ||||
| echo "configure:1285: checking for a BSD compatible install" >&5 | ||||
| echo "configure:1324: checking for a BSD compatible install" >&5 | ||||
| if test -z "$INSTALL"; then | ||||
| if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| @@ -1335,7 +1374,7 @@ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | ||||
|  | ||||
|  | ||||
| echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6 | ||||
| echo "configure:1339: checking whether to enable maintainer-specific portions of Makefiles" >&5 | ||||
| echo "configure:1378: checking whether to enable maintainer-specific portions of Makefiles" >&5 | ||||
|     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. | ||||
| if test "${enable_maintainer_mode+set}" = set; then | ||||
|   enableval="$enable_maintainer_mode" | ||||
| @@ -1369,7 +1408,7 @@ if false; then | ||||
|    | ||||
|  | ||||
| echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 | ||||
| echo "configure:1373: checking for executable suffix" >&5 | ||||
| echo "configure:1412: checking for executable suffix" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1379,7 +1418,7 @@ else | ||||
|   rm -f conftest* | ||||
|   echo 'int main () { return 0; }' > conftest.$ac_ext | ||||
|   ac_cv_exeext= | ||||
|   if { (eval echo configure:1383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then | ||||
|   if { (eval echo configure:1422: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then | ||||
|     for file in conftest.*; do | ||||
|       case $file in | ||||
|       *.c | *.o | *.obj | *.ilk | *.pdb) ;; | ||||
| @@ -1579,6 +1618,16 @@ s%@host_alias@%$host_alias%g | ||||
| s%@host_cpu@%$host_cpu%g | ||||
| s%@host_vendor@%$host_vendor%g | ||||
| s%@host_os@%$host_os%g | ||||
| s%@target@%$target%g | ||||
| s%@target_alias@%$target_alias%g | ||||
| s%@target_cpu@%$target_cpu%g | ||||
| s%@target_vendor@%$target_vendor%g | ||||
| s%@target_os@%$target_os%g | ||||
| s%@build@%$build%g | ||||
| s%@build_alias@%$build_alias%g | ||||
| s%@build_cpu@%$build_cpu%g | ||||
| s%@build_vendor@%$build_vendor%g | ||||
| s%@build_os@%$build_os%g | ||||
| s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g | ||||
| s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g | ||||
| s%@INSTALL_DATA@%$INSTALL_DATA%g | ||||
| @@ -1591,11 +1640,6 @@ s%@AUTOHEADER@%$AUTOHEADER%g | ||||
| s%@MAKEINFO@%$MAKEINFO%g | ||||
| s%@SET_MAKE@%$SET_MAKE%g | ||||
| s%@CC@%$CC%g | ||||
| s%@build@%$build%g | ||||
| s%@build_alias@%$build_alias%g | ||||
| s%@build_cpu@%$build_cpu%g | ||||
| s%@build_vendor@%$build_vendor%g | ||||
| s%@build_os@%$build_os%g | ||||
| s%@AS@%$AS%g | ||||
| s%@AR@%$AR%g | ||||
| s%@RANLIB@%$RANLIB%g | ||||
|   | ||||
| @@ -57,8 +57,12 @@ POST_INSTALL = : | ||||
| NORMAL_UNINSTALL = : | ||||
| PRE_UNINSTALL = : | ||||
| POST_UNINSTALL = : | ||||
| build_alias = @build_alias@ | ||||
| build_triplet = @build@ | ||||
| host_alias = @host_alias@ | ||||
| host_triplet = @host@ | ||||
| target_alias = @target_alias@ | ||||
| target_triplet = @target@ | ||||
| AR = @AR@ | ||||
| AS = @AS@ | ||||
| CC = @CC@ | ||||
|   | ||||
							
								
								
									
										8
									
								
								newlib/libc/machine/mips/aclocal.m4
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								newlib/libc/machine/mips/aclocal.m4
									
									
									
									
										vendored
									
									
								
							| @@ -82,7 +82,7 @@ else | ||||
| fi | ||||
| AC_SUBST(newlib_basedir) | ||||
|  | ||||
| AC_CANONICAL_HOST | ||||
| AC_CANONICAL_SYSTEM | ||||
|  | ||||
| AM_INIT_AUTOMAKE(newlib, 1.10.0) | ||||
|  | ||||
| @@ -126,12 +126,6 @@ fi | ||||
|  | ||||
| LIB_AC_PROG_CC | ||||
|  | ||||
| # AC_CHECK_TOOL does AC_REQUIRE (AC_CANONICAL_BUILD).  If we don't | ||||
| # run it explicitly here, it will be run implicitly before | ||||
| # NEWLIB_CONFIGURE, which doesn't work because that means that it will | ||||
| # be run before AC_CANONICAL_HOST. | ||||
| AC_CANONICAL_BUILD | ||||
|  | ||||
| AC_CHECK_TOOL(AS, as) | ||||
| AC_CHECK_TOOL(AR, ar) | ||||
| AC_CHECK_TOOL(RANLIB, ranlib, :) | ||||
|   | ||||
							
								
								
									
										138
									
								
								newlib/libc/machine/mips/configure
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										138
									
								
								newlib/libc/machine/mips/configure
									
									
									
									
										vendored
									
									
								
							| @@ -859,13 +859,34 @@ fi | ||||
|  | ||||
|  | ||||
|  | ||||
| # Do some error checking and defaulting for the host and target type. | ||||
| # The inputs are: | ||||
| #    configure --host=HOST --target=TARGET --build=BUILD NONOPT | ||||
| # | ||||
| # The rules are: | ||||
| # 1. You are not allowed to specify --host, --target, and nonopt at the | ||||
| #    same time. | ||||
| # 2. Host defaults to nonopt. | ||||
| # 3. If nonopt is not specified, then host defaults to the current host, | ||||
| #    as determined by config.guess. | ||||
| # 4. Target and build default to nonopt. | ||||
| # 5. If nonopt is not specified, then target and build default to host. | ||||
|  | ||||
| # The aliases save the names the user supplied, while $host etc. | ||||
| # will get canonicalized. | ||||
| case $host---$target---$nonopt in | ||||
| NONE---*---* | *---NONE---* | *---*---NONE) ;; | ||||
| *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;; | ||||
| esac | ||||
|  | ||||
|  | ||||
| # Make sure we can run config.sub. | ||||
| if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then : | ||||
| else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking host system type""... $ac_c" 1>&6 | ||||
| echo "configure:869: checking host system type" >&5 | ||||
| echo "configure:890: checking host system type" >&5 | ||||
|  | ||||
| host_alias=$host | ||||
| case "$host_alias" in | ||||
| @@ -885,6 +906,47 @@ host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$host" 1>&6 | ||||
|  | ||||
| echo $ac_n "checking target system type""... $ac_c" 1>&6 | ||||
| echo "configure:911: checking target system type" >&5 | ||||
|  | ||||
| target_alias=$target | ||||
| case "$target_alias" in | ||||
| NONE) | ||||
|   case $nonopt in | ||||
|   NONE) target_alias=$host_alias ;; | ||||
|   *) target_alias=$nonopt ;; | ||||
|   esac ;; | ||||
| esac | ||||
|  | ||||
| target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias` | ||||
| target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||||
| target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$target" 1>&6 | ||||
|  | ||||
| echo $ac_n "checking build system type""... $ac_c" 1>&6 | ||||
| echo "configure:929: checking build system type" >&5 | ||||
|  | ||||
| build_alias=$build | ||||
| case "$build_alias" in | ||||
| NONE) | ||||
|   case $nonopt in | ||||
|   NONE) build_alias=$host_alias ;; | ||||
|   *) build_alias=$nonopt ;; | ||||
|   esac ;; | ||||
| esac | ||||
|  | ||||
| build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias` | ||||
| build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||||
| build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$build" 1>&6 | ||||
|  | ||||
| test "$host_alias" != "$target_alias" && | ||||
|   test "$program_prefix$program_suffix$program_transform_name" = \ | ||||
|     NONENONEs,x,x, && | ||||
|   program_prefix=${target_alias}- | ||||
|  | ||||
|  | ||||
|  | ||||
| PACKAGE=newlib | ||||
| @@ -906,7 +968,7 @@ EOF | ||||
|  | ||||
| missing_dir=`cd $ac_aux_dir && pwd` | ||||
| echo $ac_n "checking for working aclocal""... $ac_c" 1>&6 | ||||
| echo "configure:910: checking for working aclocal" >&5 | ||||
| echo "configure:972: checking for working aclocal" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -919,7 +981,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 | ||||
| echo "configure:923: checking for working autoconf" >&5 | ||||
| echo "configure:985: checking for working autoconf" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -932,7 +994,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working automake""... $ac_c" 1>&6 | ||||
| echo "configure:936: checking for working automake" >&5 | ||||
| echo "configure:998: checking for working automake" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -945,7 +1007,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 | ||||
| echo "configure:949: checking for working autoheader" >&5 | ||||
| echo "configure:1011: checking for working autoheader" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -958,7 +1020,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 | ||||
| echo "configure:962: checking for working makeinfo" >&5 | ||||
| echo "configure:1024: checking for working makeinfo" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -983,7 +1045,7 @@ fi | ||||
| # Extract the first word of "gcc", so it can be a program name with args. | ||||
| set dummy gcc; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:987: checking for $ac_word" >&5 | ||||
| echo "configure:1049: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1013,7 +1075,7 @@ if test -z "$CC"; then | ||||
|   # Extract the first word of "cc", so it can be a program name with args. | ||||
| set dummy cc; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1017: checking for $ac_word" >&5 | ||||
| echo "configure:1079: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1062,7 +1124,7 @@ fi | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | ||||
| echo "configure:1066: checking whether we are using GNU C" >&5 | ||||
| echo "configure:1128: checking whether we are using GNU C" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1071,7 +1133,7 @@ else | ||||
|   yes; | ||||
| #endif | ||||
| EOF | ||||
| if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1075: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | ||||
| if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1137: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | ||||
|   ac_cv_prog_gcc=yes | ||||
| else | ||||
|   ac_cv_prog_gcc=no | ||||
| @@ -1086,7 +1148,7 @@ if test $ac_cv_prog_gcc = yes; then | ||||
|   ac_save_CFLAGS="$CFLAGS" | ||||
|   CFLAGS= | ||||
|   echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | ||||
| echo "configure:1090: checking whether ${CC-cc} accepts -g" >&5 | ||||
| echo "configure:1152: checking whether ${CC-cc} accepts -g" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1114,33 +1176,10 @@ else | ||||
| fi | ||||
|  | ||||
|  | ||||
| # AC_CHECK_TOOL does AC_REQUIRE (AC_CANONICAL_BUILD).  If we don't | ||||
| # run it explicitly here, it will be run implicitly before | ||||
| # NEWLIB_CONFIGURE, which doesn't work because that means that it will | ||||
| # be run before AC_CANONICAL_HOST. | ||||
| echo $ac_n "checking build system type""... $ac_c" 1>&6 | ||||
| echo "configure:1123: checking build system type" >&5 | ||||
|  | ||||
| build_alias=$build | ||||
| case "$build_alias" in | ||||
| NONE) | ||||
|   case $nonopt in | ||||
|   NONE) build_alias=$host_alias ;; | ||||
|   *) build_alias=$nonopt ;; | ||||
|   esac ;; | ||||
| esac | ||||
|  | ||||
| build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias` | ||||
| build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||||
| build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$build" 1>&6 | ||||
|  | ||||
|  | ||||
| # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}as; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1144: checking for $ac_word" >&5 | ||||
| echo "configure:1183: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1172,7 +1211,7 @@ fi | ||||
| # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}ar; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1176: checking for $ac_word" >&5 | ||||
| echo "configure:1215: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1204,7 +1243,7 @@ fi | ||||
| # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}ranlib; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1208: checking for $ac_word" >&5 | ||||
| echo "configure:1247: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1236,7 +1275,7 @@ if test -n "$ac_tool_prefix"; then | ||||
|   # Extract the first word of "ranlib", so it can be a program name with args. | ||||
| set dummy ranlib; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1240: checking for $ac_word" >&5 | ||||
| echo "configure:1279: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1281,7 +1320,7 @@ fi | ||||
| # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | ||||
| # ./install, which can be erroneously created by make from ./install.sh. | ||||
| echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | ||||
| echo "configure:1285: checking for a BSD compatible install" >&5 | ||||
| echo "configure:1324: checking for a BSD compatible install" >&5 | ||||
| if test -z "$INSTALL"; then | ||||
| if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| @@ -1335,7 +1374,7 @@ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | ||||
|  | ||||
|  | ||||
| echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6 | ||||
| echo "configure:1339: checking whether to enable maintainer-specific portions of Makefiles" >&5 | ||||
| echo "configure:1378: checking whether to enable maintainer-specific portions of Makefiles" >&5 | ||||
|     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. | ||||
| if test "${enable_maintainer_mode+set}" = set; then | ||||
|   enableval="$enable_maintainer_mode" | ||||
| @@ -1369,7 +1408,7 @@ if false; then | ||||
|    | ||||
|  | ||||
| echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 | ||||
| echo "configure:1373: checking for executable suffix" >&5 | ||||
| echo "configure:1412: checking for executable suffix" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1379,7 +1418,7 @@ else | ||||
|   rm -f conftest* | ||||
|   echo 'int main () { return 0; }' > conftest.$ac_ext | ||||
|   ac_cv_exeext= | ||||
|   if { (eval echo configure:1383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then | ||||
|   if { (eval echo configure:1422: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then | ||||
|     for file in conftest.*; do | ||||
|       case $file in | ||||
|       *.c | *.o | *.obj | *.ilk | *.pdb) ;; | ||||
| @@ -1579,6 +1618,16 @@ s%@host_alias@%$host_alias%g | ||||
| s%@host_cpu@%$host_cpu%g | ||||
| s%@host_vendor@%$host_vendor%g | ||||
| s%@host_os@%$host_os%g | ||||
| s%@target@%$target%g | ||||
| s%@target_alias@%$target_alias%g | ||||
| s%@target_cpu@%$target_cpu%g | ||||
| s%@target_vendor@%$target_vendor%g | ||||
| s%@target_os@%$target_os%g | ||||
| s%@build@%$build%g | ||||
| s%@build_alias@%$build_alias%g | ||||
| s%@build_cpu@%$build_cpu%g | ||||
| s%@build_vendor@%$build_vendor%g | ||||
| s%@build_os@%$build_os%g | ||||
| s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g | ||||
| s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g | ||||
| s%@INSTALL_DATA@%$INSTALL_DATA%g | ||||
| @@ -1591,11 +1640,6 @@ s%@AUTOHEADER@%$AUTOHEADER%g | ||||
| s%@MAKEINFO@%$MAKEINFO%g | ||||
| s%@SET_MAKE@%$SET_MAKE%g | ||||
| s%@CC@%$CC%g | ||||
| s%@build@%$build%g | ||||
| s%@build_alias@%$build_alias%g | ||||
| s%@build_cpu@%$build_cpu%g | ||||
| s%@build_vendor@%$build_vendor%g | ||||
| s%@build_os@%$build_os%g | ||||
| s%@AS@%$AS%g | ||||
| s%@AR@%$AR%g | ||||
| s%@RANLIB@%$RANLIB%g | ||||
|   | ||||
| @@ -57,8 +57,12 @@ POST_INSTALL = : | ||||
| NORMAL_UNINSTALL = : | ||||
| PRE_UNINSTALL = : | ||||
| POST_UNINSTALL = : | ||||
| build_alias = @build_alias@ | ||||
| build_triplet = @build@ | ||||
| host_alias = @host_alias@ | ||||
| host_triplet = @host@ | ||||
| target_alias = @target_alias@ | ||||
| target_triplet = @target@ | ||||
| AR = @AR@ | ||||
| AS = @AS@ | ||||
| CC = @CC@ | ||||
|   | ||||
							
								
								
									
										8
									
								
								newlib/libc/machine/mn10200/aclocal.m4
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								newlib/libc/machine/mn10200/aclocal.m4
									
									
									
									
										vendored
									
									
								
							| @@ -82,7 +82,7 @@ else | ||||
| fi | ||||
| AC_SUBST(newlib_basedir) | ||||
|  | ||||
| AC_CANONICAL_HOST | ||||
| AC_CANONICAL_SYSTEM | ||||
|  | ||||
| AM_INIT_AUTOMAKE(newlib, 1.10.0) | ||||
|  | ||||
| @@ -126,12 +126,6 @@ fi | ||||
|  | ||||
| LIB_AC_PROG_CC | ||||
|  | ||||
| # AC_CHECK_TOOL does AC_REQUIRE (AC_CANONICAL_BUILD).  If we don't | ||||
| # run it explicitly here, it will be run implicitly before | ||||
| # NEWLIB_CONFIGURE, which doesn't work because that means that it will | ||||
| # be run before AC_CANONICAL_HOST. | ||||
| AC_CANONICAL_BUILD | ||||
|  | ||||
| AC_CHECK_TOOL(AS, as) | ||||
| AC_CHECK_TOOL(AR, ar) | ||||
| AC_CHECK_TOOL(RANLIB, ranlib, :) | ||||
|   | ||||
							
								
								
									
										138
									
								
								newlib/libc/machine/mn10200/configure
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										138
									
								
								newlib/libc/machine/mn10200/configure
									
									
									
									
										vendored
									
									
								
							| @@ -859,13 +859,34 @@ fi | ||||
|  | ||||
|  | ||||
|  | ||||
| # Do some error checking and defaulting for the host and target type. | ||||
| # The inputs are: | ||||
| #    configure --host=HOST --target=TARGET --build=BUILD NONOPT | ||||
| # | ||||
| # The rules are: | ||||
| # 1. You are not allowed to specify --host, --target, and nonopt at the | ||||
| #    same time. | ||||
| # 2. Host defaults to nonopt. | ||||
| # 3. If nonopt is not specified, then host defaults to the current host, | ||||
| #    as determined by config.guess. | ||||
| # 4. Target and build default to nonopt. | ||||
| # 5. If nonopt is not specified, then target and build default to host. | ||||
|  | ||||
| # The aliases save the names the user supplied, while $host etc. | ||||
| # will get canonicalized. | ||||
| case $host---$target---$nonopt in | ||||
| NONE---*---* | *---NONE---* | *---*---NONE) ;; | ||||
| *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;; | ||||
| esac | ||||
|  | ||||
|  | ||||
| # Make sure we can run config.sub. | ||||
| if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then : | ||||
| else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking host system type""... $ac_c" 1>&6 | ||||
| echo "configure:869: checking host system type" >&5 | ||||
| echo "configure:890: checking host system type" >&5 | ||||
|  | ||||
| host_alias=$host | ||||
| case "$host_alias" in | ||||
| @@ -885,6 +906,47 @@ host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$host" 1>&6 | ||||
|  | ||||
| echo $ac_n "checking target system type""... $ac_c" 1>&6 | ||||
| echo "configure:911: checking target system type" >&5 | ||||
|  | ||||
| target_alias=$target | ||||
| case "$target_alias" in | ||||
| NONE) | ||||
|   case $nonopt in | ||||
|   NONE) target_alias=$host_alias ;; | ||||
|   *) target_alias=$nonopt ;; | ||||
|   esac ;; | ||||
| esac | ||||
|  | ||||
| target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias` | ||||
| target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||||
| target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$target" 1>&6 | ||||
|  | ||||
| echo $ac_n "checking build system type""... $ac_c" 1>&6 | ||||
| echo "configure:929: checking build system type" >&5 | ||||
|  | ||||
| build_alias=$build | ||||
| case "$build_alias" in | ||||
| NONE) | ||||
|   case $nonopt in | ||||
|   NONE) build_alias=$host_alias ;; | ||||
|   *) build_alias=$nonopt ;; | ||||
|   esac ;; | ||||
| esac | ||||
|  | ||||
| build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias` | ||||
| build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||||
| build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$build" 1>&6 | ||||
|  | ||||
| test "$host_alias" != "$target_alias" && | ||||
|   test "$program_prefix$program_suffix$program_transform_name" = \ | ||||
|     NONENONEs,x,x, && | ||||
|   program_prefix=${target_alias}- | ||||
|  | ||||
|  | ||||
|  | ||||
| PACKAGE=newlib | ||||
| @@ -906,7 +968,7 @@ EOF | ||||
|  | ||||
| missing_dir=`cd $ac_aux_dir && pwd` | ||||
| echo $ac_n "checking for working aclocal""... $ac_c" 1>&6 | ||||
| echo "configure:910: checking for working aclocal" >&5 | ||||
| echo "configure:972: checking for working aclocal" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -919,7 +981,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 | ||||
| echo "configure:923: checking for working autoconf" >&5 | ||||
| echo "configure:985: checking for working autoconf" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -932,7 +994,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working automake""... $ac_c" 1>&6 | ||||
| echo "configure:936: checking for working automake" >&5 | ||||
| echo "configure:998: checking for working automake" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -945,7 +1007,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 | ||||
| echo "configure:949: checking for working autoheader" >&5 | ||||
| echo "configure:1011: checking for working autoheader" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -958,7 +1020,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 | ||||
| echo "configure:962: checking for working makeinfo" >&5 | ||||
| echo "configure:1024: checking for working makeinfo" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -983,7 +1045,7 @@ fi | ||||
| # Extract the first word of "gcc", so it can be a program name with args. | ||||
| set dummy gcc; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:987: checking for $ac_word" >&5 | ||||
| echo "configure:1049: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1013,7 +1075,7 @@ if test -z "$CC"; then | ||||
|   # Extract the first word of "cc", so it can be a program name with args. | ||||
| set dummy cc; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1017: checking for $ac_word" >&5 | ||||
| echo "configure:1079: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1062,7 +1124,7 @@ fi | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | ||||
| echo "configure:1066: checking whether we are using GNU C" >&5 | ||||
| echo "configure:1128: checking whether we are using GNU C" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1071,7 +1133,7 @@ else | ||||
|   yes; | ||||
| #endif | ||||
| EOF | ||||
| if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1075: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | ||||
| if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1137: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | ||||
|   ac_cv_prog_gcc=yes | ||||
| else | ||||
|   ac_cv_prog_gcc=no | ||||
| @@ -1086,7 +1148,7 @@ if test $ac_cv_prog_gcc = yes; then | ||||
|   ac_save_CFLAGS="$CFLAGS" | ||||
|   CFLAGS= | ||||
|   echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | ||||
| echo "configure:1090: checking whether ${CC-cc} accepts -g" >&5 | ||||
| echo "configure:1152: checking whether ${CC-cc} accepts -g" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1114,33 +1176,10 @@ else | ||||
| fi | ||||
|  | ||||
|  | ||||
| # AC_CHECK_TOOL does AC_REQUIRE (AC_CANONICAL_BUILD).  If we don't | ||||
| # run it explicitly here, it will be run implicitly before | ||||
| # NEWLIB_CONFIGURE, which doesn't work because that means that it will | ||||
| # be run before AC_CANONICAL_HOST. | ||||
| echo $ac_n "checking build system type""... $ac_c" 1>&6 | ||||
| echo "configure:1123: checking build system type" >&5 | ||||
|  | ||||
| build_alias=$build | ||||
| case "$build_alias" in | ||||
| NONE) | ||||
|   case $nonopt in | ||||
|   NONE) build_alias=$host_alias ;; | ||||
|   *) build_alias=$nonopt ;; | ||||
|   esac ;; | ||||
| esac | ||||
|  | ||||
| build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias` | ||||
| build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||||
| build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$build" 1>&6 | ||||
|  | ||||
|  | ||||
| # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}as; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1144: checking for $ac_word" >&5 | ||||
| echo "configure:1183: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1172,7 +1211,7 @@ fi | ||||
| # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}ar; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1176: checking for $ac_word" >&5 | ||||
| echo "configure:1215: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1204,7 +1243,7 @@ fi | ||||
| # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}ranlib; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1208: checking for $ac_word" >&5 | ||||
| echo "configure:1247: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1236,7 +1275,7 @@ if test -n "$ac_tool_prefix"; then | ||||
|   # Extract the first word of "ranlib", so it can be a program name with args. | ||||
| set dummy ranlib; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1240: checking for $ac_word" >&5 | ||||
| echo "configure:1279: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1281,7 +1320,7 @@ fi | ||||
| # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | ||||
| # ./install, which can be erroneously created by make from ./install.sh. | ||||
| echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | ||||
| echo "configure:1285: checking for a BSD compatible install" >&5 | ||||
| echo "configure:1324: checking for a BSD compatible install" >&5 | ||||
| if test -z "$INSTALL"; then | ||||
| if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| @@ -1335,7 +1374,7 @@ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | ||||
|  | ||||
|  | ||||
| echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6 | ||||
| echo "configure:1339: checking whether to enable maintainer-specific portions of Makefiles" >&5 | ||||
| echo "configure:1378: checking whether to enable maintainer-specific portions of Makefiles" >&5 | ||||
|     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. | ||||
| if test "${enable_maintainer_mode+set}" = set; then | ||||
|   enableval="$enable_maintainer_mode" | ||||
| @@ -1369,7 +1408,7 @@ if false; then | ||||
|    | ||||
|  | ||||
| echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 | ||||
| echo "configure:1373: checking for executable suffix" >&5 | ||||
| echo "configure:1412: checking for executable suffix" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1379,7 +1418,7 @@ else | ||||
|   rm -f conftest* | ||||
|   echo 'int main () { return 0; }' > conftest.$ac_ext | ||||
|   ac_cv_exeext= | ||||
|   if { (eval echo configure:1383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then | ||||
|   if { (eval echo configure:1422: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then | ||||
|     for file in conftest.*; do | ||||
|       case $file in | ||||
|       *.c | *.o | *.obj | *.ilk | *.pdb) ;; | ||||
| @@ -1579,6 +1618,16 @@ s%@host_alias@%$host_alias%g | ||||
| s%@host_cpu@%$host_cpu%g | ||||
| s%@host_vendor@%$host_vendor%g | ||||
| s%@host_os@%$host_os%g | ||||
| s%@target@%$target%g | ||||
| s%@target_alias@%$target_alias%g | ||||
| s%@target_cpu@%$target_cpu%g | ||||
| s%@target_vendor@%$target_vendor%g | ||||
| s%@target_os@%$target_os%g | ||||
| s%@build@%$build%g | ||||
| s%@build_alias@%$build_alias%g | ||||
| s%@build_cpu@%$build_cpu%g | ||||
| s%@build_vendor@%$build_vendor%g | ||||
| s%@build_os@%$build_os%g | ||||
| s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g | ||||
| s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g | ||||
| s%@INSTALL_DATA@%$INSTALL_DATA%g | ||||
| @@ -1591,11 +1640,6 @@ s%@AUTOHEADER@%$AUTOHEADER%g | ||||
| s%@MAKEINFO@%$MAKEINFO%g | ||||
| s%@SET_MAKE@%$SET_MAKE%g | ||||
| s%@CC@%$CC%g | ||||
| s%@build@%$build%g | ||||
| s%@build_alias@%$build_alias%g | ||||
| s%@build_cpu@%$build_cpu%g | ||||
| s%@build_vendor@%$build_vendor%g | ||||
| s%@build_os@%$build_os%g | ||||
| s%@AS@%$AS%g | ||||
| s%@AR@%$AR%g | ||||
| s%@RANLIB@%$RANLIB%g | ||||
|   | ||||
| @@ -57,8 +57,12 @@ POST_INSTALL = : | ||||
| NORMAL_UNINSTALL = : | ||||
| PRE_UNINSTALL = : | ||||
| POST_UNINSTALL = : | ||||
| build_alias = @build_alias@ | ||||
| build_triplet = @build@ | ||||
| host_alias = @host_alias@ | ||||
| host_triplet = @host@ | ||||
| target_alias = @target_alias@ | ||||
| target_triplet = @target@ | ||||
| AR = @AR@ | ||||
| AS = @AS@ | ||||
| CC = @CC@ | ||||
|   | ||||
							
								
								
									
										8
									
								
								newlib/libc/machine/mn10300/aclocal.m4
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								newlib/libc/machine/mn10300/aclocal.m4
									
									
									
									
										vendored
									
									
								
							| @@ -82,7 +82,7 @@ else | ||||
| fi | ||||
| AC_SUBST(newlib_basedir) | ||||
|  | ||||
| AC_CANONICAL_HOST | ||||
| AC_CANONICAL_SYSTEM | ||||
|  | ||||
| AM_INIT_AUTOMAKE(newlib, 1.10.0) | ||||
|  | ||||
| @@ -126,12 +126,6 @@ fi | ||||
|  | ||||
| LIB_AC_PROG_CC | ||||
|  | ||||
| # AC_CHECK_TOOL does AC_REQUIRE (AC_CANONICAL_BUILD).  If we don't | ||||
| # run it explicitly here, it will be run implicitly before | ||||
| # NEWLIB_CONFIGURE, which doesn't work because that means that it will | ||||
| # be run before AC_CANONICAL_HOST. | ||||
| AC_CANONICAL_BUILD | ||||
|  | ||||
| AC_CHECK_TOOL(AS, as) | ||||
| AC_CHECK_TOOL(AR, ar) | ||||
| AC_CHECK_TOOL(RANLIB, ranlib, :) | ||||
|   | ||||
							
								
								
									
										138
									
								
								newlib/libc/machine/mn10300/configure
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										138
									
								
								newlib/libc/machine/mn10300/configure
									
									
									
									
										vendored
									
									
								
							| @@ -859,13 +859,34 @@ fi | ||||
|  | ||||
|  | ||||
|  | ||||
| # Do some error checking and defaulting for the host and target type. | ||||
| # The inputs are: | ||||
| #    configure --host=HOST --target=TARGET --build=BUILD NONOPT | ||||
| # | ||||
| # The rules are: | ||||
| # 1. You are not allowed to specify --host, --target, and nonopt at the | ||||
| #    same time. | ||||
| # 2. Host defaults to nonopt. | ||||
| # 3. If nonopt is not specified, then host defaults to the current host, | ||||
| #    as determined by config.guess. | ||||
| # 4. Target and build default to nonopt. | ||||
| # 5. If nonopt is not specified, then target and build default to host. | ||||
|  | ||||
| # The aliases save the names the user supplied, while $host etc. | ||||
| # will get canonicalized. | ||||
| case $host---$target---$nonopt in | ||||
| NONE---*---* | *---NONE---* | *---*---NONE) ;; | ||||
| *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;; | ||||
| esac | ||||
|  | ||||
|  | ||||
| # Make sure we can run config.sub. | ||||
| if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then : | ||||
| else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking host system type""... $ac_c" 1>&6 | ||||
| echo "configure:869: checking host system type" >&5 | ||||
| echo "configure:890: checking host system type" >&5 | ||||
|  | ||||
| host_alias=$host | ||||
| case "$host_alias" in | ||||
| @@ -885,6 +906,47 @@ host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$host" 1>&6 | ||||
|  | ||||
| echo $ac_n "checking target system type""... $ac_c" 1>&6 | ||||
| echo "configure:911: checking target system type" >&5 | ||||
|  | ||||
| target_alias=$target | ||||
| case "$target_alias" in | ||||
| NONE) | ||||
|   case $nonopt in | ||||
|   NONE) target_alias=$host_alias ;; | ||||
|   *) target_alias=$nonopt ;; | ||||
|   esac ;; | ||||
| esac | ||||
|  | ||||
| target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias` | ||||
| target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||||
| target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$target" 1>&6 | ||||
|  | ||||
| echo $ac_n "checking build system type""... $ac_c" 1>&6 | ||||
| echo "configure:929: checking build system type" >&5 | ||||
|  | ||||
| build_alias=$build | ||||
| case "$build_alias" in | ||||
| NONE) | ||||
|   case $nonopt in | ||||
|   NONE) build_alias=$host_alias ;; | ||||
|   *) build_alias=$nonopt ;; | ||||
|   esac ;; | ||||
| esac | ||||
|  | ||||
| build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias` | ||||
| build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||||
| build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$build" 1>&6 | ||||
|  | ||||
| test "$host_alias" != "$target_alias" && | ||||
|   test "$program_prefix$program_suffix$program_transform_name" = \ | ||||
|     NONENONEs,x,x, && | ||||
|   program_prefix=${target_alias}- | ||||
|  | ||||
|  | ||||
|  | ||||
| PACKAGE=newlib | ||||
| @@ -906,7 +968,7 @@ EOF | ||||
|  | ||||
| missing_dir=`cd $ac_aux_dir && pwd` | ||||
| echo $ac_n "checking for working aclocal""... $ac_c" 1>&6 | ||||
| echo "configure:910: checking for working aclocal" >&5 | ||||
| echo "configure:972: checking for working aclocal" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -919,7 +981,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 | ||||
| echo "configure:923: checking for working autoconf" >&5 | ||||
| echo "configure:985: checking for working autoconf" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -932,7 +994,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working automake""... $ac_c" 1>&6 | ||||
| echo "configure:936: checking for working automake" >&5 | ||||
| echo "configure:998: checking for working automake" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -945,7 +1007,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 | ||||
| echo "configure:949: checking for working autoheader" >&5 | ||||
| echo "configure:1011: checking for working autoheader" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -958,7 +1020,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 | ||||
| echo "configure:962: checking for working makeinfo" >&5 | ||||
| echo "configure:1024: checking for working makeinfo" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -983,7 +1045,7 @@ fi | ||||
| # Extract the first word of "gcc", so it can be a program name with args. | ||||
| set dummy gcc; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:987: checking for $ac_word" >&5 | ||||
| echo "configure:1049: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1013,7 +1075,7 @@ if test -z "$CC"; then | ||||
|   # Extract the first word of "cc", so it can be a program name with args. | ||||
| set dummy cc; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1017: checking for $ac_word" >&5 | ||||
| echo "configure:1079: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1062,7 +1124,7 @@ fi | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | ||||
| echo "configure:1066: checking whether we are using GNU C" >&5 | ||||
| echo "configure:1128: checking whether we are using GNU C" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1071,7 +1133,7 @@ else | ||||
|   yes; | ||||
| #endif | ||||
| EOF | ||||
| if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1075: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | ||||
| if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1137: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | ||||
|   ac_cv_prog_gcc=yes | ||||
| else | ||||
|   ac_cv_prog_gcc=no | ||||
| @@ -1086,7 +1148,7 @@ if test $ac_cv_prog_gcc = yes; then | ||||
|   ac_save_CFLAGS="$CFLAGS" | ||||
|   CFLAGS= | ||||
|   echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | ||||
| echo "configure:1090: checking whether ${CC-cc} accepts -g" >&5 | ||||
| echo "configure:1152: checking whether ${CC-cc} accepts -g" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1114,33 +1176,10 @@ else | ||||
| fi | ||||
|  | ||||
|  | ||||
| # AC_CHECK_TOOL does AC_REQUIRE (AC_CANONICAL_BUILD).  If we don't | ||||
| # run it explicitly here, it will be run implicitly before | ||||
| # NEWLIB_CONFIGURE, which doesn't work because that means that it will | ||||
| # be run before AC_CANONICAL_HOST. | ||||
| echo $ac_n "checking build system type""... $ac_c" 1>&6 | ||||
| echo "configure:1123: checking build system type" >&5 | ||||
|  | ||||
| build_alias=$build | ||||
| case "$build_alias" in | ||||
| NONE) | ||||
|   case $nonopt in | ||||
|   NONE) build_alias=$host_alias ;; | ||||
|   *) build_alias=$nonopt ;; | ||||
|   esac ;; | ||||
| esac | ||||
|  | ||||
| build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias` | ||||
| build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||||
| build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$build" 1>&6 | ||||
|  | ||||
|  | ||||
| # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}as; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1144: checking for $ac_word" >&5 | ||||
| echo "configure:1183: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1172,7 +1211,7 @@ fi | ||||
| # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}ar; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1176: checking for $ac_word" >&5 | ||||
| echo "configure:1215: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1204,7 +1243,7 @@ fi | ||||
| # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}ranlib; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1208: checking for $ac_word" >&5 | ||||
| echo "configure:1247: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1236,7 +1275,7 @@ if test -n "$ac_tool_prefix"; then | ||||
|   # Extract the first word of "ranlib", so it can be a program name with args. | ||||
| set dummy ranlib; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1240: checking for $ac_word" >&5 | ||||
| echo "configure:1279: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1281,7 +1320,7 @@ fi | ||||
| # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | ||||
| # ./install, which can be erroneously created by make from ./install.sh. | ||||
| echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | ||||
| echo "configure:1285: checking for a BSD compatible install" >&5 | ||||
| echo "configure:1324: checking for a BSD compatible install" >&5 | ||||
| if test -z "$INSTALL"; then | ||||
| if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| @@ -1335,7 +1374,7 @@ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | ||||
|  | ||||
|  | ||||
| echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6 | ||||
| echo "configure:1339: checking whether to enable maintainer-specific portions of Makefiles" >&5 | ||||
| echo "configure:1378: checking whether to enable maintainer-specific portions of Makefiles" >&5 | ||||
|     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. | ||||
| if test "${enable_maintainer_mode+set}" = set; then | ||||
|   enableval="$enable_maintainer_mode" | ||||
| @@ -1369,7 +1408,7 @@ if false; then | ||||
|    | ||||
|  | ||||
| echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 | ||||
| echo "configure:1373: checking for executable suffix" >&5 | ||||
| echo "configure:1412: checking for executable suffix" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1379,7 +1418,7 @@ else | ||||
|   rm -f conftest* | ||||
|   echo 'int main () { return 0; }' > conftest.$ac_ext | ||||
|   ac_cv_exeext= | ||||
|   if { (eval echo configure:1383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then | ||||
|   if { (eval echo configure:1422: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then | ||||
|     for file in conftest.*; do | ||||
|       case $file in | ||||
|       *.c | *.o | *.obj | *.ilk | *.pdb) ;; | ||||
| @@ -1579,6 +1618,16 @@ s%@host_alias@%$host_alias%g | ||||
| s%@host_cpu@%$host_cpu%g | ||||
| s%@host_vendor@%$host_vendor%g | ||||
| s%@host_os@%$host_os%g | ||||
| s%@target@%$target%g | ||||
| s%@target_alias@%$target_alias%g | ||||
| s%@target_cpu@%$target_cpu%g | ||||
| s%@target_vendor@%$target_vendor%g | ||||
| s%@target_os@%$target_os%g | ||||
| s%@build@%$build%g | ||||
| s%@build_alias@%$build_alias%g | ||||
| s%@build_cpu@%$build_cpu%g | ||||
| s%@build_vendor@%$build_vendor%g | ||||
| s%@build_os@%$build_os%g | ||||
| s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g | ||||
| s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g | ||||
| s%@INSTALL_DATA@%$INSTALL_DATA%g | ||||
| @@ -1591,11 +1640,6 @@ s%@AUTOHEADER@%$AUTOHEADER%g | ||||
| s%@MAKEINFO@%$MAKEINFO%g | ||||
| s%@SET_MAKE@%$SET_MAKE%g | ||||
| s%@CC@%$CC%g | ||||
| s%@build@%$build%g | ||||
| s%@build_alias@%$build_alias%g | ||||
| s%@build_cpu@%$build_cpu%g | ||||
| s%@build_vendor@%$build_vendor%g | ||||
| s%@build_os@%$build_os%g | ||||
| s%@AS@%$AS%g | ||||
| s%@AR@%$AR%g | ||||
| s%@RANLIB@%$RANLIB%g | ||||
|   | ||||
| @@ -57,8 +57,12 @@ POST_INSTALL = : | ||||
| NORMAL_UNINSTALL = : | ||||
| PRE_UNINSTALL = : | ||||
| POST_UNINSTALL = : | ||||
| build_alias = @build_alias@ | ||||
| build_triplet = @build@ | ||||
| host_alias = @host_alias@ | ||||
| host_triplet = @host@ | ||||
| target_alias = @target_alias@ | ||||
| target_triplet = @target@ | ||||
| AR = @AR@ | ||||
| AS = @AS@ | ||||
| CC = @CC@ | ||||
|   | ||||
							
								
								
									
										8
									
								
								newlib/libc/machine/necv70/aclocal.m4
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								newlib/libc/machine/necv70/aclocal.m4
									
									
									
									
										vendored
									
									
								
							| @@ -82,7 +82,7 @@ else | ||||
| fi | ||||
| AC_SUBST(newlib_basedir) | ||||
|  | ||||
| AC_CANONICAL_HOST | ||||
| AC_CANONICAL_SYSTEM | ||||
|  | ||||
| AM_INIT_AUTOMAKE(newlib, 1.10.0) | ||||
|  | ||||
| @@ -126,12 +126,6 @@ fi | ||||
|  | ||||
| LIB_AC_PROG_CC | ||||
|  | ||||
| # AC_CHECK_TOOL does AC_REQUIRE (AC_CANONICAL_BUILD).  If we don't | ||||
| # run it explicitly here, it will be run implicitly before | ||||
| # NEWLIB_CONFIGURE, which doesn't work because that means that it will | ||||
| # be run before AC_CANONICAL_HOST. | ||||
| AC_CANONICAL_BUILD | ||||
|  | ||||
| AC_CHECK_TOOL(AS, as) | ||||
| AC_CHECK_TOOL(AR, ar) | ||||
| AC_CHECK_TOOL(RANLIB, ranlib, :) | ||||
|   | ||||
							
								
								
									
										138
									
								
								newlib/libc/machine/necv70/configure
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										138
									
								
								newlib/libc/machine/necv70/configure
									
									
									
									
										vendored
									
									
								
							| @@ -859,13 +859,34 @@ fi | ||||
|  | ||||
|  | ||||
|  | ||||
| # Do some error checking and defaulting for the host and target type. | ||||
| # The inputs are: | ||||
| #    configure --host=HOST --target=TARGET --build=BUILD NONOPT | ||||
| # | ||||
| # The rules are: | ||||
| # 1. You are not allowed to specify --host, --target, and nonopt at the | ||||
| #    same time. | ||||
| # 2. Host defaults to nonopt. | ||||
| # 3. If nonopt is not specified, then host defaults to the current host, | ||||
| #    as determined by config.guess. | ||||
| # 4. Target and build default to nonopt. | ||||
| # 5. If nonopt is not specified, then target and build default to host. | ||||
|  | ||||
| # The aliases save the names the user supplied, while $host etc. | ||||
| # will get canonicalized. | ||||
| case $host---$target---$nonopt in | ||||
| NONE---*---* | *---NONE---* | *---*---NONE) ;; | ||||
| *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;; | ||||
| esac | ||||
|  | ||||
|  | ||||
| # Make sure we can run config.sub. | ||||
| if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then : | ||||
| else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking host system type""... $ac_c" 1>&6 | ||||
| echo "configure:869: checking host system type" >&5 | ||||
| echo "configure:890: checking host system type" >&5 | ||||
|  | ||||
| host_alias=$host | ||||
| case "$host_alias" in | ||||
| @@ -885,6 +906,47 @@ host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$host" 1>&6 | ||||
|  | ||||
| echo $ac_n "checking target system type""... $ac_c" 1>&6 | ||||
| echo "configure:911: checking target system type" >&5 | ||||
|  | ||||
| target_alias=$target | ||||
| case "$target_alias" in | ||||
| NONE) | ||||
|   case $nonopt in | ||||
|   NONE) target_alias=$host_alias ;; | ||||
|   *) target_alias=$nonopt ;; | ||||
|   esac ;; | ||||
| esac | ||||
|  | ||||
| target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias` | ||||
| target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||||
| target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$target" 1>&6 | ||||
|  | ||||
| echo $ac_n "checking build system type""... $ac_c" 1>&6 | ||||
| echo "configure:929: checking build system type" >&5 | ||||
|  | ||||
| build_alias=$build | ||||
| case "$build_alias" in | ||||
| NONE) | ||||
|   case $nonopt in | ||||
|   NONE) build_alias=$host_alias ;; | ||||
|   *) build_alias=$nonopt ;; | ||||
|   esac ;; | ||||
| esac | ||||
|  | ||||
| build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias` | ||||
| build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||||
| build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$build" 1>&6 | ||||
|  | ||||
| test "$host_alias" != "$target_alias" && | ||||
|   test "$program_prefix$program_suffix$program_transform_name" = \ | ||||
|     NONENONEs,x,x, && | ||||
|   program_prefix=${target_alias}- | ||||
|  | ||||
|  | ||||
|  | ||||
| PACKAGE=newlib | ||||
| @@ -906,7 +968,7 @@ EOF | ||||
|  | ||||
| missing_dir=`cd $ac_aux_dir && pwd` | ||||
| echo $ac_n "checking for working aclocal""... $ac_c" 1>&6 | ||||
| echo "configure:910: checking for working aclocal" >&5 | ||||
| echo "configure:972: checking for working aclocal" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -919,7 +981,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 | ||||
| echo "configure:923: checking for working autoconf" >&5 | ||||
| echo "configure:985: checking for working autoconf" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -932,7 +994,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working automake""... $ac_c" 1>&6 | ||||
| echo "configure:936: checking for working automake" >&5 | ||||
| echo "configure:998: checking for working automake" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -945,7 +1007,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 | ||||
| echo "configure:949: checking for working autoheader" >&5 | ||||
| echo "configure:1011: checking for working autoheader" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -958,7 +1020,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 | ||||
| echo "configure:962: checking for working makeinfo" >&5 | ||||
| echo "configure:1024: checking for working makeinfo" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -983,7 +1045,7 @@ fi | ||||
| # Extract the first word of "gcc", so it can be a program name with args. | ||||
| set dummy gcc; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:987: checking for $ac_word" >&5 | ||||
| echo "configure:1049: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1013,7 +1075,7 @@ if test -z "$CC"; then | ||||
|   # Extract the first word of "cc", so it can be a program name with args. | ||||
| set dummy cc; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1017: checking for $ac_word" >&5 | ||||
| echo "configure:1079: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1062,7 +1124,7 @@ fi | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | ||||
| echo "configure:1066: checking whether we are using GNU C" >&5 | ||||
| echo "configure:1128: checking whether we are using GNU C" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1071,7 +1133,7 @@ else | ||||
|   yes; | ||||
| #endif | ||||
| EOF | ||||
| if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1075: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | ||||
| if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1137: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | ||||
|   ac_cv_prog_gcc=yes | ||||
| else | ||||
|   ac_cv_prog_gcc=no | ||||
| @@ -1086,7 +1148,7 @@ if test $ac_cv_prog_gcc = yes; then | ||||
|   ac_save_CFLAGS="$CFLAGS" | ||||
|   CFLAGS= | ||||
|   echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | ||||
| echo "configure:1090: checking whether ${CC-cc} accepts -g" >&5 | ||||
| echo "configure:1152: checking whether ${CC-cc} accepts -g" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1114,33 +1176,10 @@ else | ||||
| fi | ||||
|  | ||||
|  | ||||
| # AC_CHECK_TOOL does AC_REQUIRE (AC_CANONICAL_BUILD).  If we don't | ||||
| # run it explicitly here, it will be run implicitly before | ||||
| # NEWLIB_CONFIGURE, which doesn't work because that means that it will | ||||
| # be run before AC_CANONICAL_HOST. | ||||
| echo $ac_n "checking build system type""... $ac_c" 1>&6 | ||||
| echo "configure:1123: checking build system type" >&5 | ||||
|  | ||||
| build_alias=$build | ||||
| case "$build_alias" in | ||||
| NONE) | ||||
|   case $nonopt in | ||||
|   NONE) build_alias=$host_alias ;; | ||||
|   *) build_alias=$nonopt ;; | ||||
|   esac ;; | ||||
| esac | ||||
|  | ||||
| build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias` | ||||
| build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||||
| build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$build" 1>&6 | ||||
|  | ||||
|  | ||||
| # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}as; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1144: checking for $ac_word" >&5 | ||||
| echo "configure:1183: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1172,7 +1211,7 @@ fi | ||||
| # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}ar; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1176: checking for $ac_word" >&5 | ||||
| echo "configure:1215: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1204,7 +1243,7 @@ fi | ||||
| # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}ranlib; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1208: checking for $ac_word" >&5 | ||||
| echo "configure:1247: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1236,7 +1275,7 @@ if test -n "$ac_tool_prefix"; then | ||||
|   # Extract the first word of "ranlib", so it can be a program name with args. | ||||
| set dummy ranlib; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1240: checking for $ac_word" >&5 | ||||
| echo "configure:1279: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1281,7 +1320,7 @@ fi | ||||
| # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | ||||
| # ./install, which can be erroneously created by make from ./install.sh. | ||||
| echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | ||||
| echo "configure:1285: checking for a BSD compatible install" >&5 | ||||
| echo "configure:1324: checking for a BSD compatible install" >&5 | ||||
| if test -z "$INSTALL"; then | ||||
| if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| @@ -1335,7 +1374,7 @@ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | ||||
|  | ||||
|  | ||||
| echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6 | ||||
| echo "configure:1339: checking whether to enable maintainer-specific portions of Makefiles" >&5 | ||||
| echo "configure:1378: checking whether to enable maintainer-specific portions of Makefiles" >&5 | ||||
|     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. | ||||
| if test "${enable_maintainer_mode+set}" = set; then | ||||
|   enableval="$enable_maintainer_mode" | ||||
| @@ -1369,7 +1408,7 @@ if false; then | ||||
|    | ||||
|  | ||||
| echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 | ||||
| echo "configure:1373: checking for executable suffix" >&5 | ||||
| echo "configure:1412: checking for executable suffix" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1379,7 +1418,7 @@ else | ||||
|   rm -f conftest* | ||||
|   echo 'int main () { return 0; }' > conftest.$ac_ext | ||||
|   ac_cv_exeext= | ||||
|   if { (eval echo configure:1383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then | ||||
|   if { (eval echo configure:1422: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then | ||||
|     for file in conftest.*; do | ||||
|       case $file in | ||||
|       *.c | *.o | *.obj | *.ilk | *.pdb) ;; | ||||
| @@ -1579,6 +1618,16 @@ s%@host_alias@%$host_alias%g | ||||
| s%@host_cpu@%$host_cpu%g | ||||
| s%@host_vendor@%$host_vendor%g | ||||
| s%@host_os@%$host_os%g | ||||
| s%@target@%$target%g | ||||
| s%@target_alias@%$target_alias%g | ||||
| s%@target_cpu@%$target_cpu%g | ||||
| s%@target_vendor@%$target_vendor%g | ||||
| s%@target_os@%$target_os%g | ||||
| s%@build@%$build%g | ||||
| s%@build_alias@%$build_alias%g | ||||
| s%@build_cpu@%$build_cpu%g | ||||
| s%@build_vendor@%$build_vendor%g | ||||
| s%@build_os@%$build_os%g | ||||
| s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g | ||||
| s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g | ||||
| s%@INSTALL_DATA@%$INSTALL_DATA%g | ||||
| @@ -1591,11 +1640,6 @@ s%@AUTOHEADER@%$AUTOHEADER%g | ||||
| s%@MAKEINFO@%$MAKEINFO%g | ||||
| s%@SET_MAKE@%$SET_MAKE%g | ||||
| s%@CC@%$CC%g | ||||
| s%@build@%$build%g | ||||
| s%@build_alias@%$build_alias%g | ||||
| s%@build_cpu@%$build_cpu%g | ||||
| s%@build_vendor@%$build_vendor%g | ||||
| s%@build_os@%$build_os%g | ||||
| s%@AS@%$AS%g | ||||
| s%@AR@%$AR%g | ||||
| s%@RANLIB@%$RANLIB%g | ||||
|   | ||||
| @@ -57,8 +57,12 @@ POST_INSTALL = : | ||||
| NORMAL_UNINSTALL = : | ||||
| PRE_UNINSTALL = : | ||||
| POST_UNINSTALL = : | ||||
| build_alias = @build_alias@ | ||||
| build_triplet = @build@ | ||||
| host_alias = @host_alias@ | ||||
| host_triplet = @host@ | ||||
| target_alias = @target_alias@ | ||||
| target_triplet = @target@ | ||||
| AR = @AR@ | ||||
| AS = @AS@ | ||||
| CC = @CC@ | ||||
|   | ||||
							
								
								
									
										8
									
								
								newlib/libc/machine/powerpc/aclocal.m4
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								newlib/libc/machine/powerpc/aclocal.m4
									
									
									
									
										vendored
									
									
								
							| @@ -82,7 +82,7 @@ else | ||||
| fi | ||||
| AC_SUBST(newlib_basedir) | ||||
|  | ||||
| AC_CANONICAL_HOST | ||||
| AC_CANONICAL_SYSTEM | ||||
|  | ||||
| AM_INIT_AUTOMAKE(newlib, 1.10.0) | ||||
|  | ||||
| @@ -126,12 +126,6 @@ fi | ||||
|  | ||||
| LIB_AC_PROG_CC | ||||
|  | ||||
| # AC_CHECK_TOOL does AC_REQUIRE (AC_CANONICAL_BUILD).  If we don't | ||||
| # run it explicitly here, it will be run implicitly before | ||||
| # NEWLIB_CONFIGURE, which doesn't work because that means that it will | ||||
| # be run before AC_CANONICAL_HOST. | ||||
| AC_CANONICAL_BUILD | ||||
|  | ||||
| AC_CHECK_TOOL(AS, as) | ||||
| AC_CHECK_TOOL(AR, ar) | ||||
| AC_CHECK_TOOL(RANLIB, ranlib, :) | ||||
|   | ||||
							
								
								
									
										138
									
								
								newlib/libc/machine/powerpc/configure
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										138
									
								
								newlib/libc/machine/powerpc/configure
									
									
									
									
										vendored
									
									
								
							| @@ -859,13 +859,34 @@ fi | ||||
|  | ||||
|  | ||||
|  | ||||
| # Do some error checking and defaulting for the host and target type. | ||||
| # The inputs are: | ||||
| #    configure --host=HOST --target=TARGET --build=BUILD NONOPT | ||||
| # | ||||
| # The rules are: | ||||
| # 1. You are not allowed to specify --host, --target, and nonopt at the | ||||
| #    same time. | ||||
| # 2. Host defaults to nonopt. | ||||
| # 3. If nonopt is not specified, then host defaults to the current host, | ||||
| #    as determined by config.guess. | ||||
| # 4. Target and build default to nonopt. | ||||
| # 5. If nonopt is not specified, then target and build default to host. | ||||
|  | ||||
| # The aliases save the names the user supplied, while $host etc. | ||||
| # will get canonicalized. | ||||
| case $host---$target---$nonopt in | ||||
| NONE---*---* | *---NONE---* | *---*---NONE) ;; | ||||
| *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;; | ||||
| esac | ||||
|  | ||||
|  | ||||
| # Make sure we can run config.sub. | ||||
| if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then : | ||||
| else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking host system type""... $ac_c" 1>&6 | ||||
| echo "configure:869: checking host system type" >&5 | ||||
| echo "configure:890: checking host system type" >&5 | ||||
|  | ||||
| host_alias=$host | ||||
| case "$host_alias" in | ||||
| @@ -885,6 +906,47 @@ host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$host" 1>&6 | ||||
|  | ||||
| echo $ac_n "checking target system type""... $ac_c" 1>&6 | ||||
| echo "configure:911: checking target system type" >&5 | ||||
|  | ||||
| target_alias=$target | ||||
| case "$target_alias" in | ||||
| NONE) | ||||
|   case $nonopt in | ||||
|   NONE) target_alias=$host_alias ;; | ||||
|   *) target_alias=$nonopt ;; | ||||
|   esac ;; | ||||
| esac | ||||
|  | ||||
| target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias` | ||||
| target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||||
| target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$target" 1>&6 | ||||
|  | ||||
| echo $ac_n "checking build system type""... $ac_c" 1>&6 | ||||
| echo "configure:929: checking build system type" >&5 | ||||
|  | ||||
| build_alias=$build | ||||
| case "$build_alias" in | ||||
| NONE) | ||||
|   case $nonopt in | ||||
|   NONE) build_alias=$host_alias ;; | ||||
|   *) build_alias=$nonopt ;; | ||||
|   esac ;; | ||||
| esac | ||||
|  | ||||
| build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias` | ||||
| build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||||
| build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$build" 1>&6 | ||||
|  | ||||
| test "$host_alias" != "$target_alias" && | ||||
|   test "$program_prefix$program_suffix$program_transform_name" = \ | ||||
|     NONENONEs,x,x, && | ||||
|   program_prefix=${target_alias}- | ||||
|  | ||||
|  | ||||
|  | ||||
| PACKAGE=newlib | ||||
| @@ -906,7 +968,7 @@ EOF | ||||
|  | ||||
| missing_dir=`cd $ac_aux_dir && pwd` | ||||
| echo $ac_n "checking for working aclocal""... $ac_c" 1>&6 | ||||
| echo "configure:910: checking for working aclocal" >&5 | ||||
| echo "configure:972: checking for working aclocal" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -919,7 +981,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 | ||||
| echo "configure:923: checking for working autoconf" >&5 | ||||
| echo "configure:985: checking for working autoconf" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -932,7 +994,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working automake""... $ac_c" 1>&6 | ||||
| echo "configure:936: checking for working automake" >&5 | ||||
| echo "configure:998: checking for working automake" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -945,7 +1007,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 | ||||
| echo "configure:949: checking for working autoheader" >&5 | ||||
| echo "configure:1011: checking for working autoheader" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -958,7 +1020,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 | ||||
| echo "configure:962: checking for working makeinfo" >&5 | ||||
| echo "configure:1024: checking for working makeinfo" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -983,7 +1045,7 @@ fi | ||||
| # Extract the first word of "gcc", so it can be a program name with args. | ||||
| set dummy gcc; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:987: checking for $ac_word" >&5 | ||||
| echo "configure:1049: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1013,7 +1075,7 @@ if test -z "$CC"; then | ||||
|   # Extract the first word of "cc", so it can be a program name with args. | ||||
| set dummy cc; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1017: checking for $ac_word" >&5 | ||||
| echo "configure:1079: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1062,7 +1124,7 @@ fi | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | ||||
| echo "configure:1066: checking whether we are using GNU C" >&5 | ||||
| echo "configure:1128: checking whether we are using GNU C" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1071,7 +1133,7 @@ else | ||||
|   yes; | ||||
| #endif | ||||
| EOF | ||||
| if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1075: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | ||||
| if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1137: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | ||||
|   ac_cv_prog_gcc=yes | ||||
| else | ||||
|   ac_cv_prog_gcc=no | ||||
| @@ -1086,7 +1148,7 @@ if test $ac_cv_prog_gcc = yes; then | ||||
|   ac_save_CFLAGS="$CFLAGS" | ||||
|   CFLAGS= | ||||
|   echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | ||||
| echo "configure:1090: checking whether ${CC-cc} accepts -g" >&5 | ||||
| echo "configure:1152: checking whether ${CC-cc} accepts -g" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1114,33 +1176,10 @@ else | ||||
| fi | ||||
|  | ||||
|  | ||||
| # AC_CHECK_TOOL does AC_REQUIRE (AC_CANONICAL_BUILD).  If we don't | ||||
| # run it explicitly here, it will be run implicitly before | ||||
| # NEWLIB_CONFIGURE, which doesn't work because that means that it will | ||||
| # be run before AC_CANONICAL_HOST. | ||||
| echo $ac_n "checking build system type""... $ac_c" 1>&6 | ||||
| echo "configure:1123: checking build system type" >&5 | ||||
|  | ||||
| build_alias=$build | ||||
| case "$build_alias" in | ||||
| NONE) | ||||
|   case $nonopt in | ||||
|   NONE) build_alias=$host_alias ;; | ||||
|   *) build_alias=$nonopt ;; | ||||
|   esac ;; | ||||
| esac | ||||
|  | ||||
| build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias` | ||||
| build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||||
| build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$build" 1>&6 | ||||
|  | ||||
|  | ||||
| # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}as; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1144: checking for $ac_word" >&5 | ||||
| echo "configure:1183: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1172,7 +1211,7 @@ fi | ||||
| # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}ar; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1176: checking for $ac_word" >&5 | ||||
| echo "configure:1215: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1204,7 +1243,7 @@ fi | ||||
| # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}ranlib; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1208: checking for $ac_word" >&5 | ||||
| echo "configure:1247: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1236,7 +1275,7 @@ if test -n "$ac_tool_prefix"; then | ||||
|   # Extract the first word of "ranlib", so it can be a program name with args. | ||||
| set dummy ranlib; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1240: checking for $ac_word" >&5 | ||||
| echo "configure:1279: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1281,7 +1320,7 @@ fi | ||||
| # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | ||||
| # ./install, which can be erroneously created by make from ./install.sh. | ||||
| echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | ||||
| echo "configure:1285: checking for a BSD compatible install" >&5 | ||||
| echo "configure:1324: checking for a BSD compatible install" >&5 | ||||
| if test -z "$INSTALL"; then | ||||
| if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| @@ -1335,7 +1374,7 @@ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | ||||
|  | ||||
|  | ||||
| echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6 | ||||
| echo "configure:1339: checking whether to enable maintainer-specific portions of Makefiles" >&5 | ||||
| echo "configure:1378: checking whether to enable maintainer-specific portions of Makefiles" >&5 | ||||
|     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. | ||||
| if test "${enable_maintainer_mode+set}" = set; then | ||||
|   enableval="$enable_maintainer_mode" | ||||
| @@ -1369,7 +1408,7 @@ if false; then | ||||
|    | ||||
|  | ||||
| echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 | ||||
| echo "configure:1373: checking for executable suffix" >&5 | ||||
| echo "configure:1412: checking for executable suffix" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1379,7 +1418,7 @@ else | ||||
|   rm -f conftest* | ||||
|   echo 'int main () { return 0; }' > conftest.$ac_ext | ||||
|   ac_cv_exeext= | ||||
|   if { (eval echo configure:1383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then | ||||
|   if { (eval echo configure:1422: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then | ||||
|     for file in conftest.*; do | ||||
|       case $file in | ||||
|       *.c | *.o | *.obj | *.ilk | *.pdb) ;; | ||||
| @@ -1590,6 +1629,16 @@ s%@host_alias@%$host_alias%g | ||||
| s%@host_cpu@%$host_cpu%g | ||||
| s%@host_vendor@%$host_vendor%g | ||||
| s%@host_os@%$host_os%g | ||||
| s%@target@%$target%g | ||||
| s%@target_alias@%$target_alias%g | ||||
| s%@target_cpu@%$target_cpu%g | ||||
| s%@target_vendor@%$target_vendor%g | ||||
| s%@target_os@%$target_os%g | ||||
| s%@build@%$build%g | ||||
| s%@build_alias@%$build_alias%g | ||||
| s%@build_cpu@%$build_cpu%g | ||||
| s%@build_vendor@%$build_vendor%g | ||||
| s%@build_os@%$build_os%g | ||||
| s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g | ||||
| s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g | ||||
| s%@INSTALL_DATA@%$INSTALL_DATA%g | ||||
| @@ -1602,11 +1651,6 @@ s%@AUTOHEADER@%$AUTOHEADER%g | ||||
| s%@MAKEINFO@%$MAKEINFO%g | ||||
| s%@SET_MAKE@%$SET_MAKE%g | ||||
| s%@CC@%$CC%g | ||||
| s%@build@%$build%g | ||||
| s%@build_alias@%$build_alias%g | ||||
| s%@build_cpu@%$build_cpu%g | ||||
| s%@build_vendor@%$build_vendor%g | ||||
| s%@build_os@%$build_os%g | ||||
| s%@AS@%$AS%g | ||||
| s%@AR@%$AR%g | ||||
| s%@RANLIB@%$RANLIB%g | ||||
|   | ||||
| @@ -57,8 +57,12 @@ POST_INSTALL = : | ||||
| NORMAL_UNINSTALL = : | ||||
| PRE_UNINSTALL = : | ||||
| POST_UNINSTALL = : | ||||
| build_alias = @build_alias@ | ||||
| build_triplet = @build@ | ||||
| host_alias = @host_alias@ | ||||
| host_triplet = @host@ | ||||
| target_alias = @target_alias@ | ||||
| target_triplet = @target@ | ||||
| AR = @AR@ | ||||
| AS = @AS@ | ||||
| CC = @CC@ | ||||
|   | ||||
							
								
								
									
										8
									
								
								newlib/libc/machine/sh/aclocal.m4
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								newlib/libc/machine/sh/aclocal.m4
									
									
									
									
										vendored
									
									
								
							| @@ -82,7 +82,7 @@ else | ||||
| fi | ||||
| AC_SUBST(newlib_basedir) | ||||
|  | ||||
| AC_CANONICAL_HOST | ||||
| AC_CANONICAL_SYSTEM | ||||
|  | ||||
| AM_INIT_AUTOMAKE(newlib, 1.10.0) | ||||
|  | ||||
| @@ -126,12 +126,6 @@ fi | ||||
|  | ||||
| LIB_AC_PROG_CC | ||||
|  | ||||
| # AC_CHECK_TOOL does AC_REQUIRE (AC_CANONICAL_BUILD).  If we don't | ||||
| # run it explicitly here, it will be run implicitly before | ||||
| # NEWLIB_CONFIGURE, which doesn't work because that means that it will | ||||
| # be run before AC_CANONICAL_HOST. | ||||
| AC_CANONICAL_BUILD | ||||
|  | ||||
| AC_CHECK_TOOL(AS, as) | ||||
| AC_CHECK_TOOL(AR, ar) | ||||
| AC_CHECK_TOOL(RANLIB, ranlib, :) | ||||
|   | ||||
							
								
								
									
										154
									
								
								newlib/libc/machine/sh/configure
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										154
									
								
								newlib/libc/machine/sh/configure
									
									
									
									
										vendored
									
									
								
							| @@ -859,13 +859,34 @@ fi | ||||
|  | ||||
|  | ||||
|  | ||||
| # Do some error checking and defaulting for the host and target type. | ||||
| # The inputs are: | ||||
| #    configure --host=HOST --target=TARGET --build=BUILD NONOPT | ||||
| # | ||||
| # The rules are: | ||||
| # 1. You are not allowed to specify --host, --target, and nonopt at the | ||||
| #    same time. | ||||
| # 2. Host defaults to nonopt. | ||||
| # 3. If nonopt is not specified, then host defaults to the current host, | ||||
| #    as determined by config.guess. | ||||
| # 4. Target and build default to nonopt. | ||||
| # 5. If nonopt is not specified, then target and build default to host. | ||||
|  | ||||
| # The aliases save the names the user supplied, while $host etc. | ||||
| # will get canonicalized. | ||||
| case $host---$target---$nonopt in | ||||
| NONE---*---* | *---NONE---* | *---*---NONE) ;; | ||||
| *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;; | ||||
| esac | ||||
|  | ||||
|  | ||||
| # Make sure we can run config.sub. | ||||
| if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then : | ||||
| else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking host system type""... $ac_c" 1>&6 | ||||
| echo "configure:869: checking host system type" >&5 | ||||
| echo "configure:890: checking host system type" >&5 | ||||
|  | ||||
| host_alias=$host | ||||
| case "$host_alias" in | ||||
| @@ -885,6 +906,47 @@ host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$host" 1>&6 | ||||
|  | ||||
| echo $ac_n "checking target system type""... $ac_c" 1>&6 | ||||
| echo "configure:911: checking target system type" >&5 | ||||
|  | ||||
| target_alias=$target | ||||
| case "$target_alias" in | ||||
| NONE) | ||||
|   case $nonopt in | ||||
|   NONE) target_alias=$host_alias ;; | ||||
|   *) target_alias=$nonopt ;; | ||||
|   esac ;; | ||||
| esac | ||||
|  | ||||
| target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias` | ||||
| target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||||
| target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$target" 1>&6 | ||||
|  | ||||
| echo $ac_n "checking build system type""... $ac_c" 1>&6 | ||||
| echo "configure:929: checking build system type" >&5 | ||||
|  | ||||
| build_alias=$build | ||||
| case "$build_alias" in | ||||
| NONE) | ||||
|   case $nonopt in | ||||
|   NONE) build_alias=$host_alias ;; | ||||
|   *) build_alias=$nonopt ;; | ||||
|   esac ;; | ||||
| esac | ||||
|  | ||||
| build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias` | ||||
| build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||||
| build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$build" 1>&6 | ||||
|  | ||||
| test "$host_alias" != "$target_alias" && | ||||
|   test "$program_prefix$program_suffix$program_transform_name" = \ | ||||
|     NONENONEs,x,x, && | ||||
|   program_prefix=${target_alias}- | ||||
|  | ||||
|  | ||||
|  | ||||
| PACKAGE=newlib | ||||
| @@ -906,7 +968,7 @@ EOF | ||||
|  | ||||
| missing_dir=`cd $ac_aux_dir && pwd` | ||||
| echo $ac_n "checking for working aclocal""... $ac_c" 1>&6 | ||||
| echo "configure:910: checking for working aclocal" >&5 | ||||
| echo "configure:972: checking for working aclocal" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -919,7 +981,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 | ||||
| echo "configure:923: checking for working autoconf" >&5 | ||||
| echo "configure:985: checking for working autoconf" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -932,7 +994,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working automake""... $ac_c" 1>&6 | ||||
| echo "configure:936: checking for working automake" >&5 | ||||
| echo "configure:998: checking for working automake" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -945,7 +1007,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 | ||||
| echo "configure:949: checking for working autoheader" >&5 | ||||
| echo "configure:1011: checking for working autoheader" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -958,7 +1020,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 | ||||
| echo "configure:962: checking for working makeinfo" >&5 | ||||
| echo "configure:1024: checking for working makeinfo" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -983,7 +1045,7 @@ fi | ||||
| # Extract the first word of "gcc", so it can be a program name with args. | ||||
| set dummy gcc; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:987: checking for $ac_word" >&5 | ||||
| echo "configure:1049: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1013,7 +1075,7 @@ if test -z "$CC"; then | ||||
|   # Extract the first word of "cc", so it can be a program name with args. | ||||
| set dummy cc; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1017: checking for $ac_word" >&5 | ||||
| echo "configure:1079: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1062,7 +1124,7 @@ fi | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | ||||
| echo "configure:1066: checking whether we are using GNU C" >&5 | ||||
| echo "configure:1128: checking whether we are using GNU C" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1071,7 +1133,7 @@ else | ||||
|   yes; | ||||
| #endif | ||||
| EOF | ||||
| if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1075: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | ||||
| if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1137: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | ||||
|   ac_cv_prog_gcc=yes | ||||
| else | ||||
|   ac_cv_prog_gcc=no | ||||
| @@ -1086,7 +1148,7 @@ if test $ac_cv_prog_gcc = yes; then | ||||
|   ac_save_CFLAGS="$CFLAGS" | ||||
|   CFLAGS= | ||||
|   echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | ||||
| echo "configure:1090: checking whether ${CC-cc} accepts -g" >&5 | ||||
| echo "configure:1152: checking whether ${CC-cc} accepts -g" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1114,33 +1176,10 @@ else | ||||
| fi | ||||
|  | ||||
|  | ||||
| # AC_CHECK_TOOL does AC_REQUIRE (AC_CANONICAL_BUILD).  If we don't | ||||
| # run it explicitly here, it will be run implicitly before | ||||
| # NEWLIB_CONFIGURE, which doesn't work because that means that it will | ||||
| # be run before AC_CANONICAL_HOST. | ||||
| echo $ac_n "checking build system type""... $ac_c" 1>&6 | ||||
| echo "configure:1123: checking build system type" >&5 | ||||
|  | ||||
| build_alias=$build | ||||
| case "$build_alias" in | ||||
| NONE) | ||||
|   case $nonopt in | ||||
|   NONE) build_alias=$host_alias ;; | ||||
|   *) build_alias=$nonopt ;; | ||||
|   esac ;; | ||||
| esac | ||||
|  | ||||
| build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias` | ||||
| build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||||
| build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$build" 1>&6 | ||||
|  | ||||
|  | ||||
| # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}as; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1144: checking for $ac_word" >&5 | ||||
| echo "configure:1183: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1172,7 +1211,7 @@ fi | ||||
| # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}ar; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1176: checking for $ac_word" >&5 | ||||
| echo "configure:1215: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1204,7 +1243,7 @@ fi | ||||
| # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}ranlib; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1208: checking for $ac_word" >&5 | ||||
| echo "configure:1247: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1236,7 +1275,7 @@ if test -n "$ac_tool_prefix"; then | ||||
|   # Extract the first word of "ranlib", so it can be a program name with args. | ||||
| set dummy ranlib; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1240: checking for $ac_word" >&5 | ||||
| echo "configure:1279: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1281,7 +1320,7 @@ fi | ||||
| # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | ||||
| # ./install, which can be erroneously created by make from ./install.sh. | ||||
| echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | ||||
| echo "configure:1285: checking for a BSD compatible install" >&5 | ||||
| echo "configure:1324: checking for a BSD compatible install" >&5 | ||||
| if test -z "$INSTALL"; then | ||||
| if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| @@ -1335,7 +1374,7 @@ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | ||||
|  | ||||
|  | ||||
| echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6 | ||||
| echo "configure:1339: checking whether to enable maintainer-specific portions of Makefiles" >&5 | ||||
| echo "configure:1378: checking whether to enable maintainer-specific portions of Makefiles" >&5 | ||||
|     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. | ||||
| if test "${enable_maintainer_mode+set}" = set; then | ||||
|   enableval="$enable_maintainer_mode" | ||||
| @@ -1369,7 +1408,7 @@ if false; then | ||||
|    | ||||
|  | ||||
| echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 | ||||
| echo "configure:1373: checking for executable suffix" >&5 | ||||
| echo "configure:1412: checking for executable suffix" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1379,7 +1418,7 @@ else | ||||
|   rm -f conftest* | ||||
|   echo 'int main () { return 0; }' > conftest.$ac_ext | ||||
|   ac_cv_exeext= | ||||
|   if { (eval echo configure:1383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then | ||||
|   if { (eval echo configure:1422: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then | ||||
|     for file in conftest.*; do | ||||
|       case $file in | ||||
|       *.c | *.o | *.obj | *.ilk | *.pdb) ;; | ||||
| @@ -1429,7 +1468,7 @@ fi | ||||
|  | ||||
|  | ||||
| echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 | ||||
| echo "configure:1433: checking how to run the C preprocessor" >&5 | ||||
| echo "configure:1472: checking how to run the C preprocessor" >&5 | ||||
| # On Suns, sometimes $CPP names a directory. | ||||
| if test -n "$CPP" && test -d "$CPP"; then | ||||
|   CPP= | ||||
| @@ -1444,13 +1483,13 @@ else | ||||
|   # On the NeXT, cc -E runs the code through the compiler's parser, | ||||
|   # not just through cpp. | ||||
|   cat > conftest.$ac_ext <<EOF | ||||
| #line 1448 "configure" | ||||
| #line 1487 "configure" | ||||
| #include "confdefs.h" | ||||
| #include <assert.h> | ||||
| Syntax Error | ||||
| EOF | ||||
| ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | ||||
| { (eval echo configure:1454: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | ||||
| { (eval echo configure:1493: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | ||||
| ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | ||||
| if test -z "$ac_err"; then | ||||
|   : | ||||
| @@ -1461,13 +1500,13 @@ else | ||||
|   rm -rf conftest* | ||||
|   CPP="${CC-cc} -E -traditional-cpp" | ||||
|   cat > conftest.$ac_ext <<EOF | ||||
| #line 1465 "configure" | ||||
| #line 1504 "configure" | ||||
| #include "confdefs.h" | ||||
| #include <assert.h> | ||||
| Syntax Error | ||||
| EOF | ||||
| ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | ||||
| { (eval echo configure:1471: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | ||||
| { (eval echo configure:1510: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | ||||
| ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | ||||
| if test -z "$ac_err"; then | ||||
|   : | ||||
| @@ -1478,13 +1517,13 @@ else | ||||
|   rm -rf conftest* | ||||
|   CPP="${CC-cc} -nologo -E" | ||||
|   cat > conftest.$ac_ext <<EOF | ||||
| #line 1482 "configure" | ||||
| #line 1521 "configure" | ||||
| #include "confdefs.h" | ||||
| #include <assert.h> | ||||
| Syntax Error | ||||
| EOF | ||||
| ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | ||||
| { (eval echo configure:1488: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | ||||
| { (eval echo configure:1527: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | ||||
| ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | ||||
| if test -z "$ac_err"; then | ||||
|   : | ||||
| @@ -1509,7 +1548,7 @@ fi | ||||
| echo "$ac_t""$CPP" 1>&6 | ||||
|  | ||||
| cat > conftest.$ac_ext <<EOF | ||||
| #line 1513 "configure" | ||||
| #line 1552 "configure" | ||||
| #include "confdefs.h" | ||||
|  | ||||
| #if __SH5__ | ||||
| @@ -1688,6 +1727,16 @@ s%@host_alias@%$host_alias%g | ||||
| s%@host_cpu@%$host_cpu%g | ||||
| s%@host_vendor@%$host_vendor%g | ||||
| s%@host_os@%$host_os%g | ||||
| s%@target@%$target%g | ||||
| s%@target_alias@%$target_alias%g | ||||
| s%@target_cpu@%$target_cpu%g | ||||
| s%@target_vendor@%$target_vendor%g | ||||
| s%@target_os@%$target_os%g | ||||
| s%@build@%$build%g | ||||
| s%@build_alias@%$build_alias%g | ||||
| s%@build_cpu@%$build_cpu%g | ||||
| s%@build_vendor@%$build_vendor%g | ||||
| s%@build_os@%$build_os%g | ||||
| s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g | ||||
| s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g | ||||
| s%@INSTALL_DATA@%$INSTALL_DATA%g | ||||
| @@ -1700,11 +1749,6 @@ s%@AUTOHEADER@%$AUTOHEADER%g | ||||
| s%@MAKEINFO@%$MAKEINFO%g | ||||
| s%@SET_MAKE@%$SET_MAKE%g | ||||
| s%@CC@%$CC%g | ||||
| s%@build@%$build%g | ||||
| s%@build_alias@%$build_alias%g | ||||
| s%@build_cpu@%$build_cpu%g | ||||
| s%@build_vendor@%$build_vendor%g | ||||
| s%@build_os@%$build_os%g | ||||
| s%@AS@%$AS%g | ||||
| s%@AR@%$AR%g | ||||
| s%@RANLIB@%$RANLIB%g | ||||
|   | ||||
| @@ -57,8 +57,12 @@ POST_INSTALL = : | ||||
| NORMAL_UNINSTALL = : | ||||
| PRE_UNINSTALL = : | ||||
| POST_UNINSTALL = : | ||||
| build_alias = @build_alias@ | ||||
| build_triplet = @build@ | ||||
| host_alias = @host_alias@ | ||||
| host_triplet = @host@ | ||||
| target_alias = @target_alias@ | ||||
| target_triplet = @target@ | ||||
| AR = @AR@ | ||||
| AS = @AS@ | ||||
| CC = @CC@ | ||||
|   | ||||
							
								
								
									
										8
									
								
								newlib/libc/machine/sparc/aclocal.m4
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								newlib/libc/machine/sparc/aclocal.m4
									
									
									
									
										vendored
									
									
								
							| @@ -82,7 +82,7 @@ else | ||||
| fi | ||||
| AC_SUBST(newlib_basedir) | ||||
|  | ||||
| AC_CANONICAL_HOST | ||||
| AC_CANONICAL_SYSTEM | ||||
|  | ||||
| AM_INIT_AUTOMAKE(newlib, 1.10.0) | ||||
|  | ||||
| @@ -126,12 +126,6 @@ fi | ||||
|  | ||||
| LIB_AC_PROG_CC | ||||
|  | ||||
| # AC_CHECK_TOOL does AC_REQUIRE (AC_CANONICAL_BUILD).  If we don't | ||||
| # run it explicitly here, it will be run implicitly before | ||||
| # NEWLIB_CONFIGURE, which doesn't work because that means that it will | ||||
| # be run before AC_CANONICAL_HOST. | ||||
| AC_CANONICAL_BUILD | ||||
|  | ||||
| AC_CHECK_TOOL(AS, as) | ||||
| AC_CHECK_TOOL(AR, ar) | ||||
| AC_CHECK_TOOL(RANLIB, ranlib, :) | ||||
|   | ||||
							
								
								
									
										138
									
								
								newlib/libc/machine/sparc/configure
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										138
									
								
								newlib/libc/machine/sparc/configure
									
									
									
									
										vendored
									
									
								
							| @@ -859,13 +859,34 @@ fi | ||||
|  | ||||
|  | ||||
|  | ||||
| # Do some error checking and defaulting for the host and target type. | ||||
| # The inputs are: | ||||
| #    configure --host=HOST --target=TARGET --build=BUILD NONOPT | ||||
| # | ||||
| # The rules are: | ||||
| # 1. You are not allowed to specify --host, --target, and nonopt at the | ||||
| #    same time. | ||||
| # 2. Host defaults to nonopt. | ||||
| # 3. If nonopt is not specified, then host defaults to the current host, | ||||
| #    as determined by config.guess. | ||||
| # 4. Target and build default to nonopt. | ||||
| # 5. If nonopt is not specified, then target and build default to host. | ||||
|  | ||||
| # The aliases save the names the user supplied, while $host etc. | ||||
| # will get canonicalized. | ||||
| case $host---$target---$nonopt in | ||||
| NONE---*---* | *---NONE---* | *---*---NONE) ;; | ||||
| *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;; | ||||
| esac | ||||
|  | ||||
|  | ||||
| # Make sure we can run config.sub. | ||||
| if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then : | ||||
| else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking host system type""... $ac_c" 1>&6 | ||||
| echo "configure:869: checking host system type" >&5 | ||||
| echo "configure:890: checking host system type" >&5 | ||||
|  | ||||
| host_alias=$host | ||||
| case "$host_alias" in | ||||
| @@ -885,6 +906,47 @@ host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$host" 1>&6 | ||||
|  | ||||
| echo $ac_n "checking target system type""... $ac_c" 1>&6 | ||||
| echo "configure:911: checking target system type" >&5 | ||||
|  | ||||
| target_alias=$target | ||||
| case "$target_alias" in | ||||
| NONE) | ||||
|   case $nonopt in | ||||
|   NONE) target_alias=$host_alias ;; | ||||
|   *) target_alias=$nonopt ;; | ||||
|   esac ;; | ||||
| esac | ||||
|  | ||||
| target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias` | ||||
| target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||||
| target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$target" 1>&6 | ||||
|  | ||||
| echo $ac_n "checking build system type""... $ac_c" 1>&6 | ||||
| echo "configure:929: checking build system type" >&5 | ||||
|  | ||||
| build_alias=$build | ||||
| case "$build_alias" in | ||||
| NONE) | ||||
|   case $nonopt in | ||||
|   NONE) build_alias=$host_alias ;; | ||||
|   *) build_alias=$nonopt ;; | ||||
|   esac ;; | ||||
| esac | ||||
|  | ||||
| build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias` | ||||
| build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||||
| build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$build" 1>&6 | ||||
|  | ||||
| test "$host_alias" != "$target_alias" && | ||||
|   test "$program_prefix$program_suffix$program_transform_name" = \ | ||||
|     NONENONEs,x,x, && | ||||
|   program_prefix=${target_alias}- | ||||
|  | ||||
|  | ||||
|  | ||||
| PACKAGE=newlib | ||||
| @@ -906,7 +968,7 @@ EOF | ||||
|  | ||||
| missing_dir=`cd $ac_aux_dir && pwd` | ||||
| echo $ac_n "checking for working aclocal""... $ac_c" 1>&6 | ||||
| echo "configure:910: checking for working aclocal" >&5 | ||||
| echo "configure:972: checking for working aclocal" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -919,7 +981,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 | ||||
| echo "configure:923: checking for working autoconf" >&5 | ||||
| echo "configure:985: checking for working autoconf" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -932,7 +994,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working automake""... $ac_c" 1>&6 | ||||
| echo "configure:936: checking for working automake" >&5 | ||||
| echo "configure:998: checking for working automake" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -945,7 +1007,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 | ||||
| echo "configure:949: checking for working autoheader" >&5 | ||||
| echo "configure:1011: checking for working autoheader" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -958,7 +1020,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 | ||||
| echo "configure:962: checking for working makeinfo" >&5 | ||||
| echo "configure:1024: checking for working makeinfo" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -983,7 +1045,7 @@ fi | ||||
| # Extract the first word of "gcc", so it can be a program name with args. | ||||
| set dummy gcc; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:987: checking for $ac_word" >&5 | ||||
| echo "configure:1049: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1013,7 +1075,7 @@ if test -z "$CC"; then | ||||
|   # Extract the first word of "cc", so it can be a program name with args. | ||||
| set dummy cc; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1017: checking for $ac_word" >&5 | ||||
| echo "configure:1079: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1062,7 +1124,7 @@ fi | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | ||||
| echo "configure:1066: checking whether we are using GNU C" >&5 | ||||
| echo "configure:1128: checking whether we are using GNU C" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1071,7 +1133,7 @@ else | ||||
|   yes; | ||||
| #endif | ||||
| EOF | ||||
| if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1075: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | ||||
| if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1137: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | ||||
|   ac_cv_prog_gcc=yes | ||||
| else | ||||
|   ac_cv_prog_gcc=no | ||||
| @@ -1086,7 +1148,7 @@ if test $ac_cv_prog_gcc = yes; then | ||||
|   ac_save_CFLAGS="$CFLAGS" | ||||
|   CFLAGS= | ||||
|   echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | ||||
| echo "configure:1090: checking whether ${CC-cc} accepts -g" >&5 | ||||
| echo "configure:1152: checking whether ${CC-cc} accepts -g" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1114,33 +1176,10 @@ else | ||||
| fi | ||||
|  | ||||
|  | ||||
| # AC_CHECK_TOOL does AC_REQUIRE (AC_CANONICAL_BUILD).  If we don't | ||||
| # run it explicitly here, it will be run implicitly before | ||||
| # NEWLIB_CONFIGURE, which doesn't work because that means that it will | ||||
| # be run before AC_CANONICAL_HOST. | ||||
| echo $ac_n "checking build system type""... $ac_c" 1>&6 | ||||
| echo "configure:1123: checking build system type" >&5 | ||||
|  | ||||
| build_alias=$build | ||||
| case "$build_alias" in | ||||
| NONE) | ||||
|   case $nonopt in | ||||
|   NONE) build_alias=$host_alias ;; | ||||
|   *) build_alias=$nonopt ;; | ||||
|   esac ;; | ||||
| esac | ||||
|  | ||||
| build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias` | ||||
| build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||||
| build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$build" 1>&6 | ||||
|  | ||||
|  | ||||
| # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}as; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1144: checking for $ac_word" >&5 | ||||
| echo "configure:1183: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1172,7 +1211,7 @@ fi | ||||
| # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}ar; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1176: checking for $ac_word" >&5 | ||||
| echo "configure:1215: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1204,7 +1243,7 @@ fi | ||||
| # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}ranlib; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1208: checking for $ac_word" >&5 | ||||
| echo "configure:1247: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1236,7 +1275,7 @@ if test -n "$ac_tool_prefix"; then | ||||
|   # Extract the first word of "ranlib", so it can be a program name with args. | ||||
| set dummy ranlib; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1240: checking for $ac_word" >&5 | ||||
| echo "configure:1279: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1281,7 +1320,7 @@ fi | ||||
| # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | ||||
| # ./install, which can be erroneously created by make from ./install.sh. | ||||
| echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | ||||
| echo "configure:1285: checking for a BSD compatible install" >&5 | ||||
| echo "configure:1324: checking for a BSD compatible install" >&5 | ||||
| if test -z "$INSTALL"; then | ||||
| if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| @@ -1335,7 +1374,7 @@ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | ||||
|  | ||||
|  | ||||
| echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6 | ||||
| echo "configure:1339: checking whether to enable maintainer-specific portions of Makefiles" >&5 | ||||
| echo "configure:1378: checking whether to enable maintainer-specific portions of Makefiles" >&5 | ||||
|     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. | ||||
| if test "${enable_maintainer_mode+set}" = set; then | ||||
|   enableval="$enable_maintainer_mode" | ||||
| @@ -1369,7 +1408,7 @@ if false; then | ||||
|    | ||||
|  | ||||
| echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 | ||||
| echo "configure:1373: checking for executable suffix" >&5 | ||||
| echo "configure:1412: checking for executable suffix" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1379,7 +1418,7 @@ else | ||||
|   rm -f conftest* | ||||
|   echo 'int main () { return 0; }' > conftest.$ac_ext | ||||
|   ac_cv_exeext= | ||||
|   if { (eval echo configure:1383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then | ||||
|   if { (eval echo configure:1422: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then | ||||
|     for file in conftest.*; do | ||||
|       case $file in | ||||
|       *.c | *.o | *.obj | *.ilk | *.pdb) ;; | ||||
| @@ -1579,6 +1618,16 @@ s%@host_alias@%$host_alias%g | ||||
| s%@host_cpu@%$host_cpu%g | ||||
| s%@host_vendor@%$host_vendor%g | ||||
| s%@host_os@%$host_os%g | ||||
| s%@target@%$target%g | ||||
| s%@target_alias@%$target_alias%g | ||||
| s%@target_cpu@%$target_cpu%g | ||||
| s%@target_vendor@%$target_vendor%g | ||||
| s%@target_os@%$target_os%g | ||||
| s%@build@%$build%g | ||||
| s%@build_alias@%$build_alias%g | ||||
| s%@build_cpu@%$build_cpu%g | ||||
| s%@build_vendor@%$build_vendor%g | ||||
| s%@build_os@%$build_os%g | ||||
| s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g | ||||
| s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g | ||||
| s%@INSTALL_DATA@%$INSTALL_DATA%g | ||||
| @@ -1591,11 +1640,6 @@ s%@AUTOHEADER@%$AUTOHEADER%g | ||||
| s%@MAKEINFO@%$MAKEINFO%g | ||||
| s%@SET_MAKE@%$SET_MAKE%g | ||||
| s%@CC@%$CC%g | ||||
| s%@build@%$build%g | ||||
| s%@build_alias@%$build_alias%g | ||||
| s%@build_cpu@%$build_cpu%g | ||||
| s%@build_vendor@%$build_vendor%g | ||||
| s%@build_os@%$build_os%g | ||||
| s%@AS@%$AS%g | ||||
| s%@AR@%$AR%g | ||||
| s%@RANLIB@%$RANLIB%g | ||||
|   | ||||
| @@ -57,8 +57,12 @@ POST_INSTALL = : | ||||
| NORMAL_UNINSTALL = : | ||||
| PRE_UNINSTALL = : | ||||
| POST_UNINSTALL = : | ||||
| build_alias = @build_alias@ | ||||
| build_triplet = @build@ | ||||
| host_alias = @host_alias@ | ||||
| host_triplet = @host@ | ||||
| target_alias = @target_alias@ | ||||
| target_triplet = @target@ | ||||
| AR = @AR@ | ||||
| AS = @AS@ | ||||
| CC = @CC@ | ||||
|   | ||||
							
								
								
									
										8
									
								
								newlib/libc/machine/tic80/aclocal.m4
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								newlib/libc/machine/tic80/aclocal.m4
									
									
									
									
										vendored
									
									
								
							| @@ -82,7 +82,7 @@ else | ||||
| fi | ||||
| AC_SUBST(newlib_basedir) | ||||
|  | ||||
| AC_CANONICAL_HOST | ||||
| AC_CANONICAL_SYSTEM | ||||
|  | ||||
| AM_INIT_AUTOMAKE(newlib, 1.10.0) | ||||
|  | ||||
| @@ -126,12 +126,6 @@ fi | ||||
|  | ||||
| LIB_AC_PROG_CC | ||||
|  | ||||
| # AC_CHECK_TOOL does AC_REQUIRE (AC_CANONICAL_BUILD).  If we don't | ||||
| # run it explicitly here, it will be run implicitly before | ||||
| # NEWLIB_CONFIGURE, which doesn't work because that means that it will | ||||
| # be run before AC_CANONICAL_HOST. | ||||
| AC_CANONICAL_BUILD | ||||
|  | ||||
| AC_CHECK_TOOL(AS, as) | ||||
| AC_CHECK_TOOL(AR, ar) | ||||
| AC_CHECK_TOOL(RANLIB, ranlib, :) | ||||
|   | ||||
							
								
								
									
										138
									
								
								newlib/libc/machine/tic80/configure
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										138
									
								
								newlib/libc/machine/tic80/configure
									
									
									
									
										vendored
									
									
								
							| @@ -859,13 +859,34 @@ fi | ||||
|  | ||||
|  | ||||
|  | ||||
| # Do some error checking and defaulting for the host and target type. | ||||
| # The inputs are: | ||||
| #    configure --host=HOST --target=TARGET --build=BUILD NONOPT | ||||
| # | ||||
| # The rules are: | ||||
| # 1. You are not allowed to specify --host, --target, and nonopt at the | ||||
| #    same time. | ||||
| # 2. Host defaults to nonopt. | ||||
| # 3. If nonopt is not specified, then host defaults to the current host, | ||||
| #    as determined by config.guess. | ||||
| # 4. Target and build default to nonopt. | ||||
| # 5. If nonopt is not specified, then target and build default to host. | ||||
|  | ||||
| # The aliases save the names the user supplied, while $host etc. | ||||
| # will get canonicalized. | ||||
| case $host---$target---$nonopt in | ||||
| NONE---*---* | *---NONE---* | *---*---NONE) ;; | ||||
| *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;; | ||||
| esac | ||||
|  | ||||
|  | ||||
| # Make sure we can run config.sub. | ||||
| if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then : | ||||
| else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking host system type""... $ac_c" 1>&6 | ||||
| echo "configure:869: checking host system type" >&5 | ||||
| echo "configure:890: checking host system type" >&5 | ||||
|  | ||||
| host_alias=$host | ||||
| case "$host_alias" in | ||||
| @@ -885,6 +906,47 @@ host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$host" 1>&6 | ||||
|  | ||||
| echo $ac_n "checking target system type""... $ac_c" 1>&6 | ||||
| echo "configure:911: checking target system type" >&5 | ||||
|  | ||||
| target_alias=$target | ||||
| case "$target_alias" in | ||||
| NONE) | ||||
|   case $nonopt in | ||||
|   NONE) target_alias=$host_alias ;; | ||||
|   *) target_alias=$nonopt ;; | ||||
|   esac ;; | ||||
| esac | ||||
|  | ||||
| target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias` | ||||
| target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||||
| target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$target" 1>&6 | ||||
|  | ||||
| echo $ac_n "checking build system type""... $ac_c" 1>&6 | ||||
| echo "configure:929: checking build system type" >&5 | ||||
|  | ||||
| build_alias=$build | ||||
| case "$build_alias" in | ||||
| NONE) | ||||
|   case $nonopt in | ||||
|   NONE) build_alias=$host_alias ;; | ||||
|   *) build_alias=$nonopt ;; | ||||
|   esac ;; | ||||
| esac | ||||
|  | ||||
| build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias` | ||||
| build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||||
| build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$build" 1>&6 | ||||
|  | ||||
| test "$host_alias" != "$target_alias" && | ||||
|   test "$program_prefix$program_suffix$program_transform_name" = \ | ||||
|     NONENONEs,x,x, && | ||||
|   program_prefix=${target_alias}- | ||||
|  | ||||
|  | ||||
|  | ||||
| PACKAGE=newlib | ||||
| @@ -906,7 +968,7 @@ EOF | ||||
|  | ||||
| missing_dir=`cd $ac_aux_dir && pwd` | ||||
| echo $ac_n "checking for working aclocal""... $ac_c" 1>&6 | ||||
| echo "configure:910: checking for working aclocal" >&5 | ||||
| echo "configure:972: checking for working aclocal" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -919,7 +981,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 | ||||
| echo "configure:923: checking for working autoconf" >&5 | ||||
| echo "configure:985: checking for working autoconf" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -932,7 +994,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working automake""... $ac_c" 1>&6 | ||||
| echo "configure:936: checking for working automake" >&5 | ||||
| echo "configure:998: checking for working automake" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -945,7 +1007,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 | ||||
| echo "configure:949: checking for working autoheader" >&5 | ||||
| echo "configure:1011: checking for working autoheader" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -958,7 +1020,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 | ||||
| echo "configure:962: checking for working makeinfo" >&5 | ||||
| echo "configure:1024: checking for working makeinfo" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -983,7 +1045,7 @@ fi | ||||
| # Extract the first word of "gcc", so it can be a program name with args. | ||||
| set dummy gcc; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:987: checking for $ac_word" >&5 | ||||
| echo "configure:1049: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1013,7 +1075,7 @@ if test -z "$CC"; then | ||||
|   # Extract the first word of "cc", so it can be a program name with args. | ||||
| set dummy cc; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1017: checking for $ac_word" >&5 | ||||
| echo "configure:1079: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1062,7 +1124,7 @@ fi | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | ||||
| echo "configure:1066: checking whether we are using GNU C" >&5 | ||||
| echo "configure:1128: checking whether we are using GNU C" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1071,7 +1133,7 @@ else | ||||
|   yes; | ||||
| #endif | ||||
| EOF | ||||
| if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1075: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | ||||
| if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1137: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | ||||
|   ac_cv_prog_gcc=yes | ||||
| else | ||||
|   ac_cv_prog_gcc=no | ||||
| @@ -1086,7 +1148,7 @@ if test $ac_cv_prog_gcc = yes; then | ||||
|   ac_save_CFLAGS="$CFLAGS" | ||||
|   CFLAGS= | ||||
|   echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | ||||
| echo "configure:1090: checking whether ${CC-cc} accepts -g" >&5 | ||||
| echo "configure:1152: checking whether ${CC-cc} accepts -g" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1114,33 +1176,10 @@ else | ||||
| fi | ||||
|  | ||||
|  | ||||
| # AC_CHECK_TOOL does AC_REQUIRE (AC_CANONICAL_BUILD).  If we don't | ||||
| # run it explicitly here, it will be run implicitly before | ||||
| # NEWLIB_CONFIGURE, which doesn't work because that means that it will | ||||
| # be run before AC_CANONICAL_HOST. | ||||
| echo $ac_n "checking build system type""... $ac_c" 1>&6 | ||||
| echo "configure:1123: checking build system type" >&5 | ||||
|  | ||||
| build_alias=$build | ||||
| case "$build_alias" in | ||||
| NONE) | ||||
|   case $nonopt in | ||||
|   NONE) build_alias=$host_alias ;; | ||||
|   *) build_alias=$nonopt ;; | ||||
|   esac ;; | ||||
| esac | ||||
|  | ||||
| build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias` | ||||
| build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||||
| build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$build" 1>&6 | ||||
|  | ||||
|  | ||||
| # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}as; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1144: checking for $ac_word" >&5 | ||||
| echo "configure:1183: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1172,7 +1211,7 @@ fi | ||||
| # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}ar; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1176: checking for $ac_word" >&5 | ||||
| echo "configure:1215: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1204,7 +1243,7 @@ fi | ||||
| # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}ranlib; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1208: checking for $ac_word" >&5 | ||||
| echo "configure:1247: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1236,7 +1275,7 @@ if test -n "$ac_tool_prefix"; then | ||||
|   # Extract the first word of "ranlib", so it can be a program name with args. | ||||
| set dummy ranlib; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1240: checking for $ac_word" >&5 | ||||
| echo "configure:1279: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1281,7 +1320,7 @@ fi | ||||
| # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | ||||
| # ./install, which can be erroneously created by make from ./install.sh. | ||||
| echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | ||||
| echo "configure:1285: checking for a BSD compatible install" >&5 | ||||
| echo "configure:1324: checking for a BSD compatible install" >&5 | ||||
| if test -z "$INSTALL"; then | ||||
| if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| @@ -1335,7 +1374,7 @@ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | ||||
|  | ||||
|  | ||||
| echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6 | ||||
| echo "configure:1339: checking whether to enable maintainer-specific portions of Makefiles" >&5 | ||||
| echo "configure:1378: checking whether to enable maintainer-specific portions of Makefiles" >&5 | ||||
|     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. | ||||
| if test "${enable_maintainer_mode+set}" = set; then | ||||
|   enableval="$enable_maintainer_mode" | ||||
| @@ -1369,7 +1408,7 @@ if false; then | ||||
|    | ||||
|  | ||||
| echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 | ||||
| echo "configure:1373: checking for executable suffix" >&5 | ||||
| echo "configure:1412: checking for executable suffix" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1379,7 +1418,7 @@ else | ||||
|   rm -f conftest* | ||||
|   echo 'int main () { return 0; }' > conftest.$ac_ext | ||||
|   ac_cv_exeext= | ||||
|   if { (eval echo configure:1383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then | ||||
|   if { (eval echo configure:1422: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then | ||||
|     for file in conftest.*; do | ||||
|       case $file in | ||||
|       *.c | *.o | *.obj | *.ilk | *.pdb) ;; | ||||
| @@ -1579,6 +1618,16 @@ s%@host_alias@%$host_alias%g | ||||
| s%@host_cpu@%$host_cpu%g | ||||
| s%@host_vendor@%$host_vendor%g | ||||
| s%@host_os@%$host_os%g | ||||
| s%@target@%$target%g | ||||
| s%@target_alias@%$target_alias%g | ||||
| s%@target_cpu@%$target_cpu%g | ||||
| s%@target_vendor@%$target_vendor%g | ||||
| s%@target_os@%$target_os%g | ||||
| s%@build@%$build%g | ||||
| s%@build_alias@%$build_alias%g | ||||
| s%@build_cpu@%$build_cpu%g | ||||
| s%@build_vendor@%$build_vendor%g | ||||
| s%@build_os@%$build_os%g | ||||
| s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g | ||||
| s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g | ||||
| s%@INSTALL_DATA@%$INSTALL_DATA%g | ||||
| @@ -1591,11 +1640,6 @@ s%@AUTOHEADER@%$AUTOHEADER%g | ||||
| s%@MAKEINFO@%$MAKEINFO%g | ||||
| s%@SET_MAKE@%$SET_MAKE%g | ||||
| s%@CC@%$CC%g | ||||
| s%@build@%$build%g | ||||
| s%@build_alias@%$build_alias%g | ||||
| s%@build_cpu@%$build_cpu%g | ||||
| s%@build_vendor@%$build_vendor%g | ||||
| s%@build_os@%$build_os%g | ||||
| s%@AS@%$AS%g | ||||
| s%@AR@%$AR%g | ||||
| s%@RANLIB@%$RANLIB%g | ||||
|   | ||||
| @@ -57,8 +57,12 @@ POST_INSTALL = : | ||||
| NORMAL_UNINSTALL = : | ||||
| PRE_UNINSTALL = : | ||||
| POST_UNINSTALL = : | ||||
| build_alias = @build_alias@ | ||||
| build_triplet = @build@ | ||||
| host_alias = @host_alias@ | ||||
| host_triplet = @host@ | ||||
| target_alias = @target_alias@ | ||||
| target_triplet = @target@ | ||||
| AR = @AR@ | ||||
| AS = @AS@ | ||||
| CC = @CC@ | ||||
|   | ||||
							
								
								
									
										8
									
								
								newlib/libc/machine/v850/aclocal.m4
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								newlib/libc/machine/v850/aclocal.m4
									
									
									
									
										vendored
									
									
								
							| @@ -82,7 +82,7 @@ else | ||||
| fi | ||||
| AC_SUBST(newlib_basedir) | ||||
|  | ||||
| AC_CANONICAL_HOST | ||||
| AC_CANONICAL_SYSTEM | ||||
|  | ||||
| AM_INIT_AUTOMAKE(newlib, 1.10.0) | ||||
|  | ||||
| @@ -126,12 +126,6 @@ fi | ||||
|  | ||||
| LIB_AC_PROG_CC | ||||
|  | ||||
| # AC_CHECK_TOOL does AC_REQUIRE (AC_CANONICAL_BUILD).  If we don't | ||||
| # run it explicitly here, it will be run implicitly before | ||||
| # NEWLIB_CONFIGURE, which doesn't work because that means that it will | ||||
| # be run before AC_CANONICAL_HOST. | ||||
| AC_CANONICAL_BUILD | ||||
|  | ||||
| AC_CHECK_TOOL(AS, as) | ||||
| AC_CHECK_TOOL(AR, ar) | ||||
| AC_CHECK_TOOL(RANLIB, ranlib, :) | ||||
|   | ||||
							
								
								
									
										138
									
								
								newlib/libc/machine/v850/configure
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										138
									
								
								newlib/libc/machine/v850/configure
									
									
									
									
										vendored
									
									
								
							| @@ -859,13 +859,34 @@ fi | ||||
|  | ||||
|  | ||||
|  | ||||
| # Do some error checking and defaulting for the host and target type. | ||||
| # The inputs are: | ||||
| #    configure --host=HOST --target=TARGET --build=BUILD NONOPT | ||||
| # | ||||
| # The rules are: | ||||
| # 1. You are not allowed to specify --host, --target, and nonopt at the | ||||
| #    same time. | ||||
| # 2. Host defaults to nonopt. | ||||
| # 3. If nonopt is not specified, then host defaults to the current host, | ||||
| #    as determined by config.guess. | ||||
| # 4. Target and build default to nonopt. | ||||
| # 5. If nonopt is not specified, then target and build default to host. | ||||
|  | ||||
| # The aliases save the names the user supplied, while $host etc. | ||||
| # will get canonicalized. | ||||
| case $host---$target---$nonopt in | ||||
| NONE---*---* | *---NONE---* | *---*---NONE) ;; | ||||
| *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;; | ||||
| esac | ||||
|  | ||||
|  | ||||
| # Make sure we can run config.sub. | ||||
| if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then : | ||||
| else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking host system type""... $ac_c" 1>&6 | ||||
| echo "configure:869: checking host system type" >&5 | ||||
| echo "configure:890: checking host system type" >&5 | ||||
|  | ||||
| host_alias=$host | ||||
| case "$host_alias" in | ||||
| @@ -885,6 +906,47 @@ host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$host" 1>&6 | ||||
|  | ||||
| echo $ac_n "checking target system type""... $ac_c" 1>&6 | ||||
| echo "configure:911: checking target system type" >&5 | ||||
|  | ||||
| target_alias=$target | ||||
| case "$target_alias" in | ||||
| NONE) | ||||
|   case $nonopt in | ||||
|   NONE) target_alias=$host_alias ;; | ||||
|   *) target_alias=$nonopt ;; | ||||
|   esac ;; | ||||
| esac | ||||
|  | ||||
| target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias` | ||||
| target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||||
| target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$target" 1>&6 | ||||
|  | ||||
| echo $ac_n "checking build system type""... $ac_c" 1>&6 | ||||
| echo "configure:929: checking build system type" >&5 | ||||
|  | ||||
| build_alias=$build | ||||
| case "$build_alias" in | ||||
| NONE) | ||||
|   case $nonopt in | ||||
|   NONE) build_alias=$host_alias ;; | ||||
|   *) build_alias=$nonopt ;; | ||||
|   esac ;; | ||||
| esac | ||||
|  | ||||
| build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias` | ||||
| build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||||
| build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$build" 1>&6 | ||||
|  | ||||
| test "$host_alias" != "$target_alias" && | ||||
|   test "$program_prefix$program_suffix$program_transform_name" = \ | ||||
|     NONENONEs,x,x, && | ||||
|   program_prefix=${target_alias}- | ||||
|  | ||||
|  | ||||
|  | ||||
| PACKAGE=newlib | ||||
| @@ -906,7 +968,7 @@ EOF | ||||
|  | ||||
| missing_dir=`cd $ac_aux_dir && pwd` | ||||
| echo $ac_n "checking for working aclocal""... $ac_c" 1>&6 | ||||
| echo "configure:910: checking for working aclocal" >&5 | ||||
| echo "configure:972: checking for working aclocal" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -919,7 +981,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 | ||||
| echo "configure:923: checking for working autoconf" >&5 | ||||
| echo "configure:985: checking for working autoconf" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -932,7 +994,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working automake""... $ac_c" 1>&6 | ||||
| echo "configure:936: checking for working automake" >&5 | ||||
| echo "configure:998: checking for working automake" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -945,7 +1007,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 | ||||
| echo "configure:949: checking for working autoheader" >&5 | ||||
| echo "configure:1011: checking for working autoheader" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -958,7 +1020,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 | ||||
| echo "configure:962: checking for working makeinfo" >&5 | ||||
| echo "configure:1024: checking for working makeinfo" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -983,7 +1045,7 @@ fi | ||||
| # Extract the first word of "gcc", so it can be a program name with args. | ||||
| set dummy gcc; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:987: checking for $ac_word" >&5 | ||||
| echo "configure:1049: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1013,7 +1075,7 @@ if test -z "$CC"; then | ||||
|   # Extract the first word of "cc", so it can be a program name with args. | ||||
| set dummy cc; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1017: checking for $ac_word" >&5 | ||||
| echo "configure:1079: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1062,7 +1124,7 @@ fi | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | ||||
| echo "configure:1066: checking whether we are using GNU C" >&5 | ||||
| echo "configure:1128: checking whether we are using GNU C" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1071,7 +1133,7 @@ else | ||||
|   yes; | ||||
| #endif | ||||
| EOF | ||||
| if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1075: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | ||||
| if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1137: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | ||||
|   ac_cv_prog_gcc=yes | ||||
| else | ||||
|   ac_cv_prog_gcc=no | ||||
| @@ -1086,7 +1148,7 @@ if test $ac_cv_prog_gcc = yes; then | ||||
|   ac_save_CFLAGS="$CFLAGS" | ||||
|   CFLAGS= | ||||
|   echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | ||||
| echo "configure:1090: checking whether ${CC-cc} accepts -g" >&5 | ||||
| echo "configure:1152: checking whether ${CC-cc} accepts -g" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1114,33 +1176,10 @@ else | ||||
| fi | ||||
|  | ||||
|  | ||||
| # AC_CHECK_TOOL does AC_REQUIRE (AC_CANONICAL_BUILD).  If we don't | ||||
| # run it explicitly here, it will be run implicitly before | ||||
| # NEWLIB_CONFIGURE, which doesn't work because that means that it will | ||||
| # be run before AC_CANONICAL_HOST. | ||||
| echo $ac_n "checking build system type""... $ac_c" 1>&6 | ||||
| echo "configure:1123: checking build system type" >&5 | ||||
|  | ||||
| build_alias=$build | ||||
| case "$build_alias" in | ||||
| NONE) | ||||
|   case $nonopt in | ||||
|   NONE) build_alias=$host_alias ;; | ||||
|   *) build_alias=$nonopt ;; | ||||
|   esac ;; | ||||
| esac | ||||
|  | ||||
| build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias` | ||||
| build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||||
| build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$build" 1>&6 | ||||
|  | ||||
|  | ||||
| # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}as; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1144: checking for $ac_word" >&5 | ||||
| echo "configure:1183: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1172,7 +1211,7 @@ fi | ||||
| # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}ar; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1176: checking for $ac_word" >&5 | ||||
| echo "configure:1215: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1204,7 +1243,7 @@ fi | ||||
| # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}ranlib; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1208: checking for $ac_word" >&5 | ||||
| echo "configure:1247: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1236,7 +1275,7 @@ if test -n "$ac_tool_prefix"; then | ||||
|   # Extract the first word of "ranlib", so it can be a program name with args. | ||||
| set dummy ranlib; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1240: checking for $ac_word" >&5 | ||||
| echo "configure:1279: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1281,7 +1320,7 @@ fi | ||||
| # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | ||||
| # ./install, which can be erroneously created by make from ./install.sh. | ||||
| echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | ||||
| echo "configure:1285: checking for a BSD compatible install" >&5 | ||||
| echo "configure:1324: checking for a BSD compatible install" >&5 | ||||
| if test -z "$INSTALL"; then | ||||
| if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| @@ -1335,7 +1374,7 @@ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | ||||
|  | ||||
|  | ||||
| echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6 | ||||
| echo "configure:1339: checking whether to enable maintainer-specific portions of Makefiles" >&5 | ||||
| echo "configure:1378: checking whether to enable maintainer-specific portions of Makefiles" >&5 | ||||
|     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. | ||||
| if test "${enable_maintainer_mode+set}" = set; then | ||||
|   enableval="$enable_maintainer_mode" | ||||
| @@ -1369,7 +1408,7 @@ if false; then | ||||
|    | ||||
|  | ||||
| echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 | ||||
| echo "configure:1373: checking for executable suffix" >&5 | ||||
| echo "configure:1412: checking for executable suffix" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1379,7 +1418,7 @@ else | ||||
|   rm -f conftest* | ||||
|   echo 'int main () { return 0; }' > conftest.$ac_ext | ||||
|   ac_cv_exeext= | ||||
|   if { (eval echo configure:1383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then | ||||
|   if { (eval echo configure:1422: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then | ||||
|     for file in conftest.*; do | ||||
|       case $file in | ||||
|       *.c | *.o | *.obj | *.ilk | *.pdb) ;; | ||||
| @@ -1579,6 +1618,16 @@ s%@host_alias@%$host_alias%g | ||||
| s%@host_cpu@%$host_cpu%g | ||||
| s%@host_vendor@%$host_vendor%g | ||||
| s%@host_os@%$host_os%g | ||||
| s%@target@%$target%g | ||||
| s%@target_alias@%$target_alias%g | ||||
| s%@target_cpu@%$target_cpu%g | ||||
| s%@target_vendor@%$target_vendor%g | ||||
| s%@target_os@%$target_os%g | ||||
| s%@build@%$build%g | ||||
| s%@build_alias@%$build_alias%g | ||||
| s%@build_cpu@%$build_cpu%g | ||||
| s%@build_vendor@%$build_vendor%g | ||||
| s%@build_os@%$build_os%g | ||||
| s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g | ||||
| s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g | ||||
| s%@INSTALL_DATA@%$INSTALL_DATA%g | ||||
| @@ -1591,11 +1640,6 @@ s%@AUTOHEADER@%$AUTOHEADER%g | ||||
| s%@MAKEINFO@%$MAKEINFO%g | ||||
| s%@SET_MAKE@%$SET_MAKE%g | ||||
| s%@CC@%$CC%g | ||||
| s%@build@%$build%g | ||||
| s%@build_alias@%$build_alias%g | ||||
| s%@build_cpu@%$build_cpu%g | ||||
| s%@build_vendor@%$build_vendor%g | ||||
| s%@build_os@%$build_os%g | ||||
| s%@AS@%$AS%g | ||||
| s%@AR@%$AR%g | ||||
| s%@RANLIB@%$RANLIB%g | ||||
|   | ||||
| @@ -57,8 +57,12 @@ POST_INSTALL = : | ||||
| NORMAL_UNINSTALL = : | ||||
| PRE_UNINSTALL = : | ||||
| POST_UNINSTALL = : | ||||
| build_alias = @build_alias@ | ||||
| build_triplet = @build@ | ||||
| host_alias = @host_alias@ | ||||
| host_triplet = @host@ | ||||
| target_alias = @target_alias@ | ||||
| target_triplet = @target@ | ||||
| AR = @AR@ | ||||
| AS = @AS@ | ||||
| CC = @CC@ | ||||
|   | ||||
							
								
								
									
										8
									
								
								newlib/libc/machine/w65/aclocal.m4
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								newlib/libc/machine/w65/aclocal.m4
									
									
									
									
										vendored
									
									
								
							| @@ -82,7 +82,7 @@ else | ||||
| fi | ||||
| AC_SUBST(newlib_basedir) | ||||
|  | ||||
| AC_CANONICAL_HOST | ||||
| AC_CANONICAL_SYSTEM | ||||
|  | ||||
| AM_INIT_AUTOMAKE(newlib, 1.10.0) | ||||
|  | ||||
| @@ -126,12 +126,6 @@ fi | ||||
|  | ||||
| LIB_AC_PROG_CC | ||||
|  | ||||
| # AC_CHECK_TOOL does AC_REQUIRE (AC_CANONICAL_BUILD).  If we don't | ||||
| # run it explicitly here, it will be run implicitly before | ||||
| # NEWLIB_CONFIGURE, which doesn't work because that means that it will | ||||
| # be run before AC_CANONICAL_HOST. | ||||
| AC_CANONICAL_BUILD | ||||
|  | ||||
| AC_CHECK_TOOL(AS, as) | ||||
| AC_CHECK_TOOL(AR, ar) | ||||
| AC_CHECK_TOOL(RANLIB, ranlib, :) | ||||
|   | ||||
							
								
								
									
										138
									
								
								newlib/libc/machine/w65/configure
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										138
									
								
								newlib/libc/machine/w65/configure
									
									
									
									
										vendored
									
									
								
							| @@ -859,13 +859,34 @@ fi | ||||
|  | ||||
|  | ||||
|  | ||||
| # Do some error checking and defaulting for the host and target type. | ||||
| # The inputs are: | ||||
| #    configure --host=HOST --target=TARGET --build=BUILD NONOPT | ||||
| # | ||||
| # The rules are: | ||||
| # 1. You are not allowed to specify --host, --target, and nonopt at the | ||||
| #    same time. | ||||
| # 2. Host defaults to nonopt. | ||||
| # 3. If nonopt is not specified, then host defaults to the current host, | ||||
| #    as determined by config.guess. | ||||
| # 4. Target and build default to nonopt. | ||||
| # 5. If nonopt is not specified, then target and build default to host. | ||||
|  | ||||
| # The aliases save the names the user supplied, while $host etc. | ||||
| # will get canonicalized. | ||||
| case $host---$target---$nonopt in | ||||
| NONE---*---* | *---NONE---* | *---*---NONE) ;; | ||||
| *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;; | ||||
| esac | ||||
|  | ||||
|  | ||||
| # Make sure we can run config.sub. | ||||
| if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then : | ||||
| else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking host system type""... $ac_c" 1>&6 | ||||
| echo "configure:869: checking host system type" >&5 | ||||
| echo "configure:890: checking host system type" >&5 | ||||
|  | ||||
| host_alias=$host | ||||
| case "$host_alias" in | ||||
| @@ -885,6 +906,47 @@ host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$host" 1>&6 | ||||
|  | ||||
| echo $ac_n "checking target system type""... $ac_c" 1>&6 | ||||
| echo "configure:911: checking target system type" >&5 | ||||
|  | ||||
| target_alias=$target | ||||
| case "$target_alias" in | ||||
| NONE) | ||||
|   case $nonopt in | ||||
|   NONE) target_alias=$host_alias ;; | ||||
|   *) target_alias=$nonopt ;; | ||||
|   esac ;; | ||||
| esac | ||||
|  | ||||
| target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias` | ||||
| target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||||
| target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$target" 1>&6 | ||||
|  | ||||
| echo $ac_n "checking build system type""... $ac_c" 1>&6 | ||||
| echo "configure:929: checking build system type" >&5 | ||||
|  | ||||
| build_alias=$build | ||||
| case "$build_alias" in | ||||
| NONE) | ||||
|   case $nonopt in | ||||
|   NONE) build_alias=$host_alias ;; | ||||
|   *) build_alias=$nonopt ;; | ||||
|   esac ;; | ||||
| esac | ||||
|  | ||||
| build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias` | ||||
| build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||||
| build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$build" 1>&6 | ||||
|  | ||||
| test "$host_alias" != "$target_alias" && | ||||
|   test "$program_prefix$program_suffix$program_transform_name" = \ | ||||
|     NONENONEs,x,x, && | ||||
|   program_prefix=${target_alias}- | ||||
|  | ||||
|  | ||||
|  | ||||
| PACKAGE=newlib | ||||
| @@ -906,7 +968,7 @@ EOF | ||||
|  | ||||
| missing_dir=`cd $ac_aux_dir && pwd` | ||||
| echo $ac_n "checking for working aclocal""... $ac_c" 1>&6 | ||||
| echo "configure:910: checking for working aclocal" >&5 | ||||
| echo "configure:972: checking for working aclocal" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -919,7 +981,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 | ||||
| echo "configure:923: checking for working autoconf" >&5 | ||||
| echo "configure:985: checking for working autoconf" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -932,7 +994,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working automake""... $ac_c" 1>&6 | ||||
| echo "configure:936: checking for working automake" >&5 | ||||
| echo "configure:998: checking for working automake" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -945,7 +1007,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 | ||||
| echo "configure:949: checking for working autoheader" >&5 | ||||
| echo "configure:1011: checking for working autoheader" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -958,7 +1020,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 | ||||
| echo "configure:962: checking for working makeinfo" >&5 | ||||
| echo "configure:1024: checking for working makeinfo" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -983,7 +1045,7 @@ fi | ||||
| # Extract the first word of "gcc", so it can be a program name with args. | ||||
| set dummy gcc; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:987: checking for $ac_word" >&5 | ||||
| echo "configure:1049: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1013,7 +1075,7 @@ if test -z "$CC"; then | ||||
|   # Extract the first word of "cc", so it can be a program name with args. | ||||
| set dummy cc; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1017: checking for $ac_word" >&5 | ||||
| echo "configure:1079: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1062,7 +1124,7 @@ fi | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | ||||
| echo "configure:1066: checking whether we are using GNU C" >&5 | ||||
| echo "configure:1128: checking whether we are using GNU C" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1071,7 +1133,7 @@ else | ||||
|   yes; | ||||
| #endif | ||||
| EOF | ||||
| if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1075: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | ||||
| if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1137: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | ||||
|   ac_cv_prog_gcc=yes | ||||
| else | ||||
|   ac_cv_prog_gcc=no | ||||
| @@ -1086,7 +1148,7 @@ if test $ac_cv_prog_gcc = yes; then | ||||
|   ac_save_CFLAGS="$CFLAGS" | ||||
|   CFLAGS= | ||||
|   echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | ||||
| echo "configure:1090: checking whether ${CC-cc} accepts -g" >&5 | ||||
| echo "configure:1152: checking whether ${CC-cc} accepts -g" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1114,33 +1176,10 @@ else | ||||
| fi | ||||
|  | ||||
|  | ||||
| # AC_CHECK_TOOL does AC_REQUIRE (AC_CANONICAL_BUILD).  If we don't | ||||
| # run it explicitly here, it will be run implicitly before | ||||
| # NEWLIB_CONFIGURE, which doesn't work because that means that it will | ||||
| # be run before AC_CANONICAL_HOST. | ||||
| echo $ac_n "checking build system type""... $ac_c" 1>&6 | ||||
| echo "configure:1123: checking build system type" >&5 | ||||
|  | ||||
| build_alias=$build | ||||
| case "$build_alias" in | ||||
| NONE) | ||||
|   case $nonopt in | ||||
|   NONE) build_alias=$host_alias ;; | ||||
|   *) build_alias=$nonopt ;; | ||||
|   esac ;; | ||||
| esac | ||||
|  | ||||
| build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias` | ||||
| build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||||
| build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$build" 1>&6 | ||||
|  | ||||
|  | ||||
| # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}as; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1144: checking for $ac_word" >&5 | ||||
| echo "configure:1183: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1172,7 +1211,7 @@ fi | ||||
| # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}ar; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1176: checking for $ac_word" >&5 | ||||
| echo "configure:1215: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1204,7 +1243,7 @@ fi | ||||
| # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}ranlib; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1208: checking for $ac_word" >&5 | ||||
| echo "configure:1247: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1236,7 +1275,7 @@ if test -n "$ac_tool_prefix"; then | ||||
|   # Extract the first word of "ranlib", so it can be a program name with args. | ||||
| set dummy ranlib; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1240: checking for $ac_word" >&5 | ||||
| echo "configure:1279: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1281,7 +1320,7 @@ fi | ||||
| # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | ||||
| # ./install, which can be erroneously created by make from ./install.sh. | ||||
| echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | ||||
| echo "configure:1285: checking for a BSD compatible install" >&5 | ||||
| echo "configure:1324: checking for a BSD compatible install" >&5 | ||||
| if test -z "$INSTALL"; then | ||||
| if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| @@ -1335,7 +1374,7 @@ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | ||||
|  | ||||
|  | ||||
| echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6 | ||||
| echo "configure:1339: checking whether to enable maintainer-specific portions of Makefiles" >&5 | ||||
| echo "configure:1378: checking whether to enable maintainer-specific portions of Makefiles" >&5 | ||||
|     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. | ||||
| if test "${enable_maintainer_mode+set}" = set; then | ||||
|   enableval="$enable_maintainer_mode" | ||||
| @@ -1369,7 +1408,7 @@ if false; then | ||||
|    | ||||
|  | ||||
| echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 | ||||
| echo "configure:1373: checking for executable suffix" >&5 | ||||
| echo "configure:1412: checking for executable suffix" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1379,7 +1418,7 @@ else | ||||
|   rm -f conftest* | ||||
|   echo 'int main () { return 0; }' > conftest.$ac_ext | ||||
|   ac_cv_exeext= | ||||
|   if { (eval echo configure:1383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then | ||||
|   if { (eval echo configure:1422: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then | ||||
|     for file in conftest.*; do | ||||
|       case $file in | ||||
|       *.c | *.o | *.obj | *.ilk | *.pdb) ;; | ||||
| @@ -1579,6 +1618,16 @@ s%@host_alias@%$host_alias%g | ||||
| s%@host_cpu@%$host_cpu%g | ||||
| s%@host_vendor@%$host_vendor%g | ||||
| s%@host_os@%$host_os%g | ||||
| s%@target@%$target%g | ||||
| s%@target_alias@%$target_alias%g | ||||
| s%@target_cpu@%$target_cpu%g | ||||
| s%@target_vendor@%$target_vendor%g | ||||
| s%@target_os@%$target_os%g | ||||
| s%@build@%$build%g | ||||
| s%@build_alias@%$build_alias%g | ||||
| s%@build_cpu@%$build_cpu%g | ||||
| s%@build_vendor@%$build_vendor%g | ||||
| s%@build_os@%$build_os%g | ||||
| s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g | ||||
| s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g | ||||
| s%@INSTALL_DATA@%$INSTALL_DATA%g | ||||
| @@ -1591,11 +1640,6 @@ s%@AUTOHEADER@%$AUTOHEADER%g | ||||
| s%@MAKEINFO@%$MAKEINFO%g | ||||
| s%@SET_MAKE@%$SET_MAKE%g | ||||
| s%@CC@%$CC%g | ||||
| s%@build@%$build%g | ||||
| s%@build_alias@%$build_alias%g | ||||
| s%@build_cpu@%$build_cpu%g | ||||
| s%@build_vendor@%$build_vendor%g | ||||
| s%@build_os@%$build_os%g | ||||
| s%@AS@%$AS%g | ||||
| s%@AR@%$AR%g | ||||
| s%@RANLIB@%$RANLIB%g | ||||
|   | ||||
| @@ -57,8 +57,12 @@ POST_INSTALL = : | ||||
| NORMAL_UNINSTALL = : | ||||
| PRE_UNINSTALL = : | ||||
| POST_UNINSTALL = : | ||||
| build_alias = @build_alias@ | ||||
| build_triplet = @build@ | ||||
| host_alias = @host_alias@ | ||||
| host_triplet = @host@ | ||||
| target_alias = @target_alias@ | ||||
| target_triplet = @target@ | ||||
| AR = @AR@ | ||||
| AS = @AS@ | ||||
| CC = @CC@ | ||||
|   | ||||
							
								
								
									
										8
									
								
								newlib/libc/machine/xscale/aclocal.m4
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								newlib/libc/machine/xscale/aclocal.m4
									
									
									
									
										vendored
									
									
								
							| @@ -82,7 +82,7 @@ else | ||||
| fi | ||||
| AC_SUBST(newlib_basedir) | ||||
|  | ||||
| AC_CANONICAL_HOST | ||||
| AC_CANONICAL_SYSTEM | ||||
|  | ||||
| AM_INIT_AUTOMAKE(newlib, 1.10.0) | ||||
|  | ||||
| @@ -126,12 +126,6 @@ fi | ||||
|  | ||||
| LIB_AC_PROG_CC | ||||
|  | ||||
| # AC_CHECK_TOOL does AC_REQUIRE (AC_CANONICAL_BUILD).  If we don't | ||||
| # run it explicitly here, it will be run implicitly before | ||||
| # NEWLIB_CONFIGURE, which doesn't work because that means that it will | ||||
| # be run before AC_CANONICAL_HOST. | ||||
| AC_CANONICAL_BUILD | ||||
|  | ||||
| AC_CHECK_TOOL(AS, as) | ||||
| AC_CHECK_TOOL(AR, ar) | ||||
| AC_CHECK_TOOL(RANLIB, ranlib, :) | ||||
|   | ||||
							
								
								
									
										138
									
								
								newlib/libc/machine/xscale/configure
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										138
									
								
								newlib/libc/machine/xscale/configure
									
									
									
									
										vendored
									
									
								
							| @@ -859,13 +859,34 @@ fi | ||||
|  | ||||
|  | ||||
|  | ||||
| # Do some error checking and defaulting for the host and target type. | ||||
| # The inputs are: | ||||
| #    configure --host=HOST --target=TARGET --build=BUILD NONOPT | ||||
| # | ||||
| # The rules are: | ||||
| # 1. You are not allowed to specify --host, --target, and nonopt at the | ||||
| #    same time. | ||||
| # 2. Host defaults to nonopt. | ||||
| # 3. If nonopt is not specified, then host defaults to the current host, | ||||
| #    as determined by config.guess. | ||||
| # 4. Target and build default to nonopt. | ||||
| # 5. If nonopt is not specified, then target and build default to host. | ||||
|  | ||||
| # The aliases save the names the user supplied, while $host etc. | ||||
| # will get canonicalized. | ||||
| case $host---$target---$nonopt in | ||||
| NONE---*---* | *---NONE---* | *---*---NONE) ;; | ||||
| *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;; | ||||
| esac | ||||
|  | ||||
|  | ||||
| # Make sure we can run config.sub. | ||||
| if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then : | ||||
| else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking host system type""... $ac_c" 1>&6 | ||||
| echo "configure:869: checking host system type" >&5 | ||||
| echo "configure:890: checking host system type" >&5 | ||||
|  | ||||
| host_alias=$host | ||||
| case "$host_alias" in | ||||
| @@ -885,6 +906,47 @@ host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$host" 1>&6 | ||||
|  | ||||
| echo $ac_n "checking target system type""... $ac_c" 1>&6 | ||||
| echo "configure:911: checking target system type" >&5 | ||||
|  | ||||
| target_alias=$target | ||||
| case "$target_alias" in | ||||
| NONE) | ||||
|   case $nonopt in | ||||
|   NONE) target_alias=$host_alias ;; | ||||
|   *) target_alias=$nonopt ;; | ||||
|   esac ;; | ||||
| esac | ||||
|  | ||||
| target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias` | ||||
| target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||||
| target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$target" 1>&6 | ||||
|  | ||||
| echo $ac_n "checking build system type""... $ac_c" 1>&6 | ||||
| echo "configure:929: checking build system type" >&5 | ||||
|  | ||||
| build_alias=$build | ||||
| case "$build_alias" in | ||||
| NONE) | ||||
|   case $nonopt in | ||||
|   NONE) build_alias=$host_alias ;; | ||||
|   *) build_alias=$nonopt ;; | ||||
|   esac ;; | ||||
| esac | ||||
|  | ||||
| build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias` | ||||
| build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||||
| build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$build" 1>&6 | ||||
|  | ||||
| test "$host_alias" != "$target_alias" && | ||||
|   test "$program_prefix$program_suffix$program_transform_name" = \ | ||||
|     NONENONEs,x,x, && | ||||
|   program_prefix=${target_alias}- | ||||
|  | ||||
|  | ||||
|  | ||||
| PACKAGE=newlib | ||||
| @@ -906,7 +968,7 @@ EOF | ||||
|  | ||||
| missing_dir=`cd $ac_aux_dir && pwd` | ||||
| echo $ac_n "checking for working aclocal""... $ac_c" 1>&6 | ||||
| echo "configure:910: checking for working aclocal" >&5 | ||||
| echo "configure:972: checking for working aclocal" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -919,7 +981,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 | ||||
| echo "configure:923: checking for working autoconf" >&5 | ||||
| echo "configure:985: checking for working autoconf" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -932,7 +994,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working automake""... $ac_c" 1>&6 | ||||
| echo "configure:936: checking for working automake" >&5 | ||||
| echo "configure:998: checking for working automake" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -945,7 +1007,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 | ||||
| echo "configure:949: checking for working autoheader" >&5 | ||||
| echo "configure:1011: checking for working autoheader" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -958,7 +1020,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 | ||||
| echo "configure:962: checking for working makeinfo" >&5 | ||||
| echo "configure:1024: checking for working makeinfo" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -983,7 +1045,7 @@ fi | ||||
| # Extract the first word of "gcc", so it can be a program name with args. | ||||
| set dummy gcc; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:987: checking for $ac_word" >&5 | ||||
| echo "configure:1049: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1013,7 +1075,7 @@ if test -z "$CC"; then | ||||
|   # Extract the first word of "cc", so it can be a program name with args. | ||||
| set dummy cc; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1017: checking for $ac_word" >&5 | ||||
| echo "configure:1079: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1062,7 +1124,7 @@ fi | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | ||||
| echo "configure:1066: checking whether we are using GNU C" >&5 | ||||
| echo "configure:1128: checking whether we are using GNU C" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1071,7 +1133,7 @@ else | ||||
|   yes; | ||||
| #endif | ||||
| EOF | ||||
| if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1075: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | ||||
| if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1137: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | ||||
|   ac_cv_prog_gcc=yes | ||||
| else | ||||
|   ac_cv_prog_gcc=no | ||||
| @@ -1086,7 +1148,7 @@ if test $ac_cv_prog_gcc = yes; then | ||||
|   ac_save_CFLAGS="$CFLAGS" | ||||
|   CFLAGS= | ||||
|   echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | ||||
| echo "configure:1090: checking whether ${CC-cc} accepts -g" >&5 | ||||
| echo "configure:1152: checking whether ${CC-cc} accepts -g" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1114,33 +1176,10 @@ else | ||||
| fi | ||||
|  | ||||
|  | ||||
| # AC_CHECK_TOOL does AC_REQUIRE (AC_CANONICAL_BUILD).  If we don't | ||||
| # run it explicitly here, it will be run implicitly before | ||||
| # NEWLIB_CONFIGURE, which doesn't work because that means that it will | ||||
| # be run before AC_CANONICAL_HOST. | ||||
| echo $ac_n "checking build system type""... $ac_c" 1>&6 | ||||
| echo "configure:1123: checking build system type" >&5 | ||||
|  | ||||
| build_alias=$build | ||||
| case "$build_alias" in | ||||
| NONE) | ||||
|   case $nonopt in | ||||
|   NONE) build_alias=$host_alias ;; | ||||
|   *) build_alias=$nonopt ;; | ||||
|   esac ;; | ||||
| esac | ||||
|  | ||||
| build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias` | ||||
| build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||||
| build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$build" 1>&6 | ||||
|  | ||||
|  | ||||
| # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}as; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1144: checking for $ac_word" >&5 | ||||
| echo "configure:1183: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1172,7 +1211,7 @@ fi | ||||
| # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}ar; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1176: checking for $ac_word" >&5 | ||||
| echo "configure:1215: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1204,7 +1243,7 @@ fi | ||||
| # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}ranlib; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1208: checking for $ac_word" >&5 | ||||
| echo "configure:1247: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1236,7 +1275,7 @@ if test -n "$ac_tool_prefix"; then | ||||
|   # Extract the first word of "ranlib", so it can be a program name with args. | ||||
| set dummy ranlib; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1240: checking for $ac_word" >&5 | ||||
| echo "configure:1279: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1281,7 +1320,7 @@ fi | ||||
| # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | ||||
| # ./install, which can be erroneously created by make from ./install.sh. | ||||
| echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | ||||
| echo "configure:1285: checking for a BSD compatible install" >&5 | ||||
| echo "configure:1324: checking for a BSD compatible install" >&5 | ||||
| if test -z "$INSTALL"; then | ||||
| if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| @@ -1335,7 +1374,7 @@ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | ||||
|  | ||||
|  | ||||
| echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6 | ||||
| echo "configure:1339: checking whether to enable maintainer-specific portions of Makefiles" >&5 | ||||
| echo "configure:1378: checking whether to enable maintainer-specific portions of Makefiles" >&5 | ||||
|     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. | ||||
| if test "${enable_maintainer_mode+set}" = set; then | ||||
|   enableval="$enable_maintainer_mode" | ||||
| @@ -1369,7 +1408,7 @@ if false; then | ||||
|    | ||||
|  | ||||
| echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 | ||||
| echo "configure:1373: checking for executable suffix" >&5 | ||||
| echo "configure:1412: checking for executable suffix" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1379,7 +1418,7 @@ else | ||||
|   rm -f conftest* | ||||
|   echo 'int main () { return 0; }' > conftest.$ac_ext | ||||
|   ac_cv_exeext= | ||||
|   if { (eval echo configure:1383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then | ||||
|   if { (eval echo configure:1422: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then | ||||
|     for file in conftest.*; do | ||||
|       case $file in | ||||
|       *.c | *.o | *.obj | *.ilk | *.pdb) ;; | ||||
| @@ -1579,6 +1618,16 @@ s%@host_alias@%$host_alias%g | ||||
| s%@host_cpu@%$host_cpu%g | ||||
| s%@host_vendor@%$host_vendor%g | ||||
| s%@host_os@%$host_os%g | ||||
| s%@target@%$target%g | ||||
| s%@target_alias@%$target_alias%g | ||||
| s%@target_cpu@%$target_cpu%g | ||||
| s%@target_vendor@%$target_vendor%g | ||||
| s%@target_os@%$target_os%g | ||||
| s%@build@%$build%g | ||||
| s%@build_alias@%$build_alias%g | ||||
| s%@build_cpu@%$build_cpu%g | ||||
| s%@build_vendor@%$build_vendor%g | ||||
| s%@build_os@%$build_os%g | ||||
| s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g | ||||
| s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g | ||||
| s%@INSTALL_DATA@%$INSTALL_DATA%g | ||||
| @@ -1591,11 +1640,6 @@ s%@AUTOHEADER@%$AUTOHEADER%g | ||||
| s%@MAKEINFO@%$MAKEINFO%g | ||||
| s%@SET_MAKE@%$SET_MAKE%g | ||||
| s%@CC@%$CC%g | ||||
| s%@build@%$build%g | ||||
| s%@build_alias@%$build_alias%g | ||||
| s%@build_cpu@%$build_cpu%g | ||||
| s%@build_vendor@%$build_vendor%g | ||||
| s%@build_os@%$build_os%g | ||||
| s%@AS@%$AS%g | ||||
| s%@AR@%$AR%g | ||||
| s%@RANLIB@%$RANLIB%g | ||||
|   | ||||
| @@ -57,8 +57,12 @@ POST_INSTALL = : | ||||
| NORMAL_UNINSTALL = : | ||||
| PRE_UNINSTALL = : | ||||
| POST_UNINSTALL = : | ||||
| build_alias = @build_alias@ | ||||
| build_triplet = @build@ | ||||
| host_alias = @host_alias@ | ||||
| host_triplet = @host@ | ||||
| target_alias = @target_alias@ | ||||
| target_triplet = @target@ | ||||
| AR = @AR@ | ||||
| AS = @AS@ | ||||
| CC = @CC@ | ||||
|   | ||||
							
								
								
									
										8
									
								
								newlib/libc/machine/xstormy16/aclocal.m4
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								newlib/libc/machine/xstormy16/aclocal.m4
									
									
									
									
										vendored
									
									
								
							| @@ -82,7 +82,7 @@ else | ||||
| fi | ||||
| AC_SUBST(newlib_basedir) | ||||
|  | ||||
| AC_CANONICAL_HOST | ||||
| AC_CANONICAL_SYSTEM | ||||
|  | ||||
| AM_INIT_AUTOMAKE(newlib, 1.10.0) | ||||
|  | ||||
| @@ -126,12 +126,6 @@ fi | ||||
|  | ||||
| LIB_AC_PROG_CC | ||||
|  | ||||
| # AC_CHECK_TOOL does AC_REQUIRE (AC_CANONICAL_BUILD).  If we don't | ||||
| # run it explicitly here, it will be run implicitly before | ||||
| # NEWLIB_CONFIGURE, which doesn't work because that means that it will | ||||
| # be run before AC_CANONICAL_HOST. | ||||
| AC_CANONICAL_BUILD | ||||
|  | ||||
| AC_CHECK_TOOL(AS, as) | ||||
| AC_CHECK_TOOL(AR, ar) | ||||
| AC_CHECK_TOOL(RANLIB, ranlib, :) | ||||
|   | ||||
							
								
								
									
										138
									
								
								newlib/libc/machine/xstormy16/configure
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										138
									
								
								newlib/libc/machine/xstormy16/configure
									
									
									
									
										vendored
									
									
								
							| @@ -859,13 +859,34 @@ fi | ||||
|  | ||||
|  | ||||
|  | ||||
| # Do some error checking and defaulting for the host and target type. | ||||
| # The inputs are: | ||||
| #    configure --host=HOST --target=TARGET --build=BUILD NONOPT | ||||
| # | ||||
| # The rules are: | ||||
| # 1. You are not allowed to specify --host, --target, and nonopt at the | ||||
| #    same time. | ||||
| # 2. Host defaults to nonopt. | ||||
| # 3. If nonopt is not specified, then host defaults to the current host, | ||||
| #    as determined by config.guess. | ||||
| # 4. Target and build default to nonopt. | ||||
| # 5. If nonopt is not specified, then target and build default to host. | ||||
|  | ||||
| # The aliases save the names the user supplied, while $host etc. | ||||
| # will get canonicalized. | ||||
| case $host---$target---$nonopt in | ||||
| NONE---*---* | *---NONE---* | *---*---NONE) ;; | ||||
| *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;; | ||||
| esac | ||||
|  | ||||
|  | ||||
| # Make sure we can run config.sub. | ||||
| if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then : | ||||
| else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking host system type""... $ac_c" 1>&6 | ||||
| echo "configure:869: checking host system type" >&5 | ||||
| echo "configure:890: checking host system type" >&5 | ||||
|  | ||||
| host_alias=$host | ||||
| case "$host_alias" in | ||||
| @@ -885,6 +906,47 @@ host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$host" 1>&6 | ||||
|  | ||||
| echo $ac_n "checking target system type""... $ac_c" 1>&6 | ||||
| echo "configure:911: checking target system type" >&5 | ||||
|  | ||||
| target_alias=$target | ||||
| case "$target_alias" in | ||||
| NONE) | ||||
|   case $nonopt in | ||||
|   NONE) target_alias=$host_alias ;; | ||||
|   *) target_alias=$nonopt ;; | ||||
|   esac ;; | ||||
| esac | ||||
|  | ||||
| target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias` | ||||
| target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||||
| target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$target" 1>&6 | ||||
|  | ||||
| echo $ac_n "checking build system type""... $ac_c" 1>&6 | ||||
| echo "configure:929: checking build system type" >&5 | ||||
|  | ||||
| build_alias=$build | ||||
| case "$build_alias" in | ||||
| NONE) | ||||
|   case $nonopt in | ||||
|   NONE) build_alias=$host_alias ;; | ||||
|   *) build_alias=$nonopt ;; | ||||
|   esac ;; | ||||
| esac | ||||
|  | ||||
| build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias` | ||||
| build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||||
| build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$build" 1>&6 | ||||
|  | ||||
| test "$host_alias" != "$target_alias" && | ||||
|   test "$program_prefix$program_suffix$program_transform_name" = \ | ||||
|     NONENONEs,x,x, && | ||||
|   program_prefix=${target_alias}- | ||||
|  | ||||
|  | ||||
|  | ||||
| PACKAGE=newlib | ||||
| @@ -906,7 +968,7 @@ EOF | ||||
|  | ||||
| missing_dir=`cd $ac_aux_dir && pwd` | ||||
| echo $ac_n "checking for working aclocal""... $ac_c" 1>&6 | ||||
| echo "configure:910: checking for working aclocal" >&5 | ||||
| echo "configure:972: checking for working aclocal" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -919,7 +981,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 | ||||
| echo "configure:923: checking for working autoconf" >&5 | ||||
| echo "configure:985: checking for working autoconf" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -932,7 +994,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working automake""... $ac_c" 1>&6 | ||||
| echo "configure:936: checking for working automake" >&5 | ||||
| echo "configure:998: checking for working automake" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -945,7 +1007,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 | ||||
| echo "configure:949: checking for working autoheader" >&5 | ||||
| echo "configure:1011: checking for working autoheader" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -958,7 +1020,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 | ||||
| echo "configure:962: checking for working makeinfo" >&5 | ||||
| echo "configure:1024: checking for working makeinfo" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -983,7 +1045,7 @@ fi | ||||
| # Extract the first word of "gcc", so it can be a program name with args. | ||||
| set dummy gcc; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:987: checking for $ac_word" >&5 | ||||
| echo "configure:1049: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1013,7 +1075,7 @@ if test -z "$CC"; then | ||||
|   # Extract the first word of "cc", so it can be a program name with args. | ||||
| set dummy cc; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1017: checking for $ac_word" >&5 | ||||
| echo "configure:1079: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1062,7 +1124,7 @@ fi | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | ||||
| echo "configure:1066: checking whether we are using GNU C" >&5 | ||||
| echo "configure:1128: checking whether we are using GNU C" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1071,7 +1133,7 @@ else | ||||
|   yes; | ||||
| #endif | ||||
| EOF | ||||
| if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1075: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | ||||
| if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1137: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | ||||
|   ac_cv_prog_gcc=yes | ||||
| else | ||||
|   ac_cv_prog_gcc=no | ||||
| @@ -1086,7 +1148,7 @@ if test $ac_cv_prog_gcc = yes; then | ||||
|   ac_save_CFLAGS="$CFLAGS" | ||||
|   CFLAGS= | ||||
|   echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | ||||
| echo "configure:1090: checking whether ${CC-cc} accepts -g" >&5 | ||||
| echo "configure:1152: checking whether ${CC-cc} accepts -g" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1114,33 +1176,10 @@ else | ||||
| fi | ||||
|  | ||||
|  | ||||
| # AC_CHECK_TOOL does AC_REQUIRE (AC_CANONICAL_BUILD).  If we don't | ||||
| # run it explicitly here, it will be run implicitly before | ||||
| # NEWLIB_CONFIGURE, which doesn't work because that means that it will | ||||
| # be run before AC_CANONICAL_HOST. | ||||
| echo $ac_n "checking build system type""... $ac_c" 1>&6 | ||||
| echo "configure:1123: checking build system type" >&5 | ||||
|  | ||||
| build_alias=$build | ||||
| case "$build_alias" in | ||||
| NONE) | ||||
|   case $nonopt in | ||||
|   NONE) build_alias=$host_alias ;; | ||||
|   *) build_alias=$nonopt ;; | ||||
|   esac ;; | ||||
| esac | ||||
|  | ||||
| build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias` | ||||
| build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||||
| build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$build" 1>&6 | ||||
|  | ||||
|  | ||||
| # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}as; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1144: checking for $ac_word" >&5 | ||||
| echo "configure:1183: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1172,7 +1211,7 @@ fi | ||||
| # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}ar; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1176: checking for $ac_word" >&5 | ||||
| echo "configure:1215: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1204,7 +1243,7 @@ fi | ||||
| # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}ranlib; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1208: checking for $ac_word" >&5 | ||||
| echo "configure:1247: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1236,7 +1275,7 @@ if test -n "$ac_tool_prefix"; then | ||||
|   # Extract the first word of "ranlib", so it can be a program name with args. | ||||
| set dummy ranlib; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1240: checking for $ac_word" >&5 | ||||
| echo "configure:1279: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1281,7 +1320,7 @@ fi | ||||
| # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | ||||
| # ./install, which can be erroneously created by make from ./install.sh. | ||||
| echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | ||||
| echo "configure:1285: checking for a BSD compatible install" >&5 | ||||
| echo "configure:1324: checking for a BSD compatible install" >&5 | ||||
| if test -z "$INSTALL"; then | ||||
| if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| @@ -1335,7 +1374,7 @@ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | ||||
|  | ||||
|  | ||||
| echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6 | ||||
| echo "configure:1339: checking whether to enable maintainer-specific portions of Makefiles" >&5 | ||||
| echo "configure:1378: checking whether to enable maintainer-specific portions of Makefiles" >&5 | ||||
|     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. | ||||
| if test "${enable_maintainer_mode+set}" = set; then | ||||
|   enableval="$enable_maintainer_mode" | ||||
| @@ -1369,7 +1408,7 @@ if false; then | ||||
|    | ||||
|  | ||||
| echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 | ||||
| echo "configure:1373: checking for executable suffix" >&5 | ||||
| echo "configure:1412: checking for executable suffix" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1379,7 +1418,7 @@ else | ||||
|   rm -f conftest* | ||||
|   echo 'int main () { return 0; }' > conftest.$ac_ext | ||||
|   ac_cv_exeext= | ||||
|   if { (eval echo configure:1383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then | ||||
|   if { (eval echo configure:1422: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then | ||||
|     for file in conftest.*; do | ||||
|       case $file in | ||||
|       *.c | *.o | *.obj | *.ilk | *.pdb) ;; | ||||
| @@ -1579,6 +1618,16 @@ s%@host_alias@%$host_alias%g | ||||
| s%@host_cpu@%$host_cpu%g | ||||
| s%@host_vendor@%$host_vendor%g | ||||
| s%@host_os@%$host_os%g | ||||
| s%@target@%$target%g | ||||
| s%@target_alias@%$target_alias%g | ||||
| s%@target_cpu@%$target_cpu%g | ||||
| s%@target_vendor@%$target_vendor%g | ||||
| s%@target_os@%$target_os%g | ||||
| s%@build@%$build%g | ||||
| s%@build_alias@%$build_alias%g | ||||
| s%@build_cpu@%$build_cpu%g | ||||
| s%@build_vendor@%$build_vendor%g | ||||
| s%@build_os@%$build_os%g | ||||
| s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g | ||||
| s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g | ||||
| s%@INSTALL_DATA@%$INSTALL_DATA%g | ||||
| @@ -1591,11 +1640,6 @@ s%@AUTOHEADER@%$AUTOHEADER%g | ||||
| s%@MAKEINFO@%$MAKEINFO%g | ||||
| s%@SET_MAKE@%$SET_MAKE%g | ||||
| s%@CC@%$CC%g | ||||
| s%@build@%$build%g | ||||
| s%@build_alias@%$build_alias%g | ||||
| s%@build_cpu@%$build_cpu%g | ||||
| s%@build_vendor@%$build_vendor%g | ||||
| s%@build_os@%$build_os%g | ||||
| s%@AS@%$AS%g | ||||
| s%@AR@%$AR%g | ||||
| s%@RANLIB@%$RANLIB%g | ||||
|   | ||||
| @@ -57,8 +57,12 @@ POST_INSTALL = : | ||||
| NORMAL_UNINSTALL = : | ||||
| PRE_UNINSTALL = : | ||||
| POST_UNINSTALL = : | ||||
| build_alias = @build_alias@ | ||||
| build_triplet = @build@ | ||||
| host_alias = @host_alias@ | ||||
| host_triplet = @host@ | ||||
| target_alias = @target_alias@ | ||||
| target_triplet = @target@ | ||||
| AR = @AR@ | ||||
| AS = @AS@ | ||||
| CC = @CC@ | ||||
|   | ||||
							
								
								
									
										8
									
								
								newlib/libc/machine/z8k/aclocal.m4
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								newlib/libc/machine/z8k/aclocal.m4
									
									
									
									
										vendored
									
									
								
							| @@ -82,7 +82,7 @@ else | ||||
| fi | ||||
| AC_SUBST(newlib_basedir) | ||||
|  | ||||
| AC_CANONICAL_HOST | ||||
| AC_CANONICAL_SYSTEM | ||||
|  | ||||
| AM_INIT_AUTOMAKE(newlib, 1.10.0) | ||||
|  | ||||
| @@ -126,12 +126,6 @@ fi | ||||
|  | ||||
| LIB_AC_PROG_CC | ||||
|  | ||||
| # AC_CHECK_TOOL does AC_REQUIRE (AC_CANONICAL_BUILD).  If we don't | ||||
| # run it explicitly here, it will be run implicitly before | ||||
| # NEWLIB_CONFIGURE, which doesn't work because that means that it will | ||||
| # be run before AC_CANONICAL_HOST. | ||||
| AC_CANONICAL_BUILD | ||||
|  | ||||
| AC_CHECK_TOOL(AS, as) | ||||
| AC_CHECK_TOOL(AR, ar) | ||||
| AC_CHECK_TOOL(RANLIB, ranlib, :) | ||||
|   | ||||
							
								
								
									
										138
									
								
								newlib/libc/machine/z8k/configure
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										138
									
								
								newlib/libc/machine/z8k/configure
									
									
									
									
										vendored
									
									
								
							| @@ -859,13 +859,34 @@ fi | ||||
|  | ||||
|  | ||||
|  | ||||
| # Do some error checking and defaulting for the host and target type. | ||||
| # The inputs are: | ||||
| #    configure --host=HOST --target=TARGET --build=BUILD NONOPT | ||||
| # | ||||
| # The rules are: | ||||
| # 1. You are not allowed to specify --host, --target, and nonopt at the | ||||
| #    same time. | ||||
| # 2. Host defaults to nonopt. | ||||
| # 3. If nonopt is not specified, then host defaults to the current host, | ||||
| #    as determined by config.guess. | ||||
| # 4. Target and build default to nonopt. | ||||
| # 5. If nonopt is not specified, then target and build default to host. | ||||
|  | ||||
| # The aliases save the names the user supplied, while $host etc. | ||||
| # will get canonicalized. | ||||
| case $host---$target---$nonopt in | ||||
| NONE---*---* | *---NONE---* | *---*---NONE) ;; | ||||
| *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;; | ||||
| esac | ||||
|  | ||||
|  | ||||
| # Make sure we can run config.sub. | ||||
| if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then : | ||||
| else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking host system type""... $ac_c" 1>&6 | ||||
| echo "configure:869: checking host system type" >&5 | ||||
| echo "configure:890: checking host system type" >&5 | ||||
|  | ||||
| host_alias=$host | ||||
| case "$host_alias" in | ||||
| @@ -885,6 +906,47 @@ host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$host" 1>&6 | ||||
|  | ||||
| echo $ac_n "checking target system type""... $ac_c" 1>&6 | ||||
| echo "configure:911: checking target system type" >&5 | ||||
|  | ||||
| target_alias=$target | ||||
| case "$target_alias" in | ||||
| NONE) | ||||
|   case $nonopt in | ||||
|   NONE) target_alias=$host_alias ;; | ||||
|   *) target_alias=$nonopt ;; | ||||
|   esac ;; | ||||
| esac | ||||
|  | ||||
| target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias` | ||||
| target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||||
| target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$target" 1>&6 | ||||
|  | ||||
| echo $ac_n "checking build system type""... $ac_c" 1>&6 | ||||
| echo "configure:929: checking build system type" >&5 | ||||
|  | ||||
| build_alias=$build | ||||
| case "$build_alias" in | ||||
| NONE) | ||||
|   case $nonopt in | ||||
|   NONE) build_alias=$host_alias ;; | ||||
|   *) build_alias=$nonopt ;; | ||||
|   esac ;; | ||||
| esac | ||||
|  | ||||
| build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias` | ||||
| build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||||
| build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$build" 1>&6 | ||||
|  | ||||
| test "$host_alias" != "$target_alias" && | ||||
|   test "$program_prefix$program_suffix$program_transform_name" = \ | ||||
|     NONENONEs,x,x, && | ||||
|   program_prefix=${target_alias}- | ||||
|  | ||||
|  | ||||
|  | ||||
| PACKAGE=newlib | ||||
| @@ -906,7 +968,7 @@ EOF | ||||
|  | ||||
| missing_dir=`cd $ac_aux_dir && pwd` | ||||
| echo $ac_n "checking for working aclocal""... $ac_c" 1>&6 | ||||
| echo "configure:910: checking for working aclocal" >&5 | ||||
| echo "configure:972: checking for working aclocal" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -919,7 +981,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 | ||||
| echo "configure:923: checking for working autoconf" >&5 | ||||
| echo "configure:985: checking for working autoconf" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -932,7 +994,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working automake""... $ac_c" 1>&6 | ||||
| echo "configure:936: checking for working automake" >&5 | ||||
| echo "configure:998: checking for working automake" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -945,7 +1007,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 | ||||
| echo "configure:949: checking for working autoheader" >&5 | ||||
| echo "configure:1011: checking for working autoheader" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -958,7 +1020,7 @@ else | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 | ||||
| echo "configure:962: checking for working makeinfo" >&5 | ||||
| echo "configure:1024: checking for working makeinfo" >&5 | ||||
| # Run test in a subshell; some versions of sh will print an error if | ||||
| # an executable is not found, even if stderr is redirected. | ||||
| # Redirect stdin to placate older versions of autoconf.  Sigh. | ||||
| @@ -983,7 +1045,7 @@ fi | ||||
| # Extract the first word of "gcc", so it can be a program name with args. | ||||
| set dummy gcc; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:987: checking for $ac_word" >&5 | ||||
| echo "configure:1049: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1013,7 +1075,7 @@ if test -z "$CC"; then | ||||
|   # Extract the first word of "cc", so it can be a program name with args. | ||||
| set dummy cc; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1017: checking for $ac_word" >&5 | ||||
| echo "configure:1079: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1062,7 +1124,7 @@ fi | ||||
| fi | ||||
|  | ||||
| echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | ||||
| echo "configure:1066: checking whether we are using GNU C" >&5 | ||||
| echo "configure:1128: checking whether we are using GNU C" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1071,7 +1133,7 @@ else | ||||
|   yes; | ||||
| #endif | ||||
| EOF | ||||
| if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1075: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | ||||
| if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1137: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | ||||
|   ac_cv_prog_gcc=yes | ||||
| else | ||||
|   ac_cv_prog_gcc=no | ||||
| @@ -1086,7 +1148,7 @@ if test $ac_cv_prog_gcc = yes; then | ||||
|   ac_save_CFLAGS="$CFLAGS" | ||||
|   CFLAGS= | ||||
|   echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | ||||
| echo "configure:1090: checking whether ${CC-cc} accepts -g" >&5 | ||||
| echo "configure:1152: checking whether ${CC-cc} accepts -g" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1114,33 +1176,10 @@ else | ||||
| fi | ||||
|  | ||||
|  | ||||
| # AC_CHECK_TOOL does AC_REQUIRE (AC_CANONICAL_BUILD).  If we don't | ||||
| # run it explicitly here, it will be run implicitly before | ||||
| # NEWLIB_CONFIGURE, which doesn't work because that means that it will | ||||
| # be run before AC_CANONICAL_HOST. | ||||
| echo $ac_n "checking build system type""... $ac_c" 1>&6 | ||||
| echo "configure:1123: checking build system type" >&5 | ||||
|  | ||||
| build_alias=$build | ||||
| case "$build_alias" in | ||||
| NONE) | ||||
|   case $nonopt in | ||||
|   NONE) build_alias=$host_alias ;; | ||||
|   *) build_alias=$nonopt ;; | ||||
|   esac ;; | ||||
| esac | ||||
|  | ||||
| build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias` | ||||
| build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||||
| build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||||
| build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||||
| echo "$ac_t""$build" 1>&6 | ||||
|  | ||||
|  | ||||
| # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}as; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1144: checking for $ac_word" >&5 | ||||
| echo "configure:1183: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1172,7 +1211,7 @@ fi | ||||
| # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}ar; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1176: checking for $ac_word" >&5 | ||||
| echo "configure:1215: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1204,7 +1243,7 @@ fi | ||||
| # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. | ||||
| set dummy ${ac_tool_prefix}ranlib; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1208: checking for $ac_word" >&5 | ||||
| echo "configure:1247: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1236,7 +1275,7 @@ if test -n "$ac_tool_prefix"; then | ||||
|   # Extract the first word of "ranlib", so it can be a program name with args. | ||||
| set dummy ranlib; ac_word=$2 | ||||
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | ||||
| echo "configure:1240: checking for $ac_word" >&5 | ||||
| echo "configure:1279: checking for $ac_word" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1281,7 +1320,7 @@ fi | ||||
| # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | ||||
| # ./install, which can be erroneously created by make from ./install.sh. | ||||
| echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | ||||
| echo "configure:1285: checking for a BSD compatible install" >&5 | ||||
| echo "configure:1324: checking for a BSD compatible install" >&5 | ||||
| if test -z "$INSTALL"; then | ||||
| if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| @@ -1335,7 +1374,7 @@ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | ||||
|  | ||||
|  | ||||
| echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6 | ||||
| echo "configure:1339: checking whether to enable maintainer-specific portions of Makefiles" >&5 | ||||
| echo "configure:1378: checking whether to enable maintainer-specific portions of Makefiles" >&5 | ||||
|     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. | ||||
| if test "${enable_maintainer_mode+set}" = set; then | ||||
|   enableval="$enable_maintainer_mode" | ||||
| @@ -1369,7 +1408,7 @@ if false; then | ||||
|    | ||||
|  | ||||
| echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 | ||||
| echo "configure:1373: checking for executable suffix" >&5 | ||||
| echo "configure:1412: checking for executable suffix" >&5 | ||||
| if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then | ||||
|   echo $ac_n "(cached) $ac_c" 1>&6 | ||||
| else | ||||
| @@ -1379,7 +1418,7 @@ else | ||||
|   rm -f conftest* | ||||
|   echo 'int main () { return 0; }' > conftest.$ac_ext | ||||
|   ac_cv_exeext= | ||||
|   if { (eval echo configure:1383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then | ||||
|   if { (eval echo configure:1422: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then | ||||
|     for file in conftest.*; do | ||||
|       case $file in | ||||
|       *.c | *.o | *.obj | *.ilk | *.pdb) ;; | ||||
| @@ -1579,6 +1618,16 @@ s%@host_alias@%$host_alias%g | ||||
| s%@host_cpu@%$host_cpu%g | ||||
| s%@host_vendor@%$host_vendor%g | ||||
| s%@host_os@%$host_os%g | ||||
| s%@target@%$target%g | ||||
| s%@target_alias@%$target_alias%g | ||||
| s%@target_cpu@%$target_cpu%g | ||||
| s%@target_vendor@%$target_vendor%g | ||||
| s%@target_os@%$target_os%g | ||||
| s%@build@%$build%g | ||||
| s%@build_alias@%$build_alias%g | ||||
| s%@build_cpu@%$build_cpu%g | ||||
| s%@build_vendor@%$build_vendor%g | ||||
| s%@build_os@%$build_os%g | ||||
| s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g | ||||
| s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g | ||||
| s%@INSTALL_DATA@%$INSTALL_DATA%g | ||||
| @@ -1591,11 +1640,6 @@ s%@AUTOHEADER@%$AUTOHEADER%g | ||||
| s%@MAKEINFO@%$MAKEINFO%g | ||||
| s%@SET_MAKE@%$SET_MAKE%g | ||||
| s%@CC@%$CC%g | ||||
| s%@build@%$build%g | ||||
| s%@build_alias@%$build_alias%g | ||||
| s%@build_cpu@%$build_cpu%g | ||||
| s%@build_vendor@%$build_vendor%g | ||||
| s%@build_os@%$build_os%g | ||||
| s%@AS@%$AS%g | ||||
| s%@AR@%$AR%g | ||||
| s%@RANLIB@%$RANLIB%g | ||||
|   | ||||
| @@ -58,8 +58,12 @@ POST_INSTALL = : | ||||
| NORMAL_UNINSTALL = : | ||||
| PRE_UNINSTALL = : | ||||
| POST_UNINSTALL = : | ||||
| build_alias = @build_alias@ | ||||
| build_triplet = @build@ | ||||
| host_alias = @host_alias@ | ||||
| host_triplet = @host@ | ||||
| target_alias = @target_alias@ | ||||
| target_triplet = @target@ | ||||
| AR = @AR@ | ||||
| AS = @AS@ | ||||
| CC = @CC@ | ||||
|   | ||||
| @@ -58,8 +58,12 @@ POST_INSTALL = : | ||||
| NORMAL_UNINSTALL = : | ||||
| PRE_UNINSTALL = : | ||||
| POST_UNINSTALL = : | ||||
| build_alias = @build_alias@ | ||||
| build_triplet = @build@ | ||||
| host_alias = @host_alias@ | ||||
| host_triplet = @host@ | ||||
| target_alias = @target_alias@ | ||||
| target_triplet = @target@ | ||||
| AR = @AR@ | ||||
| AS = @AS@ | ||||
| CC = @CC@ | ||||
|   | ||||
| @@ -58,8 +58,12 @@ POST_INSTALL = : | ||||
| NORMAL_UNINSTALL = : | ||||
| PRE_UNINSTALL = : | ||||
| POST_UNINSTALL = : | ||||
| build_alias = @build_alias@ | ||||
| build_triplet = @build@ | ||||
| host_alias = @host_alias@ | ||||
| host_triplet = @host@ | ||||
| target_alias = @target_alias@ | ||||
| target_triplet = @target@ | ||||
| AR = @AR@ | ||||
| AS = @AS@ | ||||
| CC = @CC@ | ||||
|   | ||||
Some files were not shown because too many files have changed in this diff Show More
		Reference in New Issue
	
	Block a user