From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1521) id 82D253858D28; Thu, 10 Feb 2022 03:18:27 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 82D253858D28 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Michael Frysinger To: newlib-cvs@sourceware.org Subject: [newlib-cygwin] newlib: drop libtool support X-Act-Checkin: newlib-cygwin X-Git-Author: Mike Frysinger X-Git-Refname: refs/heads/master X-Git-Oldrev: 5a0ab4454b94b5d976d5398bd5147ea6173b313f X-Git-Newrev: 006da84337d31354b2f8ed21039b5a8bbc579b9b Message-Id: <20220210031827.82D253858D28@sourceware.org> Date: Thu, 10 Feb 2022 03:18:27 +0000 (GMT) X-BeenThere: newlib-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Newlib GIT logs List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Feb 2022 03:18:27 -0000 https://sourceware.org/git/gitweb.cgi?p=3Dnewlib-cygwin.git;h=3D006da84337d= 31354b2f8ed21039b5a8bbc579b9b commit 006da84337d31354b2f8ed21039b5a8bbc579b9b Author: Mike Frysinger Date: Mon Feb 7 05:12:05 2022 -0500 newlib: drop libtool support =20 This was only ever used for i?86-pc-linux-gnu targets, but that's been broken for years, and has since been dropped. So clean this up too. =20 This also deletes the funky objectlist logic since it only existed for the libtool libraries. Since it was the only thing left in the small Makefile.shared file, we can punt that too. Diff: --- newlib/Makefile.am | 60 - newlib/Makefile.in | 310 +- newlib/Makefile.shared | 6 - newlib/acinclude.m4 | 2 - newlib/aclocal.m4 | 5 - newlib/configure | 8491 +--------------------= --- newlib/configure.ac | 54 - newlib/configure.host | 3 - newlib/libc/Makefile.am | 33 - newlib/libc/Makefile.in | 239 +- newlib/libc/aclocal.m4 | 5 - newlib/libc/argz/Makefile.am | 11 - newlib/libc/argz/Makefile.in | 126 +- newlib/libc/configure | 8503 +--------------------= ---- newlib/libc/configure.ac | 63 +- newlib/libc/ctype/Makefile.am | 11 - newlib/libc/ctype/Makefile.in | 140 +- newlib/libc/errno/Makefile.am | 11 - newlib/libc/errno/Makefile.in | 117 +- newlib/libc/iconv/Makefile.am | 2 - newlib/libc/iconv/Makefile.in | 63 +- newlib/libc/iconv/ccs/Makefile.am | 2 - newlib/libc/iconv/ccs/Makefile.in | 80 +- newlib/libc/iconv/ccs/binary/Makefile.am | 2 - newlib/libc/iconv/ccs/binary/Makefile.in | 64 +- newlib/libc/iconv/ces/Makefile.am | 3 - newlib/libc/iconv/ces/Makefile.in | 83 +- newlib/libc/iconv/lib/Makefile.am | 3 - newlib/libc/iconv/lib/Makefile.in | 83 +- newlib/libc/locale/Makefile.am | 11 - newlib/libc/locale/Makefile.in | 123 +- newlib/libc/machine/a29k/Makefile.in | 68 +- newlib/libc/machine/aarch64/Makefile.in | 84 +- newlib/libc/machine/amdgcn/Makefile.in | 69 +- newlib/libc/machine/arc/Makefile.in | 84 +- newlib/libc/machine/arm/Makefile.in | 84 +- newlib/libc/machine/bfin/Makefile.in | 77 +- newlib/libc/machine/cr16/Makefile.in | 84 +- newlib/libc/machine/cris/Makefile.in | 72 +- newlib/libc/machine/crx/Makefile.in | 84 +- newlib/libc/machine/csky/Makefile.in | 77 +- newlib/libc/machine/d10v/Makefile.in | 77 +- newlib/libc/machine/d30v/Makefile.in | 77 +- newlib/libc/machine/epiphany/Makefile.in | 77 +- newlib/libc/machine/fr30/Makefile.in | 77 +- newlib/libc/machine/frv/Makefile.in | 77 +- newlib/libc/machine/ft32/Makefile.in | 77 +- newlib/libc/machine/h8300/Makefile.in | 77 +- newlib/libc/machine/h8500/Makefile.in | 84 +- newlib/libc/machine/hppa/Makefile.in | 77 +- newlib/libc/machine/i386/Makefile.am | 11 - newlib/libc/machine/i386/Makefile.in | 127 +- newlib/libc/machine/i960/Makefile.in | 68 +- newlib/libc/machine/iq2000/Makefile.in | 77 +- newlib/libc/machine/lm32/Makefile.in | 77 +- newlib/libc/machine/m32c/Makefile.in | 77 +- newlib/libc/machine/m32r/Makefile.in | 77 +- newlib/libc/machine/m68hc11/Makefile.in | 77 +- newlib/libc/machine/m68k/Makefile.in | 84 +- newlib/libc/machine/m88k/Makefile.in | 77 +- newlib/libc/machine/mep/Makefile.in | 77 +- newlib/libc/machine/microblaze/Makefile.in | 84 +- newlib/libc/machine/mips/Makefile.in | 80 +- newlib/libc/machine/mn10200/Makefile.in | 77 +- newlib/libc/machine/mn10300/Makefile.in | 77 +- newlib/libc/machine/moxie/Makefile.in | 77 +- newlib/libc/machine/msp430/Makefile.in | 84 +- newlib/libc/machine/mt/Makefile.in | 77 +- newlib/libc/machine/nds32/Makefile.in | 84 +- newlib/libc/machine/necv70/Makefile.in | 77 +- newlib/libc/machine/nios2/Makefile.in | 76 +- newlib/libc/machine/nvptx/Makefile.in | 69 +- newlib/libc/machine/or1k/Makefile.in | 77 +- newlib/libc/machine/powerpc/Makefile.in | 84 +- newlib/libc/machine/pru/Makefile.in | 76 +- newlib/libc/machine/riscv/Makefile.in | 84 +- newlib/libc/machine/rl78/Makefile.in | 77 +- newlib/libc/machine/rx/Makefile.in | 77 +- newlib/libc/machine/sh/Makefile.in | 77 +- newlib/libc/machine/sparc/Makefile.in | 84 +- newlib/libc/machine/spu/Makefile.in | 84 +- newlib/libc/machine/tic4x/Makefile.in | 77 +- newlib/libc/machine/tic6x/Makefile.in | 77 +- newlib/libc/machine/tic80/Makefile.in | 77 +- newlib/libc/machine/v850/Makefile.in | 77 +- newlib/libc/machine/visium/Makefile.in | 84 +- newlib/libc/machine/w65/Makefile.in | 84 +- newlib/libc/machine/x86_64/Makefile.in | 77 +- newlib/libc/machine/xc16x/Makefile.in | 84 +- newlib/libc/machine/xstormy16/Makefile.in | 77 +- newlib/libc/machine/z8k/Makefile.in | 77 +- newlib/libc/misc/Makefile.am | 11 - newlib/libc/misc/Makefile.in | 119 +- newlib/libc/posix/Makefile.am | 11 - newlib/libc/posix/Makefile.in | 133 +- newlib/libc/reent/Makefile.am | 11 - newlib/libc/reent/Makefile.in | 131 +- newlib/libc/search/Makefile.am | 11 - newlib/libc/search/Makefile.in | 125 +- newlib/libc/signal/Makefile.am | 11 - newlib/libc/signal/Makefile.in | 117 +- newlib/libc/ssp/Makefile.am | 11 - newlib/libc/ssp/Makefile.in | 127 +- newlib/libc/stdio/Makefile.am | 14 - newlib/libc/stdio/Makefile.in | 205 +- newlib/libc/stdio64/Makefile.am | 12 - newlib/libc/stdio64/Makefile.in | 126 +- newlib/libc/stdlib/Makefile.am | 14 - newlib/libc/stdlib/Makefile.in | 162 +- newlib/libc/string/Makefile.am | 11 - newlib/libc/string/Makefile.in | 153 +- newlib/libc/sys/a29khif/Makefile.in | 84 +- newlib/libc/sys/amdgcn/Makefile.in | 69 +- newlib/libc/sys/arm/Makefile.in | 84 +- newlib/libc/sys/d10v/Makefile.in | 84 +- newlib/libc/sys/decstation/Makefile.in | 73 +- newlib/libc/sys/epiphany/Makefile.in | 69 +- newlib/libc/sys/h8300hms/Makefile.in | 84 +- newlib/libc/sys/h8500hms/Makefile.in | 69 +- newlib/libc/sys/m88kbug/Makefile.in | 69 +- newlib/libc/sys/mmixware/Makefile.in | 84 +- newlib/libc/sys/netware/Makefile.in | 73 +- newlib/libc/sys/or1k/Makefile.in | 84 +- newlib/libc/sys/phoenix/configure | 15 - newlib/libc/sys/phoenix/machine/arm/configure | 15 - newlib/libc/sys/phoenix/machine/configure | 15 - newlib/libc/sys/rdos/Makefile.in | 84 +- newlib/libc/sys/rtems/Makefile.in | 71 +- newlib/libc/sys/sh/Makefile.in | 84 +- newlib/libc/sys/sparc64/Makefile.in | 80 +- newlib/libc/sys/sun4/Makefile.in | 69 +- newlib/libc/sys/sysmec/Makefile.in | 84 +- newlib/libc/sys/sysnec810/Makefile.in | 84 +- newlib/libc/sys/sysnecv850/Makefile.in | 84 +- newlib/libc/sys/sysvi386/Makefile.in | 84 +- newlib/libc/sys/sysvnecv70/Makefile.in | 84 +- newlib/libc/sys/tic80/Makefile.in | 73 +- newlib/libc/sys/tirtos/Makefile.in | 69 +- newlib/libc/sys/w65/Makefile.in | 69 +- newlib/libc/sys/z8ksim/Makefile.in | 69 +- newlib/libc/syscalls/Makefile.am | 11 - newlib/libc/syscalls/Makefile.in | 125 +- newlib/libc/time/Makefile.am | 12 - newlib/libc/time/Makefile.in | 123 +- newlib/libc/unix/Makefile.am | 11 - newlib/libc/unix/Makefile.in | 127 +- newlib/libc/xdr/Makefile.am | 11 - newlib/libc/xdr/Makefile.in | 123 +- newlib/libm/Makefile.am | 9 - newlib/libm/Makefile.in | 153 +- newlib/libm/aclocal.m4 | 5 - newlib/libm/common/Makefile.am | 13 - newlib/libm/common/Makefile.in | 160 +- newlib/libm/complex/Makefile.am | 11 - newlib/libm/complex/Makefile.in | 131 +- newlib/libm/configure | 8463 +--------------------= --- newlib/libm/configure.ac | 15 +- newlib/libm/fenv/Makefile.am | 10 - newlib/libm/fenv/Makefile.in | 121 +- newlib/libm/machine/aarch64/Makefile.am | 3 - newlib/libm/machine/aarch64/Makefile.in | 83 +- newlib/libm/machine/arm/Makefile.am | 3 - newlib/libm/machine/arm/Makefile.in | 83 +- newlib/libm/machine/i386/Makefile.am | 11 - newlib/libm/machine/i386/Makefile.in | 134 +- newlib/libm/machine/mips/Makefile.am | 3 - newlib/libm/machine/mips/Makefile.in | 83 +- newlib/libm/machine/nds32/Makefile.am | 3 - newlib/libm/machine/nds32/Makefile.in | 91 +- newlib/libm/machine/powerpc/Makefile.am | 3 - newlib/libm/machine/powerpc/Makefile.in | 83 +- newlib/libm/machine/pru/Makefile.am | 3 - newlib/libm/machine/pru/Makefile.in | 83 +- newlib/libm/machine/riscv/Makefile.am | 3 - newlib/libm/machine/riscv/Makefile.in | 83 +- newlib/libm/machine/sparc/Makefile.am | 3 - newlib/libm/machine/sparc/Makefile.in | 83 +- newlib/libm/machine/spu/Makefile.am | 3 - newlib/libm/machine/spu/Makefile.in | 83 +- newlib/libm/machine/x86_64/Makefile.am | 11 - newlib/libm/machine/x86_64/Makefile.in | 120 +- newlib/libm/math/Makefile.am | 11 - newlib/libm/math/Makefile.in | 145 +- newlib/libm/mathfp/Makefile.am | 11 - newlib/libm/mathfp/Makefile.in | 137 +- newlib/newlib.hin | 37 - 186 files changed, 2494 insertions(+), 35507 deletions(-) diff --git a/newlib/Makefile.am b/newlib/Makefile.am index c6a2b3fe9..3befb2126 100644 --- a/newlib/Makefile.am +++ b/newlib/Makefile.am @@ -8,9 +8,6 @@ PHONY =3D SUFFIXES =3D info_TEXINFOS =3D noinst_DATA =3D -pkglib_LTLIBRARIES =3D - -LIBTOOL_VERSION_INFO =3D 0:0:0 =20 # The newlib hardware floating-point routines have been disabled due to # inaccuracy. If you wish to work on them, you will need to edit the @@ -71,10 +68,6 @@ AR_FLAGS =3D rc =20 noinst_DATA +=3D stmp-targ-include =20 -if USE_LIBTOOL -toollib_LTLIBRARIES =3D libm.la \ - libc.la -else toollib_LIBRARIES =3D libm.a \ libc.a if HAVE_MULTISUBDIR @@ -84,7 +77,6 @@ noinst_DATA +=3D $(BUILD_MULTISUBDIR)/$(CRT0) endif noinst_DATA +=3D $(BUILD_MULTISUBDIR)/libc.a $(BUILD_MULTISUBDIR)/libm.a endif -endif =20 toollib_DATA =3D $(CRT0) $(CRT1) =20 @@ -106,53 +98,6 @@ MATHOBJS_IN_LIBC =3D \ $(lpfx)s_finite.$(oext) $(lpfx)sf_finite.$(oext) \ $(lpfx)s_copysign.$(oext) $(lpfx)sf_copysign.$(oext) =20 -LIBC_OBJECTLISTS =3D \ - $(POSIX_OBJECTLIST) \ - $(SIGNAL_OBJECTLIST) \ - $(SYSCALL_OBJECTLIST) \ - $(UNIX_OBJECTLIST) \ - $(STDIO64_OBJECTLIST) \ - libc/argz/objectlist.awk.in \ - libc/stdlib/objectlist.awk.in \ - libc/time/objectlist.awk.in \ - libc/ctype/objectlist.awk.in \ - libc/search/objectlist.awk.in \ - libc/string/objectlist.awk.in \ - libc/locale/objectlist.awk.in \ - libc/misc/objectlist.awk.in \ - libc/reent/objectlist.awk.in \ - libc/errno/objectlist.awk.in \ - libc/stdio/objectlist.awk.in \ - $(MACHINE_OBJECTLIST) \ - $(SYS_OBJECTLIST) \ - $(SYS_MACH_OBJECTLIST) - -LIBM_OBJECTLISTS =3D \ - libm/$(MATHDIR)/objectlist.awk.in \ - libm/common/objectlist.awk.in \ - $(LIBM_MACHINE_OBJECTLIST) - -libm_la_LDFLAGS =3D -version-info $(LIBTOOL_VERSION_INFO) -release newlib = -no-undefined -Xcompiler -nostdlib -Xlinker --version-script=3D$(srcdir)/li= bc/sys/linux/shared.ld -lgcc -objectlist libm-libtool-objectlist - -libc_la_LDFLAGS =3D -version-info $(LIBTOOL_VERSION_INFO) -release newlib = -no-undefined -Xcompiler -nostdlib -Xlinker --version-script=3D$(srcdir)/li= bc/sys/linux/shared.ld -lgcc -objectlist libc-libtool-objectlist - -if USE_LIBTOOL -libm_la_SOURCES =3D -libm_la_DEPENDENCIES =3D libm-libtool-objectlist - -# objects listed later in LIBM_OBJECTLISTS will override those listed earl= ier -libm-libtool-objectlist: $(LIBM_OBJECTLISTS) - cat $(LIBM_OBJECTLISTS) | $(AWK) '{ libm[$$1] =3D $$2 }; END { for (x in = libm) printf ("%s\n", libm[x]) }' > $@ - -libc_la_SOURCES =3D -libc_la_DEPENDENCIES =3D libc-libtool-objectlist - -# objects listed later in LIBM_OBJECTLISTS and LIBC_OBJECTLISTS will overr= ide those listed earlier -libc-libtool-objectlist: $(LIBM_OBJECTLISTS) $(LIBC_OBJECTLISTS) - cat $(LIBM_OBJECTLISTS) $(LIBC_OBJECTLISTS) | $(AWK) '{ libc[$$1] =3D $$= 2 }; END { for (x in libc) printf ("%s\n", libc[x]) }' > $@ - -else - libc.a: libc/libc.a libm.a rm -rf libc.a libg.a tmp mkdir tmp @@ -172,8 +117,6 @@ libm.a: libm/libm.a =20 libm/libm.a: ; @true =20 -endif # USE_LIBTOOL - if HAVE_MULTISUBDIR $(BUILD_MULTISUBDIR): $(MKDIR_P) $@ @@ -310,11 +253,8 @@ CLEANFILES =3D stmp-targ-include ## only data targets. If that ever changes, this should be removed and the ## install-exec-local in ../multilib.am will kick in. install-data-local: install-toollibLIBRARIES install-multi -if USE_LIBTOOL -else rm -f $(DESTDIR)$(toollibdir)/libg.a ln $(DESTDIR)$(toollibdir)/libc.a $(DESTDIR)$(toollibdir)/libg.a >/dev/nu= ll 2>/dev/null || cp $(DESTDIR)$(toollibdir)/libc.a $(DESTDIR)$(toollibdir)= /libg.a -endif -if [ -z "$(MULTISUBDIR)" ]; then \ $(mkinstalldirs) $(DESTDIR)$(tooldir)/include; \ for i in $(srcdir)/libc/include/*.h; do \ diff --git a/newlib/Makefile.in b/newlib/Makefile.in index ab91927ff..e76fa582a 100644 --- a/newlib/Makefile.in +++ b/newlib/Makefile.in @@ -15,7 +15,6 @@ @SET_MAKE@ =20 =20 - VPATH =3D @srcdir@ am__is_gnu_make =3D { \ if test -z '$(MAKELEVEL)'; then \ @@ -90,8 +89,8 @@ PRE_UNINSTALL =3D : POST_UNINSTALL =3D : build_triplet =3D @build@ host_triplet =3D @host@ -@HAVE_CRT0_TRUE@@HAVE_MULTISUBDIR_TRUE@@USE_LIBTOOL_FALSE@am__append_1 =3D= $(BUILD_MULTISUBDIR)/$(CRT0) -@HAVE_MULTISUBDIR_TRUE@@USE_LIBTOOL_FALSE@am__append_2 =3D $(BUILD_MULTISU= BDIR)/libc.a $(BUILD_MULTISUBDIR)/libm.a +@HAVE_CRT0_TRUE@@HAVE_MULTISUBDIR_TRUE@am__append_1 =3D $(BUILD_MULTISUBDI= R)/$(CRT0) +@HAVE_MULTISUBDIR_TRUE@am__append_2 =3D $(BUILD_MULTISUBDIR)/libc.a $(BUIL= D_MULTISUBDIR)/libm.a =20 # We can't use noinst_PROGRAMS, because automake will add $(EXEEXT). @HAVE_DOC_TRUE@am__append_3 =3D doc/makedoc @@ -147,10 +146,7 @@ subdir =3D . ACLOCAL_M4 =3D $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps =3D $(top_srcdir)/../config/lead-dot.m4 \ $(top_srcdir)/../config/multi.m4 \ - $(top_srcdir)/../config/override.m4 \ - $(top_srcdir)/../libtool.m4 $(top_srcdir)/../ltoptions.m4 \ - $(top_srcdir)/../ltsugar.m4 $(top_srcdir)/../ltversion.m4 \ - $(top_srcdir)/../lt~obsolete.m4 $(top_srcdir)/iconv.m4 \ + $(top_srcdir)/../config/override.m4 $(top_srcdir)/iconv.m4 \ $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.ac am__configure_deps =3D $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) @@ -189,8 +185,7 @@ am__uninstall_files_from_dir =3D { \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } -am__installdirs =3D "$(DESTDIR)$(toollibdir)" "$(DESTDIR)$(pkglibdir)" \ - "$(DESTDIR)$(toollibdir)" "$(DESTDIR)$(toollibdir)" +am__installdirs =3D "$(DESTDIR)$(toollibdir)" "$(DESTDIR)$(toollibdir)" LIBRARIES =3D $(toollib_LIBRARIES) ARFLAGS =3D cru AM_V_AR =3D $(am__v_AR_@AM_V@) @@ -205,25 +200,6 @@ libm_a_AR =3D $(AR) $(ARFLAGS) libm_a_LIBADD =3D libm_a_SOURCES =3D libm.c libm_a_OBJECTS =3D libm.$(OBJEXT) -LTLIBRARIES =3D $(pkglib_LTLIBRARIES) $(toollib_LTLIBRARIES) -libc_la_LIBADD =3D -am_libc_la_OBJECTS =3D -libc_la_OBJECTS =3D $(am_libc_la_OBJECTS) -AM_V_lt =3D $(am__v_lt_@AM_V@) -am__v_lt_ =3D $(am__v_lt_@AM_DEFAULT_V@) -am__v_lt_0 =3D --silent -am__v_lt_1 =3D=20 -libc_la_LINK =3D $(LIBTOOL) $(AM_V_lt) --tag=3DCC $(AM_LIBTOOLFLAGS) \ - $(LIBTOOLFLAGS) --mode=3Dlink $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ - $(libc_la_LDFLAGS) $(LDFLAGS) -o $@ -@USE_LIBTOOL_TRUE@am_libc_la_rpath =3D -rpath $(toollibdir) -libm_la_LIBADD =3D -am_libm_la_OBJECTS =3D -libm_la_OBJECTS =3D $(am_libm_la_OBJECTS) -libm_la_LINK =3D $(LIBTOOL) $(AM_V_lt) --tag=3DCC $(AM_LIBTOOLFLAGS) \ - $(LIBTOOLFLAGS) --mode=3Dlink $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ - $(libm_la_LDFLAGS) $(LDFLAGS) -o $@ -@USE_LIBTOOL_TRUE@am_libm_la_rpath =3D -rpath $(toollibdir) AM_V_P =3D $(am__v_P_@AM_V@) am__v_P_ =3D $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 =3D false @@ -241,23 +217,17 @@ depcomp =3D am__depfiles_maybe =3D COMPILE =3D $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -LTCOMPILE =3D $(LIBTOOL) $(AM_V_lt) --tag=3DCC $(AM_LIBTOOLFLAGS) \ - $(LIBTOOLFLAGS) --mode=3Dcompile $(CC) $(DEFS) \ - $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ - $(AM_CFLAGS) $(CFLAGS) AM_V_CC =3D $(am__v_CC_@AM_V@) am__v_CC_ =3D $(am__v_CC_@AM_DEFAULT_V@) am__v_CC_0 =3D @echo " CC " $@; am__v_CC_1 =3D=20 CCLD =3D $(CC) -LINK =3D $(LIBTOOL) $(AM_V_lt) --tag=3DCC $(AM_LIBTOOLFLAGS) \ - $(LIBTOOLFLAGS) --mode=3Dlink $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ - $(AM_LDFLAGS) $(LDFLAGS) -o $@ +LINK =3D $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ AM_V_CCLD =3D $(am__v_CCLD_@AM_V@) am__v_CCLD_ =3D $(am__v_CCLD_@AM_DEFAULT_V@) am__v_CCLD_0 =3D @echo " CCLD " $@; am__v_CCLD_1 =3D=20 -SOURCES =3D libc.c libm.c $(libc_la_SOURCES) $(libm_la_SOURCES) +SOURCES =3D libc.c libm.c AM_V_DVIPS =3D $(am__v_DVIPS_@AM_V@) am__v_DVIPS_ =3D $(am__v_DVIPS_@AM_DEFAULT_V@) am__v_DVIPS_0 =3D @echo " DVIPS " $@; @@ -350,7 +320,6 @@ ACLOCAL =3D @ACLOCAL@ AMTAR =3D @AMTAR@ AM_DEFAULT_VERBOSITY =3D @AM_DEFAULT_VERBOSITY@ AR =3D @AR@ -AS =3D @AS@ AUTOCONF =3D @AUTOCONF@ AUTOHEADER =3D @AUTOHEADER@ AUTOMAKE =3D @AUTOMAKE@ @@ -369,32 +338,20 @@ CRT1 =3D @CRT1@ CRT1_DIR =3D @CRT1_DIR@ CYGPATH_W =3D @CYGPATH_W@ DEFS =3D @DEFS@ -DLLTOOL =3D @DLLTOOL@ -DSYMUTIL =3D @DSYMUTIL@ -DUMPBIN =3D @DUMPBIN@ ECHO_C =3D @ECHO_C@ ECHO_N =3D @ECHO_N@ ECHO_T =3D @ECHO_T@ -EGREP =3D @EGREP@ EXEEXT =3D @EXEEXT@ EXEEXT_FOR_BUILD =3D @EXEEXT_FOR_BUILD@ -FGREP =3D @FGREP@ -GREP =3D @GREP@ INSTALL =3D @INSTALL@ INSTALL_DATA =3D @INSTALL_DATA@ INSTALL_PROGRAM =3D @INSTALL_PROGRAM@ INSTALL_SCRIPT =3D @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM =3D @INSTALL_STRIP_PROGRAM@ -LD =3D @LD@ LDFLAGS =3D @LDFLAGS@ -LIBM_MACHINE_OBJECTLIST =3D @LIBM_MACHINE_OBJECTLIST@ LIBOBJS =3D @LIBOBJS@ LIBS =3D @LIBS@ -LIBTOOL =3D @LIBTOOL@ -LIPO =3D @LIPO@ -LN_S =3D @LN_S@ LTLIBOBJS =3D @LTLIBOBJS@ -MACHINE_OBJECTLIST =3D @MACHINE_OBJECTLIST@ MAINT =3D @MAINT@ MAKEINFO =3D @MAKEINFO@ MKDIR_P =3D @MKDIR_P@ @@ -403,13 +360,8 @@ NEWLIB_MAJOR_VERSION =3D @NEWLIB_MAJOR_VERSION@ NEWLIB_MINOR_VERSION =3D @NEWLIB_MINOR_VERSION@ NEWLIB_PATCHLEVEL_VERSION =3D @NEWLIB_PATCHLEVEL_VERSION@ NEWLIB_VERSION =3D @NEWLIB_VERSION@ -NM =3D @NM@ -NMEDIT =3D @NMEDIT@ NO_INCLUDE_LIST =3D @NO_INCLUDE_LIST@ -OBJDUMP =3D @OBJDUMP@ OBJEXT =3D @OBJEXT@ -OTOOL =3D @OTOOL@ -OTOOL64 =3D @OTOOL64@ PACKAGE =3D @PACKAGE@ PACKAGE_BUGREPORT =3D @PACKAGE_BUGREPORT@ PACKAGE_NAME =3D @PACKAGE_NAME@ @@ -418,19 +370,11 @@ PACKAGE_TARNAME =3D @PACKAGE_TARNAME@ PACKAGE_URL =3D @PACKAGE_URL@ PACKAGE_VERSION =3D @PACKAGE_VERSION@ PATH_SEPARATOR =3D @PATH_SEPARATOR@ -POSIX_OBJECTLIST =3D @POSIX_OBJECTLIST@ RANLIB =3D @RANLIB@ READELF =3D @READELF@ -SED =3D @SED@ SET_MAKE =3D @SET_MAKE@ SHELL =3D @SHELL@ -SIGNAL_OBJECTLIST =3D @SIGNAL_OBJECTLIST@ -STDIO64_OBJECTLIST =3D @STDIO64_OBJECTLIST@ STRIP =3D @STRIP@ -SYSCALL_OBJECTLIST =3D @SYSCALL_OBJECTLIST@ -SYS_MACH_OBJECTLIST =3D @SYS_MACH_OBJECTLIST@ -SYS_OBJECTLIST =3D @SYS_OBJECTLIST@ -UNIX_OBJECTLIST =3D @UNIX_OBJECTLIST@ VERSION =3D @VERSION@ abs_builddir =3D @abs_builddir@ abs_newlib_basedir =3D @abs_newlib_basedir@ @@ -439,7 +383,6 @@ abs_top_builddir =3D @abs_top_builddir@ abs_top_srcdir =3D @abs_top_srcdir@ ac_ct_AR =3D @ac_ct_AR@ ac_ct_CC =3D @ac_ct_CC@ -ac_ct_DUMPBIN =3D @ac_ct_DUMPBIN@ aext =3D @aext@ am__leading_dot =3D @am__leading_dot@ am__tar =3D @am__tar@ @@ -502,8 +445,6 @@ SUFFIXES =3D $(am__append_5) info_TEXINFOS =3D libc/libc.texi libm/libm.texi noinst_DATA =3D stmp-targ-include $(am__append_1) $(am__append_2) \ $(am__append_3) -pkglib_LTLIBRARIES =3D=20 -LIBTOOL_VERSION_INFO =3D 0:0:0 @NEWLIB_HW_FP_FALSE@MATHDIR =3D math =20 # The newlib hardware floating-point routines have been disabled due to @@ -555,13 +496,10 @@ SUBDIRS =3D libc libm . tooldir =3D $(exec_prefix)/$(host_alias) toollibdir =3D $(tooldir)/lib$(MULTISUBDIR) AR_FLAGS =3D rc -@USE_LIBTOOL_TRUE@toollib_LTLIBRARIES =3D libm.la \ -@USE_LIBTOOL_TRUE@ libc.la - -@USE_LIBTOOL_FALSE@toollib_LIBRARIES =3D libm.a \ -@USE_LIBTOOL_FALSE@ libc.a +toollib_LIBRARIES =3D libm.a \ + libc.a =20 -@HAVE_MULTISUBDIR_TRUE@@USE_LIBTOOL_FALSE@BUILD_MULTISUBDIR =3D $(builddir= )$(MULTISUBDIR) +@HAVE_MULTISUBDIR_TRUE@BUILD_MULTISUBDIR =3D $(builddir)$(MULTISUBDIR) toollib_DATA =3D $(CRT0) $(CRT1) =20 # The functions ldexp, frexp and modf are traditionally supplied in @@ -582,38 +520,6 @@ MATHOBJS_IN_LIBC =3D \ $(lpfx)s_finite.$(oext) $(lpfx)sf_finite.$(oext) \ $(lpfx)s_copysign.$(oext) $(lpfx)sf_copysign.$(oext) =20 -LIBC_OBJECTLISTS =3D \ - $(POSIX_OBJECTLIST) \ - $(SIGNAL_OBJECTLIST) \ - $(SYSCALL_OBJECTLIST) \ - $(UNIX_OBJECTLIST) \ - $(STDIO64_OBJECTLIST) \ - libc/argz/objectlist.awk.in \ - libc/stdlib/objectlist.awk.in \ - libc/time/objectlist.awk.in \ - libc/ctype/objectlist.awk.in \ - libc/search/objectlist.awk.in \ - libc/string/objectlist.awk.in \ - libc/locale/objectlist.awk.in \ - libc/misc/objectlist.awk.in \ - libc/reent/objectlist.awk.in \ - libc/errno/objectlist.awk.in \ - libc/stdio/objectlist.awk.in \ - $(MACHINE_OBJECTLIST) \ - $(SYS_OBJECTLIST) \ - $(SYS_MACH_OBJECTLIST) - -LIBM_OBJECTLISTS =3D \ - libm/$(MATHDIR)/objectlist.awk.in \ - libm/common/objectlist.awk.in \ - $(LIBM_MACHINE_OBJECTLIST) - -libm_la_LDFLAGS =3D -version-info $(LIBTOOL_VERSION_INFO) -release newlib = -no-undefined -Xcompiler -nostdlib -Xlinker --version-script=3D$(srcdir)/li= bc/sys/linux/shared.ld -lgcc -objectlist libm-libtool-objectlist -libc_la_LDFLAGS =3D -version-info $(LIBTOOL_VERSION_INFO) -release newlib = -no-undefined -Xcompiler -nostdlib -Xlinker --version-script=3D$(srcdir)/li= bc/sys/linux/shared.ld -lgcc -objectlist libc-libtool-objectlist -@USE_LIBTOOL_TRUE@libm_la_SOURCES =3D=20 -@USE_LIBTOOL_TRUE@libm_la_DEPENDENCIES =3D libm-libtool-objectlist -@USE_LIBTOOL_TRUE@libc_la_SOURCES =3D=20 -@USE_LIBTOOL_TRUE@libc_la_DEPENDENCIES =3D libc-libtool-objectlist CLEANFILES =3D stmp-targ-include libc/targetdep.tex \ libc/targetdep.tex.stamp $(LIBC_CHEWOUT_FILES) \ $(LIBC_DOCBOOK_OUT_FILES) libc/*.xml libc/*.xml.stamp libc/*.3 \ @@ -841,7 +747,7 @@ all: newlib.h _newlib_version.h $(MAKE) $(AM_MAKEFLAGS) all-recursive =20 .SUFFIXES: -.SUFFIXES: .def .xml .c .dvi .lo .o .obj .ps +.SUFFIXES: .def .xml .c .dvi .o .obj .ps am--refresh: Makefile @: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(srcd= ir)/../multilib.am $(srcdir)/doc/local.mk $(srcdir)/libc/Makefile.inc $(src= dir)/libc/ctype/Makefile.inc $(srcdir)/libc/iconv/Makefile.inc $(srcdir)/li= bc/iconv/lib/Makefile.inc $(srcdir)/libc/locale/Makefile.inc $(srcdir)/libc= /misc/Makefile.inc $(srcdir)/libc/posix/Makefile.inc $(srcdir)/libc/reent/M= akefile.inc $(srcdir)/libc/search/Makefile.inc $(srcdir)/libc/signal/Makefi= le.inc $(srcdir)/libc/ssp/Makefile.inc $(srcdir)/libc/stdio64/Makefile.inc = $(srcdir)/libc/stdio/Makefile.inc $(srcdir)/libc/stdlib/Makefile.inc $(srcd= ir)/libc/string/Makefile.inc $(srcdir)/libc/time/Makefile.inc $(srcdir)/lib= m/Makefile.inc $(srcdir)/libm/common/Makefile.inc $(srcdir)/libm/complex/Ma= kefile.inc $(srcdir)/libm/fenv/Makefile.inc $(srcdir)/libm/mathfp/Makefile.= inc $(srcdir)/libm/math/Makefile.inc $(am__configure_deps) @@ -931,92 +837,6 @@ uninstall-toollibLIBRARIES: clean-toollibLIBRARIES: -test -z "$(toollib_LIBRARIES)" || rm -f $(toollib_LIBRARIES) =20 -@USE_LIBTOOL_TRUE@libc.a: $(libc_a_OBJECTS) $(libc_a_DEPENDENCIES) $(EXTRA= _libc_a_DEPENDENCIES)=20 -@USE_LIBTOOL_TRUE@ $(AM_V_at)-rm -f libc.a -@USE_LIBTOOL_TRUE@ $(AM_V_AR)$(libc_a_AR) libc.a $(libc_a_OBJECTS) $(libc_= a_LIBADD) -@USE_LIBTOOL_TRUE@ $(AM_V_at)$(RANLIB) libc.a - -@USE_LIBTOOL_TRUE@libm.a: $(libm_a_OBJECTS) $(libm_a_DEPENDENCIES) $(EXTRA= _libm_a_DEPENDENCIES)=20 -@USE_LIBTOOL_TRUE@ $(AM_V_at)-rm -f libm.a -@USE_LIBTOOL_TRUE@ $(AM_V_AR)$(libm_a_AR) libm.a $(libm_a_OBJECTS) $(libm_= a_LIBADD) -@USE_LIBTOOL_TRUE@ $(AM_V_at)$(RANLIB) libm.a - -install-pkglibLTLIBRARIES: $(pkglib_LTLIBRARIES) - @$(NORMAL_INSTALL) - @list=3D'$(pkglib_LTLIBRARIES)'; test -n "$(pkglibdir)" || list=3D; \ - list2=3D; for p in $$list; do \ - if test -f $$p; then \ - list2=3D"$$list2 $$p"; \ - else :; fi; \ - done; \ - test -z "$$list2" || { \ - echo " $(MKDIR_P) '$(DESTDIR)$(pkglibdir)'"; \ - $(MKDIR_P) "$(DESTDIR)$(pkglibdir)" || exit 1; \ - echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=3Dinstall $= (INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(pkglibdir)'"; \ - $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=3Dinstall $(INSTAL= L) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(pkglibdir)"; \ - } - -uninstall-pkglibLTLIBRARIES: - @$(NORMAL_UNINSTALL) - @list=3D'$(pkglib_LTLIBRARIES)'; test -n "$(pkglibdir)" || list=3D; \ - for p in $$list; do \ - $(am__strip_dir) \ - echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=3Duninstall= rm -f '$(DESTDIR)$(pkglibdir)/$$f'"; \ - $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=3Duninstall rm -f = "$(DESTDIR)$(pkglibdir)/$$f"; \ - done - -clean-pkglibLTLIBRARIES: - -test -z "$(pkglib_LTLIBRARIES)" || rm -f $(pkglib_LTLIBRARIES) - @list=3D'$(pkglib_LTLIBRARIES)'; \ - locs=3D`for p in $$list; do echo $$p; done | \ - sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ - sort -u`; \ - test -z "$$locs" || { \ - echo rm -f $${locs}; \ - rm -f $${locs}; \ - } - -install-toollibLTLIBRARIES: $(toollib_LTLIBRARIES) - @$(NORMAL_INSTALL) - @list=3D'$(toollib_LTLIBRARIES)'; test -n "$(toollibdir)" || list=3D; \ - list2=3D; for p in $$list; do \ - if test -f $$p; then \ - list2=3D"$$list2 $$p"; \ - else :; fi; \ - done; \ - test -z "$$list2" || { \ - echo " $(MKDIR_P) '$(DESTDIR)$(toollibdir)'"; \ - $(MKDIR_P) "$(DESTDIR)$(toollibdir)" || exit 1; \ - echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=3Dinstall $= (INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(toollibdir)'"; \ - $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=3Dinstall $(INSTAL= L) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(toollibdir)"; \ - } - -uninstall-toollibLTLIBRARIES: - @$(NORMAL_UNINSTALL) - @list=3D'$(toollib_LTLIBRARIES)'; test -n "$(toollibdir)" || list=3D; \ - for p in $$list; do \ - $(am__strip_dir) \ - echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=3Duninstall= rm -f '$(DESTDIR)$(toollibdir)/$$f'"; \ - $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=3Duninstall rm -f = "$(DESTDIR)$(toollibdir)/$$f"; \ - done - -clean-toollibLTLIBRARIES: - -test -z "$(toollib_LTLIBRARIES)" || rm -f $(toollib_LTLIBRARIES) - @list=3D'$(toollib_LTLIBRARIES)'; \ - locs=3D`for p in $$list; do echo $$p; done | \ - sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ - sort -u`; \ - test -z "$$locs" || { \ - echo rm -f $${locs}; \ - rm -f $${locs}; \ - } - -libc.la: $(libc_la_OBJECTS) $(libc_la_DEPENDENCIES) $(EXTRA_libc_la_DEPEND= ENCIES)=20 - $(AM_V_CCLD)$(libc_la_LINK) $(am_libc_la_rpath) $(libc_la_OBJECTS) $(libc= _la_LIBADD) $(LIBS) - -libm.la: $(libm_la_OBJECTS) $(libm_la_DEPENDENCIES) $(EXTRA_libm_la_DEPEND= ENCIES)=20 - $(AM_V_CCLD)$(libm_la_LINK) $(am_libm_la_rpath) $(libm_la_OBJECTS) $(libm= _la_LIBADD) $(LIBS) - mostlyclean-compile: -rm -f *.$(OBJEXT) =20 @@ -1028,18 +848,6 @@ distclean-compile: =20 .c.obj: $(AM_V_CC)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` - -.c.lo: - $(AM_V_CC)$(LTCOMPILE) -c -o $@ $< - -mostlyclean-libtool: - -rm -f *.lo - -clean-libtool: - -rm -rf .libs _libs - -distclean-libtool: - -rm -f libtool config.lt libc/$(am__dirstamp): @$(MKDIR_P) libc @: > libc/$(am__dirstamp) @@ -1353,11 +1161,11 @@ distclean-DEJAGNU: check-am: all-am $(MAKE) $(AM_MAKEFLAGS) check-DEJAGNU check: check-recursive -all-am: Makefile $(LIBRARIES) $(LTLIBRARIES) $(DATA) newlib.h \ - _newlib_version.h all-local +all-am: Makefile $(LIBRARIES) $(DATA) newlib.h _newlib_version.h \ + all-local installdirs: installdirs-recursive installdirs-am: - for dir in "$(DESTDIR)$(toollibdir)" "$(DESTDIR)$(pkglibdir)" "$(DESTDIR)= $(toollibdir)" "$(DESTDIR)$(toollibdir)"; do \ + for dir in "$(DESTDIR)$(toollibdir)" "$(DESTDIR)$(toollibdir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-recursive @@ -1395,16 +1203,14 @@ maintainer-clean-generic: @echo "it deletes files that may require special tools to rebuild." clean: clean-recursive =20 -clean-am: clean-aminfo clean-generic clean-libtool clean-local \ - clean-pkglibLTLIBRARIES clean-toollibLIBRARIES \ - clean-toollibLTLIBRARIES mostlyclean-am +clean-am: clean-aminfo clean-generic clean-local \ + clean-toollibLIBRARIES mostlyclean-am =20 distclean: distclean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -f Makefile distclean-am: clean-am distclean-DEJAGNU distclean-compile \ - distclean-generic distclean-hdr distclean-libtool \ - distclean-local distclean-tags + distclean-generic distclean-hdr distclean-local distclean-tags =20 dvi: dvi-recursive =20 @@ -1419,7 +1225,7 @@ info: info-recursive info-am: $(INFO_DEPS) =20 install-data-am: install-data-local install-toollibDATA \ - install-toollibLIBRARIES install-toollibLTLIBRARIES + install-toollibLIBRARIES =20 install-dvi: install-dvi-recursive =20 @@ -1438,7 +1244,7 @@ install-dvi-am: $(DVIS) echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(dvidir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(dvidir)" || exit $$?; \ done -install-exec-am: install-exec-local install-pkglibLTLIBRARIES +install-exec-am: install-exec-local =20 install-html: install-html-recursive =20 @@ -1546,7 +1352,7 @@ maintainer-clean-am: distclean-am maintainer-clean-am= info \ mostlyclean: mostlyclean-recursive =20 mostlyclean-am: mostlyclean-aminfo mostlyclean-compile \ - mostlyclean-generic mostlyclean-libtool mostlyclean-local + mostlyclean-generic mostlyclean-local =20 pdf: pdf-recursive =20 @@ -1557,67 +1363,53 @@ ps: ps-recursive ps-am: $(PSS) =20 uninstall-am: uninstall-dvi-am uninstall-html-am uninstall-info-am \ - uninstall-pdf-am uninstall-pkglibLTLIBRARIES uninstall-ps-am \ - uninstall-toollibDATA uninstall-toollibLIBRARIES \ - uninstall-toollibLTLIBRARIES + uninstall-pdf-am uninstall-ps-am uninstall-toollibDATA \ + uninstall-toollibLIBRARIES =20 .MAKE: $(am__recursive_targets) all check-am install-am install-strip =20 .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am all-local \ am--refresh check check-DEJAGNU check-am clean clean-aminfo \ - clean-cscope clean-generic clean-libtool clean-local \ - clean-pkglibLTLIBRARIES clean-toollibLIBRARIES \ - clean-toollibLTLIBRARIES cscope cscopelist-am ctags ctags-am \ - dist-info distclean distclean-DEJAGNU distclean-compile \ - distclean-generic distclean-hdr distclean-libtool \ - distclean-local distclean-tags dvi dvi-am html html-am info \ - info-am install install-am install-data install-data-am \ - install-data-local install-dvi install-dvi-am install-exec \ - install-exec-am install-exec-local install-html \ + clean-cscope clean-generic clean-local clean-toollibLIBRARIES \ + cscope cscopelist-am ctags ctags-am dist-info distclean \ + distclean-DEJAGNU distclean-compile distclean-generic \ + distclean-hdr distclean-local distclean-tags dvi dvi-am html \ + html-am info info-am install install-am install-data \ + install-data-am install-data-local install-dvi install-dvi-am \ + install-exec install-exec-am install-exec-local install-html \ install-html-am install-info install-info-am install-man \ - install-pdf install-pdf-am install-pkglibLTLIBRARIES \ - install-ps install-ps-am install-strip install-toollibDATA \ - install-toollibLIBRARIES install-toollibLTLIBRARIES \ + install-pdf install-pdf-am install-ps install-ps-am \ + install-strip install-toollibDATA install-toollibLIBRARIES \ installcheck installcheck-am installdirs installdirs-am \ maintainer-clean maintainer-clean-aminfo \ maintainer-clean-generic maintainer-clean-local mostlyclean \ mostlyclean-aminfo mostlyclean-compile mostlyclean-generic \ - mostlyclean-libtool mostlyclean-local pdf pdf-am ps ps-am tags \ - tags-am uninstall uninstall-am uninstall-dvi-am \ - uninstall-html-am uninstall-info-am uninstall-pdf-am \ - uninstall-pkglibLTLIBRARIES uninstall-ps-am \ - uninstall-toollibDATA uninstall-toollibLIBRARIES \ - uninstall-toollibLTLIBRARIES + mostlyclean-local pdf pdf-am ps ps-am tags tags-am uninstall \ + uninstall-am uninstall-dvi-am uninstall-html-am \ + uninstall-info-am uninstall-pdf-am uninstall-ps-am \ + uninstall-toollibDATA uninstall-toollibLIBRARIES =20 .PRECIOUS: Makefile =20 =20 -# objects listed later in LIBM_OBJECTLISTS will override those listed earl= ier -@USE_LIBTOOL_TRUE@libm-libtool-objectlist: $(LIBM_OBJECTLISTS) -@USE_LIBTOOL_TRUE@ cat $(LIBM_OBJECTLISTS) | $(AWK) '{ libm[$$1] =3D $$2 }= ; END { for (x in libm) printf ("%s\n", libm[x]) }' > $@ - -# objects listed later in LIBM_OBJECTLISTS and LIBC_OBJECTLISTS will overr= ide those listed earlier -@USE_LIBTOOL_TRUE@libc-libtool-objectlist: $(LIBM_OBJECTLISTS) $(LIBC_OBJE= CTLISTS) -@USE_LIBTOOL_TRUE@ cat $(LIBM_OBJECTLISTS) $(LIBC_OBJECTLISTS) | $(AWK) '= { libc[$$1] =3D $$2 }; END { for (x in libc) printf ("%s\n", libc[x]) }' > = $@ - -@USE_LIBTOOL_FALSE@libc.a: libc/libc.a libm.a -@USE_LIBTOOL_FALSE@ rm -rf libc.a libg.a tmp -@USE_LIBTOOL_FALSE@ mkdir tmp -@USE_LIBTOOL_FALSE@ cd tmp; \ -@USE_LIBTOOL_FALSE@ $(AR) x ../libm.a $(MATHOBJS_IN_LIBC) ; \ -@USE_LIBTOOL_FALSE@ $(AR) x ../libc/libc.a ; \ -@USE_LIBTOOL_FALSE@ $(AR) $(AR_FLAGS) ../$@ *.o -@USE_LIBTOOL_FALSE@ $(RANLIB) libc.a -@USE_LIBTOOL_FALSE@ ln libc.a libg.a >/dev/null 2>/dev/null || cp libc.a l= ibg.a -@USE_LIBTOOL_FALSE@ rm -rf tmp +libc.a: libc/libc.a libm.a + rm -rf libc.a libg.a tmp + mkdir tmp + cd tmp; \ + $(AR) x ../libm.a $(MATHOBJS_IN_LIBC) ; \ + $(AR) x ../libc/libc.a ; \ + $(AR) $(AR_FLAGS) ../$@ *.o + $(RANLIB) libc.a + ln libc.a libg.a >/dev/null 2>/dev/null || cp libc.a libg.a + rm -rf tmp =20 -@USE_LIBTOOL_FALSE@libc/libc.a: ; @true +libc/libc.a: ; @true =20 -@USE_LIBTOOL_FALSE@libm.a: libm/libm.a -@USE_LIBTOOL_FALSE@ rm -f $@ -@USE_LIBTOOL_FALSE@ ln $< $@ >/dev/null 2>/dev/null || cp $< $@ +libm.a: libm/libm.a + rm -f $@ + ln $< $@ >/dev/null 2>/dev/null || cp $< $@ =20 -@USE_LIBTOOL_FALSE@libm/libm.a: ; @true +libm/libm.a: ; @true =20 @HAVE_MULTISUBDIR_TRUE@$(BUILD_MULTISUBDIR): @HAVE_MULTISUBDIR_TRUE@ $(MKDIR_P) $@ @@ -1748,8 +1540,8 @@ stmp-targ-include: config.status touch $@ =20 install-data-local: install-toollibLIBRARIES install-multi -@USE_LIBTOOL_FALSE@ rm -f $(DESTDIR)$(toollibdir)/libg.a -@USE_LIBTOOL_FALSE@ ln $(DESTDIR)$(toollibdir)/libc.a $(DESTDIR)$(toollibd= ir)/libg.a >/dev/null 2>/dev/null || cp $(DESTDIR)$(toollibdir)/libc.a $(DE= STDIR)$(toollibdir)/libg.a + rm -f $(DESTDIR)$(toollibdir)/libg.a + ln $(DESTDIR)$(toollibdir)/libc.a $(DESTDIR)$(toollibdir)/libg.a >/dev/nu= ll 2>/dev/null || cp $(DESTDIR)$(toollibdir)/libc.a $(DESTDIR)$(toollibdir)= /libg.a -if [ -z "$(MULTISUBDIR)" ]; then \ $(mkinstalldirs) $(DESTDIR)$(tooldir)/include; \ for i in $(srcdir)/libc/include/*.h; do \ diff --git a/newlib/Makefile.shared b/newlib/Makefile.shared deleted file mode 100644 index 00ea85335..000000000 --- a/newlib/Makefile.shared +++ /dev/null @@ -1,6 +0,0 @@ -objectlist.awk.in: $(noinst_LTLIBRARIES) - -rm -f objectlist.awk.in - for i in `ls *.lo` ; \ - do \ - echo $$i `pwd`/$$i >> objectlist.awk.in ; \ - done diff --git a/newlib/acinclude.m4 b/newlib/acinclude.m4 index ba6e0464c..e75fbfd2a 100644 --- a/newlib/acinclude.m4 +++ b/newlib/acinclude.m4 @@ -148,8 +148,6 @@ AM_CONDITIONAL(ELIX_LEVEL_2, test x[$]{newlib_elix_leve= l} =3D x2) AM_CONDITIONAL(ELIX_LEVEL_3, test x[$]{newlib_elix_level} =3D x3) AM_CONDITIONAL(ELIX_LEVEL_4, test x[$]{newlib_elix_level} =3D x4) =20 -AM_CONDITIONAL(USE_LIBTOOL, test x[$]{use_libtool} =3D xyes) - # Emit any target-specific warnings. if test "x${newlib_msg_warn}" !=3D "x"; then AC_MSG_WARN([${newlib_msg_warn}]) diff --git a/newlib/aclocal.m4 b/newlib/aclocal.m4 index ac75655f3..f0bb2f702 100644 --- a/newlib/aclocal.m4 +++ b/newlib/aclocal.m4 @@ -935,10 +935,5 @@ AC_SUBST([am__untar]) m4_include([../config/lead-dot.m4]) m4_include([../config/multi.m4]) m4_include([../config/override.m4]) -m4_include([../libtool.m4]) -m4_include([../ltoptions.m4]) -m4_include([../ltsugar.m4]) -m4_include([../ltversion.m4]) -m4_include([../lt~obsolete.m4]) m4_include([iconv.m4]) m4_include([acinclude.m4]) diff --git a/newlib/configure b/newlib/configure index 7bb5a0fac..5de11797d 100755 --- a/newlib/configure +++ b/newlib/configure @@ -195,16 +195,7 @@ test -x / || exit 1" as_suggested=3D" as_lineno_1=3D";as_suggested=3D$as_suggested$LINENO;as= _suggested=3D$as_suggested" as_lineno_1a=3D\$LINENO as_lineno_2=3D";as_suggested=3D$as_suggested$LINENO;as_suggested=3D$as_s= uggested" as_lineno_2a=3D\$LINENO eval 'test \"x\$as_lineno_1'\$as_run'\" !=3D \"x\$as_lineno_2'\$as_run'\= " && - test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" =3D \"x\$as_lineno_2'\$as= _run'\"' || exit 1 -test \$(( 1 + 1 )) =3D 2 || exit 1 - - test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( - ECHO=3D'\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\= \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\= \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' - ECHO=3D\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO - ECHO=3D\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO - PATH=3D/empty FPATH=3D/empty; export PATH FPATH - test \"X\`printf %s \$ECHO\`\" =3D \"X\$ECHO\" \\ - || test \"X\`print -r -- \$ECHO\`\" =3D \"X\$ECHO\" ) || exit 1" + test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" =3D \"x\$as_lineno_2'\$as= _run'\"' || exit 1" if (eval "$as_required") 2>/dev/null; then : as_have_required=3Dyes else @@ -561,8 +552,6 @@ as_tr_cpp=3D"eval sed 'y%*$as_cr_letters%P$as_cr_LETTER= S%;s%[^_$as_cr_alnum]%_%g'" # Sed expression to map a string onto a valid variable name. as_tr_sh=3D"eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" =20 -SHELL=3D${CONFIG_SHELL-/bin/sh} - =20 test -n "$DJDIR" || exec 7<&0 &1 @@ -594,42 +583,6 @@ PACKAGE_URL=3D'' =20 ac_unique_file=3D"libc" ac_no_link=3Dno -# Factoring default headers for most tests. -ac_includes_default=3D"\ -#include -#ifdef HAVE_SYS_TYPES_H -# include -#endif -#ifdef HAVE_SYS_STAT_H -# include -#endif -#ifdef STDC_HEADERS -# include -# include -#else -# ifdef HAVE_STDLIB_H -# include -# endif -#endif -#ifdef HAVE_STRING_H -# if !defined STDC_HEADERS && defined HAVE_MEMORY_H -# include -# endif -# include -#endif -#ifdef HAVE_STRINGS_H -# include -#endif -#ifdef HAVE_INTTYPES_H -# include -#endif -#ifdef HAVE_STDINT_H -# include -#endif -#ifdef HAVE_UNISTD_H -# include -#endif" - enable_option_checking=3Dno ac_subst_vars=3D'am__EXEEXT_FALSE am__EXEEXT_TRUE @@ -643,15 +596,6 @@ NEWLIB_MAJOR_VERSION NEWLIB_VERSION EXEEXT_FOR_BUILD CC_FOR_BUILD -STDIO64_OBJECTLIST -UNIX_OBJECTLIST -SYSCALL_OBJECTLIST -SIGNAL_OBJECTLIST -POSIX_OBJECTLIST -SYS_MACH_OBJECTLIST -SYS_OBJECTLIST -MACHINE_OBJECTLIST -LIBM_MACHINE_OBJECTLIST CRT1_DIR CRT1 CRT0_DIR @@ -666,24 +610,6 @@ subdirs CC_FOR_NEWLIB NEWLIB_HW_FP_FALSE NEWLIB_HW_FP_TRUE -OTOOL64 -OTOOL -LIPO -NMEDIT -DSYMUTIL -LN_S -NM -ac_ct_DUMPBIN -DUMPBIN -LD -FGREP -EGREP -GREP -LIBTOOL -OBJDUMP -DLLTOOL -AS -SED sys_dir shared_machine_dir machine_dir @@ -691,8 +617,6 @@ libm_machine_dir lpfx aext oext -USE_LIBTOOL_FALSE -USE_LIBTOOL_TRUE ELIX_LEVEL_4_FALSE ELIX_LEVEL_4_TRUE ELIX_LEVEL_3_FALSE @@ -839,12 +763,6 @@ enable_newlib_supplied_syscalls enable_newlib_fno_builtin enable_silent_rules enable_maintainer_mode -enable_shared -enable_static -with_pic -enable_fast_install -with_gnu_ld -enable_libtool_lock ' ac_precious_vars=3D'build_alias host_alias @@ -1515,18 +1433,6 @@ Optional Features: --enable-maintainer-mode enable make rules and dependencies not useful (a= nd sometimes confusing) to the casual installer - --enable-shared[=3DPKGS] build shared libraries [default=3Dyes] - --enable-static[=3DPKGS] build static libraries [default=3Dyes] - --enable-fast-install[=3DPKGS] - optimize for fast installation [default=3Dyes] - --disable-libtool-lock avoid locking (might break parallel builds) - -Optional Packages: - --with-PACKAGE[=3DARG] use PACKAGE [ARG=3Dyes] - --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=3Dno) - --with-pic try to use only PIC/non-PIC objects [default=3Du= se - both] - --with-gnu-ld assume the C compiler uses GNU ld [default=3Dno] =20 Some influential environment variables: CC C compiler command @@ -1694,195 +1600,6 @@ fi as_fn_set_status $ac_retval =20 } # ac_fn_c_try_cpp - -# ac_fn_c_try_link LINENO -# ----------------------- -# Try to link conftest.$ac_ext, and return whether this succeeded. -ac_fn_c_try_link () -{ - as_lineno=3D${as_lineno-"$1"} as_lineno_stack=3Das_lineno_stack=3D$as_li= neno_stack - rm -f conftest.$ac_objext conftest$ac_exeext - if { { ac_try=3D"$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=3D\$ac_try;; - *) ac_try_echo=3D$ac_try;; -esac -eval ac_try_echo=3D"\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_link") 2>conftest.err - ac_status=3D$? - if test -s conftest.err; then - grep -v '^ *+' conftest.err >conftest.er1 - cat conftest.er1 >&5 - mv -f conftest.er1 conftest.err - fi - $as_echo "$as_me:${as_lineno-$LINENO}: \$? =3D $ac_status" >&5 - test $ac_status =3D 0; } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && { - test "$cross_compiling" =3D yes || - test -x conftest$ac_exeext - }; then : - ac_retval=3D0 -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_retval=3D1 -fi - # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information - # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would - # interfere with the next link command; also delete a directory that is - # left behind by Apple's compiler. We do this before executing the acti= ons. - rm -rf conftest.dSYM conftest_ipa8_conftest.oo - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno - as_fn_set_status $ac_retval - -} # ac_fn_c_try_link - -# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES -# ------------------------------------------------------- -# Tests whether HEADER exists and can be compiled using the include files = in -# INCLUDES, setting the cache variable VAR accordingly. -ac_fn_c_check_header_compile () -{ - as_lineno=3D${as_lineno-"$1"} as_lineno_stack=3Das_lineno_stack=3D$as_li= neno_stack - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -$as_echo_n "checking for $2... " >&6; } -if eval \${$3+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$4 -#include <$2> -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - eval "$3=3Dyes" -else - eval "$3=3Dno" -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -eval ac_res=3D\$$3 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno - -} # ac_fn_c_check_header_compile - -# ac_fn_c_try_run LINENO -# ---------------------- -# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes -# that executables *can* be run. -ac_fn_c_try_run () -{ - as_lineno=3D${as_lineno-"$1"} as_lineno_stack=3Das_lineno_stack=3D$as_li= neno_stack - if { { ac_try=3D"$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=3D\$ac_try;; - *) ac_try_echo=3D$ac_try;; -esac -eval ac_try_echo=3D"\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_link") 2>&5 - ac_status=3D$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? =3D $ac_status" >&5 - test $ac_status =3D 0; } && { ac_try=3D'./conftest$ac_exeext' - { { case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=3D\$ac_try;; - *) ac_try_echo=3D$ac_try;; -esac -eval ac_try_echo=3D"\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_try") 2>&5 - ac_status=3D$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? =3D $ac_status" >&5 - test $ac_status =3D 0; }; }; then : - ac_retval=3D0 -else - $as_echo "$as_me: program exited with status $ac_status" >&5 - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_retval=3D$ac_status -fi - rm -rf conftest.dSYM conftest_ipa8_conftest.oo - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno - as_fn_set_status $ac_retval - -} # ac_fn_c_try_run - -# ac_fn_c_check_func LINENO FUNC VAR -# ---------------------------------- -# Tests whether FUNC exists, setting the cache variable VAR accordingly -ac_fn_c_check_func () -{ - as_lineno=3D${as_lineno-"$1"} as_lineno_stack=3Das_lineno_stack=3D$as_li= neno_stack - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -$as_echo_n "checking for $2... " >&6; } -if eval \${$3+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test x$ac_no_link =3D xyes; then - as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LI= NENO" 5 -fi -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -/* Define $2 to an innocuous variant, in case declares $2. - For example, HP-UX 11i declares gettimeofday. */ -#define $2 innocuous_$2 - -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $2 (); below. - Prefer to if __STDC__ is defined, since - exists even on freestanding compilers. */ - -#ifdef __STDC__ -# include -#else -# include -#endif - -#undef $2 - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char $2 (); -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined __stub_$2 || defined __stub___$2 -choke me -#endif - -int -main () -{ -return $2 (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - eval "$3=3Dyes" -else - eval "$3=3Dno" -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -fi -eval ac_res=3D\$$3 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno - -} # ac_fn_c_check_func cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. @@ -4943,15 +4660,6 @@ else fi =20 =20 - if test x${use_libtool} =3D xyes; then - USE_LIBTOOL_TRUE=3D - USE_LIBTOOL_FALSE=3D'#' -else - USE_LIBTOOL_TRUE=3D'#' - USE_LIBTOOL_FALSE=3D -fi - - # Emit any target-specific warnings. if test "x${newlib_msg_warn}" !=3D "x"; then { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${newlib_msg_warn}" >= &5 @@ -4973,7213 +4681,138 @@ OBJEXT=3D${oext} =20 =20 =20 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not = truncate output" >&5 -$as_echo_n "checking for a sed that does not truncate output... " >&6; } -if ${ac_cv_path_SED+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_script=3Ds/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbb= bbbbbbbbbbbbbbbbbbbbb/ - for ac_i in 1 2 3 4 5 6 7; do - ac_script=3D"$ac_script$as_nl$ac_script" - done - echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed - { ac_script=3D; unset ac_script;} - if test -z "$SED"; then - ac_path_SED_found=3Dfalse - # Loop through the user's path and test for each of PROGNAME-LIST - as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. - for ac_prog in sed gsed; do - for ac_exec_ext in '' $ac_executable_extensions; do - ac_path_SED=3D"$as_dir/$ac_prog$ac_exec_ext" - as_fn_executable_p "$ac_path_SED" || continue -# Check for GNU ac_path_SED and select it if it is found. - # Check for GNU $ac_path_SED -case `"$ac_path_SED" --version 2>&1` in -*GNU*) - ac_cv_path_SED=3D"$ac_path_SED" ac_path_SED_found=3D:;; -*) - ac_count=3D0 - $as_echo_n 0123456789 >"conftest.in" - while : - do - cat "conftest.in" "conftest.in" >"conftest.tmp" - mv "conftest.tmp" "conftest.in" - cp "conftest.in" "conftest.nl" - $as_echo '' >> "conftest.nl" - "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/= null || break - diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break - as_fn_arith $ac_count + 1 && ac_count=3D$as_val - if test $ac_count -gt ${ac_path_SED_max-0}; then - # Best one so far, save it but keep looking for a better one - ac_cv_path_SED=3D"$ac_path_SED" - ac_path_SED_max=3D$ac_count - fi - # 10*(2^10) chars as input seems more than enough - test $ac_count -gt 10 && break - done - rm -f conftest.in conftest.tmp conftest.nl conftest.out;; -esac - - $ac_path_SED_found && break 3 - done - done - done -IFS=3D$as_save_IFS - if test -z "$ac_cv_path_SED"; then - as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 - fi +newlib_hw_fp=3Dfalse +#AC_ARG_ENABLE(newlib_hw_fp, +#[ --enable-newlib-hw-fp Turn on hardware floating point math], +#[case "${enableval}" in +# yes) newlib_hw_fp=3Dtrue ;; +# no) newlib_hw_fp=3Dfalse ;; +# *) AC_MSG_ERROR(bad value ${enableval} for --enable-newlib-hw-fp) ;; +# esac],[newlib_hw_fp=3Dfalse]) + if test x$newlib_hw_fp =3D xtrue; then + NEWLIB_HW_FP_TRUE=3D + NEWLIB_HW_FP_FALSE=3D'#' else - ac_cv_path_SED=3D$SED -fi - + NEWLIB_HW_FP_TRUE=3D'#' + NEWLIB_HW_FP_FALSE=3D fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 -$as_echo "$ac_cv_path_SED" >&6; } - SED=3D"$ac_cv_path_SED" - rm -f conftest.sed - -test -z "$SED" && SED=3Dsed -Xsed=3D"$SED -e 1s/^X//" - =20 =20 +# These get added in the top-level configure.in, except in the case where +# newlib is being built natively. +LIBC_INCLUDE_GREP=3D`echo ${CC} | grep \/libc\/include` +if test -z "${LIBC_INCLUDE_GREP}"; then + CC_FOR_NEWLIB=3D"${CC} -I$PWD/targ-include -I${abs_newlib_basedir}/libc/= include" +else + CC_FOR_NEWLIB=3D"${CC}" +fi =20 =20 =20 =20 +subdirs=3D"$subdirs libc" =20 +subdirs=3D"$subdirs libm" =20 =20 +if test -z "${with_multisubdir}"; then + have_multisubdir=3Dno +else + have_multisubdir=3Dyes +fi + if test x$have_multisubdir =3D xno; then + HAVE_DOC_TRUE=3D + HAVE_DOC_FALSE=3D'#' +else + HAVE_DOC_TRUE=3D'#' + HAVE_DOC_FALSE=3D +fi =20 -ECHO=3D'\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\= \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' -ECHO=3D$ECHO$ECHO$ECHO$ECHO$ECHO -ECHO=3D$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO =20 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 -$as_echo_n "checking how to print strings... " >&6; } -# Test print first, because it will be a builtin if present. -if test "X`print -r -- -n 2>/dev/null`" =3D X-n && \ - test "X`print -r -- $ECHO 2>/dev/null`" =3D "X$ECHO"; then - ECHO=3D'print -r --' -elif test "X`printf %s $ECHO 2>/dev/null`" =3D "X$ECHO"; then - ECHO=3D'printf %s\n' +# Some run-time support libraries provided by GCC (e.g. libgomp) use confi= gure +# checks to detect certain features, e.g. availability of thread-local sto= rage. +# The configure script generates a test program and tries to compile and l= ink +# it. It should use target libraries and startfiles of the build tree if +# available and not random ones from the installation prefix for this +# procedure. The search directories specified by -B are a bit special, see +# for_each_path() in gcc.c of the GCC sources. First a search is performe= d on +# all search paths with the multilib directory appended (if desired), then= a +# second search is performed on demand with the base directory only. For = each +# multilib there is a "newlib" subdirectory. This directory is specified = by a +# -B option for the support libraries. In order to find the newlib artifa= cts +# (ctr0.o, libc.a, libg.a and libm.a) they must be located in a proper mul= tilib +# subdirectory withing the build directory. + if test x$have_multisubdir =3D xyes; then + HAVE_MULTISUBDIR_TRUE=3D + HAVE_MULTISUBDIR_FALSE=3D'#' else - # Use this function as a fallback that always works. - func_fallback_echo () - { - eval 'cat <<_LTECHO_EOF -$1 -_LTECHO_EOF' - } - ECHO=3D'func_fallback_echo' + HAVE_MULTISUBDIR_TRUE=3D'#' + HAVE_MULTISUBDIR_FALSE=3D fi =20 -# func_echo_all arg... -# Invoke $ECHO with all args, space-separated. -func_echo_all () -{ - $ECHO "" -} =20 -case "$ECHO" in - printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 -$as_echo "printf" >&6; } ;; - print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 -$as_echo "print -r" >&6; } ;; - *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 -$as_echo "cat" >&6; } ;; -esac +CRT0=3D +CRT0_DIR=3D +if test "x${have_crt0}" =3D "xyes"; then + CRT0=3Dcrt0.o + CRT0_DIR=3Dlibc/sys/${sys_dir}/ +fi + if test x$have_crt0 =3D xyes; then + HAVE_CRT0_TRUE=3D + HAVE_CRT0_FALSE=3D'#' +else + HAVE_CRT0_TRUE=3D'#' + HAVE_CRT0_FALSE=3D +fi =20 =20 =20 =20 +CRT1=3D${crt1} +CRT1_DIR=3D +if test -n "${crt1_dir}"; then + CRT1_DIR=3D${crt1_dir}/ +fi =20 =20 =20 +# Put a plausible default for CC_FOR_BUILD in Makefile. +if test -z "$CC_FOR_BUILD"; then + if test "x$cross_compiling" =3D "xno"; then + CC_FOR_BUILD=3D'$(CC)' + else + CC_FOR_BUILD=3Dgcc + fi +fi =20 =20 +# Also set EXEEXT_FOR_BUILD. +if test "x$cross_compiling" =3D "xno"; then + EXEEXT_FOR_BUILD=3D'$(EXEEXT)' +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for build system execu= table suffix" >&5 +$as_echo_n "checking for build system executable suffix... " >&6; } +if ${newlib_cv_build_exeext+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat > ac_c_test.c << 'EOF' +int main() { +/* Nothing needed here */ +} +EOF + ${CC_FOR_BUILD} -o ac_c_test am_c_test.c 1>&5 2>&5 + newlib_cv_build_exeext=3D`echo ac_c_test.* | grep -v ac_c_test.c | sed= -e s/ac_c_test//` + rm -f ac_c_test* + test x"${newlib_cv_build_exeext}" =3D x && newlib_cv_build_exeext=3Dno +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $newlib_cv_build_exeext" = >&5 +$as_echo "$newlib_cv_build_exeext" >&6; } + EXEEXT_FOR_BUILD=3D"" + test x"${newlib_cv_build_exeext}" !=3D xno && EXEEXT_FOR_BUILD=3D${newli= b_cv_build_exeext} +fi =20 =20 - - - -if test "${use_libtool}" =3D "yes"; then -case `pwd` in - *\ * | *\ *) - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cop= e well with whitespace in \`pwd\`" >&5 -$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \= `pwd\`" >&2;} ;; -esac - - - -macro_version=3D'2.2.7a' -macro_revision=3D'1.3134' - - - - - - - - - - - - - -ltmain=3D"$ac_aux_dir/ltmain.sh" - -# Backslashify metacharacters that are still active within -# double-quoted strings. -sed_quote_subst=3D's/\(["`$\\]\)/\\\1/g' - -# Same as above, but do not quote variable references. -double_quote_subst=3D's/\(["`\\]\)/\\\1/g' - -# Sed substitution to delay expansion of an escaped shell variable in a -# double_quote_subst'ed string. -delay_variable_subst=3D's/\\\\\\\\\\\$/\\\\\\$/g' - -# Sed substitution to delay expansion of an escaped single quote. -delay_single_quote_subst=3D's/'\''/'\'\\\\\\\'\''/g' - -# Sed substitution to avoid accidental globbing in evaled expressions -no_glob_subst=3D's/\*/\\\*/g' - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles lo= ng lines and -e" >&5 -$as_echo_n "checking for grep that handles long lines and -e... " >&6; } -if ${ac_cv_path_GREP+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -z "$GREP"; then - ac_path_GREP_found=3Dfalse - # Loop through the user's path and test for each of PROGNAME-LIST - as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR -for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin -do - IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. - for ac_prog in grep ggrep; do - for ac_exec_ext in '' $ac_executable_extensions; do - ac_path_GREP=3D"$as_dir/$ac_prog$ac_exec_ext" - as_fn_executable_p "$ac_path_GREP" || continue -# Check for GNU ac_path_GREP and select it if it is found. - # Check for GNU $ac_path_GREP -case `"$ac_path_GREP" --version 2>&1` in -*GNU*) - ac_cv_path_GREP=3D"$ac_path_GREP" ac_path_GREP_found=3D:;; -*) - ac_count=3D0 - $as_echo_n 0123456789 >"conftest.in" - while : - do - cat "conftest.in" "conftest.in" >"conftest.tmp" - mv "conftest.tmp" "conftest.in" - cp "conftest.in" "conftest.nl" - $as_echo 'GREP' >> "conftest.nl" - "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"con= ftest.out" 2>/dev/null || break - diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break - as_fn_arith $ac_count + 1 && ac_count=3D$as_val - if test $ac_count -gt ${ac_path_GREP_max-0}; then - # Best one so far, save it but keep looking for a better one - ac_cv_path_GREP=3D"$ac_path_GREP" - ac_path_GREP_max=3D$ac_count - fi - # 10*(2^10) chars as input seems more than enough - test $ac_count -gt 10 && break - done - rm -f conftest.in conftest.tmp conftest.nl conftest.out;; -esac - - $ac_path_GREP_found && break 3 - done - done - done -IFS=3D$as_save_IFS - if test -z "$ac_cv_path_GREP"; then - as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARA= TOR/usr/xpg4/bin" "$LINENO" 5 - fi -else - ac_cv_path_GREP=3D$GREP -fi - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 -$as_echo "$ac_cv_path_GREP" >&6; } - GREP=3D"$ac_cv_path_GREP" - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 -$as_echo_n "checking for egrep... " >&6; } -if ${ac_cv_path_EGREP+:} false; then : - $as_echo_n "(cached) " >&6 -else - if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 - then ac_cv_path_EGREP=3D"$GREP -E" - else - if test -z "$EGREP"; then - ac_path_EGREP_found=3Dfalse - # Loop through the user's path and test for each of PROGNAME-LIST - as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR -for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin -do - IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. - for ac_prog in egrep; do - for ac_exec_ext in '' $ac_executable_extensions; do - ac_path_EGREP=3D"$as_dir/$ac_prog$ac_exec_ext" - as_fn_executable_p "$ac_path_EGREP" || continue -# Check for GNU ac_path_EGREP and select it if it is found. - # Check for GNU $ac_path_EGREP -case `"$ac_path_EGREP" --version 2>&1` in -*GNU*) - ac_cv_path_EGREP=3D"$ac_path_EGREP" ac_path_EGREP_found=3D:;; -*) - ac_count=3D0 - $as_echo_n 0123456789 >"conftest.in" - while : - do - cat "conftest.in" "conftest.in" >"conftest.tmp" - mv "conftest.tmp" "conftest.in" - cp "conftest.in" "conftest.nl" - $as_echo 'EGREP' >> "conftest.nl" - "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null = || break - diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break - as_fn_arith $ac_count + 1 && ac_count=3D$as_val - if test $ac_count -gt ${ac_path_EGREP_max-0}; then - # Best one so far, save it but keep looking for a better one - ac_cv_path_EGREP=3D"$ac_path_EGREP" - ac_path_EGREP_max=3D$ac_count - fi - # 10*(2^10) chars as input seems more than enough - test $ac_count -gt 10 && break - done - rm -f conftest.in conftest.tmp conftest.nl conftest.out;; -esac - - $ac_path_EGREP_found && break 3 - done - done - done -IFS=3D$as_save_IFS - if test -z "$ac_cv_path_EGREP"; then - as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPAR= ATOR/usr/xpg4/bin" "$LINENO" 5 - fi -else - ac_cv_path_EGREP=3D$EGREP -fi - - fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 -$as_echo "$ac_cv_path_EGREP" >&6; } - EGREP=3D"$ac_cv_path_EGREP" - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 -$as_echo_n "checking for fgrep... " >&6; } -if ${ac_cv_path_FGREP+:} false; then : - $as_echo_n "(cached) " >&6 -else - if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 - then ac_cv_path_FGREP=3D"$GREP -F" - else - if test -z "$FGREP"; then - ac_path_FGREP_found=3Dfalse - # Loop through the user's path and test for each of PROGNAME-LIST - as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR -for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin -do - IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. - for ac_prog in fgrep; do - for ac_exec_ext in '' $ac_executable_extensions; do - ac_path_FGREP=3D"$as_dir/$ac_prog$ac_exec_ext" - as_fn_executable_p "$ac_path_FGREP" || continue -# Check for GNU ac_path_FGREP and select it if it is found. - # Check for GNU $ac_path_FGREP -case `"$ac_path_FGREP" --version 2>&1` in -*GNU*) - ac_cv_path_FGREP=3D"$ac_path_FGREP" ac_path_FGREP_found=3D:;; -*) - ac_count=3D0 - $as_echo_n 0123456789 >"conftest.in" - while : - do - cat "conftest.in" "conftest.in" >"conftest.tmp" - mv "conftest.tmp" "conftest.in" - cp "conftest.in" "conftest.nl" - $as_echo 'FGREP' >> "conftest.nl" - "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || = break - diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break - as_fn_arith $ac_count + 1 && ac_count=3D$as_val - if test $ac_count -gt ${ac_path_FGREP_max-0}; then - # Best one so far, save it but keep looking for a better one - ac_cv_path_FGREP=3D"$ac_path_FGREP" - ac_path_FGREP_max=3D$ac_count - fi - # 10*(2^10) chars as input seems more than enough - test $ac_count -gt 10 && break - done - rm -f conftest.in conftest.tmp conftest.nl conftest.out;; -esac - - $ac_path_FGREP_found && break 3 - done - done - done -IFS=3D$as_save_IFS - if test -z "$ac_cv_path_FGREP"; then - as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPAR= ATOR/usr/xpg4/bin" "$LINENO" 5 - fi -else - ac_cv_path_FGREP=3D$FGREP -fi - - fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 -$as_echo "$ac_cv_path_FGREP" >&6; } - FGREP=3D"$ac_cv_path_FGREP" - - -test -z "$GREP" && GREP=3Dgrep - - - - - - - - - - - - - - - - - - - -# Check whether --with-gnu-ld was given. -if test "${with_gnu_ld+set}" =3D set; then : - withval=3D$with_gnu_ld; test "$withval" =3D no || with_gnu_ld=3Dyes -else - with_gnu_ld=3Dno -fi - -ac_prog=3Dld -if test "$GCC" =3D yes; then - # Check if gcc -print-prog-name=3Dld gives a path. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 -$as_echo_n "checking for ld used by $CC... " >&6; } - case $host in - *-*-mingw*) - # gcc leaves a trailing carriage return which upsets mingw - ac_prog=3D`($CC -print-prog-name=3Dld) 2>&5 | tr -d '\015'` ;; - *) - ac_prog=3D`($CC -print-prog-name=3Dld) 2>&5` ;; - esac - case $ac_prog in - # Accept absolute paths. - [\\/]* | ?:[\\/]*) - re_direlt=3D'/[^/][^/]*/\.\./' - # Canonicalize the pathname of ld - ac_prog=3D`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` - while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do - ac_prog=3D`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` - done - test -z "$LD" && LD=3D"$ac_prog" - ;; - "") - # If it fails, then pretend we aren't using GCC. - ac_prog=3Dld - ;; - *) - # If it is relative, then search for the first ld in PATH. - with_gnu_ld=3Dunknown - ;; - esac -elif test "$with_gnu_ld" =3D yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 -$as_echo_n "checking for GNU ld... " >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 -$as_echo_n "checking for non-GNU ld... " >&6; } -fi -if ${lt_cv_path_LD+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -z "$LD"; then - lt_save_ifs=3D"$IFS"; IFS=3D$PATH_SEPARATOR - for ac_dir in $PATH; do - IFS=3D"$lt_save_ifs" - test -z "$ac_dir" && ac_dir=3D. - if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext";= then - lt_cv_path_LD=3D"$ac_dir/$ac_prog" - # Check to see if the program is GNU ld. I'd rather use --version, - # but apparently some variants of GNU ld only accept -v. - # Break only if it was the GNU/non-GNU ld that we prefer. - case `"$lt_cv_path_LD" -v 2>&1 &5 -$as_echo "$LD" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi -test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINEN= O" 5 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is G= NU ld" >&5 -$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } -if ${lt_cv_prog_gnu_ld+:} false; then : - $as_echo_n "(cached) " >&6 -else - # I'd rather use --version here, but apparently some GNU lds only accept= -v. -case `$LD -v 2>&1 &5 -$as_echo "$lt_cv_prog_gnu_ld" >&6; } -with_gnu_ld=3D$lt_cv_prog_gnu_ld - - - - - - - - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatibl= e name lister (nm)" >&5 -$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } -if ${lt_cv_path_NM+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$NM"; then - # Let the user override the nm to test. - lt_nm_to_check=3D"$NM" - else - lt_nm_to_check=3D"${ac_tool_prefix}nm" - if test -n "$ac_tool_prefix" && test "$build" =3D "$host"; then - lt_nm_to_check=3D"$lt_nm_to_check nm" - fi - fi - for lt_tmp_nm in $lt_nm_to_check; do - lt_save_ifs=3D"$IFS"; IFS=3D$PATH_SEPARATOR - for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do - IFS=3D"$lt_save_ifs" - test -z "$ac_dir" && ac_dir=3D. - case "$lt_tmp_nm" in - */*|*\\*) tmp_nm=3D"$lt_tmp_nm";; - *) tmp_nm=3D"$ac_dir/$lt_tmp_nm";; - esac - if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then - # Check to see if the nm accepts a BSD-compat flag. - # Adding the `sed 1q' prevents false positives on HP-UX, which says: - # nm: unknown option "B" ignored - case `"$tmp_nm" -B "$tmp_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in - *$tmp_nm*) lt_cv_path_NM=3D"$tmp_nm -B" - break - ;; - *) - case `"$tmp_nm" -p "$tmp_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in - *$tmp_nm*) - lt_cv_path_NM=3D"$tmp_nm -p" - break - ;; - *) - lt_cv_path_NM=3D${lt_cv_path_NM=3D"$tmp_nm"} # keep the first match, b= ut - continue # so that we can try to find one that supports BSD flags - ;; - esac - ;; - esac - fi - done - IFS=3D"$lt_save_ifs" - done - : ${lt_cv_path_NM=3Dno} -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 -$as_echo "$lt_cv_path_NM" >&6; } -if test "$lt_cv_path_NM" !=3D "no"; then - NM=3D"$lt_cv_path_NM" -else - # Didn't find any BSD compatible name lister, look for dumpbin. - if test -n "$DUMPBIN"; then : - # Let the user override the test. - else - if test -n "$ac_tool_prefix"; then - for ac_prog in dumpbin "link -dump" - do - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a = program name with args. -set dummy $ac_tool_prefix$ac_prog; ac_word=3D$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_DUMPBIN+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$DUMPBIN"; then - ac_cv_prog_DUMPBIN=3D"$DUMPBIN" # Let the user override the test. -else -as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_DUMPBIN=3D"$ac_tool_prefix$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 - break 2 - fi -done - done -IFS=3D$as_save_IFS - -fi -fi -DUMPBIN=3D$ac_cv_prog_DUMPBIN -if test -n "$DUMPBIN"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 -$as_echo "$DUMPBIN" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$DUMPBIN" && break - done -fi -if test -z "$DUMPBIN"; then - ac_ct_DUMPBIN=3D$DUMPBIN - for ac_prog in dumpbin "link -dump" -do - # Extract the first word of "$ac_prog", so it can be a program name with= args. -set dummy $ac_prog; ac_word=3D$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_DUMPBIN"; then - ac_cv_prog_ac_ct_DUMPBIN=3D"$ac_ct_DUMPBIN" # Let the user override the = test. -else -as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_ac_ct_DUMPBIN=3D"$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 - break 2 - fi -done - done -IFS=3D$as_save_IFS - -fi -fi -ac_ct_DUMPBIN=3D$ac_cv_prog_ac_ct_DUMPBIN -if test -n "$ac_ct_DUMPBIN"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 -$as_echo "$ac_ct_DUMPBIN" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$ac_ct_DUMPBIN" && break -done - - if test "x$ac_ct_DUMPBIN" =3D x; then - DUMPBIN=3D":" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not pr= efixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triple= t" >&2;} -ac_tool_warned=3Dyes ;; -esac - DUMPBIN=3D$ac_ct_DUMPBIN - fi -fi - - case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in - *COFF*) - DUMPBIN=3D"$DUMPBIN -symbols" - ;; - *) - DUMPBIN=3D: - ;; - esac - fi - - if test "$DUMPBIN" !=3D ":"; then - NM=3D"$DUMPBIN" - fi -fi -test -z "$NM" && NM=3Dnm - - - - - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) in= terface" >&5 -$as_echo_n "checking the name lister ($NM) interface... " >&6; } -if ${lt_cv_nm_interface+:} false; then : - $as_echo_n "(cached) " >&6 -else - lt_cv_nm_interface=3D"BSD nm" - echo "int some_variable =3D 0;" > conftest.$ac_ext - (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) - (eval "$ac_compile" 2>conftest.err) - cat conftest.err >&5 - (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) - (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) - cat conftest.err >&5 - (eval echo "\"\$as_me:$LINENO: output\"" >&5) - cat conftest.out >&5 - if $GREP 'External.*some_variable' conftest.out > /dev/null; then - lt_cv_nm_interface=3D"MS dumpbin" - fi - rm -f conftest* -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 -$as_echo "$lt_cv_nm_interface" >&6; } - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 -$as_echo_n "checking whether ln -s works... " >&6; } -LN_S=3D$as_ln_s -if test "$LN_S" =3D "ln -s"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 -$as_echo "no, using $LN_S" >&6; } -fi - -# find the maximum length of command line arguments -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of co= mmand line arguments" >&5 -$as_echo_n "checking the maximum length of command line arguments... " >&6= ; } -if ${lt_cv_sys_max_cmd_len+:} false; then : - $as_echo_n "(cached) " >&6 -else - i=3D0 - teststring=3D"ABCD" - - case $build_os in - msdosdjgpp*) - # On DJGPP, this test can blow up pretty badly due to problems in libc - # (any single argument exceeding 2000 bytes causes a buffer overrun - # during glob expansion). Even if it were fixed, the result of this - # check would be larger than it should be. - lt_cv_sys_max_cmd_len=3D12288; # 12K is about right - ;; - - gnu*) - # Under GNU Hurd, this test is not required because there is - # no limit to the length of command line arguments. - # Libtool will interpret -1 as no limit whatsoever - lt_cv_sys_max_cmd_len=3D-1; - ;; - - cygwin* | mingw* | cegcc*) - # On Win9x/ME, this test blows up -- it succeeds, but takes - # about 5 minutes as the teststring grows exponentially. - # Worse, since 9x/ME are not pre-emptively multitasking, - # you end up with a "frozen" computer, even though with patience - # the test eventually succeeds (with a max line length of 256k). - # Instead, let's just punt: use the minimum linelength reported by - # all of the supported platforms: 8192 (on NT/2K/XP). - lt_cv_sys_max_cmd_len=3D8192; - ;; - - mint*) - # On MiNT this can take a long time and run out of memory. - lt_cv_sys_max_cmd_len=3D8192; - ;; - - amigaos*) - # On AmigaOS with pdksh, this test takes hours, literally. - # So we just punt and use a minimum line length of 8192. - lt_cv_sys_max_cmd_len=3D8192; - ;; - - netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) - # This has been around since 386BSD, at least. Likely further. - if test -x /sbin/sysctl; then - lt_cv_sys_max_cmd_len=3D`/sbin/sysctl -n kern.argmax` - elif test -x /usr/sbin/sysctl; then - lt_cv_sys_max_cmd_len=3D`/usr/sbin/sysctl -n kern.argmax` - else - lt_cv_sys_max_cmd_len=3D65536 # usable default for all BSDs - fi - # And add a safety zone - lt_cv_sys_max_cmd_len=3D`expr $lt_cv_sys_max_cmd_len \/ 4` - lt_cv_sys_max_cmd_len=3D`expr $lt_cv_sys_max_cmd_len \* 3` - ;; - - interix*) - # We know the value 262144 and hardcode it with a safety zone (like BS= D) - lt_cv_sys_max_cmd_len=3D196608 - ;; - - osf*) - # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running conf= igure - # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not - # nice to cause kernel panics so lets avoid the loop below. - # First set a reasonable default. - lt_cv_sys_max_cmd_len=3D16384 - # - if test -x /sbin/sysconfig; then - case `/sbin/sysconfig -q proc exec_disable_arg_limit` in - *1*) lt_cv_sys_max_cmd_len=3D-1 ;; - esac - fi - ;; - sco3.2v5*) - lt_cv_sys_max_cmd_len=3D102400 - ;; - sysv5* | sco5v6* | sysv4.2uw2*) - kargmax=3D`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` - if test -n "$kargmax"; then - lt_cv_sys_max_cmd_len=3D`echo $kargmax | sed 's/.*[ ]//'` - else - lt_cv_sys_max_cmd_len=3D32768 - fi - ;; - *) - lt_cv_sys_max_cmd_len=3D`(getconf ARG_MAX) 2> /dev/null` - if test -n "$lt_cv_sys_max_cmd_len"; then - lt_cv_sys_max_cmd_len=3D`expr $lt_cv_sys_max_cmd_len \/ 4` - lt_cv_sys_max_cmd_len=3D`expr $lt_cv_sys_max_cmd_len \* 3` - else - # Make teststring a little bigger before we do anything with it. - # a 1K string should be a reasonable start. - for i in 1 2 3 4 5 6 7 8 ; do - teststring=3D$teststring$teststring - done - SHELL=3D${SHELL-${CONFIG_SHELL-/bin/sh}} - # If test is not a shell built-in, we'll probably end up computing a - # maximum length that is only half of the actual maximum length, but - # we can't tell. - while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/= null` \ - =3D "X$teststring$teststring"; } >/dev/null 2>&1 && - test $i !=3D 17 # 1/2 MB should be enough - do - i=3D`expr $i + 1` - teststring=3D$teststring$teststring - done - # Only check the string length outside the loop. - lt_cv_sys_max_cmd_len=3D`expr "X$teststring" : ".*" 2>&1` - teststring=3D - # Add a significant safety factor because C++ compilers can tack on - # massive amounts of additional arguments before passing them to the - # linker. It appears as though 1/2 is a usable value. - lt_cv_sys_max_cmd_len=3D`expr $lt_cv_sys_max_cmd_len \/ 2` - fi - ;; - esac - -fi - -if test -n $lt_cv_sys_max_cmd_len ; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len"= >&5 -$as_echo "$lt_cv_sys_max_cmd_len" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 -$as_echo "none" >&6; } -fi -max_cmd_len=3D$lt_cv_sys_max_cmd_len - - - - - - -: ${CP=3D"cp -f"} -: ${MV=3D"mv -f"} -: ${RM=3D"rm -f"} - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell unders= tands some XSI constructs" >&5 -$as_echo_n "checking whether the shell understands some XSI constructs... = " >&6; } -# Try some XSI features -xsi_shell=3Dno -( _lt_dummy=3D"a/b/c" - test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \ - =3D c,a/b,, \ - && eval 'test $(( 1 + 1 )) -eq 2 \ - && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ - && xsi_shell=3Dyes -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 -$as_echo "$xsi_shell" >&6; } - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell unders= tands \"+=3D\"" >&5 -$as_echo_n "checking whether the shell understands \"+=3D\"... " >&6; } -lt_shell_append=3Dno -( foo=3Dbar; set foo baz; eval "$1+=3D\$2" && test "$foo" =3D barbaz ) \ - >/dev/null 2>&1 \ - && lt_shell_append=3Dyes -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 -$as_echo "$lt_shell_append" >&6; } - - -if ( (MAIL=3D60; unset MAIL) || exit) >/dev/null 2>&1; then - lt_unset=3Dunset -else - lt_unset=3Dfalse -fi - - - - - -# test EBCDIC or ASCII -case `echo X|tr X '\101'` in - A) # ASCII based system - # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr - lt_SP2NL=3D'tr \040 \012' - lt_NL2SP=3D'tr \015\012 \040\040' - ;; - *) # EBCDIC based system - lt_SP2NL=3D'tr \100 \n' - lt_NL2SP=3D'tr \r\n \100\100' - ;; -esac - - - - - - - - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload= object files" >&5 -$as_echo_n "checking for $LD option to reload object files... " >&6; } -if ${lt_cv_ld_reload_flag+:} false; then : - $as_echo_n "(cached) " >&6 -else - lt_cv_ld_reload_flag=3D'-r' -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 -$as_echo "$lt_cv_ld_reload_flag" >&6; } -reload_flag=3D$lt_cv_ld_reload_flag -case $reload_flag in -"" | " "*) ;; -*) reload_flag=3D" $reload_flag" ;; -esac -reload_cmds=3D'$LD$reload_flag -o $output$reload_objs' -case $host_os in - darwin*) - if test "$GCC" =3D yes; then - reload_cmds=3D'$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_o= bjs' - else - reload_cmds=3D'$LD$reload_flag -o $output$reload_objs' - fi - ;; -esac - - - - - - - - - -if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}objdump", so it can be a p= rogram name with args. -set dummy ${ac_tool_prefix}objdump; ac_word=3D$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_OBJDUMP+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$OBJDUMP"; then - ac_cv_prog_OBJDUMP=3D"$OBJDUMP" # Let the user override the test. -else -as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_OBJDUMP=3D"${ac_tool_prefix}objdump" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 - break 2 - fi -done - done -IFS=3D$as_save_IFS - -fi -fi -OBJDUMP=3D$ac_cv_prog_OBJDUMP -if test -n "$OBJDUMP"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 -$as_echo "$OBJDUMP" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_OBJDUMP"; then - ac_ct_OBJDUMP=3D$OBJDUMP - # Extract the first word of "objdump", so it can be a program name with = args. -set dummy objdump; ac_word=3D$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_OBJDUMP"; then - ac_cv_prog_ac_ct_OBJDUMP=3D"$ac_ct_OBJDUMP" # Let the user override the = test. -else -as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_ac_ct_OBJDUMP=3D"objdump" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 - break 2 - fi -done - done -IFS=3D$as_save_IFS - -fi -fi -ac_ct_OBJDUMP=3D$ac_cv_prog_ac_ct_OBJDUMP -if test -n "$ac_ct_OBJDUMP"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 -$as_echo "$ac_ct_OBJDUMP" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_OBJDUMP" =3D x; then - OBJDUMP=3D"false" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not pr= efixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triple= t" >&2;} -ac_tool_warned=3Dyes ;; -esac - OBJDUMP=3D$ac_ct_OBJDUMP - fi -else - OBJDUMP=3D"$ac_cv_prog_OBJDUMP" -fi - -test -z "$OBJDUMP" && OBJDUMP=3Dobjdump - - - - - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize depende= nt libraries" >&5 -$as_echo_n "checking how to recognize dependent libraries... " >&6; } -if ${lt_cv_deplibs_check_method+:} false; then : - $as_echo_n "(cached) " >&6 -else - lt_cv_file_magic_cmd=3D'$MAGIC_CMD' -lt_cv_file_magic_test_file=3D -lt_cv_deplibs_check_method=3D'unknown' -# Need to set the preceding variable on all platforms that support -# interlibrary dependencies. -# 'none' -- dependencies not supported. -# `unknown' -- same as none, but documents that we really don't know. -# 'pass_all' -- all dependencies passed with no checks. -# 'test_compile' -- check by making test program. -# 'file_magic [[regex]]' -- check by looking for files in library path -# which responds to the $file_magic_cmd with a given extended regex. -# If you have `file' or equivalent on your system and you're not sure -# whether `pass_all' will *always* work, you probably want this one. - -case $host_os in -aix[4-9]*) - lt_cv_deplibs_check_method=3Dpass_all - ;; - -beos*) - lt_cv_deplibs_check_method=3Dpass_all - ;; - -bsdi[45]*) - lt_cv_deplibs_check_method=3D'file_magic ELF [0-9][0-9]*-bit [ML]SB (sha= red object|dynamic lib)' - lt_cv_file_magic_cmd=3D'/usr/bin/file -L' - lt_cv_file_magic_test_file=3D/shlib/libc.so - ;; - -cygwin*) - # func_win32_libid is a shell function defined in ltmain.sh - lt_cv_deplibs_check_method=3D'file_magic ^x86 archive import|^x86 DLL' - lt_cv_file_magic_cmd=3D'func_win32_libid' - ;; - -mingw* | pw32*) - # Base MSYS/MinGW do not provide the 'file' command needed by - # func_win32_libid shell function, so use a weaker test based on 'objdum= p', - # unless we find 'file', for example because we are cross-compiling. - # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin. - if ( test "$lt_cv_nm_interface" =3D "BSD nm" && file / ) >/dev/null 2>&1= ; then - lt_cv_deplibs_check_method=3D'file_magic ^x86 archive import|^x86 DLL' - lt_cv_file_magic_cmd=3D'func_win32_libid' - else - lt_cv_deplibs_check_method=3D'file_magic file format pei*-i386(.*archi= tecture: i386)?' - lt_cv_file_magic_cmd=3D'$OBJDUMP -f' - fi - ;; - -cegcc*) - # use the weaker test based on 'objdump'. See mingw*. - lt_cv_deplibs_check_method=3D'file_magic file format pe-arm-.*little(.*a= rchitecture: arm)?' - lt_cv_file_magic_cmd=3D'$OBJDUMP -f' - ;; - -darwin* | rhapsody*) - lt_cv_deplibs_check_method=3Dpass_all - ;; - -freebsd* | dragonfly*) - if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then - case $host_cpu in - i*86 ) - # Not sure whether the presence of OpenBSD here was a mistake. - # Let's accept both of them until this is cleared up. - lt_cv_deplibs_check_method=3D'file_magic (FreeBSD|OpenBSD|DragonFly)= /i[3-9]86 (compact )?demand paged shared library' - lt_cv_file_magic_cmd=3D/usr/bin/file - lt_cv_file_magic_test_file=3D`echo /usr/lib/libc.so.*` - ;; - esac - else - lt_cv_deplibs_check_method=3Dpass_all - fi - ;; - -gnu*) - lt_cv_deplibs_check_method=3Dpass_all - ;; - -haiku*) - lt_cv_deplibs_check_method=3Dpass_all - ;; - -hpux10.20* | hpux11*) - lt_cv_file_magic_cmd=3D/usr/bin/file - case $host_cpu in - ia64*) - lt_cv_deplibs_check_method=3D'file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0= -9]) shared object file - IA64' - lt_cv_file_magic_test_file=3D/usr/lib/hpux32/libc.so - ;; - hppa*64*) - lt_cv_deplibs_check_method=3D'file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9= ][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]' - lt_cv_file_magic_test_file=3D/usr/lib/pa20_64/libc.sl - ;; - *) - lt_cv_deplibs_check_method=3D'file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9= ]\.[0-9]) shared library' - lt_cv_file_magic_test_file=3D/usr/lib/libc.sl - ;; - esac - ;; - -interix[3-9]*) - # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here - lt_cv_deplibs_check_method=3D'match_pattern /lib[^/]+(\.so|\.a)$' - ;; - -irix5* | irix6* | nonstopux*) - case $LD in - *-32|*"-32 ") libmagic=3D32-bit;; - *-n32|*"-n32 ") libmagic=3DN32;; - *-64|*"-64 ") libmagic=3D64-bit;; - *) libmagic=3Dnever-match;; - esac - lt_cv_deplibs_check_method=3Dpass_all - ;; - -# This must be Linux ELF. -linux* | k*bsd*-gnu | kopensolaris*-gnu) - lt_cv_deplibs_check_method=3Dpass_all - ;; - -netbsd*) - if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then - lt_cv_deplibs_check_method=3D'match_pattern /lib[^/]+(\.so\.[0-9]+\.[0= -9]+|_pic\.a)$' - else - lt_cv_deplibs_check_method=3D'match_pattern /lib[^/]+(\.so|_pic\.a)$' - fi - ;; - -newos6*) - lt_cv_deplibs_check_method=3D'file_magic ELF [0-9][0-9]*-bit [ML]SB (exe= cutable|dynamic lib)' - lt_cv_file_magic_cmd=3D/usr/bin/file - lt_cv_file_magic_test_file=3D/usr/lib/libnls.so - ;; - -*nto* | *qnx*) - lt_cv_deplibs_check_method=3Dpass_all - ;; - -openbsd*) - if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os= -$host_cpu" =3D "openbsd2.8-powerpc"; then - lt_cv_deplibs_check_method=3D'match_pattern /lib[^/]+(\.so\.[0-9]+\.[0= -9]+|\.so|_pic\.a)$' - else - lt_cv_deplibs_check_method=3D'match_pattern /lib[^/]+(\.so\.[0-9]+\.[0= -9]+|_pic\.a)$' - fi - ;; - -osf3* | osf4* | osf5*) - lt_cv_deplibs_check_method=3Dpass_all - ;; - -rdos*) - lt_cv_deplibs_check_method=3Dpass_all - ;; - -solaris*) - lt_cv_deplibs_check_method=3Dpass_all - ;; - -sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) - lt_cv_deplibs_check_method=3Dpass_all - ;; - -sysv4 | sysv4.3*) - case $host_vendor in - motorola) - lt_cv_deplibs_check_method=3D'file_magic ELF [0-9][0-9]*-bit [ML]SB (s= hared object|dynamic lib) M[0-9][0-9]* Version [0-9]' - lt_cv_file_magic_test_file=3D`echo /usr/lib/libc.so*` - ;; - ncr) - lt_cv_deplibs_check_method=3Dpass_all - ;; - sequent) - lt_cv_file_magic_cmd=3D'/bin/file' - lt_cv_deplibs_check_method=3D'file_magic ELF [0-9][0-9]*-bit [LM]SB (s= hared object|dynamic lib )' - ;; - sni) - lt_cv_file_magic_cmd=3D'/bin/file' - lt_cv_deplibs_check_method=3D"file_magic ELF [0-9][0-9]*-bit [LM]SB dy= namic lib" - lt_cv_file_magic_test_file=3D/lib/libc.so - ;; - siemens) - lt_cv_deplibs_check_method=3Dpass_all - ;; - pc) - lt_cv_deplibs_check_method=3Dpass_all - ;; - esac - ;; - -tpf*) - lt_cv_deplibs_check_method=3Dpass_all - ;; -esac - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_meth= od" >&5 -$as_echo "$lt_cv_deplibs_check_method" >&6; } -file_magic_cmd=3D$lt_cv_file_magic_cmd -deplibs_check_method=3D$lt_cv_deplibs_check_method -test -z "$deplibs_check_method" && deplibs_check_method=3Dunknown - - - - - - - - - - - - -plugin_option=3D -plugin_names=3D"liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll" -for plugin in $plugin_names; do - plugin_so=3D`${CC} ${CFLAGS} --print-prog-name $plugin` - if test x$plugin_so =3D x$plugin; then - plugin_so=3D`${CC} ${CFLAGS} --print-file-name $plugin` - fi - if test x$plugin_so !=3D x$plugin; then - plugin_option=3D"--plugin $plugin_so" - break - fi -done - -if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}ar", so it can be a progra= m name with args. -set dummy ${ac_tool_prefix}ar; ac_word=3D$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_AR+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$AR"; then - ac_cv_prog_AR=3D"$AR" # Let the user override the test. -else -as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_AR=3D"${ac_tool_prefix}ar" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 - break 2 - fi -done - done -IFS=3D$as_save_IFS - -fi -fi -AR=3D$ac_cv_prog_AR -if test -n "$AR"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 -$as_echo "$AR" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_AR"; then - ac_ct_AR=3D$AR - # Extract the first word of "ar", so it can be a program name with args. -set dummy ar; ac_word=3D$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_AR+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_AR"; then - ac_cv_prog_ac_ct_AR=3D"$ac_ct_AR" # Let the user override the test. -else -as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_ac_ct_AR=3D"ar" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 - break 2 - fi -done - done -IFS=3D$as_save_IFS - -fi -fi -ac_ct_AR=3D$ac_cv_prog_ac_ct_AR -if test -n "$ac_ct_AR"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 -$as_echo "$ac_ct_AR" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_AR" =3D x; then - AR=3D"false" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not pr= efixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triple= t" >&2;} -ac_tool_warned=3Dyes ;; -esac - AR=3D$ac_ct_AR - fi -else - AR=3D"$ac_cv_prog_AR" -fi - -test -z "$AR" && AR=3Dar -if test -n "$plugin_option"; then - if $AR --help 2>&1 | grep -q "\--plugin"; then - touch conftest.c - $AR $plugin_option rc conftest.a conftest.c - if test "$?" !=3D 0; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugi= n_option rc" >&5 -$as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;} - else - AR=3D"$AR $plugin_option" - fi - rm -f conftest.* - fi -fi -test -z "$AR_FLAGS" && AR_FLAGS=3Dcru - - - - - - - - - - - -if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}strip", so it can be a pro= gram name with args. -set dummy ${ac_tool_prefix}strip; ac_word=3D$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_STRIP+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$STRIP"; then - ac_cv_prog_STRIP=3D"$STRIP" # Let the user override the test. -else -as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_STRIP=3D"${ac_tool_prefix}strip" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 - break 2 - fi -done - done -IFS=3D$as_save_IFS - -fi -fi -STRIP=3D$ac_cv_prog_STRIP -if test -n "$STRIP"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 -$as_echo "$STRIP" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_STRIP"; then - ac_ct_STRIP=3D$STRIP - # Extract the first word of "strip", so it can be a program name with ar= gs. -set dummy strip; ac_word=3D$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_STRIP+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_STRIP"; then - ac_cv_prog_ac_ct_STRIP=3D"$ac_ct_STRIP" # Let the user override the test. -else -as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_ac_ct_STRIP=3D"strip" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 - break 2 - fi -done - done -IFS=3D$as_save_IFS - -fi -fi -ac_ct_STRIP=3D$ac_cv_prog_ac_ct_STRIP -if test -n "$ac_ct_STRIP"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 -$as_echo "$ac_ct_STRIP" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_STRIP" =3D x; then - STRIP=3D":" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not pr= efixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triple= t" >&2;} -ac_tool_warned=3Dyes ;; -esac - STRIP=3D$ac_ct_STRIP - fi -else - STRIP=3D"$ac_cv_prog_STRIP" -fi - -test -z "$STRIP" && STRIP=3D: - - - - - - -if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a pr= ogram name with args. -set dummy ${ac_tool_prefix}ranlib; ac_word=3D$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_RANLIB+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$RANLIB"; then - ac_cv_prog_RANLIB=3D"$RANLIB" # Let the user override the test. -else -as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_RANLIB=3D"${ac_tool_prefix}ranlib" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 - break 2 - fi -done - done -IFS=3D$as_save_IFS - -fi -fi -RANLIB=3D$ac_cv_prog_RANLIB -if test -n "$RANLIB"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 -$as_echo "$RANLIB" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_RANLIB"; then - ac_ct_RANLIB=3D$RANLIB - # Extract the first word of "ranlib", so it can be a program name with a= rgs. -set dummy ranlib; ac_word=3D$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_RANLIB"; then - ac_cv_prog_ac_ct_RANLIB=3D"$ac_ct_RANLIB" # Let the user override the te= st. -else -as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_ac_ct_RANLIB=3D"ranlib" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 - break 2 - fi -done - done -IFS=3D$as_save_IFS - -fi -fi -ac_ct_RANLIB=3D$ac_cv_prog_ac_ct_RANLIB -if test -n "$ac_ct_RANLIB"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 -$as_echo "$ac_ct_RANLIB" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_RANLIB" =3D x; then - RANLIB=3D":" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not pr= efixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triple= t" >&2;} -ac_tool_warned=3Dyes ;; -esac - RANLIB=3D$ac_ct_RANLIB - fi -else - RANLIB=3D"$ac_cv_prog_RANLIB" -fi - -test -z "$RANLIB" && RANLIB=3D: -if test -n "$plugin_option" && test "$RANLIB" !=3D ":"; then - if $RANLIB --help 2>&1 | grep -q "\--plugin"; then - RANLIB=3D"$RANLIB $plugin_option" - fi -fi - - - - - - -# Determine commands to create old-style static archives. -old_archive_cmds=3D'$AR $AR_FLAGS $oldlib$oldobjs' -old_postinstall_cmds=3D'chmod 644 $oldlib' -old_postuninstall_cmds=3D - -if test -n "$RANLIB"; then - case $host_os in - openbsd*) - old_postinstall_cmds=3D"$old_postinstall_cmds~\$RANLIB -t \$oldlib" - ;; - *) - old_postinstall_cmds=3D"$old_postinstall_cmds~\$RANLIB \$oldlib" - ;; - esac - old_archive_cmds=3D"$old_archive_cmds~\$RANLIB \$oldlib" -fi - -case $host_os in - darwin*) - lock_old_archive_extraction=3Dyes ;; - *) - lock_old_archive_extraction=3Dno ;; -esac - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -# If no C compiler was specified, use CC. -LTCC=3D${LTCC-"$CC"} - -# If no C compiler flags were specified, use CFLAGS. -LTCFLAGS=3D${LTCFLAGS-"$CFLAGS"} - -# Allow CC to be a program name with arguments. -compiler=3D$CC - - -# Check for command to grab the raw symbol name followed by C symbol from = nm. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM out= put from $compiler object" >&5 -$as_echo_n "chec[...] [diff truncated at 100000 bytes]