1 diff --git a/config.sub b/config.sub
2 index 75bb6a313..0165d2ec9 100755
5 @@ -484,6 +484,10 @@ case $1 in
6 basic_machine=hppa-unknown
10 + basic_machine=mipsallegrexel-psp
14 basic_machine=i586-unknown
16 @@ -1210,6 +1214,7 @@ case $cpu-$vendor in
17 | mipsisa64sr71k | mipsisa64sr71kel \
18 | mipsr5900 | mipsr5900el \
19 | mipstx39 | mipstx39el \
24 @@ -1507,6 +1512,8 @@ case $os in
33 diff --git a/configure b/configure
34 index 5db527014..e7c33f945 100755
37 @@ -3933,6 +3933,9 @@ case "${target}" in
38 | mips*-*-irix* | mips*-*-lnews* | mips*-*-riscos*)
39 noconfigdirs="$noconfigdirs ld gas gprof"
42 + noconfigdirs="$noconfigdirs gprof target-libgloss"
45 noconfigdirs="$noconfigdirs gprof"
47 diff --git a/newlib/configure.host b/newlib/configure.host
48 index 1ddbb6c76..ea97d53b6 100644
49 --- a/newlib/configure.host
50 +++ b/newlib/configure.host
51 @@ -249,6 +249,10 @@ case "${host_cpu}" in
57 + newlib_cflags="${newlib_cflags} -G0 -DMALLOC_ALIGNMENT=16"
62 @@ -573,6 +577,11 @@ case "${host}" in
69 + newlib_cflags="${newlib_cflags} -DHAVE_NANOSLEEP -DHAVE_RENAME -DHAVE_FCNTL -D_NO_POSIX_SPAWN -D_NO_EXECVE -DNO_EXEC"
74 @@ -824,6 +833,10 @@ newlib_cflags="${newlib_cflags} -DCLOCK_PROVIDED -DMALLOC_PROVIDED -DEXIT_PROVID
75 default_newlib_io_long_long="yes"
76 newlib_cflags="${newlib_cflags} -DMISSING_SYSCALL_NAMES"
79 + syscall_dir=syscalls
80 + default_newlib_io_long_long="yes"
83 default_newlib_io_long_long="yes"
84 newlib_cflags="${newlib_cflags} -DMISSING_SYSCALL_NAMES"
85 diff --git a/newlib/libc/include/sys/features.h b/newlib/libc/include/sys/features.h
86 index 218807178..99dd60633 100644
87 --- a/newlib/libc/include/sys/features.h
88 +++ b/newlib/libc/include/sys/features.h
89 @@ -531,6 +531,10 @@ extern "C" {
91 #endif /* __CYGWIN__ */
93 +#ifdef _MIPS_ARCH_ALLEGREX
94 +# define _POSIX_TIMERS 1
100 diff --git a/newlib/libc/machine/configure b/newlib/libc/machine/configure
101 index 58d872698..d97efee68 100755
102 --- a/newlib/libc/machine/configure
103 +++ b/newlib/libc/machine/configure
104 @@ -11857,6 +11857,8 @@ if test -n "${machine_dir}"; then
105 subdirs="$subdirs a29k"
107 aarch64) subdirs="$subdirs aarch64"
109 + allegrex) subdirs="$subdirs allegrex"
111 amdgcn) subdirs="$subdirs amdgcn"
113 diff --git a/newlib/libc/sys/configure b/newlib/libc/sys/configure
114 index e41f1cde1..d92b54a6d 100755
115 --- a/newlib/libc/sys/configure
116 +++ b/newlib/libc/sys/configure
117 @@ -11851,6 +11851,8 @@ subdirs="$subdirs a29khif"
118 or1k) subdirs="$subdirs or1k"
120 phoenix) subdirs="$subdirs phoenix"
122 + psp) subdirs="$subdirs psp"
124 rdos) subdirs="$subdirs rdos"
126 diff --git a/newlib/libc/sys/configure.in b/newlib/libc/sys/configure.in
127 index a65d1e71f..e978810eb 100644
128 --- a/newlib/libc/sys/configure.in
129 +++ b/newlib/libc/sys/configure.in
130 @@ -36,6 +36,7 @@ if test -n "${sys_dir}"; then
131 netware) AC_CONFIG_SUBDIRS(netware) ;;
132 or1k) AC_CONFIG_SUBDIRS(or1k) ;;
133 phoenix) AC_CONFIG_SUBDIRS(phoenix) ;;
134 + psp) AC_CONFIG_SUBDIRS(psp) ;;
135 rdos) AC_CONFIG_SUBDIRS(rdos) ;;
136 rtems) AC_CONFIG_SUBDIRS(rtems) ;;
137 sh) AC_CONFIG_SUBDIRS(sh) ;;
138 diff --git a/newlib/libc/sys/psp/Makefile.am b/newlib/libc/sys/psp/Makefile.am
140 index 000000000..480efdf0e
142 +++ b/newlib/libc/sys/psp/Makefile.am
144 +## Process this file with automake to generate Makefile.in
146 +AUTOMAKE_OPTIONS = cygnus
148 +INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
150 +AM_CCASFLAGS = $(INCLUDES)
152 +noinst_LIBRARIES = lib.a
154 +MLOCK_MULT_OBJS = _lock_unlock.o
156 +lib_a_SOURCES = mlock.c
157 +lib_a_LIBADD = $(MLOCK_MULT_OBJS)
158 +lib_a_CCASFLAGS = $(AM_CCASFLAGS)
159 +lib_a_CFLAGS = $(AM_CFLAGS)
163 +$(MLOCK_MULT_OBJS): mlock.c
164 + $(AM_V_CC)$(COMPILE) -DF_$* $< -c -o $@
166 +ACLOCAL_AMFLAGS = -I ../../.. -I ../../../..
167 +CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host
168 diff --git a/newlib/libc/sys/psp/Makefile.in b/newlib/libc/sys/psp/Makefile.in
170 index 000000000..bd6e7238f
172 +++ b/newlib/libc/sys/psp/Makefile.in
174 +# Makefile.in generated by automake 1.12.6 from Makefile.am.
177 +# Copyright (C) 1994-2012 Free Software Foundation, Inc.
179 +# This Makefile.in is free software; the Free Software Foundation
180 +# gives unlimited permission to copy and/or distribute it,
181 +# with or without modifications, as long as this notice is preserved.
183 +# This program is distributed in the hope that it will be useful,
184 +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
185 +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
186 +# PARTICULAR PURPOSE.
194 + case $$MAKEFLAGS in \
196 + echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \
197 + | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
199 + for am__flg in $$MAKEFLAGS; do \
200 + case $$am__flg in \
202 + *n*) am__dry=yes; break;; \
206 + test $$am__dry = yes; \
208 +pkgdatadir = $(datadir)/@PACKAGE@
209 +pkgincludedir = $(includedir)/@PACKAGE@
210 +pkglibdir = $(libdir)/@PACKAGE@
211 +pkglibexecdir = $(libexecdir)/@PACKAGE@
212 +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
213 +install_sh_DATA = $(install_sh) -c -m 644
214 +install_sh_PROGRAM = $(install_sh) -c
215 +install_sh_SCRIPT = $(install_sh) -c
216 +INSTALL_HEADER = $(INSTALL_DATA)
217 +transform = $(program_transform_name)
221 +NORMAL_UNINSTALL = :
224 +build_triplet = @build@
225 +host_triplet = @host@
227 +DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
228 + $(top_srcdir)/configure $(am__configure_deps) \
229 + $(top_srcdir)/../../../../mkinstalldirs
230 +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
231 +am__aclocal_m4_deps = $(top_srcdir)/../../../acinclude.m4 \
232 + $(top_srcdir)/configure.in
233 +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
235 +am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
236 + configure.lineno config.status.lineno
237 +mkinstalldirs = $(SHELL) $(top_srcdir)/../../../../mkinstalldirs
238 +CONFIG_CLEAN_FILES =
239 +CONFIG_CLEAN_VPATH_FILES =
240 +LIBRARIES = $(noinst_LIBRARIES)
242 +lib_a_AR = $(AR) $(ARFLAGS)
243 +lib_a_DEPENDENCIES = $(MLOCK_MULT_OBJS)
244 +am_lib_a_OBJECTS = lib_a-mlock.$(OBJEXT)
245 +lib_a_OBJECTS = $(am_lib_a_OBJECTS)
246 +DEFAULT_INCLUDES = -I.@am__isrc@
248 +am__depfiles_maybe =
249 +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
250 + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
252 +LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
253 +SOURCES = $(lib_a_SOURCES)
254 +am__can_run_installinfo = \
255 + case $$AM_UPDATE_INFO_DIR in \
257 + *) (install-info --version) >/dev/null 2>&1;; \
262 +AM_RECURSIVE_TARGETS = cscope
267 +AUTOCONF = @AUTOCONF@
268 +AUTOHEADER = @AUTOHEADER@
269 +AUTOMAKE = @AUTOMAKE@
273 +CCASFLAGS = @CCASFLAGS@
274 +CCDEPMODE = @CCDEPMODE@
275 +CYGPATH_W = @CYGPATH_W@
282 +INSTALL_DATA = @INSTALL_DATA@
283 +INSTALL_PROGRAM = @INSTALL_PROGRAM@
284 +INSTALL_SCRIPT = @INSTALL_SCRIPT@
285 +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
289 +LTLIBOBJS = @LTLIBOBJS@
291 +MAKEINFO = @MAKEINFO@
293 +NEWLIB_CFLAGS = @NEWLIB_CFLAGS@
294 +NO_INCLUDE_LIST = @NO_INCLUDE_LIST@
297 +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
298 +PACKAGE_NAME = @PACKAGE_NAME@
299 +PACKAGE_STRING = @PACKAGE_STRING@
300 +PACKAGE_TARNAME = @PACKAGE_TARNAME@
301 +PACKAGE_URL = @PACKAGE_URL@
302 +PACKAGE_VERSION = @PACKAGE_VERSION@
303 +PATH_SEPARATOR = @PATH_SEPARATOR@
306 +SET_MAKE = @SET_MAKE@
310 +abs_builddir = @abs_builddir@
311 +abs_srcdir = @abs_srcdir@
312 +abs_top_builddir = @abs_top_builddir@
313 +abs_top_srcdir = @abs_top_srcdir@
315 +am__include = @am__include@
316 +am__leading_dot = @am__leading_dot@
317 +am__quote = @am__quote@
319 +am__untar = @am__untar@
322 +build_alias = @build_alias@
323 +build_cpu = @build_cpu@
324 +build_os = @build_os@
325 +build_vendor = @build_vendor@
326 +builddir = @builddir@
328 +datarootdir = @datarootdir@
331 +exec_prefix = @exec_prefix@
333 +host_alias = @host_alias@
334 +host_cpu = @host_cpu@
336 +host_vendor = @host_vendor@
338 +includedir = @includedir@
340 +install_sh = @install_sh@
342 +libexecdir = @libexecdir@
343 +libm_machine_dir = @libm_machine_dir@
344 +localedir = @localedir@
345 +localstatedir = @localstatedir@
347 +machine_dir = @machine_dir@
350 +newlib_basedir = @newlib_basedir@
352 +oldincludedir = @oldincludedir@
355 +program_transform_name = @program_transform_name@
357 +runstatedir = @runstatedir@
359 +sharedstatedir = @sharedstatedir@
362 +sysconfdir = @sysconfdir@
363 +target_alias = @target_alias@
364 +top_build_prefix = @top_build_prefix@
365 +top_builddir = @top_builddir@
366 +top_srcdir = @top_srcdir@
367 +AUTOMAKE_OPTIONS = cygnus
368 +INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
369 +AM_CCASFLAGS = $(INCLUDES)
370 +noinst_LIBRARIES = lib.a
371 +MLOCK_MULT_OBJS = _lock_unlock.o
372 +lib_a_SOURCES = mlock.c
373 +lib_a_LIBADD = $(MLOCK_MULT_OBJS)
374 +lib_a_CCASFLAGS = $(AM_CCASFLAGS)
375 +lib_a_CFLAGS = $(AM_CFLAGS)
376 +ACLOCAL_AMFLAGS = -I ../../.. -I ../../../..
377 +CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host
381 +.SUFFIXES: .c .o .obj
382 +am--refresh: Makefile
384 +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
385 + @for dep in $?; do \
386 + case '$(am__configure_deps)' in \
388 + echo ' cd $(srcdir) && $(AUTOMAKE) --cygnus'; \
389 + $(am__cd) $(srcdir) && $(AUTOMAKE) --cygnus \
394 + echo ' cd $(top_srcdir) && $(AUTOMAKE) --cygnus Makefile'; \
395 + $(am__cd) $(top_srcdir) && \
396 + $(AUTOMAKE) --cygnus Makefile
398 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
401 + echo ' $(SHELL) ./config.status'; \
402 + $(SHELL) ./config.status;; \
404 + echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
405 + cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
408 +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
409 + $(SHELL) ./config.status --recheck
411 +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
412 + $(am__cd) $(srcdir) && $(AUTOCONF)
413 +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
414 + $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
415 +$(am__aclocal_m4_deps):
417 +clean-noinstLIBRARIES:
418 + -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
419 +lib.a: $(lib_a_OBJECTS) $(lib_a_DEPENDENCIES) $(EXTRA_lib_a_DEPENDENCIES)
421 + $(lib_a_AR) lib.a $(lib_a_OBJECTS) $(lib_a_LIBADD)
424 +mostlyclean-compile:
434 + $(COMPILE) -c `$(CYGPATH_W) '$<'`
436 +lib_a-mlock.o: mlock.c
437 + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CFLAGS) $(CFLAGS) -c -o lib_a-mlock.o `test -f 'mlock.c' || echo '$(srcdir)/'`mlock.c
439 +lib_a-mlock.obj: mlock.c
440 + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CFLAGS) $(CFLAGS) -c -o lib_a-mlock.obj `if test -f 'mlock.c'; then $(CYGPATH_W) 'mlock.c'; else $(CYGPATH_W) '$(srcdir)/mlock.c'; fi`
442 +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
443 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
444 + unique=`for i in $$list; do \
445 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
447 + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
448 + END { if (nonempty) { for (i in files) print i; }; }'`; \
452 +TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
453 + $(TAGS_FILES) $(LISP)
456 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
457 + unique=`for i in $$list; do \
458 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
460 + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
461 + END { if (nonempty) { for (i in files) print i; }; }'`; \
463 + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
464 + test -n "$$unique" || unique=$$empty_fix; \
465 + if test $$# -gt 0; then \
466 + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
469 + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
474 +CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
475 + $(TAGS_FILES) $(LISP)
476 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
477 + unique=`for i in $$list; do \
478 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
480 + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
481 + END { if (nonempty) { for (i in files) print i; }; }'`; \
482 + test -z "$(CTAGS_ARGS)$$unique" \
483 + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
487 + here=`$(am__cd) $(top_builddir) && pwd` \
488 + && $(am__cd) $(top_srcdir) \
489 + && gtags -i $(GTAGS_ARGS) "$$here"
491 +cscope: cscope.files
492 + test ! -s cscope.files \
493 + || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
496 + -rm -f cscope.files
498 +cscope.files: clean-cscope cscopelist
500 +cscopelist: $(HEADERS) $(SOURCES) $(LISP)
501 + list='$(SOURCES) $(HEADERS) $(LISP)'; \
502 + case "$(srcdir)" in \
503 + [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
504 + *) sdir=$(subdir)/$(srcdir) ;; \
506 + for i in $$list; do \
507 + if test -f "$$i"; then \
508 + echo "$(subdir)/$$i"; \
510 + echo "$$sdir/$$i"; \
512 + done >> $(top_builddir)/cscope.files
515 + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
516 + -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
519 +all-am: Makefile $(LIBRARIES)
522 +install-exec: install-exec-am
523 +install-data: install-data-am
524 +uninstall: uninstall-am
527 + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
529 +installcheck: installcheck-am
531 + if test -z '$(STRIP)'; then \
532 + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
533 + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
536 + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
537 + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
538 + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
540 +mostlyclean-generic:
545 + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
546 + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
548 +maintainer-clean-generic:
549 + @echo "This command is intended for maintainers to use"
550 + @echo "it deletes files that may require special tools to rebuild."
553 +clean-am: clean-generic clean-noinstLIBRARIES mostlyclean-am
555 +distclean: distclean-am
556 + -rm -f $(am__CONFIG_DISTCLEAN_FILES)
558 +distclean-am: clean-am distclean-compile distclean-generic \
575 +install-dvi: install-dvi-am
581 +install-html: install-html-am
585 +install-info: install-info-am
591 +install-pdf: install-pdf-am
595 +install-ps: install-ps-am
601 +maintainer-clean: maintainer-clean-am
602 + -rm -f $(am__CONFIG_DISTCLEAN_FILES)
603 + -rm -rf $(top_srcdir)/autom4te.cache
605 +maintainer-clean-am: distclean-am maintainer-clean-generic
607 +mostlyclean: mostlyclean-am
609 +mostlyclean-am: mostlyclean-compile mostlyclean-generic
621 +.MAKE: install-am install-strip
623 +.PHONY: CTAGS GTAGS all all-am am--refresh check check-am clean \
624 + clean-cscope clean-generic clean-noinstLIBRARIES cscope \
625 + cscopelist ctags distclean distclean-compile distclean-generic \
626 + distclean-tags dvi dvi-am html html-am info info-am install \
627 + install-am install-data install-data-am install-dvi \
628 + install-dvi-am install-exec install-exec-am install-html \
629 + install-html-am install-info install-info-am install-man \
630 + install-pdf install-pdf-am install-ps install-ps-am \
631 + install-strip installcheck installcheck-am installdirs \
632 + maintainer-clean maintainer-clean-generic mostlyclean \
633 + mostlyclean-compile mostlyclean-generic pdf pdf-am ps ps-am \
634 + tags uninstall uninstall-am
639 +$(MLOCK_MULT_OBJS): mlock.c
640 + $(AM_V_CC)$(COMPILE) -DF_$* $< -c -o $@
642 +# Tell versions [3.59,3.63) of GNU make to not export all variables.
643 +# Otherwise a system limit (for SysV at least) may be exceeded.
645 diff --git a/newlib/libc/sys/psp/aclocal.m4 b/newlib/libc/sys/psp/aclocal.m4
647 index 000000000..e5fefda79
649 +++ b/newlib/libc/sys/psp/aclocal.m4
651 +# generated automatically by aclocal 1.12.6 -*- Autoconf -*-
653 +# Copyright (C) 1996-2012 Free Software Foundation, Inc.
655 +# This file is free software; the Free Software Foundation
656 +# gives unlimited permission to copy and/or distribute it,
657 +# with or without modifications, as long as this notice is preserved.
659 +# This program is distributed in the hope that it will be useful,
660 +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
661 +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
662 +# PARTICULAR PURPOSE.
664 +m4_ifndef([AC_AUTOCONF_VERSION],
665 + [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
666 +m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.71],,
667 +[m4_warning([this file was generated for autoconf 2.71.
668 +You have another version of autoconf. It may work, but is not guaranteed to.
669 +If you have problems, you may need to regenerate the build system entirely.
670 +To do so, use the procedure documented by the package, typically 'autoreconf'.])])
672 +# Copyright (C) 2002-2012 Free Software Foundation, Inc.
674 +# This file is free software; the Free Software Foundation
675 +# gives unlimited permission to copy and/or distribute it,
676 +# with or without modifications, as long as this notice is preserved.
678 +# AM_AUTOMAKE_VERSION(VERSION)
679 +# ----------------------------
680 +# Automake X.Y traces this macro to ensure aclocal.m4 has been
681 +# generated from the m4 files accompanying Automake X.Y.
682 +# (This private macro should not be called outside this file.)
683 +AC_DEFUN([AM_AUTOMAKE_VERSION],
684 +[am__api_version='1.12'
685 +dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
686 +dnl require some minimum version. Point them to the right macro.
687 +m4_if([$1], [1.12.6], [],
688 + [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
691 +# _AM_AUTOCONF_VERSION(VERSION)
692 +# -----------------------------
693 +# aclocal traces this macro to find the Autoconf version.
694 +# This is a private macro too. Using m4_define simplifies
695 +# the logic in aclocal, which can simply ignore this definition.
696 +m4_define([_AM_AUTOCONF_VERSION], [])
698 +# AM_SET_CURRENT_AUTOMAKE_VERSION
699 +# -------------------------------
700 +# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
701 +# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
702 +AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
703 +[AM_AUTOMAKE_VERSION([1.12.6])dnl
704 +m4_ifndef([AC_AUTOCONF_VERSION],
705 + [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
706 +_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
708 +# AM_AUX_DIR_EXPAND -*- Autoconf -*-
710 +# Copyright (C) 2001-2012 Free Software Foundation, Inc.
712 +# This file is free software; the Free Software Foundation
713 +# gives unlimited permission to copy and/or distribute it,
714 +# with or without modifications, as long as this notice is preserved.
716 +# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
717 +# $ac_aux_dir to '$srcdir/foo'. In other projects, it is set to
718 +# '$srcdir', '$srcdir/..', or '$srcdir/../..'.
720 +# Of course, Automake must honor this variable whenever it calls a
721 +# tool from the auxiliary directory. The problem is that $srcdir (and
722 +# therefore $ac_aux_dir as well) can be either absolute or relative,
723 +# depending on how configure is run. This is pretty annoying, since
724 +# it makes $ac_aux_dir quite unusable in subdirectories: in the top
725 +# source directory, any form will work fine, but in subdirectories a
726 +# relative path needs to be adjusted first.
728 +# $ac_aux_dir/missing
729 +# fails when called from a subdirectory if $ac_aux_dir is relative
730 +# $top_srcdir/$ac_aux_dir/missing
731 +# fails if $ac_aux_dir is absolute,
732 +# fails when called from a subdirectory in a VPATH build with
733 +# a relative $ac_aux_dir
735 +# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
736 +# are both prefixed by $srcdir. In an in-source build this is usually
737 +# harmless because $srcdir is '.', but things will broke when you
738 +# start a VPATH build or use an absolute $srcdir.
740 +# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
741 +# iff we strip the leading $srcdir from $ac_aux_dir. That would be:
742 +# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
743 +# and then we would define $MISSING as
744 +# MISSING="\${SHELL} $am_aux_dir/missing"
745 +# This will work as long as MISSING is not called from configure, because
746 +# unfortunately $(top_srcdir) has no meaning in configure.
747 +# However there are other variables, like CC, which are often used in
748 +# configure, and could therefore not use this "fixed" $ac_aux_dir.
750 +# Another solution, used here, is to always expand $ac_aux_dir to an
751 +# absolute PATH. The drawback is that using absolute paths prevent a
752 +# configured tree to be moved without reconfiguration.
754 +AC_DEFUN([AM_AUX_DIR_EXPAND],
755 +[dnl Rely on autoconf to set up CDPATH properly.
756 +AC_PREREQ([2.50])dnl
757 +# expand $ac_aux_dir to an absolute path
758 +am_aux_dir=`cd $ac_aux_dir && pwd`
761 +# AM_CONDITIONAL -*- Autoconf -*-
763 +# Copyright (C) 1997-2012 Free Software Foundation, Inc.
765 +# This file is free software; the Free Software Foundation
766 +# gives unlimited permission to copy and/or distribute it,
767 +# with or without modifications, as long as this notice is preserved.
769 +# AM_CONDITIONAL(NAME, SHELL-CONDITION)
770 +# -------------------------------------
771 +# Define a conditional.
772 +AC_DEFUN([AM_CONDITIONAL],
773 +[AC_PREREQ([2.52])dnl
774 + m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
775 + [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
776 +AC_SUBST([$1_TRUE])dnl
777 +AC_SUBST([$1_FALSE])dnl
778 +_AM_SUBST_NOTMAKE([$1_TRUE])dnl
779 +_AM_SUBST_NOTMAKE([$1_FALSE])dnl
780 +m4_define([_AM_COND_VALUE_$1], [$2])dnl
788 +AC_CONFIG_COMMANDS_PRE(
789 +[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
790 + AC_MSG_ERROR([[conditional "$1" was never defined.
791 +Usually this means the macro was only invoked conditionally.]])
794 +# Copyright (C) 1999-2012 Free Software Foundation, Inc.
796 +# This file is free software; the Free Software Foundation
797 +# gives unlimited permission to copy and/or distribute it,
798 +# with or without modifications, as long as this notice is preserved.
801 +# There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be
802 +# written in clear, in which case automake, when reading aclocal.m4,
803 +# will think it sees a *use*, and therefore will trigger all it's
804 +# C support machinery. Also note that it means that autoscan, seeing
805 +# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
808 +# _AM_DEPENDENCIES(NAME)
809 +# ----------------------
810 +# See how the compiler implements dependency checking.
811 +# NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC".
812 +# We try a few techniques and use that to set a single cache variable.
814 +# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
815 +# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
816 +# dependency, and given that the user is not expected to run this macro,
817 +# just rely on AC_PROG_CC.
818 +AC_DEFUN([_AM_DEPENDENCIES],
819 +[AC_REQUIRE([AM_SET_DEPDIR])dnl
820 +AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
821 +AC_REQUIRE([AM_MAKE_INCLUDE])dnl
822 +AC_REQUIRE([AM_DEP_TRACK])dnl
824 +m4_if([$1], [CC], [depcc="$CC" am_compiler_list=],
825 + [$1], [CXX], [depcc="$CXX" am_compiler_list=],
826 + [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
827 + [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'],
828 + [$1], [UPC], [depcc="$UPC" am_compiler_list=],
829 + [$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
830 + [depcc="$$1" am_compiler_list=])
832 +AC_CACHE_CHECK([dependency style of $depcc],
833 + [am_cv_$1_dependencies_compiler_type],
834 +[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
835 + # We make a subdir and do the tests there. Otherwise we can end up
836 + # making bogus files that we don't know about and never remove. For
837 + # instance it was reported that on HP-UX the gcc test will end up
838 + # making a dummy file named 'D' -- because '-MD' means "put the output
840 + rm -rf conftest.dir
842 + # Copy depcomp to subdir because otherwise we won't find it if we're
843 + # using a relative directory.
844 + cp "$am_depcomp" conftest.dir
846 + # We will build objects and dependencies in a subdirectory because
847 + # it helps to detect inapplicable dependency modes. For instance
848 + # both Tru64's cc and ICC support -MD to output dependencies as a
849 + # side effect of compilation, but ICC will put the dependencies in
850 + # the current directory while Tru64 will put them in the object
854 + am_cv_$1_dependencies_compiler_type=none
855 + if test "$am_compiler_list" = ""; then
856 + am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
858 + am__universal=false
859 + m4_case([$1], [CC],
860 + [case " $depcc " in #(
861 + *\ -arch\ *\ -arch\ *) am__universal=true ;;
864 + [case " $depcc " in #(
865 + *\ -arch\ *\ -arch\ *) am__universal=true ;;
868 + for depmode in $am_compiler_list; do
869 + # Setup a source with many dependencies, because some compilers
870 + # like to wrap large dependency lists on column 80 (with \), and
871 + # we should not choose a depcomp mode which is confused by this.
873 + # We need to recreate these files for each test, as the compiler may
874 + # overwrite some of them when testing with obscure command lines.
875 + # This happens at least with the AIX C compiler.
877 + for i in 1 2 3 4 5 6; do
878 + echo '#include "conftst'$i'.h"' >> sub/conftest.c
879 + # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
880 + # Solaris 10 /bin/sh.
881 + echo '/* dummy */' > sub/conftst$i.h
883 + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
885 + # We check with '-c' and '-o' for the sake of the "dashmstdout"
886 + # mode. It turns out that the SunPro C++ compiler does not properly
887 + # handle '-M -o', and we need to detect this. Also, some Intel
888 + # versions had trouble with output in subdirs.
889 + am__obj=sub/conftest.${OBJEXT-o}
890 + am__minus_obj="-o $am__obj"
893 + # This depmode causes a compiler race in universal mode.
894 + test "$am__universal" = false || continue
897 + # After this tag, mechanisms are not by side-effect, so they'll
898 + # only be used when explicitly requested.
899 + if test "x$enable_dependency_tracking" = xyes; then
905 + msvc7 | msvc7msys | msvisualcpp | msvcmsys)
906 + # This compiler won't grok '-c -o', but also, the minuso test has
907 + # not run yet. These depmodes are late enough in the game, and
908 + # so weak that their functioning should not be impacted.
909 + am__obj=conftest.${OBJEXT-o}
914 + if depmode=$depmode \
915 + source=sub/conftest.c object=$am__obj \
916 + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
917 + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
918 + >/dev/null 2>conftest.err &&
919 + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
920 + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
921 + grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
922 + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
923 + # icc doesn't choke on unknown options, it will just issue warnings
924 + # or remarks (even with -Werror). So we grep stderr for any message
925 + # that says an option was ignored or not supported.
926 + # When given -MP, icc 7.0 and 7.1 complain thusly:
927 + # icc: Command line warning: ignoring option '-M'; no argument required
928 + # The diagnosis changed in icc 8.0:
929 + # icc: Command line remark: option '-MP' not supported
930 + if (grep 'ignoring option' conftest.err ||
931 + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
932 + am_cv_$1_dependencies_compiler_type=$depmode
939 + rm -rf conftest.dir
941 + am_cv_$1_dependencies_compiler_type=none
944 +AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
945 +AM_CONDITIONAL([am__fastdep$1], [
946 + test "x$enable_dependency_tracking" != xno \
947 + && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
953 +# Choose a directory name for dependency files.
954 +# This macro is AC_REQUIREd in _AM_DEPENDENCIES.
955 +AC_DEFUN([AM_SET_DEPDIR],
956 +[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
957 +AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
963 +AC_DEFUN([AM_DEP_TRACK],
964 +[AC_ARG_ENABLE([dependency-tracking], [dnl
966 + [--enable-dependency-tracking],
967 + [do not reject slow dependency extractors])
969 + [--disable-dependency-tracking],
970 + [speeds up one-time build])])
971 +if test "x$enable_dependency_tracking" != xno; then
972 + am_depcomp="$ac_aux_dir/depcomp"
976 +AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
977 +AC_SUBST([AMDEPBACKSLASH])dnl
978 +_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
979 +AC_SUBST([am__nodep])dnl
980 +_AM_SUBST_NOTMAKE([am__nodep])dnl
983 +# Generate code to set up dependency tracking. -*- Autoconf -*-
985 +# Copyright (C) 1999-2012 Free Software Foundation, Inc.
987 +# This file is free software; the Free Software Foundation
988 +# gives unlimited permission to copy and/or distribute it,
989 +# with or without modifications, as long as this notice is preserved.
992 +# _AM_OUTPUT_DEPENDENCY_COMMANDS
993 +# ------------------------------
994 +AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
996 + # Autoconf 2.62 quotes --file arguments for eval, but not when files
997 + # are listed without --file. Let's play safe and only enable the eval
998 + # if we detect the quoting.
999 + case $CONFIG_FILES in
1000 + *\'*) eval set x "$CONFIG_FILES" ;;
1001 + *) set x $CONFIG_FILES ;;
1006 + # Strip MF so we end up with the name of the file.
1007 + mf=`echo "$mf" | sed -e 's/:.*$//'`
1008 + # Check whether this is an Automake generated Makefile or not.
1009 + # We used to match only the files named 'Makefile.in', but
1010 + # some people rename them; so instead we look at the file content.
1011 + # Grep'ing the first line is not enough: some people post-process
1012 + # each Makefile.in and add a new line on top of each file to say so.
1013 + # Grep'ing the whole file is not good either: AIX grep has a line
1014 + # limit of 2048, but all sed's we know have understand at least 4000.
1015 + if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
1016 + dirpart=`AS_DIRNAME("$mf")`
1020 + # Extract the definition of DEPDIR, am__include, and am__quote
1021 + # from the Makefile without running 'make'.
1022 + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
1023 + test -z "$DEPDIR" && continue
1024 + am__include=`sed -n 's/^am__include = //p' < "$mf"`
1025 + test -z "am__include" && continue
1026 + am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
1027 + # Find all dependency output files, they are included files with
1028 + # $(DEPDIR) in their names. We invoke sed twice because it is the
1029 + # simplest approach to changing $(DEPDIR) to its actual value in the
1031 + for file in `sed -n "
1032 + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
1033 + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
1034 + # Make sure the directory exists.
1035 + test -f "$dirpart/$file" && continue
1036 + fdir=`AS_DIRNAME(["$file"])`
1037 + AS_MKDIR_P([$dirpart/$fdir])
1038 + # echo "creating $dirpart/$file"
1039 + echo '# dummy' > "$dirpart/$file"
1043 +])# _AM_OUTPUT_DEPENDENCY_COMMANDS
1046 +# AM_OUTPUT_DEPENDENCY_COMMANDS
1047 +# -----------------------------
1048 +# This macro should only be invoked once -- use via AC_REQUIRE.
1050 +# This code is only required when automatic dependency tracking
1051 +# is enabled. FIXME. This creates each '.P' file that we will
1052 +# need in order to bootstrap the dependency handling code.
1053 +AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
1054 +[AC_CONFIG_COMMANDS([depfiles],
1055 + [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
1056 + [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
1059 +# Do all the work for Automake. -*- Autoconf -*-
1061 +# Copyright (C) 1996-2012 Free Software Foundation, Inc.
1063 +# This file is free software; the Free Software Foundation
1064 +# gives unlimited permission to copy and/or distribute it,
1065 +# with or without modifications, as long as this notice is preserved.
1067 +# This macro actually does too much. Some checks are only needed if
1068 +# your package does certain things. But this isn't really a big deal.
1070 +# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
1071 +# AM_INIT_AUTOMAKE([OPTIONS])
1072 +# -----------------------------------------------
1073 +# The call with PACKAGE and VERSION arguments is the old style
1074 +# call (pre autoconf-2.50), which is being phased out. PACKAGE
1075 +# and VERSION should now be passed to AC_INIT and removed from
1076 +# the call to AM_INIT_AUTOMAKE.
1077 +# We support both call styles for the transition. After
1078 +# the next Automake release, Autoconf can make the AC_INIT
1079 +# arguments mandatory, and then we can depend on a new Autoconf
1080 +# release and drop the old call support.
1081 +AC_DEFUN([AM_INIT_AUTOMAKE],
1082 +[AC_PREREQ([2.62])dnl
1083 +dnl Autoconf wants to disallow AM_ names. We explicitly allow
1084 +dnl the ones we care about.
1085 +m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
1086 +AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
1087 +AC_REQUIRE([AC_PROG_INSTALL])dnl
1088 +if test "`cd $srcdir && pwd`" != "`pwd`"; then
1089 + # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
1090 + # is not polluted with repeated "-I."
1091 + AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
1092 + # test to see if srcdir already configured
1093 + if test -f $srcdir/config.status; then
1094 + AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
1098 +# test whether we have cygpath
1099 +if test -z "$CYGPATH_W"; then
1100 + if (cygpath --version) >/dev/null 2>/dev/null; then
1101 + CYGPATH_W='cygpath -w'
1106 +AC_SUBST([CYGPATH_W])
1108 +# Define the identity of the package.
1109 +dnl Distinguish between old-style and new-style calls.
1111 +[AC_DIAGNOSE([obsolete],
1112 +[$0: two- and three-arguments forms are deprecated. For more info, see:
1113 +http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_INIT_AUTOMAKE-invocation])
1114 +m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
1115 + AC_SUBST([PACKAGE], [$1])dnl
1116 + AC_SUBST([VERSION], [$2])],
1117 +[_AM_SET_OPTIONS([$1])dnl
1118 +dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
1120 + m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]),
1122 + [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
1123 + AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
1124 + AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
1126 +_AM_IF_OPTION([no-define],,
1127 +[AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
1128 + AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl
1130 +# Some tools Automake needs.
1131 +AC_REQUIRE([AM_SANITY_CHECK])dnl
1132 +AC_REQUIRE([AC_ARG_PROGRAM])dnl
1133 +AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
1134 +AM_MISSING_PROG([AUTOCONF], [autoconf])
1135 +AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
1136 +AM_MISSING_PROG([AUTOHEADER], [autoheader])
1137 +AM_MISSING_PROG([MAKEINFO], [makeinfo])
1138 +AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
1139 +AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
1140 +AC_REQUIRE([AC_PROG_MKDIR_P])dnl
1141 +# For better backward compatibility. To be removed once Automake 1.9.x
1142 +# dies out for good. For more background, see:
1143 +# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
1144 +# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
1145 +AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
1146 +# We need awk for the "check" target. The system "awk" is bad on
1148 +AC_REQUIRE([AC_PROG_AWK])dnl
1149 +AC_REQUIRE([AC_PROG_MAKE_SET])dnl
1150 +AC_REQUIRE([AM_SET_LEADING_DOT])dnl
1151 +_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
1152 + [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
1153 + [_AM_PROG_TAR([v7])])])
1154 +_AM_IF_OPTION([no-dependencies],,
1155 +[AC_PROVIDE_IFELSE([AC_PROG_CC],
1156 + [_AM_DEPENDENCIES([CC])],
1157 + [m4_define([AC_PROG_CC],
1158 + m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
1159 +AC_PROVIDE_IFELSE([AC_PROG_CXX],
1160 + [_AM_DEPENDENCIES([CXX])],
1161 + [m4_define([AC_PROG_CXX],
1162 + m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
1163 +AC_PROVIDE_IFELSE([AC_PROG_OBJC],
1164 + [_AM_DEPENDENCIES([OBJC])],
1165 + [m4_define([AC_PROG_OBJC],
1166 + m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
1167 +dnl Support for Objective C++ was only introduced in Autoconf 2.65,
1168 +dnl but we still cater to Autoconf 2.62.
1169 +m4_ifdef([AC_PROG_OBJCXX],
1170 +[AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
1171 + [_AM_DEPENDENCIES([OBJCXX])],
1172 + [m4_define([AC_PROG_OBJCXX],
1173 + m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])])dnl
1175 +_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
1176 +dnl The 'parallel-tests' driver may need to know about EXEEXT, so add the
1177 +dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
1178 +dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
1179 +AC_CONFIG_COMMANDS_PRE(dnl
1180 +[m4_provide_if([_AM_COMPILER_EXEEXT],
1181 + [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
1184 +dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
1185 +dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
1186 +dnl mangled by Autoconf and run in a shell conditional statement.
1187 +m4_define([_AC_COMPILER_EXEEXT],
1188 +m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
1191 +# When config.status generates a header, we must update the stamp-h file.
1192 +# This file resides in the same directory as the config header
1193 +# that is generated. The stamp files are numbered to have different names.
1195 +# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
1196 +# loop where config.status creates the headers, so we can generate
1197 +# our stamp files there.
1198 +AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
1199 +[# Compute $1's index in $config_headers.
1202 +for _am_header in $config_headers :; do
1203 + case $_am_header in
1204 + $_am_arg | $_am_arg:* )
1207 + _am_stamp_count=`expr $_am_stamp_count + 1` ;;
1210 +echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
1212 +# Copyright (C) 2001-2012 Free Software Foundation, Inc.
1214 +# This file is free software; the Free Software Foundation
1215 +# gives unlimited permission to copy and/or distribute it,
1216 +# with or without modifications, as long as this notice is preserved.
1218 +# AM_PROG_INSTALL_SH
1219 +# ------------------
1220 +# Define $install_sh.
1221 +AC_DEFUN([AM_PROG_INSTALL_SH],
1222 +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1223 +if test x"${install_sh}" != xset; then
1224 + case $am_aux_dir in
1226 + install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
1228 + install_sh="\${SHELL} $am_aux_dir/install-sh"
1231 +AC_SUBST([install_sh])])
1233 +# Copyright (C) 2003-2012 Free Software Foundation, Inc.
1235 +# This file is free software; the Free Software Foundation
1236 +# gives unlimited permission to copy and/or distribute it,
1237 +# with or without modifications, as long as this notice is preserved.
1239 +# Check whether the underlying file-system supports filenames
1240 +# with a leading dot. For instance MS-DOS doesn't.
1241 +AC_DEFUN([AM_SET_LEADING_DOT],
1242 +[rm -rf .tst 2>/dev/null
1243 +mkdir .tst 2>/dev/null
1244 +if test -d .tst; then
1249 +rmdir .tst 2>/dev/null
1250 +AC_SUBST([am__leading_dot])])
1252 +# Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
1253 +# From Jim Meyering
1255 +# Copyright (C) 1996-2012 Free Software Foundation, Inc.
1257 +# This file is free software; the Free Software Foundation
1258 +# gives unlimited permission to copy and/or distribute it,
1259 +# with or without modifications, as long as this notice is preserved.
1261 +# AM_MAINTAINER_MODE([DEFAULT-MODE])
1262 +# ----------------------------------
1263 +# Control maintainer-specific portions of Makefiles.
1264 +# Default is to disable them, unless 'enable' is passed literally.
1265 +# For symmetry, 'disable' may be passed as well. Anyway, the user
1266 +# can override the default with the --enable/--disable switch.
1267 +AC_DEFUN([AM_MAINTAINER_MODE],
1268 +[m4_case(m4_default([$1], [disable]),
1269 + [enable], [m4_define([am_maintainer_other], [disable])],
1270 + [disable], [m4_define([am_maintainer_other], [enable])],
1271 + [m4_define([am_maintainer_other], [enable])
1272 + m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
1273 +AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
1274 + dnl maintainer-mode's default is 'disable' unless 'enable' is passed
1275 + AC_ARG_ENABLE([maintainer-mode],
1276 + [AS_HELP_STRING([--]am_maintainer_other[-maintainer-mode],
1277 + am_maintainer_other[ make rules and dependencies not useful
1278 + (and sometimes confusing) to the casual installer])],
1279 + [USE_MAINTAINER_MODE=$enableval],
1280 + [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
1281 + AC_MSG_RESULT([$USE_MAINTAINER_MODE])
1282 + AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
1283 + MAINT=$MAINTAINER_MODE_TRUE
1284 + AC_SUBST([MAINT])dnl
1288 +AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
1290 +# Check to see how 'make' treats includes. -*- Autoconf -*-
1292 +# Copyright (C) 2001-2012 Free Software Foundation, Inc.
1294 +# This file is free software; the Free Software Foundation
1295 +# gives unlimited permission to copy and/or distribute it,
1296 +# with or without modifications, as long as this notice is preserved.
1298 +# AM_MAKE_INCLUDE()
1299 +# -----------------
1300 +# Check to see how make treats includes.
1301 +AC_DEFUN([AM_MAKE_INCLUDE],
1302 +[am_make=${MAKE-make}
1303 +cat > confinc << 'END'
1305 + @echo this is the am__doit target
1308 +# If we don't find an include directive, just comment out the code.
1309 +AC_MSG_CHECKING([for style of include used by $am_make])
1313 +# First try GNU make style include.
1314 +echo "include confinc" > confmf
1315 +# Ignore all kinds of additional output from 'make'.
1316 +case `$am_make -s -f confmf 2> /dev/null` in #(
1317 +*the\ am__doit\ target*)
1318 + am__include=include
1323 +# Now try BSD make style include.
1324 +if test "$am__include" = "#"; then
1325 + echo '.include "confinc"' > confmf
1326 + case `$am_make -s -f confmf 2> /dev/null` in #(
1327 + *the\ am__doit\ target*)
1328 + am__include=.include
1334 +AC_SUBST([am__include])
1335 +AC_SUBST([am__quote])
1336 +AC_MSG_RESULT([$_am_result])
1337 +rm -f confinc confmf
1340 +# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
1342 +# Copyright (C) 1997-2012 Free Software Foundation, Inc.
1344 +# This file is free software; the Free Software Foundation
1345 +# gives unlimited permission to copy and/or distribute it,
1346 +# with or without modifications, as long as this notice is preserved.
1348 +# AM_MISSING_PROG(NAME, PROGRAM)
1349 +# ------------------------------
1350 +AC_DEFUN([AM_MISSING_PROG],
1351 +[AC_REQUIRE([AM_MISSING_HAS_RUN])
1352 +$1=${$1-"${am_missing_run}$2"}
1355 +# AM_MISSING_HAS_RUN
1356 +# ------------------
1357 +# Define MISSING if not defined so far and test if it supports --run.
1358 +# If it does, set am_missing_run to use it, otherwise, to nothing.
1359 +AC_DEFUN([AM_MISSING_HAS_RUN],
1360 +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1361 +AC_REQUIRE_AUX_FILE([missing])dnl
1362 +if test x"${MISSING+set}" != xset; then
1363 + case $am_aux_dir in
1365 + MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
1367 + MISSING="\${SHELL} $am_aux_dir/missing" ;;
1370 +# Use eval to expand $SHELL
1371 +if eval "$MISSING --run true"; then
1372 + am_missing_run="$MISSING --run "
1375 + AC_MSG_WARN(['missing' script is too old or missing])
1379 +# Helper functions for option handling. -*- Autoconf -*-
1381 +# Copyright (C) 2001-2012 Free Software Foundation, Inc.
1383 +# This file is free software; the Free Software Foundation
1384 +# gives unlimited permission to copy and/or distribute it,
1385 +# with or without modifications, as long as this notice is preserved.
1387 +# _AM_MANGLE_OPTION(NAME)
1388 +# -----------------------
1389 +AC_DEFUN([_AM_MANGLE_OPTION],
1390 +[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
1392 +# _AM_SET_OPTION(NAME)
1393 +# --------------------
1394 +# Set option NAME. Presently that only means defining a flag for this option.
1395 +AC_DEFUN([_AM_SET_OPTION],
1396 +[m4_define(_AM_MANGLE_OPTION([$1]), [1])])
1398 +# _AM_SET_OPTIONS(OPTIONS)
1399 +# ------------------------
1400 +# OPTIONS is a space-separated list of Automake options.
1401 +AC_DEFUN([_AM_SET_OPTIONS],
1402 +[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
1404 +# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
1405 +# -------------------------------------------
1406 +# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
1407 +AC_DEFUN([_AM_IF_OPTION],
1408 +[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
1410 +# Check to make sure that the build environment is sane. -*- Autoconf -*-
1412 +# Copyright (C) 1996-2012 Free Software Foundation, Inc.
1414 +# This file is free software; the Free Software Foundation
1415 +# gives unlimited permission to copy and/or distribute it,
1416 +# with or without modifications, as long as this notice is preserved.
1420 +AC_DEFUN([AM_SANITY_CHECK],
1421 +[AC_MSG_CHECKING([whether build environment is sane])
1422 +# Reject unsafe characters in $srcdir or the absolute working directory
1423 +# name. Accept space and tab only in the latter.
1427 + *[[\\\"\#\$\&\'\`$am_lf]]*)
1428 + AC_MSG_ERROR([unsafe absolute working directory name]);;
1431 + *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
1432 + AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);;
1435 +# Do 'set' in a subshell so we don't clobber the current shell's
1436 +# arguments. Must try -L first in case configure is actually a
1437 +# symlink; some systems play weird games with the mod time of symlinks
1438 +# (eg FreeBSD returns the mod time of the symlink's containing
1442 + for am_try in 1 2; do
1443 + echo "timestamp, slept: $am_has_slept" > conftest.file
1444 + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1445 + if test "$[*]" = "X"; then
1447 + set X `ls -t "$srcdir/configure" conftest.file`
1449 + if test "$[*]" != "X $srcdir/configure conftest.file" \
1450 + && test "$[*]" != "X conftest.file $srcdir/configure"; then
1452 + # If neither matched, then we have a broken ls. This can happen
1453 + # if, for instance, CONFIG_SHELL is bash and it inherits a
1454 + # broken ls alias from the environment. This has actually
1455 + # happened. Such a system could not be considered "sane".
1456 + AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
1457 + alias in your environment])
1459 + if test "$[2]" = conftest.file || test $am_try -eq 2; then
1466 + test "$[2]" = conftest.file
1472 + AC_MSG_ERROR([newly created file is older than distributed files!
1473 +Check your system clock])
1475 +AC_MSG_RESULT([yes])
1476 +# If we didn't sleep, we still need to ensure time stamps of config.status and
1477 +# generated files are strictly newer.
1479 +if grep 'slept: no' conftest.file >/dev/null 2>&1; then
1483 +AC_CONFIG_COMMANDS_PRE(
1484 + [AC_MSG_CHECKING([that generated files are newer than configure])
1485 + if test -n "$am_sleep_pid"; then
1486 + # Hide warnings about reused PIDs.
1487 + wait $am_sleep_pid 2>/dev/null
1489 + AC_MSG_RESULT([done])])
1490 +rm -f conftest.file
1493 +# Copyright (C) 2001-2012 Free Software Foundation, Inc.
1495 +# This file is free software; the Free Software Foundation
1496 +# gives unlimited permission to copy and/or distribute it,
1497 +# with or without modifications, as long as this notice is preserved.
1499 +# AM_PROG_INSTALL_STRIP
1500 +# ---------------------
1501 +# One issue with vendor 'install' (even GNU) is that you can't
1502 +# specify the program used to strip binaries. This is especially
1503 +# annoying in cross-compiling environments, where the build's strip
1504 +# is unlikely to handle the host's binaries.
1505 +# Fortunately install-sh will honor a STRIPPROG variable, so we
1506 +# always use install-sh in "make install-strip", and initialize
1507 +# STRIPPROG with the value of the STRIP variable (set by the user).
1508 +AC_DEFUN([AM_PROG_INSTALL_STRIP],
1509 +[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
1510 +# Installed binaries are usually stripped using 'strip' when the user
1511 +# run "make install-strip". However 'strip' might not be the right
1512 +# tool to use in cross-compilation environments, therefore Automake
1513 +# will honor the 'STRIP' environment variable to overrule this program.
1514 +dnl Don't test for $cross_compiling = yes, because it might be 'maybe'.
1515 +if test "$cross_compiling" != no; then
1516 + AC_CHECK_TOOL([STRIP], [strip], :)
1518 +INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
1519 +AC_SUBST([INSTALL_STRIP_PROGRAM])])
1521 +# Copyright (C) 2006-2012 Free Software Foundation, Inc.
1523 +# This file is free software; the Free Software Foundation
1524 +# gives unlimited permission to copy and/or distribute it,
1525 +# with or without modifications, as long as this notice is preserved.
1527 +# _AM_SUBST_NOTMAKE(VARIABLE)
1528 +# ---------------------------
1529 +# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
1530 +# This macro is traced by Automake.
1531 +AC_DEFUN([_AM_SUBST_NOTMAKE])
1533 +# AM_SUBST_NOTMAKE(VARIABLE)
1534 +# --------------------------
1535 +# Public sister of _AM_SUBST_NOTMAKE.
1536 +AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
1538 +# Check how to create a tarball. -*- Autoconf -*-
1540 +# Copyright (C) 2004-2012 Free Software Foundation, Inc.
1542 +# This file is free software; the Free Software Foundation
1543 +# gives unlimited permission to copy and/or distribute it,
1544 +# with or without modifications, as long as this notice is preserved.
1546 +# _AM_PROG_TAR(FORMAT)
1547 +# --------------------
1548 +# Check how to create a tarball in format FORMAT.
1549 +# FORMAT should be one of 'v7', 'ustar', or 'pax'.
1551 +# Substitute a variable $(am__tar) that is a command
1552 +# writing to stdout a FORMAT-tarball containing the directory
1554 +# tardir=directory && $(am__tar) > result.tar
1556 +# Substitute a variable $(am__untar) that extract such
1557 +# a tarball read from stdin.
1558 +# $(am__untar) < result.tar
1559 +AC_DEFUN([_AM_PROG_TAR],
1560 +[# Always define AMTAR for backward compatibility. Yes, it's still used
1561 +# in the wild :-( We should find a proper way to deprecate it ...
1562 +AC_SUBST([AMTAR], ['$${TAR-tar}'])
1564 + [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
1565 + [m4_case([$1], [ustar],, [pax],,
1566 + [m4_fatal([Unknown tar format])])
1567 +AC_MSG_CHECKING([how to create a $1 tar archive])
1568 +# Loop over all known methods to create a tar archive until one works.
1569 +_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
1570 +_am_tools=${am_cv_prog_tar_$1-$_am_tools}
1571 +# Do not fold the above two line into one, because Tru64 sh and
1572 +# Solaris sh will not grok spaces in the rhs of '-'.
1573 +for _am_tool in $_am_tools
1577 + for _am_tar in tar gnutar gtar;
1579 + AM_RUN_LOG([$_am_tar --version]) && break
1581 + am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
1582 + am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
1583 + am__untar="$_am_tar -xf -"
1586 + # Must skip GNU tar: if it does not support --format= it doesn't create
1587 + # ustar tarball either.
1588 + (tar --version) >/dev/null 2>&1 && continue
1589 + am__tar='tar chf - "$$tardir"'
1590 + am__tar_='tar chf - "$tardir"'
1591 + am__untar='tar xf -'
1594 + am__tar='pax -L -x $1 -w "$$tardir"'
1595 + am__tar_='pax -L -x $1 -w "$tardir"'
1596 + am__untar='pax -r'
1599 + am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
1600 + am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
1601 + am__untar='cpio -i -H $1 -d'
1610 + # If the value was cached, stop now. We just wanted to have am__tar
1611 + # and am__untar set.
1612 + test -n "${am_cv_prog_tar_$1}" && break
1614 + # tar/untar a dummy directory, and stop if the command works
1615 + rm -rf conftest.dir
1616 + mkdir conftest.dir
1617 + echo GrepMe > conftest.dir/file
1618 + AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
1619 + rm -rf conftest.dir
1620 + if test -s conftest.tar; then
1621 + AM_RUN_LOG([$am__untar <conftest.tar])
1622 + grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
1625 +rm -rf conftest.dir
1627 +AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
1628 +AC_MSG_RESULT([$am_cv_prog_tar_$1])])
1629 +AC_SUBST([am__tar])
1630 +AC_SUBST([am__untar])
1633 +m4_include([../../../acinclude.m4])
1634 diff --git a/newlib/libc/sys/psp/configure b/newlib/libc/sys/psp/configure
1635 new file mode 100755
1636 index 000000000..49e0a1f32
1638 +++ b/newlib/libc/sys/psp/configure
1641 +# Guess values for system-dependent variables and create Makefiles.
1642 +# Generated by GNU Autoconf 2.71 for newlib 4.1.0.
1645 +# Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
1649 +# This configure script is free software; the Free Software Foundation
1650 +# gives unlimited permission to copy, distribute and modify it.
1651 +## -------------------- ##
1652 +## M4sh Initialization. ##
1653 +## -------------------- ##
1655 +# Be more Bourne compatible
1656 +DUALCASE=1; export DUALCASE # for MKS sh
1658 +if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
1662 + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
1663 + # is contrary to our usage. Disable this feature.
1664 + alias -g '${1+"$@"}'='"$@"'
1665 + setopt NO_GLOB_SUBST
1667 + case `(set -o) 2>/dev/null` in #(
1669 + set -o posix ;; #(
1677 +# Reset variables that may have inherited troublesome values from
1680 +# IFS needs to be set, to space, tab, and newline, in precisely that order.
1681 +# (If _AS_PATH_WALK were called with IFS unset, it would have the
1682 +# side effect of setting IFS to empty, thus disabling word splitting.)
1683 +# Quoting is to prevent editors from complaining about space-tab.
1693 +# Ensure predictable behavior from utilities with locale-dependent output.
1699 +# We cannot yet rely on "unset" to work, but we need these variables
1700 +# to be unset--not just set to an empty or harmless value--now, to
1701 +# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
1702 +# also avoids known problems related to "unset" and subshell syntax
1703 +# in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
1704 +for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
1705 +do eval test \${$as_var+y} \
1706 + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
1709 +# Ensure that fds 0, 1, and 2 are open.
1710 +if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
1711 +if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
1712 +if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
1714 +# The user is always right.
1715 +if ${PATH_SEPARATOR+false} :; then
1717 + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
1718 + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
1719 + PATH_SEPARATOR=';'
1724 +# Find who we are. Look in the path if we contain no directory separator.
1727 + *[\\/]* ) as_myself=$0 ;;
1728 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1729 +for as_dir in $PATH
1732 + case $as_dir in #(((
1735 + *) as_dir=$as_dir/ ;;
1737 + test -r "$as_dir$0" && as_myself=$as_dir$0 && break
1743 +# We did not find ourselves, most probably we were run as `sh COMMAND'
1744 +# in which case we are not to be found in the path.
1745 +if test "x$as_myself" = x; then
1748 +if test ! -f "$as_myself"; then
1749 + printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
1754 +# Use a proper internal environment variable to ensure we don't fall
1755 + # into an infinite loop, continuously re-executing ourselves.
1756 + if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
1757 + _as_can_reexec=no; export _as_can_reexec;
1758 + # We cannot yet assume a decent shell, so we have to provide a
1759 +# neutralization value for shells without unset; and this also
1760 +# works around shells that cannot unset nonexistent variables.
1761 +# Preserve -v and -x to the replacement shell.
1764 +(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
1766 + *v*x* | *x*v* ) as_opts=-vx ;;
1767 + *v* ) as_opts=-v ;;
1768 + *x* ) as_opts=-x ;;
1771 +exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
1772 +# Admittedly, this is quite paranoid, since all the known shells bail
1773 +# out after a failed `exec'.
1774 +printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
1777 + # We don't want this to propagate to other subprocesses.
1778 + { _as_can_reexec=; unset _as_can_reexec;}
1779 +if test "x$CONFIG_SHELL" = x; then
1780 + as_bourne_compatible="as_nop=:
1781 +if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
1785 + # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
1786 + # is contrary to our usage. Disable this feature.
1787 + alias -g '\${1+\"\$@\"}'='\"\$@\"'
1788 + setopt NO_GLOB_SUBST
1790 + case \`(set -o) 2>/dev/null\` in #(
1792 + set -o posix ;; #(
1798 + as_required="as_fn_return () { (exit \$1); }
1799 +as_fn_success () { as_fn_return 0; }
1800 +as_fn_failure () { as_fn_return 1; }
1801 +as_fn_ret_success () { return 0; }
1802 +as_fn_ret_failure () { return 1; }
1805 +as_fn_success || { exitcode=1; echo as_fn_success failed.; }
1806 +as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
1807 +as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
1808 +as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
1809 +if ( set x; as_fn_ret_success y && test x = \"\$1\" )
1813 + exitcode=1; echo positional parameters were not saved.
1815 +test x\$exitcode = x0 || exit 1
1816 +blah=\$(echo \$(echo blah))
1817 +test x\"\$blah\" = xblah || exit 1
1818 +test -x / || exit 1"
1819 + as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
1820 + as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
1821 + eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
1822 + test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
1823 + if (eval "$as_required") 2>/dev/null
1825 + as_have_required=yes
1827 + as_have_required=no
1829 + if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
1833 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1835 +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
1838 + case $as_dir in #(((
1841 + *) as_dir=$as_dir/ ;;
1844 + case $as_dir in #(
1846 + for as_base in sh bash ksh sh5; do
1847 + # Try only shells that exist, to save several forks.
1848 + as_shell=$as_dir$as_base
1849 + if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
1850 + as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
1852 + CONFIG_SHELL=$as_shell as_have_required=yes
1853 + if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
1867 + if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
1868 + as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
1870 + CONFIG_SHELL=$SHELL as_have_required=yes
1875 + if test "x$CONFIG_SHELL" != x
1877 + export CONFIG_SHELL
1878 + # We cannot yet assume a decent shell, so we have to provide a
1879 +# neutralization value for shells without unset; and this also
1880 +# works around shells that cannot unset nonexistent variables.
1881 +# Preserve -v and -x to the replacement shell.
1884 +(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
1886 + *v*x* | *x*v* ) as_opts=-vx ;;
1887 + *v* ) as_opts=-v ;;
1888 + *x* ) as_opts=-x ;;
1891 +exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
1892 +# Admittedly, this is quite paranoid, since all the known shells bail
1893 +# out after a failed `exec'.
1894 +printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
1898 + if test x$as_have_required = xno
1900 + printf "%s\n" "$0: This script requires a shell more modern than all"
1901 + printf "%s\n" "$0: the shells that I found on your system."
1902 + if test ${ZSH_VERSION+y} ; then
1903 + printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
1904 + printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
1906 + printf "%s\n" "$0: Please tell bug-autoconf@gnu.org about your system,
1907 +$0: including any error possibly output before this
1908 +$0: message. Then install a modern shell, or manually run
1909 +$0: the script under such a shell if you do have one."
1915 +SHELL=${CONFIG_SHELL-/bin/sh}
1917 +# Unset more variables known to interfere with behavior of common tools.
1918 +CLICOLOR_FORCE= GREP_OPTIONS=
1919 +unset CLICOLOR_FORCE GREP_OPTIONS
1921 +## --------------------- ##
1922 +## M4sh Shell Functions. ##
1923 +## --------------------- ##
1926 +# Portably unset VAR.
1929 + { eval $1=; unset $1;}
1931 +as_unset=as_fn_unset
1934 +# as_fn_set_status STATUS
1935 +# -----------------------
1936 +# Set $? to STATUS, without forking.
1937 +as_fn_set_status ()
1940 +} # as_fn_set_status
1942 +# as_fn_exit STATUS
1943 +# -----------------
1944 +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
1948 + as_fn_set_status $1
1953 +# Do nothing but, unlike ":", preserve the value of $?.
1962 +# Create "$as_dir" as a directory, including parents if necessary.
1966 + case $as_dir in #(
1967 + -*) as_dir=./$as_dir;;
1969 + test -d "$as_dir" || eval $as_mkdir_p || {
1972 + case $as_dir in #(
1973 + *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
1974 + *) as_qdir=$as_dir;;
1976 + as_dirs="'$as_qdir' $as_dirs"
1977 + as_dir=`$as_dirname -- "$as_dir" ||
1978 +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1979 + X"$as_dir" : 'X\(//\)[^/]' \| \
1980 + X"$as_dir" : 'X\(//\)$' \| \
1981 + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
1982 +printf "%s\n" X"$as_dir" |
1983 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1987 + /^X\(\/\/\)[^/].*/{
2000 + test -d "$as_dir" && break
2002 + test -z "$as_dirs" || eval "mkdir $as_dirs"
2003 + } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
2008 +# as_fn_executable_p FILE
2009 +# -----------------------
2010 +# Test if FILE is an executable regular file.
2011 +as_fn_executable_p ()
2013 + test -f "$1" && test -x "$1"
2014 +} # as_fn_executable_p
2015 +# as_fn_append VAR VALUE
2016 +# ----------------------
2017 +# Append the text in VALUE to the end of the definition contained in VAR. Take
2018 +# advantage of any shell optimizations that allow amortized linear growth over
2019 +# repeated appends, instead of the typical quadratic growth present in naive
2021 +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
2023 + eval 'as_fn_append ()
2034 +# as_fn_arith ARG...
2035 +# ------------------
2036 +# Perform arithmetic evaluation on the ARGs, and store the result in the
2037 +# global $as_val. Take advantage of shells that can avoid forks. The arguments
2038 +# must be portable across $(()) and expr.
2039 +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
2041 + eval 'as_fn_arith ()
2048 + as_val=`expr "$@" || test $? -eq 1`
2054 +# Do nothing but, unlike ":", preserve the value of $?.
2061 +# as_fn_error STATUS ERROR [LINENO LOG_FD]
2062 +# ----------------------------------------
2063 +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
2064 +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
2065 +# script with STATUS, using 1 if that was 0.
2068 + as_status=$1; test $as_status -eq 0 && as_status=1
2069 + if test "$4"; then
2070 + as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2071 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
2073 + printf "%s\n" "$as_me: error: $2" >&2
2074 + as_fn_exit $as_status
2077 +if expr a : '\(a\)' >/dev/null 2>&1 &&
2078 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
2084 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2085 + as_basename=basename
2090 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2091 + as_dirname=dirname
2096 +as_me=`$as_basename -- "$0" ||
2097 +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2098 + X"$0" : 'X\(//\)$' \| \
2099 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2100 +printf "%s\n" X/"$0" |
2101 + sed '/^.*\/\([^/][^/]*\)\/*$/{
2115 +# Avoid depending upon Character Ranges.
2116 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2117 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2118 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2119 +as_cr_digits='0123456789'
2120 +as_cr_alnum=$as_cr_Letters$as_cr_digits
2123 + as_lineno_1=$LINENO as_lineno_1a=$LINENO
2124 + as_lineno_2=$LINENO as_lineno_2a=$LINENO
2125 + eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
2126 + test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
2127 + # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
2139 + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
2142 + ' >$as_me.lineno &&
2143 + chmod +x "$as_me.lineno" ||
2144 + { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
2146 + # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
2147 + # already done that, so ensure we don't try to do so again and fall
2148 + # in an infinite loop. This has already happened in practice.
2149 + _as_can_reexec=no; export _as_can_reexec
2150 + # Don't try to exec as it changes $[0], causing all sort of problems
2151 + # (the dirname of $[0] is not the place where we might find the
2152 + # original and so on. Autoconf is especially sensitive to this).
2153 + . "./$as_me.lineno"
2154 + # Exit status is that of the last command.
2159 +# Determine whether it's possible to make 'echo' print without a newline.
2160 +# These variables are no longer used directly by Autoconf, but are AC_SUBSTed
2161 +# for compatibility with existing Makefiles.
2162 +ECHO_C= ECHO_N= ECHO_T=
2163 +case `echo -n x` in #(((((
2165 + case `echo 'xy\c'` in
2166 + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
2168 + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
2175 +# For backward compatibility with old third-party macros, we provide
2176 +# the shell variables $as_echo and $as_echo_n. New code should use
2177 +# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
2178 +as_echo='printf %s\n'
2179 +as_echo_n='printf %s'
2182 +rm -f conf$$ conf$$.exe conf$$.file
2183 +if test -d conf$$.dir; then
2184 + rm -f conf$$.dir/conf$$.file
2187 + mkdir conf$$.dir 2>/dev/null
2189 +if (echo >conf$$.file) 2>/dev/null; then
2190 + if ln -s conf$$.file conf$$ 2>/dev/null; then
2192 + # ... but there are two gotchas:
2193 + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2194 + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2195 + # In both cases, we have to default to `cp -pR'.
2196 + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2198 + elif ln conf$$.file conf$$ 2>/dev/null; then
2206 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2207 +rmdir conf$$.dir 2>/dev/null
2209 +if mkdir -p . 2>/dev/null; then
2210 + as_mkdir_p='mkdir -p "$as_dir"'
2212 + test -d ./-p && rmdir ./-p
2216 +as_test_x='test -x'
2217 +as_executable_p=as_fn_executable_p
2219 +# Sed expression to map a string onto a valid CPP name.
2220 +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2222 +# Sed expression to map a string onto a valid variable name.
2223 +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2226 +test -n "$DJDIR" || exec 7<&0 </dev/null
2229 +# Name of the host.
2230 +# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
2231 +# so uname gets run too.
2232 +ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
2237 +ac_default_prefix=/usr/local
2239 +ac_config_libobj_dir=.
2246 +# Identity of this package.
2247 +PACKAGE_NAME='newlib'
2248 +PACKAGE_TARNAME='newlib'
2249 +PACKAGE_VERSION='4.1.0'
2250 +PACKAGE_STRING='newlib 4.1.0'
2251 +PACKAGE_BUGREPORT=''
2254 +ac_unique_file="Makefile.am"
2255 +ac_subst_vars='LTLIBOBJS
2282 +MAINTAINER_MODE_FALSE
2283 +MAINTAINER_MODE_TRUE
2288 +am__fastdepCC_FALSE
2307 +INSTALL_STRIP_PROGRAM
2331 +MAY_SUPPLY_SYSCALLS_FALSE
2332 +MAY_SUPPLY_SYSCALLS_TRUE
2361 +program_transform_name
2374 +enable_option_checking
2376 +enable_target_optspace
2377 +enable_malloc_debugging
2378 +enable_newlib_multithread
2379 +enable_newlib_iconv
2380 +enable_newlib_elix_level
2381 +enable_newlib_io_float
2382 +enable_newlib_supplied_syscalls
2383 +enable_newlib_fno_builtin
2384 +enable_dependency_tracking
2385 +enable_maintainer_mode
2387 + ac_precious_vars='build_alias
2394 +# Initialize some variables set by options.
2396 +ac_init_version=false
2397 +ac_unrecognized_opts=
2398 +ac_unrecognized_sep=
2399 +# The variables have the same names as the options, with
2400 +# dashes changed to underlines.
2401 +cache_file=/dev/null
2406 +program_prefix=NONE
2407 +program_suffix=NONE
2408 +program_transform_name=s,x,x,
2416 +# Installation directory options.
2417 +# These are left unexpanded so users can "make install exec_prefix=/foo"
2418 +# and all the variables that are supposed to be based on exec_prefix
2419 +# by default will actually change.
2420 +# Use braces instead of parens because sh, perl, etc. also accept them.
2421 +# (The list follows the same order as the GNU Coding Standards.)
2422 +bindir='${exec_prefix}/bin'
2423 +sbindir='${exec_prefix}/sbin'
2424 +libexecdir='${exec_prefix}/libexec'
2425 +datarootdir='${prefix}/share'
2426 +datadir='${datarootdir}'
2427 +sysconfdir='${prefix}/etc'
2428 +sharedstatedir='${prefix}/com'
2429 +localstatedir='${prefix}/var'
2430 +runstatedir='${localstatedir}/run'
2431 +includedir='${prefix}/include'
2432 +oldincludedir='/usr/include'
2433 +docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
2434 +infodir='${datarootdir}/info'
2435 +htmldir='${docdir}'
2439 +libdir='${exec_prefix}/lib'
2440 +localedir='${datarootdir}/locale'
2441 +mandir='${datarootdir}/man'
2447 + # If the previous option needs an argument, assign it.
2448 + if test -n "$ac_prev"; then
2449 + eval $ac_prev=\$ac_option
2454 + case $ac_option in
2455 + *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
2457 + *) ac_optarg=yes ;;
2460 + case $ac_dashdash$ac_option in
2462 + ac_dashdash=yes ;;
2464 + -bindir | --bindir | --bindi | --bind | --bin | --bi)
2466 + -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
2467 + bindir=$ac_optarg ;;
2469 + -build | --build | --buil | --bui | --bu)
2470 + ac_prev=build_alias ;;
2471 + -build=* | --build=* | --buil=* | --bui=* | --bu=*)
2472 + build_alias=$ac_optarg ;;
2474 + -cache-file | --cache-file | --cache-fil | --cache-fi \
2475 + | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
2476 + ac_prev=cache_file ;;
2477 + -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2478 + | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
2479 + cache_file=$ac_optarg ;;
2481 + --config-cache | -C)
2482 + cache_file=config.cache ;;
2484 + -datadir | --datadir | --datadi | --datad)
2485 + ac_prev=datadir ;;
2486 + -datadir=* | --datadir=* | --datadi=* | --datad=*)
2487 + datadir=$ac_optarg ;;
2489 + -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2490 + | --dataroo | --dataro | --datar)
2491 + ac_prev=datarootdir ;;
2492 + -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2493 + | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2494 + datarootdir=$ac_optarg ;;
2496 + -disable-* | --disable-*)
2497 + ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2498 + # Reject names that are not valid shell variable names.
2499 + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2500 + as_fn_error $? "invalid feature name: \`$ac_useropt'"
2501 + ac_useropt_orig=$ac_useropt
2502 + ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2503 + case $ac_user_opts in
2505 +"enable_$ac_useropt"
2507 + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2508 + ac_unrecognized_sep=', ';;
2510 + eval enable_$ac_useropt=no ;;
2512 + -docdir | --docdir | --docdi | --doc | --do)
2514 + -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2515 + docdir=$ac_optarg ;;
2517 + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2519 + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2520 + dvidir=$ac_optarg ;;
2522 + -enable-* | --enable-*)
2523 + ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2524 + # Reject names that are not valid shell variable names.
2525 + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2526 + as_fn_error $? "invalid feature name: \`$ac_useropt'"
2527 + ac_useropt_orig=$ac_useropt
2528 + ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2529 + case $ac_user_opts in
2531 +"enable_$ac_useropt"
2533 + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2534 + ac_unrecognized_sep=', ';;
2536 + eval enable_$ac_useropt=\$ac_optarg ;;
2538 + -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2539 + | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2540 + | --exec | --exe | --ex)
2541 + ac_prev=exec_prefix ;;
2542 + -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2543 + | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2544 + | --exec=* | --exe=* | --ex=*)
2545 + exec_prefix=$ac_optarg ;;
2547 + -gas | --gas | --ga | --g)
2548 + # Obsolete; use --with-gas.
2551 + -help | --help | --hel | --he | -h)
2552 + ac_init_help=long ;;
2553 + -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2554 + ac_init_help=recursive ;;
2555 + -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2556 + ac_init_help=short ;;
2558 + -host | --host | --hos | --ho)
2559 + ac_prev=host_alias ;;
2560 + -host=* | --host=* | --hos=* | --ho=*)
2561 + host_alias=$ac_optarg ;;
2563 + -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2564 + ac_prev=htmldir ;;
2565 + -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2567 + htmldir=$ac_optarg ;;
2569 + -includedir | --includedir | --includedi | --included | --include \
2570 + | --includ | --inclu | --incl | --inc)
2571 + ac_prev=includedir ;;
2572 + -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2573 + | --includ=* | --inclu=* | --incl=* | --inc=*)
2574 + includedir=$ac_optarg ;;
2576 + -infodir | --infodir | --infodi | --infod | --info | --inf)
2577 + ac_prev=infodir ;;
2578 + -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2579 + infodir=$ac_optarg ;;
2581 + -libdir | --libdir | --libdi | --libd)
2583 + -libdir=* | --libdir=* | --libdi=* | --libd=*)
2584 + libdir=$ac_optarg ;;
2586 + -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2587 + | --libexe | --libex | --libe)
2588 + ac_prev=libexecdir ;;
2589 + -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2590 + | --libexe=* | --libex=* | --libe=*)
2591 + libexecdir=$ac_optarg ;;
2593 + -localedir | --localedir | --localedi | --localed | --locale)
2594 + ac_prev=localedir ;;
2595 + -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2596 + localedir=$ac_optarg ;;
2598 + -localstatedir | --localstatedir | --localstatedi | --localstated \
2599 + | --localstate | --localstat | --localsta | --localst | --locals)
2600 + ac_prev=localstatedir ;;
2601 + -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2602 + | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2603 + localstatedir=$ac_optarg ;;
2605 + -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2607 + -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2608 + mandir=$ac_optarg ;;
2610 + -nfp | --nfp | --nf)
2611 + # Obsolete; use --without-fp.
2614 + -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2615 + | --no-cr | --no-c | -n)
2618 + -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2619 + | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2620 + no_recursion=yes ;;
2622 + -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2623 + | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2624 + | --oldin | --oldi | --old | --ol | --o)
2625 + ac_prev=oldincludedir ;;
2626 + -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2627 + | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2628 + | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2629 + oldincludedir=$ac_optarg ;;
2631 + -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2633 + -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2634 + prefix=$ac_optarg ;;
2636 + -program-prefix | --program-prefix | --program-prefi | --program-pref \
2637 + | --program-pre | --program-pr | --program-p)
2638 + ac_prev=program_prefix ;;
2639 + -program-prefix=* | --program-prefix=* | --program-prefi=* \
2640 + | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2641 + program_prefix=$ac_optarg ;;
2643 + -program-suffix | --program-suffix | --program-suffi | --program-suff \
2644 + | --program-suf | --program-su | --program-s)
2645 + ac_prev=program_suffix ;;
2646 + -program-suffix=* | --program-suffix=* | --program-suffi=* \
2647 + | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2648 + program_suffix=$ac_optarg ;;
2650 + -program-transform-name | --program-transform-name \
2651 + | --program-transform-nam | --program-transform-na \
2652 + | --program-transform-n | --program-transform- \
2653 + | --program-transform | --program-transfor \
2654 + | --program-transfo | --program-transf \
2655 + | --program-trans | --program-tran \
2656 + | --progr-tra | --program-tr | --program-t)
2657 + ac_prev=program_transform_name ;;
2658 + -program-transform-name=* | --program-transform-name=* \
2659 + | --program-transform-nam=* | --program-transform-na=* \
2660 + | --program-transform-n=* | --program-transform-=* \
2661 + | --program-transform=* | --program-transfor=* \
2662 + | --program-transfo=* | --program-transf=* \
2663 + | --program-trans=* | --program-tran=* \
2664 + | --progr-tra=* | --program-tr=* | --program-t=*)
2665 + program_transform_name=$ac_optarg ;;
2667 + -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2669 + -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2670 + pdfdir=$ac_optarg ;;
2672 + -psdir | --psdir | --psdi | --psd | --ps)
2674 + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2675 + psdir=$ac_optarg ;;
2677 + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2678 + | -silent | --silent | --silen | --sile | --sil)
2681 + -runstatedir | --runstatedir | --runstatedi | --runstated \
2682 + | --runstate | --runstat | --runsta | --runst | --runs \
2683 + | --run | --ru | --r)
2684 + ac_prev=runstatedir ;;
2685 + -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2686 + | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2687 + | --run=* | --ru=* | --r=*)
2688 + runstatedir=$ac_optarg ;;
2690 + -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2691 + ac_prev=sbindir ;;
2692 + -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2693 + | --sbi=* | --sb=*)
2694 + sbindir=$ac_optarg ;;
2696 + -sharedstatedir | --sharedstatedir | --sharedstatedi \
2697 + | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2698 + | --sharedst | --shareds | --shared | --share | --shar \
2700 + ac_prev=sharedstatedir ;;
2701 + -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2702 + | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2703 + | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2704 + | --sha=* | --sh=*)
2705 + sharedstatedir=$ac_optarg ;;
2707 + -site | --site | --sit)
2709 + -site=* | --site=* | --sit=*)
2710 + site=$ac_optarg ;;
2712 + -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2714 + -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2715 + srcdir=$ac_optarg ;;
2717 + -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2718 + | --syscon | --sysco | --sysc | --sys | --sy)
2719 + ac_prev=sysconfdir ;;
2720 + -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2721 + | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2722 + sysconfdir=$ac_optarg ;;
2724 + -target | --target | --targe | --targ | --tar | --ta | --t)
2725 + ac_prev=target_alias ;;
2726 + -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2727 + target_alias=$ac_optarg ;;
2729 + -v | -verbose | --verbose | --verbos | --verbo | --verb)
2732 + -version | --version | --versio | --versi | --vers | -V)
2733 + ac_init_version=: ;;
2735 + -with-* | --with-*)
2736 + ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2737 + # Reject names that are not valid shell variable names.
2738 + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2739 + as_fn_error $? "invalid package name: \`$ac_useropt'"
2740 + ac_useropt_orig=$ac_useropt
2741 + ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2742 + case $ac_user_opts in
2746 + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2747 + ac_unrecognized_sep=', ';;
2749 + eval with_$ac_useropt=\$ac_optarg ;;
2751 + -without-* | --without-*)
2752 + ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2753 + # Reject names that are not valid shell variable names.
2754 + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2755 + as_fn_error $? "invalid package name: \`$ac_useropt'"
2756 + ac_useropt_orig=$ac_useropt
2757 + ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2758 + case $ac_user_opts in
2762 + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2763 + ac_unrecognized_sep=', ';;
2765 + eval with_$ac_useropt=no ;;
2768 + # Obsolete; use --with-x.
2771 + -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2772 + | --x-incl | --x-inc | --x-in | --x-i)
2773 + ac_prev=x_includes ;;
2774 + -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2775 + | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2776 + x_includes=$ac_optarg ;;
2778 + -x-libraries | --x-libraries | --x-librarie | --x-librari \
2779 + | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2780 + ac_prev=x_libraries ;;
2781 + -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2782 + | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2783 + x_libraries=$ac_optarg ;;
2785 + -*) as_fn_error $? "unrecognized option: \`$ac_option'
2786 +Try \`$0 --help' for more information"
2790 + ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2791 + # Reject names that are not valid shell variable names.
2792 + case $ac_envvar in #(
2793 + '' | [0-9]* | *[!_$as_cr_alnum]* )
2794 + as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2796 + eval $ac_envvar=\$ac_optarg
2797 + export $ac_envvar ;;
2800 + # FIXME: should be removed in autoconf 3.0.
2801 + printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2802 + expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2803 + printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2804 + : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2810 +if test -n "$ac_prev"; then
2811 + ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2812 + as_fn_error $? "missing argument to $ac_option"
2815 +if test -n "$ac_unrecognized_opts"; then
2816 + case $enable_option_checking in
2818 + fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2819 + *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2823 +# Check all directory arguments for consistency.
2824 +for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2825 + datadir sysconfdir sharedstatedir localstatedir includedir \
2826 + oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2827 + libdir localedir mandir runstatedir
2829 + eval ac_val=\$$ac_var
2830 + # Remove trailing slashes.
2833 + ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2834 + eval $ac_var=\$ac_val;;
2836 + # Be sure to have absolute directory names.
2838 + [\\/$]* | ?:[\\/]* ) continue;;
2839 + NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2841 + as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2844 +# There might be people who depend on the old broken behavior: `$host'
2845 +# used to hold the argument of --host etc.
2846 +# FIXME: To remove some day.
2849 +target=$target_alias
2851 +# FIXME: To remove some day.
2852 +if test "x$host_alias" != x; then
2853 + if test "x$build_alias" = x; then
2854 + cross_compiling=maybe
2855 + elif test "x$build_alias" != "x$host_alias"; then
2856 + cross_compiling=yes
2861 +test -n "$host_alias" && ac_tool_prefix=$host_alias-
2863 +test "$silent" = yes && exec 6>/dev/null
2866 +ac_pwd=`pwd` && test -n "$ac_pwd" &&
2867 +ac_ls_di=`ls -di .` &&
2868 +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2869 + as_fn_error $? "working directory cannot be determined"
2870 +test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2871 + as_fn_error $? "pwd does not report name of working directory"
2874 +# Find the source files, if location was not specified.
2875 +if test -z "$srcdir"; then
2876 + ac_srcdir_defaulted=yes
2877 + # Try the directory containing this script, then the parent directory.
2878 + ac_confdir=`$as_dirname -- "$as_myself" ||
2879 +$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2880 + X"$as_myself" : 'X\(//\)[^/]' \| \
2881 + X"$as_myself" : 'X\(//\)$' \| \
2882 + X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2883 +printf "%s\n" X"$as_myself" |
2884 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2888 + /^X\(\/\/\)[^/].*/{
2901 + srcdir=$ac_confdir
2902 + if test ! -r "$srcdir/$ac_unique_file"; then
2906 + ac_srcdir_defaulted=no
2908 +if test ! -r "$srcdir/$ac_unique_file"; then
2909 + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2910 + as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2912 +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2914 + cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2916 +# When building in place, set srcdir=.
2917 +if test "$ac_abs_confdir" = "$ac_pwd"; then
2920 +# Remove unnecessary trailing slashes from srcdir.
2921 +# Double slashes in file names in object file debugging info
2922 +# mess up M-x gdb in Emacs.
2924 +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2926 +for ac_var in $ac_precious_vars; do
2927 + eval ac_env_${ac_var}_set=\${${ac_var}+set}
2928 + eval ac_env_${ac_var}_value=\$${ac_var}
2929 + eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2930 + eval ac_cv_env_${ac_var}_value=\$${ac_var}
2934 +# Report the --help message.
2936 +if test "$ac_init_help" = "long"; then
2937 + # Omit some internal or obsolete options to make the list less imposing.
2938 + # This message is too long to be a string in the A/UX 3.1 sh.
2940 +\`configure' configures newlib 4.1.0 to adapt to many kinds of systems.
2942 +Usage: $0 [OPTION]... [VAR=VALUE]...
2944 +To assign environment variables (e.g., CC, CFLAGS...), specify them as
2945 +VAR=VALUE. See below for descriptions of some of the useful variables.
2947 +Defaults for the options are specified in brackets.
2950 + -h, --help display this help and exit
2951 + --help=short display options specific to this package
2952 + --help=recursive display the short help of all the included packages
2953 + -V, --version display version information and exit
2954 + -q, --quiet, --silent do not print \`checking ...' messages
2955 + --cache-file=FILE cache test results in FILE [disabled]
2956 + -C, --config-cache alias for \`--cache-file=config.cache'
2957 + -n, --no-create do not create output files
2958 + --srcdir=DIR find the sources in DIR [configure dir or \`..']
2960 +Installation directories:
2961 + --prefix=PREFIX install architecture-independent files in PREFIX
2962 + [$ac_default_prefix]
2963 + --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2966 +By default, \`make install' will install all the files in
2967 +\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2968 +an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2969 +for instance \`--prefix=\$HOME'.
2971 +For better control, use the options below.
2973 +Fine tuning of the installation directories:
2974 + --bindir=DIR user executables [EPREFIX/bin]
2975 + --sbindir=DIR system admin executables [EPREFIX/sbin]
2976 + --libexecdir=DIR program executables [EPREFIX/libexec]
2977 + --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2978 + --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2979 + --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2980 + --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2981 + --libdir=DIR object code libraries [EPREFIX/lib]
2982 + --includedir=DIR C header files [PREFIX/include]
2983 + --oldincludedir=DIR C header files for non-gcc [/usr/include]
2984 + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2985 + --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2986 + --infodir=DIR info documentation [DATAROOTDIR/info]
2987 + --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2988 + --mandir=DIR man documentation [DATAROOTDIR/man]
2989 + --docdir=DIR documentation root [DATAROOTDIR/doc/newlib]
2990 + --htmldir=DIR html documentation [DOCDIR]
2991 + --dvidir=DIR dvi documentation [DOCDIR]
2992 + --pdfdir=DIR pdf documentation [DOCDIR]
2993 + --psdir=DIR ps documentation [DOCDIR]
2999 + --program-prefix=PREFIX prepend PREFIX to installed program names
3000 + --program-suffix=SUFFIX append SUFFIX to installed program names
3001 + --program-transform-name=PROGRAM run sed PROGRAM on installed program names
3004 + --build=BUILD configure for building on BUILD [guessed]
3005 + --host=HOST cross-compile to build programs to run on HOST [BUILD]
3009 +if test -n "$ac_init_help"; then
3010 + case $ac_init_help in
3011 + short | recursive ) echo "Configuration of newlib 4.1.0:";;
3016 + --disable-option-checking ignore unrecognized --enable/--with options
3017 + --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
3018 + --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
3019 + --enable-multilib build many library versions (default)
3020 + --enable-target-optspace optimize for space
3021 + --enable-malloc-debugging indicate malloc debugging requested
3022 + --enable-newlib-multithread enable support for multiple threads
3023 + --enable-newlib-iconv enable iconv library support
3024 + --enable-newlib-elix-level supply desired elix library level (1-4)
3025 + --disable-newlib-io-float disable printf/scanf family float support
3026 + --disable-newlib-supplied-syscalls disable newlib from supplying syscalls
3027 + --disable-newlib-fno-builtin disable -fno-builtin flag to allow compiler to use builtin library functions
3028 + --enable-dependency-tracking
3029 + do not reject slow dependency extractors
3030 + --disable-dependency-tracking
3031 + speeds up one-time build
3032 + --enable-maintainer-mode
3033 + enable make rules and dependencies not useful (and
3034 + sometimes confusing) to the casual installer
3036 +Some influential environment variables:
3037 + CCAS assembler compiler command (defaults to CC)
3038 + CCASFLAGS assembler compiler flags (defaults to CFLAGS)
3040 +Use these variables to override the choices made by `configure' or to help
3041 +it to find libraries and programs with nonstandard names/locations.
3043 +Report bugs to the package provider.
3048 +if test "$ac_init_help" = "recursive"; then
3049 + # If there are subdirs, report their specific --help.
3050 + for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
3051 + test -d "$ac_dir" ||
3052 + { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
3057 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3059 + ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
3060 + # A ".." for each directory in $ac_dir_suffix.
3061 + ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3062 + case $ac_top_builddir_sub in
3063 + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3064 + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3067 +ac_abs_top_builddir=$ac_pwd
3068 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
3069 +# for backward compatibility:
3070 +ac_top_builddir=$ac_top_build_prefix
3073 + .) # We are building in place.
3075 + ac_top_srcdir=$ac_top_builddir_sub
3076 + ac_abs_top_srcdir=$ac_pwd ;;
3077 + [\\/]* | ?:[\\/]* ) # Absolute name.
3078 + ac_srcdir=$srcdir$ac_dir_suffix;
3079 + ac_top_srcdir=$srcdir
3080 + ac_abs_top_srcdir=$srcdir ;;
3081 + *) # Relative name.
3082 + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3083 + ac_top_srcdir=$ac_top_build_prefix$srcdir
3084 + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3086 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3088 + cd "$ac_dir" || { ac_status=$?; continue; }
3089 + # Check for configure.gnu first; this name is used for a wrapper for
3090 + # Metaconfig's "Configure" on case-insensitive file systems.
3091 + if test -f "$ac_srcdir/configure.gnu"; then
3093 + $SHELL "$ac_srcdir/configure.gnu" --help=recursive
3094 + elif test -f "$ac_srcdir/configure"; then
3096 + $SHELL "$ac_srcdir/configure" --help=recursive
3098 + printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
3099 + fi || ac_status=$?
3100 + cd "$ac_pwd" || { ac_status=$?; break; }
3104 +test -n "$ac_init_help" && exit $ac_status
3105 +if $ac_init_version; then
3107 +newlib configure 4.1.0
3108 +generated by GNU Autoconf 2.71
3110 +Copyright (C) 2021 Free Software Foundation, Inc.
3111 +This configure script is free software; the Free Software Foundation
3112 +gives unlimited permission to copy, distribute and modify it.
3117 +## ------------------------ ##
3118 +## Autoconf initialization. ##
3119 +## ------------------------ ##
3121 +# ac_fn_c_try_compile LINENO
3122 +# --------------------------
3123 +# Try to compile conftest.$ac_ext, and return whether this succeeded.
3124 +ac_fn_c_try_compile ()
3126 + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3127 + rm -f conftest.$ac_objext conftest.beam
3128 + if { { ac_try="$ac_compile"
3129 +case "(($ac_try" in
3130 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3131 + *) ac_try_echo=$ac_try;;
3133 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3134 +printf "%s\n" "$ac_try_echo"; } >&5
3135 + (eval "$ac_compile") 2>conftest.err
3137 + if test -s conftest.err; then
3138 + grep -v '^ *+' conftest.err >conftest.er1
3139 + cat conftest.er1 >&5
3140 + mv -f conftest.er1 conftest.err
3142 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3143 + test $ac_status = 0; } && {
3144 + test -z "$ac_c_werror_flag" ||
3145 + test ! -s conftest.err
3146 + } && test -s conftest.$ac_objext
3150 + printf "%s\n" "$as_me: failed program was:" >&5
3151 +sed 's/^/| /' conftest.$ac_ext >&5
3155 + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3156 + as_fn_set_status $ac_retval
3158 +} # ac_fn_c_try_compile
3159 +ac_configure_args_raw=
3164 + ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3166 + as_fn_append ac_configure_args_raw " '$ac_arg'"
3169 +case $ac_configure_args_raw in
3171 + ac_safe_unquote= ;;
3173 + ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3174 + ac_unsafe_a="$ac_unsafe_z#~"
3175 + ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
3176 + ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3179 +cat >config.log <<_ACEOF
3180 +This file contains any messages produced by compilers while
3181 +running configure, to aid debugging if configure makes a mistake.
3183 +It was created by newlib $as_me 4.1.0, which was
3184 +generated by GNU Autoconf 2.71. Invocation command line was
3186 + $ $0$ac_configure_args_raw
3196 +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3197 +uname -m = `(uname -m) 2>/dev/null || echo unknown`
3198 +uname -r = `(uname -r) 2>/dev/null || echo unknown`
3199 +uname -s = `(uname -s) 2>/dev/null || echo unknown`
3200 +uname -v = `(uname -v) 2>/dev/null || echo unknown`
3202 +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3203 +/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3205 +/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3206 +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3207 +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3208 +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3209 +/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3210 +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3211 +/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3215 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3216 +for as_dir in $PATH
3219 + case $as_dir in #(((
3222 + *) as_dir=$as_dir/ ;;
3224 + printf "%s\n" "PATH: $as_dir"
3240 +# Keep a trace of the command line.
3241 +# Strip out --no-create and --no-recursion so they do not pile up.
3242 +# Strip out --silent because we don't want to record it for future runs.
3243 +# Also quote any args containing shell meta-characters.
3244 +# Make two passes to allow for proper duplicate-argument suppression.
3246 +ac_configure_args0=
3247 +ac_configure_args1=
3248 +ac_must_keep_next=false
3254 + -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3255 + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3256 + | -silent | --silent | --silen | --sile | --sil)
3259 + ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3262 + 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3264 + as_fn_append ac_configure_args1 " '$ac_arg'"
3265 + if test $ac_must_keep_next = true; then
3266 + ac_must_keep_next=false # Got value, back to normal.
3269 + *=* | --config-cache | -C | -disable-* | --disable-* \
3270 + | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3271 + | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3272 + | -with-* | --with-* | -without-* | --without-* | --x)
3273 + case "$ac_configure_args0 " in
3274 + "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3277 + -* ) ac_must_keep_next=true ;;
3280 + as_fn_append ac_configure_args " '$ac_arg'"
3285 +{ ac_configure_args0=; unset ac_configure_args0;}
3286 +{ ac_configure_args1=; unset ac_configure_args1;}
3288 +# When interrupted or exit'd, cleanup temporary files, and complete
3289 +# config.log. We remove comments because anyway the quotes in there
3290 +# would cause problems or look ugly.
3291 +# WARNING: Use '\'' to represent an apostrophe within the trap.
3292 +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3293 +trap 'exit_status=$?
3296 + # Save into config.log some information that might help in debugging.
3300 + printf "%s\n" "## ---------------- ##
3301 +## Cache variables. ##
3302 +## ---------------- ##"
3304 + # The following way of writing the cache mishandles newlines in values,
3306 + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3307 + eval ac_val=\$$ac_var
3308 + case $ac_val in #(
3310 + case $ac_var in #(
3311 + *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3312 +printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3314 + case $ac_var in #(
3315 + _ | IFS | as_nl) ;; #(
3316 + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3317 + *) { eval $ac_var=; unset $ac_var;} ;;
3322 + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3323 + *${as_nl}ac_space=\ *)
3325 + "s/'\''/'\''\\\\'\'''\''/g;
3326 + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3329 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3336 + printf "%s\n" "## ----------------- ##
3337 +## Output variables. ##
3338 +## ----------------- ##"
3340 + for ac_var in $ac_subst_vars
3342 + eval ac_val=\$$ac_var
3344 + *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3346 + printf "%s\n" "$ac_var='\''$ac_val'\''"
3350 + if test -n "$ac_subst_files"; then
3351 + printf "%s\n" "## ------------------- ##
3352 +## File substitutions. ##
3353 +## ------------------- ##"
3355 + for ac_var in $ac_subst_files
3357 + eval ac_val=\$$ac_var
3359 + *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3361 + printf "%s\n" "$ac_var='\''$ac_val'\''"
3366 + if test -s confdefs.h; then
3367 + printf "%s\n" "## ----------- ##
3374 + test "$ac_signal" != 0 &&
3375 + printf "%s\n" "$as_me: caught signal $ac_signal"
3376 + printf "%s\n" "$as_me: exit $exit_status"
3378 + rm -f core *.core core.conftest.* &&
3379 + rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3382 +for ac_signal in 1 2 13 15; do
3383 + trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3387 +# confdefs.h avoids OS command line length limits that DEFS can exceed.
3388 +rm -f -r conftest* confdefs.h
3390 +printf "%s\n" "/* confdefs.h */" > confdefs.h
3392 +# Predefined preprocessor variables.
3394 +printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3396 +printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3398 +printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3400 +printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3402 +printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3404 +printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3407 +# Let the site file select an alternate cache file if it wants to.
3408 +# Prefer an explicitly selected file to automatically selected ones.
3409 +if test -n "$CONFIG_SITE"; then
3410 + ac_site_files="$CONFIG_SITE"
3411 +elif test "x$prefix" != xNONE; then
3412 + ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3414 + ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3417 +for ac_site_file in $ac_site_files
3419 + case $ac_site_file in #(
3423 + ac_site_file=./$ac_site_file ;;
3425 + if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3426 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3427 +printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3428 + sed 's/^/| /' "$ac_site_file" >&5
3429 + . "$ac_site_file" \
3430 + || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3431 +printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3432 +as_fn_error $? "failed to load site script $ac_site_file
3433 +See \`config.log' for more details" "$LINENO" 5; }
3437 +if test -r "$cache_file"; then
3438 + # Some versions of bash will fail to source /dev/null (special files
3439 + # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3440 + if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3441 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3442 +printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3443 + case $cache_file in
3444 + [\\/]* | ?:[\\/]* ) . "$cache_file";;
3445 + *) . "./$cache_file";;
3449 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3450 +printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3455 +# Auxiliary files required by this configure script.
3456 +ac_aux_files="missing install-sh config.guess config.sub"
3458 +# Locations in which to look for auxiliary files.
3459 +ac_aux_dir_candidates="${srcdir}/../../../.."
3461 +# Search for a directory containing all of the required auxiliary files,
3462 +# $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3463 +# If we don't find one directory that contains all the files we need,
3464 +# we report the set of missing files from the *first* directory in
3465 +# $ac_aux_dir_candidates and give up.
3466 +ac_missing_aux_files=""
3467 +ac_first_candidate=:
3468 +printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3469 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3471 +for as_dir in $ac_aux_dir_candidates
3474 + case $as_dir in #(((
3477 + *) as_dir=$as_dir/ ;;
3481 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
3482 + ac_aux_dir_found=yes
3484 + for ac_aux in $ac_aux_files
3486 + # As a special case, if "install-sh" is required, that requirement
3487 + # can be satisfied by any of "install-sh", "install.sh", or "shtool",
3488 + # and $ac_install_sh is set appropriately for whichever one is found.
3489 + if test x"$ac_aux" = x"install-sh"
3491 + if test -f "${as_dir}install-sh"; then
3492 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
3493 + ac_install_sh="${as_dir}install-sh -c"
3494 + elif test -f "${as_dir}install.sh"; then
3495 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
3496 + ac_install_sh="${as_dir}install.sh -c"
3497 + elif test -f "${as_dir}shtool"; then
3498 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
3499 + ac_install_sh="${as_dir}shtool install -c"
3501 + ac_aux_dir_found=no
3502 + if $ac_first_candidate; then
3503 + ac_missing_aux_files="${ac_missing_aux_files} install-sh"
3509 + if test -f "${as_dir}${ac_aux}"; then
3510 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
3512 + ac_aux_dir_found=no
3513 + if $ac_first_candidate; then
3514 + ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
3521 + if test "$ac_aux_dir_found" = yes; then
3522 + ac_aux_dir="$as_dir"
3525 + ac_first_candidate=false
3534 + as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
3538 +# These three variables are undocumented and unsupported,
3539 +# and are intended to be withdrawn in a future Autoconf release.
3540 +# They can cause serious problems if a builder's source tree is in a directory
3541 +# whose full name contains unusual characters.
3542 +if test -f "${ac_aux_dir}config.guess"; then
3543 + ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
3545 +if test -f "${ac_aux_dir}config.sub"; then
3546 + ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
3548 +if test -f "$ac_aux_dir/configure"; then
3549 + ac_configure="$SHELL ${ac_aux_dir}configure"
3552 +# Check that the precious variables saved in the cache have kept the same
3554 +ac_cache_corrupted=false
3555 +for ac_var in $ac_precious_vars; do
3556 + eval ac_old_set=\$ac_cv_env_${ac_var}_set
3557 + eval ac_new_set=\$ac_env_${ac_var}_set
3558 + eval ac_old_val=\$ac_cv_env_${ac_var}_value
3559 + eval ac_new_val=\$ac_env_${ac_var}_value
3560 + case $ac_old_set,$ac_new_set in
3562 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3563 +printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3564 + ac_cache_corrupted=: ;;
3566 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3567 +printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3568 + ac_cache_corrupted=: ;;
3571 + if test "x$ac_old_val" != "x$ac_new_val"; then
3572 + # differences in whitespace do not lead to failure.
3573 + ac_old_val_w=`echo x $ac_old_val`
3574 + ac_new_val_w=`echo x $ac_new_val`
3575 + if test "$ac_old_val_w" != "$ac_new_val_w"; then
3576 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3577 +printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3578 + ac_cache_corrupted=:
3580 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3581 +printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3582 + eval $ac_var=\$ac_old_val
3584 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3585 +printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
3586 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3587 +printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
3590 + # Pass precious variables to config.status.
3591 + if test "$ac_new_set" = set; then
3592 + case $ac_new_val in
3593 + *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3594 + *) ac_arg=$ac_var=$ac_new_val ;;
3596 + case " $ac_configure_args " in
3597 + *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3598 + *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3602 +if $ac_cache_corrupted; then
3603 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3604 +printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3605 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3606 +printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
3607 + as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
3608 + and start over" "$LINENO" 5
3610 +## -------------------- ##
3611 +## Main body of script. ##
3612 +## -------------------- ##
3615 +ac_cpp='$CPP $CPPFLAGS'
3616 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3617 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3618 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
3629 + # Make sure we can run config.sub.
3630 +$SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
3631 + as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
3633 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3634 +printf %s "checking build system type... " >&6; }
3635 +if test ${ac_cv_build+y}
3637 + printf %s "(cached) " >&6
3639 + ac_build_alias=$build_alias
3640 +test "x$ac_build_alias" = x &&
3641 + ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
3642 +test "x$ac_build_alias" = x &&
3643 + as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3644 +ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
3645 + as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
3648 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3649 +printf "%s\n" "$ac_cv_build" >&6; }
3650 +case $ac_cv_build in
3652 +*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3655 +ac_save_IFS=$IFS; IFS='-'
3661 +# Remember, the first character of IFS is used to create $*,
3662 +# except with old shells:
3665 +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3668 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3669 +printf %s "checking host system type... " >&6; }
3670 +if test ${ac_cv_host+y}
3672 + printf %s "(cached) " >&6
3674 + if test "x$host_alias" = x; then
3675 + ac_cv_host=$ac_cv_build
3677 + ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
3678 + as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
3682 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3683 +printf "%s\n" "$ac_cv_host" >&6; }
3684 +case $ac_cv_host in
3686 +*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3689 +ac_save_IFS=$IFS; IFS='-'
3695 +# Remember, the first character of IFS is used to create $*,
3696 +# except with old shells:
3699 +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3702 +am__api_version='1.12'
3705 + # Find a good install program. We prefer a C program (faster),
3706 +# so one script is as good as another. But avoid the broken or
3707 +# incompatible versions:
3708 +# SysV /etc/install, /usr/sbin/install
3709 +# SunOS /usr/etc/install
3710 +# IRIX /sbin/install
3712 +# AmigaOS /C/install, which installs bootblocks on floppy discs
3713 +# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3714 +# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3715 +# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3716 +# OS/2's system install, which has a completely different semantic
3717 +# ./install, which can be erroneously created by make from ./install.sh.
3718 +# Reject install programs that cannot install multiple files.
3719 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3720 +printf %s "checking for a BSD-compatible install... " >&6; }
3721 +if test -z "$INSTALL"; then
3722 +if test ${ac_cv_path_install+y}
3724 + printf %s "(cached) " >&6
3726 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3727 +for as_dir in $PATH
3730 + case $as_dir in #(((
3733 + *) as_dir=$as_dir/ ;;
3735 + # Account for fact that we put trailing slashes in our PATH walk.
3736 +case $as_dir in #((
3738 + /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3739 + ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3742 + # OSF1 and SCO ODT 3.0 have their own names for install.
3743 + # Don't use installbsd from OSF since it installs stuff as root
3745 + for ac_prog in ginstall scoinst install; do
3746 + for ac_exec_ext in '' $ac_executable_extensions; do
3747 + if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
3748 + if test $ac_prog = install &&
3749 + grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3750 + # AIX install. It has an incompatible calling convention.
3752 + elif test $ac_prog = install &&
3753 + grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3754 + # program-specific install script used by HP pwplus--don't use.
3757 + rm -rf conftest.one conftest.two conftest.dir
3758 + echo one > conftest.one
3759 + echo two > conftest.two
3760 + mkdir conftest.dir
3761 + if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
3762 + test -s conftest.one && test -s conftest.two &&
3763 + test -s conftest.dir/conftest.one &&
3764 + test -s conftest.dir/conftest.two
3766 + ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
3779 +rm -rf conftest.one conftest.two conftest.dir
3782 + if test ${ac_cv_path_install+y}; then
3783 + INSTALL=$ac_cv_path_install
3785 + # As a last resort, use the slow shell script. Don't cache a
3786 + # value for INSTALL within a source directory, because that will
3787 + # break other packages using the cache if that directory is
3788 + # removed, or if the value is a relative name.
3789 + INSTALL=$ac_install_sh
3792 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3793 +printf "%s\n" "$INSTALL" >&6; }
3795 +# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3796 +# It thinks the first close brace ends the variable substitution.
3797 +test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3799 +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3801 +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3803 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3804 +printf %s "checking whether build environment is sane... " >&6; }
3805 +# Reject unsafe characters in $srcdir or the absolute working directory
3806 +# name. Accept space and tab only in the latter.
3810 + *[\\\"\#\$\&\'\`$am_lf]*)
3811 + as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3814 + *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3815 + as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3818 +# Do 'set' in a subshell so we don't clobber the current shell's
3819 +# arguments. Must try -L first in case configure is actually a
3820 +# symlink; some systems play weird games with the mod time of symlinks
3821 +# (eg FreeBSD returns the mod time of the symlink's containing
3825 + for am_try in 1 2; do
3826 + echo "timestamp, slept: $am_has_slept" > conftest.file
3827 + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3828 + if test "$*" = "X"; then
3830 + set X `ls -t "$srcdir/configure" conftest.file`
3832 + if test "$*" != "X $srcdir/configure conftest.file" \
3833 + && test "$*" != "X conftest.file $srcdir/configure"; then
3835 + # If neither matched, then we have a broken ls. This can happen
3836 + # if, for instance, CONFIG_SHELL is bash and it inherits a
3837 + # broken ls alias from the environment. This has actually
3838 + # happened. Such a system could not be considered "sane".
3839 + as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3840 + alias in your environment" "$LINENO" 5
3842 + if test "$2" = conftest.file || test $am_try -eq 2; then
3849 + test "$2" = conftest.file
3855 + as_fn_error $? "newly created file is older than distributed files!
3856 +Check your system clock" "$LINENO" 5
3858 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3859 +printf "%s\n" "yes" >&6; }
3860 +# If we didn't sleep, we still need to ensure time stamps of config.status and
3861 +# generated files are strictly newer.
3863 +if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3868 +rm -f conftest.file
3870 +test "$program_prefix" != NONE &&
3871 + program_transform_name="s&^&$program_prefix&;$program_transform_name"
3872 +# Use a double $ so make ignores it.
3873 +test "$program_suffix" != NONE &&
3874 + program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3875 +# Double any \ or $.
3876 +# By default was `s,x,x', remove it if useless.
3877 +ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3878 +program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
3880 +# expand $ac_aux_dir to an absolute path
3881 +am_aux_dir=`cd $ac_aux_dir && pwd`
3884 + if test x"${MISSING+set}" != xset; then
3885 + case $am_aux_dir in
3887 + MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3889 + MISSING="\${SHELL} $am_aux_dir/missing" ;;
3892 +# Use eval to expand $SHELL
3893 +if eval "$MISSING --run true"; then
3894 + am_missing_run="$MISSING --run "
3897 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3898 +printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3901 +if test x"${install_sh}" != xset; then
3902 + case $am_aux_dir in
3904 + install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3906 + install_sh="\${SHELL} $am_aux_dir/install-sh"
3910 +# Installed binaries are usually stripped using 'strip' when the user
3911 +# run "make install-strip". However 'strip' might not be the right
3912 +# tool to use in cross-compilation environments, therefore Automake
3913 +# will honor the 'STRIP' environment variable to overrule this program.
3914 +if test "$cross_compiling" != no; then
3915 + if test -n "$ac_tool_prefix"; then
3916 + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3917 +set dummy ${ac_tool_prefix}strip; ac_word=$2
3918 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3919 +printf %s "checking for $ac_word... " >&6; }
3920 +if test ${ac_cv_prog_STRIP+y}
3922 + printf %s "(cached) " >&6
3924 + if test -n "$STRIP"; then
3925 + ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3927 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3928 +for as_dir in $PATH
3931 + case $as_dir in #(((
3934 + *) as_dir=$as_dir/ ;;
3936 + for ac_exec_ext in '' $ac_executable_extensions; do
3937 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3938 + ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3939 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3948 +STRIP=$ac_cv_prog_STRIP
3949 +if test -n "$STRIP"; then
3950 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3951 +printf "%s\n" "$STRIP" >&6; }
3953 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3954 +printf "%s\n" "no" >&6; }
3959 +if test -z "$ac_cv_prog_STRIP"; then
3960 + ac_ct_STRIP=$STRIP
3961 + # Extract the first word of "strip", so it can be a program name with args.
3962 +set dummy strip; ac_word=$2
3963 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3964 +printf %s "checking for $ac_word... " >&6; }
3965 +if test ${ac_cv_prog_ac_ct_STRIP+y}
3967 + printf %s "(cached) " >&6
3969 + if test -n "$ac_ct_STRIP"; then
3970 + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3972 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3973 +for as_dir in $PATH
3976 + case $as_dir in #(((
3979 + *) as_dir=$as_dir/ ;;
3981 + for ac_exec_ext in '' $ac_executable_extensions; do
3982 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3983 + ac_cv_prog_ac_ct_STRIP="strip"
3984 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3993 +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3994 +if test -n "$ac_ct_STRIP"; then
3995 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3996 +printf "%s\n" "$ac_ct_STRIP" >&6; }
3998 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3999 +printf "%s\n" "no" >&6; }
4002 + if test "x$ac_ct_STRIP" = x; then
4005 + case $cross_compiling:$ac_tool_warned in
4007 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4008 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4009 +ac_tool_warned=yes ;;
4011 + STRIP=$ac_ct_STRIP
4014 + STRIP="$ac_cv_prog_STRIP"
4018 +INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
4021 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
4022 +printf %s "checking for a race-free mkdir -p... " >&6; }
4023 +if test -z "$MKDIR_P"; then
4024 + if test ${ac_cv_path_mkdir+y}
4026 + printf %s "(cached) " >&6
4028 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4029 +for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
4032 + case $as_dir in #(((
4035 + *) as_dir=$as_dir/ ;;
4037 + for ac_prog in mkdir gmkdir; do
4038 + for ac_exec_ext in '' $ac_executable_extensions; do
4039 + as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
4040 + case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
4041 + 'mkdir ('*'coreutils) '* | \
4043 + 'mkdir (fileutils) '4.1*)
4044 + ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
4054 + test -d ./--version && rmdir ./--version
4055 + if test ${ac_cv_path_mkdir+y}; then
4056 + MKDIR_P="$ac_cv_path_mkdir -p"
4058 + # As a last resort, use the slow shell script. Don't cache a
4059 + # value for MKDIR_P within a source directory, because that will
4060 + # break other packages using the cache if that directory is
4061 + # removed, or if the value is a relative name.
4062 + MKDIR_P="$ac_install_sh -d"
4065 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4066 +printf "%s\n" "$MKDIR_P" >&6; }
4068 +for ac_prog in gawk mawk nawk awk
4070 + # Extract the first word of "$ac_prog", so it can be a program name with args.
4071 +set dummy $ac_prog; ac_word=$2
4072 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4073 +printf %s "checking for $ac_word... " >&6; }
4074 +if test ${ac_cv_prog_AWK+y}
4076 + printf %s "(cached) " >&6
4078 + if test -n "$AWK"; then
4079 + ac_cv_prog_AWK="$AWK" # Let the user override the test.
4081 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4082 +for as_dir in $PATH
4085 + case $as_dir in #(((
4088 + *) as_dir=$as_dir/ ;;
4090 + for ac_exec_ext in '' $ac_executable_extensions; do
4091 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4092 + ac_cv_prog_AWK="$ac_prog"
4093 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4102 +AWK=$ac_cv_prog_AWK
4103 +if test -n "$AWK"; then
4104 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4105 +printf "%s\n" "$AWK" >&6; }
4107 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4108 +printf "%s\n" "no" >&6; }
4112 + test -n "$AWK" && break
4115 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4116 +printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4118 +ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4119 +if eval test \${ac_cv_prog_make_${ac_make}_set+y}
4121 + printf %s "(cached) " >&6
4123 + cat >conftest.make <<\_ACEOF
4126 + @echo '@@@%%%=$(MAKE)=@@@%%%'
4128 +# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4129 +case `${MAKE-make} -f conftest.make 2>/dev/null` in
4130 + *@@@%%%=?*=@@@%%%*)
4131 + eval ac_cv_prog_make_${ac_make}_set=yes;;
4133 + eval ac_cv_prog_make_${ac_make}_set=no;;
4135 +rm -f conftest.make
4137 +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4138 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4139 +printf "%s\n" "yes" >&6; }
4142 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4143 +printf "%s\n" "no" >&6; }
4144 + SET_MAKE="MAKE=${MAKE-make}"
4147 +rm -rf .tst 2>/dev/null
4148 +mkdir .tst 2>/dev/null
4149 +if test -d .tst; then
4154 +rmdir .tst 2>/dev/null
4156 +DEPDIR="${am__leading_dot}deps"
4158 +ac_config_commands="$ac_config_commands depfiles"
4161 +am_make=${MAKE-make}
4162 +cat > confinc << 'END'
4164 + @echo this is the am__doit target
4167 +# If we don't find an include directive, just comment out the code.
4168 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4169 +printf %s "checking for style of include used by $am_make... " >&6; }
4173 +# First try GNU make style include.
4174 +echo "include confinc" > confmf
4175 +# Ignore all kinds of additional output from 'make'.
4176 +case `$am_make -s -f confmf 2> /dev/null` in #(
4177 +*the\ am__doit\ target*)
4178 + am__include=include
4183 +# Now try BSD make style include.
4184 +if test "$am__include" = "#"; then
4185 + echo '.include "confinc"' > confmf
4186 + case `$am_make -s -f confmf 2> /dev/null` in #(
4187 + *the\ am__doit\ target*)
4188 + am__include=.include
4196 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4197 +printf "%s\n" "$_am_result" >&6; }
4198 +rm -f confinc confmf
4200 +# Check whether --enable-dependency-tracking was given.
4201 +if test ${enable_dependency_tracking+y}
4203 + enableval=$enable_dependency_tracking;
4206 +if test "x$enable_dependency_tracking" != xno; then
4207 + am_depcomp="$ac_aux_dir/depcomp"
4208 + AMDEPBACKSLASH='\'
4211 + if test "x$enable_dependency_tracking" != xno; then
4221 +# Check whether --enable-multilib was given.
4222 +if test ${enable_multilib+y}
4224 + enableval=$enable_multilib; case "${enableval}" in
4225 + yes) multilib=yes ;;
4226 + no) multilib=no ;;
4227 + *) as_fn_error $? "bad value ${enableval} for multilib option" "$LINENO" 5 ;;
4233 +# Check whether --enable-target-optspace was given.
4234 +if test ${enable_target_optspace+y}
4236 + enableval=$enable_target_optspace; case "${enableval}" in
4237 + yes) target_optspace=yes ;;
4238 + no) target_optspace=no ;;
4239 + *) as_fn_error $? "bad value ${enableval} for target-optspace option" "$LINENO" 5 ;;
4245 +# Check whether --enable-malloc-debugging was given.
4246 +if test ${enable_malloc_debugging+y}
4248 + enableval=$enable_malloc_debugging; case "${enableval}" in
4249 + yes) malloc_debugging=yes ;;
4250 + no) malloc_debugging=no ;;
4251 + *) as_fn_error $? "bad value ${enableval} for malloc-debugging option" "$LINENO" 5 ;;
4257 +# Check whether --enable-newlib-multithread was given.
4258 +if test ${enable_newlib_multithread+y}
4260 + enableval=$enable_newlib_multithread; case "${enableval}" in
4261 + yes) newlib_multithread=yes ;;
4262 + no) newlib_multithread=no ;;
4263 + *) as_fn_error $? "bad value ${enableval} for newlib-multithread option" "$LINENO" 5 ;;
4266 + newlib_multithread=yes
4269 +# Check whether --enable-newlib-iconv was given.
4270 +if test ${enable_newlib_iconv+y}
4272 + enableval=$enable_newlib_iconv; if test "${newlib_iconv+set}" != set; then
4273 + case "${enableval}" in
4274 + yes) newlib_iconv=yes ;;
4275 + no) newlib_iconv=no ;;
4276 + *) as_fn_error $? "bad value ${enableval} for newlib-iconv option" "$LINENO" 5 ;;
4280 + newlib_iconv=${newlib_iconv}
4283 +# Check whether --enable-newlib-elix-level was given.
4284 +if test ${enable_newlib_elix_level+y}
4286 + enableval=$enable_newlib_elix_level; case "${enableval}" in
4287 + 0) newlib_elix_level=0 ;;
4288 + 1) newlib_elix_level=1 ;;
4289 + 2) newlib_elix_level=2 ;;
4290 + 3) newlib_elix_level=3 ;;
4291 + 4) newlib_elix_level=4 ;;
4292 + *) as_fn_error $? "bad value ${enableval} for newlib-elix-level option" "$LINENO" 5 ;;
4295 + newlib_elix_level=0
4298 +# Check whether --enable-newlib-io-float was given.
4299 +if test ${enable_newlib_io_float+y}
4301 + enableval=$enable_newlib_io_float; case "${enableval}" in
4302 + yes) newlib_io_float=yes ;;
4303 + no) newlib_io_float=no ;;
4304 + *) as_fn_error $? "bad value ${enableval} for newlib-io-float option" "$LINENO" 5 ;;
4307 + newlib_io_float=yes
4310 +# Check whether --enable-newlib-supplied-syscalls was given.
4311 +if test ${enable_newlib_supplied_syscalls+y}
4313 + enableval=$enable_newlib_supplied_syscalls; case "${enableval}" in
4314 + yes) newlib_may_supply_syscalls=yes ;;
4315 + no) newlib_may_supply_syscalls=no ;;
4316 + *) as_fn_error $? "bad value ${enableval} for newlib-supplied-syscalls option" "$LINENO" 5 ;;
4319 + newlib_may_supply_syscalls=yes
4322 + if test x${newlib_may_supply_syscalls} = xyes; then
4323 + MAY_SUPPLY_SYSCALLS_TRUE=
4324 + MAY_SUPPLY_SYSCALLS_FALSE='#'
4326 + MAY_SUPPLY_SYSCALLS_TRUE='#'
4327 + MAY_SUPPLY_SYSCALLS_FALSE=
4331 +# Check whether --enable-newlib-fno-builtin was given.
4332 +if test ${enable_newlib_fno_builtin+y}
4334 + enableval=$enable_newlib_fno_builtin; case "${enableval}" in
4335 + yes) newlib_fno_builtin=yes ;;
4336 + no) newlib_fno_builtin=no ;;
4337 + *) as_fn_error $? "bad value ${enableval} for newlib-fno-builtin option" "$LINENO" 5 ;;
4340 + newlib_fno_builtin=
4345 +test -z "${with_target_subdir}" && with_target_subdir=.
4347 +if test "${srcdir}" = "."; then
4348 + if test "${with_target_subdir}" != "."; then
4349 + newlib_basedir="${srcdir}/${with_multisrctop}../../../.."
4351 + newlib_basedir="${srcdir}/${with_multisrctop}../../.."
4354 + newlib_basedir="${srcdir}/../../.."
4360 +if test "`cd $srcdir && pwd`" != "`pwd`"; then
4361 + # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4362 + # is not polluted with repeated "-I."
4363 + am__isrc=' -I$(srcdir)'
4364 + # test to see if srcdir already configured
4365 + if test -f $srcdir/config.status; then
4366 + as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4370 +# test whether we have cygpath
4371 +if test -z "$CYGPATH_W"; then
4372 + if (cygpath --version) >/dev/null 2>/dev/null; then
4373 + CYGPATH_W='cygpath -w'
4380 +# Define the identity of the package.
4385 +# Some tools Automake needs.
4387 +ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4390 +AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
4393 +AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4396 +AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
4399 +MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
4401 +# For better backward compatibility. To be removed once Automake 1.9.x
4402 +# dies out for good. For more background, see:
4403 +# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
4404 +# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
4405 +mkdir_p='$(MKDIR_P)'
4407 +# We need awk for the "check" target. The system "awk" is bad on
4409 +# Always define AMTAR for backward compatibility. Yes, it's still used
4410 +# in the wild :-( We should find a proper way to deprecate it ...
4411 +AMTAR='$${TAR-tar}'
4413 +am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
4420 +# FIXME: We temporarily define our own version of AC_PROG_CC. This is
4421 +# copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
4422 +# are probably using a cross compiler, which will not be able to fully
4423 +# link an executable. This should really be fixed in autoconf
4432 +# Extract the first word of "gcc", so it can be a program name with args.
4433 +set dummy gcc; ac_word=$2
4434 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4435 +printf %s "checking for $ac_word... " >&6; }
4436 +if test ${ac_cv_prog_CC+y}
4438 + printf %s "(cached) " >&6
4440 + if test -n "$CC"; then
4441 + ac_cv_prog_CC="$CC" # Let the user override the test.
4443 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4444 +for as_dir in $PATH
4447 + case $as_dir in #(((
4450 + *) as_dir=$as_dir/ ;;
4452 + for ac_exec_ext in '' $ac_executable_extensions; do
4453 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4454 + ac_cv_prog_CC="gcc"
4455 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4465 +if test -n "$CC"; then
4466 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4467 +printf "%s\n" "$CC" >&6; }
4469 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4470 +printf "%s\n" "no" >&6; }
4475 +depcc="$CC" am_compiler_list=
4477 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4478 +printf %s "checking dependency style of $depcc... " >&6; }
4479 +if test ${am_cv_CC_dependencies_compiler_type+y}
4481 + printf %s "(cached) " >&6
4483 + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4484 + # We make a subdir and do the tests there. Otherwise we can end up
4485 + # making bogus files that we don't know about and never remove. For
4486 + # instance it was reported that on HP-UX the gcc test will end up
4487 + # making a dummy file named 'D' -- because '-MD' means "put the output
4489 + rm -rf conftest.dir
4490 + mkdir conftest.dir
4491 + # Copy depcomp to subdir because otherwise we won't find it if we're
4492 + # using a relative directory.
4493 + cp "$am_depcomp" conftest.dir
4495 + # We will build objects and dependencies in a subdirectory because
4496 + # it helps to detect inapplicable dependency modes. For instance
4497 + # both Tru64's cc and ICC support -MD to output dependencies as a
4498 + # side effect of compilation, but ICC will put the dependencies in
4499 + # the current directory while Tru64 will put them in the object
4503 + am_cv_CC_dependencies_compiler_type=none
4504 + if test "$am_compiler_list" = ""; then
4505 + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4507 + am__universal=false
4508 + case " $depcc " in #(
4509 + *\ -arch\ *\ -arch\ *) am__universal=true ;;
4512 + for depmode in $am_compiler_list; do
4513 + # Setup a source with many dependencies, because some compilers
4514 + # like to wrap large dependency lists on column 80 (with \), and
4515 + # we should not choose a depcomp mode which is confused by this.
4517 + # We need to recreate these files for each test, as the compiler may
4518 + # overwrite some of them when testing with obscure command lines.
4519 + # This happens at least with the AIX C compiler.
4520 + : > sub/conftest.c
4521 + for i in 1 2 3 4 5 6; do
4522 + echo '#include "conftst'$i'.h"' >> sub/conftest.c
4523 + # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4524 + # Solaris 10 /bin/sh.
4525 + echo '/* dummy */' > sub/conftst$i.h
4527 + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4529 + # We check with '-c' and '-o' for the sake of the "dashmstdout"
4530 + # mode. It turns out that the SunPro C++ compiler does not properly
4531 + # handle '-M -o', and we need to detect this. Also, some Intel
4532 + # versions had trouble with output in subdirs.
4533 + am__obj=sub/conftest.${OBJEXT-o}
4534 + am__minus_obj="-o $am__obj"
4537 + # This depmode causes a compiler race in universal mode.
4538 + test "$am__universal" = false || continue
4541 + # After this tag, mechanisms are not by side-effect, so they'll
4542 + # only be used when explicitly requested.
4543 + if test "x$enable_dependency_tracking" = xyes; then
4549 + msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4550 + # This compiler won't grok '-c -o', but also, the minuso test has
4551 + # not run yet. These depmodes are late enough in the game, and
4552 + # so weak that their functioning should not be impacted.
4553 + am__obj=conftest.${OBJEXT-o}
4558 + if depmode=$depmode \
4559 + source=sub/conftest.c object=$am__obj \
4560 + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4561 + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4562 + >/dev/null 2>conftest.err &&
4563 + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4564 + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4565 + grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4566 + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4567 + # icc doesn't choke on unknown options, it will just issue warnings
4568 + # or remarks (even with -Werror). So we grep stderr for any message
4569 + # that says an option was ignored or not supported.
4570 + # When given -MP, icc 7.0 and 7.1 complain thusly:
4571 + # icc: Command line warning: ignoring option '-M'; no argument required
4572 + # The diagnosis changed in icc 8.0:
4573 + # icc: Command line remark: option '-MP' not supported
4574 + if (grep 'ignoring option' conftest.err ||
4575 + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4576 + am_cv_CC_dependencies_compiler_type=$depmode
4583 + rm -rf conftest.dir
4585 + am_cv_CC_dependencies_compiler_type=none
4589 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4590 +printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
4591 +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4594 + test "x$enable_dependency_tracking" != xno \
4595 + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4596 + am__fastdepCC_TRUE=
4597 + am__fastdepCC_FALSE='#'
4599 + am__fastdepCC_TRUE='#'
4600 + am__fastdepCC_FALSE=
4604 +if test -z "$CC"; then
4605 + # Extract the first word of "cc", so it can be a program name with args.
4606 +set dummy cc; ac_word=$2
4607 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4608 +printf %s "checking for $ac_word... " >&6; }
4609 +if test ${ac_cv_prog_CC+y}
4611 + printf %s "(cached) " >&6
4613 + if test -n "$CC"; then
4614 + ac_cv_prog_CC="$CC" # Let the user override the test.
4616 + ac_prog_rejected=no
4617 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4618 +for as_dir in $PATH
4621 + case $as_dir in #(((
4624 + *) as_dir=$as_dir/ ;;
4626 + for ac_exec_ext in '' $ac_executable_extensions; do
4627 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4628 + if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4629 + ac_prog_rejected=yes
4632 + ac_cv_prog_CC="cc"
4633 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4640 +if test $ac_prog_rejected = yes; then
4641 + # We found a bogon in the path, so make sure we never use it.
4642 + set dummy $ac_cv_prog_CC
4644 + if test $# != 0; then
4645 + # We chose a different compiler from the bogus one.
4646 + # However, it has the same basename, so the bogon will be chosen
4647 + # first if we set CC to just the basename; use the full file name.
4649 + ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
4655 +if test -n "$CC"; then
4656 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4657 +printf "%s\n" "$CC" >&6; }
4659 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4660 +printf "%s\n" "no" >&6; }
4664 + test -z "$CC" && as_fn_error $? "no acceptable cc found in \$PATH" "$LINENO" 5
4667 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are using GNU C" >&5
4668 +printf %s "checking whether we are using GNU C... " >&6; }
4669 +if test ${ac_cv_c_compiler_gnu+y}
4671 + printf %s "(cached) " >&6
4673 + cat > conftest.c <<EOF
4678 +if { ac_try='${CC-cc} -E conftest.c'
4679 + { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
4680 + (eval $ac_try) 2>&5
4682 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4683 + test $ac_status = 0; }; } | egrep yes >/dev/null 2>&1; then
4684 + ac_cv_c_compiler_gnu=yes
4686 + ac_cv_c_compiler_gnu=no
4689 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4690 +printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
4692 +if test $ac_cv_c_compiler_gnu = yes; then
4694 + ac_test_CFLAGS="${CFLAGS+set}"
4695 + ac_save_CFLAGS="$CFLAGS"
4696 + ac_test_CFLAGS=${CFLAGS+y}
4697 +ac_save_CFLAGS=$CFLAGS
4698 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4699 +printf %s "checking whether $CC accepts -g... " >&6; }
4700 +if test ${ac_cv_prog_cc_g+y}
4702 + printf %s "(cached) " >&6
4704 + ac_save_c_werror_flag=$ac_c_werror_flag
4705 + ac_c_werror_flag=yes
4706 + ac_cv_prog_cc_g=no
4708 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4709 +/* end confdefs.h. */
4719 +if ac_fn_c_try_compile "$LINENO"
4721 + ac_cv_prog_cc_g=yes
4724 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4725 +/* end confdefs.h. */
4735 +if ac_fn_c_try_compile "$LINENO"
4739 + ac_c_werror_flag=$ac_save_c_werror_flag
4741 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4742 +/* end confdefs.h. */
4752 +if ac_fn_c_try_compile "$LINENO"
4754 + ac_cv_prog_cc_g=yes
4756 +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4758 +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4760 +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4761 + ac_c_werror_flag=$ac_save_c_werror_flag
4763 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4764 +printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
4765 +if test $ac_test_CFLAGS; then
4766 + CFLAGS=$ac_save_CFLAGS
4767 +elif test $ac_cv_prog_cc_g = yes; then
4768 + if test "$GCC" = yes; then
4774 + if test "$GCC" = yes; then
4780 + if test "$ac_test_CFLAGS" = set; then
4781 + CFLAGS="$ac_save_CFLAGS"
4782 + elif test $ac_cv_prog_cc_g = yes; then
4789 + test "${CFLAGS+set}" = set || CFLAGS="-g"
4793 +if test -n "$ac_tool_prefix"; then
4794 + # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4795 +set dummy ${ac_tool_prefix}as; ac_word=$2
4796 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4797 +printf %s "checking for $ac_word... " >&6; }
4798 +if test ${ac_cv_prog_AS+y}
4800 + printf %s "(cached) " >&6
4802 + if test -n "$AS"; then
4803 + ac_cv_prog_AS="$AS" # Let the user override the test.
4805 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4806 +for as_dir in $PATH
4809 + case $as_dir in #(((
4812 + *) as_dir=$as_dir/ ;;
4814 + for ac_exec_ext in '' $ac_executable_extensions; do
4815 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4816 + ac_cv_prog_AS="${ac_tool_prefix}as"
4817 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4827 +if test -n "$AS"; then
4828 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4829 +printf "%s\n" "$AS" >&6; }
4831 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4832 +printf "%s\n" "no" >&6; }
4837 +if test -z "$ac_cv_prog_AS"; then
4839 + # Extract the first word of "as", so it can be a program name with args.
4840 +set dummy as; ac_word=$2
4841 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4842 +printf %s "checking for $ac_word... " >&6; }
4843 +if test ${ac_cv_prog_ac_ct_AS+y}
4845 + printf %s "(cached) " >&6
4847 + if test -n "$ac_ct_AS"; then
4848 + ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4850 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4851 +for as_dir in $PATH
4854 + case $as_dir in #(((
4857 + *) as_dir=$as_dir/ ;;
4859 + for ac_exec_ext in '' $ac_executable_extensions; do
4860 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4861 + ac_cv_prog_ac_ct_AS="as"
4862 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4871 +ac_ct_AS=$ac_cv_prog_ac_ct_AS
4872 +if test -n "$ac_ct_AS"; then
4873 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4874 +printf "%s\n" "$ac_ct_AS" >&6; }
4876 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4877 +printf "%s\n" "no" >&6; }
4880 + if test "x$ac_ct_AS" = x; then
4883 + case $cross_compiling:$ac_tool_warned in
4885 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4886 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4887 +ac_tool_warned=yes ;;
4892 + AS="$ac_cv_prog_AS"
4895 +if test -n "$ac_tool_prefix"; then
4896 + # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4897 +set dummy ${ac_tool_prefix}ar; ac_word=$2
4898 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4899 +printf %s "checking for $ac_word... " >&6; }
4900 +if test ${ac_cv_prog_AR+y}
4902 + printf %s "(cached) " >&6
4904 + if test -n "$AR"; then
4905 + ac_cv_prog_AR="$AR" # Let the user override the test.
4907 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4908 +for as_dir in $PATH
4911 + case $as_dir in #(((
4914 + *) as_dir=$as_dir/ ;;
4916 + for ac_exec_ext in '' $ac_executable_extensions; do
4917 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4918 + ac_cv_prog_AR="${ac_tool_prefix}ar"
4919 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4929 +if test -n "$AR"; then
4930 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4931 +printf "%s\n" "$AR" >&6; }
4933 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4934 +printf "%s\n" "no" >&6; }
4939 +if test -z "$ac_cv_prog_AR"; then
4941 + # Extract the first word of "ar", so it can be a program name with args.
4942 +set dummy ar; ac_word=$2
4943 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4944 +printf %s "checking for $ac_word... " >&6; }
4945 +if test ${ac_cv_prog_ac_ct_AR+y}
4947 + printf %s "(cached) " >&6
4949 + if test -n "$ac_ct_AR"; then
4950 + ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4952 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4953 +for as_dir in $PATH
4956 + case $as_dir in #(((
4959 + *) as_dir=$as_dir/ ;;
4961 + for ac_exec_ext in '' $ac_executable_extensions; do
4962 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4963 + ac_cv_prog_ac_ct_AR="ar"
4964 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4973 +ac_ct_AR=$ac_cv_prog_ac_ct_AR
4974 +if test -n "$ac_ct_AR"; then
4975 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4976 +printf "%s\n" "$ac_ct_AR" >&6; }
4978 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4979 +printf "%s\n" "no" >&6; }
4982 + if test "x$ac_ct_AR" = x; then
4985 + case $cross_compiling:$ac_tool_warned in
4987 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4988 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4989 +ac_tool_warned=yes ;;
4994 + AR="$ac_cv_prog_AR"
4997 +if test -n "$ac_tool_prefix"; then
4998 + # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4999 +set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5000 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5001 +printf %s "checking for $ac_word... " >&6; }
5002 +if test ${ac_cv_prog_RANLIB+y}
5004 + printf %s "(cached) " >&6
5006 + if test -n "$RANLIB"; then
5007 + ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5009 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5010 +for as_dir in $PATH
5013 + case $as_dir in #(((
5016 + *) as_dir=$as_dir/ ;;
5018 + for ac_exec_ext in '' $ac_executable_extensions; do
5019 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5020 + ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5021 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5030 +RANLIB=$ac_cv_prog_RANLIB
5031 +if test -n "$RANLIB"; then
5032 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5033 +printf "%s\n" "$RANLIB" >&6; }
5035 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5036 +printf "%s\n" "no" >&6; }
5041 +if test -z "$ac_cv_prog_RANLIB"; then
5042 + ac_ct_RANLIB=$RANLIB
5043 + # Extract the first word of "ranlib", so it can be a program name with args.
5044 +set dummy ranlib; ac_word=$2
5045 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5046 +printf %s "checking for $ac_word... " >&6; }
5047 +if test ${ac_cv_prog_ac_ct_RANLIB+y}
5049 + printf %s "(cached) " >&6
5051 + if test -n "$ac_ct_RANLIB"; then
5052 + ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5054 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5055 +for as_dir in $PATH
5058 + case $as_dir in #(((
5061 + *) as_dir=$as_dir/ ;;
5063 + for ac_exec_ext in '' $ac_executable_extensions; do
5064 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5065 + ac_cv_prog_ac_ct_RANLIB="ranlib"
5066 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5075 +ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5076 +if test -n "$ac_ct_RANLIB"; then
5077 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5078 +printf "%s\n" "$ac_ct_RANLIB" >&6; }
5080 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5081 +printf "%s\n" "no" >&6; }
5084 + if test "x$ac_ct_RANLIB" = x; then
5087 + case $cross_compiling:$ac_tool_warned in
5089 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5090 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5091 +ac_tool_warned=yes ;;
5093 + RANLIB=$ac_ct_RANLIB
5096 + RANLIB="$ac_cv_prog_RANLIB"
5099 +if test -n "$ac_tool_prefix"; then
5100 + # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
5101 +set dummy ${ac_tool_prefix}readelf; ac_word=$2
5102 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5103 +printf %s "checking for $ac_word... " >&6; }
5104 +if test ${ac_cv_prog_READELF+y}
5106 + printf %s "(cached) " >&6
5108 + if test -n "$READELF"; then
5109 + ac_cv_prog_READELF="$READELF" # Let the user override the test.
5111 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5112 +for as_dir in $PATH
5115 + case $as_dir in #(((
5118 + *) as_dir=$as_dir/ ;;
5120 + for ac_exec_ext in '' $ac_executable_extensions; do
5121 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5122 + ac_cv_prog_READELF="${ac_tool_prefix}readelf"
5123 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5132 +READELF=$ac_cv_prog_READELF
5133 +if test -n "$READELF"; then
5134 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
5135 +printf "%s\n" "$READELF" >&6; }
5137 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5138 +printf "%s\n" "no" >&6; }
5143 +if test -z "$ac_cv_prog_READELF"; then
5144 + ac_ct_READELF=$READELF
5145 + # Extract the first word of "readelf", so it can be a program name with args.
5146 +set dummy readelf; ac_word=$2
5147 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5148 +printf %s "checking for $ac_word... " >&6; }
5149 +if test ${ac_cv_prog_ac_ct_READELF+y}
5151 + printf %s "(cached) " >&6
5153 + if test -n "$ac_ct_READELF"; then
5154 + ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
5156 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5157 +for as_dir in $PATH
5160 + case $as_dir in #(((
5163 + *) as_dir=$as_dir/ ;;
5165 + for ac_exec_ext in '' $ac_executable_extensions; do
5166 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5167 + ac_cv_prog_ac_ct_READELF="readelf"
5168 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5177 +ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
5178 +if test -n "$ac_ct_READELF"; then
5179 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
5180 +printf "%s\n" "$ac_ct_READELF" >&6; }
5182 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5183 +printf "%s\n" "no" >&6; }
5186 + if test "x$ac_ct_READELF" = x; then
5189 + case $cross_compiling:$ac_tool_warned in
5191 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5192 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5193 +ac_tool_warned=yes ;;
5195 + READELF=$ac_ct_READELF
5198 + READELF="$ac_cv_prog_READELF"
5204 +# Hack to ensure that INSTALL won't be set to "../" with autoconf 2.13. */
5205 +ac_given_INSTALL=$INSTALL
5208 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5209 +printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5210 + # Check whether --enable-maintainer-mode was given.
5211 +if test ${enable_maintainer_mode+y}
5213 + enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5215 + USE_MAINTAINER_MODE=no
5218 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5219 +printf "%s\n" "$USE_MAINTAINER_MODE" >&6; }
5220 + if test $USE_MAINTAINER_MODE = yes; then
5221 + MAINTAINER_MODE_TRUE=
5222 + MAINTAINER_MODE_FALSE='#'
5224 + MAINTAINER_MODE_TRUE='#'
5225 + MAINTAINER_MODE_FALSE=
5228 + MAINT=$MAINTAINER_MODE_TRUE
5231 +# By default we simply use the C compiler to build assembly code.
5233 +test "${CCAS+set}" = set || CCAS=$CC
5234 +test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
5239 +# We need AC_EXEEXT to keep automake happy in cygnus mode. However,
5240 +# at least currently, we never actually build a program, so we never
5241 +# need to use $(EXEEXT). Moreover, the test for EXEEXT normally
5242 +# fails, because we are probably configuring with a cross compiler
5243 +# which can't create executables. So we include AC_EXEEXT to keep
5244 +# automake happy, but we don't execute it, since we don't care about
5251 +. ${newlib_basedir}/configure.host
5253 +NEWLIB_CFLAGS=${newlib_cflags}
5256 +NO_INCLUDE_LIST=${noinclude}
5262 + if test x${newlib_elix_level} = x0; then
5263 + ELIX_LEVEL_0_TRUE=
5264 + ELIX_LEVEL_0_FALSE='#'
5266 + ELIX_LEVEL_0_TRUE='#'
5267 + ELIX_LEVEL_0_FALSE=
5270 + if test x${newlib_elix_level} = x1; then
5271 + ELIX_LEVEL_1_TRUE=
5272 + ELIX_LEVEL_1_FALSE='#'
5274 + ELIX_LEVEL_1_TRUE='#'
5275 + ELIX_LEVEL_1_FALSE=
5278 + if test x${newlib_elix_level} = x2; then
5279 + ELIX_LEVEL_2_TRUE=
5280 + ELIX_LEVEL_2_FALSE='#'
5282 + ELIX_LEVEL_2_TRUE='#'
5283 + ELIX_LEVEL_2_FALSE=
5286 + if test x${newlib_elix_level} = x3; then
5287 + ELIX_LEVEL_3_TRUE=
5288 + ELIX_LEVEL_3_FALSE='#'
5290 + ELIX_LEVEL_3_TRUE='#'
5291 + ELIX_LEVEL_3_FALSE=
5294 + if test x${newlib_elix_level} = x4; then
5295 + ELIX_LEVEL_4_TRUE=
5296 + ELIX_LEVEL_4_FALSE='#'
5298 + ELIX_LEVEL_4_TRUE='#'
5299 + ELIX_LEVEL_4_FALSE=
5303 + if test x${use_libtool} = xyes; then
5305 + USE_LIBTOOL_FALSE='#'
5307 + USE_LIBTOOL_TRUE='#'
5308 + USE_LIBTOOL_FALSE=
5312 +# Emit any target-specific warnings.
5313 +if test "x${newlib_msg_warn}" != "x"; then
5314 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ${newlib_msg_warn}" >&5
5315 +printf "%s\n" "$as_me: WARNING: ${newlib_msg_warn}" >&2;}
5318 +# Hard-code OBJEXT. Normally it is set by AC_OBJEXT, but we
5319 +# use oext, which is set in configure.host based on the target platform.
5332 +ac_config_files="$ac_config_files Makefile"
5334 +cat >confcache <<\_ACEOF
5335 +# This file is a shell script that caches the results of configure
5336 +# tests run on this system so they can be shared between configure
5337 +# scripts and configure runs, see configure's option --config-cache.
5338 +# It is not useful on other systems. If it contains results you don't
5339 +# want to keep, you may remove or edit it.
5341 +# config.status only pays attention to the cache file if you give it
5342 +# the --recheck option to rerun configure.
5344 +# `ac_cv_env_foo' variables (set or unset) will be overridden when
5345 +# loading this file, other *unset* `ac_cv_foo' will be assigned the
5346 +# following values.
5350 +# The following way of writing the cache mishandles newlines in values,
5351 +# but we know of no workaround that is simple, portable, and efficient.
5352 +# So, we kill variables containing newlines.
5353 +# Ultrix sh set writes to stderr and can't be redirected directly,
5354 +# and sets the high bit in the cache file unless we assign to the vars.
5356 + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5357 + eval ac_val=\$$ac_var
5358 + case $ac_val in #(
5360 + case $ac_var in #(
5361 + *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5362 +printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5364 + case $ac_var in #(
5365 + _ | IFS | as_nl) ;; #(
5366 + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5367 + *) { eval $ac_var=; unset $ac_var;} ;;
5373 + case $as_nl`(ac_space=' '; set) 2>&1` in #(
5374 + *${as_nl}ac_space=\ *)
5375 + # `set' does not quote correctly, so add quotes: double-quote
5376 + # substitution turns \\\\ into \\, and sed turns \\ into \.
5379 + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5382 + # `set' quotes correctly as required by POSIX, so do not add quotes.
5383 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5389 + /^ac_cv_env_/b end
5392 + s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
5394 + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5396 +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5397 + if test -w "$cache_file"; then
5398 + if test "x$cache_file" != "x/dev/null"; then
5399 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5400 +printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
5401 + if test ! -f "$cache_file" || test -h "$cache_file"; then
5402 + cat confcache >"$cache_file"
5404 + case $cache_file in #(
5406 + mv -f confcache "$cache_file"$$ &&
5407 + mv -f "$cache_file"$$ "$cache_file" ;; #(
5409 + mv -f confcache "$cache_file" ;;
5414 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5415 +printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
5420 +test "x$prefix" = xNONE && prefix=$ac_default_prefix
5421 +# Let make expand exec_prefix.
5422 +test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5424 +# Transform confdefs.h into DEFS.
5425 +# Protect against shell expansion while executing Makefile rules.
5426 +# Protect against Makefile macro expansion.
5428 +# If the first sed substitution is executed (which looks for macros that
5429 +# take arguments), then branch to the quote section. Otherwise,
5430 +# look for a macro that doesn't take arguments.
5440 +s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
5442 +s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
5446 +s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
5459 +DEFS=`sed -n "$ac_script" confdefs.h`
5465 +for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5466 + # 1. Remove the extension, and $U if already installed.
5467 + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5468 + ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
5469 + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5470 + # will be set to the directory where LIBOBJS objects are built.
5471 + as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5472 + as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5474 +LIBOBJS=$ac_libobjs
5476 +LTLIBOBJS=$ac_ltlibobjs
5479 +if test -z "${MAY_SUPPLY_SYSCALLS_TRUE}" && test -z "${MAY_SUPPLY_SYSCALLS_FALSE}"; then
5480 + as_fn_error $? "conditional \"MAY_SUPPLY_SYSCALLS\" was never defined.
5481 +Usually this means the macro was only invoked conditionally." "$LINENO" 5
5483 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
5484 +printf %s "checking that generated files are newer than configure... " >&6; }
5485 + if test -n "$am_sleep_pid"; then
5486 + # Hide warnings about reused PIDs.
5487 + wait $am_sleep_pid 2>/dev/null
5489 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
5490 +printf "%s\n" "done" >&6; }
5492 +if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5493 + as_fn_error $? "conditional \"AMDEP\" was never defined.
5494 +Usually this means the macro was only invoked conditionally." "$LINENO" 5
5496 +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5497 + as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
5498 +Usually this means the macro was only invoked conditionally." "$LINENO" 5
5500 +if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5501 + as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
5502 +Usually this means the macro was only invoked conditionally." "$LINENO" 5
5504 +if test -z "${ELIX_LEVEL_0_TRUE}" && test -z "${ELIX_LEVEL_0_FALSE}"; then
5505 + as_fn_error $? "conditional \"ELIX_LEVEL_0\" was never defined.
5506 +Usually this means the macro was only invoked conditionally." "$LINENO" 5
5508 +if test -z "${ELIX_LEVEL_1_TRUE}" && test -z "${ELIX_LEVEL_1_FALSE}"; then
5509 + as_fn_error $? "conditional \"ELIX_LEVEL_1\" was never defined.
5510 +Usually this means the macro was only invoked conditionally." "$LINENO" 5
5512 +if test -z "${ELIX_LEVEL_2_TRUE}" && test -z "${ELIX_LEVEL_2_FALSE}"; then
5513 + as_fn_error $? "conditional \"ELIX_LEVEL_2\" was never defined.
5514 +Usually this means the macro was only invoked conditionally." "$LINENO" 5
5516 +if test -z "${ELIX_LEVEL_3_TRUE}" && test -z "${ELIX_LEVEL_3_FALSE}"; then
5517 + as_fn_error $? "conditional \"ELIX_LEVEL_3\" was never defined.
5518 +Usually this means the macro was only invoked conditionally." "$LINENO" 5
5520 +if test -z "${ELIX_LEVEL_4_TRUE}" && test -z "${ELIX_LEVEL_4_FALSE}"; then
5521 + as_fn_error $? "conditional \"ELIX_LEVEL_4\" was never defined.
5522 +Usually this means the macro was only invoked conditionally." "$LINENO" 5
5524 +if test -z "${USE_LIBTOOL_TRUE}" && test -z "${USE_LIBTOOL_FALSE}"; then
5525 + as_fn_error $? "conditional \"USE_LIBTOOL\" was never defined.
5526 +Usually this means the macro was only invoked conditionally." "$LINENO" 5
5529 +: "${CONFIG_STATUS=./config.status}"
5531 +ac_clean_files_save=$ac_clean_files
5532 +ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5533 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5534 +printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
5536 +cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5538 +# Generated by $as_me.
5539 +# Run this file to recreate the current configuration.
5540 +# Compiler output produced by configure, useful for debugging
5541 +# configure, is in config.log if it exists.
5544 +ac_cs_recheck=false
5547 +SHELL=\${CONFIG_SHELL-$SHELL}
5550 +cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5551 +## -------------------- ##
5552 +## M4sh Initialization. ##
5553 +## -------------------- ##
5555 +# Be more Bourne compatible
5556 +DUALCASE=1; export DUALCASE # for MKS sh
5558 +if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
5562 + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5563 + # is contrary to our usage. Disable this feature.
5564 + alias -g '${1+"$@"}'='"$@"'
5565 + setopt NO_GLOB_SUBST
5567 + case `(set -o) 2>/dev/null` in #(
5569 + set -o posix ;; #(
5577 +# Reset variables that may have inherited troublesome values from
5580 +# IFS needs to be set, to space, tab, and newline, in precisely that order.
5581 +# (If _AS_PATH_WALK were called with IFS unset, it would have the
5582 +# side effect of setting IFS to empty, thus disabling word splitting.)
5583 +# Quoting is to prevent editors from complaining about space-tab.
5593 +# Ensure predictable behavior from utilities with locale-dependent output.
5599 +# We cannot yet rely on "unset" to work, but we need these variables
5600 +# to be unset--not just set to an empty or harmless value--now, to
5601 +# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
5602 +# also avoids known problems related to "unset" and subshell syntax
5603 +# in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
5604 +for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
5605 +do eval test \${$as_var+y} \
5606 + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5609 +# Ensure that fds 0, 1, and 2 are open.
5610 +if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
5611 +if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
5612 +if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
5614 +# The user is always right.
5615 +if ${PATH_SEPARATOR+false} :; then
5617 + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5618 + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5619 + PATH_SEPARATOR=';'
5624 +# Find who we are. Look in the path if we contain no directory separator.
5627 + *[\\/]* ) as_myself=$0 ;;
5628 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5629 +for as_dir in $PATH
5632 + case $as_dir in #(((
5635 + *) as_dir=$as_dir/ ;;
5637 + test -r "$as_dir$0" && as_myself=$as_dir$0 && break
5643 +# We did not find ourselves, most probably we were run as `sh COMMAND'
5644 +# in which case we are not to be found in the path.
5645 +if test "x$as_myself" = x; then
5648 +if test ! -f "$as_myself"; then
5649 + printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5655 +# as_fn_error STATUS ERROR [LINENO LOG_FD]
5656 +# ----------------------------------------
5657 +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5658 +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5659 +# script with STATUS, using 1 if that was 0.
5662 + as_status=$1; test $as_status -eq 0 && as_status=1
5663 + if test "$4"; then
5664 + as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5665 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5667 + printf "%s\n" "$as_me: error: $2" >&2
5668 + as_fn_exit $as_status
5673 +# as_fn_set_status STATUS
5674 +# -----------------------
5675 +# Set $? to STATUS, without forking.
5676 +as_fn_set_status ()
5679 +} # as_fn_set_status
5681 +# as_fn_exit STATUS
5682 +# -----------------
5683 +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5687 + as_fn_set_status $1
5693 +# Portably unset VAR.
5696 + { eval $1=; unset $1;}
5698 +as_unset=as_fn_unset
5700 +# as_fn_append VAR VALUE
5701 +# ----------------------
5702 +# Append the text in VALUE to the end of the definition contained in VAR. Take
5703 +# advantage of any shell optimizations that allow amortized linear growth over
5704 +# repeated appends, instead of the typical quadratic growth present in naive
5706 +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
5708 + eval 'as_fn_append ()
5719 +# as_fn_arith ARG...
5720 +# ------------------
5721 +# Perform arithmetic evaluation on the ARGs, and store the result in the
5722 +# global $as_val. Take advantage of shells that can avoid forks. The arguments
5723 +# must be portable across $(()) and expr.
5724 +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
5726 + eval 'as_fn_arith ()
5733 + as_val=`expr "$@" || test $? -eq 1`
5738 +if expr a : '\(a\)' >/dev/null 2>&1 &&
5739 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
5745 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5746 + as_basename=basename
5751 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5752 + as_dirname=dirname
5757 +as_me=`$as_basename -- "$0" ||
5758 +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5759 + X"$0" : 'X\(//\)$' \| \
5760 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5761 +printf "%s\n" X/"$0" |
5762 + sed '/^.*\/\([^/][^/]*\)\/*$/{
5776 +# Avoid depending upon Character Ranges.
5777 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5778 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5779 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5780 +as_cr_digits='0123456789'
5781 +as_cr_alnum=$as_cr_Letters$as_cr_digits
5784 +# Determine whether it's possible to make 'echo' print without a newline.
5785 +# These variables are no longer used directly by Autoconf, but are AC_SUBSTed
5786 +# for compatibility with existing Makefiles.
5787 +ECHO_C= ECHO_N= ECHO_T=
5788 +case `echo -n x` in #(((((
5790 + case `echo 'xy\c'` in
5791 + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5793 + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5800 +# For backward compatibility with old third-party macros, we provide
5801 +# the shell variables $as_echo and $as_echo_n. New code should use
5802 +# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
5803 +as_echo='printf %s\n'
5804 +as_echo_n='printf %s'
5806 +rm -f conf$$ conf$$.exe conf$$.file
5807 +if test -d conf$$.dir; then
5808 + rm -f conf$$.dir/conf$$.file
5811 + mkdir conf$$.dir 2>/dev/null
5813 +if (echo >conf$$.file) 2>/dev/null; then
5814 + if ln -s conf$$.file conf$$ 2>/dev/null; then
5816 + # ... but there are two gotchas:
5817 + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5818 + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5819 + # In both cases, we have to default to `cp -pR'.
5820 + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5822 + elif ln conf$$.file conf$$ 2>/dev/null; then
5830 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5831 +rmdir conf$$.dir 2>/dev/null
5836 +# Create "$as_dir" as a directory, including parents if necessary.
5840 + case $as_dir in #(
5841 + -*) as_dir=./$as_dir;;
5843 + test -d "$as_dir" || eval $as_mkdir_p || {
5846 + case $as_dir in #(
5847 + *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5848 + *) as_qdir=$as_dir;;
5850 + as_dirs="'$as_qdir' $as_dirs"
5851 + as_dir=`$as_dirname -- "$as_dir" ||
5852 +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5853 + X"$as_dir" : 'X\(//\)[^/]' \| \
5854 + X"$as_dir" : 'X\(//\)$' \| \
5855 + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5856 +printf "%s\n" X"$as_dir" |
5857 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5861 + /^X\(\/\/\)[^/].*/{
5874 + test -d "$as_dir" && break
5876 + test -z "$as_dirs" || eval "mkdir $as_dirs"
5877 + } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5881 +if mkdir -p . 2>/dev/null; then
5882 + as_mkdir_p='mkdir -p "$as_dir"'
5884 + test -d ./-p && rmdir ./-p
5889 +# as_fn_executable_p FILE
5890 +# -----------------------
5891 +# Test if FILE is an executable regular file.
5892 +as_fn_executable_p ()
5894 + test -f "$1" && test -x "$1"
5895 +} # as_fn_executable_p
5896 +as_test_x='test -x'
5897 +as_executable_p=as_fn_executable_p
5899 +# Sed expression to map a string onto a valid CPP name.
5900 +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5902 +# Sed expression to map a string onto a valid variable name.
5903 +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5907 +## ----------------------------------- ##
5908 +## Main body of $CONFIG_STATUS script. ##
5909 +## ----------------------------------- ##
5911 +test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5913 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5914 +# Save the log message, to keep $0 and so on meaningful, and to
5915 +# report actual input values of CONFIG_FILES etc. instead of their
5916 +# values after options handling.
5918 +This file was extended by newlib $as_me 4.1.0, which was
5919 +generated by GNU Autoconf 2.71. Invocation command line was
5921 + CONFIG_FILES = $CONFIG_FILES
5922 + CONFIG_HEADERS = $CONFIG_HEADERS
5923 + CONFIG_LINKS = $CONFIG_LINKS
5924 + CONFIG_COMMANDS = $CONFIG_COMMANDS
5927 +on `(hostname || uname -n) 2>/dev/null | sed 1q`
5932 +case $ac_config_files in *"
5933 +"*) set x $ac_config_files; shift; ac_config_files=$*;;
5938 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5939 +# Files that config.status was made for.
5940 +config_files="$ac_config_files"
5941 +config_commands="$ac_config_commands"
5945 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5947 +\`$as_me' instantiates files and other configuration actions
5948 +from templates according to the current configuration. Unless the files
5949 +and actions are specified as TAGs, all are instantiated by default.
5951 +Usage: $0 [OPTION]... [TAG]...
5953 + -h, --help print this help, then exit
5954 + -V, --version print version number and configuration settings, then exit
5955 + --config print configuration, then exit
5956 + -q, --quiet, --silent
5957 + do not print progress messages
5958 + -d, --debug don't remove temporary files
5959 + --recheck update $as_me by reconfiguring in the same conditions
5960 + --file=FILE[:TEMPLATE]
5961 + instantiate the configuration file FILE
5963 +Configuration files:
5966 +Configuration commands:
5969 +Report bugs to the package provider."
5972 +ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
5973 +ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
5974 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5975 +ac_cs_config='$ac_cs_config_escaped'
5977 +newlib config.status 4.1.0
5978 +configured by $0, generated by GNU Autoconf 2.71,
5979 + with options \\"\$ac_cs_config\\"
5981 +Copyright (C) 2021 Free Software Foundation, Inc.
5982 +This config.status script is free software; the Free Software Foundation
5983 +gives unlimited permission to copy, distribute and modify it."
5990 +test -n "\$AWK" || AWK=awk
5993 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5994 +# The default lists apply if the user does not specify any file.
6000 + ac_option=`expr "X$1" : 'X\([^=]*\)='`
6001 + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6005 + ac_option=`expr "X$1" : 'X\([^=]*\)='`
6016 + case $ac_option in
6017 + # Handling of the options.
6018 + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6019 + ac_cs_recheck=: ;;
6020 + --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6021 + printf "%s\n" "$ac_cs_version"; exit ;;
6022 + --config | --confi | --conf | --con | --co | --c )
6023 + printf "%s\n" "$ac_cs_config"; exit ;;
6024 + --debug | --debu | --deb | --de | --d | -d )
6026 + --file | --fil | --fi | --f )
6028 + case $ac_optarg in
6029 + *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6030 + '') as_fn_error $? "missing file argument" ;;
6032 + as_fn_append CONFIG_FILES " '$ac_optarg'"
6033 + ac_need_defaults=false;;
6034 + --he | --h | --help | --hel | -h )
6035 + printf "%s\n" "$ac_cs_usage"; exit ;;
6036 + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6037 + | -silent | --silent | --silen | --sile | --sil | --si | --s)
6040 + # This is an error.
6041 + -*) as_fn_error $? "unrecognized option: \`$1'
6042 +Try \`$0 --help' for more information." ;;
6044 + *) as_fn_append ac_config_targets " $1"
6045 + ac_need_defaults=false ;;
6051 +ac_configure_extra_args=
6053 +if $ac_cs_silent; then
6055 + ac_configure_extra_args="$ac_configure_extra_args --silent"
6059 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6060 +if \$ac_cs_recheck; then
6061 + set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6063 + \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
6064 + CONFIG_SHELL='$SHELL'
6065 + export CONFIG_SHELL
6070 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6074 + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6075 +## Running $as_me. ##
6077 + printf "%s\n" "$ac_log"
6081 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6085 +AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6089 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6091 +# Handling of arguments.
6092 +for ac_config_target in $ac_config_targets
6094 + case $ac_config_target in
6095 + "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
6096 + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6098 + *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6103 +# If the user did not use the arguments to specify the items to instantiate,
6104 +# then the envvar interface is used. Set only those that are not.
6105 +# We use the long form for the default assignment because of an extremely
6106 +# bizarre bug on SunOS 4.1.3.
6107 +if $ac_need_defaults; then
6108 + test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
6109 + test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
6112 +# Have a temporary directory for convenience. Make it in the build tree
6113 +# simply because there is no reason against having it here, and in addition,
6114 +# creating and moving files from /tmp can sometimes cause problems.
6115 +# Hook for its removal unless debugging.
6116 +# Note that there is a small window in which the directory will not be cleaned:
6117 +# after its creation but before its name has been assigned to `$tmp'.
6121 + trap 'exit_status=$?
6122 + : "${ac_tmp:=$tmp}"
6123 + { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
6125 + trap 'as_fn_exit 1' 1 2 13 15
6127 +# Create a (secure) tmp directory for tmp files.
6130 + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6134 + tmp=./conf$$-$RANDOM
6135 + (umask 077 && mkdir "$tmp")
6136 +} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
6139 +# Set up the scripts for CONFIG_FILES section.
6140 +# No need to generate them if there are no CONFIG_FILES.
6141 +# This happens for instance with `./config.status config.h'.
6142 +if test -n "$CONFIG_FILES"; then
6145 +ac_cr=`echo X | tr X '\015'`
6146 +# On cygwin, bash can eat \r inside `` if the user requested igncr.
6147 +# But we know of no other shell where ac_cr would be empty at this
6148 +# point, so we can use a bashism as a fallback.
6149 +if test "x$ac_cr" = x; then
6150 + eval ac_cr=\$\'\\r\'
6152 +ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6153 +if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6154 + ac_cs_awk_cr='\\r'
6156 + ac_cs_awk_cr=$ac_cr
6159 +echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6164 + echo "cat >conf$$subs.awk <<_ACEOF" &&
6165 + echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6167 +} >conf$$subs.sh ||
6168 + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6169 +ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6171 +for ac_last_try in false false false false false :; do
6172 + . ./conf$$subs.sh ||
6173 + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6175 + ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6176 + if test $ac_delim_n = $ac_delim_num; then
6178 + elif $ac_last_try; then
6179 + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6181 + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6184 +rm -f conf$$subs.sh
6186 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6187 +cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
6191 +s/^/S["/; s/!.*/"]=/
6201 +s/\(.\{148\}\)..*/\1/
6203 +s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6208 +s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6215 +s/\(.\{148\}\)..*/\1/
6217 +s/["\\]/\\&/g; s/^/"/; s/$/"/
6221 +s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6226 +' <conf$$subs.awk | sed '
6231 +' >>$CONFIG_STATUS || ac_write_fail=1
6232 +rm -f conf$$subs.awk
6233 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6235 +cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
6236 + for (key in S) S_is_set[key] = 1
6242 + nfields = split(line, field, "@")
6244 + len = length(field[1])
6245 + for (i = 2; i < nfields; i++) {
6247 + keylen = length(key)
6248 + if (S_is_set[key]) {
6250 + line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6251 + len += length(value) + length(field[++i])
6262 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6263 +if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6264 + sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6267 +fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
6268 + || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
6271 +# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6272 +# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
6273 +# trailing colons and then remove the whole line if VPATH becomes empty
6274 +# (actually we leave an empty line to preserve line numbers).
6275 +if test "x$srcdir" = x.; then
6276 + ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6294 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6295 +fi # test -n "$CONFIG_FILES"
6298 +eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
6303 + :[FHLC]) ac_mode=$ac_tag; continue;;
6305 + case $ac_mode$ac_tag in
6307 + :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
6308 + :[FH]-) ac_tag=-:-;;
6309 + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6320 + :L) ac_source=$1;;
6326 + -) ac_f="$ac_tmp/stdin";;
6327 + *) # Look for the file first in the build tree, then in the source tree
6328 + # (if the path is not absolute). The absolute path cannot be DOS-style,
6329 + # because $ac_f cannot contain `:'.
6330 + test -f "$ac_f" ||
6333 + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6335 + as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6337 + case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6338 + as_fn_append ac_file_inputs " '$ac_f'"
6341 + # Let's still pretend it is `configure' which instantiates (i.e., don't
6342 + # use $as_me), people would be surprised to read:
6343 + # /* config.h. Generated by config.status. */
6344 + configure_input='Generated from '`
6345 + printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6347 + if test x"$ac_file" != x-; then
6348 + configure_input="$ac_file. $configure_input"
6349 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6350 +printf "%s\n" "$as_me: creating $ac_file" >&6;}
6352 + # Neutralize special characters interpreted by sed in replacement strings.
6353 + case $configure_input in #(
6354 + *\&* | *\|* | *\\* )
6355 + ac_sed_conf_input=`printf "%s\n" "$configure_input" |
6356 + sed 's/[\\\\&|]/\\\\&/g'`;; #(
6357 + *) ac_sed_conf_input=$configure_input;;
6361 + *:-:* | *:-) cat >"$ac_tmp/stdin" \
6362 + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
6367 + ac_dir=`$as_dirname -- "$ac_file" ||
6368 +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6369 + X"$ac_file" : 'X\(//\)[^/]' \| \
6370 + X"$ac_file" : 'X\(//\)$' \| \
6371 + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6372 +printf "%s\n" X"$ac_file" |
6373 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6377 + /^X\(\/\/\)[^/].*/{
6390 + as_dir="$ac_dir"; as_fn_mkdir_p
6394 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6396 + ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
6397 + # A ".." for each directory in $ac_dir_suffix.
6398 + ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6399 + case $ac_top_builddir_sub in
6400 + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6401 + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6404 +ac_abs_top_builddir=$ac_pwd
6405 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
6406 +# for backward compatibility:
6407 +ac_top_builddir=$ac_top_build_prefix
6410 + .) # We are building in place.
6412 + ac_top_srcdir=$ac_top_builddir_sub
6413 + ac_abs_top_srcdir=$ac_pwd ;;
6414 + [\\/]* | ?:[\\/]* ) # Absolute name.
6415 + ac_srcdir=$srcdir$ac_dir_suffix;
6416 + ac_top_srcdir=$srcdir
6417 + ac_abs_top_srcdir=$srcdir ;;
6418 + *) # Relative name.
6419 + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6420 + ac_top_srcdir=$ac_top_build_prefix$srcdir
6421 + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6423 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6433 + [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6434 + *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6436 + ac_MKDIR_P=$MKDIR_P
6438 + [\\/$]* | ?:[\\/]* ) ;;
6439 + */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6443 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6444 +# If the template does not know about datarootdir, expand it.
6445 +# FIXME: This hack should be removed a few years after 2.60.
6446 +ac_datarootdir_hack=; ac_datarootdir_seen=
6457 +case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6458 +*datarootdir*) ac_datarootdir_seen=yes;;
6459 +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6460 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6461 +printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6463 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6464 + ac_datarootdir_hack='
6465 + s&@datadir@&$datadir&g
6466 + s&@docdir@&$docdir&g
6467 + s&@infodir@&$infodir&g
6468 + s&@localedir@&$localedir&g
6469 + s&@mandir@&$mandir&g
6470 + s&\\\${datarootdir}&$datarootdir&g' ;;
6474 +# Neutralize VPATH when `$srcdir' = `.'.
6475 +# Shell code in configure.ac might set extrasub.
6476 +# FIXME: do we really want to maintain this feature?
6477 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6478 +ac_sed_extra="$ac_vpsub
6481 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6483 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6484 +s|@configure_input@|$ac_sed_conf_input|;t t
6485 +s&@top_builddir@&$ac_top_builddir_sub&;t t
6486 +s&@top_build_prefix@&$ac_top_build_prefix&;t t
6487 +s&@srcdir@&$ac_srcdir&;t t
6488 +s&@abs_srcdir@&$ac_abs_srcdir&;t t
6489 +s&@top_srcdir@&$ac_top_srcdir&;t t
6490 +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6491 +s&@builddir@&$ac_builddir&;t t
6492 +s&@abs_builddir@&$ac_abs_builddir&;t t
6493 +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6494 +s&@INSTALL@&$ac_INSTALL&;t t
6495 +s&@MKDIR_P@&$ac_MKDIR_P&;t t
6496 +$ac_datarootdir_hack
6498 +eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
6499 + >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6501 +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6502 + { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
6503 + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6504 + "$ac_tmp/out"`; test -z "$ac_out"; } &&
6505 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6506 +which seems to be undefined. Please make sure it is defined" >&5
6507 +printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6508 +which seems to be undefined. Please make sure it is defined" >&2;}
6510 + rm -f "$ac_tmp/stdin"
6512 + -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6513 + *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6515 + || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6519 + :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6520 +printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
6525 + case $ac_file$ac_mode in
6526 + "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6527 + # Autoconf 2.62 quotes --file arguments for eval, but not when files
6528 + # are listed without --file. Let's play safe and only enable the eval
6529 + # if we detect the quoting.
6530 + case $CONFIG_FILES in
6531 + *\'*) eval set x "$CONFIG_FILES" ;;
6532 + *) set x $CONFIG_FILES ;;
6537 + # Strip MF so we end up with the name of the file.
6538 + mf=`echo "$mf" | sed -e 's/:.*$//'`
6539 + # Check whether this is an Automake generated Makefile or not.
6540 + # We used to match only the files named 'Makefile.in', but
6541 + # some people rename them; so instead we look at the file content.
6542 + # Grep'ing the first line is not enough: some people post-process
6543 + # each Makefile.in and add a new line on top of each file to say so.
6544 + # Grep'ing the whole file is not good either: AIX grep has a line
6545 + # limit of 2048, but all sed's we know have understand at least 4000.
6546 + if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6547 + dirpart=`$as_dirname -- "$mf" ||
6548 +$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6549 + X"$mf" : 'X\(//\)[^/]' \| \
6550 + X"$mf" : 'X\(//\)$' \| \
6551 + X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6552 +printf "%s\n" X"$mf" |
6553 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6557 + /^X\(\/\/\)[^/].*/{
6573 + # Extract the definition of DEPDIR, am__include, and am__quote
6574 + # from the Makefile without running 'make'.
6575 + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6576 + test -z "$DEPDIR" && continue
6577 + am__include=`sed -n 's/^am__include = //p' < "$mf"`
6578 + test -z "am__include" && continue
6579 + am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6580 + # Find all dependency output files, they are included files with
6581 + # $(DEPDIR) in their names. We invoke sed twice because it is the
6582 + # simplest approach to changing $(DEPDIR) to its actual value in the
6584 + for file in `sed -n "
6585 + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6586 + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
6587 + # Make sure the directory exists.
6588 + test -f "$dirpart/$file" && continue
6589 + fdir=`$as_dirname -- "$file" ||
6590 +$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6591 + X"$file" : 'X\(//\)[^/]' \| \
6592 + X"$file" : 'X\(//\)$' \| \
6593 + X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6594 +printf "%s\n" X"$file" |
6595 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6599 + /^X\(\/\/\)[^/].*/{
6612 + as_dir=$dirpart/$fdir; as_fn_mkdir_p
6613 + # echo "creating $dirpart/$file"
6614 + echo '# dummy' > "$dirpart/$file"
6626 +ac_clean_files=$ac_clean_files_save
6628 +test $ac_write_fail = 0 ||
6629 + as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6632 +# configure is writing to config.log, and then calls config.status.
6633 +# config.status does its own redirection, appending to config.log.
6634 +# Unfortunately, on DOS this fails, as config.log is still kept open
6635 +# by configure, so config.status won't be able to write to it; its
6636 +# output is simply discarded. So we exec the FD to /dev/null,
6637 +# effectively closing config.log, so it can be properly (re)opened and
6638 +# appended to by config.status. When coming back to configure, we
6639 +# need to make the FD available again.
6640 +if test "$no_create" != yes; then
6642 + ac_config_status_args=
6643 + test "$silent" = yes &&
6644 + ac_config_status_args="$ac_config_status_args --quiet"
6646 + $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6647 + exec 5>>config.log
6648 + # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6649 + # would make configure fail if this is the last instruction.
6650 + $ac_cs_success || as_fn_exit 1
6652 +if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6653 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6654 +printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6658 diff --git a/newlib/libc/sys/psp/configure.in b/newlib/libc/sys/psp/configure.in
6659 new file mode 100644
6660 index 000000000..edcb0c619
6662 +++ b/newlib/libc/sys/psp/configure.in
6664 +dnl This is the newlib/libc/sys/ps2 configure.in file.
6665 +dnl Process this file with autoconf to produce a configure script.
6668 +AC_INIT([newlib],[NEWLIB_VERSION])
6669 +AC_CONFIG_SRCDIR([Makefile.am])
6671 +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake.
6672 +AC_CONFIG_AUX_DIR(../../../..)
6674 +NEWLIB_CONFIGURE(../../..)
6676 +AC_CONFIG_FILES([Makefile])
6678 diff --git a/newlib/libc/sys/psp/crt0.c b/newlib/libc/sys/psp/crt0.c
6679 new file mode 100644
6680 index 000000000..af6712c20
6682 +++ b/newlib/libc/sys/psp/crt0.c
6684 +/* The real crt0.c lives in PSPSDK. */
6687 diff --git a/newlib/libc/sys/psp/mlock.c b/newlib/libc/sys/psp/mlock.c
6688 new file mode 100644
6689 index 000000000..898e97d1a
6691 +++ b/newlib/libc/sys/psp/mlock.c
6694 + * PSP Software Development Kit - http://www.pspdev.org
6695 + * -----------------------------------------------------------------------
6696 + * Licensed under the BSD license, see LICENSE in PSPSDK root for details.
6698 + * libcglue.c - Newlib-compatible system calls.
6700 + * Copyright (c) 2005 Marcus R. Brown <mrbrown@ocgnet.org>
6701 + * Copyright (c) 2005 James Forshaw <tyranid@gmail.com>
6702 + * Copyright (c) 2005 John Kelley <ps2dev@kelley.ca>
6703 + * Copyright (c) 2005 Jim Paris <jim@jtan.com>
6704 + * Copyright (c) 2021 Francisco J Trujillo <fjtrujy@gmail.com>
6708 +#include <stdint.h>
6710 +#ifdef F__lock_unlock
6712 +void __malloc_lock(struct _reent *ptr)
6714 + _internal_malloc_lock();
6717 +void __malloc_unlock(struct _reent *ptr)
6719 + _internal_malloc_unlock();
6722 diff --git a/newlib/libc/sys/psp/sys/dirent.h b/newlib/libc/sys/psp/sys/dirent.h
6723 new file mode 100644
6724 index 000000000..e7a6434f6
6726 +++ b/newlib/libc/sys/psp/sys/dirent.h
6728 +#ifndef _SYS_DIRENT_H
6729 +#define _SYS_DIRENT_H
6731 +typedef struct __dirdesc {
6732 + int dd_fd; /* directory file */
6733 + int dd_loc; /* position in buffer */
6735 + char *dd_buf; /* buffer */
6736 + int dd_len; /* buffer length */
6737 + int dd_size; /* amount of data in buffer */
6740 +# define __dirfd(dp) ((dp)->dd_fd)
6742 +#include <sys/stat.h>
6744 +#undef MAXNAMLEN /* from unistd.h */
6745 +#define MAXNAMLEN 255
6747 +#define d_ino d_fileno /* compatibility */
6750 + ino_t d_fileno; /* file number of entry */
6751 + off_t d_off; /* Not an offset; see below */
6752 + unsigned short int d_reclen; /* Length of this record */
6753 + unsigned char d_type; /* Type of file; not supported
6754 + by all filesystem types */
6755 + char d_name[MAXNAMLEN + 1];
6758 +#define DT_UNKNOWN 0
6769 \ No newline at end of file