mgl@1371: diff -Naur newlib-1.17.0/COPYING.LIBGLOSS newlib-1.17.0-new/COPYING.LIBGLOSS mgl@1371: --- newlib-1.17.0/COPYING.LIBGLOSS 2008-12-18 00:16:07.000000000 +0100 mgl@1371: +++ newlib-1.17.0-new/COPYING.LIBGLOSS 2009-05-22 09:57:49.000000000 +0200 mgl@1371: @@ -228,3 +228,33 @@ mgl@1371: LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY mgl@1371: OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF mgl@1371: SUCH DAMAGE. mgl@1371: + mgl@1371: +(13) Atmel Corporation (avr32 targets only) mgl@1371: +Copyright (c) 2006, Atmel Corporation All rights reserved. mgl@1371: + mgl@1371: +Redistribution and use in source and binary forms, with or without mgl@1371: +modification, are permitted provided that the following conditions are met: mgl@1371: + mgl@1371: +1. Redistributions of source code must retain the above copyright notice, mgl@1371: +this list of conditions and the following disclaimer. mgl@1371: + mgl@1371: +2. Redistributions in binary form must reproduce the above copyright notice, mgl@1371: +this list of conditions and the following disclaimer in the documentation mgl@1371: +and/or other materials provided with the distribution. mgl@1371: + mgl@1371: +3. The name of ATMEL may not be used to endorse or promote products mgl@1371: +derived from this software without specific prior written permission. mgl@1371: + mgl@1371: +THIS SOFTWARE IS PROVIDED BY ATMEL ``AS IS'' AND ANY EXPRESS mgl@1371: +OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE mgl@1371: +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A mgl@1371: +PARTICULAR PURPOSE ARE EXPRESSLY AND SPECIFICALLY mgl@1371: +DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, mgl@1371: +INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL mgl@1371: +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF mgl@1371: +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; mgl@1371: +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY mgl@1371: +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, mgl@1371: +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY mgl@1371: +WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE mgl@1371: +POSSIBILITY OF SUCH DAMAGE. mgl@1371: diff -Naur newlib-1.17.0/COPYING.NEWLIB newlib-1.17.0-new/COPYING.NEWLIB mgl@1371: --- newlib-1.17.0/COPYING.NEWLIB 2008-12-18 00:16:07.000000000 +0100 mgl@1371: +++ newlib-1.17.0-new/COPYING.NEWLIB 2009-05-22 09:57:49.000000000 +0200 mgl@1371: @@ -767,3 +767,33 @@ mgl@1371: LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY mgl@1371: OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF mgl@1371: SUCH DAMAGE. mgl@1371: + mgl@1371: +(35) Atmel Corporation (avr32 targets only) mgl@1371: +Copyright (c) 2006, Atmel Corporation All rights reserved. mgl@1371: + mgl@1371: +Redistribution and use in source and binary forms, with or without mgl@1371: +modification, are permitted provided that the following conditions are met: mgl@1371: + mgl@1371: +1. Redistributions of source code must retain the above copyright notice, mgl@1371: +this list of conditions and the following disclaimer. mgl@1371: + mgl@1371: +2. Redistributions in binary form must reproduce the above copyright notice, mgl@1371: +this list of conditions and the following disclaimer in the documentation mgl@1371: +and/or other materials provided with the distribution. mgl@1371: + mgl@1371: +3. The name of ATMEL may not be used to endorse or promote products mgl@1371: +derived from this software without specific prior written permission. mgl@1371: + mgl@1371: +THIS SOFTWARE IS PROVIDED BY ATMEL ``AS IS'' AND ANY EXPRESS mgl@1371: +OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE mgl@1371: +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A mgl@1371: +PARTICULAR PURPOSE ARE EXPRESSLY AND SPECIFICALLY mgl@1371: +DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, mgl@1371: +INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL mgl@1371: +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF mgl@1371: +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; mgl@1371: +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY mgl@1371: +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, mgl@1371: +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY mgl@1371: +WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE mgl@1371: +POSSIBILITY OF SUCH DAMAGE. mgl@1371: diff -Naur newlib-1.17.0/newlib/configure.host newlib-1.17.0-new/newlib/configure.host mgl@1371: --- newlib-1.17.0/newlib/configure.host 2008-12-18 00:09:09.000000000 +0100 mgl@1371: +++ newlib-1.17.0-new/newlib/configure.host 2009-05-22 09:57:49.000000000 +0200 mgl@1371: @@ -99,6 +99,10 @@ mgl@1371: arm) mgl@1371: machine_dir=arm mgl@1371: ;; mgl@1371: + avr32*) mgl@1371: + machine_dir=avr32 mgl@1371: + newlib_cflags="${newlib_cflags} -ffunction-sections" mgl@1371: + ;; mgl@1371: avr*) mgl@1371: newlib_cflags="${newlib_cflags} -DPREFER_SIZE_OVER_SPEED -mcall-prologues" mgl@1371: ;; mgl@1371: @@ -365,6 +369,9 @@ mgl@1371: crx*) mgl@1371: sys_dir= mgl@1371: ;; mgl@1371: + avr32-*-*) mgl@1371: + sys_dir=avr32 mgl@1371: + ;; mgl@1371: d10v*) mgl@1371: sys_dir=d10v mgl@1371: ;; mgl@1371: @@ -575,6 +582,10 @@ mgl@1371: arc*) mgl@1371: newlib_cflags="${newlib_cflags} -DREENTRANT_SYSCALLS_PROVIDED" mgl@1371: ;; mgl@1371: + avr32*) mgl@1371: + syscall_dir=syscalls mgl@1371: + newlib_cflags="${newlib_cflags} -DHAVE_SYSTEM" mgl@1371: + ;; mgl@1371: avr*) mgl@1371: newlib_cflags="${newlib_cflags} -DNO_EXEC -DSMALL_MEMORY -DMISSING_SYSCALL_NAMES" mgl@1371: ;; mgl@1371: diff -Naur newlib-1.17.0/newlib/libc/include/machine/ieeefp.h newlib-1.17.0-new/newlib/libc/include/machine/ieeefp.h mgl@1371: --- newlib-1.17.0/newlib/libc/include/machine/ieeefp.h 2008-12-11 21:05:38.000000000 +0100 mgl@1371: +++ newlib-1.17.0-new/newlib/libc/include/machine/ieeefp.h 2009-05-22 09:57:49.000000000 +0200 mgl@1371: @@ -275,6 +275,10 @@ mgl@1371: #define _DOUBLE_IS_32BITS mgl@1371: #endif mgl@1371: mgl@1371: +#ifdef __AVR32__ mgl@1371: +#define __IEEE_BIG_ENDIAN mgl@1371: +#endif mgl@1371: + mgl@1371: #if defined(__or32__) || defined(__or1k__) || defined(__or16__) mgl@1371: #define __IEEE_BIG_ENDIAN mgl@1371: #endif mgl@1371: diff -Naur newlib-1.17.0/newlib/libc/include/machine/setjmp.h newlib-1.17.0-new/newlib/libc/include/machine/setjmp.h mgl@1371: --- newlib-1.17.0/newlib/libc/include/machine/setjmp.h 2008-12-11 21:05:38.000000000 +0100 mgl@1371: +++ newlib-1.17.0-new/newlib/libc/include/machine/setjmp.h 2009-05-22 09:57:49.000000000 +0200 mgl@1371: @@ -13,6 +13,13 @@ mgl@1371: #define _JBLEN 24 mgl@1371: #endif mgl@1371: mgl@1371: +#if defined(__AVR32__) mgl@1371: +/* mgl@1371: + r0-r7, lr, sp mgl@1371: + */ mgl@1371: +#define _JBLEN 10 mgl@1371: +#endif mgl@1371: + mgl@1371: #ifdef __sparc__ mgl@1371: /* mgl@1371: * onsstack,sigmask,sp,pc,npc,psr,g1,o0,wbcnt (sigcontext). mgl@1371: diff -Naur newlib-1.17.0/newlib/libc/include/machine/time.h newlib-1.17.0-new/newlib/libc/include/machine/time.h mgl@1371: --- newlib-1.17.0/newlib/libc/include/machine/time.h 2000-12-04 20:06:37.000000000 +0100 mgl@1371: +++ newlib-1.17.0-new/newlib/libc/include/machine/time.h 2009-05-22 09:57:49.000000000 +0200 mgl@1371: @@ -6,6 +6,10 @@ mgl@1371: #else /* !__rtems__ */ mgl@1371: #if defined(__arm__) || defined(__thumb__) mgl@1371: #define _CLOCKS_PER_SEC_ 100 mgl@1371: +#else mgl@1371: +#if defined(__AVR32__) mgl@1371: +#define _CLOCKS_PER_SEC_ 1000000 mgl@1371: +#endif mgl@1371: #endif mgl@1371: #endif /* !__rtems__ */ mgl@1371: mgl@1371: diff -Naur newlib-1.17.0/newlib/libc/machine/avr32/aclocal.m4 newlib-1.17.0-new/newlib/libc/machine/avr32/aclocal.m4 mgl@1371: --- newlib-1.17.0/newlib/libc/machine/avr32/aclocal.m4 1970-01-01 01:00:00.000000000 +0100 mgl@1371: +++ newlib-1.17.0-new/newlib/libc/machine/avr32/aclocal.m4 2009-05-22 09:57:49.000000000 +0200 mgl@1371: @@ -0,0 +1,382 @@ mgl@1371: +dnl aclocal.m4 generated automatically by aclocal 1.4-p6 mgl@1371: + mgl@1371: +dnl Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc. mgl@1371: +dnl This file is free software; the Free Software Foundation mgl@1371: +dnl gives unlimited permission to copy and/or distribute it, mgl@1371: +dnl with or without modifications, as long as this notice is preserved. mgl@1371: + mgl@1371: +dnl This program is distributed in the hope that it will be useful, mgl@1371: +dnl but WITHOUT ANY WARRANTY, to the extent permitted by law; without mgl@1371: +dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A mgl@1371: +dnl PARTICULAR PURPOSE. mgl@1371: + mgl@1371: +dnl This provides configure definitions used by all the newlib mgl@1371: +dnl configure.in files. mgl@1371: + mgl@1371: +dnl Basic newlib configury. This calls basic introductory stuff, mgl@1371: +dnl including AM_INIT_AUTOMAKE and AC_CANONICAL_HOST. It also runs mgl@1371: +dnl configure.host. The only argument is the relative path to the top mgl@1371: +dnl newlib directory. mgl@1371: + mgl@1371: +AC_DEFUN(NEWLIB_CONFIGURE, mgl@1371: +[ mgl@1371: +dnl Default to --enable-multilib mgl@1371: +AC_ARG_ENABLE(multilib, mgl@1371: +[ --enable-multilib build many library versions (default)], mgl@1371: +[case "${enableval}" in mgl@1371: + yes) multilib=yes ;; mgl@1371: + no) multilib=no ;; mgl@1371: + *) AC_MSG_ERROR(bad value ${enableval} for multilib option) ;; mgl@1371: + esac], [multilib=yes])dnl mgl@1371: + mgl@1371: +dnl Support --enable-target-optspace mgl@1371: +AC_ARG_ENABLE(target-optspace, mgl@1371: +[ --enable-target-optspace optimize for space], mgl@1371: +[case "${enableval}" in mgl@1371: + yes) target_optspace=yes ;; mgl@1371: + no) target_optspace=no ;; mgl@1371: + *) AC_MSG_ERROR(bad value ${enableval} for target-optspace option) ;; mgl@1371: + esac], [target_optspace=])dnl mgl@1371: + mgl@1371: +dnl Support --enable-malloc-debugging - currently only supported for Cygwin mgl@1371: +AC_ARG_ENABLE(malloc-debugging, mgl@1371: +[ --enable-malloc-debugging indicate malloc debugging requested], mgl@1371: +[case "${enableval}" in mgl@1371: + yes) malloc_debugging=yes ;; mgl@1371: + no) malloc_debugging=no ;; mgl@1371: + *) AC_MSG_ERROR(bad value ${enableval} for malloc-debugging option) ;; mgl@1371: + esac], [malloc_debugging=])dnl mgl@1371: + mgl@1371: +dnl Support --enable-newlib-mb mgl@1371: +AC_ARG_ENABLE(newlib-mb, mgl@1371: +[ --enable-newlib-mb enable multibyte support], mgl@1371: +[case "${enableval}" in mgl@1371: + yes) newlib_mb=yes ;; mgl@1371: + no) newlib_mb=no ;; mgl@1371: + *) AC_MSG_ERROR(bad value ${enableval} for newlib-mb option) ;; mgl@1371: + esac], [newlib_mb=])dnl mgl@1371: + mgl@1371: +dnl Support --enable-newlib-iconv mgl@1371: +AC_ARG_ENABLE(newlib-iconv, mgl@1371: +[ --enable-newlib-iconv enable iconv library support], mgl@1371: +[case "${enableval}" in mgl@1371: + yes) newlib_iconv=yes ;; mgl@1371: + no) newlib_iconv=no ;; mgl@1371: + *) AC_MSG_ERROR(bad value ${enableval} for newlib-iconv option) ;; mgl@1371: + esac], [newlib_iconv=])dnl mgl@1371: + mgl@1371: +dnl Support --enable-newlib-builtin-converters mgl@1371: +AC_ARG_ENABLE(newlib-builtin-converters, mgl@1371: +[ --enable-newlib-builtin-converters enable specific comma-separated list of iconv converters to be built-in], mgl@1371: +[if test x${enableval} = x; then mgl@1371: + AC_MSG_ERROR(bad value ${enableval} for newlib-builtin-converters option - use comma-separated list) mgl@1371: + fi mgl@1371: + builtin_converters=${enableval} mgl@1371: + ], [builtin_converters=])dnl mgl@1371: + mgl@1371: +dnl Support --enable-newlib-multithread mgl@1371: +AC_ARG_ENABLE(newlib-multithread, mgl@1371: +[ --enable-newlib-multithread enable support for multiple threads], mgl@1371: +[case "${enableval}" in mgl@1371: + yes) newlib_multithread=yes ;; mgl@1371: + no) newlib_multithread=no ;; mgl@1371: + *) AC_MSG_ERROR(bad value ${enableval} for newlib-multithread option) ;; mgl@1371: + esac], [newlib_multithread=yes])dnl mgl@1371: + mgl@1371: +dnl Support --enable-newlib-elix-level mgl@1371: +AC_ARG_ENABLE(newlib-elix-level, mgl@1371: +[ --enable-newlib-elix-level supply desired elix library level (1-4)], mgl@1371: +[case "${enableval}" in mgl@1371: + 0) newlib_elix_level=0 ;; mgl@1371: + 1) newlib_elix_level=1 ;; mgl@1371: + 2) newlib_elix_level=2 ;; mgl@1371: + 3) newlib_elix_level=3 ;; mgl@1371: + 4) newlib_elix_level=4 ;; mgl@1371: + *) AC_MSG_ERROR(bad value ${enableval} for newlib-elix-level option) ;; mgl@1371: + esac], [newlib_elix_level=0])dnl mgl@1371: + mgl@1371: +dnl Support --disable-newlib-io-float mgl@1371: +AC_ARG_ENABLE(newlib-io-float, mgl@1371: +[ --disable-newlib-io-float disable printf/scanf family float support], mgl@1371: +[case "${enableval}" in mgl@1371: + yes) newlib_io_float=yes ;; mgl@1371: + no) newlib_io_float=no ;; mgl@1371: + *) AC_MSG_ERROR(bad value ${enableval} for newlib-io-float option) ;; mgl@1371: + esac], [newlib_io_float=yes])dnl mgl@1371: + mgl@1371: +dnl Support --disable-newlib-supplied-syscalls mgl@1371: +AC_ARG_ENABLE(newlib-supplied-syscalls, mgl@1371: +[ --disable-newlib-supplied-syscalls disable newlib from supplying syscalls], mgl@1371: +[case "${enableval}" in mgl@1371: + yes) newlib_may_supply_syscalls=yes ;; mgl@1371: + no) newlib_may_supply_syscalls=no ;; mgl@1371: + *) AC_MSG_ERROR(bad value ${enableval} for newlib-supplied-syscalls option) ;; mgl@1371: + esac], [newlib_may_supply_syscalls=yes])dnl mgl@1371: + mgl@1371: +AM_CONDITIONAL(MAY_SUPPLY_SYSCALLS, test x[$]{newlib_may_supply_syscalls} = xyes) mgl@1371: + mgl@1371: +dnl We may get other options which we don't document: mgl@1371: +dnl --with-target-subdir, --with-multisrctop, --with-multisubdir mgl@1371: + mgl@1371: +test -z "[$]{with_target_subdir}" && with_target_subdir=. mgl@1371: + mgl@1371: +if test "[$]{srcdir}" = "."; then mgl@1371: + if test "[$]{with_target_subdir}" != "."; then mgl@1371: + newlib_basedir="[$]{srcdir}/[$]{with_multisrctop}../$1" mgl@1371: + else mgl@1371: + newlib_basedir="[$]{srcdir}/[$]{with_multisrctop}$1" mgl@1371: + fi mgl@1371: +else mgl@1371: + newlib_basedir="[$]{srcdir}/$1" mgl@1371: +fi mgl@1371: +AC_SUBST(newlib_basedir) mgl@1371: + mgl@1371: +AC_CANONICAL_SYSTEM mgl@1371: + mgl@1371: +AM_INIT_AUTOMAKE(newlib, 1.12.0) mgl@1371: + mgl@1371: +# FIXME: We temporarily define our own version of AC_PROG_CC. This is mgl@1371: +# copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We mgl@1371: +# are probably using a cross compiler, which will not be able to fully mgl@1371: +# link an executable. This should really be fixed in autoconf mgl@1371: +# itself. mgl@1371: + mgl@1371: +AC_DEFUN(LIB_AC_PROG_CC, mgl@1371: +[AC_BEFORE([$0], [AC_PROG_CPP])dnl mgl@1371: +AC_CHECK_PROG(CC, gcc, gcc) mgl@1371: +if test -z "$CC"; then mgl@1371: + AC_CHECK_PROG(CC, cc, cc, , , /usr/ucb/cc) mgl@1371: + test -z "$CC" && AC_MSG_ERROR([no acceptable cc found in \$PATH]) mgl@1371: +fi mgl@1371: + mgl@1371: +AC_PROG_CC_GNU mgl@1371: + mgl@1371: +if test $ac_cv_prog_gcc = yes; then mgl@1371: + GCC=yes mgl@1371: +dnl Check whether -g works, even if CFLAGS is set, in case the package mgl@1371: +dnl plays around with CFLAGS (such as to build both debugging and mgl@1371: +dnl normal versions of a library), tasteless as that idea is. mgl@1371: + ac_test_CFLAGS="${CFLAGS+set}" mgl@1371: + ac_save_CFLAGS="$CFLAGS" mgl@1371: + CFLAGS= mgl@1371: + AC_PROG_CC_G mgl@1371: + if test "$ac_test_CFLAGS" = set; then mgl@1371: + CFLAGS="$ac_save_CFLAGS" mgl@1371: + elif test $ac_cv_prog_cc_g = yes; then mgl@1371: + CFLAGS="-g -O2" mgl@1371: + else mgl@1371: + CFLAGS="-O2" mgl@1371: + fi mgl@1371: +else mgl@1371: + GCC= mgl@1371: + test "${CFLAGS+set}" = set || CFLAGS="-g" mgl@1371: +fi mgl@1371: +]) mgl@1371: + mgl@1371: +LIB_AC_PROG_CC mgl@1371: + mgl@1371: +AC_CHECK_TOOL(AS, as) mgl@1371: +AC_CHECK_TOOL(AR, ar) mgl@1371: +AC_CHECK_TOOL(RANLIB, ranlib, :) mgl@1371: + mgl@1371: +AC_PROG_INSTALL mgl@1371: + mgl@1371: +AM_MAINTAINER_MODE mgl@1371: + mgl@1371: +# We need AC_EXEEXT to keep automake happy in cygnus mode. However, mgl@1371: +# at least currently, we never actually build a program, so we never mgl@1371: +# need to use $(EXEEXT). Moreover, the test for EXEEXT normally mgl@1371: +# fails, because we are probably configuring with a cross compiler mgl@1371: +# which can't create executables. So we include AC_EXEEXT to keep mgl@1371: +# automake happy, but we don't execute it, since we don't care about mgl@1371: +# the result. mgl@1371: +if false; then mgl@1371: + AC_EXEEXT mgl@1371: +fi mgl@1371: + mgl@1371: +. [$]{newlib_basedir}/configure.host mgl@1371: + mgl@1371: +newlib_cflags="[$]{newlib_cflags} -fno-builtin" mgl@1371: + mgl@1371: +NEWLIB_CFLAGS=${newlib_cflags} mgl@1371: +AC_SUBST(NEWLIB_CFLAGS) mgl@1371: + mgl@1371: +LDFLAGS=${ldflags} mgl@1371: +AC_SUBST(LDFLAGS) mgl@1371: + mgl@1371: +AM_CONDITIONAL(ELIX_LEVEL_0, test x[$]{newlib_elix_level} = x0) mgl@1371: +AM_CONDITIONAL(ELIX_LEVEL_1, test x[$]{newlib_elix_level} = x1) mgl@1371: +AM_CONDITIONAL(ELIX_LEVEL_2, test x[$]{newlib_elix_level} = x2) mgl@1371: +AM_CONDITIONAL(ELIX_LEVEL_3, test x[$]{newlib_elix_level} = x3) mgl@1371: +AM_CONDITIONAL(ELIX_LEVEL_4, test x[$]{newlib_elix_level} = x4) mgl@1371: + mgl@1371: +AM_CONDITIONAL(USE_LIBTOOL, test x[$]{use_libtool} = xyes) mgl@1371: + mgl@1371: +# Hard-code OBJEXT. Normally it is set by AC_OBJEXT, but we mgl@1371: +# use oext, which is set in configure.host based on the target platform. mgl@1371: +OBJEXT=${oext} mgl@1371: + mgl@1371: +AC_SUBST(OBJEXT) mgl@1371: +AC_SUBST(oext) mgl@1371: +AC_SUBST(aext) mgl@1371: + mgl@1371: +AC_SUBST(libm_machine_dir) mgl@1371: +AC_SUBST(machine_dir) mgl@1371: +AC_SUBST(sys_dir) mgl@1371: +]) mgl@1371: + mgl@1371: +# Do all the work for Automake. This macro actually does too much -- mgl@1371: +# some checks are only needed if your package does certain things. mgl@1371: +# But this isn't really a big deal. mgl@1371: + mgl@1371: +# serial 1 mgl@1371: + mgl@1371: +dnl Usage: mgl@1371: +dnl AM_INIT_AUTOMAKE(package,version, [no-define]) mgl@1371: + mgl@1371: +AC_DEFUN([AM_INIT_AUTOMAKE], mgl@1371: +[AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl mgl@1371: +AC_REQUIRE([AC_PROG_INSTALL]) mgl@1371: +PACKAGE=[$1] mgl@1371: +AC_SUBST(PACKAGE) mgl@1371: +VERSION=[$2] mgl@1371: +AC_SUBST(VERSION) mgl@1371: +dnl test to see if srcdir already configured mgl@1371: +if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then mgl@1371: + AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) mgl@1371: +fi mgl@1371: +ifelse([$3],, mgl@1371: +AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) mgl@1371: +AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])) mgl@1371: +AC_REQUIRE([AM_SANITY_CHECK]) mgl@1371: +AC_REQUIRE([AC_ARG_PROGRAM]) mgl@1371: +dnl FIXME This is truly gross. mgl@1371: +missing_dir=`cd $ac_aux_dir && pwd` mgl@1371: +AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}, $missing_dir) mgl@1371: +AM_MISSING_PROG(AUTOCONF, autoconf, $missing_dir) mgl@1371: +AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}, $missing_dir) mgl@1371: +AM_MISSING_PROG(AUTOHEADER, autoheader, $missing_dir) mgl@1371: +AM_MISSING_PROG(MAKEINFO, makeinfo, $missing_dir) mgl@1371: +AC_REQUIRE([AC_PROG_MAKE_SET])]) mgl@1371: + mgl@1371: +# Copyright 2002 Free Software Foundation, Inc. mgl@1371: + mgl@1371: +# This program is free software; you can redistribute it and/or modify mgl@1371: +# it under the terms of the GNU General Public License as published by mgl@1371: +# the Free Software Foundation; either version 2, or (at your option) mgl@1371: +# any later version. mgl@1371: + mgl@1371: +# This program is distributed in the hope that it will be useful, mgl@1371: +# but WITHOUT ANY WARRANTY; without even the implied warranty of mgl@1371: +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the mgl@1371: +# GNU General Public License for more details. mgl@1371: + mgl@1371: +# You should have received a copy of the GNU General Public License mgl@1371: +# along with this program; if not, write to the Free Software mgl@1371: +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA mgl@1371: + mgl@1371: +# AM_AUTOMAKE_VERSION(VERSION) mgl@1371: +# ---------------------------- mgl@1371: +# Automake X.Y traces this macro to ensure aclocal.m4 has been mgl@1371: +# generated from the m4 files accompanying Automake X.Y. mgl@1371: +AC_DEFUN([AM_AUTOMAKE_VERSION],[am__api_version="1.4"]) mgl@1371: + mgl@1371: +# AM_SET_CURRENT_AUTOMAKE_VERSION mgl@1371: +# ------------------------------- mgl@1371: +# Call AM_AUTOMAKE_VERSION so it can be traced. mgl@1371: +# This function is AC_REQUIREd by AC_INIT_AUTOMAKE. mgl@1371: +AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], mgl@1371: + [AM_AUTOMAKE_VERSION([1.4-p6])]) mgl@1371: + mgl@1371: +# mgl@1371: +# Check to make sure that the build environment is sane. mgl@1371: +# mgl@1371: + mgl@1371: +AC_DEFUN([AM_SANITY_CHECK], mgl@1371: +[AC_MSG_CHECKING([whether build environment is sane]) mgl@1371: +# Just in case mgl@1371: +sleep 1 mgl@1371: +echo timestamp > conftestfile mgl@1371: +# Do `set' in a subshell so we don't clobber the current shell's mgl@1371: +# arguments. Must try -L first in case configure is actually a mgl@1371: +# symlink; some systems play weird games with the mod time of symlinks mgl@1371: +# (eg FreeBSD returns the mod time of the symlink's containing mgl@1371: +# directory). mgl@1371: +if ( mgl@1371: + set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null` mgl@1371: + if test "[$]*" = "X"; then mgl@1371: + # -L didn't work. mgl@1371: + set X `ls -t $srcdir/configure conftestfile` mgl@1371: + fi mgl@1371: + if test "[$]*" != "X $srcdir/configure conftestfile" \ mgl@1371: + && test "[$]*" != "X conftestfile $srcdir/configure"; then mgl@1371: + mgl@1371: + # If neither matched, then we have a broken ls. This can happen mgl@1371: + # if, for instance, CONFIG_SHELL is bash and it inherits a mgl@1371: + # broken ls alias from the environment. This has actually mgl@1371: + # happened. Such a system could not be considered "sane". mgl@1371: + AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken mgl@1371: +alias in your environment]) mgl@1371: + fi mgl@1371: + mgl@1371: + test "[$]2" = conftestfile mgl@1371: + ) mgl@1371: +then mgl@1371: + # Ok. mgl@1371: + : mgl@1371: +else mgl@1371: + AC_MSG_ERROR([newly created file is older than distributed files! mgl@1371: +Check your system clock]) mgl@1371: +fi mgl@1371: +rm -f conftest* mgl@1371: +AC_MSG_RESULT(yes)]) mgl@1371: + mgl@1371: +dnl AM_MISSING_PROG(NAME, PROGRAM, DIRECTORY) mgl@1371: +dnl The program must properly implement --version. mgl@1371: +AC_DEFUN([AM_MISSING_PROG], mgl@1371: +[AC_MSG_CHECKING(for working $2) mgl@1371: +# Run test in a subshell; some versions of sh will print an error if mgl@1371: +# an executable is not found, even if stderr is redirected. mgl@1371: +# Redirect stdin to placate older versions of autoconf. Sigh. mgl@1371: +if ($2 --version) < /dev/null > /dev/null 2>&1; then mgl@1371: + $1=$2 mgl@1371: + AC_MSG_RESULT(found) mgl@1371: +else mgl@1371: + $1="$3/missing $2" mgl@1371: + AC_MSG_RESULT(missing) mgl@1371: +fi mgl@1371: +AC_SUBST($1)]) mgl@1371: + mgl@1371: +# Define a conditional. mgl@1371: + mgl@1371: +AC_DEFUN([AM_CONDITIONAL], mgl@1371: +[AC_SUBST($1_TRUE) mgl@1371: +AC_SUBST($1_FALSE) mgl@1371: +if $2; then mgl@1371: + $1_TRUE= mgl@1371: + $1_FALSE='#' mgl@1371: +else mgl@1371: + $1_TRUE='#' mgl@1371: + $1_FALSE= mgl@1371: +fi]) mgl@1371: + mgl@1371: +# Add --enable-maintainer-mode option to configure. mgl@1371: +# From Jim Meyering mgl@1371: + mgl@1371: +# serial 1 mgl@1371: + mgl@1371: +AC_DEFUN([AM_MAINTAINER_MODE], mgl@1371: +[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles]) mgl@1371: + dnl maintainer-mode is disabled by default mgl@1371: + AC_ARG_ENABLE(maintainer-mode, mgl@1371: +[ --enable-maintainer-mode enable make rules and dependencies not useful mgl@1371: + (and sometimes confusing) to the casual installer], mgl@1371: + USE_MAINTAINER_MODE=$enableval, mgl@1371: + USE_MAINTAINER_MODE=no) mgl@1371: + AC_MSG_RESULT($USE_MAINTAINER_MODE) mgl@1371: + AM_CONDITIONAL(MAINTAINER_MODE, test $USE_MAINTAINER_MODE = yes) mgl@1371: + MAINT=$MAINTAINER_MODE_TRUE mgl@1371: + AC_SUBST(MAINT)dnl mgl@1371: +] mgl@1371: +) mgl@1371: + mgl@1371: diff -Naur newlib-1.17.0/newlib/libc/machine/avr32/configure newlib-1.17.0-new/newlib/libc/machine/avr32/configure mgl@1371: --- newlib-1.17.0/newlib/libc/machine/avr32/configure 1970-01-01 01:00:00.000000000 +0100 mgl@1371: +++ newlib-1.17.0-new/newlib/libc/machine/avr32/configure 2009-05-22 09:57:49.000000000 +0200 mgl@1371: @@ -0,0 +1,3950 @@ mgl@1371: +#! /bin/sh mgl@1371: +# Guess values for system-dependent variables and create Makefiles. mgl@1371: +# Generated by GNU Autoconf 2.61 for newlib NEWLIB_VERSION. mgl@1371: +# mgl@1371: +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, mgl@1371: +# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. mgl@1371: +# This configure script is free software; the Free Software Foundation mgl@1371: +# gives unlimited permission to copy, distribute and modify it. mgl@1371: +## --------------------- ## mgl@1371: +## M4sh Initialization. ## mgl@1371: +## --------------------- ## mgl@1371: + mgl@1371: +# Be more Bourne compatible mgl@1371: +DUALCASE=1; export DUALCASE # for MKS sh mgl@1371: +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then mgl@1371: + emulate sh mgl@1371: + NULLCMD=: mgl@1371: + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which mgl@1371: + # is contrary to our usage. Disable this feature. mgl@1371: + alias -g '${1+"$@"}'='"$@"' mgl@1371: + setopt NO_GLOB_SUBST mgl@1371: +else mgl@1371: + case `(set -o) 2>/dev/null` in mgl@1371: + *posix*) set -o posix ;; mgl@1371: +esac mgl@1371: + mgl@1371: +fi mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: +# PATH needs CR mgl@1371: +# Avoid depending upon Character Ranges. mgl@1371: +as_cr_letters='abcdefghijklmnopqrstuvwxyz' mgl@1371: +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' mgl@1371: +as_cr_Letters=$as_cr_letters$as_cr_LETTERS mgl@1371: +as_cr_digits='0123456789' mgl@1371: +as_cr_alnum=$as_cr_Letters$as_cr_digits mgl@1371: + mgl@1371: +# The user is always right. mgl@1371: +if test "${PATH_SEPARATOR+set}" != set; then mgl@1371: + echo "#! /bin/sh" >conf$$.sh mgl@1371: + echo "exit 0" >>conf$$.sh mgl@1371: + chmod +x conf$$.sh mgl@1371: + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then mgl@1371: + PATH_SEPARATOR=';' mgl@1371: + else mgl@1371: + PATH_SEPARATOR=: mgl@1371: + fi mgl@1371: + rm -f conf$$.sh mgl@1371: +fi mgl@1371: + mgl@1371: +# Support unset when possible. mgl@1371: +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then mgl@1371: + as_unset=unset mgl@1371: +else mgl@1371: + as_unset=false mgl@1371: +fi mgl@1371: + mgl@1371: + mgl@1371: +# IFS mgl@1371: +# We need space, tab and new line, in precisely that order. Quoting is mgl@1371: +# there to prevent editors from complaining about space-tab. mgl@1371: +# (If _AS_PATH_WALK were called with IFS unset, it would disable word mgl@1371: +# splitting by setting IFS to empty value.) mgl@1371: +as_nl=' mgl@1371: +' mgl@1371: +IFS=" "" $as_nl" mgl@1371: + mgl@1371: +# Find who we are. Look in the path if we contain no directory separator. mgl@1371: +case $0 in mgl@1371: + *[\\/]* ) as_myself=$0 ;; mgl@1371: + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR mgl@1371: +for as_dir in $PATH mgl@1371: +do mgl@1371: + IFS=$as_save_IFS mgl@1371: + test -z "$as_dir" && as_dir=. mgl@1371: + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break mgl@1371: +done mgl@1371: +IFS=$as_save_IFS mgl@1371: + mgl@1371: + ;; mgl@1371: +esac mgl@1371: +# We did not find ourselves, most probably we were run as `sh COMMAND' mgl@1371: +# in which case we are not to be found in the path. mgl@1371: +if test "x$as_myself" = x; then mgl@1371: + as_myself=$0 mgl@1371: +fi mgl@1371: +if test ! -f "$as_myself"; then mgl@1371: + echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 mgl@1371: + { (exit 1); exit 1; } mgl@1371: +fi mgl@1371: + mgl@1371: +# Work around bugs in pre-3.0 UWIN ksh. mgl@1371: +for as_var in ENV MAIL MAILPATH mgl@1371: +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var mgl@1371: +done mgl@1371: +PS1='$ ' mgl@1371: +PS2='> ' mgl@1371: +PS4='+ ' mgl@1371: + mgl@1371: +# NLS nuisances. mgl@1371: +for as_var in \ mgl@1371: + LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ mgl@1371: + LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ mgl@1371: + LC_TELEPHONE LC_TIME mgl@1371: +do mgl@1371: + if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then mgl@1371: + eval $as_var=C; export $as_var mgl@1371: + else mgl@1371: + ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var mgl@1371: + fi mgl@1371: +done mgl@1371: + mgl@1371: +# Required to use basename. mgl@1371: +if expr a : '\(a\)' >/dev/null 2>&1 && mgl@1371: + test "X`expr 00001 : '.*\(...\)'`" = X001; then mgl@1371: + as_expr=expr mgl@1371: +else mgl@1371: + as_expr=false mgl@1371: +fi mgl@1371: + mgl@1371: +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then mgl@1371: + as_basename=basename mgl@1371: +else mgl@1371: + as_basename=false mgl@1371: +fi mgl@1371: + mgl@1371: + mgl@1371: +# Name of the executable. mgl@1371: +as_me=`$as_basename -- "$0" || mgl@1371: +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ mgl@1371: + X"$0" : 'X\(//\)$' \| \ mgl@1371: + X"$0" : 'X\(/\)' \| . 2>/dev/null || mgl@1371: +echo X/"$0" | mgl@1371: + sed '/^.*\/\([^/][^/]*\)\/*$/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + /^X\/\(\/\/\)$/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + /^X\/\(\/\).*/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + s/.*/./; q'` mgl@1371: + mgl@1371: +# CDPATH. mgl@1371: +$as_unset CDPATH mgl@1371: + mgl@1371: + mgl@1371: +if test "x$CONFIG_SHELL" = x; then mgl@1371: + if (eval ":") 2>/dev/null; then mgl@1371: + as_have_required=yes mgl@1371: +else mgl@1371: + as_have_required=no mgl@1371: +fi mgl@1371: + mgl@1371: + if test $as_have_required = yes && (eval ": mgl@1371: +(as_func_return () { mgl@1371: + (exit \$1) mgl@1371: +} mgl@1371: +as_func_success () { mgl@1371: + as_func_return 0 mgl@1371: +} mgl@1371: +as_func_failure () { mgl@1371: + as_func_return 1 mgl@1371: +} mgl@1371: +as_func_ret_success () { mgl@1371: + return 0 mgl@1371: +} mgl@1371: +as_func_ret_failure () { mgl@1371: + return 1 mgl@1371: +} mgl@1371: + mgl@1371: +exitcode=0 mgl@1371: +if as_func_success; then mgl@1371: + : mgl@1371: +else mgl@1371: + exitcode=1 mgl@1371: + echo as_func_success failed. mgl@1371: +fi mgl@1371: + mgl@1371: +if as_func_failure; then mgl@1371: + exitcode=1 mgl@1371: + echo as_func_failure succeeded. mgl@1371: +fi mgl@1371: + mgl@1371: +if as_func_ret_success; then mgl@1371: + : mgl@1371: +else mgl@1371: + exitcode=1 mgl@1371: + echo as_func_ret_success failed. mgl@1371: +fi mgl@1371: + mgl@1371: +if as_func_ret_failure; then mgl@1371: + exitcode=1 mgl@1371: + echo as_func_ret_failure succeeded. mgl@1371: +fi mgl@1371: + mgl@1371: +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then mgl@1371: + : mgl@1371: +else mgl@1371: + exitcode=1 mgl@1371: + echo positional parameters were not saved. mgl@1371: +fi mgl@1371: + mgl@1371: +test \$exitcode = 0) || { (exit 1); exit 1; } mgl@1371: + mgl@1371: +( mgl@1371: + as_lineno_1=\$LINENO mgl@1371: + as_lineno_2=\$LINENO mgl@1371: + test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && mgl@1371: + test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } mgl@1371: +") 2> /dev/null; then mgl@1371: + : mgl@1371: +else mgl@1371: + as_candidate_shells= mgl@1371: + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR mgl@1371: +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH mgl@1371: +do mgl@1371: + IFS=$as_save_IFS mgl@1371: + test -z "$as_dir" && as_dir=. mgl@1371: + case $as_dir in mgl@1371: + /*) mgl@1371: + for as_base in sh bash ksh sh5; do mgl@1371: + as_candidate_shells="$as_candidate_shells $as_dir/$as_base" mgl@1371: + done;; mgl@1371: + esac mgl@1371: +done mgl@1371: +IFS=$as_save_IFS mgl@1371: + mgl@1371: + mgl@1371: + for as_shell in $as_candidate_shells $SHELL; do mgl@1371: + # Try only shells that exist, to save several forks. mgl@1371: + if { test -f "$as_shell" || test -f "$as_shell.exe"; } && mgl@1371: + { ("$as_shell") 2> /dev/null <<\_ASEOF mgl@1371: +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then mgl@1371: + emulate sh mgl@1371: + NULLCMD=: mgl@1371: + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which mgl@1371: + # is contrary to our usage. Disable this feature. mgl@1371: + alias -g '${1+"$@"}'='"$@"' mgl@1371: + setopt NO_GLOB_SUBST mgl@1371: +else mgl@1371: + case `(set -o) 2>/dev/null` in mgl@1371: + *posix*) set -o posix ;; mgl@1371: +esac mgl@1371: + mgl@1371: +fi mgl@1371: + mgl@1371: + mgl@1371: +: mgl@1371: +_ASEOF mgl@1371: +}; then mgl@1371: + CONFIG_SHELL=$as_shell mgl@1371: + as_have_required=yes mgl@1371: + if { "$as_shell" 2> /dev/null <<\_ASEOF mgl@1371: +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then mgl@1371: + emulate sh mgl@1371: + NULLCMD=: mgl@1371: + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which mgl@1371: + # is contrary to our usage. Disable this feature. mgl@1371: + alias -g '${1+"$@"}'='"$@"' mgl@1371: + setopt NO_GLOB_SUBST mgl@1371: +else mgl@1371: + case `(set -o) 2>/dev/null` in mgl@1371: + *posix*) set -o posix ;; mgl@1371: +esac mgl@1371: + mgl@1371: +fi mgl@1371: + mgl@1371: + mgl@1371: +: mgl@1371: +(as_func_return () { mgl@1371: + (exit $1) mgl@1371: +} mgl@1371: +as_func_success () { mgl@1371: + as_func_return 0 mgl@1371: +} mgl@1371: +as_func_failure () { mgl@1371: + as_func_return 1 mgl@1371: +} mgl@1371: +as_func_ret_success () { mgl@1371: + return 0 mgl@1371: +} mgl@1371: +as_func_ret_failure () { mgl@1371: + return 1 mgl@1371: +} mgl@1371: + mgl@1371: +exitcode=0 mgl@1371: +if as_func_success; then mgl@1371: + : mgl@1371: +else mgl@1371: + exitcode=1 mgl@1371: + echo as_func_success failed. mgl@1371: +fi mgl@1371: + mgl@1371: +if as_func_failure; then mgl@1371: + exitcode=1 mgl@1371: + echo as_func_failure succeeded. mgl@1371: +fi mgl@1371: + mgl@1371: +if as_func_ret_success; then mgl@1371: + : mgl@1371: +else mgl@1371: + exitcode=1 mgl@1371: + echo as_func_ret_success failed. mgl@1371: +fi mgl@1371: + mgl@1371: +if as_func_ret_failure; then mgl@1371: + exitcode=1 mgl@1371: + echo as_func_ret_failure succeeded. mgl@1371: +fi mgl@1371: + mgl@1371: +if ( set x; as_func_ret_success y && test x = "$1" ); then mgl@1371: + : mgl@1371: +else mgl@1371: + exitcode=1 mgl@1371: + echo positional parameters were not saved. mgl@1371: +fi mgl@1371: + mgl@1371: +test $exitcode = 0) || { (exit 1); exit 1; } mgl@1371: + mgl@1371: +( mgl@1371: + as_lineno_1=$LINENO mgl@1371: + as_lineno_2=$LINENO mgl@1371: + test "x$as_lineno_1" != "x$as_lineno_2" && mgl@1371: + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } mgl@1371: + mgl@1371: +_ASEOF mgl@1371: +}; then mgl@1371: + break mgl@1371: +fi mgl@1371: + mgl@1371: +fi mgl@1371: + mgl@1371: + done mgl@1371: + mgl@1371: + if test "x$CONFIG_SHELL" != x; then mgl@1371: + for as_var in BASH_ENV ENV mgl@1371: + do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var mgl@1371: + done mgl@1371: + export CONFIG_SHELL mgl@1371: + exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} mgl@1371: +fi mgl@1371: + mgl@1371: + mgl@1371: + if test $as_have_required = no; then mgl@1371: + echo This script requires a shell more modern than all the mgl@1371: + echo shells that I found on your system. Please install a mgl@1371: + echo modern shell, or manually run the script under such a mgl@1371: + echo shell if you do have one. mgl@1371: + { (exit 1); exit 1; } mgl@1371: +fi mgl@1371: + mgl@1371: + mgl@1371: +fi mgl@1371: + mgl@1371: +fi mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: +(eval "as_func_return () { mgl@1371: + (exit \$1) mgl@1371: +} mgl@1371: +as_func_success () { mgl@1371: + as_func_return 0 mgl@1371: +} mgl@1371: +as_func_failure () { mgl@1371: + as_func_return 1 mgl@1371: +} mgl@1371: +as_func_ret_success () { mgl@1371: + return 0 mgl@1371: +} mgl@1371: +as_func_ret_failure () { mgl@1371: + return 1 mgl@1371: +} mgl@1371: + mgl@1371: +exitcode=0 mgl@1371: +if as_func_success; then mgl@1371: + : mgl@1371: +else mgl@1371: + exitcode=1 mgl@1371: + echo as_func_success failed. mgl@1371: +fi mgl@1371: + mgl@1371: +if as_func_failure; then mgl@1371: + exitcode=1 mgl@1371: + echo as_func_failure succeeded. mgl@1371: +fi mgl@1371: + mgl@1371: +if as_func_ret_success; then mgl@1371: + : mgl@1371: +else mgl@1371: + exitcode=1 mgl@1371: + echo as_func_ret_success failed. mgl@1371: +fi mgl@1371: + mgl@1371: +if as_func_ret_failure; then mgl@1371: + exitcode=1 mgl@1371: + echo as_func_ret_failure succeeded. mgl@1371: +fi mgl@1371: + mgl@1371: +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then mgl@1371: + : mgl@1371: +else mgl@1371: + exitcode=1 mgl@1371: + echo positional parameters were not saved. mgl@1371: +fi mgl@1371: + mgl@1371: +test \$exitcode = 0") || { mgl@1371: + echo No shell found that supports shell functions. mgl@1371: + echo Please tell autoconf@gnu.org about your system, mgl@1371: + echo including any error possibly output before this mgl@1371: + echo message mgl@1371: +} mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: + as_lineno_1=$LINENO mgl@1371: + as_lineno_2=$LINENO mgl@1371: + test "x$as_lineno_1" != "x$as_lineno_2" && mgl@1371: + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { mgl@1371: + mgl@1371: + # Create $as_me.lineno as a copy of $as_myself, but with $LINENO mgl@1371: + # uniformly replaced by the line number. The first 'sed' inserts a mgl@1371: + # line-number line after each line using $LINENO; the second 'sed' mgl@1371: + # does the real work. The second script uses 'N' to pair each mgl@1371: + # line-number line with the line containing $LINENO, and appends mgl@1371: + # trailing '-' during substitution so that $LINENO is not a special mgl@1371: + # case at line end. mgl@1371: + # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the mgl@1371: + # scripts with optimization help from Paolo Bonzini. Blame Lee mgl@1371: + # E. McMahon (1931-1989) for sed's syntax. :-) mgl@1371: + sed -n ' mgl@1371: + p mgl@1371: + /[$]LINENO/= mgl@1371: + ' <$as_myself | mgl@1371: + sed ' mgl@1371: + s/[$]LINENO.*/&-/ mgl@1371: + t lineno mgl@1371: + b mgl@1371: + :lineno mgl@1371: + N mgl@1371: + :loop mgl@1371: + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ mgl@1371: + t loop mgl@1371: + s/-\n.*// mgl@1371: + ' >$as_me.lineno && mgl@1371: + chmod +x "$as_me.lineno" || mgl@1371: + { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 mgl@1371: + { (exit 1); exit 1; }; } mgl@1371: + mgl@1371: + # Don't try to exec as it changes $[0], causing all sort of problems mgl@1371: + # (the dirname of $[0] is not the place where we might find the mgl@1371: + # original and so on. Autoconf is especially sensitive to this). mgl@1371: + . "./$as_me.lineno" mgl@1371: + # Exit status is that of the last command. mgl@1371: + exit mgl@1371: +} mgl@1371: + mgl@1371: + mgl@1371: +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then mgl@1371: + as_dirname=dirname mgl@1371: +else mgl@1371: + as_dirname=false mgl@1371: +fi mgl@1371: + mgl@1371: +ECHO_C= ECHO_N= ECHO_T= mgl@1371: +case `echo -n x` in mgl@1371: +-n*) mgl@1371: + case `echo 'x\c'` in mgl@1371: + *c*) ECHO_T=' ';; # ECHO_T is single tab character. mgl@1371: + *) ECHO_C='\c';; mgl@1371: + esac;; mgl@1371: +*) mgl@1371: + ECHO_N='-n';; mgl@1371: +esac mgl@1371: + mgl@1371: +if expr a : '\(a\)' >/dev/null 2>&1 && mgl@1371: + test "X`expr 00001 : '.*\(...\)'`" = X001; then mgl@1371: + as_expr=expr mgl@1371: +else mgl@1371: + as_expr=false mgl@1371: +fi mgl@1371: + mgl@1371: +rm -f conf$$ conf$$.exe conf$$.file mgl@1371: +if test -d conf$$.dir; then mgl@1371: + rm -f conf$$.dir/conf$$.file mgl@1371: +else mgl@1371: + rm -f conf$$.dir mgl@1371: + mkdir conf$$.dir mgl@1371: +fi mgl@1371: +echo >conf$$.file mgl@1371: +if ln -s conf$$.file conf$$ 2>/dev/null; then mgl@1371: + as_ln_s='ln -s' mgl@1371: + # ... but there are two gotchas: mgl@1371: + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. mgl@1371: + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. mgl@1371: + # In both cases, we have to default to `cp -p'. mgl@1371: + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || mgl@1371: + as_ln_s='cp -p' mgl@1371: +elif ln conf$$.file conf$$ 2>/dev/null; then mgl@1371: + as_ln_s=ln mgl@1371: +else mgl@1371: + as_ln_s='cp -p' mgl@1371: +fi mgl@1371: +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file mgl@1371: +rmdir conf$$.dir 2>/dev/null mgl@1371: + mgl@1371: +if mkdir -p . 2>/dev/null; then mgl@1371: + as_mkdir_p=: mgl@1371: +else mgl@1371: + test -d ./-p && rmdir ./-p mgl@1371: + as_mkdir_p=false mgl@1371: +fi mgl@1371: + mgl@1371: +if test -x / >/dev/null 2>&1; then mgl@1371: + as_test_x='test -x' mgl@1371: +else mgl@1371: + if ls -dL / >/dev/null 2>&1; then mgl@1371: + as_ls_L_option=L mgl@1371: + else mgl@1371: + as_ls_L_option= mgl@1371: + fi mgl@1371: + as_test_x=' mgl@1371: + eval sh -c '\'' mgl@1371: + if test -d "$1"; then mgl@1371: + test -d "$1/."; mgl@1371: + else mgl@1371: + case $1 in mgl@1371: + -*)set "./$1";; mgl@1371: + esac; mgl@1371: + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in mgl@1371: + ???[sx]*):;;*)false;;esac;fi mgl@1371: + '\'' sh mgl@1371: + ' mgl@1371: +fi mgl@1371: +as_executable_p=$as_test_x mgl@1371: + mgl@1371: +# Sed expression to map a string onto a valid CPP name. mgl@1371: +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" mgl@1371: + mgl@1371: +# Sed expression to map a string onto a valid variable name. mgl@1371: +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: +exec 7<&0 &1 mgl@1371: + mgl@1371: +# Name of the host. mgl@1371: +# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, mgl@1371: +# so uname gets run too. mgl@1371: +ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` mgl@1371: + mgl@1371: +# mgl@1371: +# Initializations. mgl@1371: +# mgl@1371: +ac_default_prefix=/usr/local mgl@1371: +ac_clean_files= mgl@1371: +ac_config_libobj_dir=. mgl@1371: +LIBOBJS= mgl@1371: +cross_compiling=no mgl@1371: +subdirs= mgl@1371: +MFLAGS= mgl@1371: +MAKEFLAGS= mgl@1371: +SHELL=${CONFIG_SHELL-/bin/sh} mgl@1371: + mgl@1371: +# Identity of this package. mgl@1371: +PACKAGE_NAME='newlib' mgl@1371: +PACKAGE_TARNAME='newlib' mgl@1371: +PACKAGE_VERSION='NEWLIB_VERSION' mgl@1371: +PACKAGE_STRING='newlib NEWLIB_VERSION' mgl@1371: +PACKAGE_BUGREPORT='' mgl@1371: + mgl@1371: +ac_unique_file="Makefile.am" mgl@1371: +ac_subst_vars='SHELL mgl@1371: +PATH_SEPARATOR mgl@1371: +PACKAGE_NAME mgl@1371: +PACKAGE_TARNAME mgl@1371: +PACKAGE_VERSION mgl@1371: +PACKAGE_STRING mgl@1371: +PACKAGE_BUGREPORT mgl@1371: +exec_prefix mgl@1371: +prefix mgl@1371: +program_transform_name mgl@1371: +bindir mgl@1371: +sbindir mgl@1371: +libexecdir mgl@1371: +datarootdir mgl@1371: +datadir mgl@1371: +sysconfdir mgl@1371: +sharedstatedir mgl@1371: +localstatedir mgl@1371: +includedir mgl@1371: +oldincludedir mgl@1371: +docdir mgl@1371: +infodir mgl@1371: +htmldir mgl@1371: +dvidir mgl@1371: +pdfdir mgl@1371: +psdir mgl@1371: +libdir mgl@1371: +localedir mgl@1371: +mandir mgl@1371: +DEFS mgl@1371: +ECHO_C mgl@1371: +ECHO_N mgl@1371: +ECHO_T mgl@1371: +LIBS mgl@1371: +build_alias mgl@1371: +host_alias mgl@1371: +target_alias mgl@1371: +MAY_SUPPLY_SYSCALLS_TRUE mgl@1371: +MAY_SUPPLY_SYSCALLS_FALSE mgl@1371: +newlib_basedir mgl@1371: +build mgl@1371: +build_cpu mgl@1371: +build_vendor mgl@1371: +build_os mgl@1371: +host mgl@1371: +host_cpu mgl@1371: +host_vendor mgl@1371: +host_os mgl@1371: +target mgl@1371: +target_cpu mgl@1371: +target_vendor mgl@1371: +target_os mgl@1371: +INSTALL_PROGRAM mgl@1371: +INSTALL_SCRIPT mgl@1371: +INSTALL_DATA mgl@1371: +PACKAGE mgl@1371: +VERSION mgl@1371: +ACLOCAL mgl@1371: +AUTOCONF mgl@1371: +AUTOMAKE mgl@1371: +AUTOHEADER mgl@1371: +MAKEINFO mgl@1371: +SET_MAKE mgl@1371: +CC mgl@1371: +AS mgl@1371: +AR mgl@1371: +RANLIB mgl@1371: +MAINTAINER_MODE_TRUE mgl@1371: +MAINTAINER_MODE_FALSE mgl@1371: +MAINT mgl@1371: +NEWLIB_CFLAGS mgl@1371: +LDFLAGS mgl@1371: +ELIX_LEVEL_0_TRUE mgl@1371: +ELIX_LEVEL_0_FALSE mgl@1371: +ELIX_LEVEL_1_TRUE mgl@1371: +ELIX_LEVEL_1_FALSE mgl@1371: +ELIX_LEVEL_2_TRUE mgl@1371: +ELIX_LEVEL_2_FALSE mgl@1371: +ELIX_LEVEL_3_TRUE mgl@1371: +ELIX_LEVEL_3_FALSE mgl@1371: +ELIX_LEVEL_4_TRUE mgl@1371: +ELIX_LEVEL_4_FALSE mgl@1371: +USE_LIBTOOL_TRUE mgl@1371: +USE_LIBTOOL_FALSE mgl@1371: +OBJEXT mgl@1371: +oext mgl@1371: +aext mgl@1371: +libm_machine_dir mgl@1371: +machine_dir mgl@1371: +sys_dir mgl@1371: +LIBOBJS mgl@1371: +LTLIBOBJS' mgl@1371: +ac_subst_files='' mgl@1371: + ac_precious_vars='build_alias mgl@1371: +host_alias mgl@1371: +target_alias' mgl@1371: + mgl@1371: + mgl@1371: +# Initialize some variables set by options. mgl@1371: +ac_init_help= mgl@1371: +ac_init_version=false mgl@1371: +# The variables have the same names as the options, with mgl@1371: +# dashes changed to underlines. mgl@1371: +cache_file=/dev/null mgl@1371: +exec_prefix=NONE mgl@1371: +no_create= mgl@1371: +no_recursion= mgl@1371: +prefix=NONE mgl@1371: +program_prefix=NONE mgl@1371: +program_suffix=NONE mgl@1371: +program_transform_name=s,x,x, mgl@1371: +silent= mgl@1371: +site= mgl@1371: +srcdir= mgl@1371: +verbose= mgl@1371: +x_includes=NONE mgl@1371: +x_libraries=NONE mgl@1371: + mgl@1371: +# Installation directory options. mgl@1371: +# These are left unexpanded so users can "make install exec_prefix=/foo" mgl@1371: +# and all the variables that are supposed to be based on exec_prefix mgl@1371: +# by default will actually change. mgl@1371: +# Use braces instead of parens because sh, perl, etc. also accept them. mgl@1371: +# (The list follows the same order as the GNU Coding Standards.) mgl@1371: +bindir='${exec_prefix}/bin' mgl@1371: +sbindir='${exec_prefix}/sbin' mgl@1371: +libexecdir='${exec_prefix}/libexec' mgl@1371: +datarootdir='${prefix}/share' mgl@1371: +datadir='${datarootdir}' mgl@1371: +sysconfdir='${prefix}/etc' mgl@1371: +sharedstatedir='${prefix}/com' mgl@1371: +localstatedir='${prefix}/var' mgl@1371: +includedir='${prefix}/include' mgl@1371: +oldincludedir='/usr/include' mgl@1371: +docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' mgl@1371: +infodir='${datarootdir}/info' mgl@1371: +htmldir='${docdir}' mgl@1371: +dvidir='${docdir}' mgl@1371: +pdfdir='${docdir}' mgl@1371: +psdir='${docdir}' mgl@1371: +libdir='${exec_prefix}/lib' mgl@1371: +localedir='${datarootdir}/locale' mgl@1371: +mandir='${datarootdir}/man' mgl@1371: + mgl@1371: +ac_prev= mgl@1371: +ac_dashdash= mgl@1371: +for ac_option mgl@1371: +do mgl@1371: + # If the previous option needs an argument, assign it. mgl@1371: + if test -n "$ac_prev"; then mgl@1371: + eval $ac_prev=\$ac_option mgl@1371: + ac_prev= mgl@1371: + continue mgl@1371: + fi mgl@1371: + mgl@1371: + case $ac_option in mgl@1371: + *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; mgl@1371: + *) ac_optarg=yes ;; mgl@1371: + esac mgl@1371: + mgl@1371: + # Accept the important Cygnus configure options, so we can diagnose typos. mgl@1371: + mgl@1371: + case $ac_dashdash$ac_option in mgl@1371: + --) mgl@1371: + ac_dashdash=yes ;; mgl@1371: + mgl@1371: + -bindir | --bindir | --bindi | --bind | --bin | --bi) mgl@1371: + ac_prev=bindir ;; mgl@1371: + -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) mgl@1371: + bindir=$ac_optarg ;; mgl@1371: + mgl@1371: + -build | --build | --buil | --bui | --bu) mgl@1371: + ac_prev=build_alias ;; mgl@1371: + -build=* | --build=* | --buil=* | --bui=* | --bu=*) mgl@1371: + build_alias=$ac_optarg ;; mgl@1371: + mgl@1371: + -cache-file | --cache-file | --cache-fil | --cache-fi \ mgl@1371: + | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) mgl@1371: + ac_prev=cache_file ;; mgl@1371: + -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ mgl@1371: + | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) mgl@1371: + cache_file=$ac_optarg ;; mgl@1371: + mgl@1371: + --config-cache | -C) mgl@1371: + cache_file=config.cache ;; mgl@1371: + mgl@1371: + -datadir | --datadir | --datadi | --datad) mgl@1371: + ac_prev=datadir ;; mgl@1371: + -datadir=* | --datadir=* | --datadi=* | --datad=*) mgl@1371: + datadir=$ac_optarg ;; mgl@1371: + mgl@1371: + -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ mgl@1371: + | --dataroo | --dataro | --datar) mgl@1371: + ac_prev=datarootdir ;; mgl@1371: + -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ mgl@1371: + | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) mgl@1371: + datarootdir=$ac_optarg ;; mgl@1371: + mgl@1371: + -disable-* | --disable-*) mgl@1371: + ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` mgl@1371: + # Reject names that are not valid shell variable names. mgl@1371: + expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && mgl@1371: + { echo "$as_me: error: invalid feature name: $ac_feature" >&2 mgl@1371: + { (exit 1); exit 1; }; } mgl@1371: + ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` mgl@1371: + eval enable_$ac_feature=no ;; mgl@1371: + mgl@1371: + -docdir | --docdir | --docdi | --doc | --do) mgl@1371: + ac_prev=docdir ;; mgl@1371: + -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) mgl@1371: + docdir=$ac_optarg ;; mgl@1371: + mgl@1371: + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) mgl@1371: + ac_prev=dvidir ;; mgl@1371: + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) mgl@1371: + dvidir=$ac_optarg ;; mgl@1371: + mgl@1371: + -enable-* | --enable-*) mgl@1371: + ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` mgl@1371: + # Reject names that are not valid shell variable names. mgl@1371: + expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && mgl@1371: + { echo "$as_me: error: invalid feature name: $ac_feature" >&2 mgl@1371: + { (exit 1); exit 1; }; } mgl@1371: + ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` mgl@1371: + eval enable_$ac_feature=\$ac_optarg ;; mgl@1371: + mgl@1371: + -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ mgl@1371: + | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ mgl@1371: + | --exec | --exe | --ex) mgl@1371: + ac_prev=exec_prefix ;; mgl@1371: + -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ mgl@1371: + | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ mgl@1371: + | --exec=* | --exe=* | --ex=*) mgl@1371: + exec_prefix=$ac_optarg ;; mgl@1371: + mgl@1371: + -gas | --gas | --ga | --g) mgl@1371: + # Obsolete; use --with-gas. mgl@1371: + with_gas=yes ;; mgl@1371: + mgl@1371: + -help | --help | --hel | --he | -h) mgl@1371: + ac_init_help=long ;; mgl@1371: + -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) mgl@1371: + ac_init_help=recursive ;; mgl@1371: + -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) mgl@1371: + ac_init_help=short ;; mgl@1371: + mgl@1371: + -host | --host | --hos | --ho) mgl@1371: + ac_prev=host_alias ;; mgl@1371: + -host=* | --host=* | --hos=* | --ho=*) mgl@1371: + host_alias=$ac_optarg ;; mgl@1371: + mgl@1371: + -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) mgl@1371: + ac_prev=htmldir ;; mgl@1371: + -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ mgl@1371: + | --ht=*) mgl@1371: + htmldir=$ac_optarg ;; mgl@1371: + mgl@1371: + -includedir | --includedir | --includedi | --included | --include \ mgl@1371: + | --includ | --inclu | --incl | --inc) mgl@1371: + ac_prev=includedir ;; mgl@1371: + -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ mgl@1371: + | --includ=* | --inclu=* | --incl=* | --inc=*) mgl@1371: + includedir=$ac_optarg ;; mgl@1371: + mgl@1371: + -infodir | --infodir | --infodi | --infod | --info | --inf) mgl@1371: + ac_prev=infodir ;; mgl@1371: + -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) mgl@1371: + infodir=$ac_optarg ;; mgl@1371: + mgl@1371: + -libdir | --libdir | --libdi | --libd) mgl@1371: + ac_prev=libdir ;; mgl@1371: + -libdir=* | --libdir=* | --libdi=* | --libd=*) mgl@1371: + libdir=$ac_optarg ;; mgl@1371: + mgl@1371: + -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ mgl@1371: + | --libexe | --libex | --libe) mgl@1371: + ac_prev=libexecdir ;; mgl@1371: + -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ mgl@1371: + | --libexe=* | --libex=* | --libe=*) mgl@1371: + libexecdir=$ac_optarg ;; mgl@1371: + mgl@1371: + -localedir | --localedir | --localedi | --localed | --locale) mgl@1371: + ac_prev=localedir ;; mgl@1371: + -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) mgl@1371: + localedir=$ac_optarg ;; mgl@1371: + mgl@1371: + -localstatedir | --localstatedir | --localstatedi | --localstated \ mgl@1371: + | --localstate | --localstat | --localsta | --localst | --locals) mgl@1371: + ac_prev=localstatedir ;; mgl@1371: + -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ mgl@1371: + | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) mgl@1371: + localstatedir=$ac_optarg ;; mgl@1371: + mgl@1371: + -mandir | --mandir | --mandi | --mand | --man | --ma | --m) mgl@1371: + ac_prev=mandir ;; mgl@1371: + -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) mgl@1371: + mandir=$ac_optarg ;; mgl@1371: + mgl@1371: + -nfp | --nfp | --nf) mgl@1371: + # Obsolete; use --without-fp. mgl@1371: + with_fp=no ;; mgl@1371: + mgl@1371: + -no-create | --no-create | --no-creat | --no-crea | --no-cre \ mgl@1371: + | --no-cr | --no-c | -n) mgl@1371: + no_create=yes ;; mgl@1371: + mgl@1371: + -no-recursion | --no-recursion | --no-recursio | --no-recursi \ mgl@1371: + | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) mgl@1371: + no_recursion=yes ;; mgl@1371: + mgl@1371: + -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ mgl@1371: + | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ mgl@1371: + | --oldin | --oldi | --old | --ol | --o) mgl@1371: + ac_prev=oldincludedir ;; mgl@1371: + -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ mgl@1371: + | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ mgl@1371: + | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) mgl@1371: + oldincludedir=$ac_optarg ;; mgl@1371: + mgl@1371: + -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) mgl@1371: + ac_prev=prefix ;; mgl@1371: + -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) mgl@1371: + prefix=$ac_optarg ;; mgl@1371: + mgl@1371: + -program-prefix | --program-prefix | --program-prefi | --program-pref \ mgl@1371: + | --program-pre | --program-pr | --program-p) mgl@1371: + ac_prev=program_prefix ;; mgl@1371: + -program-prefix=* | --program-prefix=* | --program-prefi=* \ mgl@1371: + | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) mgl@1371: + program_prefix=$ac_optarg ;; mgl@1371: + mgl@1371: + -program-suffix | --program-suffix | --program-suffi | --program-suff \ mgl@1371: + | --program-suf | --program-su | --program-s) mgl@1371: + ac_prev=program_suffix ;; mgl@1371: + -program-suffix=* | --program-suffix=* | --program-suffi=* \ mgl@1371: + | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) mgl@1371: + program_suffix=$ac_optarg ;; mgl@1371: + mgl@1371: + -program-transform-name | --program-transform-name \ mgl@1371: + | --program-transform-nam | --program-transform-na \ mgl@1371: + | --program-transform-n | --program-transform- \ mgl@1371: + | --program-transform | --program-transfor \ mgl@1371: + | --program-transfo | --program-transf \ mgl@1371: + | --program-trans | --program-tran \ mgl@1371: + | --progr-tra | --program-tr | --program-t) mgl@1371: + ac_prev=program_transform_name ;; mgl@1371: + -program-transform-name=* | --program-transform-name=* \ mgl@1371: + | --program-transform-nam=* | --program-transform-na=* \ mgl@1371: + | --program-transform-n=* | --program-transform-=* \ mgl@1371: + | --program-transform=* | --program-transfor=* \ mgl@1371: + | --program-transfo=* | --program-transf=* \ mgl@1371: + | --program-trans=* | --program-tran=* \ mgl@1371: + | --progr-tra=* | --program-tr=* | --program-t=*) mgl@1371: + program_transform_name=$ac_optarg ;; mgl@1371: + mgl@1371: + -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) mgl@1371: + ac_prev=pdfdir ;; mgl@1371: + -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) mgl@1371: + pdfdir=$ac_optarg ;; mgl@1371: + mgl@1371: + -psdir | --psdir | --psdi | --psd | --ps) mgl@1371: + ac_prev=psdir ;; mgl@1371: + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) mgl@1371: + psdir=$ac_optarg ;; mgl@1371: + mgl@1371: + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ mgl@1371: + | -silent | --silent | --silen | --sile | --sil) mgl@1371: + silent=yes ;; mgl@1371: + mgl@1371: + -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) mgl@1371: + ac_prev=sbindir ;; mgl@1371: + -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ mgl@1371: + | --sbi=* | --sb=*) mgl@1371: + sbindir=$ac_optarg ;; mgl@1371: + mgl@1371: + -sharedstatedir | --sharedstatedir | --sharedstatedi \ mgl@1371: + | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ mgl@1371: + | --sharedst | --shareds | --shared | --share | --shar \ mgl@1371: + | --sha | --sh) mgl@1371: + ac_prev=sharedstatedir ;; mgl@1371: + -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ mgl@1371: + | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ mgl@1371: + | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ mgl@1371: + | --sha=* | --sh=*) mgl@1371: + sharedstatedir=$ac_optarg ;; mgl@1371: + mgl@1371: + -site | --site | --sit) mgl@1371: + ac_prev=site ;; mgl@1371: + -site=* | --site=* | --sit=*) mgl@1371: + site=$ac_optarg ;; mgl@1371: + mgl@1371: + -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) mgl@1371: + ac_prev=srcdir ;; mgl@1371: + -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) mgl@1371: + srcdir=$ac_optarg ;; mgl@1371: + mgl@1371: + -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ mgl@1371: + | --syscon | --sysco | --sysc | --sys | --sy) mgl@1371: + ac_prev=sysconfdir ;; mgl@1371: + -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ mgl@1371: + | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) mgl@1371: + sysconfdir=$ac_optarg ;; mgl@1371: + mgl@1371: + -target | --target | --targe | --targ | --tar | --ta | --t) mgl@1371: + ac_prev=target_alias ;; mgl@1371: + -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) mgl@1371: + target_alias=$ac_optarg ;; mgl@1371: + mgl@1371: + -v | -verbose | --verbose | --verbos | --verbo | --verb) mgl@1371: + verbose=yes ;; mgl@1371: + mgl@1371: + -version | --version | --versio | --versi | --vers | -V) mgl@1371: + ac_init_version=: ;; mgl@1371: + mgl@1371: + -with-* | --with-*) mgl@1371: + ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` mgl@1371: + # Reject names that are not valid shell variable names. mgl@1371: + expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && mgl@1371: + { echo "$as_me: error: invalid package name: $ac_package" >&2 mgl@1371: + { (exit 1); exit 1; }; } mgl@1371: + ac_package=`echo $ac_package | sed 's/[-.]/_/g'` mgl@1371: + eval with_$ac_package=\$ac_optarg ;; mgl@1371: + mgl@1371: + -without-* | --without-*) mgl@1371: + ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` mgl@1371: + # Reject names that are not valid shell variable names. mgl@1371: + expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && mgl@1371: + { echo "$as_me: error: invalid package name: $ac_package" >&2 mgl@1371: + { (exit 1); exit 1; }; } mgl@1371: + ac_package=`echo $ac_package | sed 's/[-.]/_/g'` mgl@1371: + eval with_$ac_package=no ;; mgl@1371: + mgl@1371: + --x) mgl@1371: + # Obsolete; use --with-x. mgl@1371: + with_x=yes ;; mgl@1371: + mgl@1371: + -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ mgl@1371: + | --x-incl | --x-inc | --x-in | --x-i) mgl@1371: + ac_prev=x_includes ;; mgl@1371: + -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ mgl@1371: + | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) mgl@1371: + x_includes=$ac_optarg ;; mgl@1371: + mgl@1371: + -x-libraries | --x-libraries | --x-librarie | --x-librari \ mgl@1371: + | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) mgl@1371: + ac_prev=x_libraries ;; mgl@1371: + -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ mgl@1371: + | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) mgl@1371: + x_libraries=$ac_optarg ;; mgl@1371: + mgl@1371: + -*) { echo "$as_me: error: unrecognized option: $ac_option mgl@1371: +Try \`$0 --help' for more information." >&2 mgl@1371: + { (exit 1); exit 1; }; } mgl@1371: + ;; mgl@1371: + mgl@1371: + *=*) mgl@1371: + ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` mgl@1371: + # Reject names that are not valid shell variable names. mgl@1371: + expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && mgl@1371: + { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 mgl@1371: + { (exit 1); exit 1; }; } mgl@1371: + eval $ac_envvar=\$ac_optarg mgl@1371: + export $ac_envvar ;; mgl@1371: + mgl@1371: + *) mgl@1371: + # FIXME: should be removed in autoconf 3.0. mgl@1371: + echo "$as_me: WARNING: you should use --build, --host, --target" >&2 mgl@1371: + expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && mgl@1371: + echo "$as_me: WARNING: invalid host type: $ac_option" >&2 mgl@1371: + : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} mgl@1371: + ;; mgl@1371: + mgl@1371: + esac mgl@1371: +done mgl@1371: + mgl@1371: +if test -n "$ac_prev"; then mgl@1371: + ac_option=--`echo $ac_prev | sed 's/_/-/g'` mgl@1371: + { echo "$as_me: error: missing argument to $ac_option" >&2 mgl@1371: + { (exit 1); exit 1; }; } mgl@1371: +fi mgl@1371: + mgl@1371: +# Be sure to have absolute directory names. mgl@1371: +for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ mgl@1371: + datadir sysconfdir sharedstatedir localstatedir includedir \ mgl@1371: + oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ mgl@1371: + libdir localedir mandir mgl@1371: +do mgl@1371: + eval ac_val=\$$ac_var mgl@1371: + case $ac_val in mgl@1371: + [\\/$]* | ?:[\\/]* ) continue;; mgl@1371: + NONE | '' ) case $ac_var in *prefix ) continue;; esac;; mgl@1371: + esac mgl@1371: + { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 mgl@1371: + { (exit 1); exit 1; }; } mgl@1371: +done mgl@1371: + mgl@1371: +# There might be people who depend on the old broken behavior: `$host' mgl@1371: +# used to hold the argument of --host etc. mgl@1371: +# FIXME: To remove some day. mgl@1371: +build=$build_alias mgl@1371: +host=$host_alias mgl@1371: +target=$target_alias mgl@1371: + mgl@1371: +# FIXME: To remove some day. mgl@1371: +if test "x$host_alias" != x; then mgl@1371: + if test "x$build_alias" = x; then mgl@1371: + cross_compiling=maybe mgl@1371: + echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. mgl@1371: + If a cross compiler is detected then cross compile mode will be used." >&2 mgl@1371: + elif test "x$build_alias" != "x$host_alias"; then mgl@1371: + cross_compiling=yes mgl@1371: + fi mgl@1371: +fi mgl@1371: + mgl@1371: +ac_tool_prefix= mgl@1371: +test -n "$host_alias" && ac_tool_prefix=$host_alias- mgl@1371: + mgl@1371: +test "$silent" = yes && exec 6>/dev/null mgl@1371: + mgl@1371: + mgl@1371: +ac_pwd=`pwd` && test -n "$ac_pwd" && mgl@1371: +ac_ls_di=`ls -di .` && mgl@1371: +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || mgl@1371: + { echo "$as_me: error: Working directory cannot be determined" >&2 mgl@1371: + { (exit 1); exit 1; }; } mgl@1371: +test "X$ac_ls_di" = "X$ac_pwd_ls_di" || mgl@1371: + { echo "$as_me: error: pwd does not report name of working directory" >&2 mgl@1371: + { (exit 1); exit 1; }; } mgl@1371: + mgl@1371: + mgl@1371: +# Find the source files, if location was not specified. mgl@1371: +if test -z "$srcdir"; then mgl@1371: + ac_srcdir_defaulted=yes mgl@1371: + # Try the directory containing this script, then the parent directory. mgl@1371: + ac_confdir=`$as_dirname -- "$0" || mgl@1371: +$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ mgl@1371: + X"$0" : 'X\(//\)[^/]' \| \ mgl@1371: + X"$0" : 'X\(//\)$' \| \ mgl@1371: + X"$0" : 'X\(/\)' \| . 2>/dev/null || mgl@1371: +echo X"$0" | mgl@1371: + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + /^X\(\/\/\)[^/].*/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + /^X\(\/\/\)$/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + /^X\(\/\).*/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + s/.*/./; q'` mgl@1371: + srcdir=$ac_confdir mgl@1371: + if test ! -r "$srcdir/$ac_unique_file"; then mgl@1371: + srcdir=.. mgl@1371: + fi mgl@1371: +else mgl@1371: + ac_srcdir_defaulted=no mgl@1371: +fi mgl@1371: +if test ! -r "$srcdir/$ac_unique_file"; then mgl@1371: + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." mgl@1371: + { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 mgl@1371: + { (exit 1); exit 1; }; } mgl@1371: +fi mgl@1371: +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" mgl@1371: +ac_abs_confdir=`( mgl@1371: + cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 mgl@1371: + { (exit 1); exit 1; }; } mgl@1371: + pwd)` mgl@1371: +# When building in place, set srcdir=. mgl@1371: +if test "$ac_abs_confdir" = "$ac_pwd"; then mgl@1371: + srcdir=. mgl@1371: +fi mgl@1371: +# Remove unnecessary trailing slashes from srcdir. mgl@1371: +# Double slashes in file names in object file debugging info mgl@1371: +# mess up M-x gdb in Emacs. mgl@1371: +case $srcdir in mgl@1371: +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; mgl@1371: +esac mgl@1371: +for ac_var in $ac_precious_vars; do mgl@1371: + eval ac_env_${ac_var}_set=\${${ac_var}+set} mgl@1371: + eval ac_env_${ac_var}_value=\$${ac_var} mgl@1371: + eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} mgl@1371: + eval ac_cv_env_${ac_var}_value=\$${ac_var} mgl@1371: +done mgl@1371: + mgl@1371: +# mgl@1371: +# Report the --help message. mgl@1371: +# mgl@1371: +if test "$ac_init_help" = "long"; then mgl@1371: + # Omit some internal or obsolete options to make the list less imposing. mgl@1371: + # This message is too long to be a string in the A/UX 3.1 sh. mgl@1371: + cat <<_ACEOF mgl@1371: +\`configure' configures newlib NEWLIB_VERSION to adapt to many kinds of systems. mgl@1371: + mgl@1371: +Usage: $0 [OPTION]... [VAR=VALUE]... mgl@1371: + mgl@1371: +To assign environment variables (e.g., CC, CFLAGS...), specify them as mgl@1371: +VAR=VALUE. See below for descriptions of some of the useful variables. mgl@1371: + mgl@1371: +Defaults for the options are specified in brackets. mgl@1371: + mgl@1371: +Configuration: mgl@1371: + -h, --help display this help and exit mgl@1371: + --help=short display options specific to this package mgl@1371: + --help=recursive display the short help of all the included packages mgl@1371: + -V, --version display version information and exit mgl@1371: + -q, --quiet, --silent do not print \`checking...' messages mgl@1371: + --cache-file=FILE cache test results in FILE [disabled] mgl@1371: + -C, --config-cache alias for \`--cache-file=config.cache' mgl@1371: + -n, --no-create do not create output files mgl@1371: + --srcdir=DIR find the sources in DIR [configure dir or \`..'] mgl@1371: + mgl@1371: +Installation directories: mgl@1371: + --prefix=PREFIX install architecture-independent files in PREFIX mgl@1371: + [$ac_default_prefix] mgl@1371: + --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX mgl@1371: + [PREFIX] mgl@1371: + mgl@1371: +By default, \`make install' will install all the files in mgl@1371: +\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify mgl@1371: +an installation prefix other than \`$ac_default_prefix' using \`--prefix', mgl@1371: +for instance \`--prefix=\$HOME'. mgl@1371: + mgl@1371: +For better control, use the options below. mgl@1371: + mgl@1371: +Fine tuning of the installation directories: mgl@1371: + --bindir=DIR user executables [EPREFIX/bin] mgl@1371: + --sbindir=DIR system admin executables [EPREFIX/sbin] mgl@1371: + --libexecdir=DIR program executables [EPREFIX/libexec] mgl@1371: + --sysconfdir=DIR read-only single-machine data [PREFIX/etc] mgl@1371: + --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] mgl@1371: + --localstatedir=DIR modifiable single-machine data [PREFIX/var] mgl@1371: + --libdir=DIR object code libraries [EPREFIX/lib] mgl@1371: + --includedir=DIR C header files [PREFIX/include] mgl@1371: + --oldincludedir=DIR C header files for non-gcc [/usr/include] mgl@1371: + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] mgl@1371: + --datadir=DIR read-only architecture-independent data [DATAROOTDIR] mgl@1371: + --infodir=DIR info documentation [DATAROOTDIR/info] mgl@1371: + --localedir=DIR locale-dependent data [DATAROOTDIR/locale] mgl@1371: + --mandir=DIR man documentation [DATAROOTDIR/man] mgl@1371: + --docdir=DIR documentation root [DATAROOTDIR/doc/newlib] mgl@1371: + --htmldir=DIR html documentation [DOCDIR] mgl@1371: + --dvidir=DIR dvi documentation [DOCDIR] mgl@1371: + --pdfdir=DIR pdf documentation [DOCDIR] mgl@1371: + --psdir=DIR ps documentation [DOCDIR] mgl@1371: +_ACEOF mgl@1371: + mgl@1371: + cat <<\_ACEOF mgl@1371: + mgl@1371: +Program names: mgl@1371: + --program-prefix=PREFIX prepend PREFIX to installed program names mgl@1371: + --program-suffix=SUFFIX append SUFFIX to installed program names mgl@1371: + --program-transform-name=PROGRAM run sed PROGRAM on installed program names mgl@1371: + mgl@1371: +System types: mgl@1371: + --build=BUILD configure for building on BUILD [guessed] mgl@1371: + --host=HOST cross-compile to build programs to run on HOST [BUILD] mgl@1371: + --target=TARGET configure for building compilers for TARGET [HOST] mgl@1371: +_ACEOF mgl@1371: +fi mgl@1371: + mgl@1371: +if test -n "$ac_init_help"; then mgl@1371: + case $ac_init_help in mgl@1371: + short | recursive ) echo "Configuration of newlib NEWLIB_VERSION:";; mgl@1371: + esac mgl@1371: + cat <<\_ACEOF mgl@1371: + mgl@1371: +Optional Features: mgl@1371: + --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) mgl@1371: + --enable-FEATURE[=ARG] include FEATURE [ARG=yes] mgl@1371: + --enable-multilib build many library versions (default) mgl@1371: + --enable-target-optspace optimize for space mgl@1371: + --enable-malloc-debugging indicate malloc debugging requested mgl@1371: + --enable-newlib-mb enable multibyte support mgl@1371: + --enable-newlib-iconv enable iconv library support mgl@1371: + --enable-newlib-builtin-converters enable specific comma-separated list of iconv converters to be built-in mgl@1371: + --enable-newlib-multithread enable support for multiple threads mgl@1371: + --enable-newlib-elix-level supply desired elix library level (1-4) mgl@1371: + --disable-newlib-io-float disable printf/scanf family float support mgl@1371: + --disable-newlib-supplied-syscalls disable newlib from supplying syscalls mgl@1371: + --enable-maintainer-mode enable make rules and dependencies not useful mgl@1371: + (and sometimes confusing) to the casual installer mgl@1371: + mgl@1371: +_ACEOF mgl@1371: +ac_status=$? mgl@1371: +fi mgl@1371: + mgl@1371: +if test "$ac_init_help" = "recursive"; then mgl@1371: + # If there are subdirs, report their specific --help. mgl@1371: + for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue mgl@1371: + test -d "$ac_dir" || continue mgl@1371: + ac_builddir=. mgl@1371: + mgl@1371: +case "$ac_dir" in mgl@1371: +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; mgl@1371: +*) mgl@1371: + ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` mgl@1371: + # A ".." for each directory in $ac_dir_suffix. mgl@1371: + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` mgl@1371: + case $ac_top_builddir_sub in mgl@1371: + "") ac_top_builddir_sub=. ac_top_build_prefix= ;; mgl@1371: + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; mgl@1371: + esac ;; mgl@1371: +esac mgl@1371: +ac_abs_top_builddir=$ac_pwd mgl@1371: +ac_abs_builddir=$ac_pwd$ac_dir_suffix mgl@1371: +# for backward compatibility: mgl@1371: +ac_top_builddir=$ac_top_build_prefix mgl@1371: + mgl@1371: +case $srcdir in mgl@1371: + .) # We are building in place. mgl@1371: + ac_srcdir=. mgl@1371: + ac_top_srcdir=$ac_top_builddir_sub mgl@1371: + ac_abs_top_srcdir=$ac_pwd ;; mgl@1371: + [\\/]* | ?:[\\/]* ) # Absolute name. mgl@1371: + ac_srcdir=$srcdir$ac_dir_suffix; mgl@1371: + ac_top_srcdir=$srcdir mgl@1371: + ac_abs_top_srcdir=$srcdir ;; mgl@1371: + *) # Relative name. mgl@1371: + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix mgl@1371: + ac_top_srcdir=$ac_top_build_prefix$srcdir mgl@1371: + ac_abs_top_srcdir=$ac_pwd/$srcdir ;; mgl@1371: +esac mgl@1371: +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix mgl@1371: + mgl@1371: + cd "$ac_dir" || { ac_status=$?; continue; } mgl@1371: + # Check for guested configure. mgl@1371: + if test -f "$ac_srcdir/configure.gnu"; then mgl@1371: + echo && mgl@1371: + $SHELL "$ac_srcdir/configure.gnu" --help=recursive mgl@1371: + elif test -f "$ac_srcdir/configure"; then mgl@1371: + echo && mgl@1371: + $SHELL "$ac_srcdir/configure" --help=recursive mgl@1371: + else mgl@1371: + echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 mgl@1371: + fi || ac_status=$? mgl@1371: + cd "$ac_pwd" || { ac_status=$?; break; } mgl@1371: + done mgl@1371: +fi mgl@1371: + mgl@1371: +test -n "$ac_init_help" && exit $ac_status mgl@1371: +if $ac_init_version; then mgl@1371: + cat <<\_ACEOF mgl@1371: +newlib configure NEWLIB_VERSION mgl@1371: +generated by GNU Autoconf 2.61 mgl@1371: + mgl@1371: +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, mgl@1371: +2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. mgl@1371: +This configure script is free software; the Free Software Foundation mgl@1371: +gives unlimited permission to copy, distribute and modify it. mgl@1371: +_ACEOF mgl@1371: + exit mgl@1371: +fi mgl@1371: +cat >config.log <<_ACEOF mgl@1371: +This file contains any messages produced by compilers while mgl@1371: +running configure, to aid debugging if configure makes a mistake. mgl@1371: + mgl@1371: +It was created by newlib $as_me NEWLIB_VERSION, which was mgl@1371: +generated by GNU Autoconf 2.61. Invocation command line was mgl@1371: + mgl@1371: + $ $0 $@ mgl@1371: + mgl@1371: +_ACEOF mgl@1371: +exec 5>>config.log mgl@1371: +{ mgl@1371: +cat <<_ASUNAME mgl@1371: +## --------- ## mgl@1371: +## Platform. ## mgl@1371: +## --------- ## mgl@1371: + mgl@1371: +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` mgl@1371: +uname -m = `(uname -m) 2>/dev/null || echo unknown` mgl@1371: +uname -r = `(uname -r) 2>/dev/null || echo unknown` mgl@1371: +uname -s = `(uname -s) 2>/dev/null || echo unknown` mgl@1371: +uname -v = `(uname -v) 2>/dev/null || echo unknown` mgl@1371: + mgl@1371: +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` mgl@1371: +/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` mgl@1371: + mgl@1371: +/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` mgl@1371: +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` mgl@1371: +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` mgl@1371: +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` mgl@1371: +/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` mgl@1371: +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` mgl@1371: +/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` mgl@1371: + mgl@1371: +_ASUNAME mgl@1371: + mgl@1371: +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR mgl@1371: +for as_dir in $PATH mgl@1371: +do mgl@1371: + IFS=$as_save_IFS mgl@1371: + test -z "$as_dir" && as_dir=. mgl@1371: + echo "PATH: $as_dir" mgl@1371: +done mgl@1371: +IFS=$as_save_IFS mgl@1371: + mgl@1371: +} >&5 mgl@1371: + mgl@1371: +cat >&5 <<_ACEOF mgl@1371: + mgl@1371: + mgl@1371: +## ----------- ## mgl@1371: +## Core tests. ## mgl@1371: +## ----------- ## mgl@1371: + mgl@1371: +_ACEOF mgl@1371: + mgl@1371: + mgl@1371: +# Keep a trace of the command line. mgl@1371: +# Strip out --no-create and --no-recursion so they do not pile up. mgl@1371: +# Strip out --silent because we don't want to record it for future runs. mgl@1371: +# Also quote any args containing shell meta-characters. mgl@1371: +# Make two passes to allow for proper duplicate-argument suppression. mgl@1371: +ac_configure_args= mgl@1371: +ac_configure_args0= mgl@1371: +ac_configure_args1= mgl@1371: +ac_must_keep_next=false mgl@1371: +for ac_pass in 1 2 mgl@1371: +do mgl@1371: + for ac_arg mgl@1371: + do mgl@1371: + case $ac_arg in mgl@1371: + -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; mgl@1371: + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ mgl@1371: + | -silent | --silent | --silen | --sile | --sil) mgl@1371: + continue ;; mgl@1371: + *\'*) mgl@1371: + ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; mgl@1371: + esac mgl@1371: + case $ac_pass in mgl@1371: + 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; mgl@1371: + 2) mgl@1371: + ac_configure_args1="$ac_configure_args1 '$ac_arg'" mgl@1371: + if test $ac_must_keep_next = true; then mgl@1371: + ac_must_keep_next=false # Got value, back to normal. mgl@1371: + else mgl@1371: + case $ac_arg in mgl@1371: + *=* | --config-cache | -C | -disable-* | --disable-* \ mgl@1371: + | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ mgl@1371: + | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ mgl@1371: + | -with-* | --with-* | -without-* | --without-* | --x) mgl@1371: + case "$ac_configure_args0 " in mgl@1371: + "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; mgl@1371: + esac mgl@1371: + ;; mgl@1371: + -* ) ac_must_keep_next=true ;; mgl@1371: + esac mgl@1371: + fi mgl@1371: + ac_configure_args="$ac_configure_args '$ac_arg'" mgl@1371: + ;; mgl@1371: + esac mgl@1371: + done mgl@1371: +done mgl@1371: +$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } mgl@1371: +$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } mgl@1371: + mgl@1371: +# When interrupted or exit'd, cleanup temporary files, and complete mgl@1371: +# config.log. We remove comments because anyway the quotes in there mgl@1371: +# would cause problems or look ugly. mgl@1371: +# WARNING: Use '\'' to represent an apostrophe within the trap. mgl@1371: +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. mgl@1371: +trap 'exit_status=$? mgl@1371: + # Save into config.log some information that might help in debugging. mgl@1371: + { mgl@1371: + echo mgl@1371: + mgl@1371: + cat <<\_ASBOX mgl@1371: +## ---------------- ## mgl@1371: +## Cache variables. ## mgl@1371: +## ---------------- ## mgl@1371: +_ASBOX mgl@1371: + echo mgl@1371: + # The following way of writing the cache mishandles newlines in values, mgl@1371: +( mgl@1371: + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do mgl@1371: + eval ac_val=\$$ac_var mgl@1371: + case $ac_val in #( mgl@1371: + *${as_nl}*) mgl@1371: + case $ac_var in #( mgl@1371: + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 mgl@1371: +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; mgl@1371: + esac mgl@1371: + case $ac_var in #( mgl@1371: + _ | IFS | as_nl) ;; #( mgl@1371: + *) $as_unset $ac_var ;; mgl@1371: + esac ;; mgl@1371: + esac mgl@1371: + done mgl@1371: + (set) 2>&1 | mgl@1371: + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( mgl@1371: + *${as_nl}ac_space=\ *) mgl@1371: + sed -n \ mgl@1371: + "s/'\''/'\''\\\\'\'''\''/g; mgl@1371: + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" mgl@1371: + ;; #( mgl@1371: + *) mgl@1371: + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" mgl@1371: + ;; mgl@1371: + esac | mgl@1371: + sort mgl@1371: +) mgl@1371: + echo mgl@1371: + mgl@1371: + cat <<\_ASBOX mgl@1371: +## ----------------- ## mgl@1371: +## Output variables. ## mgl@1371: +## ----------------- ## mgl@1371: +_ASBOX mgl@1371: + echo mgl@1371: + for ac_var in $ac_subst_vars mgl@1371: + do mgl@1371: + eval ac_val=\$$ac_var mgl@1371: + case $ac_val in mgl@1371: + *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; mgl@1371: + esac mgl@1371: + echo "$ac_var='\''$ac_val'\''" mgl@1371: + done | sort mgl@1371: + echo mgl@1371: + mgl@1371: + if test -n "$ac_subst_files"; then mgl@1371: + cat <<\_ASBOX mgl@1371: +## ------------------- ## mgl@1371: +## File substitutions. ## mgl@1371: +## ------------------- ## mgl@1371: +_ASBOX mgl@1371: + echo mgl@1371: + for ac_var in $ac_subst_files mgl@1371: + do mgl@1371: + eval ac_val=\$$ac_var mgl@1371: + case $ac_val in mgl@1371: + *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; mgl@1371: + esac mgl@1371: + echo "$ac_var='\''$ac_val'\''" mgl@1371: + done | sort mgl@1371: + echo mgl@1371: + fi mgl@1371: + mgl@1371: + if test -s confdefs.h; then mgl@1371: + cat <<\_ASBOX mgl@1371: +## ----------- ## mgl@1371: +## confdefs.h. ## mgl@1371: +## ----------- ## mgl@1371: +_ASBOX mgl@1371: + echo mgl@1371: + cat confdefs.h mgl@1371: + echo mgl@1371: + fi mgl@1371: + test "$ac_signal" != 0 && mgl@1371: + echo "$as_me: caught signal $ac_signal" mgl@1371: + echo "$as_me: exit $exit_status" mgl@1371: + } >&5 mgl@1371: + rm -f core *.core core.conftest.* && mgl@1371: + rm -f -r conftest* confdefs* conf$$* $ac_clean_files && mgl@1371: + exit $exit_status mgl@1371: +' 0 mgl@1371: +for ac_signal in 1 2 13 15; do mgl@1371: + trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal mgl@1371: +done mgl@1371: +ac_signal=0 mgl@1371: + mgl@1371: +# confdefs.h avoids OS command line length limits that DEFS can exceed. mgl@1371: +rm -f -r conftest* confdefs.h mgl@1371: + mgl@1371: +# Predefined preprocessor variables. mgl@1371: + mgl@1371: +cat >>confdefs.h <<_ACEOF mgl@1371: +#define PACKAGE_NAME "$PACKAGE_NAME" mgl@1371: +_ACEOF mgl@1371: + mgl@1371: + mgl@1371: +cat >>confdefs.h <<_ACEOF mgl@1371: +#define PACKAGE_TARNAME "$PACKAGE_TARNAME" mgl@1371: +_ACEOF mgl@1371: + mgl@1371: + mgl@1371: +cat >>confdefs.h <<_ACEOF mgl@1371: +#define PACKAGE_VERSION "$PACKAGE_VERSION" mgl@1371: +_ACEOF mgl@1371: + mgl@1371: + mgl@1371: +cat >>confdefs.h <<_ACEOF mgl@1371: +#define PACKAGE_STRING "$PACKAGE_STRING" mgl@1371: +_ACEOF mgl@1371: + mgl@1371: + mgl@1371: +cat >>confdefs.h <<_ACEOF mgl@1371: +#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" mgl@1371: +_ACEOF mgl@1371: + mgl@1371: + mgl@1371: +# Let the site file select an alternate cache file if it wants to. mgl@1371: +# Prefer explicitly selected file to automatically selected ones. mgl@1371: +if test -n "$CONFIG_SITE"; then mgl@1371: + set x "$CONFIG_SITE" mgl@1371: +elif test "x$prefix" != xNONE; then mgl@1371: + set x "$prefix/share/config.site" "$prefix/etc/config.site" mgl@1371: +else mgl@1371: + set x "$ac_default_prefix/share/config.site" \ mgl@1371: + "$ac_default_prefix/etc/config.site" mgl@1371: +fi mgl@1371: +shift mgl@1371: +for ac_site_file mgl@1371: +do mgl@1371: + if test -r "$ac_site_file"; then mgl@1371: + { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 mgl@1371: +echo "$as_me: loading site script $ac_site_file" >&6;} mgl@1371: + sed 's/^/| /' "$ac_site_file" >&5 mgl@1371: + . "$ac_site_file" mgl@1371: + fi mgl@1371: +done mgl@1371: + mgl@1371: +if test -r "$cache_file"; then mgl@1371: + # Some versions of bash will fail to source /dev/null (special mgl@1371: + # files actually), so we avoid doing that. mgl@1371: + if test -f "$cache_file"; then mgl@1371: + { echo "$as_me:$LINENO: loading cache $cache_file" >&5 mgl@1371: +echo "$as_me: loading cache $cache_file" >&6;} mgl@1371: + case $cache_file in mgl@1371: + [\\/]* | ?:[\\/]* ) . "$cache_file";; mgl@1371: + *) . "./$cache_file";; mgl@1371: + esac mgl@1371: + fi mgl@1371: +else mgl@1371: + { echo "$as_me:$LINENO: creating cache $cache_file" >&5 mgl@1371: +echo "$as_me: creating cache $cache_file" >&6;} mgl@1371: + >$cache_file mgl@1371: +fi mgl@1371: + mgl@1371: +# Check that the precious variables saved in the cache have kept the same mgl@1371: +# value. mgl@1371: +ac_cache_corrupted=false mgl@1371: +for ac_var in $ac_precious_vars; do mgl@1371: + eval ac_old_set=\$ac_cv_env_${ac_var}_set mgl@1371: + eval ac_new_set=\$ac_env_${ac_var}_set mgl@1371: + eval ac_old_val=\$ac_cv_env_${ac_var}_value mgl@1371: + eval ac_new_val=\$ac_env_${ac_var}_value mgl@1371: + case $ac_old_set,$ac_new_set in mgl@1371: + set,) mgl@1371: + { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 mgl@1371: +echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} mgl@1371: + ac_cache_corrupted=: ;; mgl@1371: + ,set) mgl@1371: + { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 mgl@1371: +echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} mgl@1371: + ac_cache_corrupted=: ;; mgl@1371: + ,);; mgl@1371: + *) mgl@1371: + if test "x$ac_old_val" != "x$ac_new_val"; then mgl@1371: + { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 mgl@1371: +echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} mgl@1371: + { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 mgl@1371: +echo "$as_me: former value: $ac_old_val" >&2;} mgl@1371: + { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 mgl@1371: +echo "$as_me: current value: $ac_new_val" >&2;} mgl@1371: + ac_cache_corrupted=: mgl@1371: + fi;; mgl@1371: + esac mgl@1371: + # Pass precious variables to config.status. mgl@1371: + if test "$ac_new_set" = set; then mgl@1371: + case $ac_new_val in mgl@1371: + *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; mgl@1371: + *) ac_arg=$ac_var=$ac_new_val ;; mgl@1371: + esac mgl@1371: + case " $ac_configure_args " in mgl@1371: + *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. mgl@1371: + *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; mgl@1371: + esac mgl@1371: + fi mgl@1371: +done mgl@1371: +if $ac_cache_corrupted; then mgl@1371: + { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 mgl@1371: +echo "$as_me: error: changes in the environment can compromise the build" >&2;} mgl@1371: + { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 mgl@1371: +echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} mgl@1371: + { (exit 1); exit 1; }; } mgl@1371: +fi mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: +ac_ext=c mgl@1371: +ac_cpp='$CPP $CPPFLAGS' mgl@1371: +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' mgl@1371: +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' mgl@1371: +ac_compiler_gnu=$ac_cv_c_compiler_gnu mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: +ac_aux_dir= mgl@1371: +for ac_dir in ../../../.. "$srcdir"/../../../..; do mgl@1371: + if test -f "$ac_dir/install-sh"; then mgl@1371: + ac_aux_dir=$ac_dir mgl@1371: + ac_install_sh="$ac_aux_dir/install-sh -c" mgl@1371: + break mgl@1371: + elif test -f "$ac_dir/install.sh"; then mgl@1371: + ac_aux_dir=$ac_dir mgl@1371: + ac_install_sh="$ac_aux_dir/install.sh -c" mgl@1371: + break mgl@1371: + elif test -f "$ac_dir/shtool"; then mgl@1371: + ac_aux_dir=$ac_dir mgl@1371: + ac_install_sh="$ac_aux_dir/shtool install -c" mgl@1371: + break mgl@1371: + fi mgl@1371: +done mgl@1371: +if test -z "$ac_aux_dir"; then mgl@1371: + { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ../../../.. \"$srcdir\"/../../../.." >&5 mgl@1371: +echo "$as_me: error: cannot find install-sh or install.sh in ../../../.. \"$srcdir\"/../../../.." >&2;} mgl@1371: + { (exit 1); exit 1; }; } mgl@1371: +fi mgl@1371: + mgl@1371: +# These three variables are undocumented and unsupported, mgl@1371: +# and are intended to be withdrawn in a future Autoconf release. mgl@1371: +# They can cause serious problems if a builder's source tree is in a directory mgl@1371: +# whose full name contains unusual characters. mgl@1371: +ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. mgl@1371: +ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. mgl@1371: +ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: +# Make sure we can run config.sub. mgl@1371: +$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || mgl@1371: + { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 mgl@1371: +echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} mgl@1371: + { (exit 1); exit 1; }; } mgl@1371: + mgl@1371: +{ echo "$as_me:$LINENO: checking build system type" >&5 mgl@1371: +echo $ECHO_N "checking build system type... $ECHO_C" >&6; } mgl@1371: +if test "${ac_cv_build+set}" = set; then mgl@1371: + echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: +else mgl@1371: + ac_build_alias=$build_alias mgl@1371: +test "x$ac_build_alias" = x && mgl@1371: + ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` mgl@1371: +test "x$ac_build_alias" = x && mgl@1371: + { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 mgl@1371: +echo "$as_me: error: cannot guess build type; you must specify one" >&2;} mgl@1371: + { (exit 1); exit 1; }; } mgl@1371: +ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || mgl@1371: + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 mgl@1371: +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} mgl@1371: + { (exit 1); exit 1; }; } mgl@1371: + mgl@1371: +fi mgl@1371: +{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5 mgl@1371: +echo "${ECHO_T}$ac_cv_build" >&6; } mgl@1371: +case $ac_cv_build in mgl@1371: +*-*-*) ;; mgl@1371: +*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 mgl@1371: +echo "$as_me: error: invalid value of canonical build" >&2;} mgl@1371: + { (exit 1); exit 1; }; };; mgl@1371: +esac mgl@1371: +build=$ac_cv_build mgl@1371: +ac_save_IFS=$IFS; IFS='-' mgl@1371: +set x $ac_cv_build mgl@1371: +shift mgl@1371: +build_cpu=$1 mgl@1371: +build_vendor=$2 mgl@1371: +shift; shift mgl@1371: +# Remember, the first character of IFS is used to create $*, mgl@1371: +# except with old shells: mgl@1371: +build_os=$* mgl@1371: +IFS=$ac_save_IFS mgl@1371: +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac mgl@1371: + mgl@1371: + mgl@1371: +{ echo "$as_me:$LINENO: checking host system type" >&5 mgl@1371: +echo $ECHO_N "checking host system type... $ECHO_C" >&6; } mgl@1371: +if test "${ac_cv_host+set}" = set; then mgl@1371: + echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: +else mgl@1371: + if test "x$host_alias" = x; then mgl@1371: + ac_cv_host=$ac_cv_build mgl@1371: +else mgl@1371: + ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || mgl@1371: + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 mgl@1371: +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} mgl@1371: + { (exit 1); exit 1; }; } mgl@1371: +fi mgl@1371: + mgl@1371: +fi mgl@1371: +{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5 mgl@1371: +echo "${ECHO_T}$ac_cv_host" >&6; } mgl@1371: +case $ac_cv_host in mgl@1371: +*-*-*) ;; mgl@1371: +*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 mgl@1371: +echo "$as_me: error: invalid value of canonical host" >&2;} mgl@1371: + { (exit 1); exit 1; }; };; mgl@1371: +esac mgl@1371: +host=$ac_cv_host mgl@1371: +ac_save_IFS=$IFS; IFS='-' mgl@1371: +set x $ac_cv_host mgl@1371: +shift mgl@1371: +host_cpu=$1 mgl@1371: +host_vendor=$2 mgl@1371: +shift; shift mgl@1371: +# Remember, the first character of IFS is used to create $*, mgl@1371: +# except with old shells: mgl@1371: +host_os=$* mgl@1371: +IFS=$ac_save_IFS mgl@1371: +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac mgl@1371: + mgl@1371: + mgl@1371: +am__api_version="1.4" mgl@1371: +# Find a good install program. We prefer a C program (faster), mgl@1371: +# so one script is as good as another. But avoid the broken or mgl@1371: +# incompatible versions: mgl@1371: +# SysV /etc/install, /usr/sbin/install mgl@1371: +# SunOS /usr/etc/install mgl@1371: +# IRIX /sbin/install mgl@1371: +# AIX /bin/install mgl@1371: +# AmigaOS /C/install, which installs bootblocks on floppy discs mgl@1371: +# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag mgl@1371: +# AFS /usr/afsws/bin/install, which mishandles nonexistent args mgl@1371: +# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" mgl@1371: +# OS/2's system install, which has a completely different semantic mgl@1371: +# ./install, which can be erroneously created by make from ./install.sh. mgl@1371: +{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 mgl@1371: +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } mgl@1371: +if test -z "$INSTALL"; then mgl@1371: +if test "${ac_cv_path_install+set}" = set; then mgl@1371: + echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: +else mgl@1371: + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR mgl@1371: +for as_dir in $PATH mgl@1371: +do mgl@1371: + IFS=$as_save_IFS mgl@1371: + test -z "$as_dir" && as_dir=. mgl@1371: + # Account for people who put trailing slashes in PATH elements. mgl@1371: +case $as_dir/ in mgl@1371: + ./ | .// | /cC/* | \ mgl@1371: + /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ mgl@1371: + ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ mgl@1371: + /usr/ucb/* ) ;; mgl@1371: + *) mgl@1371: + # OSF1 and SCO ODT 3.0 have their own names for install. mgl@1371: + # Don't use installbsd from OSF since it installs stuff as root mgl@1371: + # by default. mgl@1371: + for ac_prog in ginstall scoinst install; do mgl@1371: + for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then mgl@1371: + if test $ac_prog = install && mgl@1371: + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then mgl@1371: + # AIX install. It has an incompatible calling convention. mgl@1371: + : mgl@1371: + elif test $ac_prog = install && mgl@1371: + grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then mgl@1371: + # program-specific install script used by HP pwplus--don't use. mgl@1371: + : mgl@1371: + else mgl@1371: + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" mgl@1371: + break 3 mgl@1371: + fi mgl@1371: + fi mgl@1371: + done mgl@1371: + done mgl@1371: + ;; mgl@1371: +esac mgl@1371: +done mgl@1371: +IFS=$as_save_IFS mgl@1371: + mgl@1371: + mgl@1371: +fi mgl@1371: + if test "${ac_cv_path_install+set}" = set; then mgl@1371: + INSTALL=$ac_cv_path_install mgl@1371: + else mgl@1371: + # As a last resort, use the slow shell script. Don't cache a mgl@1371: + # value for INSTALL within a source directory, because that will mgl@1371: + # break other packages using the cache if that directory is mgl@1371: + # removed, or if the value is a relative name. mgl@1371: + INSTALL=$ac_install_sh mgl@1371: + fi mgl@1371: +fi mgl@1371: +{ echo "$as_me:$LINENO: result: $INSTALL" >&5 mgl@1371: +echo "${ECHO_T}$INSTALL" >&6; } mgl@1371: + mgl@1371: +# Use test -z because SunOS4 sh mishandles braces in ${var-val}. mgl@1371: +# It thinks the first close brace ends the variable substitution. mgl@1371: +test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' mgl@1371: + mgl@1371: +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' mgl@1371: + mgl@1371: +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' mgl@1371: + mgl@1371: +{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5 mgl@1371: +echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; } mgl@1371: +# Just in case mgl@1371: +sleep 1 mgl@1371: +echo timestamp > conftestfile mgl@1371: +# Do `set' in a subshell so we don't clobber the current shell's mgl@1371: +# arguments. Must try -L first in case configure is actually a mgl@1371: +# symlink; some systems play weird games with the mod time of symlinks mgl@1371: +# (eg FreeBSD returns the mod time of the symlink's containing mgl@1371: +# directory). mgl@1371: +if ( mgl@1371: + set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null` mgl@1371: + if test "$*" = "X"; then mgl@1371: + # -L didn't work. mgl@1371: + set X `ls -t $srcdir/configure conftestfile` mgl@1371: + fi mgl@1371: + if test "$*" != "X $srcdir/configure conftestfile" \ mgl@1371: + && test "$*" != "X conftestfile $srcdir/configure"; then mgl@1371: + mgl@1371: + # If neither matched, then we have a broken ls. This can happen mgl@1371: + # if, for instance, CONFIG_SHELL is bash and it inherits a mgl@1371: + # broken ls alias from the environment. This has actually mgl@1371: + # happened. Such a system could not be considered "sane". mgl@1371: + { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken mgl@1371: +alias in your environment" >&5 mgl@1371: +echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken mgl@1371: +alias in your environment" >&2;} mgl@1371: + { (exit 1); exit 1; }; } mgl@1371: + fi mgl@1371: + mgl@1371: + test "$2" = conftestfile mgl@1371: + ) mgl@1371: +then mgl@1371: + # Ok. mgl@1371: + : mgl@1371: +else mgl@1371: + { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! mgl@1371: +Check your system clock" >&5 mgl@1371: +echo "$as_me: error: newly created file is older than distributed files! mgl@1371: +Check your system clock" >&2;} mgl@1371: + { (exit 1); exit 1; }; } mgl@1371: +fi mgl@1371: +rm -f conftest* mgl@1371: +{ echo "$as_me:$LINENO: result: yes" >&5 mgl@1371: +echo "${ECHO_T}yes" >&6; } mgl@1371: +test "$program_prefix" != NONE && mgl@1371: + program_transform_name="s&^&$program_prefix&;$program_transform_name" mgl@1371: +# Use a double $ so make ignores it. mgl@1371: +test "$program_suffix" != NONE && mgl@1371: + program_transform_name="s&\$&$program_suffix&;$program_transform_name" mgl@1371: +# Double any \ or $. echo might interpret backslashes. mgl@1371: +# By default was `s,x,x', remove it if useless. mgl@1371: +cat <<\_ACEOF >conftest.sed mgl@1371: +s/[\\$]/&&/g;s/;s,x,x,$// mgl@1371: +_ACEOF mgl@1371: +program_transform_name=`echo $program_transform_name | sed -f conftest.sed` mgl@1371: +rm -f conftest.sed mgl@1371: + mgl@1371: +{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 mgl@1371: +echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } mgl@1371: +set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` mgl@1371: +if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then mgl@1371: + echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: +else mgl@1371: + cat >conftest.make <<\_ACEOF mgl@1371: +SHELL = /bin/sh mgl@1371: +all: mgl@1371: + @echo '@@@%%%=$(MAKE)=@@@%%%' mgl@1371: +_ACEOF mgl@1371: +# GNU make sometimes prints "make[1]: Entering...", which would confuse us. mgl@1371: +case `${MAKE-make} -f conftest.make 2>/dev/null` in mgl@1371: + *@@@%%%=?*=@@@%%%*) mgl@1371: + eval ac_cv_prog_make_${ac_make}_set=yes;; mgl@1371: + *) mgl@1371: + eval ac_cv_prog_make_${ac_make}_set=no;; mgl@1371: +esac mgl@1371: +rm -f conftest.make mgl@1371: +fi mgl@1371: +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then mgl@1371: + { echo "$as_me:$LINENO: result: yes" >&5 mgl@1371: +echo "${ECHO_T}yes" >&6; } mgl@1371: + SET_MAKE= mgl@1371: +else mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: + SET_MAKE="MAKE=${MAKE-make}" mgl@1371: +fi mgl@1371: + mgl@1371: + mgl@1371: +# Check whether --enable-multilib was given. mgl@1371: +if test "${enable_multilib+set}" = set; then mgl@1371: + enableval=$enable_multilib; case "${enableval}" in mgl@1371: + yes) multilib=yes ;; mgl@1371: + no) multilib=no ;; mgl@1371: + *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for multilib option" >&5 mgl@1371: +echo "$as_me: error: bad value ${enableval} for multilib option" >&2;} mgl@1371: + { (exit 1); exit 1; }; } ;; mgl@1371: + esac mgl@1371: +else mgl@1371: + multilib=yes mgl@1371: +fi mgl@1371: + mgl@1371: +# Check whether --enable-target-optspace was given. mgl@1371: +if test "${enable_target_optspace+set}" = set; then mgl@1371: + enableval=$enable_target_optspace; case "${enableval}" in mgl@1371: + yes) target_optspace=yes ;; mgl@1371: + no) target_optspace=no ;; mgl@1371: + *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for target-optspace option" >&5 mgl@1371: +echo "$as_me: error: bad value ${enableval} for target-optspace option" >&2;} mgl@1371: + { (exit 1); exit 1; }; } ;; mgl@1371: + esac mgl@1371: +else mgl@1371: + target_optspace= mgl@1371: +fi mgl@1371: + mgl@1371: +# Check whether --enable-malloc-debugging was given. mgl@1371: +if test "${enable_malloc_debugging+set}" = set; then mgl@1371: + enableval=$enable_malloc_debugging; case "${enableval}" in mgl@1371: + yes) malloc_debugging=yes ;; mgl@1371: + no) malloc_debugging=no ;; mgl@1371: + *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for malloc-debugging option" >&5 mgl@1371: +echo "$as_me: error: bad value ${enableval} for malloc-debugging option" >&2;} mgl@1371: + { (exit 1); exit 1; }; } ;; mgl@1371: + esac mgl@1371: +else mgl@1371: + malloc_debugging= mgl@1371: +fi mgl@1371: + mgl@1371: +# Check whether --enable-newlib-mb was given. mgl@1371: +if test "${enable_newlib_mb+set}" = set; then mgl@1371: + enableval=$enable_newlib_mb; case "${enableval}" in mgl@1371: + yes) newlib_mb=yes ;; mgl@1371: + no) newlib_mb=no ;; mgl@1371: + *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-mb option" >&5 mgl@1371: +echo "$as_me: error: bad value ${enableval} for newlib-mb option" >&2;} mgl@1371: + { (exit 1); exit 1; }; } ;; mgl@1371: + esac mgl@1371: +else mgl@1371: + newlib_mb= mgl@1371: +fi mgl@1371: + mgl@1371: +# Check whether --enable-newlib-iconv was given. mgl@1371: +if test "${enable_newlib_iconv+set}" = set; then mgl@1371: + enableval=$enable_newlib_iconv; case "${enableval}" in mgl@1371: + yes) newlib_iconv=yes ;; mgl@1371: + no) newlib_iconv=no ;; mgl@1371: + *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-iconv option" >&5 mgl@1371: +echo "$as_me: error: bad value ${enableval} for newlib-iconv option" >&2;} mgl@1371: + { (exit 1); exit 1; }; } ;; mgl@1371: + esac mgl@1371: +else mgl@1371: + newlib_iconv= mgl@1371: +fi mgl@1371: + mgl@1371: +# Check whether --enable-newlib-builtin-converters was given. mgl@1371: +if test "${enable_newlib_builtin_converters+set}" = set; then mgl@1371: + enableval=$enable_newlib_builtin_converters; if test x${enableval} = x; then mgl@1371: + { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-builtin-converters option - use comma-separated list" >&5 mgl@1371: +echo "$as_me: error: bad value ${enableval} for newlib-builtin-converters option - use comma-separated list" >&2;} mgl@1371: + { (exit 1); exit 1; }; } mgl@1371: + fi mgl@1371: + builtin_converters=${enableval} mgl@1371: + mgl@1371: +else mgl@1371: + builtin_converters= mgl@1371: +fi mgl@1371: + mgl@1371: +# Check whether --enable-newlib-multithread was given. mgl@1371: +if test "${enable_newlib_multithread+set}" = set; then mgl@1371: + enableval=$enable_newlib_multithread; case "${enableval}" in mgl@1371: + yes) newlib_multithread=yes ;; mgl@1371: + no) newlib_multithread=no ;; mgl@1371: + *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-multithread option" >&5 mgl@1371: +echo "$as_me: error: bad value ${enableval} for newlib-multithread option" >&2;} mgl@1371: + { (exit 1); exit 1; }; } ;; mgl@1371: + esac mgl@1371: +else mgl@1371: + newlib_multithread=yes mgl@1371: +fi mgl@1371: + mgl@1371: +# Check whether --enable-newlib-elix-level was given. mgl@1371: +if test "${enable_newlib_elix_level+set}" = set; then mgl@1371: + enableval=$enable_newlib_elix_level; case "${enableval}" in mgl@1371: + 0) newlib_elix_level=0 ;; mgl@1371: + 1) newlib_elix_level=1 ;; mgl@1371: + 2) newlib_elix_level=2 ;; mgl@1371: + 3) newlib_elix_level=3 ;; mgl@1371: + 4) newlib_elix_level=4 ;; mgl@1371: + *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-elix-level option" >&5 mgl@1371: +echo "$as_me: error: bad value ${enableval} for newlib-elix-level option" >&2;} mgl@1371: + { (exit 1); exit 1; }; } ;; mgl@1371: + esac mgl@1371: +else mgl@1371: + newlib_elix_level=0 mgl@1371: +fi mgl@1371: + mgl@1371: +# Check whether --enable-newlib-io-float was given. mgl@1371: +if test "${enable_newlib_io_float+set}" = set; then mgl@1371: + enableval=$enable_newlib_io_float; case "${enableval}" in mgl@1371: + yes) newlib_io_float=yes ;; mgl@1371: + no) newlib_io_float=no ;; mgl@1371: + *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-io-float option" >&5 mgl@1371: +echo "$as_me: error: bad value ${enableval} for newlib-io-float option" >&2;} mgl@1371: + { (exit 1); exit 1; }; } ;; mgl@1371: + esac mgl@1371: +else mgl@1371: + newlib_io_float=yes mgl@1371: +fi mgl@1371: + mgl@1371: +# Check whether --enable-newlib-supplied-syscalls was given. mgl@1371: +if test "${enable_newlib_supplied_syscalls+set}" = set; then mgl@1371: + enableval=$enable_newlib_supplied_syscalls; case "${enableval}" in mgl@1371: + yes) newlib_may_supply_syscalls=yes ;; mgl@1371: + no) newlib_may_supply_syscalls=no ;; mgl@1371: + *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-supplied-syscalls option" >&5 mgl@1371: +echo "$as_me: error: bad value ${enableval} for newlib-supplied-syscalls option" >&2;} mgl@1371: + { (exit 1); exit 1; }; } ;; mgl@1371: + esac mgl@1371: +else mgl@1371: + newlib_may_supply_syscalls=yes mgl@1371: +fi mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: +if test x${newlib_may_supply_syscalls} = xyes; then mgl@1371: + MAY_SUPPLY_SYSCALLS_TRUE= mgl@1371: + MAY_SUPPLY_SYSCALLS_FALSE='#' mgl@1371: +else mgl@1371: + MAY_SUPPLY_SYSCALLS_TRUE='#' mgl@1371: + MAY_SUPPLY_SYSCALLS_FALSE= mgl@1371: +fi mgl@1371: + mgl@1371: + mgl@1371: +test -z "${with_target_subdir}" && with_target_subdir=. mgl@1371: + mgl@1371: +if test "${srcdir}" = "."; then mgl@1371: + if test "${with_target_subdir}" != "."; then mgl@1371: + newlib_basedir="${srcdir}/${with_multisrctop}../../../.." mgl@1371: + else mgl@1371: + newlib_basedir="${srcdir}/${with_multisrctop}../../.." mgl@1371: + fi mgl@1371: +else mgl@1371: + newlib_basedir="${srcdir}/../../.." mgl@1371: +fi mgl@1371: + mgl@1371: + mgl@1371: +{ echo "$as_me:$LINENO: checking target system type" >&5 mgl@1371: +echo $ECHO_N "checking target system type... $ECHO_C" >&6; } mgl@1371: +if test "${ac_cv_target+set}" = set; then mgl@1371: + echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: +else mgl@1371: + if test "x$target_alias" = x; then mgl@1371: + ac_cv_target=$ac_cv_host mgl@1371: +else mgl@1371: + ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || mgl@1371: + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5 mgl@1371: +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;} mgl@1371: + { (exit 1); exit 1; }; } mgl@1371: +fi mgl@1371: + mgl@1371: +fi mgl@1371: +{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5 mgl@1371: +echo "${ECHO_T}$ac_cv_target" >&6; } mgl@1371: +case $ac_cv_target in mgl@1371: +*-*-*) ;; mgl@1371: +*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5 mgl@1371: +echo "$as_me: error: invalid value of canonical target" >&2;} mgl@1371: + { (exit 1); exit 1; }; };; mgl@1371: +esac mgl@1371: +target=$ac_cv_target mgl@1371: +ac_save_IFS=$IFS; IFS='-' mgl@1371: +set x $ac_cv_target mgl@1371: +shift mgl@1371: +target_cpu=$1 mgl@1371: +target_vendor=$2 mgl@1371: +shift; shift mgl@1371: +# Remember, the first character of IFS is used to create $*, mgl@1371: +# except with old shells: mgl@1371: +target_os=$* mgl@1371: +IFS=$ac_save_IFS mgl@1371: +case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac mgl@1371: + mgl@1371: + mgl@1371: +# The aliases save the names the user supplied, while $host etc. mgl@1371: +# will get canonicalized. mgl@1371: +test -n "$target_alias" && mgl@1371: + test "$program_prefix$program_suffix$program_transform_name" = \ mgl@1371: + NONENONEs,x,x, && mgl@1371: + program_prefix=${target_alias}- mgl@1371: + mgl@1371: + mgl@1371: +PACKAGE=newlib mgl@1371: + mgl@1371: +VERSION=1.12.0 mgl@1371: + mgl@1371: +if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then mgl@1371: + { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 mgl@1371: +echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} mgl@1371: + { (exit 1); exit 1; }; } mgl@1371: +fi mgl@1371: + mgl@1371: +cat >>confdefs.h <<_ACEOF mgl@1371: +#define PACKAGE "$PACKAGE" mgl@1371: +_ACEOF mgl@1371: + mgl@1371: + mgl@1371: +cat >>confdefs.h <<_ACEOF mgl@1371: +#define VERSION "$VERSION" mgl@1371: +_ACEOF mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: +missing_dir=`cd $ac_aux_dir && pwd` mgl@1371: +{ echo "$as_me:$LINENO: checking for working aclocal-${am__api_version}" >&5 mgl@1371: +echo $ECHO_N "checking for working aclocal-${am__api_version}... $ECHO_C" >&6; } mgl@1371: +# Run test in a subshell; some versions of sh will print an error if mgl@1371: +# an executable is not found, even if stderr is redirected. mgl@1371: +# Redirect stdin to placate older versions of autoconf. Sigh. mgl@1371: +if (aclocal-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then mgl@1371: + ACLOCAL=aclocal-${am__api_version} mgl@1371: + { echo "$as_me:$LINENO: result: found" >&5 mgl@1371: +echo "${ECHO_T}found" >&6; } mgl@1371: +else mgl@1371: + ACLOCAL="$missing_dir/missing aclocal-${am__api_version}" mgl@1371: + { echo "$as_me:$LINENO: result: missing" >&5 mgl@1371: +echo "${ECHO_T}missing" >&6; } mgl@1371: +fi mgl@1371: + mgl@1371: +{ echo "$as_me:$LINENO: checking for working autoconf" >&5 mgl@1371: +echo $ECHO_N "checking for working autoconf... $ECHO_C" >&6; } mgl@1371: +# Run test in a subshell; some versions of sh will print an error if mgl@1371: +# an executable is not found, even if stderr is redirected. mgl@1371: +# Redirect stdin to placate older versions of autoconf. Sigh. mgl@1371: +if (autoconf --version) < /dev/null > /dev/null 2>&1; then mgl@1371: + AUTOCONF=autoconf mgl@1371: + { echo "$as_me:$LINENO: result: found" >&5 mgl@1371: +echo "${ECHO_T}found" >&6; } mgl@1371: +else mgl@1371: + AUTOCONF="$missing_dir/missing autoconf" mgl@1371: + { echo "$as_me:$LINENO: result: missing" >&5 mgl@1371: +echo "${ECHO_T}missing" >&6; } mgl@1371: +fi mgl@1371: + mgl@1371: +{ echo "$as_me:$LINENO: checking for working automake-${am__api_version}" >&5 mgl@1371: +echo $ECHO_N "checking for working automake-${am__api_version}... $ECHO_C" >&6; } mgl@1371: +# Run test in a subshell; some versions of sh will print an error if mgl@1371: +# an executable is not found, even if stderr is redirected. mgl@1371: +# Redirect stdin to placate older versions of autoconf. Sigh. mgl@1371: +if (automake-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then mgl@1371: + AUTOMAKE=automake-${am__api_version} mgl@1371: + { echo "$as_me:$LINENO: result: found" >&5 mgl@1371: +echo "${ECHO_T}found" >&6; } mgl@1371: +else mgl@1371: + AUTOMAKE="$missing_dir/missing automake-${am__api_version}" mgl@1371: + { echo "$as_me:$LINENO: result: missing" >&5 mgl@1371: +echo "${ECHO_T}missing" >&6; } mgl@1371: +fi mgl@1371: + mgl@1371: +{ echo "$as_me:$LINENO: checking for working autoheader" >&5 mgl@1371: +echo $ECHO_N "checking for working autoheader... $ECHO_C" >&6; } mgl@1371: +# Run test in a subshell; some versions of sh will print an error if mgl@1371: +# an executable is not found, even if stderr is redirected. mgl@1371: +# Redirect stdin to placate older versions of autoconf. Sigh. mgl@1371: +if (autoheader --version) < /dev/null > /dev/null 2>&1; then mgl@1371: + AUTOHEADER=autoheader mgl@1371: + { echo "$as_me:$LINENO: result: found" >&5 mgl@1371: +echo "${ECHO_T}found" >&6; } mgl@1371: +else mgl@1371: + AUTOHEADER="$missing_dir/missing autoheader" mgl@1371: + { echo "$as_me:$LINENO: result: missing" >&5 mgl@1371: +echo "${ECHO_T}missing" >&6; } mgl@1371: +fi mgl@1371: + mgl@1371: +{ echo "$as_me:$LINENO: checking for working makeinfo" >&5 mgl@1371: +echo $ECHO_N "checking for working makeinfo... $ECHO_C" >&6; } mgl@1371: +# Run test in a subshell; some versions of sh will print an error if mgl@1371: +# an executable is not found, even if stderr is redirected. mgl@1371: +# Redirect stdin to placate older versions of autoconf. Sigh. mgl@1371: +if (makeinfo --version) < /dev/null > /dev/null 2>&1; then mgl@1371: + MAKEINFO=makeinfo mgl@1371: + { echo "$as_me:$LINENO: result: found" >&5 mgl@1371: +echo "${ECHO_T}found" >&6; } mgl@1371: +else mgl@1371: + MAKEINFO="$missing_dir/missing makeinfo" mgl@1371: + { echo "$as_me:$LINENO: result: missing" >&5 mgl@1371: +echo "${ECHO_T}missing" >&6; } mgl@1371: +fi mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: +# FIXME: We temporarily define our own version of AC_PROG_CC. This is mgl@1371: +# copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We mgl@1371: +# are probably using a cross compiler, which will not be able to fully mgl@1371: +# link an executable. This should really be fixed in autoconf mgl@1371: +# itself. mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: +# Extract the first word of "gcc", so it can be a program name with args. mgl@1371: +set dummy gcc; ac_word=$2 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: +if test "${ac_cv_prog_CC+set}" = set; then mgl@1371: + echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: +else mgl@1371: + if test -n "$CC"; then mgl@1371: + ac_cv_prog_CC="$CC" # Let the user override the test. mgl@1371: +else mgl@1371: +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR mgl@1371: +for as_dir in $PATH mgl@1371: +do mgl@1371: + IFS=$as_save_IFS mgl@1371: + test -z "$as_dir" && as_dir=. mgl@1371: + for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: + ac_cv_prog_CC="gcc" mgl@1371: + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: + break 2 mgl@1371: + fi mgl@1371: +done mgl@1371: +done mgl@1371: +IFS=$as_save_IFS mgl@1371: + mgl@1371: +fi mgl@1371: +fi mgl@1371: +CC=$ac_cv_prog_CC mgl@1371: +if test -n "$CC"; then mgl@1371: + { echo "$as_me:$LINENO: result: $CC" >&5 mgl@1371: +echo "${ECHO_T}$CC" >&6; } mgl@1371: +else mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: +fi mgl@1371: + mgl@1371: + mgl@1371: +if test -z "$CC"; then mgl@1371: + # Extract the first word of "cc", so it can be a program name with args. mgl@1371: +set dummy cc; ac_word=$2 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: +if test "${ac_cv_prog_CC+set}" = set; then mgl@1371: + echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: +else mgl@1371: + if test -n "$CC"; then mgl@1371: + ac_cv_prog_CC="$CC" # Let the user override the test. mgl@1371: +else mgl@1371: + ac_prog_rejected=no mgl@1371: +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR mgl@1371: +for as_dir in $PATH mgl@1371: +do mgl@1371: + IFS=$as_save_IFS mgl@1371: + test -z "$as_dir" && as_dir=. mgl@1371: + for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then mgl@1371: + ac_prog_rejected=yes mgl@1371: + continue mgl@1371: + fi mgl@1371: + ac_cv_prog_CC="cc" mgl@1371: + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: + break 2 mgl@1371: + fi mgl@1371: +done mgl@1371: +done mgl@1371: +IFS=$as_save_IFS mgl@1371: + mgl@1371: +if test $ac_prog_rejected = yes; then mgl@1371: + # We found a bogon in the path, so make sure we never use it. mgl@1371: + set dummy $ac_cv_prog_CC mgl@1371: + shift mgl@1371: + if test $# != 0; then mgl@1371: + # We chose a different compiler from the bogus one. mgl@1371: + # However, it has the same basename, so the bogon will be chosen mgl@1371: + # first if we set CC to just the basename; use the full file name. mgl@1371: + shift mgl@1371: + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" mgl@1371: + fi mgl@1371: +fi mgl@1371: +fi mgl@1371: +fi mgl@1371: +CC=$ac_cv_prog_CC mgl@1371: +if test -n "$CC"; then mgl@1371: + { echo "$as_me:$LINENO: result: $CC" >&5 mgl@1371: +echo "${ECHO_T}$CC" >&6; } mgl@1371: +else mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: +fi mgl@1371: + mgl@1371: + mgl@1371: + test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5 mgl@1371: +echo "$as_me: error: no acceptable cc found in \$PATH" >&2;} mgl@1371: + { (exit 1); exit 1; }; } mgl@1371: +fi mgl@1371: + mgl@1371: +#AC_PROG_CC_GNU mgl@1371: + mgl@1371: +if test $ac_cv_c_compiler_gnu = yes; then mgl@1371: + GCC=yes mgl@1371: + ac_test_CFLAGS="${CFLAGS+set}" mgl@1371: + ac_save_CFLAGS="$CFLAGS" mgl@1371: + CFLAGS= mgl@1371: +# AC_PROG_CC_G mgl@1371: + if test "$ac_test_CFLAGS" = set; then mgl@1371: + CFLAGS="$ac_save_CFLAGS" mgl@1371: + elif test $ac_cv_prog_cc_g = yes; then mgl@1371: + CFLAGS="-g -O2" mgl@1371: + else mgl@1371: + CFLAGS="-O2" mgl@1371: + fi mgl@1371: +else mgl@1371: + GCC= mgl@1371: + test "${CFLAGS+set}" = set || CFLAGS="-g" mgl@1371: +fi mgl@1371: + mgl@1371: + mgl@1371: +if test -n "$ac_tool_prefix"; then mgl@1371: + # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. mgl@1371: +set dummy ${ac_tool_prefix}as; ac_word=$2 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: +if test "${ac_cv_prog_AS+set}" = set; then mgl@1371: + echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: +else mgl@1371: + if test -n "$AS"; then mgl@1371: + ac_cv_prog_AS="$AS" # Let the user override the test. mgl@1371: +else mgl@1371: +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR mgl@1371: +for as_dir in $PATH mgl@1371: +do mgl@1371: + IFS=$as_save_IFS mgl@1371: + test -z "$as_dir" && as_dir=. mgl@1371: + for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: + ac_cv_prog_AS="${ac_tool_prefix}as" mgl@1371: + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: + break 2 mgl@1371: + fi mgl@1371: +done mgl@1371: +done mgl@1371: +IFS=$as_save_IFS mgl@1371: + mgl@1371: +fi mgl@1371: +fi mgl@1371: +AS=$ac_cv_prog_AS mgl@1371: +if test -n "$AS"; then mgl@1371: + { echo "$as_me:$LINENO: result: $AS" >&5 mgl@1371: +echo "${ECHO_T}$AS" >&6; } mgl@1371: +else mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: +fi mgl@1371: + mgl@1371: + mgl@1371: +fi mgl@1371: +if test -z "$ac_cv_prog_AS"; then mgl@1371: + ac_ct_AS=$AS mgl@1371: + # Extract the first word of "as", so it can be a program name with args. mgl@1371: +set dummy as; ac_word=$2 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: +if test "${ac_cv_prog_ac_ct_AS+set}" = set; then mgl@1371: + echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: +else mgl@1371: + if test -n "$ac_ct_AS"; then mgl@1371: + ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test. mgl@1371: +else mgl@1371: +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR mgl@1371: +for as_dir in $PATH mgl@1371: +do mgl@1371: + IFS=$as_save_IFS mgl@1371: + test -z "$as_dir" && as_dir=. mgl@1371: + for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: + ac_cv_prog_ac_ct_AS="as" mgl@1371: + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: + break 2 mgl@1371: + fi mgl@1371: +done mgl@1371: +done mgl@1371: +IFS=$as_save_IFS mgl@1371: + mgl@1371: +fi mgl@1371: +fi mgl@1371: +ac_ct_AS=$ac_cv_prog_ac_ct_AS mgl@1371: +if test -n "$ac_ct_AS"; then mgl@1371: + { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5 mgl@1371: +echo "${ECHO_T}$ac_ct_AS" >&6; } mgl@1371: +else mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: +fi mgl@1371: + mgl@1371: + if test "x$ac_ct_AS" = x; then mgl@1371: + AS="" mgl@1371: + else mgl@1371: + case $cross_compiling:$ac_tool_warned in mgl@1371: +yes:) mgl@1371: +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools mgl@1371: +whose name does not start with the host triplet. If you think this mgl@1371: +configuration is useful to you, please write to autoconf@gnu.org." >&5 mgl@1371: +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools mgl@1371: +whose name does not start with the host triplet. If you think this mgl@1371: +configuration is useful to you, please write to autoconf@gnu.org." >&2;} mgl@1371: +ac_tool_warned=yes ;; mgl@1371: +esac mgl@1371: + AS=$ac_ct_AS mgl@1371: + fi mgl@1371: +else mgl@1371: + AS="$ac_cv_prog_AS" mgl@1371: +fi mgl@1371: + mgl@1371: +if test -n "$ac_tool_prefix"; then mgl@1371: + # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. mgl@1371: +set dummy ${ac_tool_prefix}ar; ac_word=$2 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: +if test "${ac_cv_prog_AR+set}" = set; then mgl@1371: + echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: +else mgl@1371: + if test -n "$AR"; then mgl@1371: + ac_cv_prog_AR="$AR" # Let the user override the test. mgl@1371: +else mgl@1371: +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR mgl@1371: +for as_dir in $PATH mgl@1371: +do mgl@1371: + IFS=$as_save_IFS mgl@1371: + test -z "$as_dir" && as_dir=. mgl@1371: + for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: + ac_cv_prog_AR="${ac_tool_prefix}ar" mgl@1371: + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: + break 2 mgl@1371: + fi mgl@1371: +done mgl@1371: +done mgl@1371: +IFS=$as_save_IFS mgl@1371: + mgl@1371: +fi mgl@1371: +fi mgl@1371: +AR=$ac_cv_prog_AR mgl@1371: +if test -n "$AR"; then mgl@1371: + { echo "$as_me:$LINENO: result: $AR" >&5 mgl@1371: +echo "${ECHO_T}$AR" >&6; } mgl@1371: +else mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: +fi mgl@1371: + mgl@1371: + mgl@1371: +fi mgl@1371: +if test -z "$ac_cv_prog_AR"; then mgl@1371: + ac_ct_AR=$AR mgl@1371: + # Extract the first word of "ar", so it can be a program name with args. mgl@1371: +set dummy ar; ac_word=$2 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: +if test "${ac_cv_prog_ac_ct_AR+set}" = set; then mgl@1371: + echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: +else mgl@1371: + if test -n "$ac_ct_AR"; then mgl@1371: + ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. mgl@1371: +else mgl@1371: +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR mgl@1371: +for as_dir in $PATH mgl@1371: +do mgl@1371: + IFS=$as_save_IFS mgl@1371: + test -z "$as_dir" && as_dir=. mgl@1371: + for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: + ac_cv_prog_ac_ct_AR="ar" mgl@1371: + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: + break 2 mgl@1371: + fi mgl@1371: +done mgl@1371: +done mgl@1371: +IFS=$as_save_IFS mgl@1371: + mgl@1371: +fi mgl@1371: +fi mgl@1371: +ac_ct_AR=$ac_cv_prog_ac_ct_AR mgl@1371: +if test -n "$ac_ct_AR"; then mgl@1371: + { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5 mgl@1371: +echo "${ECHO_T}$ac_ct_AR" >&6; } mgl@1371: +else mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: +fi mgl@1371: + mgl@1371: + if test "x$ac_ct_AR" = x; then mgl@1371: + AR="" mgl@1371: + else mgl@1371: + case $cross_compiling:$ac_tool_warned in mgl@1371: +yes:) mgl@1371: +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools mgl@1371: +whose name does not start with the host triplet. If you think this mgl@1371: +configuration is useful to you, please write to autoconf@gnu.org." >&5 mgl@1371: +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools mgl@1371: +whose name does not start with the host triplet. If you think this mgl@1371: +configuration is useful to you, please write to autoconf@gnu.org." >&2;} mgl@1371: +ac_tool_warned=yes ;; mgl@1371: +esac mgl@1371: + AR=$ac_ct_AR mgl@1371: + fi mgl@1371: +else mgl@1371: + AR="$ac_cv_prog_AR" mgl@1371: +fi mgl@1371: + mgl@1371: +if test -n "$ac_tool_prefix"; then mgl@1371: + # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. mgl@1371: +set dummy ${ac_tool_prefix}ranlib; ac_word=$2 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: +if test "${ac_cv_prog_RANLIB+set}" = set; then mgl@1371: + echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: +else mgl@1371: + if test -n "$RANLIB"; then mgl@1371: + ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. mgl@1371: +else mgl@1371: +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR mgl@1371: +for as_dir in $PATH mgl@1371: +do mgl@1371: + IFS=$as_save_IFS mgl@1371: + test -z "$as_dir" && as_dir=. mgl@1371: + for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: + ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" mgl@1371: + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: + break 2 mgl@1371: + fi mgl@1371: +done mgl@1371: +done mgl@1371: +IFS=$as_save_IFS mgl@1371: + mgl@1371: +fi mgl@1371: +fi mgl@1371: +RANLIB=$ac_cv_prog_RANLIB mgl@1371: +if test -n "$RANLIB"; then mgl@1371: + { echo "$as_me:$LINENO: result: $RANLIB" >&5 mgl@1371: +echo "${ECHO_T}$RANLIB" >&6; } mgl@1371: +else mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: +fi mgl@1371: + mgl@1371: + mgl@1371: +fi mgl@1371: +if test -z "$ac_cv_prog_RANLIB"; then mgl@1371: + ac_ct_RANLIB=$RANLIB mgl@1371: + # Extract the first word of "ranlib", so it can be a program name with args. mgl@1371: +set dummy ranlib; ac_word=$2 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: +if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then mgl@1371: + echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: +else mgl@1371: + if test -n "$ac_ct_RANLIB"; then mgl@1371: + ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. mgl@1371: +else mgl@1371: +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR mgl@1371: +for as_dir in $PATH mgl@1371: +do mgl@1371: + IFS=$as_save_IFS mgl@1371: + test -z "$as_dir" && as_dir=. mgl@1371: + for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: + ac_cv_prog_ac_ct_RANLIB="ranlib" mgl@1371: + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: + break 2 mgl@1371: + fi mgl@1371: +done mgl@1371: +done mgl@1371: +IFS=$as_save_IFS mgl@1371: + mgl@1371: +fi mgl@1371: +fi mgl@1371: +ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB mgl@1371: +if test -n "$ac_ct_RANLIB"; then mgl@1371: + { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 mgl@1371: +echo "${ECHO_T}$ac_ct_RANLIB" >&6; } mgl@1371: +else mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: +fi mgl@1371: + mgl@1371: + if test "x$ac_ct_RANLIB" = x; then mgl@1371: + RANLIB=":" mgl@1371: + else mgl@1371: + case $cross_compiling:$ac_tool_warned in mgl@1371: +yes:) mgl@1371: +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools mgl@1371: +whose name does not start with the host triplet. If you think this mgl@1371: +configuration is useful to you, please write to autoconf@gnu.org." >&5 mgl@1371: +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools mgl@1371: +whose name does not start with the host triplet. If you think this mgl@1371: +configuration is useful to you, please write to autoconf@gnu.org." >&2;} mgl@1371: +ac_tool_warned=yes ;; mgl@1371: +esac mgl@1371: + RANLIB=$ac_ct_RANLIB mgl@1371: + fi mgl@1371: +else mgl@1371: + RANLIB="$ac_cv_prog_RANLIB" mgl@1371: +fi mgl@1371: + mgl@1371: + mgl@1371: +# Find a good install program. We prefer a C program (faster), mgl@1371: +# so one script is as good as another. But avoid the broken or mgl@1371: +# incompatible versions: mgl@1371: +# SysV /etc/install, /usr/sbin/install mgl@1371: +# SunOS /usr/etc/install mgl@1371: +# IRIX /sbin/install mgl@1371: +# AIX /bin/install mgl@1371: +# AmigaOS /C/install, which installs bootblocks on floppy discs mgl@1371: +# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag mgl@1371: +# AFS /usr/afsws/bin/install, which mishandles nonexistent args mgl@1371: +# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" mgl@1371: +# OS/2's system install, which has a completely different semantic mgl@1371: +# ./install, which can be erroneously created by make from ./install.sh. mgl@1371: +{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 mgl@1371: +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } mgl@1371: +if test -z "$INSTALL"; then mgl@1371: +if test "${ac_cv_path_install+set}" = set; then mgl@1371: + echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: +else mgl@1371: + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR mgl@1371: +for as_dir in $PATH mgl@1371: +do mgl@1371: + IFS=$as_save_IFS mgl@1371: + test -z "$as_dir" && as_dir=. mgl@1371: + # Account for people who put trailing slashes in PATH elements. mgl@1371: +case $as_dir/ in mgl@1371: + ./ | .// | /cC/* | \ mgl@1371: + /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ mgl@1371: + ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ mgl@1371: + /usr/ucb/* ) ;; mgl@1371: + *) mgl@1371: + # OSF1 and SCO ODT 3.0 have their own names for install. mgl@1371: + # Don't use installbsd from OSF since it installs stuff as root mgl@1371: + # by default. mgl@1371: + for ac_prog in ginstall scoinst install; do mgl@1371: + for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then mgl@1371: + if test $ac_prog = install && mgl@1371: + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then mgl@1371: + # AIX install. It has an incompatible calling convention. mgl@1371: + : mgl@1371: + elif test $ac_prog = install && mgl@1371: + grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then mgl@1371: + # program-specific install script used by HP pwplus--don't use. mgl@1371: + : mgl@1371: + else mgl@1371: + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" mgl@1371: + break 3 mgl@1371: + fi mgl@1371: + fi mgl@1371: + done mgl@1371: + done mgl@1371: + ;; mgl@1371: +esac mgl@1371: +done mgl@1371: +IFS=$as_save_IFS mgl@1371: + mgl@1371: + mgl@1371: +fi mgl@1371: + if test "${ac_cv_path_install+set}" = set; then mgl@1371: + INSTALL=$ac_cv_path_install mgl@1371: + else mgl@1371: + # As a last resort, use the slow shell script. Don't cache a mgl@1371: + # value for INSTALL within a source directory, because that will mgl@1371: + # break other packages using the cache if that directory is mgl@1371: + # removed, or if the value is a relative name. mgl@1371: + INSTALL=$ac_install_sh mgl@1371: + fi mgl@1371: +fi mgl@1371: +{ echo "$as_me:$LINENO: result: $INSTALL" >&5 mgl@1371: +echo "${ECHO_T}$INSTALL" >&6; } mgl@1371: + mgl@1371: +# Use test -z because SunOS4 sh mishandles braces in ${var-val}. mgl@1371: +# It thinks the first close brace ends the variable substitution. mgl@1371: +test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' mgl@1371: + mgl@1371: +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' mgl@1371: + mgl@1371: +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' mgl@1371: + mgl@1371: + mgl@1371: +{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 mgl@1371: +echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; } mgl@1371: + # Check whether --enable-maintainer-mode was given. mgl@1371: +if test "${enable_maintainer_mode+set}" = set; then mgl@1371: + enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval mgl@1371: +else mgl@1371: + USE_MAINTAINER_MODE=no mgl@1371: +fi mgl@1371: + mgl@1371: + { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 mgl@1371: +echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; } mgl@1371: + mgl@1371: + mgl@1371: +if test $USE_MAINTAINER_MODE = yes; then mgl@1371: + MAINTAINER_MODE_TRUE= mgl@1371: + MAINTAINER_MODE_FALSE='#' mgl@1371: +else mgl@1371: + MAINTAINER_MODE_TRUE='#' mgl@1371: + MAINTAINER_MODE_FALSE= mgl@1371: +fi mgl@1371: + MAINT=$MAINTAINER_MODE_TRUE mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: +# We need AC_EXEEXT to keep automake happy in cygnus mode. However, mgl@1371: +# at least currently, we never actually build a program, so we never mgl@1371: +# need to use $(EXEEXT). Moreover, the test for EXEEXT normally mgl@1371: +# fails, because we are probably configuring with a cross compiler mgl@1371: +# which can't create executables. So we include AC_EXEEXT to keep mgl@1371: +# automake happy, but we don't execute it, since we don't care about mgl@1371: +# the result. mgl@1371: +#if false; then mgl@1371: +# mgl@1371: +#fi mgl@1371: + mgl@1371: +. ${newlib_basedir}/configure.host mgl@1371: + mgl@1371: +newlib_cflags="${newlib_cflags} -fno-builtin" mgl@1371: + mgl@1371: +NEWLIB_CFLAGS=${newlib_cflags} mgl@1371: + mgl@1371: + mgl@1371: +LDFLAGS=${ldflags} mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: +if test x${newlib_elix_level} = x0; then mgl@1371: + ELIX_LEVEL_0_TRUE= mgl@1371: + ELIX_LEVEL_0_FALSE='#' mgl@1371: +else mgl@1371: + ELIX_LEVEL_0_TRUE='#' mgl@1371: + ELIX_LEVEL_0_FALSE= mgl@1371: +fi mgl@1371: + mgl@1371: + mgl@1371: +if test x${newlib_elix_level} = x1; then mgl@1371: + ELIX_LEVEL_1_TRUE= mgl@1371: + ELIX_LEVEL_1_FALSE='#' mgl@1371: +else mgl@1371: + ELIX_LEVEL_1_TRUE='#' mgl@1371: + ELIX_LEVEL_1_FALSE= mgl@1371: +fi mgl@1371: + mgl@1371: + mgl@1371: +if test x${newlib_elix_level} = x2; then mgl@1371: + ELIX_LEVEL_2_TRUE= mgl@1371: + ELIX_LEVEL_2_FALSE='#' mgl@1371: +else mgl@1371: + ELIX_LEVEL_2_TRUE='#' mgl@1371: + ELIX_LEVEL_2_FALSE= mgl@1371: +fi mgl@1371: + mgl@1371: + mgl@1371: +if test x${newlib_elix_level} = x3; then mgl@1371: + ELIX_LEVEL_3_TRUE= mgl@1371: + ELIX_LEVEL_3_FALSE='#' mgl@1371: +else mgl@1371: + ELIX_LEVEL_3_TRUE='#' mgl@1371: + ELIX_LEVEL_3_FALSE= mgl@1371: +fi mgl@1371: + mgl@1371: + mgl@1371: +if test x${newlib_elix_level} = x4; then mgl@1371: + ELIX_LEVEL_4_TRUE= mgl@1371: + ELIX_LEVEL_4_FALSE='#' mgl@1371: +else mgl@1371: + ELIX_LEVEL_4_TRUE='#' mgl@1371: + ELIX_LEVEL_4_FALSE= mgl@1371: +fi mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: +if test x${use_libtool} = xyes; then mgl@1371: + USE_LIBTOOL_TRUE= mgl@1371: + USE_LIBTOOL_FALSE='#' mgl@1371: +else mgl@1371: + USE_LIBTOOL_TRUE='#' mgl@1371: + USE_LIBTOOL_FALSE= mgl@1371: +fi mgl@1371: + mgl@1371: +# Hard-code OBJEXT. Normally it is set by AC_OBJEXT, but we mgl@1371: +# use oext, which is set in configure.host based on the target platform. mgl@1371: +OBJEXT=${oext} mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: +ac_config_files="$ac_config_files Makefile" mgl@1371: + mgl@1371: +cat >confcache <<\_ACEOF mgl@1371: +# This file is a shell script that caches the results of configure mgl@1371: +# tests run on this system so they can be shared between configure mgl@1371: +# scripts and configure runs, see configure's option --config-cache. mgl@1371: +# It is not useful on other systems. If it contains results you don't mgl@1371: +# want to keep, you may remove or edit it. mgl@1371: +# mgl@1371: +# config.status only pays attention to the cache file if you give it mgl@1371: +# the --recheck option to rerun configure. mgl@1371: +# mgl@1371: +# `ac_cv_env_foo' variables (set or unset) will be overridden when mgl@1371: +# loading this file, other *unset* `ac_cv_foo' will be assigned the mgl@1371: +# following values. mgl@1371: + mgl@1371: +_ACEOF mgl@1371: + mgl@1371: +# The following way of writing the cache mishandles newlines in values, mgl@1371: +# but we know of no workaround that is simple, portable, and efficient. mgl@1371: +# So, we kill variables containing newlines. mgl@1371: +# Ultrix sh set writes to stderr and can't be redirected directly, mgl@1371: +# and sets the high bit in the cache file unless we assign to the vars. mgl@1371: +( mgl@1371: + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do mgl@1371: + eval ac_val=\$$ac_var mgl@1371: + case $ac_val in #( mgl@1371: + *${as_nl}*) mgl@1371: + case $ac_var in #( mgl@1371: + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 mgl@1371: +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; mgl@1371: + esac mgl@1371: + case $ac_var in #( mgl@1371: + _ | IFS | as_nl) ;; #( mgl@1371: + *) $as_unset $ac_var ;; mgl@1371: + esac ;; mgl@1371: + esac mgl@1371: + done mgl@1371: + mgl@1371: + (set) 2>&1 | mgl@1371: + case $as_nl`(ac_space=' '; set) 2>&1` in #( mgl@1371: + *${as_nl}ac_space=\ *) mgl@1371: + # `set' does not quote correctly, so add quotes (double-quote mgl@1371: + # substitution turns \\\\ into \\, and sed turns \\ into \). mgl@1371: + sed -n \ mgl@1371: + "s/'/'\\\\''/g; mgl@1371: + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" mgl@1371: + ;; #( mgl@1371: + *) mgl@1371: + # `set' quotes correctly as required by POSIX, so do not add quotes. mgl@1371: + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" mgl@1371: + ;; mgl@1371: + esac | mgl@1371: + sort mgl@1371: +) | mgl@1371: + sed ' mgl@1371: + /^ac_cv_env_/b end mgl@1371: + t clear mgl@1371: + :clear mgl@1371: + s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ mgl@1371: + t end mgl@1371: + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ mgl@1371: + :end' >>confcache mgl@1371: +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else mgl@1371: + if test -w "$cache_file"; then mgl@1371: + test "x$cache_file" != "x/dev/null" && mgl@1371: + { echo "$as_me:$LINENO: updating cache $cache_file" >&5 mgl@1371: +echo "$as_me: updating cache $cache_file" >&6;} mgl@1371: + cat confcache >$cache_file mgl@1371: + else mgl@1371: + { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 mgl@1371: +echo "$as_me: not updating unwritable cache $cache_file" >&6;} mgl@1371: + fi mgl@1371: +fi mgl@1371: +rm -f confcache mgl@1371: + mgl@1371: +test "x$prefix" = xNONE && prefix=$ac_default_prefix mgl@1371: +# Let make expand exec_prefix. mgl@1371: +test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' mgl@1371: + mgl@1371: +# Transform confdefs.h into DEFS. mgl@1371: +# Protect against shell expansion while executing Makefile rules. mgl@1371: +# Protect against Makefile macro expansion. mgl@1371: +# mgl@1371: +# If the first sed substitution is executed (which looks for macros that mgl@1371: +# take arguments), then branch to the quote section. Otherwise, mgl@1371: +# look for a macro that doesn't take arguments. mgl@1371: +ac_script=' mgl@1371: +t clear mgl@1371: +:clear mgl@1371: +s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g mgl@1371: +t quote mgl@1371: +s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g mgl@1371: +t quote mgl@1371: +b any mgl@1371: +:quote mgl@1371: +s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g mgl@1371: +s/\[/\\&/g mgl@1371: +s/\]/\\&/g mgl@1371: +s/\$/$$/g mgl@1371: +H mgl@1371: +:any mgl@1371: +${ mgl@1371: + g mgl@1371: + s/^\n// mgl@1371: + s/\n/ /g mgl@1371: + p mgl@1371: +} mgl@1371: +' mgl@1371: +DEFS=`sed -n "$ac_script" confdefs.h` mgl@1371: + mgl@1371: + mgl@1371: +ac_libobjs= mgl@1371: +ac_ltlibobjs= mgl@1371: +for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue mgl@1371: + # 1. Remove the extension, and $U if already installed. mgl@1371: + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' mgl@1371: + ac_i=`echo "$ac_i" | sed "$ac_script"` mgl@1371: + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR mgl@1371: + # will be set to the directory where LIBOBJS objects are built. mgl@1371: + ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" mgl@1371: + ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' mgl@1371: +done mgl@1371: +LIBOBJS=$ac_libobjs mgl@1371: + mgl@1371: +LTLIBOBJS=$ac_ltlibobjs mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: +: ${CONFIG_STATUS=./config.status} mgl@1371: +ac_clean_files_save=$ac_clean_files mgl@1371: +ac_clean_files="$ac_clean_files $CONFIG_STATUS" mgl@1371: +{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 mgl@1371: +echo "$as_me: creating $CONFIG_STATUS" >&6;} mgl@1371: +cat >$CONFIG_STATUS <<_ACEOF mgl@1371: +#! $SHELL mgl@1371: +# Generated by $as_me. mgl@1371: +# Run this file to recreate the current configuration. mgl@1371: +# Compiler output produced by configure, useful for debugging mgl@1371: +# configure, is in config.log if it exists. mgl@1371: + mgl@1371: +debug=false mgl@1371: +ac_cs_recheck=false mgl@1371: +ac_cs_silent=false mgl@1371: +SHELL=\${CONFIG_SHELL-$SHELL} mgl@1371: +_ACEOF mgl@1371: + mgl@1371: +cat >>$CONFIG_STATUS <<\_ACEOF mgl@1371: +## --------------------- ## mgl@1371: +## M4sh Initialization. ## mgl@1371: +## --------------------- ## mgl@1371: + mgl@1371: +# Be more Bourne compatible mgl@1371: +DUALCASE=1; export DUALCASE # for MKS sh mgl@1371: +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then mgl@1371: + emulate sh mgl@1371: + NULLCMD=: mgl@1371: + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which mgl@1371: + # is contrary to our usage. Disable this feature. mgl@1371: + alias -g '${1+"$@"}'='"$@"' mgl@1371: + setopt NO_GLOB_SUBST mgl@1371: +else mgl@1371: + case `(set -o) 2>/dev/null` in mgl@1371: + *posix*) set -o posix ;; mgl@1371: +esac mgl@1371: + mgl@1371: +fi mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: +# PATH needs CR mgl@1371: +# Avoid depending upon Character Ranges. mgl@1371: +as_cr_letters='abcdefghijklmnopqrstuvwxyz' mgl@1371: +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' mgl@1371: +as_cr_Letters=$as_cr_letters$as_cr_LETTERS mgl@1371: +as_cr_digits='0123456789' mgl@1371: +as_cr_alnum=$as_cr_Letters$as_cr_digits mgl@1371: + mgl@1371: +# The user is always right. mgl@1371: +if test "${PATH_SEPARATOR+set}" != set; then mgl@1371: + echo "#! /bin/sh" >conf$$.sh mgl@1371: + echo "exit 0" >>conf$$.sh mgl@1371: + chmod +x conf$$.sh mgl@1371: + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then mgl@1371: + PATH_SEPARATOR=';' mgl@1371: + else mgl@1371: + PATH_SEPARATOR=: mgl@1371: + fi mgl@1371: + rm -f conf$$.sh mgl@1371: +fi mgl@1371: + mgl@1371: +# Support unset when possible. mgl@1371: +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then mgl@1371: + as_unset=unset mgl@1371: +else mgl@1371: + as_unset=false mgl@1371: +fi mgl@1371: + mgl@1371: + mgl@1371: +# IFS mgl@1371: +# We need space, tab and new line, in precisely that order. Quoting is mgl@1371: +# there to prevent editors from complaining about space-tab. mgl@1371: +# (If _AS_PATH_WALK were called with IFS unset, it would disable word mgl@1371: +# splitting by setting IFS to empty value.) mgl@1371: +as_nl=' mgl@1371: +' mgl@1371: +IFS=" "" $as_nl" mgl@1371: + mgl@1371: +# Find who we are. Look in the path if we contain no directory separator. mgl@1371: +case $0 in mgl@1371: + *[\\/]* ) as_myself=$0 ;; mgl@1371: + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR mgl@1371: +for as_dir in $PATH mgl@1371: +do mgl@1371: + IFS=$as_save_IFS mgl@1371: + test -z "$as_dir" && as_dir=. mgl@1371: + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break mgl@1371: +done mgl@1371: +IFS=$as_save_IFS mgl@1371: + mgl@1371: + ;; mgl@1371: +esac mgl@1371: +# We did not find ourselves, most probably we were run as `sh COMMAND' mgl@1371: +# in which case we are not to be found in the path. mgl@1371: +if test "x$as_myself" = x; then mgl@1371: + as_myself=$0 mgl@1371: +fi mgl@1371: +if test ! -f "$as_myself"; then mgl@1371: + echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 mgl@1371: + { (exit 1); exit 1; } mgl@1371: +fi mgl@1371: + mgl@1371: +# Work around bugs in pre-3.0 UWIN ksh. mgl@1371: +for as_var in ENV MAIL MAILPATH mgl@1371: +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var mgl@1371: +done mgl@1371: +PS1='$ ' mgl@1371: +PS2='> ' mgl@1371: +PS4='+ ' mgl@1371: + mgl@1371: +# NLS nuisances. mgl@1371: +for as_var in \ mgl@1371: + LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ mgl@1371: + LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ mgl@1371: + LC_TELEPHONE LC_TIME mgl@1371: +do mgl@1371: + if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then mgl@1371: + eval $as_var=C; export $as_var mgl@1371: + else mgl@1371: + ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var mgl@1371: + fi mgl@1371: +done mgl@1371: + mgl@1371: +# Required to use basename. mgl@1371: +if expr a : '\(a\)' >/dev/null 2>&1 && mgl@1371: + test "X`expr 00001 : '.*\(...\)'`" = X001; then mgl@1371: + as_expr=expr mgl@1371: +else mgl@1371: + as_expr=false mgl@1371: +fi mgl@1371: + mgl@1371: +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then mgl@1371: + as_basename=basename mgl@1371: +else mgl@1371: + as_basename=false mgl@1371: +fi mgl@1371: + mgl@1371: + mgl@1371: +# Name of the executable. mgl@1371: +as_me=`$as_basename -- "$0" || mgl@1371: +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ mgl@1371: + X"$0" : 'X\(//\)$' \| \ mgl@1371: + X"$0" : 'X\(/\)' \| . 2>/dev/null || mgl@1371: +echo X/"$0" | mgl@1371: + sed '/^.*\/\([^/][^/]*\)\/*$/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + /^X\/\(\/\/\)$/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + /^X\/\(\/\).*/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + s/.*/./; q'` mgl@1371: + mgl@1371: +# CDPATH. mgl@1371: +$as_unset CDPATH mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: + as_lineno_1=$LINENO mgl@1371: + as_lineno_2=$LINENO mgl@1371: + test "x$as_lineno_1" != "x$as_lineno_2" && mgl@1371: + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { mgl@1371: + mgl@1371: + # Create $as_me.lineno as a copy of $as_myself, but with $LINENO mgl@1371: + # uniformly replaced by the line number. The first 'sed' inserts a mgl@1371: + # line-number line after each line using $LINENO; the second 'sed' mgl@1371: + # does the real work. The second script uses 'N' to pair each mgl@1371: + # line-number line with the line containing $LINENO, and appends mgl@1371: + # trailing '-' during substitution so that $LINENO is not a special mgl@1371: + # case at line end. mgl@1371: + # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the mgl@1371: + # scripts with optimization help from Paolo Bonzini. Blame Lee mgl@1371: + # E. McMahon (1931-1989) for sed's syntax. :-) mgl@1371: + sed -n ' mgl@1371: + p mgl@1371: + /[$]LINENO/= mgl@1371: + ' <$as_myself | mgl@1371: + sed ' mgl@1371: + s/[$]LINENO.*/&-/ mgl@1371: + t lineno mgl@1371: + b mgl@1371: + :lineno mgl@1371: + N mgl@1371: + :loop mgl@1371: + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ mgl@1371: + t loop mgl@1371: + s/-\n.*// mgl@1371: + ' >$as_me.lineno && mgl@1371: + chmod +x "$as_me.lineno" || mgl@1371: + { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 mgl@1371: + { (exit 1); exit 1; }; } mgl@1371: + mgl@1371: + # Don't try to exec as it changes $[0], causing all sort of problems mgl@1371: + # (the dirname of $[0] is not the place where we might find the mgl@1371: + # original and so on. Autoconf is especially sensitive to this). mgl@1371: + . "./$as_me.lineno" mgl@1371: + # Exit status is that of the last command. mgl@1371: + exit mgl@1371: +} mgl@1371: + mgl@1371: + mgl@1371: +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then mgl@1371: + as_dirname=dirname mgl@1371: +else mgl@1371: + as_dirname=false mgl@1371: +fi mgl@1371: + mgl@1371: +ECHO_C= ECHO_N= ECHO_T= mgl@1371: +case `echo -n x` in mgl@1371: +-n*) mgl@1371: + case `echo 'x\c'` in mgl@1371: + *c*) ECHO_T=' ';; # ECHO_T is single tab character. mgl@1371: + *) ECHO_C='\c';; mgl@1371: + esac;; mgl@1371: +*) mgl@1371: + ECHO_N='-n';; mgl@1371: +esac mgl@1371: + mgl@1371: +if expr a : '\(a\)' >/dev/null 2>&1 && mgl@1371: + test "X`expr 00001 : '.*\(...\)'`" = X001; then mgl@1371: + as_expr=expr mgl@1371: +else mgl@1371: + as_expr=false mgl@1371: +fi mgl@1371: + mgl@1371: +rm -f conf$$ conf$$.exe conf$$.file mgl@1371: +if test -d conf$$.dir; then mgl@1371: + rm -f conf$$.dir/conf$$.file mgl@1371: +else mgl@1371: + rm -f conf$$.dir mgl@1371: + mkdir conf$$.dir mgl@1371: +fi mgl@1371: +echo >conf$$.file mgl@1371: +if ln -s conf$$.file conf$$ 2>/dev/null; then mgl@1371: + as_ln_s='ln -s' mgl@1371: + # ... but there are two gotchas: mgl@1371: + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. mgl@1371: + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. mgl@1371: + # In both cases, we have to default to `cp -p'. mgl@1371: + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || mgl@1371: + as_ln_s='cp -p' mgl@1371: +elif ln conf$$.file conf$$ 2>/dev/null; then mgl@1371: + as_ln_s=ln mgl@1371: +else mgl@1371: + as_ln_s='cp -p' mgl@1371: +fi mgl@1371: +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file mgl@1371: +rmdir conf$$.dir 2>/dev/null mgl@1371: + mgl@1371: +if mkdir -p . 2>/dev/null; then mgl@1371: + as_mkdir_p=: mgl@1371: +else mgl@1371: + test -d ./-p && rmdir ./-p mgl@1371: + as_mkdir_p=false mgl@1371: +fi mgl@1371: + mgl@1371: +if test -x / >/dev/null 2>&1; then mgl@1371: + as_test_x='test -x' mgl@1371: +else mgl@1371: + if ls -dL / >/dev/null 2>&1; then mgl@1371: + as_ls_L_option=L mgl@1371: + else mgl@1371: + as_ls_L_option= mgl@1371: + fi mgl@1371: + as_test_x=' mgl@1371: + eval sh -c '\'' mgl@1371: + if test -d "$1"; then mgl@1371: + test -d "$1/."; mgl@1371: + else mgl@1371: + case $1 in mgl@1371: + -*)set "./$1";; mgl@1371: + esac; mgl@1371: + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in mgl@1371: + ???[sx]*):;;*)false;;esac;fi mgl@1371: + '\'' sh mgl@1371: + ' mgl@1371: +fi mgl@1371: +as_executable_p=$as_test_x mgl@1371: + mgl@1371: +# Sed expression to map a string onto a valid CPP name. mgl@1371: +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" mgl@1371: + mgl@1371: +# Sed expression to map a string onto a valid variable name. mgl@1371: +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" mgl@1371: + mgl@1371: + mgl@1371: +exec 6>&1 mgl@1371: + mgl@1371: +# Save the log message, to keep $[0] and so on meaningful, and to mgl@1371: +# report actual input values of CONFIG_FILES etc. instead of their mgl@1371: +# values after options handling. mgl@1371: +ac_log=" mgl@1371: +This file was extended by newlib $as_me NEWLIB_VERSION, which was mgl@1371: +generated by GNU Autoconf 2.61. Invocation command line was mgl@1371: + mgl@1371: + CONFIG_FILES = $CONFIG_FILES mgl@1371: + CONFIG_HEADERS = $CONFIG_HEADERS mgl@1371: + CONFIG_LINKS = $CONFIG_LINKS mgl@1371: + CONFIG_COMMANDS = $CONFIG_COMMANDS mgl@1371: + $ $0 $@ mgl@1371: + mgl@1371: +on `(hostname || uname -n) 2>/dev/null | sed 1q` mgl@1371: +" mgl@1371: + mgl@1371: +_ACEOF mgl@1371: + mgl@1371: +cat >>$CONFIG_STATUS <<_ACEOF mgl@1371: +# Files that config.status was made for. mgl@1371: +config_files="$ac_config_files" mgl@1371: + mgl@1371: +_ACEOF mgl@1371: + mgl@1371: +cat >>$CONFIG_STATUS <<\_ACEOF mgl@1371: +ac_cs_usage="\ mgl@1371: +\`$as_me' instantiates files from templates according to the mgl@1371: +current configuration. mgl@1371: + mgl@1371: +Usage: $0 [OPTIONS] [FILE]... mgl@1371: + mgl@1371: + -h, --help print this help, then exit mgl@1371: + -V, --version print version number and configuration settings, then exit mgl@1371: + -q, --quiet do not print progress messages mgl@1371: + -d, --debug don't remove temporary files mgl@1371: + --recheck update $as_me by reconfiguring in the same conditions mgl@1371: + --file=FILE[:TEMPLATE] mgl@1371: + instantiate the configuration file FILE mgl@1371: + mgl@1371: +Configuration files: mgl@1371: +$config_files mgl@1371: + mgl@1371: +Report bugs to ." mgl@1371: + mgl@1371: +_ACEOF mgl@1371: +cat >>$CONFIG_STATUS <<_ACEOF mgl@1371: +ac_cs_version="\\ mgl@1371: +newlib config.status NEWLIB_VERSION mgl@1371: +configured by $0, generated by GNU Autoconf 2.61, mgl@1371: + with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" mgl@1371: + mgl@1371: +Copyright (C) 2006 Free Software Foundation, Inc. mgl@1371: +This config.status script is free software; the Free Software Foundation mgl@1371: +gives unlimited permission to copy, distribute and modify it." mgl@1371: + mgl@1371: +ac_pwd='$ac_pwd' mgl@1371: +srcdir='$srcdir' mgl@1371: +INSTALL='$INSTALL' mgl@1371: +_ACEOF mgl@1371: + mgl@1371: +cat >>$CONFIG_STATUS <<\_ACEOF mgl@1371: +# If no file are specified by the user, then we need to provide default mgl@1371: +# value. By we need to know if files were specified by the user. mgl@1371: +ac_need_defaults=: mgl@1371: +while test $# != 0 mgl@1371: +do mgl@1371: + case $1 in mgl@1371: + --*=*) mgl@1371: + ac_option=`expr "X$1" : 'X\([^=]*\)='` mgl@1371: + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` mgl@1371: + ac_shift=: mgl@1371: + ;; mgl@1371: + *) mgl@1371: + ac_option=$1 mgl@1371: + ac_optarg=$2 mgl@1371: + ac_shift=shift mgl@1371: + ;; mgl@1371: + esac mgl@1371: + mgl@1371: + case $ac_option in mgl@1371: + # Handling of the options. mgl@1371: + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) mgl@1371: + ac_cs_recheck=: ;; mgl@1371: + --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) mgl@1371: + echo "$ac_cs_version"; exit ;; mgl@1371: + --debug | --debu | --deb | --de | --d | -d ) mgl@1371: + debug=: ;; mgl@1371: + --file | --fil | --fi | --f ) mgl@1371: + $ac_shift mgl@1371: + CONFIG_FILES="$CONFIG_FILES $ac_optarg" mgl@1371: + ac_need_defaults=false;; mgl@1371: + --he | --h | --help | --hel | -h ) mgl@1371: + echo "$ac_cs_usage"; exit ;; mgl@1371: + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ mgl@1371: + | -silent | --silent | --silen | --sile | --sil | --si | --s) mgl@1371: + ac_cs_silent=: ;; mgl@1371: + mgl@1371: + # This is an error. mgl@1371: + -*) { echo "$as_me: error: unrecognized option: $1 mgl@1371: +Try \`$0 --help' for more information." >&2 mgl@1371: + { (exit 1); exit 1; }; } ;; mgl@1371: + mgl@1371: + *) ac_config_targets="$ac_config_targets $1" mgl@1371: + ac_need_defaults=false ;; mgl@1371: + mgl@1371: + esac mgl@1371: + shift mgl@1371: +done mgl@1371: + mgl@1371: +ac_configure_extra_args= mgl@1371: + mgl@1371: +if $ac_cs_silent; then mgl@1371: + exec 6>/dev/null mgl@1371: + ac_configure_extra_args="$ac_configure_extra_args --silent" mgl@1371: +fi mgl@1371: + mgl@1371: +_ACEOF mgl@1371: +cat >>$CONFIG_STATUS <<_ACEOF mgl@1371: +if \$ac_cs_recheck; then mgl@1371: + echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 mgl@1371: + CONFIG_SHELL=$SHELL mgl@1371: + export CONFIG_SHELL mgl@1371: + exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion mgl@1371: +fi mgl@1371: + mgl@1371: +_ACEOF mgl@1371: +cat >>$CONFIG_STATUS <<\_ACEOF mgl@1371: +exec 5>>config.log mgl@1371: +{ mgl@1371: + echo mgl@1371: + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX mgl@1371: +## Running $as_me. ## mgl@1371: +_ASBOX mgl@1371: + echo "$ac_log" mgl@1371: +} >&5 mgl@1371: + mgl@1371: +_ACEOF mgl@1371: +cat >>$CONFIG_STATUS <<_ACEOF mgl@1371: +_ACEOF mgl@1371: + mgl@1371: +cat >>$CONFIG_STATUS <<\_ACEOF mgl@1371: + mgl@1371: +# Handling of arguments. mgl@1371: +for ac_config_target in $ac_config_targets mgl@1371: +do mgl@1371: + case $ac_config_target in mgl@1371: + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; mgl@1371: + mgl@1371: + *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 mgl@1371: +echo "$as_me: error: invalid argument: $ac_config_target" >&2;} mgl@1371: + { (exit 1); exit 1; }; };; mgl@1371: + esac mgl@1371: +done mgl@1371: + mgl@1371: + mgl@1371: +# If the user did not use the arguments to specify the items to instantiate, mgl@1371: +# then the envvar interface is used. Set only those that are not. mgl@1371: +# We use the long form for the default assignment because of an extremely mgl@1371: +# bizarre bug on SunOS 4.1.3. mgl@1371: +if $ac_need_defaults; then mgl@1371: + test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files mgl@1371: +fi mgl@1371: + mgl@1371: +# Have a temporary directory for convenience. Make it in the build tree mgl@1371: +# simply because there is no reason against having it here, and in addition, mgl@1371: +# creating and moving files from /tmp can sometimes cause problems. mgl@1371: +# Hook for its removal unless debugging. mgl@1371: +# Note that there is a small window in which the directory will not be cleaned: mgl@1371: +# after its creation but before its name has been assigned to `$tmp'. mgl@1371: +$debug || mgl@1371: +{ mgl@1371: + tmp= mgl@1371: + trap 'exit_status=$? mgl@1371: + { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status mgl@1371: +' 0 mgl@1371: + trap '{ (exit 1); exit 1; }' 1 2 13 15 mgl@1371: +} mgl@1371: +# Create a (secure) tmp directory for tmp files. mgl@1371: + mgl@1371: +{ mgl@1371: + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && mgl@1371: + test -n "$tmp" && test -d "$tmp" mgl@1371: +} || mgl@1371: +{ mgl@1371: + tmp=./conf$$-$RANDOM mgl@1371: + (umask 077 && mkdir "$tmp") mgl@1371: +} || mgl@1371: +{ mgl@1371: + echo "$me: cannot create a temporary directory in ." >&2 mgl@1371: + { (exit 1); exit 1; } mgl@1371: +} mgl@1371: + mgl@1371: +# mgl@1371: +# Set up the sed scripts for CONFIG_FILES section. mgl@1371: +# mgl@1371: + mgl@1371: +# No need to generate the scripts if there are no CONFIG_FILES. mgl@1371: +# This happens for instance when ./config.status config.h mgl@1371: +if test -n "$CONFIG_FILES"; then mgl@1371: + mgl@1371: +_ACEOF mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: +ac_delim='%!_!# ' mgl@1371: +for ac_last_try in false false false false false :; do mgl@1371: + cat >conf$$subs.sed <<_ACEOF mgl@1371: +SHELL!$SHELL$ac_delim mgl@1371: +PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim mgl@1371: +PACKAGE_NAME!$PACKAGE_NAME$ac_delim mgl@1371: +PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim mgl@1371: +PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim mgl@1371: +PACKAGE_STRING!$PACKAGE_STRING$ac_delim mgl@1371: +PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim mgl@1371: +exec_prefix!$exec_prefix$ac_delim mgl@1371: +prefix!$prefix$ac_delim mgl@1371: +program_transform_name!$program_transform_name$ac_delim mgl@1371: +bindir!$bindir$ac_delim mgl@1371: +sbindir!$sbindir$ac_delim mgl@1371: +libexecdir!$libexecdir$ac_delim mgl@1371: +datarootdir!$datarootdir$ac_delim mgl@1371: +datadir!$datadir$ac_delim mgl@1371: +sysconfdir!$sysconfdir$ac_delim mgl@1371: +sharedstatedir!$sharedstatedir$ac_delim mgl@1371: +localstatedir!$localstatedir$ac_delim mgl@1371: +includedir!$includedir$ac_delim mgl@1371: +oldincludedir!$oldincludedir$ac_delim mgl@1371: +docdir!$docdir$ac_delim mgl@1371: +infodir!$infodir$ac_delim mgl@1371: +htmldir!$htmldir$ac_delim mgl@1371: +dvidir!$dvidir$ac_delim mgl@1371: +pdfdir!$pdfdir$ac_delim mgl@1371: +psdir!$psdir$ac_delim mgl@1371: +libdir!$libdir$ac_delim mgl@1371: +localedir!$localedir$ac_delim mgl@1371: +mandir!$mandir$ac_delim mgl@1371: +DEFS!$DEFS$ac_delim mgl@1371: +ECHO_C!$ECHO_C$ac_delim mgl@1371: +ECHO_N!$ECHO_N$ac_delim mgl@1371: +ECHO_T!$ECHO_T$ac_delim mgl@1371: +LIBS!$LIBS$ac_delim mgl@1371: +build_alias!$build_alias$ac_delim mgl@1371: +host_alias!$host_alias$ac_delim mgl@1371: +target_alias!$target_alias$ac_delim mgl@1371: +MAY_SUPPLY_SYSCALLS_TRUE!$MAY_SUPPLY_SYSCALLS_TRUE$ac_delim mgl@1371: +MAY_SUPPLY_SYSCALLS_FALSE!$MAY_SUPPLY_SYSCALLS_FALSE$ac_delim mgl@1371: +newlib_basedir!$newlib_basedir$ac_delim mgl@1371: +build!$build$ac_delim mgl@1371: +build_cpu!$build_cpu$ac_delim mgl@1371: +build_vendor!$build_vendor$ac_delim mgl@1371: +build_os!$build_os$ac_delim mgl@1371: +host!$host$ac_delim mgl@1371: +host_cpu!$host_cpu$ac_delim mgl@1371: +host_vendor!$host_vendor$ac_delim mgl@1371: +host_os!$host_os$ac_delim mgl@1371: +target!$target$ac_delim mgl@1371: +target_cpu!$target_cpu$ac_delim mgl@1371: +target_vendor!$target_vendor$ac_delim mgl@1371: +target_os!$target_os$ac_delim mgl@1371: +INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim mgl@1371: +INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim mgl@1371: +INSTALL_DATA!$INSTALL_DATA$ac_delim mgl@1371: +PACKAGE!$PACKAGE$ac_delim mgl@1371: +VERSION!$VERSION$ac_delim mgl@1371: +ACLOCAL!$ACLOCAL$ac_delim mgl@1371: +AUTOCONF!$AUTOCONF$ac_delim mgl@1371: +AUTOMAKE!$AUTOMAKE$ac_delim mgl@1371: +AUTOHEADER!$AUTOHEADER$ac_delim mgl@1371: +MAKEINFO!$MAKEINFO$ac_delim mgl@1371: +SET_MAKE!$SET_MAKE$ac_delim mgl@1371: +CC!$CC$ac_delim mgl@1371: +AS!$AS$ac_delim mgl@1371: +AR!$AR$ac_delim mgl@1371: +RANLIB!$RANLIB$ac_delim mgl@1371: +MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim mgl@1371: +MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim mgl@1371: +MAINT!$MAINT$ac_delim mgl@1371: +NEWLIB_CFLAGS!$NEWLIB_CFLAGS$ac_delim mgl@1371: +LDFLAGS!$LDFLAGS$ac_delim mgl@1371: +ELIX_LEVEL_0_TRUE!$ELIX_LEVEL_0_TRUE$ac_delim mgl@1371: +ELIX_LEVEL_0_FALSE!$ELIX_LEVEL_0_FALSE$ac_delim mgl@1371: +ELIX_LEVEL_1_TRUE!$ELIX_LEVEL_1_TRUE$ac_delim mgl@1371: +ELIX_LEVEL_1_FALSE!$ELIX_LEVEL_1_FALSE$ac_delim mgl@1371: +ELIX_LEVEL_2_TRUE!$ELIX_LEVEL_2_TRUE$ac_delim mgl@1371: +ELIX_LEVEL_2_FALSE!$ELIX_LEVEL_2_FALSE$ac_delim mgl@1371: +ELIX_LEVEL_3_TRUE!$ELIX_LEVEL_3_TRUE$ac_delim mgl@1371: +ELIX_LEVEL_3_FALSE!$ELIX_LEVEL_3_FALSE$ac_delim mgl@1371: +ELIX_LEVEL_4_TRUE!$ELIX_LEVEL_4_TRUE$ac_delim mgl@1371: +ELIX_LEVEL_4_FALSE!$ELIX_LEVEL_4_FALSE$ac_delim mgl@1371: +USE_LIBTOOL_TRUE!$USE_LIBTOOL_TRUE$ac_delim mgl@1371: +USE_LIBTOOL_FALSE!$USE_LIBTOOL_FALSE$ac_delim mgl@1371: +OBJEXT!$OBJEXT$ac_delim mgl@1371: +oext!$oext$ac_delim mgl@1371: +aext!$aext$ac_delim mgl@1371: +libm_machine_dir!$libm_machine_dir$ac_delim mgl@1371: +machine_dir!$machine_dir$ac_delim mgl@1371: +sys_dir!$sys_dir$ac_delim mgl@1371: +LIBOBJS!$LIBOBJS$ac_delim mgl@1371: +LTLIBOBJS!$LTLIBOBJS$ac_delim mgl@1371: +_ACEOF mgl@1371: + mgl@1371: + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 92; then mgl@1371: + break mgl@1371: + elif $ac_last_try; then mgl@1371: + { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 mgl@1371: +echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} mgl@1371: + { (exit 1); exit 1; }; } mgl@1371: + else mgl@1371: + ac_delim="$ac_delim!$ac_delim _$ac_delim!! " mgl@1371: + fi mgl@1371: +done mgl@1371: + mgl@1371: +ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` mgl@1371: +if test -n "$ac_eof"; then mgl@1371: + ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` mgl@1371: + ac_eof=`expr $ac_eof + 1` mgl@1371: +fi mgl@1371: + mgl@1371: +cat >>$CONFIG_STATUS <<_ACEOF mgl@1371: +cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof mgl@1371: +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end mgl@1371: +_ACEOF mgl@1371: +sed ' mgl@1371: +s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g mgl@1371: +s/^/s,@/; s/!/@,|#_!!_#|/ mgl@1371: +:n mgl@1371: +t n mgl@1371: +s/'"$ac_delim"'$/,g/; t mgl@1371: +s/$/\\/; p mgl@1371: +N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n mgl@1371: +' >>$CONFIG_STATUS >$CONFIG_STATUS <<_ACEOF mgl@1371: +:end mgl@1371: +s/|#_!!_#|//g mgl@1371: +CEOF$ac_eof mgl@1371: +_ACEOF mgl@1371: + mgl@1371: + mgl@1371: +# VPATH may cause trouble with some makes, so we remove $(srcdir), mgl@1371: +# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and mgl@1371: +# trailing colons and then remove the whole line if VPATH becomes empty mgl@1371: +# (actually we leave an empty line to preserve line numbers). mgl@1371: +if test "x$srcdir" = x.; then mgl@1371: + ac_vpsub='/^[ ]*VPATH[ ]*=/{ mgl@1371: +s/:*\$(srcdir):*/:/ mgl@1371: +s/:*\${srcdir}:*/:/ mgl@1371: +s/:*@srcdir@:*/:/ mgl@1371: +s/^\([^=]*=[ ]*\):*/\1/ mgl@1371: +s/:*$// mgl@1371: +s/^[^=]*=[ ]*$// mgl@1371: +}' mgl@1371: +fi mgl@1371: + mgl@1371: +cat >>$CONFIG_STATUS <<\_ACEOF mgl@1371: +fi # test -n "$CONFIG_FILES" mgl@1371: + mgl@1371: + mgl@1371: +for ac_tag in :F $CONFIG_FILES mgl@1371: +do mgl@1371: + case $ac_tag in mgl@1371: + :[FHLC]) ac_mode=$ac_tag; continue;; mgl@1371: + esac mgl@1371: + case $ac_mode$ac_tag in mgl@1371: + :[FHL]*:*);; mgl@1371: + :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 mgl@1371: +echo "$as_me: error: Invalid tag $ac_tag." >&2;} mgl@1371: + { (exit 1); exit 1; }; };; mgl@1371: + :[FH]-) ac_tag=-:-;; mgl@1371: + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; mgl@1371: + esac mgl@1371: + ac_save_IFS=$IFS mgl@1371: + IFS=: mgl@1371: + set x $ac_tag mgl@1371: + IFS=$ac_save_IFS mgl@1371: + shift mgl@1371: + ac_file=$1 mgl@1371: + shift mgl@1371: + mgl@1371: + case $ac_mode in mgl@1371: + :L) ac_source=$1;; mgl@1371: + :[FH]) mgl@1371: + ac_file_inputs= mgl@1371: + for ac_f mgl@1371: + do mgl@1371: + case $ac_f in mgl@1371: + -) ac_f="$tmp/stdin";; mgl@1371: + *) # Look for the file first in the build tree, then in the source tree mgl@1371: + # (if the path is not absolute). The absolute path cannot be DOS-style, mgl@1371: + # because $ac_f cannot contain `:'. mgl@1371: + test -f "$ac_f" || mgl@1371: + case $ac_f in mgl@1371: + [\\/$]*) false;; mgl@1371: + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; mgl@1371: + esac || mgl@1371: + { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 mgl@1371: +echo "$as_me: error: cannot find input file: $ac_f" >&2;} mgl@1371: + { (exit 1); exit 1; }; };; mgl@1371: + esac mgl@1371: + ac_file_inputs="$ac_file_inputs $ac_f" mgl@1371: + done mgl@1371: + mgl@1371: + # Let's still pretend it is `configure' which instantiates (i.e., don't mgl@1371: + # use $as_me), people would be surprised to read: mgl@1371: + # /* config.h. Generated by config.status. */ mgl@1371: + configure_input="Generated from "`IFS=: mgl@1371: + echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." mgl@1371: + if test x"$ac_file" != x-; then mgl@1371: + configure_input="$ac_file. $configure_input" mgl@1371: + { echo "$as_me:$LINENO: creating $ac_file" >&5 mgl@1371: +echo "$as_me: creating $ac_file" >&6;} mgl@1371: + fi mgl@1371: + mgl@1371: + case $ac_tag in mgl@1371: + *:-:* | *:-) cat >"$tmp/stdin";; mgl@1371: + esac mgl@1371: + ;; mgl@1371: + esac mgl@1371: + mgl@1371: + ac_dir=`$as_dirname -- "$ac_file" || mgl@1371: +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ mgl@1371: + X"$ac_file" : 'X\(//\)[^/]' \| \ mgl@1371: + X"$ac_file" : 'X\(//\)$' \| \ mgl@1371: + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || mgl@1371: +echo X"$ac_file" | mgl@1371: + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + /^X\(\/\/\)[^/].*/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + /^X\(\/\/\)$/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + /^X\(\/\).*/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + s/.*/./; q'` mgl@1371: + { as_dir="$ac_dir" mgl@1371: + case $as_dir in #( mgl@1371: + -*) as_dir=./$as_dir;; mgl@1371: + esac mgl@1371: + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { mgl@1371: + as_dirs= mgl@1371: + while :; do mgl@1371: + case $as_dir in #( mgl@1371: + *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( mgl@1371: + *) as_qdir=$as_dir;; mgl@1371: + esac mgl@1371: + as_dirs="'$as_qdir' $as_dirs" mgl@1371: + as_dir=`$as_dirname -- "$as_dir" || mgl@1371: +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ mgl@1371: + X"$as_dir" : 'X\(//\)[^/]' \| \ mgl@1371: + X"$as_dir" : 'X\(//\)$' \| \ mgl@1371: + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || mgl@1371: +echo X"$as_dir" | mgl@1371: + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + /^X\(\/\/\)[^/].*/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + /^X\(\/\/\)$/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + /^X\(\/\).*/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + s/.*/./; q'` mgl@1371: + test -d "$as_dir" && break mgl@1371: + done mgl@1371: + test -z "$as_dirs" || eval "mkdir $as_dirs" mgl@1371: + } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 mgl@1371: +echo "$as_me: error: cannot create directory $as_dir" >&2;} mgl@1371: + { (exit 1); exit 1; }; }; } mgl@1371: + ac_builddir=. mgl@1371: + mgl@1371: +case "$ac_dir" in mgl@1371: +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; mgl@1371: +*) mgl@1371: + ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` mgl@1371: + # A ".." for each directory in $ac_dir_suffix. mgl@1371: + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` mgl@1371: + case $ac_top_builddir_sub in mgl@1371: + "") ac_top_builddir_sub=. ac_top_build_prefix= ;; mgl@1371: + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; mgl@1371: + esac ;; mgl@1371: +esac mgl@1371: +ac_abs_top_builddir=$ac_pwd mgl@1371: +ac_abs_builddir=$ac_pwd$ac_dir_suffix mgl@1371: +# for backward compatibility: mgl@1371: +ac_top_builddir=$ac_top_build_prefix mgl@1371: + mgl@1371: +case $srcdir in mgl@1371: + .) # We are building in place. mgl@1371: + ac_srcdir=. mgl@1371: + ac_top_srcdir=$ac_top_builddir_sub mgl@1371: + ac_abs_top_srcdir=$ac_pwd ;; mgl@1371: + [\\/]* | ?:[\\/]* ) # Absolute name. mgl@1371: + ac_srcdir=$srcdir$ac_dir_suffix; mgl@1371: + ac_top_srcdir=$srcdir mgl@1371: + ac_abs_top_srcdir=$srcdir ;; mgl@1371: + *) # Relative name. mgl@1371: + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix mgl@1371: + ac_top_srcdir=$ac_top_build_prefix$srcdir mgl@1371: + ac_abs_top_srcdir=$ac_pwd/$srcdir ;; mgl@1371: +esac mgl@1371: +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix mgl@1371: + mgl@1371: + mgl@1371: + case $ac_mode in mgl@1371: + :F) mgl@1371: + # mgl@1371: + # CONFIG_FILE mgl@1371: + # mgl@1371: + mgl@1371: + case $INSTALL in mgl@1371: + [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; mgl@1371: + *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; mgl@1371: + esac mgl@1371: +_ACEOF mgl@1371: + mgl@1371: +cat >>$CONFIG_STATUS <<\_ACEOF mgl@1371: +# If the template does not know about datarootdir, expand it. mgl@1371: +# FIXME: This hack should be removed a few years after 2.60. mgl@1371: +ac_datarootdir_hack=; ac_datarootdir_seen= mgl@1371: + mgl@1371: +case `sed -n '/datarootdir/ { mgl@1371: + p mgl@1371: + q mgl@1371: +} mgl@1371: +/@datadir@/p mgl@1371: +/@docdir@/p mgl@1371: +/@infodir@/p mgl@1371: +/@localedir@/p mgl@1371: +/@mandir@/p mgl@1371: +' $ac_file_inputs` in mgl@1371: +*datarootdir*) ac_datarootdir_seen=yes;; mgl@1371: +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) mgl@1371: + { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 mgl@1371: +echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} mgl@1371: +_ACEOF mgl@1371: +cat >>$CONFIG_STATUS <<_ACEOF mgl@1371: + ac_datarootdir_hack=' mgl@1371: + s&@datadir@&$datadir&g mgl@1371: + s&@docdir@&$docdir&g mgl@1371: + s&@infodir@&$infodir&g mgl@1371: + s&@localedir@&$localedir&g mgl@1371: + s&@mandir@&$mandir&g mgl@1371: + s&\\\${datarootdir}&$datarootdir&g' ;; mgl@1371: +esac mgl@1371: +_ACEOF mgl@1371: + mgl@1371: +# Neutralize VPATH when `$srcdir' = `.'. mgl@1371: +# Shell code in configure.ac might set extrasub. mgl@1371: +# FIXME: do we really want to maintain this feature? mgl@1371: +cat >>$CONFIG_STATUS <<_ACEOF mgl@1371: + sed "$ac_vpsub mgl@1371: +$extrasub mgl@1371: +_ACEOF mgl@1371: +cat >>$CONFIG_STATUS <<\_ACEOF mgl@1371: +:t mgl@1371: +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b mgl@1371: +s&@configure_input@&$configure_input&;t t mgl@1371: +s&@top_builddir@&$ac_top_builddir_sub&;t t mgl@1371: +s&@srcdir@&$ac_srcdir&;t t mgl@1371: +s&@abs_srcdir@&$ac_abs_srcdir&;t t mgl@1371: +s&@top_srcdir@&$ac_top_srcdir&;t t mgl@1371: +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t mgl@1371: +s&@builddir@&$ac_builddir&;t t mgl@1371: +s&@abs_builddir@&$ac_abs_builddir&;t t mgl@1371: +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t mgl@1371: +s&@INSTALL@&$ac_INSTALL&;t t mgl@1371: +$ac_datarootdir_hack mgl@1371: +" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out mgl@1371: + mgl@1371: +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && mgl@1371: + { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && mgl@1371: + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && mgl@1371: + { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' mgl@1371: +which seems to be undefined. Please make sure it is defined." >&5 mgl@1371: +echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' mgl@1371: +which seems to be undefined. Please make sure it is defined." >&2;} mgl@1371: + mgl@1371: + rm -f "$tmp/stdin" mgl@1371: + case $ac_file in mgl@1371: + -) cat "$tmp/out"; rm -f "$tmp/out";; mgl@1371: + *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; mgl@1371: + esac mgl@1371: + ;; mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: + esac mgl@1371: + mgl@1371: +done # for ac_tag mgl@1371: + mgl@1371: + mgl@1371: +{ (exit 0); exit 0; } mgl@1371: +_ACEOF mgl@1371: +chmod +x $CONFIG_STATUS mgl@1371: +ac_clean_files=$ac_clean_files_save mgl@1371: + mgl@1371: + mgl@1371: +# configure is writing to config.log, and then calls config.status. mgl@1371: +# config.status does its own redirection, appending to config.log. mgl@1371: +# Unfortunately, on DOS this fails, as config.log is still kept open mgl@1371: +# by configure, so config.status won't be able to write to it; its mgl@1371: +# output is simply discarded. So we exec the FD to /dev/null, mgl@1371: +# effectively closing config.log, so it can be properly (re)opened and mgl@1371: +# appended to by config.status. When coming back to configure, we mgl@1371: +# need to make the FD available again. mgl@1371: +if test "$no_create" != yes; then mgl@1371: + ac_cs_success=: mgl@1371: + ac_config_status_args= mgl@1371: + test "$silent" = yes && mgl@1371: + ac_config_status_args="$ac_config_status_args --quiet" mgl@1371: + exec 5>/dev/null mgl@1371: + $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false mgl@1371: + exec 5>>config.log mgl@1371: + # Use ||, not &&, to avoid exiting from the if with $? = 1, which mgl@1371: + # would make configure fail if this is the last instruction. mgl@1371: + $ac_cs_success || { (exit 1); exit 1; } mgl@1371: +fi mgl@1371: + mgl@1371: diff -Naur newlib-1.17.0/newlib/libc/machine/avr32/configure.in newlib-1.17.0-new/newlib/libc/machine/avr32/configure.in mgl@1371: --- newlib-1.17.0/newlib/libc/machine/avr32/configure.in 1970-01-01 01:00:00.000000000 +0100 mgl@1371: +++ newlib-1.17.0-new/newlib/libc/machine/avr32/configure.in 2009-05-22 09:57:50.000000000 +0200 mgl@1371: @@ -0,0 +1,14 @@ mgl@1371: +dnl This is the newlib/libc/machine/arm configure.in file. mgl@1371: +dnl Process this file with autoconf to produce a configure script. mgl@1371: + mgl@1371: +AC_PREREQ(2.59) mgl@1371: +AC_INIT([newlib],[NEWLIB_VERSION]) mgl@1371: +AC_CONFIG_SRCDIR([Makefile.am]) mgl@1371: + mgl@1371: +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. mgl@1371: +AC_CONFIG_AUX_DIR(../../../..) mgl@1371: + mgl@1371: +NEWLIB_CONFIGURE(../../..) mgl@1371: + mgl@1371: +AC_CONFIG_FILES([Makefile]) mgl@1371: +AC_OUTPUT mgl@1371: diff -Naur newlib-1.17.0/newlib/libc/machine/avr32/Makefile.am newlib-1.17.0-new/newlib/libc/machine/avr32/Makefile.am mgl@1371: --- newlib-1.17.0/newlib/libc/machine/avr32/Makefile.am 1970-01-01 01:00:00.000000000 +0100 mgl@1371: +++ newlib-1.17.0-new/newlib/libc/machine/avr32/Makefile.am 2009-05-22 09:57:50.000000000 +0200 mgl@1371: @@ -0,0 +1,16 @@ mgl@1371: +## Process this file with automake to generate Makefile.in mgl@1371: + mgl@1371: +AUTOMAKE_OPTIONS = cygnus mgl@1371: + mgl@1371: +INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS) mgl@1371: + mgl@1371: +AM_CCASFLAGS = $(INCLUDES) mgl@1371: + mgl@1371: +noinst_LIBRARIES = lib.a mgl@1371: + mgl@1371: +lib_a_SOURCES = strcmp.S strncpy.S memcpy.S mgl@1371: +lib_a_CCASFLAGS=$(AM_CCASFLAGS) mgl@1371: +lib_a_CFLAGS = $(AM_CFLAGS) mgl@1371: + mgl@1371: +ACLOCAL_AMFLAGS = -I ../../.. mgl@1371: +CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host mgl@1371: diff -Naur newlib-1.17.0/newlib/libc/machine/avr32/Makefile.in newlib-1.17.0-new/newlib/libc/machine/avr32/Makefile.in mgl@1371: --- newlib-1.17.0/newlib/libc/machine/avr32/Makefile.in 1970-01-01 01:00:00.000000000 +0100 mgl@1371: +++ newlib-1.17.0-new/newlib/libc/machine/avr32/Makefile.in 2009-05-22 09:57:50.000000000 +0200 mgl@1371: @@ -0,0 +1,327 @@ mgl@1371: +# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am mgl@1371: + mgl@1371: +# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc. mgl@1371: +# This Makefile.in is free software; the Free Software Foundation mgl@1371: +# gives unlimited permission to copy and/or distribute it, mgl@1371: +# with or without modifications, as long as this notice is preserved. mgl@1371: + mgl@1371: +# This program is distributed in the hope that it will be useful, mgl@1371: +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without mgl@1371: +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A mgl@1371: +# PARTICULAR PURPOSE. mgl@1371: + mgl@1371: + mgl@1371: +SHELL = @SHELL@ mgl@1371: + mgl@1371: +srcdir = @srcdir@ mgl@1371: +top_srcdir = @top_srcdir@ mgl@1371: +VPATH = @srcdir@ mgl@1371: +prefix = @prefix@ mgl@1371: +exec_prefix = @exec_prefix@ mgl@1371: + mgl@1371: +bindir = @bindir@ mgl@1371: +sbindir = @sbindir@ mgl@1371: +libexecdir = @libexecdir@ mgl@1371: +datadir = @datadir@ mgl@1371: +sysconfdir = @sysconfdir@ mgl@1371: +sharedstatedir = @sharedstatedir@ mgl@1371: +localstatedir = @localstatedir@ mgl@1371: +libdir = @libdir@ mgl@1371: +infodir = @infodir@ mgl@1371: +mandir = @mandir@ mgl@1371: +includedir = @includedir@ mgl@1371: +oldincludedir = /usr/include mgl@1371: + mgl@1371: +DESTDIR = mgl@1371: + mgl@1371: +pkgdatadir = $(datadir)/@PACKAGE@ mgl@1371: +pkglibdir = $(libdir)/@PACKAGE@ mgl@1371: +pkgincludedir = $(includedir)/@PACKAGE@ mgl@1371: + mgl@1371: +top_builddir = . mgl@1371: + mgl@1371: +ACLOCAL = @ACLOCAL@ mgl@1371: +AUTOCONF = @AUTOCONF@ mgl@1371: +AUTOMAKE = @AUTOMAKE@ mgl@1371: +AUTOHEADER = @AUTOHEADER@ mgl@1371: + mgl@1371: +INSTALL = @INSTALL@ mgl@1371: +INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) mgl@1371: +INSTALL_DATA = @INSTALL_DATA@ mgl@1371: +INSTALL_SCRIPT = @INSTALL_SCRIPT@ mgl@1371: +transform = @program_transform_name@ mgl@1371: + mgl@1371: +NORMAL_INSTALL = : mgl@1371: +PRE_INSTALL = : mgl@1371: +POST_INSTALL = : mgl@1371: +NORMAL_UNINSTALL = : mgl@1371: +PRE_UNINSTALL = : mgl@1371: +POST_UNINSTALL = : mgl@1371: +build_alias = @build_alias@ mgl@1371: +build_triplet = @build@ mgl@1371: +host_alias = @host_alias@ mgl@1371: +host_triplet = @host@ mgl@1371: +target_alias = @target_alias@ mgl@1371: +target_triplet = @target@ mgl@1371: +AR = @AR@ mgl@1371: +AS = @AS@ mgl@1371: +CC = @CC@ mgl@1371: +CPP = @CPP@ mgl@1371: +EXEEXT = @EXEEXT@ mgl@1371: +LDFLAGS = @LDFLAGS@ mgl@1371: +MAINT = @MAINT@ mgl@1371: +MAKEINFO = @MAKEINFO@ mgl@1371: +NEWLIB_CFLAGS = @NEWLIB_CFLAGS@ mgl@1371: +OBJEXT = @OBJEXT@ mgl@1371: +PACKAGE = @PACKAGE@ mgl@1371: +RANLIB = @RANLIB@ mgl@1371: +VERSION = @VERSION@ mgl@1371: +aext = @aext@ mgl@1371: +libm_machine_dir = @libm_machine_dir@ mgl@1371: +machine_dir = @machine_dir@ mgl@1371: +newlib_basedir = @newlib_basedir@ mgl@1371: +oext = @oext@ mgl@1371: +sys_dir = @sys_dir@ mgl@1371: + mgl@1371: +AUTOMAKE_OPTIONS = cygnus mgl@1371: + mgl@1371: +INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS) mgl@1371: + mgl@1371: +noinst_LIBRARIES = lib.a mgl@1371: + mgl@1371: +lib_a_SOURCES = strcmp.S strncpy.S memcpy.S mgl@1371: + mgl@1371: +ACLOCAL_AMFLAGS = -I ../../.. mgl@1371: +CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host mgl@1371: +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 mgl@1371: +mkinstalldirs = $(SHELL) $(top_srcdir)/../../../../mkinstalldirs mgl@1371: +CONFIG_CLEAN_FILES = mgl@1371: +LIBRARIES = $(noinst_LIBRARIES) mgl@1371: + mgl@1371: + mgl@1371: +DEFS = @DEFS@ -I. -I$(srcdir) mgl@1371: +CPPFLAGS = mgl@1371: +LIBS = @LIBS@ mgl@1371: +lib_a_LIBADD = mgl@1371: +lib_a_OBJECTS = strcmp.o strncpy.o memcpy.o mgl@1371: +CFLAGS = @CFLAGS@ mgl@1371: +COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) mgl@1371: +CCLD = $(CC) mgl@1371: +LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ mgl@1371: +DIST_COMMON = Makefile.am Makefile.in aclocal.m4 configure configure.in mgl@1371: + mgl@1371: + mgl@1371: +DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) mgl@1371: + mgl@1371: +TAR = gtar mgl@1371: +GZIP_ENV = --best mgl@1371: +SOURCES = $(lib_a_SOURCES) mgl@1371: +OBJECTS = $(lib_a_OBJECTS) mgl@1371: + mgl@1371: +all: all-redirect mgl@1371: +.SUFFIXES: mgl@1371: +.SUFFIXES: .S .c .o .s mgl@1371: +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) mgl@1371: + cd $(top_srcdir) && $(AUTOMAKE) --cygnus Makefile mgl@1371: + mgl@1371: +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status mgl@1371: + cd $(top_builddir) \ mgl@1371: + && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status mgl@1371: + mgl@1371: +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.in \ mgl@1371: + ../../../acinclude.m4 ../../../aclocal.m4 \ mgl@1371: + ../../../libtool.m4 mgl@1371: + cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) mgl@1371: + mgl@1371: +config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) mgl@1371: + $(SHELL) ./config.status --recheck mgl@1371: +$(srcdir)/configure: @MAINTAINER_MODE_TRUE@$(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) mgl@1371: + cd $(srcdir) && $(AUTOCONF) mgl@1371: + mgl@1371: +mostlyclean-noinstLIBRARIES: mgl@1371: + mgl@1371: +clean-noinstLIBRARIES: mgl@1371: + -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES) mgl@1371: + mgl@1371: +distclean-noinstLIBRARIES: mgl@1371: + mgl@1371: +maintainer-clean-noinstLIBRARIES: mgl@1371: + mgl@1371: +.c.o: mgl@1371: + $(COMPILE) -c $< mgl@1371: + mgl@1371: +.s.o: mgl@1371: + $(COMPILE) -c $< mgl@1371: + mgl@1371: +.S.o: mgl@1371: + $(COMPILE) -c $< mgl@1371: + mgl@1371: +mostlyclean-compile: mgl@1371: + -rm -f *.o core *.core mgl@1371: + mgl@1371: +clean-compile: mgl@1371: + mgl@1371: +distclean-compile: mgl@1371: + -rm -f *.tab.c mgl@1371: + mgl@1371: +maintainer-clean-compile: mgl@1371: + mgl@1371: +lib.a: $(lib_a_OBJECTS) $(lib_a_DEPENDENCIES) mgl@1371: + -rm -f lib.a mgl@1371: + $(AR) cru lib.a $(lib_a_OBJECTS) $(lib_a_LIBADD) mgl@1371: + $(RANLIB) lib.a mgl@1371: + mgl@1371: +tags: TAGS mgl@1371: + mgl@1371: +ID: $(HEADERS) $(SOURCES) $(LISP) mgl@1371: + list='$(SOURCES) $(HEADERS)'; \ mgl@1371: + unique=`for i in $$list; do echo $$i; done | \ mgl@1371: + awk ' { files[$$0] = 1; } \ mgl@1371: + END { for (i in files) print i; }'`; \ mgl@1371: + here=`pwd` && cd $(srcdir) \ mgl@1371: + && mkid -f$$here/ID $$unique $(LISP) mgl@1371: + mgl@1371: +TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP) mgl@1371: + tags=; \ mgl@1371: + here=`pwd`; \ mgl@1371: + list='$(SOURCES) $(HEADERS)'; \ mgl@1371: + unique=`for i in $$list; do echo $$i; done | \ mgl@1371: + awk ' { files[$$0] = 1; } \ mgl@1371: + END { for (i in files) print i; }'`; \ mgl@1371: + test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ mgl@1371: + || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS) mgl@1371: + mgl@1371: +mostlyclean-tags: mgl@1371: + mgl@1371: +clean-tags: mgl@1371: + mgl@1371: +distclean-tags: mgl@1371: + -rm -f TAGS ID mgl@1371: + mgl@1371: +maintainer-clean-tags: mgl@1371: + mgl@1371: +distdir = $(PACKAGE)-$(VERSION) mgl@1371: +top_distdir = $(distdir) mgl@1371: + mgl@1371: +# This target untars the dist file and tries a VPATH configuration. Then mgl@1371: +# it guarantees that the distribution is self-contained by making another mgl@1371: +# tarfile. mgl@1371: +distcheck: dist mgl@1371: + -rm -rf $(distdir) mgl@1371: + GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz mgl@1371: + mkdir $(distdir)/=build mgl@1371: + mkdir $(distdir)/=inst mgl@1371: + dc_install_base=`cd $(distdir)/=inst && pwd`; \ mgl@1371: + cd $(distdir)/=build \ mgl@1371: + && ../configure --srcdir=.. --prefix=$$dc_install_base \ mgl@1371: + && $(MAKE) $(AM_MAKEFLAGS) \ mgl@1371: + && $(MAKE) $(AM_MAKEFLAGS) dvi \ mgl@1371: + && $(MAKE) $(AM_MAKEFLAGS) check \ mgl@1371: + && $(MAKE) $(AM_MAKEFLAGS) install \ mgl@1371: + && $(MAKE) $(AM_MAKEFLAGS) installcheck \ mgl@1371: + && $(MAKE) $(AM_MAKEFLAGS) dist mgl@1371: + -rm -rf $(distdir) mgl@1371: + @banner="$(distdir).tar.gz is ready for distribution"; \ mgl@1371: + dashes=`echo "$$banner" | sed s/./=/g`; \ mgl@1371: + echo "$$dashes"; \ mgl@1371: + echo "$$banner"; \ mgl@1371: + echo "$$dashes" mgl@1371: +dist: distdir mgl@1371: + -chmod -R a+r $(distdir) mgl@1371: + GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) mgl@1371: + -rm -rf $(distdir) mgl@1371: +dist-all: distdir mgl@1371: + -chmod -R a+r $(distdir) mgl@1371: + GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) mgl@1371: + -rm -rf $(distdir) mgl@1371: +distdir: $(DISTFILES) mgl@1371: + -rm -rf $(distdir) mgl@1371: + mkdir $(distdir) mgl@1371: + -chmod 777 $(distdir) mgl@1371: + @for file in $(DISTFILES); do \ mgl@1371: + if test -f $$file; then d=.; else d=$(srcdir); fi; \ mgl@1371: + if test -d $$d/$$file; then \ mgl@1371: + cp -pr $$d/$$file $(distdir)/$$file; \ mgl@1371: + else \ mgl@1371: + test -f $(distdir)/$$file \ mgl@1371: + || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ mgl@1371: + || cp -p $$d/$$file $(distdir)/$$file || :; \ mgl@1371: + fi; \ mgl@1371: + done mgl@1371: +info-am: mgl@1371: +info: info-am mgl@1371: +dvi-am: mgl@1371: +dvi: dvi-am mgl@1371: +check-am: mgl@1371: +check: check-am mgl@1371: +installcheck-am: mgl@1371: +installcheck: installcheck-am mgl@1371: +install-info-am: mgl@1371: +install-info: install-info-am mgl@1371: +install-exec-am: mgl@1371: +install-exec: install-exec-am mgl@1371: + mgl@1371: +install-data-am: mgl@1371: +install-data: install-data-am mgl@1371: + mgl@1371: +install-am: all-am mgl@1371: + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am mgl@1371: +install: install-am mgl@1371: +uninstall-am: mgl@1371: +uninstall: uninstall-am mgl@1371: +all-am: Makefile $(LIBRARIES) mgl@1371: +all-redirect: all-am mgl@1371: +install-strip: mgl@1371: + $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install mgl@1371: +installdirs: mgl@1371: + mgl@1371: + mgl@1371: +mostlyclean-generic: mgl@1371: + mgl@1371: +clean-generic: mgl@1371: + mgl@1371: +distclean-generic: mgl@1371: + -rm -f Makefile $(CONFIG_CLEAN_FILES) mgl@1371: + -rm -f config.cache config.log stamp-h stamp-h[0-9]* mgl@1371: + mgl@1371: +maintainer-clean-generic: mgl@1371: +mostlyclean-am: mostlyclean-noinstLIBRARIES mostlyclean-compile \ mgl@1371: + mostlyclean-tags mostlyclean-generic mgl@1371: + mgl@1371: +mostlyclean: mostlyclean-am mgl@1371: + mgl@1371: +clean-am: clean-noinstLIBRARIES clean-compile clean-tags clean-generic \ mgl@1371: + mostlyclean-am mgl@1371: + mgl@1371: +clean: clean-am mgl@1371: + mgl@1371: +distclean-am: distclean-noinstLIBRARIES distclean-compile \ mgl@1371: + distclean-tags distclean-generic clean-am mgl@1371: + mgl@1371: +distclean: distclean-am mgl@1371: + -rm -f config.status mgl@1371: + mgl@1371: +maintainer-clean-am: maintainer-clean-noinstLIBRARIES \ mgl@1371: + maintainer-clean-compile maintainer-clean-tags \ mgl@1371: + maintainer-clean-generic distclean-am mgl@1371: + @echo "This command is intended for maintainers to use;" mgl@1371: + @echo "it deletes files that may require special tools to rebuild." mgl@1371: + mgl@1371: +maintainer-clean: maintainer-clean-am mgl@1371: + -rm -f config.status mgl@1371: + mgl@1371: +.PHONY: mostlyclean-noinstLIBRARIES distclean-noinstLIBRARIES \ mgl@1371: +clean-noinstLIBRARIES maintainer-clean-noinstLIBRARIES \ mgl@1371: +mostlyclean-compile distclean-compile clean-compile \ mgl@1371: +maintainer-clean-compile tags mostlyclean-tags distclean-tags \ mgl@1371: +clean-tags maintainer-clean-tags distdir info-am info dvi-am dvi check \ mgl@1371: +check-am installcheck-am installcheck install-info-am install-info \ mgl@1371: +install-exec-am install-exec install-data-am install-data install-am \ mgl@1371: +install uninstall-am uninstall all-redirect all-am all installdirs \ mgl@1371: +mostlyclean-generic distclean-generic clean-generic \ mgl@1371: +maintainer-clean-generic clean mostlyclean distclean maintainer-clean mgl@1371: + mgl@1371: + mgl@1371: +# Tell versions [3.59,3.63) of GNU make to not export all variables. mgl@1371: +# Otherwise a system limit (for SysV at least) may be exceeded. mgl@1371: +.NOEXPORT: mgl@1371: diff -Naur newlib-1.17.0/newlib/libc/machine/avr32/memcpy.S newlib-1.17.0-new/newlib/libc/machine/avr32/memcpy.S mgl@1371: --- newlib-1.17.0/newlib/libc/machine/avr32/memcpy.S 1970-01-01 01:00:00.000000000 +0100 mgl@1371: +++ newlib-1.17.0-new/newlib/libc/machine/avr32/memcpy.S 2009-05-22 09:57:50.000000000 +0200 mgl@1371: @@ -0,0 +1,269 @@ mgl@1371: +/* mgl@1371: + * Copyright (C) 2004 Atmel Norway mgl@1371: + */ mgl@1371: + mgl@1371: +/* Don't use r12 as dst since we must return it unmodified */ mgl@1371: + mgl@1371: + .text mgl@1371: + .global memcpy mgl@1371: + .type memcpy, @function mgl@1371: +#if defined(__AVR32_HAS_UNALIGNED_WORD__) mgl@1371: +memcpy: mgl@1371: + /* Check if src and dst are aligned mgl@1371: + if not do a word based copying. */ mgl@1371: + or r9, r12, r11 mgl@1371: + andl r9, 3, COH mgl@1371: + brne .Lunaligned_copy mgl@1371: + mgl@1371: + pushm r12, lr mgl@1371: + sub r10, 8 mgl@1371: + brmi .Lword_copy mgl@1371: + mgl@1371: +0: mgl@1371: + ld.d r8, r11++ mgl@1371: + sub r10, 8 mgl@1371: + st.d r12++, r8 mgl@1371: + brpl 0b mgl@1371: + mgl@1371: +.Lword_copy: mgl@1371: + sub r10, -4 mgl@1371: + brmi .Lbyte_copy mgl@1371: + mgl@1371: +0: mgl@1371: + ld.w r8, r11++ mgl@1371: + sub r10, 4 mgl@1371: + st.w r12++, r8 mgl@1371: + brpl 0b mgl@1371: + mgl@1371: +.Lbyte_copy: mgl@1371: + sub r10, -4 mgl@1371: + breq 2f mgl@1371: +1: mgl@1371: + ld.ub r8, r11++ mgl@1371: + sub r10, 1 mgl@1371: + st.b r12++, r8 mgl@1371: + brne 1b mgl@1371: +2: mgl@1371: + popm r12, pc mgl@1371: + mgl@1371: +.Lunaligned_copy: mgl@1371: + mov r9, r12 mgl@1371: + sub r10, 4 mgl@1371: + mgl@1371: + brmi .Lbyte_copy2 mgl@1371: + mgl@1371: +0: mgl@1371: + ld.w r8, r11++ mgl@1371: + sub r10, 4 mgl@1371: + st.w r12++, r8 mgl@1371: + brpl 0b mgl@1371: + mgl@1371: +.Lbyte_copy2: mgl@1371: + sub r10, -4 mgl@1371: + reteq r9 mgl@1371: +1: mgl@1371: + ld.ub r8, r11++ mgl@1371: + sub r10, 1 mgl@1371: + st.b r12++, r8 mgl@1371: + brne 1b mgl@1371: + mgl@1371: + ret r9 mgl@1371: + mgl@1371: + mgl@1371: +#else mgl@1371: + mgl@1371: +#define dst r9 mgl@1371: +#define src r11 mgl@1371: +#define len r10 mgl@1371: + mgl@1371: +#if defined(__AVR32_UC__) mgl@1371: +memcpy: mgl@1371: + /* If we have less than 8 bytes, don't do anything fancy mgl@1371: + just an unrolled byte copy */ mgl@1371: + cp.w r10, 8 mgl@1371: + brlt .Lless_than_8 mgl@1371: + /* Check if src and dst are aligned. */ mgl@1371: + or r9, r12, r11 mgl@1371: + andl r9, 3, COH mgl@1371: + brne .Lunaligned_copy mgl@1371: + mgl@1371: + /* Check if larger than 31 */ mgl@1371: + cp.w r10, 32 mgl@1371: + brge .Lmore_than_31: mgl@1371: + mgl@1371: + /* Less than 32. */ mgl@1371: + asr r8, r10, 2 mgl@1371: + rsub r9, r8, 8 mgl@1371: + add pc, pc, r9 << 2 mgl@1371: + .irp offset,0,1,2,3,4,5,6 mgl@1371: + ld.w r9, r11[(6-\offset)*4] mgl@1371: + st.w r12[(6-\offset)*4], r9 mgl@1371: + .endr mgl@1371: + mgl@1371: + add r11, r11, r8 << 2 mgl@1371: + add r8, r12, r8 << 2 mgl@1371: + andl r10, 0x3 mgl@1371: + rsub r10, r10, 4 mgl@1371: + add pc, pc, r10 << 2 mgl@1371: + .irp offset,0,1,2 mgl@1371: + ld.ub r9, r11[2-\offset] mgl@1371: + st.b r8[2-\offset], r9 mgl@1371: + .endr mgl@1371: + mgl@1371: + retal r12 mgl@1371: + mgl@1371: +.Lless_than_8: mgl@1371: + rsub r10, r10, 9 mgl@1371: + add pc, pc, r10 << 2 mgl@1371: + .irp offset,0,1,2,3,4,5,6,7 mgl@1371: + ld.ub r9, r11[7-\offset] mgl@1371: + st.b r12[7-\offset], r9 mgl@1371: + .endr mgl@1371: + mgl@1371: + retal r12 mgl@1371: + mgl@1371: +.Lmore_than_31: mgl@1371: + stm --sp, r6-r7, lr mgl@1371: + mov r9, r12 mgl@1371: + mgl@1371: +.Laligned_copy: mgl@1371: + sub r10, 32 mgl@1371: + mgl@1371: +1: /* Copy 32 bytes at a time */ mgl@1371: + ld.d r6, r11++ mgl@1371: + st.d r9++, r6 mgl@1371: + ld.d r6, r11++ mgl@1371: + st.d r9++, r6 mgl@1371: + ld.d r6, r11++ mgl@1371: + st.d r9++, r6 mgl@1371: + ld.d r6, r11++ mgl@1371: + st.d r9++, r6 mgl@1371: + sub r10, 32 mgl@1371: + brge 1b mgl@1371: + mgl@1371: +.Lless_than_32: mgl@1371: + /* Copy 16 more bytes if possible */ mgl@1371: + sub r10, -16 mgl@1371: + brlt .Lless_than_16 mgl@1371: + ld.d r6, r11++ mgl@1371: + st.d r9++, r6 mgl@1371: + ld.d r6, r11++ mgl@1371: + st.d r9++, r6 mgl@1371: + sub r10, 16 mgl@1371: + mgl@1371: +.Lless_than_16: mgl@1371: + mgl@1371: + /* Do the remaining as byte copies */ mgl@1371: + neg r10 mgl@1371: + add pc, pc, r10 << 3 mgl@1371: + nop mgl@1371: + nop mgl@1371: + .irp offset,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14 mgl@1371: + ld.ub r6, r11[14-\offset],e mgl@1371: + st.b r9[14-\offset], r6,e mgl@1371: + .endr mgl@1371: + mgl@1371: + ldm sp++, r6-r7, pc mgl@1371: + mgl@1371: +.Lunaligned_copy: mgl@1371: + /* src and dst are unaligned. */ mgl@1371: +0: mgl@1371: + sub r10, 1 mgl@1371: + ld.ub r9, r11[r10] mgl@1371: + st.b r12[r10], r9 mgl@1371: + brne 0b mgl@1371: + mgl@1371: + retal r12 mgl@1371: + .size memcpy, . - memcpy mgl@1371: + mgl@1371: +#else mgl@1371: +memcpy: mgl@1371: + pref src[0] mgl@1371: + mov dst, r12 mgl@1371: + mgl@1371: + /* If we have less than 32 bytes, don't do anything fancy */ mgl@1371: + cp.w len, 32 mgl@1371: + brge .Lmore_than_31 mgl@1371: + mgl@1371: + sub len, 1 mgl@1371: + retlt r12 mgl@1371: +1: ld.ub r8, src++ mgl@1371: + st.b r12, r8 mgl@1371: + sub len, 1 mgl@1371: + brge 1b mgl@1371: + retal r12 mgl@1371: + mgl@1371: +.Lmore_than_31: mgl@1371: + pushm r0-r7, lr mgl@1371: + mgl@1371: + /* Check alignment */ mgl@1371: + mov r8, src mgl@1371: + andl r8, 31, COH mgl@1371: + brne .Lunaligned_src mgl@1371: + mov r8, dst mgl@1371: + andl r8, 3, COH mgl@1371: + brne .Lunaligned_dst mgl@1371: + mgl@1371: +.Laligned_copy: mgl@1371: + sub len, 32 mgl@1371: + brlt .Lless_than_32 mgl@1371: + mgl@1371: +1: /* Copy 32 bytes at a time */ mgl@1371: + pref src[32] mgl@1371: + ldm src, r0-r7 mgl@1371: + sub src, -32 mgl@1371: + stm dst, r0-r7 mgl@1371: + sub dst, -32 mgl@1371: + sub len, 32 mgl@1371: + brge 1b mgl@1371: + mgl@1371: +.Lless_than_32: mgl@1371: + /* Copy 16 more bytes if possible */ mgl@1371: + sub len, -16 mgl@1371: + brlt .Lless_than_16 mgl@1371: + ldm src, r0-r3 mgl@1371: + sub src, -16 mgl@1371: + sub len, 16 mgl@1371: + stm dst, r0-r3 mgl@1371: + sub dst, -16 mgl@1371: + mgl@1371: +.Lless_than_16: mgl@1371: + /* Do the remaining as byte copies */ mgl@1371: + neg len mgl@1371: + add pc, pc, len << 2 mgl@1371: + .rept 15 mgl@1371: + ld.ub r0, src++ mgl@1371: + st.b dst++, r0 mgl@1371: + .endr mgl@1371: + mgl@1371: + popm r0-r7, pc mgl@1371: + mgl@1371: +.Lunaligned_src: mgl@1371: + /* Make src cacheline-aligned. r8 = (src & 31) */ mgl@1371: + rsub r8, r8, 32 mgl@1371: + sub len, r8 mgl@1371: +1: ld.ub r0, src++ mgl@1371: + st.b dst++, r0 mgl@1371: + sub r8, 1 mgl@1371: + brne 1b mgl@1371: + mgl@1371: + /* If dst is word-aligned, we're ready to go */ mgl@1371: + pref src[0] mgl@1371: + mov r8, 3 mgl@1371: + tst dst, r8 mgl@1371: + breq .Laligned_copy mgl@1371: + mgl@1371: +.Lunaligned_dst: mgl@1371: + /* src is aligned, but dst is not. Expect bad performance */ mgl@1371: +0: mgl@1371: + ld.ub r0, src++ mgl@1371: + st.b dst++, r0 mgl@1371: + sub len, 1 mgl@1371: + brne 0b mgl@1371: + mgl@1371: + popm r0-r7, pc mgl@1371: + .size memcpy, . - memcpy mgl@1371: + mgl@1371: + mgl@1371: +#endif mgl@1371: +#endif mgl@1371: diff -Naur newlib-1.17.0/newlib/libc/machine/avr32/strcmp.S newlib-1.17.0-new/newlib/libc/machine/avr32/strcmp.S mgl@1371: --- newlib-1.17.0/newlib/libc/machine/avr32/strcmp.S 1970-01-01 01:00:00.000000000 +0100 mgl@1371: +++ newlib-1.17.0-new/newlib/libc/machine/avr32/strcmp.S 2009-05-22 09:57:50.000000000 +0200 mgl@1371: @@ -0,0 +1,133 @@ mgl@1371: + .align 2 mgl@1371: + .global strcmp mgl@1371: + mgl@1371: +strcmp: mgl@1371: +#if !defined(__AVR32_HAS_UNALIGNED_WORD__) mgl@1371: +#ifdef __AVR32_UC__ mgl@1371: + /* Check if both strings are aligned. */ mgl@1371: + or r10, r12, r11 mgl@1371: + andl r10, 3, COH mgl@1371: + brne .Lbyte_strcmp mgl@1371: +0: mgl@1371: + ld.w r10, r12[0] mgl@1371: + ld.w r9, r11[0] mgl@1371: + tnbz r10 mgl@1371: + breq 1f mgl@1371: + cp.w r10, r9 mgl@1371: + brne 1f mgl@1371: + ld.w r10, r12[4] mgl@1371: + ld.w r9, r11[4] mgl@1371: + tnbz r10 mgl@1371: + breq 1f mgl@1371: + cp.w r10, r9 mgl@1371: + brne 1f mgl@1371: + ld.w r10, r12[8] mgl@1371: + ld.w r9, r11[8] mgl@1371: + tnbz r10 mgl@1371: + breq 1f mgl@1371: + cp.w r10, r9 mgl@1371: + brne 1f mgl@1371: + ld.w r10, r12[12] mgl@1371: + ld.w r9, r11[12] mgl@1371: + tnbz r10 mgl@1371: + breq 1f mgl@1371: + sub r12, -16 mgl@1371: + sub r11, -16 mgl@1371: + cp.w r10, r9 mgl@1371: + breq 0b mgl@1371: +1: mgl@1371: + bfextu r12, r10, 24, 8 mgl@1371: + bfextu r11, r9, 24, 8 mgl@1371: + reteq r12 mgl@1371: + sub r12, r11 mgl@1371: + retne r12 mgl@1371: + mgl@1371: + bfextu r12, r10, 16, 8 mgl@1371: + bfextu r11, r9, 16, 8 mgl@1371: + reteq r12 mgl@1371: + sub r12, r11 mgl@1371: + retne r12 mgl@1371: + mgl@1371: + bfextu r12, r10, 8, 8 mgl@1371: + bfextu r11, r9, 8, 8 mgl@1371: + reteq r12 mgl@1371: + sub r12, r11 mgl@1371: + retne r12 mgl@1371: + mgl@1371: + castu.b r10 mgl@1371: + castu.b r9 mgl@1371: + sub r10, r9 mgl@1371: + ret r10 mgl@1371: + mgl@1371: +.Lbyte_strcmp: mgl@1371: +0: mgl@1371: + ld.ub r10, r11[0] mgl@1371: + ld.ub r9, r12[0] mgl@1371: + cp.w r10, 0 mgl@1371: + reteq r9 mgl@1371: + sub r9, r10 mgl@1371: + retne r9 mgl@1371: + ld.ub r10, r11[1] mgl@1371: + ld.ub r9, r12[1] mgl@1371: + cp.w r10, 0 mgl@1371: + reteq r9 mgl@1371: + sub r9, r10 mgl@1371: + retne r9 mgl@1371: + ld.ub r10, r11[2] mgl@1371: + ld.ub r9, r12[2] mgl@1371: + cp.w r10, 0 mgl@1371: + reteq r9 mgl@1371: + sub r9, r10 mgl@1371: + retne r9 mgl@1371: + ld.ub r10, r11[3] mgl@1371: + ld.ub r9, r12[3] mgl@1371: + cp.w r10, 0 mgl@1371: + reteq r9 mgl@1371: + sub r9, r10 mgl@1371: + retne r9 mgl@1371: + sub r11, -4 mgl@1371: + sub r12, -4 mgl@1371: + rjmp 0b mgl@1371: +#else mgl@1371: +0: mgl@1371: + ld.ub r10, r11++ mgl@1371: + ld.ub r9, r12++ mgl@1371: + cp.w r10, 0 mgl@1371: + reteq r9 mgl@1371: + sub r9, r10 mgl@1371: + breq 0b mgl@1371: + ret r9 mgl@1371: +#endif mgl@1371: +#else mgl@1371: +0: mgl@1371: + ld.w r10, r12++ mgl@1371: + ld.w r9, r11++ mgl@1371: + tnbz r10 mgl@1371: + breq 1f mgl@1371: + cp.w r10, r9 mgl@1371: + breq 0b mgl@1371: + mgl@1371: +1: mgl@1371: + bfextu r12, r10, 24, 8 mgl@1371: + bfextu r11, r9, 24, 8 mgl@1371: + reteq r12 mgl@1371: + sub r12, r11 mgl@1371: + retne r12 mgl@1371: + mgl@1371: + bfextu r12, r10, 16, 8 mgl@1371: + bfextu r11, r9, 16, 8 mgl@1371: + reteq r12 mgl@1371: + sub r12, r11 mgl@1371: + retne r12 mgl@1371: + mgl@1371: + bfextu r12, r10, 8, 8 mgl@1371: + bfextu r11, r9, 8, 8 mgl@1371: + reteq r12 mgl@1371: + sub r12, r11 mgl@1371: + retne r12 mgl@1371: + mgl@1371: + castu.b r10 mgl@1371: + castu.b r9 mgl@1371: + sub r10, r9 mgl@1371: + ret r10 mgl@1371: +#endif mgl@1371: diff -Naur newlib-1.17.0/newlib/libc/machine/avr32/strncpy.S newlib-1.17.0-new/newlib/libc/machine/avr32/strncpy.S mgl@1371: --- newlib-1.17.0/newlib/libc/machine/avr32/strncpy.S 1970-01-01 01:00:00.000000000 +0100 mgl@1371: +++ newlib-1.17.0-new/newlib/libc/machine/avr32/strncpy.S 2009-05-22 09:57:50.000000000 +0200 mgl@1371: @@ -0,0 +1,39 @@ mgl@1371: + .align 2 mgl@1371: + .global strncpy mgl@1371: + mgl@1371: +strncpy : mgl@1371: +#ifdef __AVR32_UC__ mgl@1371: + mov r8, 0 mgl@1371: +0: mgl@1371: + cp.w r10, r8 mgl@1371: + reteq r12 mgl@1371: + ld.ub r9, r11[r8] mgl@1371: + st.b r12[r8], r9 mgl@1371: + sub r8, -1 mgl@1371: + cp.w r9, 0 mgl@1371: + brne 0b mgl@1371: + mgl@1371: +1: mgl@1371: + cp.w r10, r8 mgl@1371: + reteq r12 mgl@1371: + st.b r12[r8], r9 mgl@1371: + sub r8, -1 mgl@1371: + rjmp 1b mgl@1371: +#else mgl@1371: + mov r8, r12 mgl@1371: +0: mgl@1371: + sub r10, 1 mgl@1371: + ld.ub r9, r11++ mgl@1371: + retmi r12 mgl@1371: + st.b r8++, r9 mgl@1371: + cp.w r9, 0 mgl@1371: + brne 0b mgl@1371: + mgl@1371: +1: mgl@1371: + sub r10, 1 mgl@1371: + retmi r12 mgl@1371: + st.b r8++, r9 mgl@1371: + rjmp 1b mgl@1371: + mgl@1371: + mgl@1371: +#endif mgl@1371: diff -Naur newlib-1.17.0/newlib/libc/machine/configure newlib-1.17.0-new/newlib/libc/machine/configure mgl@1371: --- newlib-1.17.0/newlib/libc/machine/configure 2008-12-22 20:45:41.000000000 +0100 mgl@1371: +++ newlib-1.17.0-new/newlib/libc/machine/configure 2009-05-22 09:57:50.000000000 +0200 mgl@1371: @@ -1,25 +1,54 @@ mgl@1371: #! /bin/sh mgl@1371: # Guess values for system-dependent variables and create Makefiles. mgl@1371: -# Generated by GNU Autoconf 2.59 for newlib 1.17.0. mgl@1371: +# Generated by GNU Autoconf 2.61 for newlib 1.17.0. mgl@1371: # mgl@1371: -# Copyright (C) 2003 Free Software Foundation, Inc. mgl@1371: +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, mgl@1371: +# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. mgl@1371: # This configure script is free software; the Free Software Foundation mgl@1371: # gives unlimited permission to copy, distribute and modify it. mgl@1371: ## --------------------- ## mgl@1371: ## M4sh Initialization. ## mgl@1371: ## --------------------- ## mgl@1371: mgl@1371: -# Be Bourne compatible mgl@1371: +# Be more Bourne compatible mgl@1371: +DUALCASE=1; export DUALCASE # for MKS sh mgl@1371: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then mgl@1371: emulate sh mgl@1371: NULLCMD=: mgl@1371: # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which mgl@1371: # is contrary to our usage. Disable this feature. mgl@1371: alias -g '${1+"$@"}'='"$@"' mgl@1371: -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then mgl@1371: - set -o posix mgl@1371: + setopt NO_GLOB_SUBST mgl@1371: +else mgl@1371: + case `(set -o) 2>/dev/null` in mgl@1371: + *posix*) set -o posix ;; mgl@1371: +esac mgl@1371: + mgl@1371: +fi mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: +# PATH needs CR mgl@1371: +# Avoid depending upon Character Ranges. mgl@1371: +as_cr_letters='abcdefghijklmnopqrstuvwxyz' mgl@1371: +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' mgl@1371: +as_cr_Letters=$as_cr_letters$as_cr_LETTERS mgl@1371: +as_cr_digits='0123456789' mgl@1371: +as_cr_alnum=$as_cr_Letters$as_cr_digits mgl@1371: + mgl@1371: +# The user is always right. mgl@1371: +if test "${PATH_SEPARATOR+set}" != set; then mgl@1371: + echo "#! /bin/sh" >conf$$.sh mgl@1371: + echo "exit 0" >>conf$$.sh mgl@1371: + chmod +x conf$$.sh mgl@1371: + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then mgl@1371: + PATH_SEPARATOR=';' mgl@1371: + else mgl@1371: + PATH_SEPARATOR=: mgl@1371: + fi mgl@1371: + rm -f conf$$.sh mgl@1371: fi mgl@1371: -DUALCASE=1; export DUALCASE # for MKS sh mgl@1371: mgl@1371: # Support unset when possible. mgl@1371: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then mgl@1371: @@ -29,8 +58,43 @@ mgl@1371: fi mgl@1371: mgl@1371: mgl@1371: +# IFS mgl@1371: +# We need space, tab and new line, in precisely that order. Quoting is mgl@1371: +# there to prevent editors from complaining about space-tab. mgl@1371: +# (If _AS_PATH_WALK were called with IFS unset, it would disable word mgl@1371: +# splitting by setting IFS to empty value.) mgl@1371: +as_nl=' mgl@1371: +' mgl@1371: +IFS=" "" $as_nl" mgl@1371: + mgl@1371: +# Find who we are. Look in the path if we contain no directory separator. mgl@1371: +case $0 in mgl@1371: + *[\\/]* ) as_myself=$0 ;; mgl@1371: + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR mgl@1371: +for as_dir in $PATH mgl@1371: +do mgl@1371: + IFS=$as_save_IFS mgl@1371: + test -z "$as_dir" && as_dir=. mgl@1371: + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break mgl@1371: +done mgl@1371: +IFS=$as_save_IFS mgl@1371: + mgl@1371: + ;; mgl@1371: +esac mgl@1371: +# We did not find ourselves, most probably we were run as `sh COMMAND' mgl@1371: +# in which case we are not to be found in the path. mgl@1371: +if test "x$as_myself" = x; then mgl@1371: + as_myself=$0 mgl@1371: +fi mgl@1371: +if test ! -f "$as_myself"; then mgl@1371: + echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 mgl@1371: + { (exit 1); exit 1; } mgl@1371: +fi mgl@1371: + mgl@1371: # Work around bugs in pre-3.0 UWIN ksh. mgl@1371: -$as_unset ENV MAIL MAILPATH mgl@1371: +for as_var in ENV MAIL MAILPATH mgl@1371: +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var mgl@1371: +done mgl@1371: PS1='$ ' mgl@1371: PS2='> ' mgl@1371: PS4='+ ' mgl@1371: @@ -44,18 +108,19 @@ mgl@1371: if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then mgl@1371: eval $as_var=C; export $as_var mgl@1371: else mgl@1371: - $as_unset $as_var mgl@1371: + ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var mgl@1371: fi mgl@1371: done mgl@1371: mgl@1371: # Required to use basename. mgl@1371: -if expr a : '\(a\)' >/dev/null 2>&1; then mgl@1371: +if expr a : '\(a\)' >/dev/null 2>&1 && mgl@1371: + test "X`expr 00001 : '.*\(...\)'`" = X001; then mgl@1371: as_expr=expr mgl@1371: else mgl@1371: as_expr=false mgl@1371: fi mgl@1371: mgl@1371: -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then mgl@1371: +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then mgl@1371: as_basename=basename mgl@1371: else mgl@1371: as_basename=false mgl@1371: @@ -63,157 +128,388 @@ mgl@1371: mgl@1371: mgl@1371: # Name of the executable. mgl@1371: -as_me=`$as_basename "$0" || mgl@1371: +as_me=`$as_basename -- "$0" || mgl@1371: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ mgl@1371: X"$0" : 'X\(//\)$' \| \ mgl@1371: - X"$0" : 'X\(/\)$' \| \ mgl@1371: - . : '\(.\)' 2>/dev/null || mgl@1371: + X"$0" : 'X\(/\)' \| . 2>/dev/null || mgl@1371: echo X/"$0" | mgl@1371: - sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } mgl@1371: - /^X\/\(\/\/\)$/{ s//\1/; q; } mgl@1371: - /^X\/\(\/\).*/{ s//\1/; q; } mgl@1371: - s/.*/./; q'` mgl@1371: + sed '/^.*\/\([^/][^/]*\)\/*$/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + /^X\/\(\/\/\)$/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + /^X\/\(\/\).*/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + s/.*/./; q'` mgl@1371: mgl@1371: +# CDPATH. mgl@1371: +$as_unset CDPATH mgl@1371: mgl@1371: -# PATH needs CR, and LINENO needs CR and PATH. mgl@1371: -# Avoid depending upon Character Ranges. mgl@1371: -as_cr_letters='abcdefghijklmnopqrstuvwxyz' mgl@1371: -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' mgl@1371: -as_cr_Letters=$as_cr_letters$as_cr_LETTERS mgl@1371: -as_cr_digits='0123456789' mgl@1371: -as_cr_alnum=$as_cr_Letters$as_cr_digits mgl@1371: mgl@1371: -# The user is always right. mgl@1371: -if test "${PATH_SEPARATOR+set}" != set; then mgl@1371: - echo "#! /bin/sh" >conf$$.sh mgl@1371: - echo "exit 0" >>conf$$.sh mgl@1371: - chmod +x conf$$.sh mgl@1371: - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then mgl@1371: - PATH_SEPARATOR=';' mgl@1371: - else mgl@1371: - PATH_SEPARATOR=: mgl@1371: - fi mgl@1371: - rm -f conf$$.sh mgl@1371: +if test "x$CONFIG_SHELL" = x; then mgl@1371: + if (eval ":") 2>/dev/null; then mgl@1371: + as_have_required=yes mgl@1371: +else mgl@1371: + as_have_required=no mgl@1371: fi mgl@1371: mgl@1371: + if test $as_have_required = yes && (eval ": mgl@1371: +(as_func_return () { mgl@1371: + (exit \$1) mgl@1371: +} mgl@1371: +as_func_success () { mgl@1371: + as_func_return 0 mgl@1371: +} mgl@1371: +as_func_failure () { mgl@1371: + as_func_return 1 mgl@1371: +} mgl@1371: +as_func_ret_success () { mgl@1371: + return 0 mgl@1371: +} mgl@1371: +as_func_ret_failure () { mgl@1371: + return 1 mgl@1371: +} mgl@1371: mgl@1371: - as_lineno_1=$LINENO mgl@1371: - as_lineno_2=$LINENO mgl@1371: - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` mgl@1371: - test "x$as_lineno_1" != "x$as_lineno_2" && mgl@1371: - test "x$as_lineno_3" = "x$as_lineno_2" || { mgl@1371: - # Find who we are. Look in the path if we contain no path at all mgl@1371: - # relative or not. mgl@1371: - case $0 in mgl@1371: - *[\\/]* ) as_myself=$0 ;; mgl@1371: - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR mgl@1371: -for as_dir in $PATH mgl@1371: -do mgl@1371: - IFS=$as_save_IFS mgl@1371: - test -z "$as_dir" && as_dir=. mgl@1371: - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break mgl@1371: -done mgl@1371: +exitcode=0 mgl@1371: +if as_func_success; then mgl@1371: + : mgl@1371: +else mgl@1371: + exitcode=1 mgl@1371: + echo as_func_success failed. mgl@1371: +fi mgl@1371: mgl@1371: - ;; mgl@1371: - esac mgl@1371: - # We did not find ourselves, most probably we were run as `sh COMMAND' mgl@1371: - # in which case we are not to be found in the path. mgl@1371: - if test "x$as_myself" = x; then mgl@1371: - as_myself=$0 mgl@1371: - fi mgl@1371: - if test ! -f "$as_myself"; then mgl@1371: - { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 mgl@1371: - { (exit 1); exit 1; }; } mgl@1371: - fi mgl@1371: - case $CONFIG_SHELL in mgl@1371: - '') mgl@1371: +if as_func_failure; then mgl@1371: + exitcode=1 mgl@1371: + echo as_func_failure succeeded. mgl@1371: +fi mgl@1371: + mgl@1371: +if as_func_ret_success; then mgl@1371: + : mgl@1371: +else mgl@1371: + exitcode=1 mgl@1371: + echo as_func_ret_success failed. mgl@1371: +fi mgl@1371: + mgl@1371: +if as_func_ret_failure; then mgl@1371: + exitcode=1 mgl@1371: + echo as_func_ret_failure succeeded. mgl@1371: +fi mgl@1371: + mgl@1371: +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then mgl@1371: + : mgl@1371: +else mgl@1371: + exitcode=1 mgl@1371: + echo positional parameters were not saved. mgl@1371: +fi mgl@1371: + mgl@1371: +test \$exitcode = 0) || { (exit 1); exit 1; } mgl@1371: + mgl@1371: +( mgl@1371: + as_lineno_1=\$LINENO mgl@1371: + as_lineno_2=\$LINENO mgl@1371: + test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && mgl@1371: + test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } mgl@1371: +") 2> /dev/null; then mgl@1371: + : mgl@1371: +else mgl@1371: + as_candidate_shells= mgl@1371: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR mgl@1371: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH mgl@1371: do mgl@1371: IFS=$as_save_IFS mgl@1371: test -z "$as_dir" && as_dir=. mgl@1371: - for as_base in sh bash ksh sh5; do mgl@1371: - case $as_dir in mgl@1371: + case $as_dir in mgl@1371: /*) mgl@1371: - if ("$as_dir/$as_base" -c ' mgl@1371: + for as_base in sh bash ksh sh5; do mgl@1371: + as_candidate_shells="$as_candidate_shells $as_dir/$as_base" mgl@1371: + done;; mgl@1371: + esac mgl@1371: +done mgl@1371: +IFS=$as_save_IFS mgl@1371: + mgl@1371: + mgl@1371: + for as_shell in $as_candidate_shells $SHELL; do mgl@1371: + # Try only shells that exist, to save several forks. mgl@1371: + if { test -f "$as_shell" || test -f "$as_shell.exe"; } && mgl@1371: + { ("$as_shell") 2> /dev/null <<\_ASEOF mgl@1371: +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then mgl@1371: + emulate sh mgl@1371: + NULLCMD=: mgl@1371: + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which mgl@1371: + # is contrary to our usage. Disable this feature. mgl@1371: + alias -g '${1+"$@"}'='"$@"' mgl@1371: + setopt NO_GLOB_SUBST mgl@1371: +else mgl@1371: + case `(set -o) 2>/dev/null` in mgl@1371: + *posix*) set -o posix ;; mgl@1371: +esac mgl@1371: + mgl@1371: +fi mgl@1371: + mgl@1371: + mgl@1371: +: mgl@1371: +_ASEOF mgl@1371: +}; then mgl@1371: + CONFIG_SHELL=$as_shell mgl@1371: + as_have_required=yes mgl@1371: + if { "$as_shell" 2> /dev/null <<\_ASEOF mgl@1371: +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then mgl@1371: + emulate sh mgl@1371: + NULLCMD=: mgl@1371: + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which mgl@1371: + # is contrary to our usage. Disable this feature. mgl@1371: + alias -g '${1+"$@"}'='"$@"' mgl@1371: + setopt NO_GLOB_SUBST mgl@1371: +else mgl@1371: + case `(set -o) 2>/dev/null` in mgl@1371: + *posix*) set -o posix ;; mgl@1371: +esac mgl@1371: + mgl@1371: +fi mgl@1371: + mgl@1371: + mgl@1371: +: mgl@1371: +(as_func_return () { mgl@1371: + (exit $1) mgl@1371: +} mgl@1371: +as_func_success () { mgl@1371: + as_func_return 0 mgl@1371: +} mgl@1371: +as_func_failure () { mgl@1371: + as_func_return 1 mgl@1371: +} mgl@1371: +as_func_ret_success () { mgl@1371: + return 0 mgl@1371: +} mgl@1371: +as_func_ret_failure () { mgl@1371: + return 1 mgl@1371: +} mgl@1371: + mgl@1371: +exitcode=0 mgl@1371: +if as_func_success; then mgl@1371: + : mgl@1371: +else mgl@1371: + exitcode=1 mgl@1371: + echo as_func_success failed. mgl@1371: +fi mgl@1371: + mgl@1371: +if as_func_failure; then mgl@1371: + exitcode=1 mgl@1371: + echo as_func_failure succeeded. mgl@1371: +fi mgl@1371: + mgl@1371: +if as_func_ret_success; then mgl@1371: + : mgl@1371: +else mgl@1371: + exitcode=1 mgl@1371: + echo as_func_ret_success failed. mgl@1371: +fi mgl@1371: + mgl@1371: +if as_func_ret_failure; then mgl@1371: + exitcode=1 mgl@1371: + echo as_func_ret_failure succeeded. mgl@1371: +fi mgl@1371: + mgl@1371: +if ( set x; as_func_ret_success y && test x = "$1" ); then mgl@1371: + : mgl@1371: +else mgl@1371: + exitcode=1 mgl@1371: + echo positional parameters were not saved. mgl@1371: +fi mgl@1371: + mgl@1371: +test $exitcode = 0) || { (exit 1); exit 1; } mgl@1371: + mgl@1371: +( mgl@1371: as_lineno_1=$LINENO mgl@1371: as_lineno_2=$LINENO mgl@1371: - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` mgl@1371: test "x$as_lineno_1" != "x$as_lineno_2" && mgl@1371: - test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then mgl@1371: - $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } mgl@1371: - $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } mgl@1371: - CONFIG_SHELL=$as_dir/$as_base mgl@1371: - export CONFIG_SHELL mgl@1371: - exec "$CONFIG_SHELL" "$0" ${1+"$@"} mgl@1371: - fi;; mgl@1371: - esac mgl@1371: - done mgl@1371: -done mgl@1371: -;; mgl@1371: - esac mgl@1371: + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } mgl@1371: + mgl@1371: +_ASEOF mgl@1371: +}; then mgl@1371: + break mgl@1371: +fi mgl@1371: + mgl@1371: +fi mgl@1371: + mgl@1371: + done mgl@1371: + mgl@1371: + if test "x$CONFIG_SHELL" != x; then mgl@1371: + for as_var in BASH_ENV ENV mgl@1371: + do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var mgl@1371: + done mgl@1371: + export CONFIG_SHELL mgl@1371: + exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} mgl@1371: +fi mgl@1371: + mgl@1371: + mgl@1371: + if test $as_have_required = no; then mgl@1371: + echo This script requires a shell more modern than all the mgl@1371: + echo shells that I found on your system. Please install a mgl@1371: + echo modern shell, or manually run the script under such a mgl@1371: + echo shell if you do have one. mgl@1371: + { (exit 1); exit 1; } mgl@1371: +fi mgl@1371: + mgl@1371: + mgl@1371: +fi mgl@1371: + mgl@1371: +fi mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: +(eval "as_func_return () { mgl@1371: + (exit \$1) mgl@1371: +} mgl@1371: +as_func_success () { mgl@1371: + as_func_return 0 mgl@1371: +} mgl@1371: +as_func_failure () { mgl@1371: + as_func_return 1 mgl@1371: +} mgl@1371: +as_func_ret_success () { mgl@1371: + return 0 mgl@1371: +} mgl@1371: +as_func_ret_failure () { mgl@1371: + return 1 mgl@1371: +} mgl@1371: + mgl@1371: +exitcode=0 mgl@1371: +if as_func_success; then mgl@1371: + : mgl@1371: +else mgl@1371: + exitcode=1 mgl@1371: + echo as_func_success failed. mgl@1371: +fi mgl@1371: + mgl@1371: +if as_func_failure; then mgl@1371: + exitcode=1 mgl@1371: + echo as_func_failure succeeded. mgl@1371: +fi mgl@1371: + mgl@1371: +if as_func_ret_success; then mgl@1371: + : mgl@1371: +else mgl@1371: + exitcode=1 mgl@1371: + echo as_func_ret_success failed. mgl@1371: +fi mgl@1371: + mgl@1371: +if as_func_ret_failure; then mgl@1371: + exitcode=1 mgl@1371: + echo as_func_ret_failure succeeded. mgl@1371: +fi mgl@1371: + mgl@1371: +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then mgl@1371: + : mgl@1371: +else mgl@1371: + exitcode=1 mgl@1371: + echo positional parameters were not saved. mgl@1371: +fi mgl@1371: + mgl@1371: +test \$exitcode = 0") || { mgl@1371: + echo No shell found that supports shell functions. mgl@1371: + echo Please tell autoconf@gnu.org about your system, mgl@1371: + echo including any error possibly output before this mgl@1371: + echo message mgl@1371: +} mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: + as_lineno_1=$LINENO mgl@1371: + as_lineno_2=$LINENO mgl@1371: + test "x$as_lineno_1" != "x$as_lineno_2" && mgl@1371: + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { mgl@1371: mgl@1371: # Create $as_me.lineno as a copy of $as_myself, but with $LINENO mgl@1371: # uniformly replaced by the line number. The first 'sed' inserts a mgl@1371: - # line-number line before each line; the second 'sed' does the real mgl@1371: - # work. The second script uses 'N' to pair each line-number line mgl@1371: - # with the numbered line, and appends trailing '-' during mgl@1371: - # substitution so that $LINENO is not a special case at line end. mgl@1371: + # line-number line after each line using $LINENO; the second 'sed' mgl@1371: + # does the real work. The second script uses 'N' to pair each mgl@1371: + # line-number line with the line containing $LINENO, and appends mgl@1371: + # trailing '-' during substitution so that $LINENO is not a special mgl@1371: + # case at line end. mgl@1371: # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the mgl@1371: - # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) mgl@1371: - sed '=' <$as_myself | mgl@1371: + # scripts with optimization help from Paolo Bonzini. Blame Lee mgl@1371: + # E. McMahon (1931-1989) for sed's syntax. :-) mgl@1371: + sed -n ' mgl@1371: + p mgl@1371: + /[$]LINENO/= mgl@1371: + ' <$as_myself | mgl@1371: sed ' mgl@1371: + s/[$]LINENO.*/&-/ mgl@1371: + t lineno mgl@1371: + b mgl@1371: + :lineno mgl@1371: N mgl@1371: - s,$,-, mgl@1371: - : loop mgl@1371: - s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, mgl@1371: + :loop mgl@1371: + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ mgl@1371: t loop mgl@1371: - s,-$,, mgl@1371: - s,^['$as_cr_digits']*\n,, mgl@1371: + s/-\n.*// mgl@1371: ' >$as_me.lineno && mgl@1371: - chmod +x $as_me.lineno || mgl@1371: + chmod +x "$as_me.lineno" || mgl@1371: { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 mgl@1371: { (exit 1); exit 1; }; } mgl@1371: mgl@1371: # Don't try to exec as it changes $[0], causing all sort of problems mgl@1371: # (the dirname of $[0] is not the place where we might find the mgl@1371: - # original and so on. Autoconf is especially sensible to this). mgl@1371: - . ./$as_me.lineno mgl@1371: + # original and so on. Autoconf is especially sensitive to this). mgl@1371: + . "./$as_me.lineno" mgl@1371: # Exit status is that of the last command. mgl@1371: exit mgl@1371: } mgl@1371: mgl@1371: mgl@1371: -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in mgl@1371: - *c*,-n*) ECHO_N= ECHO_C=' mgl@1371: -' ECHO_T=' ' ;; mgl@1371: - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; mgl@1371: - *) ECHO_N= ECHO_C='\c' ECHO_T= ;; mgl@1371: +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then mgl@1371: + as_dirname=dirname mgl@1371: +else mgl@1371: + as_dirname=false mgl@1371: +fi mgl@1371: + mgl@1371: +ECHO_C= ECHO_N= ECHO_T= mgl@1371: +case `echo -n x` in mgl@1371: +-n*) mgl@1371: + case `echo 'x\c'` in mgl@1371: + *c*) ECHO_T=' ';; # ECHO_T is single tab character. mgl@1371: + *) ECHO_C='\c';; mgl@1371: + esac;; mgl@1371: +*) mgl@1371: + ECHO_N='-n';; mgl@1371: esac mgl@1371: mgl@1371: -if expr a : '\(a\)' >/dev/null 2>&1; then mgl@1371: +if expr a : '\(a\)' >/dev/null 2>&1 && mgl@1371: + test "X`expr 00001 : '.*\(...\)'`" = X001; then mgl@1371: as_expr=expr mgl@1371: else mgl@1371: as_expr=false mgl@1371: fi mgl@1371: mgl@1371: rm -f conf$$ conf$$.exe conf$$.file mgl@1371: +if test -d conf$$.dir; then mgl@1371: + rm -f conf$$.dir/conf$$.file mgl@1371: +else mgl@1371: + rm -f conf$$.dir mgl@1371: + mkdir conf$$.dir mgl@1371: +fi mgl@1371: echo >conf$$.file mgl@1371: if ln -s conf$$.file conf$$ 2>/dev/null; then mgl@1371: - # We could just check for DJGPP; but this test a) works b) is more generic mgl@1371: - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). mgl@1371: - if test -f conf$$.exe; then mgl@1371: - # Don't use ln at all; we don't have any links mgl@1371: + as_ln_s='ln -s' mgl@1371: + # ... but there are two gotchas: mgl@1371: + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. mgl@1371: + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. mgl@1371: + # In both cases, we have to default to `cp -p'. mgl@1371: + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || mgl@1371: as_ln_s='cp -p' mgl@1371: - else mgl@1371: - as_ln_s='ln -s' mgl@1371: - fi mgl@1371: elif ln conf$$.file conf$$ 2>/dev/null; then mgl@1371: as_ln_s=ln mgl@1371: else mgl@1371: as_ln_s='cp -p' mgl@1371: fi mgl@1371: -rm -f conf$$ conf$$.exe conf$$.file mgl@1371: +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file mgl@1371: +rmdir conf$$.dir 2>/dev/null mgl@1371: mgl@1371: if mkdir -p . 2>/dev/null; then mgl@1371: as_mkdir_p=: mgl@1371: @@ -222,7 +518,28 @@ mgl@1371: as_mkdir_p=false mgl@1371: fi mgl@1371: mgl@1371: -as_executable_p="test -f" mgl@1371: +if test -x / >/dev/null 2>&1; then mgl@1371: + as_test_x='test -x' mgl@1371: +else mgl@1371: + if ls -dL / >/dev/null 2>&1; then mgl@1371: + as_ls_L_option=L mgl@1371: + else mgl@1371: + as_ls_L_option= mgl@1371: + fi mgl@1371: + as_test_x=' mgl@1371: + eval sh -c '\'' mgl@1371: + if test -d "$1"; then mgl@1371: + test -d "$1/."; mgl@1371: + else mgl@1371: + case $1 in mgl@1371: + -*)set "./$1";; mgl@1371: + esac; mgl@1371: + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in mgl@1371: + ???[sx]*):;;*)false;;esac;fi mgl@1371: + '\'' sh mgl@1371: + ' mgl@1371: +fi mgl@1371: +as_executable_p=$as_test_x mgl@1371: mgl@1371: # Sed expression to map a string onto a valid CPP name. mgl@1371: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" mgl@1371: @@ -231,15 +548,6 @@ mgl@1371: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" mgl@1371: mgl@1371: mgl@1371: -# IFS mgl@1371: -# We need space, tab and new line, in precisely that order. mgl@1371: -as_nl=' mgl@1371: -' mgl@1371: -IFS=" $as_nl" mgl@1371: - mgl@1371: -# CDPATH. mgl@1371: -$as_unset CDPATH mgl@1371: - mgl@1371: mgl@1371: mgl@1371: # Check that we are running under the correct shell. mgl@1371: @@ -390,29 +698,26 @@ mgl@1371: mgl@1371: mgl@1371: mgl@1371: +exec 7<&0 &1 mgl@1371: + mgl@1371: # Name of the host. mgl@1371: # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, mgl@1371: # so uname gets run too. mgl@1371: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` mgl@1371: mgl@1371: -exec 6>&1 mgl@1371: - mgl@1371: # mgl@1371: # Initializations. mgl@1371: # mgl@1371: ac_default_prefix=/usr/local mgl@1371: +ac_clean_files= mgl@1371: ac_config_libobj_dir=. mgl@1371: +LIBOBJS= mgl@1371: cross_compiling=no mgl@1371: subdirs= mgl@1371: MFLAGS= mgl@1371: MAKEFLAGS= mgl@1371: SHELL=${CONFIG_SHELL-/bin/sh} mgl@1371: mgl@1371: -# Maximum number of lines to put in a shell here document. mgl@1371: -# This variable seems obsolete. It should probably be removed, and mgl@1371: -# only ac_max_sed_lines should be used. mgl@1371: -: ${ac_max_here_lines=38} mgl@1371: - mgl@1371: # Identity of this package. mgl@1371: PACKAGE_NAME='newlib' mgl@1371: PACKAGE_TARNAME='newlib' mgl@1371: @@ -424,81 +729,228 @@ mgl@1371: # Factoring default headers for most tests. mgl@1371: ac_includes_default="\ mgl@1371: #include mgl@1371: -#if HAVE_SYS_TYPES_H mgl@1371: +#ifdef HAVE_SYS_TYPES_H mgl@1371: # include mgl@1371: #endif mgl@1371: -#if HAVE_SYS_STAT_H mgl@1371: +#ifdef HAVE_SYS_STAT_H mgl@1371: # include mgl@1371: #endif mgl@1371: -#if STDC_HEADERS mgl@1371: +#ifdef STDC_HEADERS mgl@1371: # include mgl@1371: # include mgl@1371: #else mgl@1371: -# if HAVE_STDLIB_H mgl@1371: +# ifdef HAVE_STDLIB_H mgl@1371: # include mgl@1371: # endif mgl@1371: #endif mgl@1371: -#if HAVE_STRING_H mgl@1371: -# if !STDC_HEADERS && HAVE_MEMORY_H mgl@1371: +#ifdef HAVE_STRING_H mgl@1371: +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H mgl@1371: # include mgl@1371: # endif mgl@1371: # include mgl@1371: #endif mgl@1371: -#if HAVE_STRINGS_H mgl@1371: +#ifdef HAVE_STRINGS_H mgl@1371: # include mgl@1371: #endif mgl@1371: -#if HAVE_INTTYPES_H mgl@1371: +#ifdef HAVE_INTTYPES_H mgl@1371: # include mgl@1371: -#else mgl@1371: -# if HAVE_STDINT_H mgl@1371: -# include mgl@1371: -# endif mgl@1371: #endif mgl@1371: -#if HAVE_UNISTD_H mgl@1371: +#ifdef HAVE_STDINT_H mgl@1371: +# include mgl@1371: +#endif mgl@1371: +#ifdef HAVE_UNISTD_H mgl@1371: # include mgl@1371: #endif" mgl@1371: mgl@1371: -ac_subdirs_all="$ac_subdirs_all a29k" mgl@1371: -ac_subdirs_all="$ac_subdirs_all arm" mgl@1371: -ac_subdirs_all="$ac_subdirs_all bfin" mgl@1371: -ac_subdirs_all="$ac_subdirs_all cris" mgl@1371: -ac_subdirs_all="$ac_subdirs_all crx" mgl@1371: -ac_subdirs_all="$ac_subdirs_all d10v" mgl@1371: -ac_subdirs_all="$ac_subdirs_all d30v" mgl@1371: -ac_subdirs_all="$ac_subdirs_all fr30" mgl@1371: -ac_subdirs_all="$ac_subdirs_all frv" mgl@1371: -ac_subdirs_all="$ac_subdirs_all h8300" mgl@1371: -ac_subdirs_all="$ac_subdirs_all h8500" mgl@1371: -ac_subdirs_all="$ac_subdirs_all hppa" mgl@1371: -ac_subdirs_all="$ac_subdirs_all i386" mgl@1371: -ac_subdirs_all="$ac_subdirs_all i960" mgl@1371: -ac_subdirs_all="$ac_subdirs_all iq2000" mgl@1371: -ac_subdirs_all="$ac_subdirs_all lm32" mgl@1371: -ac_subdirs_all="$ac_subdirs_all m32c" mgl@1371: -ac_subdirs_all="$ac_subdirs_all m32r" mgl@1371: -ac_subdirs_all="$ac_subdirs_all m68hc11" mgl@1371: -ac_subdirs_all="$ac_subdirs_all m68k" mgl@1371: -ac_subdirs_all="$ac_subdirs_all m88k" mgl@1371: -ac_subdirs_all="$ac_subdirs_all mep" mgl@1371: -ac_subdirs_all="$ac_subdirs_all mips" mgl@1371: -ac_subdirs_all="$ac_subdirs_all mn10200" mgl@1371: -ac_subdirs_all="$ac_subdirs_all mn10300" mgl@1371: -ac_subdirs_all="$ac_subdirs_all mt" mgl@1371: -ac_subdirs_all="$ac_subdirs_all necv70" mgl@1371: -ac_subdirs_all="$ac_subdirs_all powerpc" mgl@1371: -ac_subdirs_all="$ac_subdirs_all sh" mgl@1371: -ac_subdirs_all="$ac_subdirs_all sparc" mgl@1371: -ac_subdirs_all="$ac_subdirs_all spu" mgl@1371: -ac_subdirs_all="$ac_subdirs_all tic4x" mgl@1371: -ac_subdirs_all="$ac_subdirs_all tic80" mgl@1371: -ac_subdirs_all="$ac_subdirs_all v850" mgl@1371: -ac_subdirs_all="$ac_subdirs_all w65" mgl@1371: -ac_subdirs_all="$ac_subdirs_all x86_64" mgl@1371: -ac_subdirs_all="$ac_subdirs_all xscale" mgl@1371: -ac_subdirs_all="$ac_subdirs_all xstormy16" mgl@1371: -ac_subdirs_all="$ac_subdirs_all z8k" mgl@1371: -ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS MAY_SUPPLY_SYSCALLS_TRUE MAY_SUPPLY_SYSCALLS_FALSE newlib_basedir build build_cpu build_vendor build_os host host_cpu host_vendor host_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar CC DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB READELF ac_ct_READELF MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CCAS CCASFLAGS NEWLIB_CFLAGS LDFLAGS ELIX_LEVEL_0_TRUE ELIX_LEVEL_0_FALSE ELIX_LEVEL_1_TRUE ELIX_LEVEL_1_FALSE ELIX_LEVEL_2_TRUE ELIX_LEVEL_2_FALSE ELIX_LEVEL_3_TRUE ELIX_LEVEL_3_FALSE ELIX_LEVEL_4_TRUE ELIX_LEVEL_4_FALSE USE_LIBTOOL_TRUE USE_LIBTOOL_FALSE OBJEXT oext aext lpfx libm_machine_dir machine_dir sys_dir SED DLLTOOL ac_ct_DLLTOOL OBJDUMP ac_ct_OBJDUMP LIBTOOL CFLAGS CPPFLAGS ac_ct_CC EXEEXT EGREP FGREP GREP LD DUMPBIN ac_ct_DUMPBIN NM LN_S lt_ECHO DSYMUTIL ac_ct_DSYMUTIL NMEDIT ac_ct_NMEDIT LIPO ac_ct_LIPO OTOOL ac_ct_OTOOL OTOOL64 ac_ct_OTOOL64 CPP subdirs HAVE_MACHINE_DIR_TRUE HAVE_MACHINE_DIR_FALSE LIBOBJS LTLIBOBJS' mgl@1371: +ac_subst_vars='SHELL mgl@1371: +PATH_SEPARATOR mgl@1371: +PACKAGE_NAME mgl@1371: +PACKAGE_TARNAME mgl@1371: +PACKAGE_VERSION mgl@1371: +PACKAGE_STRING mgl@1371: +PACKAGE_BUGREPORT mgl@1371: +exec_prefix mgl@1371: +prefix mgl@1371: +program_transform_name mgl@1371: +bindir mgl@1371: +sbindir mgl@1371: +libexecdir mgl@1371: +datarootdir mgl@1371: +datadir mgl@1371: +sysconfdir mgl@1371: +sharedstatedir mgl@1371: +localstatedir mgl@1371: +includedir mgl@1371: +oldincludedir mgl@1371: +docdir mgl@1371: +infodir mgl@1371: +htmldir mgl@1371: +dvidir mgl@1371: +pdfdir mgl@1371: +psdir mgl@1371: +libdir mgl@1371: +localedir mgl@1371: +mandir mgl@1371: +DEFS mgl@1371: +ECHO_C mgl@1371: +ECHO_N mgl@1371: +ECHO_T mgl@1371: +LIBS mgl@1371: +build_alias mgl@1371: +host_alias mgl@1371: +target_alias mgl@1371: +MAY_SUPPLY_SYSCALLS_TRUE mgl@1371: +MAY_SUPPLY_SYSCALLS_FALSE mgl@1371: +newlib_basedir mgl@1371: +build mgl@1371: +build_cpu mgl@1371: +build_vendor mgl@1371: +build_os mgl@1371: +host mgl@1371: +host_cpu mgl@1371: +host_vendor mgl@1371: +host_os mgl@1371: +INSTALL_PROGRAM mgl@1371: +INSTALL_SCRIPT mgl@1371: +INSTALL_DATA mgl@1371: +CYGPATH_W mgl@1371: +PACKAGE mgl@1371: +VERSION mgl@1371: +ACLOCAL mgl@1371: +AUTOCONF mgl@1371: +AUTOMAKE mgl@1371: +AUTOHEADER mgl@1371: +MAKEINFO mgl@1371: +install_sh mgl@1371: +STRIP mgl@1371: +INSTALL_STRIP_PROGRAM mgl@1371: +mkdir_p mgl@1371: +AWK mgl@1371: +SET_MAKE mgl@1371: +am__leading_dot mgl@1371: +AMTAR mgl@1371: +am__tar mgl@1371: +am__untar mgl@1371: +CC mgl@1371: +DEPDIR mgl@1371: +am__include mgl@1371: +am__quote mgl@1371: +AMDEP_TRUE mgl@1371: +AMDEP_FALSE mgl@1371: +AMDEPBACKSLASH mgl@1371: +CCDEPMODE mgl@1371: +am__fastdepCC_TRUE mgl@1371: +am__fastdepCC_FALSE mgl@1371: +AS mgl@1371: +AR mgl@1371: +RANLIB mgl@1371: +READELF mgl@1371: +MAINTAINER_MODE_TRUE mgl@1371: +MAINTAINER_MODE_FALSE mgl@1371: +MAINT mgl@1371: +CCAS mgl@1371: +CCASFLAGS mgl@1371: +NEWLIB_CFLAGS mgl@1371: +LDFLAGS mgl@1371: +ELIX_LEVEL_0_TRUE mgl@1371: +ELIX_LEVEL_0_FALSE mgl@1371: +ELIX_LEVEL_1_TRUE mgl@1371: +ELIX_LEVEL_1_FALSE mgl@1371: +ELIX_LEVEL_2_TRUE mgl@1371: +ELIX_LEVEL_2_FALSE mgl@1371: +ELIX_LEVEL_3_TRUE mgl@1371: +ELIX_LEVEL_3_FALSE mgl@1371: +ELIX_LEVEL_4_TRUE mgl@1371: +ELIX_LEVEL_4_FALSE mgl@1371: +USE_LIBTOOL_TRUE mgl@1371: +USE_LIBTOOL_FALSE mgl@1371: +OBJEXT mgl@1371: +oext mgl@1371: +aext mgl@1371: +lpfx mgl@1371: +libm_machine_dir mgl@1371: +machine_dir mgl@1371: +sys_dir mgl@1371: +SED mgl@1371: +DLLTOOL mgl@1371: +OBJDUMP mgl@1371: +LIBTOOL mgl@1371: +CFLAGS mgl@1371: +CPPFLAGS mgl@1371: +ac_ct_CC mgl@1371: +EXEEXT mgl@1371: +GREP mgl@1371: +EGREP mgl@1371: +FGREP mgl@1371: +LD mgl@1371: +DUMPBIN mgl@1371: +ac_ct_DUMPBIN mgl@1371: +NM mgl@1371: +LN_S mgl@1371: +lt_ECHO mgl@1371: +DSYMUTIL mgl@1371: +NMEDIT mgl@1371: +LIPO mgl@1371: +OTOOL mgl@1371: +OTOOL64 mgl@1371: +CPP mgl@1371: +subdirs mgl@1371: +HAVE_MACHINE_DIR_TRUE mgl@1371: +HAVE_MACHINE_DIR_FALSE mgl@1371: +LIBOBJS mgl@1371: +LTLIBOBJS' mgl@1371: ac_subst_files='' mgl@1371: + ac_precious_vars='build_alias mgl@1371: +host_alias mgl@1371: +target_alias mgl@1371: +CCAS mgl@1371: +CCASFLAGS mgl@1371: +CC mgl@1371: +CFLAGS mgl@1371: +LDFLAGS mgl@1371: +LIBS mgl@1371: +CPPFLAGS mgl@1371: +CPP' mgl@1371: +ac_subdirs_all='a29k mgl@1371: +arm mgl@1371: +avr32 mgl@1371: +bfin mgl@1371: +cris mgl@1371: +crx mgl@1371: +d10v mgl@1371: +d30v mgl@1371: +fr30 mgl@1371: +frv mgl@1371: +h8300 mgl@1371: +h8500 mgl@1371: +hppa mgl@1371: +i386 mgl@1371: +i960 mgl@1371: +iq2000 mgl@1371: +lm32 mgl@1371: +m32c mgl@1371: +m32r mgl@1371: +m68hc11 mgl@1371: +m68k mgl@1371: +m88k mgl@1371: +mep mgl@1371: +mips mgl@1371: +mn10200 mgl@1371: +mn10300 mgl@1371: +mt mgl@1371: +necv70 mgl@1371: +powerpc mgl@1371: +sh mgl@1371: +sparc mgl@1371: +spu mgl@1371: +tic4x mgl@1371: +tic80 mgl@1371: +v850 mgl@1371: +w65 mgl@1371: +x86_64 mgl@1371: +xscale mgl@1371: +xstormy16 mgl@1371: +z8k' mgl@1371: mgl@1371: # Initialize some variables set by options. mgl@1371: ac_init_help= mgl@1371: @@ -525,34 +977,48 @@ mgl@1371: # and all the variables that are supposed to be based on exec_prefix mgl@1371: # by default will actually change. mgl@1371: # Use braces instead of parens because sh, perl, etc. also accept them. mgl@1371: +# (The list follows the same order as the GNU Coding Standards.) mgl@1371: bindir='${exec_prefix}/bin' mgl@1371: sbindir='${exec_prefix}/sbin' mgl@1371: libexecdir='${exec_prefix}/libexec' mgl@1371: -datadir='${prefix}/share' mgl@1371: +datarootdir='${prefix}/share' mgl@1371: +datadir='${datarootdir}' mgl@1371: sysconfdir='${prefix}/etc' mgl@1371: sharedstatedir='${prefix}/com' mgl@1371: localstatedir='${prefix}/var' mgl@1371: -libdir='${exec_prefix}/lib' mgl@1371: includedir='${prefix}/include' mgl@1371: oldincludedir='/usr/include' mgl@1371: -infodir='${prefix}/info' mgl@1371: -mandir='${prefix}/man' mgl@1371: +docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' mgl@1371: +infodir='${datarootdir}/info' mgl@1371: +htmldir='${docdir}' mgl@1371: +dvidir='${docdir}' mgl@1371: +pdfdir='${docdir}' mgl@1371: +psdir='${docdir}' mgl@1371: +libdir='${exec_prefix}/lib' mgl@1371: +localedir='${datarootdir}/locale' mgl@1371: +mandir='${datarootdir}/man' mgl@1371: mgl@1371: ac_prev= mgl@1371: +ac_dashdash= mgl@1371: for ac_option mgl@1371: do mgl@1371: # If the previous option needs an argument, assign it. mgl@1371: if test -n "$ac_prev"; then mgl@1371: - eval "$ac_prev=\$ac_option" mgl@1371: + eval $ac_prev=\$ac_option mgl@1371: ac_prev= mgl@1371: continue mgl@1371: fi mgl@1371: mgl@1371: - ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` mgl@1371: + case $ac_option in mgl@1371: + *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; mgl@1371: + *) ac_optarg=yes ;; mgl@1371: + esac mgl@1371: mgl@1371: # Accept the important Cygnus configure options, so we can diagnose typos. mgl@1371: mgl@1371: - case $ac_option in mgl@1371: + case $ac_dashdash$ac_option in mgl@1371: + --) mgl@1371: + ac_dashdash=yes ;; mgl@1371: mgl@1371: -bindir | --bindir | --bindi | --bind | --bin | --bi) mgl@1371: ac_prev=bindir ;; mgl@1371: @@ -574,33 +1040,45 @@ mgl@1371: --config-cache | -C) mgl@1371: cache_file=config.cache ;; mgl@1371: mgl@1371: - -datadir | --datadir | --datadi | --datad | --data | --dat | --da) mgl@1371: + -datadir | --datadir | --datadi | --datad) mgl@1371: ac_prev=datadir ;; mgl@1371: - -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ mgl@1371: - | --da=*) mgl@1371: + -datadir=* | --datadir=* | --datadi=* | --datad=*) mgl@1371: datadir=$ac_optarg ;; mgl@1371: mgl@1371: + -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ mgl@1371: + | --dataroo | --dataro | --datar) mgl@1371: + ac_prev=datarootdir ;; mgl@1371: + -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ mgl@1371: + | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) mgl@1371: + datarootdir=$ac_optarg ;; mgl@1371: + mgl@1371: -disable-* | --disable-*) mgl@1371: ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` mgl@1371: # Reject names that are not valid shell variable names. mgl@1371: - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && mgl@1371: + expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && mgl@1371: { echo "$as_me: error: invalid feature name: $ac_feature" >&2 mgl@1371: { (exit 1); exit 1; }; } mgl@1371: - ac_feature=`echo $ac_feature | sed 's/-/_/g'` mgl@1371: - eval "enable_$ac_feature=no" ;; mgl@1371: + ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` mgl@1371: + eval enable_$ac_feature=no ;; mgl@1371: + mgl@1371: + -docdir | --docdir | --docdi | --doc | --do) mgl@1371: + ac_prev=docdir ;; mgl@1371: + -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) mgl@1371: + docdir=$ac_optarg ;; mgl@1371: + mgl@1371: + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) mgl@1371: + ac_prev=dvidir ;; mgl@1371: + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) mgl@1371: + dvidir=$ac_optarg ;; mgl@1371: mgl@1371: -enable-* | --enable-*) mgl@1371: ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` mgl@1371: # Reject names that are not valid shell variable names. mgl@1371: - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && mgl@1371: + expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && mgl@1371: { echo "$as_me: error: invalid feature name: $ac_feature" >&2 mgl@1371: { (exit 1); exit 1; }; } mgl@1371: - ac_feature=`echo $ac_feature | sed 's/-/_/g'` mgl@1371: - case $ac_option in mgl@1371: - *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; mgl@1371: - *) ac_optarg=yes ;; mgl@1371: - esac mgl@1371: - eval "enable_$ac_feature='$ac_optarg'" ;; mgl@1371: + ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` mgl@1371: + eval enable_$ac_feature=\$ac_optarg ;; mgl@1371: mgl@1371: -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ mgl@1371: | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ mgl@1371: @@ -627,6 +1105,12 @@ mgl@1371: -host=* | --host=* | --hos=* | --ho=*) mgl@1371: host_alias=$ac_optarg ;; mgl@1371: mgl@1371: + -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) mgl@1371: + ac_prev=htmldir ;; mgl@1371: + -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ mgl@1371: + | --ht=*) mgl@1371: + htmldir=$ac_optarg ;; mgl@1371: + mgl@1371: -includedir | --includedir | --includedi | --included | --include \ mgl@1371: | --includ | --inclu | --incl | --inc) mgl@1371: ac_prev=includedir ;; mgl@1371: @@ -651,13 +1135,16 @@ mgl@1371: | --libexe=* | --libex=* | --libe=*) mgl@1371: libexecdir=$ac_optarg ;; mgl@1371: mgl@1371: + -localedir | --localedir | --localedi | --localed | --locale) mgl@1371: + ac_prev=localedir ;; mgl@1371: + -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) mgl@1371: + localedir=$ac_optarg ;; mgl@1371: + mgl@1371: -localstatedir | --localstatedir | --localstatedi | --localstated \ mgl@1371: - | --localstate | --localstat | --localsta | --localst \ mgl@1371: - | --locals | --local | --loca | --loc | --lo) mgl@1371: + | --localstate | --localstat | --localsta | --localst | --locals) mgl@1371: ac_prev=localstatedir ;; mgl@1371: -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ mgl@1371: - | --localstate=* | --localstat=* | --localsta=* | --localst=* \ mgl@1371: - | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) mgl@1371: + | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) mgl@1371: localstatedir=$ac_optarg ;; mgl@1371: mgl@1371: -mandir | --mandir | --mandi | --mand | --man | --ma | --m) mgl@1371: @@ -722,6 +1209,16 @@ mgl@1371: | --progr-tra=* | --program-tr=* | --program-t=*) mgl@1371: program_transform_name=$ac_optarg ;; mgl@1371: mgl@1371: + -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) mgl@1371: + ac_prev=pdfdir ;; mgl@1371: + -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) mgl@1371: + pdfdir=$ac_optarg ;; mgl@1371: + mgl@1371: + -psdir | --psdir | --psdi | --psd | --ps) mgl@1371: + ac_prev=psdir ;; mgl@1371: + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) mgl@1371: + psdir=$ac_optarg ;; mgl@1371: + mgl@1371: -q | -quiet | --quiet | --quie | --qui | --qu | --q \ mgl@1371: | -silent | --silent | --silen | --sile | --sil) mgl@1371: silent=yes ;; mgl@1371: @@ -774,24 +1271,20 @@ mgl@1371: -with-* | --with-*) mgl@1371: ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` mgl@1371: # Reject names that are not valid shell variable names. mgl@1371: - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && mgl@1371: + expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && mgl@1371: { echo "$as_me: error: invalid package name: $ac_package" >&2 mgl@1371: { (exit 1); exit 1; }; } mgl@1371: - ac_package=`echo $ac_package| sed 's/-/_/g'` mgl@1371: - case $ac_option in mgl@1371: - *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; mgl@1371: - *) ac_optarg=yes ;; mgl@1371: - esac mgl@1371: - eval "with_$ac_package='$ac_optarg'" ;; mgl@1371: + ac_package=`echo $ac_package | sed 's/[-.]/_/g'` mgl@1371: + eval with_$ac_package=\$ac_optarg ;; mgl@1371: mgl@1371: -without-* | --without-*) mgl@1371: ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` mgl@1371: # Reject names that are not valid shell variable names. mgl@1371: - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && mgl@1371: + expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && mgl@1371: { echo "$as_me: error: invalid package name: $ac_package" >&2 mgl@1371: { (exit 1); exit 1; }; } mgl@1371: - ac_package=`echo $ac_package | sed 's/-/_/g'` mgl@1371: - eval "with_$ac_package=no" ;; mgl@1371: + ac_package=`echo $ac_package | sed 's/[-.]/_/g'` mgl@1371: + eval with_$ac_package=no ;; mgl@1371: mgl@1371: --x) mgl@1371: # Obsolete; use --with-x. mgl@1371: @@ -822,8 +1315,7 @@ mgl@1371: expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && mgl@1371: { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 mgl@1371: { (exit 1); exit 1; }; } mgl@1371: - ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` mgl@1371: - eval "$ac_envvar='$ac_optarg'" mgl@1371: + eval $ac_envvar=\$ac_optarg mgl@1371: export $ac_envvar ;; mgl@1371: mgl@1371: *) mgl@1371: @@ -843,27 +1335,19 @@ mgl@1371: { (exit 1); exit 1; }; } mgl@1371: fi mgl@1371: mgl@1371: -# Be sure to have absolute paths. mgl@1371: -for ac_var in exec_prefix prefix mgl@1371: -do mgl@1371: - eval ac_val=$`echo $ac_var` mgl@1371: - case $ac_val in mgl@1371: - [\\/$]* | ?:[\\/]* | NONE | '' ) ;; mgl@1371: - *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 mgl@1371: - { (exit 1); exit 1; }; };; mgl@1371: - esac mgl@1371: -done mgl@1371: - mgl@1371: -# Be sure to have absolute paths. mgl@1371: -for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ mgl@1371: - localstatedir libdir includedir oldincludedir infodir mandir mgl@1371: +# Be sure to have absolute directory names. mgl@1371: +for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ mgl@1371: + datadir sysconfdir sharedstatedir localstatedir includedir \ mgl@1371: + oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ mgl@1371: + libdir localedir mandir mgl@1371: do mgl@1371: - eval ac_val=$`echo $ac_var` mgl@1371: + eval ac_val=\$$ac_var mgl@1371: case $ac_val in mgl@1371: - [\\/$]* | ?:[\\/]* ) ;; mgl@1371: - *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 mgl@1371: - { (exit 1); exit 1; }; };; mgl@1371: + [\\/$]* | ?:[\\/]* ) continue;; mgl@1371: + NONE | '' ) case $ac_var in *prefix ) continue;; esac;; mgl@1371: esac mgl@1371: + { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 mgl@1371: + { (exit 1); exit 1; }; } mgl@1371: done mgl@1371: mgl@1371: # There might be people who depend on the old broken behavior: `$host' mgl@1371: @@ -890,82 +1374,76 @@ mgl@1371: test "$silent" = yes && exec 6>/dev/null mgl@1371: mgl@1371: mgl@1371: +ac_pwd=`pwd` && test -n "$ac_pwd" && mgl@1371: +ac_ls_di=`ls -di .` && mgl@1371: +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || mgl@1371: + { echo "$as_me: error: Working directory cannot be determined" >&2 mgl@1371: + { (exit 1); exit 1; }; } mgl@1371: +test "X$ac_ls_di" = "X$ac_pwd_ls_di" || mgl@1371: + { echo "$as_me: error: pwd does not report name of working directory" >&2 mgl@1371: + { (exit 1); exit 1; }; } mgl@1371: + mgl@1371: + mgl@1371: # Find the source files, if location was not specified. mgl@1371: if test -z "$srcdir"; then mgl@1371: ac_srcdir_defaulted=yes mgl@1371: - # Try the directory containing this script, then its parent. mgl@1371: - ac_confdir=`(dirname "$0") 2>/dev/null || mgl@1371: + # Try the directory containing this script, then the parent directory. mgl@1371: + ac_confdir=`$as_dirname -- "$0" || mgl@1371: $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ mgl@1371: X"$0" : 'X\(//\)[^/]' \| \ mgl@1371: X"$0" : 'X\(//\)$' \| \ mgl@1371: - X"$0" : 'X\(/\)' \| \ mgl@1371: - . : '\(.\)' 2>/dev/null || mgl@1371: + X"$0" : 'X\(/\)' \| . 2>/dev/null || mgl@1371: echo X"$0" | mgl@1371: - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } mgl@1371: - /^X\(\/\/\)[^/].*/{ s//\1/; q; } mgl@1371: - /^X\(\/\/\)$/{ s//\1/; q; } mgl@1371: - /^X\(\/\).*/{ s//\1/; q; } mgl@1371: - s/.*/./; q'` mgl@1371: + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + /^X\(\/\/\)[^/].*/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + /^X\(\/\/\)$/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + /^X\(\/\).*/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + s/.*/./; q'` mgl@1371: srcdir=$ac_confdir mgl@1371: - if test ! -r $srcdir/$ac_unique_file; then mgl@1371: + if test ! -r "$srcdir/$ac_unique_file"; then mgl@1371: srcdir=.. mgl@1371: fi mgl@1371: else mgl@1371: ac_srcdir_defaulted=no mgl@1371: fi mgl@1371: -if test ! -r $srcdir/$ac_unique_file; then mgl@1371: - if test "$ac_srcdir_defaulted" = yes; then mgl@1371: - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 mgl@1371: - { (exit 1); exit 1; }; } mgl@1371: - else mgl@1371: - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 mgl@1371: - { (exit 1); exit 1; }; } mgl@1371: - fi mgl@1371: -fi mgl@1371: -(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || mgl@1371: - { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 mgl@1371: - { (exit 1); exit 1; }; } mgl@1371: -srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` mgl@1371: -ac_env_build_alias_set=${build_alias+set} mgl@1371: -ac_env_build_alias_value=$build_alias mgl@1371: -ac_cv_env_build_alias_set=${build_alias+set} mgl@1371: -ac_cv_env_build_alias_value=$build_alias mgl@1371: -ac_env_host_alias_set=${host_alias+set} mgl@1371: -ac_env_host_alias_value=$host_alias mgl@1371: -ac_cv_env_host_alias_set=${host_alias+set} mgl@1371: -ac_cv_env_host_alias_value=$host_alias mgl@1371: -ac_env_target_alias_set=${target_alias+set} mgl@1371: -ac_env_target_alias_value=$target_alias mgl@1371: -ac_cv_env_target_alias_set=${target_alias+set} mgl@1371: -ac_cv_env_target_alias_value=$target_alias mgl@1371: -ac_env_CCAS_set=${CCAS+set} mgl@1371: -ac_env_CCAS_value=$CCAS mgl@1371: -ac_cv_env_CCAS_set=${CCAS+set} mgl@1371: -ac_cv_env_CCAS_value=$CCAS mgl@1371: -ac_env_CCASFLAGS_set=${CCASFLAGS+set} mgl@1371: -ac_env_CCASFLAGS_value=$CCASFLAGS mgl@1371: -ac_cv_env_CCASFLAGS_set=${CCASFLAGS+set} mgl@1371: -ac_cv_env_CCASFLAGS_value=$CCASFLAGS mgl@1371: -ac_env_CC_set=${CC+set} mgl@1371: -ac_env_CC_value=$CC mgl@1371: -ac_cv_env_CC_set=${CC+set} mgl@1371: -ac_cv_env_CC_value=$CC mgl@1371: -ac_env_CFLAGS_set=${CFLAGS+set} mgl@1371: -ac_env_CFLAGS_value=$CFLAGS mgl@1371: -ac_cv_env_CFLAGS_set=${CFLAGS+set} mgl@1371: -ac_cv_env_CFLAGS_value=$CFLAGS mgl@1371: -ac_env_LDFLAGS_set=${LDFLAGS+set} mgl@1371: -ac_env_LDFLAGS_value=$LDFLAGS mgl@1371: -ac_cv_env_LDFLAGS_set=${LDFLAGS+set} mgl@1371: -ac_cv_env_LDFLAGS_value=$LDFLAGS mgl@1371: -ac_env_CPPFLAGS_set=${CPPFLAGS+set} mgl@1371: -ac_env_CPPFLAGS_value=$CPPFLAGS mgl@1371: -ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} mgl@1371: -ac_cv_env_CPPFLAGS_value=$CPPFLAGS mgl@1371: -ac_env_CPP_set=${CPP+set} mgl@1371: -ac_env_CPP_value=$CPP mgl@1371: -ac_cv_env_CPP_set=${CPP+set} mgl@1371: -ac_cv_env_CPP_value=$CPP mgl@1371: +if test ! -r "$srcdir/$ac_unique_file"; then mgl@1371: + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." mgl@1371: + { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 mgl@1371: + { (exit 1); exit 1; }; } mgl@1371: +fi mgl@1371: +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" mgl@1371: +ac_abs_confdir=`( mgl@1371: + cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 mgl@1371: + { (exit 1); exit 1; }; } mgl@1371: + pwd)` mgl@1371: +# When building in place, set srcdir=. mgl@1371: +if test "$ac_abs_confdir" = "$ac_pwd"; then mgl@1371: + srcdir=. mgl@1371: +fi mgl@1371: +# Remove unnecessary trailing slashes from srcdir. mgl@1371: +# Double slashes in file names in object file debugging info mgl@1371: +# mess up M-x gdb in Emacs. mgl@1371: +case $srcdir in mgl@1371: +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; mgl@1371: +esac mgl@1371: +for ac_var in $ac_precious_vars; do mgl@1371: + eval ac_env_${ac_var}_set=\${${ac_var}+set} mgl@1371: + eval ac_env_${ac_var}_value=\$${ac_var} mgl@1371: + eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} mgl@1371: + eval ac_cv_env_${ac_var}_value=\$${ac_var} mgl@1371: +done mgl@1371: mgl@1371: # mgl@1371: # Report the --help message. mgl@1371: @@ -994,9 +1472,6 @@ mgl@1371: -n, --no-create do not create output files mgl@1371: --srcdir=DIR find the sources in DIR [configure dir or \`..'] mgl@1371: mgl@1371: -_ACEOF mgl@1371: - mgl@1371: - cat <<_ACEOF mgl@1371: Installation directories: mgl@1371: --prefix=PREFIX install architecture-independent files in PREFIX mgl@1371: [$ac_default_prefix] mgl@1371: @@ -1014,15 +1489,22 @@ mgl@1371: --bindir=DIR user executables [EPREFIX/bin] mgl@1371: --sbindir=DIR system admin executables [EPREFIX/sbin] mgl@1371: --libexecdir=DIR program executables [EPREFIX/libexec] mgl@1371: - --datadir=DIR read-only architecture-independent data [PREFIX/share] mgl@1371: --sysconfdir=DIR read-only single-machine data [PREFIX/etc] mgl@1371: --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] mgl@1371: --localstatedir=DIR modifiable single-machine data [PREFIX/var] mgl@1371: --libdir=DIR object code libraries [EPREFIX/lib] mgl@1371: --includedir=DIR C header files [PREFIX/include] mgl@1371: --oldincludedir=DIR C header files for non-gcc [/usr/include] mgl@1371: - --infodir=DIR info documentation [PREFIX/info] mgl@1371: - --mandir=DIR man documentation [PREFIX/man] mgl@1371: + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] mgl@1371: + --datadir=DIR read-only architecture-independent data [DATAROOTDIR] mgl@1371: + --infodir=DIR info documentation [DATAROOTDIR/info] mgl@1371: + --localedir=DIR locale-dependent data [DATAROOTDIR/locale] mgl@1371: + --mandir=DIR man documentation [DATAROOTDIR/man] mgl@1371: + --docdir=DIR documentation root [DATAROOTDIR/doc/newlib] mgl@1371: + --htmldir=DIR html documentation [DOCDIR] mgl@1371: + --dvidir=DIR dvi documentation [DOCDIR] mgl@1371: + --pdfdir=DIR pdf documentation [DOCDIR] mgl@1371: + --psdir=DIR ps documentation [DOCDIR] mgl@1371: _ACEOF mgl@1371: mgl@1371: cat <<\_ACEOF mgl@1371: @@ -1059,10 +1541,8 @@ mgl@1371: --enable-dependency-tracking do not reject slow dependency extractors mgl@1371: --enable-maintainer-mode enable make rules and dependencies not useful mgl@1371: (and sometimes confusing) to the casual installer mgl@1371: - --enable-shared[=PKGS] mgl@1371: - build shared libraries [default=yes] mgl@1371: - --enable-static[=PKGS] mgl@1371: - build static libraries [default=yes] mgl@1371: + --enable-shared[=PKGS] build shared libraries [default=yes] mgl@1371: + --enable-static[=PKGS] build static libraries [default=yes] mgl@1371: --enable-fast-install[=PKGS] mgl@1371: optimize for fast installation [default=yes] mgl@1371: --disable-libtool-lock avoid locking (might break parallel builds) mgl@1371: @@ -1081,128 +1561,95 @@ mgl@1371: CFLAGS C compiler flags mgl@1371: LDFLAGS linker flags, e.g. -L if you have libraries in a mgl@1371: nonstandard directory mgl@1371: - CPPFLAGS C/C++ preprocessor flags, e.g. -I if you have mgl@1371: - headers in a nonstandard directory mgl@1371: + LIBS libraries to pass to the linker, e.g. -l mgl@1371: + CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I if mgl@1371: + you have headers in a nonstandard directory mgl@1371: CPP C preprocessor mgl@1371: mgl@1371: Use these variables to override the choices made by `configure' or to help mgl@1371: it to find libraries and programs with nonstandard names/locations. mgl@1371: mgl@1371: _ACEOF mgl@1371: +ac_status=$? mgl@1371: fi mgl@1371: mgl@1371: if test "$ac_init_help" = "recursive"; then mgl@1371: # If there are subdirs, report their specific --help. mgl@1371: - ac_popdir=`pwd` mgl@1371: for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue mgl@1371: - test -d $ac_dir || continue mgl@1371: + test -d "$ac_dir" || continue mgl@1371: ac_builddir=. mgl@1371: mgl@1371: -if test "$ac_dir" != .; then mgl@1371: +case "$ac_dir" in mgl@1371: +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; mgl@1371: +*) mgl@1371: ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` mgl@1371: - # A "../" for each directory in $ac_dir_suffix. mgl@1371: - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` mgl@1371: -else mgl@1371: - ac_dir_suffix= ac_top_builddir= mgl@1371: -fi mgl@1371: + # A ".." for each directory in $ac_dir_suffix. mgl@1371: + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` mgl@1371: + case $ac_top_builddir_sub in mgl@1371: + "") ac_top_builddir_sub=. ac_top_build_prefix= ;; mgl@1371: + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; mgl@1371: + esac ;; mgl@1371: +esac mgl@1371: +ac_abs_top_builddir=$ac_pwd mgl@1371: +ac_abs_builddir=$ac_pwd$ac_dir_suffix mgl@1371: +# for backward compatibility: mgl@1371: +ac_top_builddir=$ac_top_build_prefix mgl@1371: mgl@1371: case $srcdir in mgl@1371: - .) # No --srcdir option. We are building in place. mgl@1371: + .) # We are building in place. mgl@1371: ac_srcdir=. mgl@1371: - if test -z "$ac_top_builddir"; then mgl@1371: - ac_top_srcdir=. mgl@1371: - else mgl@1371: - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` mgl@1371: - fi ;; mgl@1371: - [\\/]* | ?:[\\/]* ) # Absolute path. mgl@1371: + ac_top_srcdir=$ac_top_builddir_sub mgl@1371: + ac_abs_top_srcdir=$ac_pwd ;; mgl@1371: + [\\/]* | ?:[\\/]* ) # Absolute name. mgl@1371: ac_srcdir=$srcdir$ac_dir_suffix; mgl@1371: - ac_top_srcdir=$srcdir ;; mgl@1371: - *) # Relative path. mgl@1371: - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix mgl@1371: - ac_top_srcdir=$ac_top_builddir$srcdir ;; mgl@1371: -esac mgl@1371: - mgl@1371: -# Do not use `cd foo && pwd` to compute absolute paths, because mgl@1371: -# the directories may not exist. mgl@1371: -case `pwd` in mgl@1371: -.) ac_abs_builddir="$ac_dir";; mgl@1371: -*) mgl@1371: - case "$ac_dir" in mgl@1371: - .) ac_abs_builddir=`pwd`;; mgl@1371: - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; mgl@1371: - *) ac_abs_builddir=`pwd`/"$ac_dir";; mgl@1371: - esac;; mgl@1371: -esac mgl@1371: -case $ac_abs_builddir in mgl@1371: -.) ac_abs_top_builddir=${ac_top_builddir}.;; mgl@1371: -*) mgl@1371: - case ${ac_top_builddir}. in mgl@1371: - .) ac_abs_top_builddir=$ac_abs_builddir;; mgl@1371: - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; mgl@1371: - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; mgl@1371: - esac;; mgl@1371: -esac mgl@1371: -case $ac_abs_builddir in mgl@1371: -.) ac_abs_srcdir=$ac_srcdir;; mgl@1371: -*) mgl@1371: - case $ac_srcdir in mgl@1371: - .) ac_abs_srcdir=$ac_abs_builddir;; mgl@1371: - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; mgl@1371: - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; mgl@1371: - esac;; mgl@1371: -esac mgl@1371: -case $ac_abs_builddir in mgl@1371: -.) ac_abs_top_srcdir=$ac_top_srcdir;; mgl@1371: -*) mgl@1371: - case $ac_top_srcdir in mgl@1371: - .) ac_abs_top_srcdir=$ac_abs_builddir;; mgl@1371: - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; mgl@1371: - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; mgl@1371: - esac;; mgl@1371: + ac_top_srcdir=$srcdir mgl@1371: + ac_abs_top_srcdir=$srcdir ;; mgl@1371: + *) # Relative name. mgl@1371: + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix mgl@1371: + ac_top_srcdir=$ac_top_build_prefix$srcdir mgl@1371: + ac_abs_top_srcdir=$ac_pwd/$srcdir ;; mgl@1371: esac mgl@1371: +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix mgl@1371: mgl@1371: - cd $ac_dir mgl@1371: - # Check for guested configure; otherwise get Cygnus style configure. mgl@1371: - if test -f $ac_srcdir/configure.gnu; then mgl@1371: - echo mgl@1371: - $SHELL $ac_srcdir/configure.gnu --help=recursive mgl@1371: - elif test -f $ac_srcdir/configure; then mgl@1371: - echo mgl@1371: - $SHELL $ac_srcdir/configure --help=recursive mgl@1371: - elif test -f $ac_srcdir/configure.ac || mgl@1371: - test -f $ac_srcdir/configure.in; then mgl@1371: - echo mgl@1371: - $ac_configure --help mgl@1371: + cd "$ac_dir" || { ac_status=$?; continue; } mgl@1371: + # Check for guested configure. mgl@1371: + if test -f "$ac_srcdir/configure.gnu"; then mgl@1371: + echo && mgl@1371: + $SHELL "$ac_srcdir/configure.gnu" --help=recursive mgl@1371: + elif test -f "$ac_srcdir/configure"; then mgl@1371: + echo && mgl@1371: + $SHELL "$ac_srcdir/configure" --help=recursive mgl@1371: else mgl@1371: echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 mgl@1371: - fi mgl@1371: - cd $ac_popdir mgl@1371: + fi || ac_status=$? mgl@1371: + cd "$ac_pwd" || { ac_status=$?; break; } mgl@1371: done mgl@1371: fi mgl@1371: mgl@1371: -test -n "$ac_init_help" && exit 0 mgl@1371: +test -n "$ac_init_help" && exit $ac_status mgl@1371: if $ac_init_version; then mgl@1371: cat <<\_ACEOF mgl@1371: newlib configure 1.17.0 mgl@1371: -generated by GNU Autoconf 2.59 mgl@1371: +generated by GNU Autoconf 2.61 mgl@1371: mgl@1371: -Copyright (C) 2003 Free Software Foundation, Inc. mgl@1371: +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, mgl@1371: +2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. mgl@1371: This configure script is free software; the Free Software Foundation mgl@1371: gives unlimited permission to copy, distribute and modify it. mgl@1371: _ACEOF mgl@1371: - exit 0 mgl@1371: + exit mgl@1371: fi mgl@1371: -exec 5>config.log mgl@1371: -cat >&5 <<_ACEOF mgl@1371: +cat >config.log <<_ACEOF mgl@1371: This file contains any messages produced by compilers while mgl@1371: running configure, to aid debugging if configure makes a mistake. mgl@1371: mgl@1371: It was created by newlib $as_me 1.17.0, which was mgl@1371: -generated by GNU Autoconf 2.59. Invocation command line was mgl@1371: +generated by GNU Autoconf 2.61. Invocation command line was mgl@1371: mgl@1371: $ $0 $@ mgl@1371: mgl@1371: _ACEOF mgl@1371: +exec 5>>config.log mgl@1371: { mgl@1371: cat <<_ASUNAME mgl@1371: ## --------- ## mgl@1371: @@ -1221,7 +1668,7 @@ mgl@1371: /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` mgl@1371: /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` mgl@1371: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` mgl@1371: -hostinfo = `(hostinfo) 2>/dev/null || echo unknown` mgl@1371: +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` mgl@1371: /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` mgl@1371: /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` mgl@1371: /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` mgl@1371: @@ -1235,6 +1682,7 @@ mgl@1371: test -z "$as_dir" && as_dir=. mgl@1371: echo "PATH: $as_dir" mgl@1371: done mgl@1371: +IFS=$as_save_IFS mgl@1371: mgl@1371: } >&5 mgl@1371: mgl@1371: @@ -1256,7 +1704,6 @@ mgl@1371: ac_configure_args= mgl@1371: ac_configure_args0= mgl@1371: ac_configure_args1= mgl@1371: -ac_sep= mgl@1371: ac_must_keep_next=false mgl@1371: for ac_pass in 1 2 mgl@1371: do mgl@1371: @@ -1267,7 +1714,7 @@ mgl@1371: -q | -quiet | --quiet | --quie | --qui | --qu | --q \ mgl@1371: | -silent | --silent | --silen | --sile | --sil) mgl@1371: continue ;; mgl@1371: - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) mgl@1371: + *\'*) mgl@1371: ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; mgl@1371: esac mgl@1371: case $ac_pass in mgl@1371: @@ -1289,9 +1736,7 @@ mgl@1371: -* ) ac_must_keep_next=true ;; mgl@1371: esac mgl@1371: fi mgl@1371: - ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" mgl@1371: - # Get rid of the leading space. mgl@1371: - ac_sep=" " mgl@1371: + ac_configure_args="$ac_configure_args '$ac_arg'" mgl@1371: ;; mgl@1371: esac mgl@1371: done mgl@1371: @@ -1302,8 +1747,8 @@ mgl@1371: # When interrupted or exit'd, cleanup temporary files, and complete mgl@1371: # config.log. We remove comments because anyway the quotes in there mgl@1371: # would cause problems or look ugly. mgl@1371: -# WARNING: Be sure not to use single quotes in there, as some shells, mgl@1371: -# such as our DU 5.0 friend, will then `close' the trap. mgl@1371: +# WARNING: Use '\'' to represent an apostrophe within the trap. mgl@1371: +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. mgl@1371: trap 'exit_status=$? mgl@1371: # Save into config.log some information that might help in debugging. mgl@1371: { mgl@1371: @@ -1316,20 +1761,34 @@ mgl@1371: _ASBOX mgl@1371: echo mgl@1371: # The following way of writing the cache mishandles newlines in values, mgl@1371: -{ mgl@1371: +( mgl@1371: + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do mgl@1371: + eval ac_val=\$$ac_var mgl@1371: + case $ac_val in #( mgl@1371: + *${as_nl}*) mgl@1371: + case $ac_var in #( mgl@1371: + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 mgl@1371: +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; mgl@1371: + esac mgl@1371: + case $ac_var in #( mgl@1371: + _ | IFS | as_nl) ;; #( mgl@1371: + *) $as_unset $ac_var ;; mgl@1371: + esac ;; mgl@1371: + esac mgl@1371: + done mgl@1371: (set) 2>&1 | mgl@1371: - case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in mgl@1371: - *ac_space=\ *) mgl@1371: + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( mgl@1371: + *${as_nl}ac_space=\ *) mgl@1371: sed -n \ mgl@1371: - "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; mgl@1371: - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" mgl@1371: - ;; mgl@1371: + "s/'\''/'\''\\\\'\'''\''/g; mgl@1371: + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" mgl@1371: + ;; #( mgl@1371: *) mgl@1371: - sed -n \ mgl@1371: - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" mgl@1371: + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" mgl@1371: ;; mgl@1371: - esac; mgl@1371: -} mgl@1371: + esac | mgl@1371: + sort mgl@1371: +) mgl@1371: echo mgl@1371: mgl@1371: cat <<\_ASBOX mgl@1371: @@ -1340,22 +1799,28 @@ mgl@1371: echo mgl@1371: for ac_var in $ac_subst_vars mgl@1371: do mgl@1371: - eval ac_val=$`echo $ac_var` mgl@1371: - echo "$ac_var='"'"'$ac_val'"'"'" mgl@1371: + eval ac_val=\$$ac_var mgl@1371: + case $ac_val in mgl@1371: + *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; mgl@1371: + esac mgl@1371: + echo "$ac_var='\''$ac_val'\''" mgl@1371: done | sort mgl@1371: echo mgl@1371: mgl@1371: if test -n "$ac_subst_files"; then mgl@1371: cat <<\_ASBOX mgl@1371: -## ------------- ## mgl@1371: -## Output files. ## mgl@1371: -## ------------- ## mgl@1371: +## ------------------- ## mgl@1371: +## File substitutions. ## mgl@1371: +## ------------------- ## mgl@1371: _ASBOX mgl@1371: echo mgl@1371: for ac_var in $ac_subst_files mgl@1371: do mgl@1371: - eval ac_val=$`echo $ac_var` mgl@1371: - echo "$ac_var='"'"'$ac_val'"'"'" mgl@1371: + eval ac_val=\$$ac_var mgl@1371: + case $ac_val in mgl@1371: + *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; mgl@1371: + esac mgl@1371: + echo "$ac_var='\''$ac_val'\''" mgl@1371: done | sort mgl@1371: echo mgl@1371: fi mgl@1371: @@ -1367,26 +1832,24 @@ mgl@1371: ## ----------- ## mgl@1371: _ASBOX mgl@1371: echo mgl@1371: - sed "/^$/d" confdefs.h | sort mgl@1371: + cat confdefs.h mgl@1371: echo mgl@1371: fi mgl@1371: test "$ac_signal" != 0 && mgl@1371: echo "$as_me: caught signal $ac_signal" mgl@1371: echo "$as_me: exit $exit_status" mgl@1371: } >&5 mgl@1371: - rm -f core *.core && mgl@1371: - rm -rf conftest* confdefs* conf$$* $ac_clean_files && mgl@1371: + rm -f core *.core core.conftest.* && mgl@1371: + rm -f -r conftest* confdefs* conf$$* $ac_clean_files && mgl@1371: exit $exit_status mgl@1371: - ' 0 mgl@1371: +' 0 mgl@1371: for ac_signal in 1 2 13 15; do mgl@1371: trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal mgl@1371: done mgl@1371: ac_signal=0 mgl@1371: mgl@1371: # confdefs.h avoids OS command line length limits that DEFS can exceed. mgl@1371: -rm -rf conftest* confdefs.h mgl@1371: -# AIX cpp loses on an empty file, so make sure it contains at least a newline. mgl@1371: -echo >confdefs.h mgl@1371: +rm -f -r conftest* confdefs.h mgl@1371: mgl@1371: # Predefined preprocessor variables. mgl@1371: mgl@1371: @@ -1417,14 +1880,17 @@ mgl@1371: mgl@1371: # Let the site file select an alternate cache file if it wants to. mgl@1371: # Prefer explicitly selected file to automatically selected ones. mgl@1371: -if test -z "$CONFIG_SITE"; then mgl@1371: - if test "x$prefix" != xNONE; then mgl@1371: - CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" mgl@1371: - else mgl@1371: - CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" mgl@1371: - fi mgl@1371: +if test -n "$CONFIG_SITE"; then mgl@1371: + set x "$CONFIG_SITE" mgl@1371: +elif test "x$prefix" != xNONE; then mgl@1371: + set x "$prefix/share/config.site" "$prefix/etc/config.site" mgl@1371: +else mgl@1371: + set x "$ac_default_prefix/share/config.site" \ mgl@1371: + "$ac_default_prefix/etc/config.site" mgl@1371: fi mgl@1371: -for ac_site_file in $CONFIG_SITE; do mgl@1371: +shift mgl@1371: +for ac_site_file mgl@1371: +do mgl@1371: if test -r "$ac_site_file"; then mgl@1371: { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 mgl@1371: echo "$as_me: loading site script $ac_site_file" >&6;} mgl@1371: @@ -1440,8 +1906,8 @@ mgl@1371: { echo "$as_me:$LINENO: loading cache $cache_file" >&5 mgl@1371: echo "$as_me: loading cache $cache_file" >&6;} mgl@1371: case $cache_file in mgl@1371: - [\\/]* | ?:[\\/]* ) . $cache_file;; mgl@1371: - *) . ./$cache_file;; mgl@1371: + [\\/]* | ?:[\\/]* ) . "$cache_file";; mgl@1371: + *) . "./$cache_file";; mgl@1371: esac mgl@1371: fi mgl@1371: else mgl@1371: @@ -1453,12 +1919,11 @@ mgl@1371: # Check that the precious variables saved in the cache have kept the same mgl@1371: # value. mgl@1371: ac_cache_corrupted=false mgl@1371: -for ac_var in `(set) 2>&1 | mgl@1371: - sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do mgl@1371: +for ac_var in $ac_precious_vars; do mgl@1371: eval ac_old_set=\$ac_cv_env_${ac_var}_set mgl@1371: eval ac_new_set=\$ac_env_${ac_var}_set mgl@1371: - eval ac_old_val="\$ac_cv_env_${ac_var}_value" mgl@1371: - eval ac_new_val="\$ac_env_${ac_var}_value" mgl@1371: + eval ac_old_val=\$ac_cv_env_${ac_var}_value mgl@1371: + eval ac_new_val=\$ac_env_${ac_var}_value mgl@1371: case $ac_old_set,$ac_new_set in mgl@1371: set,) mgl@1371: { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 mgl@1371: @@ -1483,8 +1948,7 @@ mgl@1371: # Pass precious variables to config.status. mgl@1371: if test "$ac_new_set" = set; then mgl@1371: case $ac_new_val in mgl@1371: - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) mgl@1371: - ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; mgl@1371: + *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; mgl@1371: *) ac_arg=$ac_var=$ac_new_val ;; mgl@1371: esac mgl@1371: case " $ac_configure_args " in mgl@1371: @@ -1501,12 +1965,6 @@ mgl@1371: { (exit 1); exit 1; }; } mgl@1371: fi mgl@1371: mgl@1371: -ac_ext=c mgl@1371: -ac_cpp='$CPP $CPPFLAGS' mgl@1371: -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' mgl@1371: -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' mgl@1371: -ac_compiler_gnu=$ac_cv_c_compiler_gnu mgl@1371: - mgl@1371: mgl@1371: mgl@1371: mgl@1371: @@ -1531,67 +1989,92 @@ mgl@1371: mgl@1371: mgl@1371: mgl@1371: +ac_ext=c mgl@1371: +ac_cpp='$CPP $CPPFLAGS' mgl@1371: +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' mgl@1371: +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' mgl@1371: +ac_compiler_gnu=$ac_cv_c_compiler_gnu mgl@1371: mgl@1371: mgl@1371: mgl@1371: mgl@1371: ac_aux_dir= mgl@1371: -for ac_dir in ../../.. $srcdir/../../..; do mgl@1371: - if test -f $ac_dir/install-sh; then mgl@1371: +for ac_dir in ../../.. "$srcdir"/../../..; do mgl@1371: + if test -f "$ac_dir/install-sh"; then mgl@1371: ac_aux_dir=$ac_dir mgl@1371: ac_install_sh="$ac_aux_dir/install-sh -c" mgl@1371: break mgl@1371: - elif test -f $ac_dir/install.sh; then mgl@1371: + elif test -f "$ac_dir/install.sh"; then mgl@1371: ac_aux_dir=$ac_dir mgl@1371: ac_install_sh="$ac_aux_dir/install.sh -c" mgl@1371: break mgl@1371: - elif test -f $ac_dir/shtool; then mgl@1371: + elif test -f "$ac_dir/shtool"; then mgl@1371: ac_aux_dir=$ac_dir mgl@1371: ac_install_sh="$ac_aux_dir/shtool install -c" mgl@1371: break mgl@1371: fi mgl@1371: done mgl@1371: if test -z "$ac_aux_dir"; then mgl@1371: - { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ../../.. $srcdir/../../.." >&5 mgl@1371: -echo "$as_me: error: cannot find install-sh or install.sh in ../../.. $srcdir/../../.." >&2;} mgl@1371: + { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ../../.. \"$srcdir\"/../../.." >&5 mgl@1371: +echo "$as_me: error: cannot find install-sh or install.sh in ../../.. \"$srcdir\"/../../.." >&2;} mgl@1371: { (exit 1); exit 1; }; } mgl@1371: fi mgl@1371: -ac_config_guess="$SHELL $ac_aux_dir/config.guess" mgl@1371: -ac_config_sub="$SHELL $ac_aux_dir/config.sub" mgl@1371: -ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. mgl@1371: + mgl@1371: +# These three variables are undocumented and unsupported, mgl@1371: +# and are intended to be withdrawn in a future Autoconf release. mgl@1371: +# They can cause serious problems if a builder's source tree is in a directory mgl@1371: +# whose full name contains unusual characters. mgl@1371: +ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. mgl@1371: +ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. mgl@1371: +ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. mgl@1371: + mgl@1371: mgl@1371: mgl@1371: mgl@1371: # Make sure we can run config.sub. mgl@1371: -$ac_config_sub sun4 >/dev/null 2>&1 || mgl@1371: - { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 mgl@1371: -echo "$as_me: error: cannot run $ac_config_sub" >&2;} mgl@1371: +$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || mgl@1371: + { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 mgl@1371: +echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} mgl@1371: { (exit 1); exit 1; }; } mgl@1371: mgl@1371: -echo "$as_me:$LINENO: checking build system type" >&5 mgl@1371: -echo $ECHO_N "checking build system type... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking build system type" >&5 mgl@1371: +echo $ECHO_N "checking build system type... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_build+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: - ac_cv_build_alias=$build_alias mgl@1371: -test -z "$ac_cv_build_alias" && mgl@1371: - ac_cv_build_alias=`$ac_config_guess` mgl@1371: -test -z "$ac_cv_build_alias" && mgl@1371: + ac_build_alias=$build_alias mgl@1371: +test "x$ac_build_alias" = x && mgl@1371: + ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` mgl@1371: +test "x$ac_build_alias" = x && mgl@1371: { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 mgl@1371: echo "$as_me: error: cannot guess build type; you must specify one" >&2;} mgl@1371: { (exit 1); exit 1; }; } mgl@1371: -ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || mgl@1371: - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 mgl@1371: -echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} mgl@1371: +ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || mgl@1371: + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 mgl@1371: +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} mgl@1371: { (exit 1); exit 1; }; } mgl@1371: mgl@1371: fi mgl@1371: -echo "$as_me:$LINENO: result: $ac_cv_build" >&5 mgl@1371: -echo "${ECHO_T}$ac_cv_build" >&6 mgl@1371: +{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5 mgl@1371: +echo "${ECHO_T}$ac_cv_build" >&6; } mgl@1371: +case $ac_cv_build in mgl@1371: +*-*-*) ;; mgl@1371: +*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 mgl@1371: +echo "$as_me: error: invalid value of canonical build" >&2;} mgl@1371: + { (exit 1); exit 1; }; };; mgl@1371: +esac mgl@1371: build=$ac_cv_build mgl@1371: -build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` mgl@1371: -build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` mgl@1371: -build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` mgl@1371: +ac_save_IFS=$IFS; IFS='-' mgl@1371: +set x $ac_cv_build mgl@1371: +shift mgl@1371: +build_cpu=$1 mgl@1371: +build_vendor=$2 mgl@1371: +shift; shift mgl@1371: +# Remember, the first character of IFS is used to create $*, mgl@1371: +# except with old shells: mgl@1371: +build_os=$* mgl@1371: +IFS=$ac_save_IFS mgl@1371: +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac mgl@1371: mgl@1371: mgl@1371: am__api_version="1.9" mgl@1371: @@ -1608,8 +2091,8 @@ mgl@1371: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" mgl@1371: # OS/2's system install, which has a completely different semantic mgl@1371: # ./install, which can be erroneously created by make from ./install.sh. mgl@1371: -echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 mgl@1371: -echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 mgl@1371: +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } mgl@1371: if test -z "$INSTALL"; then mgl@1371: if test "${ac_cv_path_install+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: @@ -1631,7 +2114,7 @@ mgl@1371: # by default. mgl@1371: for ac_prog in ginstall scoinst install; do mgl@1371: for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: - if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then mgl@1371: + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then mgl@1371: if test $ac_prog = install && mgl@1371: grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then mgl@1371: # AIX install. It has an incompatible calling convention. mgl@1371: @@ -1650,21 +2133,22 @@ mgl@1371: ;; mgl@1371: esac mgl@1371: done mgl@1371: +IFS=$as_save_IFS mgl@1371: mgl@1371: mgl@1371: fi mgl@1371: if test "${ac_cv_path_install+set}" = set; then mgl@1371: INSTALL=$ac_cv_path_install mgl@1371: else mgl@1371: - # As a last resort, use the slow shell script. We don't cache a mgl@1371: - # path for INSTALL within a source directory, because that will mgl@1371: + # As a last resort, use the slow shell script. Don't cache a mgl@1371: + # value for INSTALL within a source directory, because that will mgl@1371: # break other packages using the cache if that directory is mgl@1371: - # removed, or if the path is relative. mgl@1371: + # removed, or if the value is a relative name. mgl@1371: INSTALL=$ac_install_sh mgl@1371: fi mgl@1371: fi mgl@1371: -echo "$as_me:$LINENO: result: $INSTALL" >&5 mgl@1371: -echo "${ECHO_T}$INSTALL" >&6 mgl@1371: +{ echo "$as_me:$LINENO: result: $INSTALL" >&5 mgl@1371: +echo "${ECHO_T}$INSTALL" >&6; } mgl@1371: mgl@1371: # Use test -z because SunOS4 sh mishandles braces in ${var-val}. mgl@1371: # It thinks the first close brace ends the variable substitution. mgl@1371: @@ -1674,8 +2158,8 @@ mgl@1371: mgl@1371: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' mgl@1371: mgl@1371: -echo "$as_me:$LINENO: checking whether build environment is sane" >&5 mgl@1371: -echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5 mgl@1371: +echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; } mgl@1371: # Just in case mgl@1371: sleep 1 mgl@1371: echo timestamp > conftest.file mgl@1371: @@ -1717,20 +2201,20 @@ mgl@1371: Check your system clock" >&2;} mgl@1371: { (exit 1); exit 1; }; } mgl@1371: fi mgl@1371: -echo "$as_me:$LINENO: result: yes" >&5 mgl@1371: -echo "${ECHO_T}yes" >&6 mgl@1371: +{ echo "$as_me:$LINENO: result: yes" >&5 mgl@1371: +echo "${ECHO_T}yes" >&6; } mgl@1371: test "$program_prefix" != NONE && mgl@1371: - program_transform_name="s,^,$program_prefix,;$program_transform_name" mgl@1371: + program_transform_name="s&^&$program_prefix&;$program_transform_name" mgl@1371: # Use a double $ so make ignores it. mgl@1371: test "$program_suffix" != NONE && mgl@1371: - program_transform_name="s,\$,$program_suffix,;$program_transform_name" mgl@1371: + program_transform_name="s&\$&$program_suffix&;$program_transform_name" mgl@1371: # Double any \ or $. echo might interpret backslashes. mgl@1371: # By default was `s,x,x', remove it if useless. mgl@1371: cat <<\_ACEOF >conftest.sed mgl@1371: s/[\\$]/&&/g;s/;s,x,x,$// mgl@1371: _ACEOF mgl@1371: program_transform_name=`echo $program_transform_name | sed -f conftest.sed` mgl@1371: -rm conftest.sed mgl@1371: +rm -f conftest.sed mgl@1371: mgl@1371: # expand $ac_aux_dir to an absolute path mgl@1371: am_aux_dir=`cd $ac_aux_dir && pwd` mgl@1371: @@ -1782,8 +2266,8 @@ mgl@1371: do mgl@1371: # Extract the first word of "$ac_prog", so it can be a program name with args. mgl@1371: set dummy $ac_prog; ac_word=$2 mgl@1371: -echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_prog_AWK+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -1796,54 +2280,57 @@ mgl@1371: IFS=$as_save_IFS mgl@1371: test -z "$as_dir" && as_dir=. mgl@1371: for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: ac_cv_prog_AWK="$ac_prog" mgl@1371: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: break 2 mgl@1371: fi mgl@1371: done mgl@1371: done mgl@1371: +IFS=$as_save_IFS mgl@1371: mgl@1371: fi mgl@1371: fi mgl@1371: AWK=$ac_cv_prog_AWK mgl@1371: if test -n "$AWK"; then mgl@1371: - echo "$as_me:$LINENO: result: $AWK" >&5 mgl@1371: -echo "${ECHO_T}$AWK" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $AWK" >&5 mgl@1371: +echo "${ECHO_T}$AWK" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: fi mgl@1371: mgl@1371: + mgl@1371: test -n "$AWK" && break mgl@1371: done mgl@1371: mgl@1371: -echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 mgl@1371: -echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 mgl@1371: -set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` mgl@1371: -if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then mgl@1371: +{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 mgl@1371: +echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } mgl@1371: +set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` mgl@1371: +if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: cat >conftest.make <<\_ACEOF mgl@1371: +SHELL = /bin/sh mgl@1371: all: mgl@1371: - @echo 'ac_maketemp="$(MAKE)"' mgl@1371: + @echo '@@@%%%=$(MAKE)=@@@%%%' mgl@1371: _ACEOF mgl@1371: # GNU make sometimes prints "make[1]: Entering...", which would confuse us. mgl@1371: -eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` mgl@1371: -if test -n "$ac_maketemp"; then mgl@1371: - eval ac_cv_prog_make_${ac_make}_set=yes mgl@1371: -else mgl@1371: - eval ac_cv_prog_make_${ac_make}_set=no mgl@1371: -fi mgl@1371: +case `${MAKE-make} -f conftest.make 2>/dev/null` in mgl@1371: + *@@@%%%=?*=@@@%%%*) mgl@1371: + eval ac_cv_prog_make_${ac_make}_set=yes;; mgl@1371: + *) mgl@1371: + eval ac_cv_prog_make_${ac_make}_set=no;; mgl@1371: +esac mgl@1371: rm -f conftest.make mgl@1371: fi mgl@1371: -if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then mgl@1371: - echo "$as_me:$LINENO: result: yes" >&5 mgl@1371: -echo "${ECHO_T}yes" >&6 mgl@1371: +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then mgl@1371: + { echo "$as_me:$LINENO: result: yes" >&5 mgl@1371: +echo "${ECHO_T}yes" >&6; } mgl@1371: SET_MAKE= mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: SET_MAKE="MAKE=${MAKE-make}" mgl@1371: fi mgl@1371: mgl@1371: @@ -1858,7 +2345,7 @@ mgl@1371: mgl@1371: DEPDIR="${am__leading_dot}deps" mgl@1371: mgl@1371: - ac_config_commands="$ac_config_commands depfiles" mgl@1371: +ac_config_commands="$ac_config_commands depfiles" mgl@1371: mgl@1371: mgl@1371: am_make=${MAKE-make} mgl@1371: @@ -1868,8 +2355,8 @@ mgl@1371: .PHONY: am__doit mgl@1371: END mgl@1371: # If we don't find an include directive, just comment out the code. mgl@1371: -echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 mgl@1371: -echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 mgl@1371: +echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; } mgl@1371: am__include="#" mgl@1371: am__quote= mgl@1371: _am_result=none mgl@1371: @@ -1896,15 +2383,15 @@ mgl@1371: fi mgl@1371: mgl@1371: mgl@1371: -echo "$as_me:$LINENO: result: $_am_result" >&5 mgl@1371: -echo "${ECHO_T}$_am_result" >&6 mgl@1371: +{ echo "$as_me:$LINENO: result: $_am_result" >&5 mgl@1371: +echo "${ECHO_T}$_am_result" >&6; } mgl@1371: rm -f confinc confmf mgl@1371: mgl@1371: -# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given. mgl@1371: +# Check whether --enable-dependency-tracking was given. mgl@1371: if test "${enable_dependency_tracking+set}" = set; then mgl@1371: - enableval="$enable_dependency_tracking" mgl@1371: + enableval=$enable_dependency_tracking; mgl@1371: +fi mgl@1371: mgl@1371: -fi; mgl@1371: if test "x$enable_dependency_tracking" != xno; then mgl@1371: am_depcomp="$ac_aux_dir/depcomp" mgl@1371: AMDEPBACKSLASH='\' mgl@1371: @@ -1922,10 +2409,9 @@ mgl@1371: mgl@1371: mgl@1371: mgl@1371: -# Check whether --enable-multilib or --disable-multilib was given. mgl@1371: +# Check whether --enable-multilib was given. mgl@1371: if test "${enable_multilib+set}" = set; then mgl@1371: - enableval="$enable_multilib" mgl@1371: - case "${enableval}" in mgl@1371: + enableval=$enable_multilib; case "${enableval}" in mgl@1371: yes) multilib=yes ;; mgl@1371: no) multilib=no ;; mgl@1371: *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for multilib option" >&5 mgl@1371: @@ -1934,11 +2420,11 @@ mgl@1371: esac mgl@1371: else mgl@1371: multilib=yes mgl@1371: -fi; mgl@1371: -# Check whether --enable-target-optspace or --disable-target-optspace was given. mgl@1371: +fi mgl@1371: + mgl@1371: +# Check whether --enable-target-optspace was given. mgl@1371: if test "${enable_target_optspace+set}" = set; then mgl@1371: - enableval="$enable_target_optspace" mgl@1371: - case "${enableval}" in mgl@1371: + enableval=$enable_target_optspace; case "${enableval}" in mgl@1371: yes) target_optspace=yes ;; mgl@1371: no) target_optspace=no ;; mgl@1371: *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for target-optspace option" >&5 mgl@1371: @@ -1947,11 +2433,11 @@ mgl@1371: esac mgl@1371: else mgl@1371: target_optspace= mgl@1371: -fi; mgl@1371: -# Check whether --enable-malloc-debugging or --disable-malloc-debugging was given. mgl@1371: +fi mgl@1371: + mgl@1371: +# Check whether --enable-malloc-debugging was given. mgl@1371: if test "${enable_malloc_debugging+set}" = set; then mgl@1371: - enableval="$enable_malloc_debugging" mgl@1371: - case "${enableval}" in mgl@1371: + enableval=$enable_malloc_debugging; case "${enableval}" in mgl@1371: yes) malloc_debugging=yes ;; mgl@1371: no) malloc_debugging=no ;; mgl@1371: *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for malloc-debugging option" >&5 mgl@1371: @@ -1960,11 +2446,11 @@ mgl@1371: esac mgl@1371: else mgl@1371: malloc_debugging= mgl@1371: -fi; mgl@1371: -# Check whether --enable-newlib-multithread or --disable-newlib-multithread was given. mgl@1371: +fi mgl@1371: + mgl@1371: +# Check whether --enable-newlib-multithread was given. mgl@1371: if test "${enable_newlib_multithread+set}" = set; then mgl@1371: - enableval="$enable_newlib_multithread" mgl@1371: - case "${enableval}" in mgl@1371: + enableval=$enable_newlib_multithread; case "${enableval}" in mgl@1371: yes) newlib_multithread=yes ;; mgl@1371: no) newlib_multithread=no ;; mgl@1371: *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-multithread option" >&5 mgl@1371: @@ -1973,11 +2459,11 @@ mgl@1371: esac mgl@1371: else mgl@1371: newlib_multithread=yes mgl@1371: -fi; mgl@1371: -# Check whether --enable-newlib-iconv or --disable-newlib-iconv was given. mgl@1371: +fi mgl@1371: + mgl@1371: +# Check whether --enable-newlib-iconv was given. mgl@1371: if test "${enable_newlib_iconv+set}" = set; then mgl@1371: - enableval="$enable_newlib_iconv" mgl@1371: - if test "${newlib_iconv+set}" != set; then mgl@1371: + enableval=$enable_newlib_iconv; if test "${newlib_iconv+set}" != set; then mgl@1371: case "${enableval}" in mgl@1371: yes) newlib_iconv=yes ;; mgl@1371: no) newlib_iconv=no ;; mgl@1371: @@ -1988,11 +2474,11 @@ mgl@1371: fi mgl@1371: else mgl@1371: newlib_iconv=${newlib_iconv} mgl@1371: -fi; mgl@1371: -# Check whether --enable-newlib-elix-level or --disable-newlib-elix-level was given. mgl@1371: +fi mgl@1371: + mgl@1371: +# Check whether --enable-newlib-elix-level was given. mgl@1371: if test "${enable_newlib_elix_level+set}" = set; then mgl@1371: - enableval="$enable_newlib_elix_level" mgl@1371: - case "${enableval}" in mgl@1371: + enableval=$enable_newlib_elix_level; case "${enableval}" in mgl@1371: 0) newlib_elix_level=0 ;; mgl@1371: 1) newlib_elix_level=1 ;; mgl@1371: 2) newlib_elix_level=2 ;; mgl@1371: @@ -2004,11 +2490,11 @@ mgl@1371: esac mgl@1371: else mgl@1371: newlib_elix_level=0 mgl@1371: -fi; mgl@1371: -# Check whether --enable-newlib-io-float or --disable-newlib-io-float was given. mgl@1371: +fi mgl@1371: + mgl@1371: +# Check whether --enable-newlib-io-float was given. mgl@1371: if test "${enable_newlib_io_float+set}" = set; then mgl@1371: - enableval="$enable_newlib_io_float" mgl@1371: - case "${enableval}" in mgl@1371: + enableval=$enable_newlib_io_float; case "${enableval}" in mgl@1371: yes) newlib_io_float=yes ;; mgl@1371: no) newlib_io_float=no ;; mgl@1371: *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-io-float option" >&5 mgl@1371: @@ -2017,11 +2503,11 @@ mgl@1371: esac mgl@1371: else mgl@1371: newlib_io_float=yes mgl@1371: -fi; mgl@1371: -# Check whether --enable-newlib-supplied-syscalls or --disable-newlib-supplied-syscalls was given. mgl@1371: +fi mgl@1371: + mgl@1371: +# Check whether --enable-newlib-supplied-syscalls was given. mgl@1371: if test "${enable_newlib_supplied_syscalls+set}" = set; then mgl@1371: - enableval="$enable_newlib_supplied_syscalls" mgl@1371: - case "${enableval}" in mgl@1371: + enableval=$enable_newlib_supplied_syscalls; case "${enableval}" in mgl@1371: yes) newlib_may_supply_syscalls=yes ;; mgl@1371: no) newlib_may_supply_syscalls=no ;; mgl@1371: *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-supplied-syscalls option" >&5 mgl@1371: @@ -2030,7 +2516,8 @@ mgl@1371: esac mgl@1371: else mgl@1371: newlib_may_supply_syscalls=yes mgl@1371: -fi; mgl@1371: +fi mgl@1371: + mgl@1371: mgl@1371: mgl@1371: if test x${newlib_may_supply_syscalls} = xyes; then mgl@1371: @@ -2056,26 +2543,41 @@ mgl@1371: fi mgl@1371: mgl@1371: mgl@1371: -echo "$as_me:$LINENO: checking host system type" >&5 mgl@1371: -echo $ECHO_N "checking host system type... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking host system type" >&5 mgl@1371: +echo $ECHO_N "checking host system type... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_host+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: - ac_cv_host_alias=$host_alias mgl@1371: -test -z "$ac_cv_host_alias" && mgl@1371: - ac_cv_host_alias=$ac_cv_build_alias mgl@1371: -ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || mgl@1371: - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 mgl@1371: -echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} mgl@1371: + if test "x$host_alias" = x; then mgl@1371: + ac_cv_host=$ac_cv_build mgl@1371: +else mgl@1371: + ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || mgl@1371: + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 mgl@1371: +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} mgl@1371: { (exit 1); exit 1; }; } mgl@1371: +fi mgl@1371: mgl@1371: fi mgl@1371: -echo "$as_me:$LINENO: result: $ac_cv_host" >&5 mgl@1371: -echo "${ECHO_T}$ac_cv_host" >&6 mgl@1371: +{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5 mgl@1371: +echo "${ECHO_T}$ac_cv_host" >&6; } mgl@1371: +case $ac_cv_host in mgl@1371: +*-*-*) ;; mgl@1371: +*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 mgl@1371: +echo "$as_me: error: invalid value of canonical host" >&2;} mgl@1371: + { (exit 1); exit 1; }; };; mgl@1371: +esac mgl@1371: host=$ac_cv_host mgl@1371: -host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` mgl@1371: -host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` mgl@1371: -host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` mgl@1371: +ac_save_IFS=$IFS; IFS='-' mgl@1371: +set x $ac_cv_host mgl@1371: +shift mgl@1371: +host_cpu=$1 mgl@1371: +host_vendor=$2 mgl@1371: +shift; shift mgl@1371: +# Remember, the first character of IFS is used to create $*, mgl@1371: +# except with old shells: mgl@1371: +host_os=$* mgl@1371: +IFS=$ac_save_IFS mgl@1371: +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac mgl@1371: mgl@1371: mgl@1371: mgl@1371: @@ -2128,8 +2630,8 @@ mgl@1371: if test -n "$ac_tool_prefix"; then mgl@1371: # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. mgl@1371: set dummy ${ac_tool_prefix}strip; ac_word=$2 mgl@1371: -echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_prog_STRIP+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -2142,32 +2644,34 @@ mgl@1371: IFS=$as_save_IFS mgl@1371: test -z "$as_dir" && as_dir=. mgl@1371: for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: ac_cv_prog_STRIP="${ac_tool_prefix}strip" mgl@1371: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: break 2 mgl@1371: fi mgl@1371: done mgl@1371: done mgl@1371: +IFS=$as_save_IFS mgl@1371: mgl@1371: fi mgl@1371: fi mgl@1371: STRIP=$ac_cv_prog_STRIP mgl@1371: if test -n "$STRIP"; then mgl@1371: - echo "$as_me:$LINENO: result: $STRIP" >&5 mgl@1371: -echo "${ECHO_T}$STRIP" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $STRIP" >&5 mgl@1371: +echo "${ECHO_T}$STRIP" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: fi mgl@1371: mgl@1371: + mgl@1371: fi mgl@1371: if test -z "$ac_cv_prog_STRIP"; then mgl@1371: ac_ct_STRIP=$STRIP mgl@1371: # Extract the first word of "strip", so it can be a program name with args. mgl@1371: set dummy strip; ac_word=$2 mgl@1371: -echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -2180,27 +2684,41 @@ mgl@1371: IFS=$as_save_IFS mgl@1371: test -z "$as_dir" && as_dir=. mgl@1371: for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: ac_cv_prog_ac_ct_STRIP="strip" mgl@1371: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: break 2 mgl@1371: fi mgl@1371: done mgl@1371: done mgl@1371: +IFS=$as_save_IFS mgl@1371: mgl@1371: - test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" mgl@1371: fi mgl@1371: fi mgl@1371: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP mgl@1371: if test -n "$ac_ct_STRIP"; then mgl@1371: - echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 mgl@1371: -echo "${ECHO_T}$ac_ct_STRIP" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 mgl@1371: +echo "${ECHO_T}$ac_ct_STRIP" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: fi mgl@1371: mgl@1371: - STRIP=$ac_ct_STRIP mgl@1371: + if test "x$ac_ct_STRIP" = x; then mgl@1371: + STRIP=":" mgl@1371: + else mgl@1371: + case $cross_compiling:$ac_tool_warned in mgl@1371: +yes:) mgl@1371: +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools mgl@1371: +whose name does not start with the host triplet. If you think this mgl@1371: +configuration is useful to you, please write to autoconf@gnu.org." >&5 mgl@1371: +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools mgl@1371: +whose name does not start with the host triplet. If you think this mgl@1371: +configuration is useful to you, please write to autoconf@gnu.org." >&2;} mgl@1371: +ac_tool_warned=yes ;; mgl@1371: +esac mgl@1371: + STRIP=$ac_ct_STRIP mgl@1371: + fi mgl@1371: else mgl@1371: STRIP="$ac_cv_prog_STRIP" mgl@1371: fi mgl@1371: @@ -2235,8 +2753,8 @@ mgl@1371: mgl@1371: # Extract the first word of "gcc", so it can be a program name with args. mgl@1371: set dummy gcc; ac_word=$2 mgl@1371: -echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_prog_CC+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -2249,30 +2767,32 @@ mgl@1371: IFS=$as_save_IFS mgl@1371: test -z "$as_dir" && as_dir=. mgl@1371: for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: ac_cv_prog_CC="gcc" mgl@1371: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: break 2 mgl@1371: fi mgl@1371: done mgl@1371: done mgl@1371: +IFS=$as_save_IFS mgl@1371: mgl@1371: fi mgl@1371: fi mgl@1371: CC=$ac_cv_prog_CC mgl@1371: if test -n "$CC"; then mgl@1371: - echo "$as_me:$LINENO: result: $CC" >&5 mgl@1371: -echo "${ECHO_T}$CC" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $CC" >&5 mgl@1371: +echo "${ECHO_T}$CC" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: fi mgl@1371: mgl@1371: mgl@1371: + mgl@1371: depcc="$CC" am_compiler_list= mgl@1371: mgl@1371: -echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 mgl@1371: -echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 mgl@1371: +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; } mgl@1371: if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -2361,8 +2881,8 @@ mgl@1371: fi mgl@1371: mgl@1371: fi mgl@1371: -echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 mgl@1371: -echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6 mgl@1371: +{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 mgl@1371: +echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; } mgl@1371: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type mgl@1371: mgl@1371: mgl@1371: @@ -2381,8 +2901,8 @@ mgl@1371: if test -z "$CC"; then mgl@1371: # Extract the first word of "cc", so it can be a program name with args. mgl@1371: set dummy cc; ac_word=$2 mgl@1371: -echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_prog_CC+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -2396,7 +2916,7 @@ mgl@1371: IFS=$as_save_IFS mgl@1371: test -z "$as_dir" && as_dir=. mgl@1371: for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then mgl@1371: ac_prog_rejected=yes mgl@1371: continue mgl@1371: @@ -2407,6 +2927,7 @@ mgl@1371: fi mgl@1371: done mgl@1371: done mgl@1371: +IFS=$as_save_IFS mgl@1371: mgl@1371: if test $ac_prog_rejected = yes; then mgl@1371: # We found a bogon in the path, so make sure we never use it. mgl@1371: @@ -2424,20 +2945,21 @@ mgl@1371: fi mgl@1371: CC=$ac_cv_prog_CC mgl@1371: if test -n "$CC"; then mgl@1371: - echo "$as_me:$LINENO: result: $CC" >&5 mgl@1371: -echo "${ECHO_T}$CC" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $CC" >&5 mgl@1371: +echo "${ECHO_T}$CC" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: fi mgl@1371: mgl@1371: + mgl@1371: test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5 mgl@1371: echo "$as_me: error: no acceptable cc found in \$PATH" >&2;} mgl@1371: { (exit 1); exit 1; }; } mgl@1371: fi mgl@1371: mgl@1371: -echo "$as_me:$LINENO: checking whether we are using GNU C" >&5 mgl@1371: -echo $ECHO_N "checking whether we are using GNU C... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking whether we are using GNU C" >&5 mgl@1371: +echo $ECHO_N "checking whether we are using GNU C... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_c_compiler_gnu+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -2457,8 +2979,8 @@ mgl@1371: ac_cv_c_compiler_gnu=no mgl@1371: fi mgl@1371: fi mgl@1371: -echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 mgl@1371: -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 mgl@1371: +{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 mgl@1371: +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } mgl@1371: mgl@1371: if test $ac_cv_c_compiler_gnu = yes; then mgl@1371: GCC=yes mgl@1371: @@ -2467,13 +2989,16 @@ mgl@1371: CFLAGS= mgl@1371: ac_test_CFLAGS=${CFLAGS+set} mgl@1371: ac_save_CFLAGS=$CFLAGS mgl@1371: -CFLAGS="-g" mgl@1371: -echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 mgl@1371: -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 mgl@1371: +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_prog_cc_g+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: - cat >conftest.$ac_ext <<_ACEOF mgl@1371: + ac_save_c_werror_flag=$ac_c_werror_flag mgl@1371: + ac_c_werror_flag=yes mgl@1371: + ac_cv_prog_cc_g=no mgl@1371: + CFLAGS="-g" mgl@1371: + cat >conftest.$ac_ext <<_ACEOF mgl@1371: /* confdefs.h. */ mgl@1371: _ACEOF mgl@1371: cat confdefs.h >>conftest.$ac_ext mgl@1371: @@ -2489,38 +3014,118 @@ mgl@1371: } mgl@1371: _ACEOF mgl@1371: rm -f conftest.$ac_objext mgl@1371: -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 mgl@1371: - (eval $ac_compile) 2>conftest.er1 mgl@1371: +if { (ac_try="$ac_compile" mgl@1371: +case "(($ac_try" in mgl@1371: + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; mgl@1371: + *) ac_try_echo=$ac_try;; mgl@1371: +esac mgl@1371: +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 mgl@1371: + (eval "$ac_compile") 2>conftest.er1 mgl@1371: ac_status=$? mgl@1371: grep -v '^ *+' conftest.er1 >conftest.err mgl@1371: rm -f conftest.er1 mgl@1371: cat conftest.err >&5 mgl@1371: echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); } && mgl@1371: - { ac_try='test -z "$ac_c_werror_flag" mgl@1371: - || test ! -s conftest.err' mgl@1371: - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 mgl@1371: - (eval $ac_try) 2>&5 mgl@1371: + (exit $ac_status); } && { mgl@1371: + test -z "$ac_c_werror_flag" || mgl@1371: + test ! -s conftest.err mgl@1371: + } && test -s conftest.$ac_objext; then mgl@1371: + ac_cv_prog_cc_g=yes mgl@1371: +else mgl@1371: + echo "$as_me: failed program was:" >&5 mgl@1371: +sed 's/^/| /' conftest.$ac_ext >&5 mgl@1371: + mgl@1371: + CFLAGS="" mgl@1371: + cat >conftest.$ac_ext <<_ACEOF mgl@1371: +/* confdefs.h. */ mgl@1371: +_ACEOF mgl@1371: +cat confdefs.h >>conftest.$ac_ext mgl@1371: +cat >>conftest.$ac_ext <<_ACEOF mgl@1371: +/* end confdefs.h. */ mgl@1371: + mgl@1371: +int mgl@1371: +main () mgl@1371: +{ mgl@1371: + mgl@1371: + ; mgl@1371: + return 0; mgl@1371: +} mgl@1371: +_ACEOF mgl@1371: +rm -f conftest.$ac_objext mgl@1371: +if { (ac_try="$ac_compile" mgl@1371: +case "(($ac_try" in mgl@1371: + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; mgl@1371: + *) ac_try_echo=$ac_try;; mgl@1371: +esac mgl@1371: +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 mgl@1371: + (eval "$ac_compile") 2>conftest.er1 mgl@1371: ac_status=$? mgl@1371: + grep -v '^ *+' conftest.er1 >conftest.err mgl@1371: + rm -f conftest.er1 mgl@1371: + cat conftest.err >&5 mgl@1371: echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); }; } && mgl@1371: - { ac_try='test -s conftest.$ac_objext' mgl@1371: - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 mgl@1371: - (eval $ac_try) 2>&5 mgl@1371: + (exit $ac_status); } && { mgl@1371: + test -z "$ac_c_werror_flag" || mgl@1371: + test ! -s conftest.err mgl@1371: + } && test -s conftest.$ac_objext; then mgl@1371: + : mgl@1371: +else mgl@1371: + echo "$as_me: failed program was:" >&5 mgl@1371: +sed 's/^/| /' conftest.$ac_ext >&5 mgl@1371: + mgl@1371: + ac_c_werror_flag=$ac_save_c_werror_flag mgl@1371: + CFLAGS="-g" mgl@1371: + cat >conftest.$ac_ext <<_ACEOF mgl@1371: +/* confdefs.h. */ mgl@1371: +_ACEOF mgl@1371: +cat confdefs.h >>conftest.$ac_ext mgl@1371: +cat >>conftest.$ac_ext <<_ACEOF mgl@1371: +/* end confdefs.h. */ mgl@1371: + mgl@1371: +int mgl@1371: +main () mgl@1371: +{ mgl@1371: + mgl@1371: + ; mgl@1371: + return 0; mgl@1371: +} mgl@1371: +_ACEOF mgl@1371: +rm -f conftest.$ac_objext mgl@1371: +if { (ac_try="$ac_compile" mgl@1371: +case "(($ac_try" in mgl@1371: + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; mgl@1371: + *) ac_try_echo=$ac_try;; mgl@1371: +esac mgl@1371: +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 mgl@1371: + (eval "$ac_compile") 2>conftest.er1 mgl@1371: ac_status=$? mgl@1371: + grep -v '^ *+' conftest.er1 >conftest.err mgl@1371: + rm -f conftest.er1 mgl@1371: + cat conftest.err >&5 mgl@1371: echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); }; }; then mgl@1371: + (exit $ac_status); } && { mgl@1371: + test -z "$ac_c_werror_flag" || mgl@1371: + test ! -s conftest.err mgl@1371: + } && test -s conftest.$ac_objext; then mgl@1371: ac_cv_prog_cc_g=yes mgl@1371: else mgl@1371: echo "$as_me: failed program was:" >&5 mgl@1371: sed 's/^/| /' conftest.$ac_ext >&5 mgl@1371: mgl@1371: -ac_cv_prog_cc_g=no mgl@1371: + mgl@1371: +fi mgl@1371: + mgl@1371: +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext mgl@1371: +fi mgl@1371: + mgl@1371: +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext mgl@1371: fi mgl@1371: -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext mgl@1371: + mgl@1371: +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext mgl@1371: + ac_c_werror_flag=$ac_save_c_werror_flag mgl@1371: fi mgl@1371: -echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 mgl@1371: -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 mgl@1371: +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 mgl@1371: +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } mgl@1371: if test "$ac_test_CFLAGS" = set; then mgl@1371: CFLAGS=$ac_save_CFLAGS mgl@1371: elif test $ac_cv_prog_cc_g = yes; then mgl@1371: @@ -2552,8 +3157,8 @@ mgl@1371: if test -n "$ac_tool_prefix"; then mgl@1371: # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. mgl@1371: set dummy ${ac_tool_prefix}as; ac_word=$2 mgl@1371: -echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_prog_AS+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -2566,32 +3171,34 @@ mgl@1371: IFS=$as_save_IFS mgl@1371: test -z "$as_dir" && as_dir=. mgl@1371: for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: ac_cv_prog_AS="${ac_tool_prefix}as" mgl@1371: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: break 2 mgl@1371: fi mgl@1371: done mgl@1371: done mgl@1371: +IFS=$as_save_IFS mgl@1371: mgl@1371: fi mgl@1371: fi mgl@1371: AS=$ac_cv_prog_AS mgl@1371: if test -n "$AS"; then mgl@1371: - echo "$as_me:$LINENO: result: $AS" >&5 mgl@1371: -echo "${ECHO_T}$AS" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $AS" >&5 mgl@1371: +echo "${ECHO_T}$AS" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: fi mgl@1371: mgl@1371: + mgl@1371: fi mgl@1371: if test -z "$ac_cv_prog_AS"; then mgl@1371: ac_ct_AS=$AS mgl@1371: # Extract the first word of "as", so it can be a program name with args. mgl@1371: set dummy as; ac_word=$2 mgl@1371: -echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_prog_ac_ct_AS+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -2604,26 +3211,41 @@ mgl@1371: IFS=$as_save_IFS mgl@1371: test -z "$as_dir" && as_dir=. mgl@1371: for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: ac_cv_prog_ac_ct_AS="as" mgl@1371: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: break 2 mgl@1371: fi mgl@1371: done mgl@1371: done mgl@1371: +IFS=$as_save_IFS mgl@1371: mgl@1371: fi mgl@1371: fi mgl@1371: ac_ct_AS=$ac_cv_prog_ac_ct_AS mgl@1371: if test -n "$ac_ct_AS"; then mgl@1371: - echo "$as_me:$LINENO: result: $ac_ct_AS" >&5 mgl@1371: -echo "${ECHO_T}$ac_ct_AS" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5 mgl@1371: +echo "${ECHO_T}$ac_ct_AS" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: fi mgl@1371: mgl@1371: - AS=$ac_ct_AS mgl@1371: + if test "x$ac_ct_AS" = x; then mgl@1371: + AS="" mgl@1371: + else mgl@1371: + case $cross_compiling:$ac_tool_warned in mgl@1371: +yes:) mgl@1371: +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools mgl@1371: +whose name does not start with the host triplet. If you think this mgl@1371: +configuration is useful to you, please write to autoconf@gnu.org." >&5 mgl@1371: +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools mgl@1371: +whose name does not start with the host triplet. If you think this mgl@1371: +configuration is useful to you, please write to autoconf@gnu.org." >&2;} mgl@1371: +ac_tool_warned=yes ;; mgl@1371: +esac mgl@1371: + AS=$ac_ct_AS mgl@1371: + fi mgl@1371: else mgl@1371: AS="$ac_cv_prog_AS" mgl@1371: fi mgl@1371: @@ -2631,8 +3253,8 @@ mgl@1371: if test -n "$ac_tool_prefix"; then mgl@1371: # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. mgl@1371: set dummy ${ac_tool_prefix}ar; ac_word=$2 mgl@1371: -echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_prog_AR+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -2645,32 +3267,34 @@ mgl@1371: IFS=$as_save_IFS mgl@1371: test -z "$as_dir" && as_dir=. mgl@1371: for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: ac_cv_prog_AR="${ac_tool_prefix}ar" mgl@1371: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: break 2 mgl@1371: fi mgl@1371: done mgl@1371: done mgl@1371: +IFS=$as_save_IFS mgl@1371: mgl@1371: fi mgl@1371: fi mgl@1371: AR=$ac_cv_prog_AR mgl@1371: if test -n "$AR"; then mgl@1371: - echo "$as_me:$LINENO: result: $AR" >&5 mgl@1371: -echo "${ECHO_T}$AR" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $AR" >&5 mgl@1371: +echo "${ECHO_T}$AR" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: fi mgl@1371: mgl@1371: + mgl@1371: fi mgl@1371: if test -z "$ac_cv_prog_AR"; then mgl@1371: ac_ct_AR=$AR mgl@1371: # Extract the first word of "ar", so it can be a program name with args. mgl@1371: set dummy ar; ac_word=$2 mgl@1371: -echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_prog_ac_ct_AR+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -2683,26 +3307,41 @@ mgl@1371: IFS=$as_save_IFS mgl@1371: test -z "$as_dir" && as_dir=. mgl@1371: for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: ac_cv_prog_ac_ct_AR="ar" mgl@1371: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: break 2 mgl@1371: fi mgl@1371: done mgl@1371: done mgl@1371: +IFS=$as_save_IFS mgl@1371: mgl@1371: fi mgl@1371: fi mgl@1371: ac_ct_AR=$ac_cv_prog_ac_ct_AR mgl@1371: if test -n "$ac_ct_AR"; then mgl@1371: - echo "$as_me:$LINENO: result: $ac_ct_AR" >&5 mgl@1371: -echo "${ECHO_T}$ac_ct_AR" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5 mgl@1371: +echo "${ECHO_T}$ac_ct_AR" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: fi mgl@1371: mgl@1371: - AR=$ac_ct_AR mgl@1371: + if test "x$ac_ct_AR" = x; then mgl@1371: + AR="" mgl@1371: + else mgl@1371: + case $cross_compiling:$ac_tool_warned in mgl@1371: +yes:) mgl@1371: +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools mgl@1371: +whose name does not start with the host triplet. If you think this mgl@1371: +configuration is useful to you, please write to autoconf@gnu.org." >&5 mgl@1371: +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools mgl@1371: +whose name does not start with the host triplet. If you think this mgl@1371: +configuration is useful to you, please write to autoconf@gnu.org." >&2;} mgl@1371: +ac_tool_warned=yes ;; mgl@1371: +esac mgl@1371: + AR=$ac_ct_AR mgl@1371: + fi mgl@1371: else mgl@1371: AR="$ac_cv_prog_AR" mgl@1371: fi mgl@1371: @@ -2710,8 +3349,8 @@ mgl@1371: if test -n "$ac_tool_prefix"; then mgl@1371: # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. mgl@1371: set dummy ${ac_tool_prefix}ranlib; ac_word=$2 mgl@1371: -echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_prog_RANLIB+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -2724,32 +3363,34 @@ mgl@1371: IFS=$as_save_IFS mgl@1371: test -z "$as_dir" && as_dir=. mgl@1371: for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" mgl@1371: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: break 2 mgl@1371: fi mgl@1371: done mgl@1371: done mgl@1371: +IFS=$as_save_IFS mgl@1371: mgl@1371: fi mgl@1371: fi mgl@1371: RANLIB=$ac_cv_prog_RANLIB mgl@1371: if test -n "$RANLIB"; then mgl@1371: - echo "$as_me:$LINENO: result: $RANLIB" >&5 mgl@1371: -echo "${ECHO_T}$RANLIB" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $RANLIB" >&5 mgl@1371: +echo "${ECHO_T}$RANLIB" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: fi mgl@1371: mgl@1371: + mgl@1371: fi mgl@1371: if test -z "$ac_cv_prog_RANLIB"; then mgl@1371: ac_ct_RANLIB=$RANLIB mgl@1371: # Extract the first word of "ranlib", so it can be a program name with args. mgl@1371: set dummy ranlib; ac_word=$2 mgl@1371: -echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -2762,27 +3403,41 @@ mgl@1371: IFS=$as_save_IFS mgl@1371: test -z "$as_dir" && as_dir=. mgl@1371: for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: ac_cv_prog_ac_ct_RANLIB="ranlib" mgl@1371: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: break 2 mgl@1371: fi mgl@1371: done mgl@1371: done mgl@1371: +IFS=$as_save_IFS mgl@1371: mgl@1371: - test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" mgl@1371: fi mgl@1371: fi mgl@1371: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB mgl@1371: if test -n "$ac_ct_RANLIB"; then mgl@1371: - echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 mgl@1371: -echo "${ECHO_T}$ac_ct_RANLIB" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 mgl@1371: +echo "${ECHO_T}$ac_ct_RANLIB" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: fi mgl@1371: mgl@1371: - RANLIB=$ac_ct_RANLIB mgl@1371: + if test "x$ac_ct_RANLIB" = x; then mgl@1371: + RANLIB=":" mgl@1371: + else mgl@1371: + case $cross_compiling:$ac_tool_warned in mgl@1371: +yes:) mgl@1371: +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools mgl@1371: +whose name does not start with the host triplet. If you think this mgl@1371: +configuration is useful to you, please write to autoconf@gnu.org." >&5 mgl@1371: +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools mgl@1371: +whose name does not start with the host triplet. If you think this mgl@1371: +configuration is useful to you, please write to autoconf@gnu.org." >&2;} mgl@1371: +ac_tool_warned=yes ;; mgl@1371: +esac mgl@1371: + RANLIB=$ac_ct_RANLIB mgl@1371: + fi mgl@1371: else mgl@1371: RANLIB="$ac_cv_prog_RANLIB" mgl@1371: fi mgl@1371: @@ -2790,8 +3445,8 @@ mgl@1371: if test -n "$ac_tool_prefix"; then mgl@1371: # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args. mgl@1371: set dummy ${ac_tool_prefix}readelf; ac_word=$2 mgl@1371: -echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_prog_READELF+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -2804,32 +3459,34 @@ mgl@1371: IFS=$as_save_IFS mgl@1371: test -z "$as_dir" && as_dir=. mgl@1371: for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: ac_cv_prog_READELF="${ac_tool_prefix}readelf" mgl@1371: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: break 2 mgl@1371: fi mgl@1371: done mgl@1371: done mgl@1371: +IFS=$as_save_IFS mgl@1371: mgl@1371: fi mgl@1371: fi mgl@1371: READELF=$ac_cv_prog_READELF mgl@1371: if test -n "$READELF"; then mgl@1371: - echo "$as_me:$LINENO: result: $READELF" >&5 mgl@1371: -echo "${ECHO_T}$READELF" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $READELF" >&5 mgl@1371: +echo "${ECHO_T}$READELF" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: fi mgl@1371: mgl@1371: + mgl@1371: fi mgl@1371: if test -z "$ac_cv_prog_READELF"; then mgl@1371: ac_ct_READELF=$READELF mgl@1371: # Extract the first word of "readelf", so it can be a program name with args. mgl@1371: set dummy readelf; ac_word=$2 mgl@1371: -echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_prog_ac_ct_READELF+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -2842,27 +3499,41 @@ mgl@1371: IFS=$as_save_IFS mgl@1371: test -z "$as_dir" && as_dir=. mgl@1371: for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: ac_cv_prog_ac_ct_READELF="readelf" mgl@1371: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: break 2 mgl@1371: fi mgl@1371: done mgl@1371: done mgl@1371: +IFS=$as_save_IFS mgl@1371: mgl@1371: - test -z "$ac_cv_prog_ac_ct_READELF" && ac_cv_prog_ac_ct_READELF=":" mgl@1371: fi mgl@1371: fi mgl@1371: ac_ct_READELF=$ac_cv_prog_ac_ct_READELF mgl@1371: if test -n "$ac_ct_READELF"; then mgl@1371: - echo "$as_me:$LINENO: result: $ac_ct_READELF" >&5 mgl@1371: -echo "${ECHO_T}$ac_ct_READELF" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $ac_ct_READELF" >&5 mgl@1371: +echo "${ECHO_T}$ac_ct_READELF" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: fi mgl@1371: mgl@1371: - READELF=$ac_ct_READELF mgl@1371: + if test "x$ac_ct_READELF" = x; then mgl@1371: + READELF=":" mgl@1371: + else mgl@1371: + case $cross_compiling:$ac_tool_warned in mgl@1371: +yes:) mgl@1371: +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools mgl@1371: +whose name does not start with the host triplet. If you think this mgl@1371: +configuration is useful to you, please write to autoconf@gnu.org." >&5 mgl@1371: +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools mgl@1371: +whose name does not start with the host triplet. If you think this mgl@1371: +configuration is useful to you, please write to autoconf@gnu.org." >&2;} mgl@1371: +ac_tool_warned=yes ;; mgl@1371: +esac mgl@1371: + READELF=$ac_ct_READELF mgl@1371: + fi mgl@1371: else mgl@1371: READELF="$ac_cv_prog_READELF" mgl@1371: fi mgl@1371: @@ -2881,8 +3552,8 @@ mgl@1371: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" mgl@1371: # OS/2's system install, which has a completely different semantic mgl@1371: # ./install, which can be erroneously created by make from ./install.sh. mgl@1371: -echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 mgl@1371: -echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 mgl@1371: +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } mgl@1371: if test -z "$INSTALL"; then mgl@1371: if test "${ac_cv_path_install+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: @@ -2904,7 +3575,7 @@ mgl@1371: # by default. mgl@1371: for ac_prog in ginstall scoinst install; do mgl@1371: for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: - if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then mgl@1371: + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then mgl@1371: if test $ac_prog = install && mgl@1371: grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then mgl@1371: # AIX install. It has an incompatible calling convention. mgl@1371: @@ -2923,21 +3594,22 @@ mgl@1371: ;; mgl@1371: esac mgl@1371: done mgl@1371: +IFS=$as_save_IFS mgl@1371: mgl@1371: mgl@1371: fi mgl@1371: if test "${ac_cv_path_install+set}" = set; then mgl@1371: INSTALL=$ac_cv_path_install mgl@1371: else mgl@1371: - # As a last resort, use the slow shell script. We don't cache a mgl@1371: - # path for INSTALL within a source directory, because that will mgl@1371: + # As a last resort, use the slow shell script. Don't cache a mgl@1371: + # value for INSTALL within a source directory, because that will mgl@1371: # break other packages using the cache if that directory is mgl@1371: - # removed, or if the path is relative. mgl@1371: + # removed, or if the value is a relative name. mgl@1371: INSTALL=$ac_install_sh mgl@1371: fi mgl@1371: fi mgl@1371: -echo "$as_me:$LINENO: result: $INSTALL" >&5 mgl@1371: -echo "${ECHO_T}$INSTALL" >&6 mgl@1371: +{ echo "$as_me:$LINENO: result: $INSTALL" >&5 mgl@1371: +echo "${ECHO_T}$INSTALL" >&6; } mgl@1371: mgl@1371: # Use test -z because SunOS4 sh mishandles braces in ${var-val}. mgl@1371: # It thinks the first close brace ends the variable substitution. mgl@1371: @@ -2951,17 +3623,17 @@ mgl@1371: # Hack to ensure that INSTALL won't be set to "../" with autoconf 2.13. */ mgl@1371: ac_given_INSTALL=$INSTALL mgl@1371: mgl@1371: -echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 mgl@1371: -echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6 mgl@1371: - # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. mgl@1371: +{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 mgl@1371: +echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; } mgl@1371: + # Check whether --enable-maintainer-mode was given. mgl@1371: if test "${enable_maintainer_mode+set}" = set; then mgl@1371: - enableval="$enable_maintainer_mode" mgl@1371: - USE_MAINTAINER_MODE=$enableval mgl@1371: + enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval mgl@1371: else mgl@1371: USE_MAINTAINER_MODE=no mgl@1371: -fi; mgl@1371: - echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 mgl@1371: -echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6 mgl@1371: +fi mgl@1371: + mgl@1371: + { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 mgl@1371: +echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; } mgl@1371: mgl@1371: mgl@1371: if test $USE_MAINTAINER_MODE = yes; then mgl@1371: @@ -3081,64 +3753,89 @@ mgl@1371: mgl@1371: mgl@1371: mgl@1371: -echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5 mgl@1371: -echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6 mgl@1371: -if test "${lt_cv_path_SED+set}" = set; then mgl@1371: +{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5 mgl@1371: +echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; } mgl@1371: +if test "${ac_cv_path_SED+set}" = set; then mgl@1371: + echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: +else mgl@1371: + ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ mgl@1371: + for ac_i in 1 2 3 4 5 6 7; do mgl@1371: + ac_script="$ac_script$as_nl$ac_script" mgl@1371: + done mgl@1371: + echo "$ac_script" | sed 99q >conftest.sed mgl@1371: + $as_unset ac_script || ac_script= mgl@1371: + # Extract the first word of "sed gsed" to use in msg output mgl@1371: +if test -z "$SED"; then mgl@1371: +set dummy sed gsed; ac_prog_name=$2 mgl@1371: +if test "${ac_cv_path_SED+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: - # Loop through the user's path and test for sed and gsed. mgl@1371: -# Then use that list of sed's as ones to test for truncation. mgl@1371: + ac_path_SED_found=false mgl@1371: +# Loop through the user's path and test for each of PROGNAME-LIST mgl@1371: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR mgl@1371: for as_dir in $PATH mgl@1371: do mgl@1371: IFS=$as_save_IFS mgl@1371: test -z "$as_dir" && as_dir=. mgl@1371: - for lt_ac_prog in sed gsed; do mgl@1371: - for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: - if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then mgl@1371: - lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext" mgl@1371: - fi mgl@1371: - done mgl@1371: - done mgl@1371: -done mgl@1371: -IFS=$as_save_IFS mgl@1371: -lt_ac_max=0 mgl@1371: -lt_ac_count=0 mgl@1371: -# Add /usr/xpg4/bin/sed as it is typically found on Solaris mgl@1371: -# along with /bin/sed that truncates output. mgl@1371: -for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do mgl@1371: - test ! -f $lt_ac_sed && continue mgl@1371: - cat /dev/null > conftest.in mgl@1371: - lt_ac_count=0 mgl@1371: - echo $ECHO_N "0123456789$ECHO_C" >conftest.in mgl@1371: - # Check for GNU sed and select it if it is found. mgl@1371: - if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then mgl@1371: - lt_cv_path_SED=$lt_ac_sed mgl@1371: - break mgl@1371: - fi mgl@1371: - while true; do mgl@1371: - cat conftest.in conftest.in >conftest.tmp mgl@1371: - mv conftest.tmp conftest.in mgl@1371: - cp conftest.in conftest.nl mgl@1371: - echo >>conftest.nl mgl@1371: - $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break mgl@1371: - cmp -s conftest.out conftest.nl || break mgl@1371: - # 10000 chars as input seems more than enough mgl@1371: - test $lt_ac_count -gt 10 && break mgl@1371: - lt_ac_count=`expr $lt_ac_count + 1` mgl@1371: - if test $lt_ac_count -gt $lt_ac_max; then mgl@1371: - lt_ac_max=$lt_ac_count mgl@1371: - lt_cv_path_SED=$lt_ac_sed mgl@1371: + for ac_prog in sed gsed; do mgl@1371: + for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: + ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" mgl@1371: + { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue mgl@1371: + # Check for GNU ac_path_SED and select it if it is found. mgl@1371: + # Check for GNU $ac_path_SED mgl@1371: +case `"$ac_path_SED" --version 2>&1` in mgl@1371: +*GNU*) mgl@1371: + ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; mgl@1371: +*) mgl@1371: + ac_count=0 mgl@1371: + echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" mgl@1371: + while : mgl@1371: + do mgl@1371: + cat "conftest.in" "conftest.in" >"conftest.tmp" mgl@1371: + mv "conftest.tmp" "conftest.in" mgl@1371: + cp "conftest.in" "conftest.nl" mgl@1371: + echo '' >> "conftest.nl" mgl@1371: + "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break mgl@1371: + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break mgl@1371: + ac_count=`expr $ac_count + 1` mgl@1371: + if test $ac_count -gt ${ac_path_SED_max-0}; then mgl@1371: + # Best one so far, save it but keep looking for a better one mgl@1371: + ac_cv_path_SED="$ac_path_SED" mgl@1371: + ac_path_SED_max=$ac_count mgl@1371: fi mgl@1371: + # 10*(2^10) chars as input seems more than enough mgl@1371: + test $ac_count -gt 10 && break mgl@1371: + done mgl@1371: + rm -f conftest.in conftest.tmp conftest.nl conftest.out;; mgl@1371: +esac mgl@1371: + mgl@1371: + mgl@1371: + $ac_path_SED_found && break 3 mgl@1371: done mgl@1371: done mgl@1371: mgl@1371: +done mgl@1371: +IFS=$as_save_IFS mgl@1371: + mgl@1371: + mgl@1371: +fi mgl@1371: + mgl@1371: +SED="$ac_cv_path_SED" mgl@1371: +if test -z "$SED"; then mgl@1371: + { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5 mgl@1371: +echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;} mgl@1371: + { (exit 1); exit 1; }; } mgl@1371: fi mgl@1371: mgl@1371: -SED=$lt_cv_path_SED mgl@1371: +else mgl@1371: + ac_cv_path_SED=$SED mgl@1371: +fi mgl@1371: mgl@1371: -echo "$as_me:$LINENO: result: $SED" >&5 mgl@1371: -echo "${ECHO_T}$SED" >&6 mgl@1371: +fi mgl@1371: +{ echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5 mgl@1371: +echo "${ECHO_T}$ac_cv_path_SED" >&6; } mgl@1371: + SED="$ac_cv_path_SED" mgl@1371: + rm -f conftest.sed mgl@1371: mgl@1371: test -z "$SED" && SED=sed mgl@1371: Xsed="$SED -e 1s/^X//" mgl@1371: @@ -3161,8 +3858,8 @@ mgl@1371: if test -n "$ac_tool_prefix"; then mgl@1371: # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. mgl@1371: set dummy ${ac_tool_prefix}as; ac_word=$2 mgl@1371: -echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_prog_AS+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -3175,32 +3872,34 @@ mgl@1371: IFS=$as_save_IFS mgl@1371: test -z "$as_dir" && as_dir=. mgl@1371: for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: ac_cv_prog_AS="${ac_tool_prefix}as" mgl@1371: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: break 2 mgl@1371: fi mgl@1371: done mgl@1371: done mgl@1371: +IFS=$as_save_IFS mgl@1371: mgl@1371: fi mgl@1371: fi mgl@1371: AS=$ac_cv_prog_AS mgl@1371: if test -n "$AS"; then mgl@1371: - echo "$as_me:$LINENO: result: $AS" >&5 mgl@1371: -echo "${ECHO_T}$AS" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $AS" >&5 mgl@1371: +echo "${ECHO_T}$AS" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: fi mgl@1371: mgl@1371: + mgl@1371: fi mgl@1371: if test -z "$ac_cv_prog_AS"; then mgl@1371: ac_ct_AS=$AS mgl@1371: # Extract the first word of "as", so it can be a program name with args. mgl@1371: set dummy as; ac_word=$2 mgl@1371: -echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_prog_ac_ct_AS+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -3213,27 +3912,41 @@ mgl@1371: IFS=$as_save_IFS mgl@1371: test -z "$as_dir" && as_dir=. mgl@1371: for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: ac_cv_prog_ac_ct_AS="as" mgl@1371: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: break 2 mgl@1371: fi mgl@1371: done mgl@1371: done mgl@1371: +IFS=$as_save_IFS mgl@1371: mgl@1371: - test -z "$ac_cv_prog_ac_ct_AS" && ac_cv_prog_ac_ct_AS="false" mgl@1371: fi mgl@1371: fi mgl@1371: ac_ct_AS=$ac_cv_prog_ac_ct_AS mgl@1371: if test -n "$ac_ct_AS"; then mgl@1371: - echo "$as_me:$LINENO: result: $ac_ct_AS" >&5 mgl@1371: -echo "${ECHO_T}$ac_ct_AS" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5 mgl@1371: +echo "${ECHO_T}$ac_ct_AS" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: fi mgl@1371: mgl@1371: - AS=$ac_ct_AS mgl@1371: + if test "x$ac_ct_AS" = x; then mgl@1371: + AS="false" mgl@1371: + else mgl@1371: + case $cross_compiling:$ac_tool_warned in mgl@1371: +yes:) mgl@1371: +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools mgl@1371: +whose name does not start with the host triplet. If you think this mgl@1371: +configuration is useful to you, please write to autoconf@gnu.org." >&5 mgl@1371: +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools mgl@1371: +whose name does not start with the host triplet. If you think this mgl@1371: +configuration is useful to you, please write to autoconf@gnu.org." >&2;} mgl@1371: +ac_tool_warned=yes ;; mgl@1371: +esac mgl@1371: + AS=$ac_ct_AS mgl@1371: + fi mgl@1371: else mgl@1371: AS="$ac_cv_prog_AS" mgl@1371: fi mgl@1371: @@ -3241,8 +3954,8 @@ mgl@1371: if test -n "$ac_tool_prefix"; then mgl@1371: # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. mgl@1371: set dummy ${ac_tool_prefix}dlltool; ac_word=$2 mgl@1371: -echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_prog_DLLTOOL+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -3255,32 +3968,34 @@ mgl@1371: IFS=$as_save_IFS mgl@1371: test -z "$as_dir" && as_dir=. mgl@1371: for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" mgl@1371: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: break 2 mgl@1371: fi mgl@1371: done mgl@1371: done mgl@1371: +IFS=$as_save_IFS mgl@1371: mgl@1371: fi mgl@1371: fi mgl@1371: DLLTOOL=$ac_cv_prog_DLLTOOL mgl@1371: if test -n "$DLLTOOL"; then mgl@1371: - echo "$as_me:$LINENO: result: $DLLTOOL" >&5 mgl@1371: -echo "${ECHO_T}$DLLTOOL" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $DLLTOOL" >&5 mgl@1371: +echo "${ECHO_T}$DLLTOOL" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: fi mgl@1371: mgl@1371: + mgl@1371: fi mgl@1371: if test -z "$ac_cv_prog_DLLTOOL"; then mgl@1371: ac_ct_DLLTOOL=$DLLTOOL mgl@1371: # Extract the first word of "dlltool", so it can be a program name with args. mgl@1371: set dummy dlltool; ac_word=$2 mgl@1371: -echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -3293,27 +4008,41 @@ mgl@1371: IFS=$as_save_IFS mgl@1371: test -z "$as_dir" && as_dir=. mgl@1371: for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: ac_cv_prog_ac_ct_DLLTOOL="dlltool" mgl@1371: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: break 2 mgl@1371: fi mgl@1371: done mgl@1371: done mgl@1371: +IFS=$as_save_IFS mgl@1371: mgl@1371: - test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL="false" mgl@1371: fi mgl@1371: fi mgl@1371: ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL mgl@1371: if test -n "$ac_ct_DLLTOOL"; then mgl@1371: - echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5 mgl@1371: -echo "${ECHO_T}$ac_ct_DLLTOOL" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5 mgl@1371: +echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: fi mgl@1371: mgl@1371: - DLLTOOL=$ac_ct_DLLTOOL mgl@1371: + if test "x$ac_ct_DLLTOOL" = x; then mgl@1371: + DLLTOOL="false" mgl@1371: + else mgl@1371: + case $cross_compiling:$ac_tool_warned in mgl@1371: +yes:) mgl@1371: +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools mgl@1371: +whose name does not start with the host triplet. If you think this mgl@1371: +configuration is useful to you, please write to autoconf@gnu.org." >&5 mgl@1371: +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools mgl@1371: +whose name does not start with the host triplet. If you think this mgl@1371: +configuration is useful to you, please write to autoconf@gnu.org." >&2;} mgl@1371: +ac_tool_warned=yes ;; mgl@1371: +esac mgl@1371: + DLLTOOL=$ac_ct_DLLTOOL mgl@1371: + fi mgl@1371: else mgl@1371: DLLTOOL="$ac_cv_prog_DLLTOOL" mgl@1371: fi mgl@1371: @@ -3321,8 +4050,8 @@ mgl@1371: if test -n "$ac_tool_prefix"; then mgl@1371: # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. mgl@1371: set dummy ${ac_tool_prefix}objdump; ac_word=$2 mgl@1371: -echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_prog_OBJDUMP+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -3335,32 +4064,34 @@ mgl@1371: IFS=$as_save_IFS mgl@1371: test -z "$as_dir" && as_dir=. mgl@1371: for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" mgl@1371: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: break 2 mgl@1371: fi mgl@1371: done mgl@1371: done mgl@1371: +IFS=$as_save_IFS mgl@1371: mgl@1371: fi mgl@1371: fi mgl@1371: OBJDUMP=$ac_cv_prog_OBJDUMP mgl@1371: if test -n "$OBJDUMP"; then mgl@1371: - echo "$as_me:$LINENO: result: $OBJDUMP" >&5 mgl@1371: -echo "${ECHO_T}$OBJDUMP" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $OBJDUMP" >&5 mgl@1371: +echo "${ECHO_T}$OBJDUMP" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: fi mgl@1371: mgl@1371: + mgl@1371: fi mgl@1371: if test -z "$ac_cv_prog_OBJDUMP"; then mgl@1371: ac_ct_OBJDUMP=$OBJDUMP mgl@1371: # Extract the first word of "objdump", so it can be a program name with args. mgl@1371: set dummy objdump; ac_word=$2 mgl@1371: -echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -3373,27 +4104,41 @@ mgl@1371: IFS=$as_save_IFS mgl@1371: test -z "$as_dir" && as_dir=. mgl@1371: for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: ac_cv_prog_ac_ct_OBJDUMP="objdump" mgl@1371: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: break 2 mgl@1371: fi mgl@1371: done mgl@1371: done mgl@1371: +IFS=$as_save_IFS mgl@1371: mgl@1371: - test -z "$ac_cv_prog_ac_ct_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP="false" mgl@1371: fi mgl@1371: fi mgl@1371: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP mgl@1371: if test -n "$ac_ct_OBJDUMP"; then mgl@1371: - echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5 mgl@1371: -echo "${ECHO_T}$ac_ct_OBJDUMP" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5 mgl@1371: +echo "${ECHO_T}$ac_ct_OBJDUMP" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: fi mgl@1371: mgl@1371: - OBJDUMP=$ac_ct_OBJDUMP mgl@1371: + if test "x$ac_ct_OBJDUMP" = x; then mgl@1371: + OBJDUMP="false" mgl@1371: + else mgl@1371: + case $cross_compiling:$ac_tool_warned in mgl@1371: +yes:) mgl@1371: +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools mgl@1371: +whose name does not start with the host triplet. If you think this mgl@1371: +configuration is useful to you, please write to autoconf@gnu.org." >&5 mgl@1371: +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools mgl@1371: +whose name does not start with the host triplet. If you think this mgl@1371: +configuration is useful to you, please write to autoconf@gnu.org." >&2;} mgl@1371: +ac_tool_warned=yes ;; mgl@1371: +esac mgl@1371: + OBJDUMP=$ac_ct_OBJDUMP mgl@1371: + fi mgl@1371: else mgl@1371: OBJDUMP="$ac_cv_prog_OBJDUMP" mgl@1371: fi mgl@1371: @@ -3454,8 +4199,8 @@ mgl@1371: if test -n "$ac_tool_prefix"; then mgl@1371: # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. mgl@1371: set dummy ${ac_tool_prefix}gcc; ac_word=$2 mgl@1371: -echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_prog_CC+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -3468,32 +4213,34 @@ mgl@1371: IFS=$as_save_IFS mgl@1371: test -z "$as_dir" && as_dir=. mgl@1371: for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: ac_cv_prog_CC="${ac_tool_prefix}gcc" mgl@1371: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: break 2 mgl@1371: fi mgl@1371: done mgl@1371: done mgl@1371: +IFS=$as_save_IFS mgl@1371: mgl@1371: fi mgl@1371: fi mgl@1371: CC=$ac_cv_prog_CC mgl@1371: if test -n "$CC"; then mgl@1371: - echo "$as_me:$LINENO: result: $CC" >&5 mgl@1371: -echo "${ECHO_T}$CC" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $CC" >&5 mgl@1371: +echo "${ECHO_T}$CC" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: fi mgl@1371: mgl@1371: + mgl@1371: fi mgl@1371: if test -z "$ac_cv_prog_CC"; then mgl@1371: ac_ct_CC=$CC mgl@1371: # Extract the first word of "gcc", so it can be a program name with args. mgl@1371: set dummy gcc; ac_word=$2 mgl@1371: -echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -3506,36 +4253,51 @@ mgl@1371: IFS=$as_save_IFS mgl@1371: test -z "$as_dir" && as_dir=. mgl@1371: for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: ac_cv_prog_ac_ct_CC="gcc" mgl@1371: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: break 2 mgl@1371: fi mgl@1371: done mgl@1371: done mgl@1371: +IFS=$as_save_IFS mgl@1371: mgl@1371: fi mgl@1371: fi mgl@1371: ac_ct_CC=$ac_cv_prog_ac_ct_CC mgl@1371: if test -n "$ac_ct_CC"; then mgl@1371: - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 mgl@1371: -echo "${ECHO_T}$ac_ct_CC" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 mgl@1371: +echo "${ECHO_T}$ac_ct_CC" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: fi mgl@1371: mgl@1371: - CC=$ac_ct_CC mgl@1371: + if test "x$ac_ct_CC" = x; then mgl@1371: + CC="" mgl@1371: + else mgl@1371: + case $cross_compiling:$ac_tool_warned in mgl@1371: +yes:) mgl@1371: +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools mgl@1371: +whose name does not start with the host triplet. If you think this mgl@1371: +configuration is useful to you, please write to autoconf@gnu.org." >&5 mgl@1371: +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools mgl@1371: +whose name does not start with the host triplet. If you think this mgl@1371: +configuration is useful to you, please write to autoconf@gnu.org." >&2;} mgl@1371: +ac_tool_warned=yes ;; mgl@1371: +esac mgl@1371: + CC=$ac_ct_CC mgl@1371: + fi mgl@1371: else mgl@1371: CC="$ac_cv_prog_CC" mgl@1371: fi mgl@1371: mgl@1371: if test -z "$CC"; then mgl@1371: - if test -n "$ac_tool_prefix"; then mgl@1371: - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. mgl@1371: + if test -n "$ac_tool_prefix"; then mgl@1371: + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. mgl@1371: set dummy ${ac_tool_prefix}cc; ac_word=$2 mgl@1371: -echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_prog_CC+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -3548,98 +4310,59 @@ mgl@1371: IFS=$as_save_IFS mgl@1371: test -z "$as_dir" && as_dir=. mgl@1371: for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: ac_cv_prog_CC="${ac_tool_prefix}cc" mgl@1371: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: break 2 mgl@1371: fi mgl@1371: done mgl@1371: done mgl@1371: +IFS=$as_save_IFS mgl@1371: mgl@1371: fi mgl@1371: fi mgl@1371: CC=$ac_cv_prog_CC mgl@1371: if test -n "$CC"; then mgl@1371: - echo "$as_me:$LINENO: result: $CC" >&5 mgl@1371: -echo "${ECHO_T}$CC" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $CC" >&5 mgl@1371: +echo "${ECHO_T}$CC" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: fi mgl@1371: mgl@1371: + mgl@1371: + fi mgl@1371: fi mgl@1371: -if test -z "$ac_cv_prog_CC"; then mgl@1371: - ac_ct_CC=$CC mgl@1371: +if test -z "$CC"; then mgl@1371: # Extract the first word of "cc", so it can be a program name with args. mgl@1371: set dummy cc; ac_word=$2 mgl@1371: -echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 mgl@1371: -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: +if test "${ac_cv_prog_CC+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: - if test -n "$ac_ct_CC"; then mgl@1371: - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. mgl@1371: + if test -n "$CC"; then mgl@1371: + ac_cv_prog_CC="$CC" # Let the user override the test. mgl@1371: else mgl@1371: + ac_prog_rejected=no mgl@1371: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR mgl@1371: for as_dir in $PATH mgl@1371: do mgl@1371: IFS=$as_save_IFS mgl@1371: test -z "$as_dir" && as_dir=. mgl@1371: for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then mgl@1371: - ac_cv_prog_ac_ct_CC="cc" mgl@1371: - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: - break 2 mgl@1371: - fi mgl@1371: -done mgl@1371: -done mgl@1371: - mgl@1371: -fi mgl@1371: -fi mgl@1371: -ac_ct_CC=$ac_cv_prog_ac_ct_CC mgl@1371: -if test -n "$ac_ct_CC"; then mgl@1371: - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 mgl@1371: -echo "${ECHO_T}$ac_ct_CC" >&6 mgl@1371: -else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: -fi mgl@1371: - mgl@1371: - CC=$ac_ct_CC mgl@1371: -else mgl@1371: - CC="$ac_cv_prog_CC" mgl@1371: -fi mgl@1371: - mgl@1371: -fi mgl@1371: -if test -z "$CC"; then mgl@1371: - # Extract the first word of "cc", so it can be a program name with args. mgl@1371: -set dummy cc; ac_word=$2 mgl@1371: -echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 mgl@1371: -if test "${ac_cv_prog_CC+set}" = set; then mgl@1371: - echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: -else mgl@1371: - if test -n "$CC"; then mgl@1371: - ac_cv_prog_CC="$CC" # Let the user override the test. mgl@1371: -else mgl@1371: - ac_prog_rejected=no mgl@1371: -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR mgl@1371: -for as_dir in $PATH mgl@1371: -do mgl@1371: - IFS=$as_save_IFS mgl@1371: - test -z "$as_dir" && as_dir=. mgl@1371: - for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then mgl@1371: - if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then mgl@1371: - ac_prog_rejected=yes mgl@1371: - continue mgl@1371: - fi mgl@1371: - ac_cv_prog_CC="cc" mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then mgl@1371: + ac_prog_rejected=yes mgl@1371: + continue mgl@1371: + fi mgl@1371: + ac_cv_prog_CC="cc" mgl@1371: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: break 2 mgl@1371: fi mgl@1371: done mgl@1371: done mgl@1371: +IFS=$as_save_IFS mgl@1371: mgl@1371: if test $ac_prog_rejected = yes; then mgl@1371: # We found a bogon in the path, so make sure we never use it. mgl@1371: @@ -3657,22 +4380,23 @@ mgl@1371: fi mgl@1371: CC=$ac_cv_prog_CC mgl@1371: if test -n "$CC"; then mgl@1371: - echo "$as_me:$LINENO: result: $CC" >&5 mgl@1371: -echo "${ECHO_T}$CC" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $CC" >&5 mgl@1371: +echo "${ECHO_T}$CC" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: fi mgl@1371: mgl@1371: + mgl@1371: fi mgl@1371: if test -z "$CC"; then mgl@1371: if test -n "$ac_tool_prefix"; then mgl@1371: - for ac_prog in cl mgl@1371: + for ac_prog in cl.exe mgl@1371: do mgl@1371: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. mgl@1371: set dummy $ac_tool_prefix$ac_prog; ac_word=$2 mgl@1371: -echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_prog_CC+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -3685,36 +4409,38 @@ mgl@1371: IFS=$as_save_IFS mgl@1371: test -z "$as_dir" && as_dir=. mgl@1371: for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: ac_cv_prog_CC="$ac_tool_prefix$ac_prog" mgl@1371: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: break 2 mgl@1371: fi mgl@1371: done mgl@1371: done mgl@1371: +IFS=$as_save_IFS mgl@1371: mgl@1371: fi mgl@1371: fi mgl@1371: CC=$ac_cv_prog_CC mgl@1371: if test -n "$CC"; then mgl@1371: - echo "$as_me:$LINENO: result: $CC" >&5 mgl@1371: -echo "${ECHO_T}$CC" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $CC" >&5 mgl@1371: +echo "${ECHO_T}$CC" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: fi mgl@1371: mgl@1371: + mgl@1371: test -n "$CC" && break mgl@1371: done mgl@1371: fi mgl@1371: if test -z "$CC"; then mgl@1371: ac_ct_CC=$CC mgl@1371: - for ac_prog in cl mgl@1371: + for ac_prog in cl.exe mgl@1371: do mgl@1371: # Extract the first word of "$ac_prog", so it can be a program name with args. mgl@1371: set dummy $ac_prog; ac_word=$2 mgl@1371: -echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -3727,29 +4453,45 @@ mgl@1371: IFS=$as_save_IFS mgl@1371: test -z "$as_dir" && as_dir=. mgl@1371: for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: ac_cv_prog_ac_ct_CC="$ac_prog" mgl@1371: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: break 2 mgl@1371: fi mgl@1371: done mgl@1371: done mgl@1371: +IFS=$as_save_IFS mgl@1371: mgl@1371: fi mgl@1371: fi mgl@1371: ac_ct_CC=$ac_cv_prog_ac_ct_CC mgl@1371: if test -n "$ac_ct_CC"; then mgl@1371: - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 mgl@1371: -echo "${ECHO_T}$ac_ct_CC" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 mgl@1371: +echo "${ECHO_T}$ac_ct_CC" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: fi mgl@1371: mgl@1371: + mgl@1371: test -n "$ac_ct_CC" && break mgl@1371: done mgl@1371: mgl@1371: - CC=$ac_ct_CC mgl@1371: + if test "x$ac_ct_CC" = x; then mgl@1371: + CC="" mgl@1371: + else mgl@1371: + case $cross_compiling:$ac_tool_warned in mgl@1371: +yes:) mgl@1371: +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools mgl@1371: +whose name does not start with the host triplet. If you think this mgl@1371: +configuration is useful to you, please write to autoconf@gnu.org." >&5 mgl@1371: +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools mgl@1371: +whose name does not start with the host triplet. If you think this mgl@1371: +configuration is useful to you, please write to autoconf@gnu.org." >&2;} mgl@1371: +ac_tool_warned=yes ;; mgl@1371: +esac mgl@1371: + CC=$ac_ct_CC mgl@1371: + fi mgl@1371: fi mgl@1371: mgl@1371: fi mgl@1371: @@ -3762,21 +4504,35 @@ mgl@1371: { (exit 1); exit 1; }; } mgl@1371: mgl@1371: # Provide some information about the compiler. mgl@1371: -echo "$as_me:$LINENO:" \ mgl@1371: - "checking for C compiler version" >&5 mgl@1371: +echo "$as_me:$LINENO: checking for C compiler version" >&5 mgl@1371: ac_compiler=`set X $ac_compile; echo $2` mgl@1371: -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version &5\"") >&5 mgl@1371: - (eval $ac_compiler --version &5) 2>&5 mgl@1371: +{ (ac_try="$ac_compiler --version >&5" mgl@1371: +case "(($ac_try" in mgl@1371: + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; mgl@1371: + *) ac_try_echo=$ac_try;; mgl@1371: +esac mgl@1371: +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 mgl@1371: + (eval "$ac_compiler --version >&5") 2>&5 mgl@1371: ac_status=$? mgl@1371: echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: (exit $ac_status); } mgl@1371: -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v &5\"") >&5 mgl@1371: - (eval $ac_compiler -v &5) 2>&5 mgl@1371: +{ (ac_try="$ac_compiler -v >&5" mgl@1371: +case "(($ac_try" in mgl@1371: + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; mgl@1371: + *) ac_try_echo=$ac_try;; mgl@1371: +esac mgl@1371: +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 mgl@1371: + (eval "$ac_compiler -v >&5") 2>&5 mgl@1371: ac_status=$? mgl@1371: echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: (exit $ac_status); } mgl@1371: -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V &5\"") >&5 mgl@1371: - (eval $ac_compiler -V &5) 2>&5 mgl@1371: +{ (ac_try="$ac_compiler -V >&5" mgl@1371: +case "(($ac_try" in mgl@1371: + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; mgl@1371: + *) ac_try_echo=$ac_try;; mgl@1371: +esac mgl@1371: +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 mgl@1371: + (eval "$ac_compiler -V >&5") 2>&5 mgl@1371: ac_status=$? mgl@1371: echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: (exit $ac_status); } mgl@1371: @@ -3801,47 +4557,77 @@ mgl@1371: # Try to create an executable without -o first, disregard a.out. mgl@1371: # It will help us diagnose broken compilers, and finding out an intuition mgl@1371: # of exeext. mgl@1371: -echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 mgl@1371: -echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 mgl@1371: +echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } mgl@1371: ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` mgl@1371: -if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 mgl@1371: - (eval $ac_link_default) 2>&5 mgl@1371: +# mgl@1371: +# List of possible output files, starting from the most likely. mgl@1371: +# The algorithm is not robust to junk in `.', hence go to wildcards (a.*) mgl@1371: +# only as a last resort. b.out is created by i960 compilers. mgl@1371: +ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' mgl@1371: +# mgl@1371: +# The IRIX 6 linker writes into existing files which may not be mgl@1371: +# executable, retaining their permissions. Remove them first so a mgl@1371: +# subsequent execution test works. mgl@1371: +ac_rmfiles= mgl@1371: +for ac_file in $ac_files mgl@1371: +do mgl@1371: + case $ac_file in mgl@1371: + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; mgl@1371: + * ) ac_rmfiles="$ac_rmfiles $ac_file";; mgl@1371: + esac mgl@1371: +done mgl@1371: +rm -f $ac_rmfiles mgl@1371: + mgl@1371: +if { (ac_try="$ac_link_default" mgl@1371: +case "(($ac_try" in mgl@1371: + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; mgl@1371: + *) ac_try_echo=$ac_try;; mgl@1371: +esac mgl@1371: +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 mgl@1371: + (eval "$ac_link_default") 2>&5 mgl@1371: ac_status=$? mgl@1371: echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: (exit $ac_status); }; then mgl@1371: - # Find the output, starting from the most likely. This scheme is mgl@1371: -# not robust to junk in `.', hence go to wildcards (a.*) only as a last mgl@1371: -# resort. mgl@1371: - mgl@1371: -# Be careful to initialize this variable, since it used to be cached. mgl@1371: -# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. mgl@1371: -ac_cv_exeext= mgl@1371: -# b.out is created by i960 compilers. mgl@1371: -for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out mgl@1371: + # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. mgl@1371: +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' mgl@1371: +# in a Makefile. We should not override ac_cv_exeext if it was cached, mgl@1371: +# so that the user can short-circuit this test for compilers unknown to mgl@1371: +# Autoconf. mgl@1371: +for ac_file in $ac_files '' mgl@1371: do mgl@1371: test -f "$ac_file" || continue mgl@1371: case $ac_file in mgl@1371: - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) mgl@1371: - ;; mgl@1371: - conftest.$ac_ext ) mgl@1371: - # This is the source file. mgl@1371: + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) mgl@1371: ;; mgl@1371: [ab].out ) mgl@1371: # We found the default executable, but exeext='' is most mgl@1371: # certainly right. mgl@1371: break;; mgl@1371: *.* ) mgl@1371: - ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` mgl@1371: - # FIXME: I believe we export ac_cv_exeext for Libtool, mgl@1371: - # but it would be cool to find out if it's true. Does anybody mgl@1371: - # maintain Libtool? --akim. mgl@1371: - export ac_cv_exeext mgl@1371: + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; mgl@1371: + then :; else mgl@1371: + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` mgl@1371: + fi mgl@1371: + # We set ac_cv_exeext here because the later test for it is not mgl@1371: + # safe: cross compilers may not add the suffix if given an `-o' mgl@1371: + # argument, so we may need to know it at that point already. mgl@1371: + # Even if this section looks crufty: it has the advantage of mgl@1371: + # actually working. mgl@1371: break;; mgl@1371: * ) mgl@1371: break;; mgl@1371: esac mgl@1371: done mgl@1371: +test "$ac_cv_exeext" = no && ac_cv_exeext= mgl@1371: + mgl@1371: else mgl@1371: + ac_file='' mgl@1371: +fi mgl@1371: + mgl@1371: +{ echo "$as_me:$LINENO: result: $ac_file" >&5 mgl@1371: +echo "${ECHO_T}$ac_file" >&6; } mgl@1371: +if test -z "$ac_file"; then mgl@1371: echo "$as_me: failed program was:" >&5 mgl@1371: sed 's/^/| /' conftest.$ac_ext >&5 mgl@1371: mgl@1371: @@ -3853,19 +4639,21 @@ mgl@1371: fi mgl@1371: mgl@1371: ac_exeext=$ac_cv_exeext mgl@1371: -echo "$as_me:$LINENO: result: $ac_file" >&5 mgl@1371: -echo "${ECHO_T}$ac_file" >&6 mgl@1371: mgl@1371: -# Check the compiler produces executables we can run. If not, either mgl@1371: +# Check that the compiler produces executables we can run. If not, either mgl@1371: # the compiler is broken, or we cross compile. mgl@1371: -echo "$as_me:$LINENO: checking whether the C compiler works" >&5 mgl@1371: -echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5 mgl@1371: +echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } mgl@1371: # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 mgl@1371: # If not cross compiling, check that we can run a simple program. mgl@1371: if test "$cross_compiling" != yes; then mgl@1371: if { ac_try='./$ac_file' mgl@1371: - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 mgl@1371: - (eval $ac_try) 2>&5 mgl@1371: + { (case "(($ac_try" in mgl@1371: + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; mgl@1371: + *) ac_try_echo=$ac_try;; mgl@1371: +esac mgl@1371: +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 mgl@1371: + (eval "$ac_try") 2>&5 mgl@1371: ac_status=$? mgl@1371: echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: (exit $ac_status); }; }; then mgl@1371: @@ -3884,22 +4672,27 @@ mgl@1371: fi mgl@1371: fi mgl@1371: fi mgl@1371: -echo "$as_me:$LINENO: result: yes" >&5 mgl@1371: -echo "${ECHO_T}yes" >&6 mgl@1371: +{ echo "$as_me:$LINENO: result: yes" >&5 mgl@1371: +echo "${ECHO_T}yes" >&6; } mgl@1371: mgl@1371: rm -f a.out a.exe conftest$ac_cv_exeext b.out mgl@1371: ac_clean_files=$ac_clean_files_save mgl@1371: -# Check the compiler produces executables we can run. If not, either mgl@1371: +# Check that the compiler produces executables we can run. If not, either mgl@1371: # the compiler is broken, or we cross compile. mgl@1371: -echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 mgl@1371: -echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 mgl@1371: -echo "$as_me:$LINENO: result: $cross_compiling" >&5 mgl@1371: -echo "${ECHO_T}$cross_compiling" >&6 mgl@1371: - mgl@1371: -echo "$as_me:$LINENO: checking for suffix of executables" >&5 mgl@1371: -echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 mgl@1371: -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 mgl@1371: - (eval $ac_link) 2>&5 mgl@1371: +{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 mgl@1371: +echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } mgl@1371: +{ echo "$as_me:$LINENO: result: $cross_compiling" >&5 mgl@1371: +echo "${ECHO_T}$cross_compiling" >&6; } mgl@1371: + mgl@1371: +{ echo "$as_me:$LINENO: checking for suffix of executables" >&5 mgl@1371: +echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } mgl@1371: +if { (ac_try="$ac_link" mgl@1371: +case "(($ac_try" in mgl@1371: + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; mgl@1371: + *) ac_try_echo=$ac_try;; mgl@1371: +esac mgl@1371: +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 mgl@1371: + (eval "$ac_link") 2>&5 mgl@1371: ac_status=$? mgl@1371: echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: (exit $ac_status); }; then mgl@1371: @@ -3910,9 +4703,8 @@ mgl@1371: for ac_file in conftest.exe conftest conftest.*; do mgl@1371: test -f "$ac_file" || continue mgl@1371: case $ac_file in mgl@1371: - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; mgl@1371: + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; mgl@1371: *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` mgl@1371: - export ac_cv_exeext mgl@1371: break;; mgl@1371: * ) break;; mgl@1371: esac mgl@1371: @@ -3926,14 +4718,14 @@ mgl@1371: fi mgl@1371: mgl@1371: rm -f conftest$ac_cv_exeext mgl@1371: -echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 mgl@1371: -echo "${ECHO_T}$ac_cv_exeext" >&6 mgl@1371: +{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 mgl@1371: +echo "${ECHO_T}$ac_cv_exeext" >&6; } mgl@1371: mgl@1371: rm -f conftest.$ac_ext mgl@1371: EXEEXT=$ac_cv_exeext mgl@1371: ac_exeext=$EXEEXT mgl@1371: -echo "$as_me:$LINENO: checking for suffix of object files" >&5 mgl@1371: -echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for suffix of object files" >&5 mgl@1371: +echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_objext+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -3953,14 +4745,20 @@ mgl@1371: } mgl@1371: _ACEOF mgl@1371: rm -f conftest.o conftest.obj mgl@1371: -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 mgl@1371: - (eval $ac_compile) 2>&5 mgl@1371: +if { (ac_try="$ac_compile" mgl@1371: +case "(($ac_try" in mgl@1371: + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; mgl@1371: + *) ac_try_echo=$ac_try;; mgl@1371: +esac mgl@1371: +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 mgl@1371: + (eval "$ac_compile") 2>&5 mgl@1371: ac_status=$? mgl@1371: echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: (exit $ac_status); }; then mgl@1371: - for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do mgl@1371: + for ac_file in conftest.o conftest.obj conftest.*; do mgl@1371: + test -f "$ac_file" || continue; mgl@1371: case $ac_file in mgl@1371: - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; mgl@1371: + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; mgl@1371: *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` mgl@1371: break;; mgl@1371: esac mgl@1371: @@ -3978,12 +4776,12 @@ mgl@1371: mgl@1371: rm -f conftest.$ac_cv_objext conftest.$ac_ext mgl@1371: fi mgl@1371: -echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 mgl@1371: -echo "${ECHO_T}$ac_cv_objext" >&6 mgl@1371: +{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 mgl@1371: +echo "${ECHO_T}$ac_cv_objext" >&6; } mgl@1371: OBJEXT=$ac_cv_objext mgl@1371: ac_objext=$OBJEXT mgl@1371: -echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 mgl@1371: -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 mgl@1371: +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_c_compiler_gnu+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -4006,50 +4804,49 @@ mgl@1371: } mgl@1371: _ACEOF mgl@1371: rm -f conftest.$ac_objext mgl@1371: -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 mgl@1371: - (eval $ac_compile) 2>conftest.er1 mgl@1371: +if { (ac_try="$ac_compile" mgl@1371: +case "(($ac_try" in mgl@1371: + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; mgl@1371: + *) ac_try_echo=$ac_try;; mgl@1371: +esac mgl@1371: +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 mgl@1371: + (eval "$ac_compile") 2>conftest.er1 mgl@1371: ac_status=$? mgl@1371: grep -v '^ *+' conftest.er1 >conftest.err mgl@1371: rm -f conftest.er1 mgl@1371: cat conftest.err >&5 mgl@1371: echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); } && mgl@1371: - { ac_try='test -z "$ac_c_werror_flag" mgl@1371: - || test ! -s conftest.err' mgl@1371: - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 mgl@1371: - (eval $ac_try) 2>&5 mgl@1371: - ac_status=$? mgl@1371: - echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); }; } && mgl@1371: - { ac_try='test -s conftest.$ac_objext' mgl@1371: - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 mgl@1371: - (eval $ac_try) 2>&5 mgl@1371: - ac_status=$? mgl@1371: - echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); }; }; then mgl@1371: + (exit $ac_status); } && { mgl@1371: + test -z "$ac_c_werror_flag" || mgl@1371: + test ! -s conftest.err mgl@1371: + } && test -s conftest.$ac_objext; then mgl@1371: ac_compiler_gnu=yes mgl@1371: else mgl@1371: echo "$as_me: failed program was:" >&5 mgl@1371: sed 's/^/| /' conftest.$ac_ext >&5 mgl@1371: mgl@1371: -ac_compiler_gnu=no mgl@1371: + ac_compiler_gnu=no mgl@1371: fi mgl@1371: -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext mgl@1371: + mgl@1371: +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext mgl@1371: ac_cv_c_compiler_gnu=$ac_compiler_gnu mgl@1371: mgl@1371: fi mgl@1371: -echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 mgl@1371: -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 mgl@1371: +{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 mgl@1371: +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } mgl@1371: GCC=`test $ac_compiler_gnu = yes && echo yes` mgl@1371: ac_test_CFLAGS=${CFLAGS+set} mgl@1371: ac_save_CFLAGS=$CFLAGS mgl@1371: -CFLAGS="-g" mgl@1371: -echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 mgl@1371: -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 mgl@1371: +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_prog_cc_g+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: - cat >conftest.$ac_ext <<_ACEOF mgl@1371: + ac_save_c_werror_flag=$ac_c_werror_flag mgl@1371: + ac_c_werror_flag=yes mgl@1371: + ac_cv_prog_cc_g=no mgl@1371: + CFLAGS="-g" mgl@1371: + cat >conftest.$ac_ext <<_ACEOF mgl@1371: /* confdefs.h. */ mgl@1371: _ACEOF mgl@1371: cat confdefs.h >>conftest.$ac_ext mgl@1371: @@ -4065,38 +4862,118 @@ mgl@1371: } mgl@1371: _ACEOF mgl@1371: rm -f conftest.$ac_objext mgl@1371: -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 mgl@1371: - (eval $ac_compile) 2>conftest.er1 mgl@1371: +if { (ac_try="$ac_compile" mgl@1371: +case "(($ac_try" in mgl@1371: + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; mgl@1371: + *) ac_try_echo=$ac_try;; mgl@1371: +esac mgl@1371: +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 mgl@1371: + (eval "$ac_compile") 2>conftest.er1 mgl@1371: ac_status=$? mgl@1371: grep -v '^ *+' conftest.er1 >conftest.err mgl@1371: rm -f conftest.er1 mgl@1371: cat conftest.err >&5 mgl@1371: echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); } && mgl@1371: - { ac_try='test -z "$ac_c_werror_flag" mgl@1371: - || test ! -s conftest.err' mgl@1371: - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 mgl@1371: - (eval $ac_try) 2>&5 mgl@1371: + (exit $ac_status); } && { mgl@1371: + test -z "$ac_c_werror_flag" || mgl@1371: + test ! -s conftest.err mgl@1371: + } && test -s conftest.$ac_objext; then mgl@1371: + ac_cv_prog_cc_g=yes mgl@1371: +else mgl@1371: + echo "$as_me: failed program was:" >&5 mgl@1371: +sed 's/^/| /' conftest.$ac_ext >&5 mgl@1371: + mgl@1371: + CFLAGS="" mgl@1371: + cat >conftest.$ac_ext <<_ACEOF mgl@1371: +/* confdefs.h. */ mgl@1371: +_ACEOF mgl@1371: +cat confdefs.h >>conftest.$ac_ext mgl@1371: +cat >>conftest.$ac_ext <<_ACEOF mgl@1371: +/* end confdefs.h. */ mgl@1371: + mgl@1371: +int mgl@1371: +main () mgl@1371: +{ mgl@1371: + mgl@1371: + ; mgl@1371: + return 0; mgl@1371: +} mgl@1371: +_ACEOF mgl@1371: +rm -f conftest.$ac_objext mgl@1371: +if { (ac_try="$ac_compile" mgl@1371: +case "(($ac_try" in mgl@1371: + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; mgl@1371: + *) ac_try_echo=$ac_try;; mgl@1371: +esac mgl@1371: +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 mgl@1371: + (eval "$ac_compile") 2>conftest.er1 mgl@1371: ac_status=$? mgl@1371: + grep -v '^ *+' conftest.er1 >conftest.err mgl@1371: + rm -f conftest.er1 mgl@1371: + cat conftest.err >&5 mgl@1371: echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); }; } && mgl@1371: - { ac_try='test -s conftest.$ac_objext' mgl@1371: - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 mgl@1371: - (eval $ac_try) 2>&5 mgl@1371: + (exit $ac_status); } && { mgl@1371: + test -z "$ac_c_werror_flag" || mgl@1371: + test ! -s conftest.err mgl@1371: + } && test -s conftest.$ac_objext; then mgl@1371: + : mgl@1371: +else mgl@1371: + echo "$as_me: failed program was:" >&5 mgl@1371: +sed 's/^/| /' conftest.$ac_ext >&5 mgl@1371: + mgl@1371: + ac_c_werror_flag=$ac_save_c_werror_flag mgl@1371: + CFLAGS="-g" mgl@1371: + cat >conftest.$ac_ext <<_ACEOF mgl@1371: +/* confdefs.h. */ mgl@1371: +_ACEOF mgl@1371: +cat confdefs.h >>conftest.$ac_ext mgl@1371: +cat >>conftest.$ac_ext <<_ACEOF mgl@1371: +/* end confdefs.h. */ mgl@1371: + mgl@1371: +int mgl@1371: +main () mgl@1371: +{ mgl@1371: + mgl@1371: + ; mgl@1371: + return 0; mgl@1371: +} mgl@1371: +_ACEOF mgl@1371: +rm -f conftest.$ac_objext mgl@1371: +if { (ac_try="$ac_compile" mgl@1371: +case "(($ac_try" in mgl@1371: + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; mgl@1371: + *) ac_try_echo=$ac_try;; mgl@1371: +esac mgl@1371: +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 mgl@1371: + (eval "$ac_compile") 2>conftest.er1 mgl@1371: ac_status=$? mgl@1371: + grep -v '^ *+' conftest.er1 >conftest.err mgl@1371: + rm -f conftest.er1 mgl@1371: + cat conftest.err >&5 mgl@1371: echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); }; }; then mgl@1371: + (exit $ac_status); } && { mgl@1371: + test -z "$ac_c_werror_flag" || mgl@1371: + test ! -s conftest.err mgl@1371: + } && test -s conftest.$ac_objext; then mgl@1371: ac_cv_prog_cc_g=yes mgl@1371: else mgl@1371: echo "$as_me: failed program was:" >&5 mgl@1371: sed 's/^/| /' conftest.$ac_ext >&5 mgl@1371: mgl@1371: -ac_cv_prog_cc_g=no mgl@1371: + mgl@1371: fi mgl@1371: -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext mgl@1371: + mgl@1371: +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext mgl@1371: +fi mgl@1371: + mgl@1371: +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext mgl@1371: +fi mgl@1371: + mgl@1371: +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext mgl@1371: + ac_c_werror_flag=$ac_save_c_werror_flag mgl@1371: fi mgl@1371: -echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 mgl@1371: -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 mgl@1371: +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 mgl@1371: +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } mgl@1371: if test "$ac_test_CFLAGS" = set; then mgl@1371: CFLAGS=$ac_save_CFLAGS mgl@1371: elif test $ac_cv_prog_cc_g = yes; then mgl@1371: @@ -4112,12 +4989,12 @@ mgl@1371: CFLAGS= mgl@1371: fi mgl@1371: fi mgl@1371: -echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 mgl@1371: -echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 mgl@1371: -if test "${ac_cv_prog_cc_stdc+set}" = set; then mgl@1371: +{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 mgl@1371: +echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } mgl@1371: +if test "${ac_cv_prog_cc_c89+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: - ac_cv_prog_cc_stdc=no mgl@1371: + ac_cv_prog_cc_c89=no mgl@1371: ac_save_CC=$CC mgl@1371: cat >conftest.$ac_ext <<_ACEOF mgl@1371: /* confdefs.h. */ mgl@1371: @@ -4151,12 +5028,17 @@ mgl@1371: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has mgl@1371: function prototypes and stuff, but not '\xHH' hex character constants. mgl@1371: These don't provoke an error unfortunately, instead are silently treated mgl@1371: - as 'x'. The following induces an error, until -std1 is added to get mgl@1371: + as 'x'. The following induces an error, until -std is added to get mgl@1371: proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an mgl@1371: array size at least. It's necessary to write '\x00'==0 to get something mgl@1371: - that's true only with -std1. */ mgl@1371: + that's true only with -std. */ mgl@1371: int osf4_cc_array ['\x00' == 0 ? 1 : -1]; mgl@1371: mgl@1371: +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters mgl@1371: + inside strings and character constants. */ mgl@1371: +#define FOO(x) 'x' mgl@1371: +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; mgl@1371: + mgl@1371: int test (int i, double x); mgl@1371: struct s1 {int (*f) (int a);}; mgl@1371: struct s2 {int (*f) (double a);}; mgl@1371: @@ -4171,205 +5053,57 @@ mgl@1371: return 0; mgl@1371: } mgl@1371: _ACEOF mgl@1371: -# Don't try gcc -ansi; that turns off useful extensions and mgl@1371: -# breaks some systems' header files. mgl@1371: -# AIX -qlanglvl=ansi mgl@1371: -# Ultrix and OSF/1 -std1 mgl@1371: -# HP-UX 10.20 and later -Ae mgl@1371: -# HP-UX older versions -Aa -D_HPUX_SOURCE mgl@1371: -# SVR4 -Xc -D__EXTENSIONS__ mgl@1371: -for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" mgl@1371: +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ mgl@1371: + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" mgl@1371: do mgl@1371: CC="$ac_save_CC $ac_arg" mgl@1371: rm -f conftest.$ac_objext mgl@1371: -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 mgl@1371: - (eval $ac_compile) 2>conftest.er1 mgl@1371: +if { (ac_try="$ac_compile" mgl@1371: +case "(($ac_try" in mgl@1371: + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; mgl@1371: + *) ac_try_echo=$ac_try;; mgl@1371: +esac mgl@1371: +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 mgl@1371: + (eval "$ac_compile") 2>conftest.er1 mgl@1371: ac_status=$? mgl@1371: grep -v '^ *+' conftest.er1 >conftest.err mgl@1371: rm -f conftest.er1 mgl@1371: cat conftest.err >&5 mgl@1371: echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); } && mgl@1371: - { ac_try='test -z "$ac_c_werror_flag" mgl@1371: - || test ! -s conftest.err' mgl@1371: - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 mgl@1371: - (eval $ac_try) 2>&5 mgl@1371: - ac_status=$? mgl@1371: - echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); }; } && mgl@1371: - { ac_try='test -s conftest.$ac_objext' mgl@1371: - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 mgl@1371: - (eval $ac_try) 2>&5 mgl@1371: - ac_status=$? mgl@1371: - echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); }; }; then mgl@1371: - ac_cv_prog_cc_stdc=$ac_arg mgl@1371: -break mgl@1371: + (exit $ac_status); } && { mgl@1371: + test -z "$ac_c_werror_flag" || mgl@1371: + test ! -s conftest.err mgl@1371: + } && test -s conftest.$ac_objext; then mgl@1371: + ac_cv_prog_cc_c89=$ac_arg mgl@1371: else mgl@1371: echo "$as_me: failed program was:" >&5 mgl@1371: sed 's/^/| /' conftest.$ac_ext >&5 mgl@1371: mgl@1371: + mgl@1371: fi mgl@1371: -rm -f conftest.err conftest.$ac_objext mgl@1371: + mgl@1371: +rm -f core conftest.err conftest.$ac_objext mgl@1371: + test "x$ac_cv_prog_cc_c89" != "xno" && break mgl@1371: done mgl@1371: -rm -f conftest.$ac_ext conftest.$ac_objext mgl@1371: +rm -f conftest.$ac_ext mgl@1371: CC=$ac_save_CC mgl@1371: mgl@1371: fi mgl@1371: - mgl@1371: -case "x$ac_cv_prog_cc_stdc" in mgl@1371: - x|xno) mgl@1371: - echo "$as_me:$LINENO: result: none needed" >&5 mgl@1371: -echo "${ECHO_T}none needed" >&6 ;; mgl@1371: +# AC_CACHE_VAL mgl@1371: +case "x$ac_cv_prog_cc_c89" in mgl@1371: + x) mgl@1371: + { echo "$as_me:$LINENO: result: none needed" >&5 mgl@1371: +echo "${ECHO_T}none needed" >&6; } ;; mgl@1371: + xno) mgl@1371: + { echo "$as_me:$LINENO: result: unsupported" >&5 mgl@1371: +echo "${ECHO_T}unsupported" >&6; } ;; mgl@1371: *) mgl@1371: - echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 mgl@1371: -echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 mgl@1371: - CC="$CC $ac_cv_prog_cc_stdc" ;; mgl@1371: + CC="$CC $ac_cv_prog_cc_c89" mgl@1371: + { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 mgl@1371: +echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; mgl@1371: esac mgl@1371: mgl@1371: -# Some people use a C++ compiler to compile C. Since we use `exit', mgl@1371: -# in C++ we need to declare it. In case someone uses the same compiler mgl@1371: -# for both compiling C and C++ we need to have the C++ compiler decide mgl@1371: -# the declaration of exit, since it's the most demanding environment. mgl@1371: -cat >conftest.$ac_ext <<_ACEOF mgl@1371: -#ifndef __cplusplus mgl@1371: - choke me mgl@1371: -#endif mgl@1371: -_ACEOF mgl@1371: -rm -f conftest.$ac_objext mgl@1371: -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 mgl@1371: - (eval $ac_compile) 2>conftest.er1 mgl@1371: - ac_status=$? mgl@1371: - grep -v '^ *+' conftest.er1 >conftest.err mgl@1371: - rm -f conftest.er1 mgl@1371: - cat conftest.err >&5 mgl@1371: - echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); } && mgl@1371: - { ac_try='test -z "$ac_c_werror_flag" mgl@1371: - || test ! -s conftest.err' mgl@1371: - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 mgl@1371: - (eval $ac_try) 2>&5 mgl@1371: - ac_status=$? mgl@1371: - echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); }; } && mgl@1371: - { ac_try='test -s conftest.$ac_objext' mgl@1371: - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 mgl@1371: - (eval $ac_try) 2>&5 mgl@1371: - ac_status=$? mgl@1371: - echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); }; }; then mgl@1371: - for ac_declaration in \ mgl@1371: - '' \ mgl@1371: - 'extern "C" void std::exit (int) throw (); using std::exit;' \ mgl@1371: - 'extern "C" void std::exit (int); using std::exit;' \ mgl@1371: - 'extern "C" void exit (int) throw ();' \ mgl@1371: - 'extern "C" void exit (int);' \ mgl@1371: - 'void exit (int);' mgl@1371: -do mgl@1371: - cat >conftest.$ac_ext <<_ACEOF mgl@1371: -/* confdefs.h. */ mgl@1371: -_ACEOF mgl@1371: -cat confdefs.h >>conftest.$ac_ext mgl@1371: -cat >>conftest.$ac_ext <<_ACEOF mgl@1371: -/* end confdefs.h. */ mgl@1371: -$ac_declaration mgl@1371: -#include mgl@1371: -int mgl@1371: -main () mgl@1371: -{ mgl@1371: -exit (42); mgl@1371: - ; mgl@1371: - return 0; mgl@1371: -} mgl@1371: -_ACEOF mgl@1371: -rm -f conftest.$ac_objext mgl@1371: -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 mgl@1371: - (eval $ac_compile) 2>conftest.er1 mgl@1371: - ac_status=$? mgl@1371: - grep -v '^ *+' conftest.er1 >conftest.err mgl@1371: - rm -f conftest.er1 mgl@1371: - cat conftest.err >&5 mgl@1371: - echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); } && mgl@1371: - { ac_try='test -z "$ac_c_werror_flag" mgl@1371: - || test ! -s conftest.err' mgl@1371: - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 mgl@1371: - (eval $ac_try) 2>&5 mgl@1371: - ac_status=$? mgl@1371: - echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); }; } && mgl@1371: - { ac_try='test -s conftest.$ac_objext' mgl@1371: - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 mgl@1371: - (eval $ac_try) 2>&5 mgl@1371: - ac_status=$? mgl@1371: - echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); }; }; then mgl@1371: - : mgl@1371: -else mgl@1371: - echo "$as_me: failed program was:" >&5 mgl@1371: -sed 's/^/| /' conftest.$ac_ext >&5 mgl@1371: mgl@1371: -continue mgl@1371: -fi mgl@1371: -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext mgl@1371: - cat >conftest.$ac_ext <<_ACEOF mgl@1371: -/* confdefs.h. */ mgl@1371: -_ACEOF mgl@1371: -cat confdefs.h >>conftest.$ac_ext mgl@1371: -cat >>conftest.$ac_ext <<_ACEOF mgl@1371: -/* end confdefs.h. */ mgl@1371: -$ac_declaration mgl@1371: -int mgl@1371: -main () mgl@1371: -{ mgl@1371: -exit (42); mgl@1371: - ; mgl@1371: - return 0; mgl@1371: -} mgl@1371: -_ACEOF mgl@1371: -rm -f conftest.$ac_objext mgl@1371: -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 mgl@1371: - (eval $ac_compile) 2>conftest.er1 mgl@1371: - ac_status=$? mgl@1371: - grep -v '^ *+' conftest.er1 >conftest.err mgl@1371: - rm -f conftest.er1 mgl@1371: - cat conftest.err >&5 mgl@1371: - echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); } && mgl@1371: - { ac_try='test -z "$ac_c_werror_flag" mgl@1371: - || test ! -s conftest.err' mgl@1371: - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 mgl@1371: - (eval $ac_try) 2>&5 mgl@1371: - ac_status=$? mgl@1371: - echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); }; } && mgl@1371: - { ac_try='test -s conftest.$ac_objext' mgl@1371: - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 mgl@1371: - (eval $ac_try) 2>&5 mgl@1371: - ac_status=$? mgl@1371: - echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); }; }; then mgl@1371: - break mgl@1371: -else mgl@1371: - echo "$as_me: failed program was:" >&5 mgl@1371: -sed 's/^/| /' conftest.$ac_ext >&5 mgl@1371: - mgl@1371: -fi mgl@1371: -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext mgl@1371: -done mgl@1371: -rm -f conftest* mgl@1371: -if test -n "$ac_declaration"; then mgl@1371: - echo '#ifdef __cplusplus' >>confdefs.h mgl@1371: - echo $ac_declaration >>confdefs.h mgl@1371: - echo '#endif' >>confdefs.h mgl@1371: -fi mgl@1371: - mgl@1371: -else mgl@1371: - echo "$as_me: failed program was:" >&5 mgl@1371: -sed 's/^/| /' conftest.$ac_ext >&5 mgl@1371: - mgl@1371: -fi mgl@1371: -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext mgl@1371: ac_ext=c mgl@1371: ac_cpp='$CPP $CPPFLAGS' mgl@1371: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' mgl@1371: @@ -4378,8 +5112,8 @@ mgl@1371: mgl@1371: depcc="$CC" am_compiler_list= mgl@1371: mgl@1371: -echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 mgl@1371: -echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 mgl@1371: +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; } mgl@1371: if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -4461,58 +5195,273 @@ mgl@1371: fi mgl@1371: done mgl@1371: mgl@1371: - cd .. mgl@1371: - rm -rf conftest.dir mgl@1371: -else mgl@1371: - am_cv_CC_dependencies_compiler_type=none mgl@1371: -fi mgl@1371: + cd .. mgl@1371: + rm -rf conftest.dir mgl@1371: +else mgl@1371: + am_cv_CC_dependencies_compiler_type=none mgl@1371: +fi mgl@1371: + mgl@1371: +fi mgl@1371: +{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 mgl@1371: +echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; } mgl@1371: +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: +if mgl@1371: + test "x$enable_dependency_tracking" != xno \ mgl@1371: + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then mgl@1371: + am__fastdepCC_TRUE= mgl@1371: + am__fastdepCC_FALSE='#' mgl@1371: +else mgl@1371: + am__fastdepCC_TRUE='#' mgl@1371: + am__fastdepCC_FALSE= mgl@1371: +fi mgl@1371: + mgl@1371: + mgl@1371: +{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 mgl@1371: +echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } mgl@1371: +if test "${ac_cv_path_GREP+set}" = set; then mgl@1371: + echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: +else mgl@1371: + # Extract the first word of "grep ggrep" to use in msg output mgl@1371: +if test -z "$GREP"; then mgl@1371: +set dummy grep ggrep; ac_prog_name=$2 mgl@1371: +if test "${ac_cv_path_GREP+set}" = set; then mgl@1371: + echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: +else mgl@1371: + ac_path_GREP_found=false mgl@1371: +# Loop through the user's path and test for each of PROGNAME-LIST mgl@1371: +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR mgl@1371: +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin mgl@1371: +do mgl@1371: + IFS=$as_save_IFS mgl@1371: + test -z "$as_dir" && as_dir=. mgl@1371: + for ac_prog in grep ggrep; do mgl@1371: + for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" mgl@1371: + { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue mgl@1371: + # Check for GNU ac_path_GREP and select it if it is found. mgl@1371: + # Check for GNU $ac_path_GREP mgl@1371: +case `"$ac_path_GREP" --version 2>&1` in mgl@1371: +*GNU*) mgl@1371: + ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; mgl@1371: +*) mgl@1371: + ac_count=0 mgl@1371: + echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" mgl@1371: + while : mgl@1371: + do mgl@1371: + cat "conftest.in" "conftest.in" >"conftest.tmp" mgl@1371: + mv "conftest.tmp" "conftest.in" mgl@1371: + cp "conftest.in" "conftest.nl" mgl@1371: + echo 'GREP' >> "conftest.nl" mgl@1371: + "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break mgl@1371: + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break mgl@1371: + ac_count=`expr $ac_count + 1` mgl@1371: + if test $ac_count -gt ${ac_path_GREP_max-0}; then mgl@1371: + # Best one so far, save it but keep looking for a better one mgl@1371: + ac_cv_path_GREP="$ac_path_GREP" mgl@1371: + ac_path_GREP_max=$ac_count mgl@1371: + fi mgl@1371: + # 10*(2^10) chars as input seems more than enough mgl@1371: + test $ac_count -gt 10 && break mgl@1371: + done mgl@1371: + rm -f conftest.in conftest.tmp conftest.nl conftest.out;; mgl@1371: +esac mgl@1371: + mgl@1371: + mgl@1371: + $ac_path_GREP_found && break 3 mgl@1371: + done mgl@1371: +done mgl@1371: + mgl@1371: +done mgl@1371: +IFS=$as_save_IFS mgl@1371: + mgl@1371: + mgl@1371: +fi mgl@1371: + mgl@1371: +GREP="$ac_cv_path_GREP" mgl@1371: +if test -z "$GREP"; then mgl@1371: + { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 mgl@1371: +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} mgl@1371: + { (exit 1); exit 1; }; } mgl@1371: +fi mgl@1371: + mgl@1371: +else mgl@1371: + ac_cv_path_GREP=$GREP mgl@1371: +fi mgl@1371: + mgl@1371: + mgl@1371: +fi mgl@1371: +{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 mgl@1371: +echo "${ECHO_T}$ac_cv_path_GREP" >&6; } mgl@1371: + GREP="$ac_cv_path_GREP" mgl@1371: + mgl@1371: + mgl@1371: +{ echo "$as_me:$LINENO: checking for egrep" >&5 mgl@1371: +echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } mgl@1371: +if test "${ac_cv_path_EGREP+set}" = set; then mgl@1371: + echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: +else mgl@1371: + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 mgl@1371: + then ac_cv_path_EGREP="$GREP -E" mgl@1371: + else mgl@1371: + # Extract the first word of "egrep" to use in msg output mgl@1371: +if test -z "$EGREP"; then mgl@1371: +set dummy egrep; ac_prog_name=$2 mgl@1371: +if test "${ac_cv_path_EGREP+set}" = set; then mgl@1371: + echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: +else mgl@1371: + ac_path_EGREP_found=false mgl@1371: +# Loop through the user's path and test for each of PROGNAME-LIST mgl@1371: +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR mgl@1371: +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin mgl@1371: +do mgl@1371: + IFS=$as_save_IFS mgl@1371: + test -z "$as_dir" && as_dir=. mgl@1371: + for ac_prog in egrep; do mgl@1371: + for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" mgl@1371: + { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue mgl@1371: + # Check for GNU ac_path_EGREP and select it if it is found. mgl@1371: + # Check for GNU $ac_path_EGREP mgl@1371: +case `"$ac_path_EGREP" --version 2>&1` in mgl@1371: +*GNU*) mgl@1371: + ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; mgl@1371: +*) mgl@1371: + ac_count=0 mgl@1371: + echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" mgl@1371: + while : mgl@1371: + do mgl@1371: + cat "conftest.in" "conftest.in" >"conftest.tmp" mgl@1371: + mv "conftest.tmp" "conftest.in" mgl@1371: + cp "conftest.in" "conftest.nl" mgl@1371: + echo 'EGREP' >> "conftest.nl" mgl@1371: + "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break mgl@1371: + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break mgl@1371: + ac_count=`expr $ac_count + 1` mgl@1371: + if test $ac_count -gt ${ac_path_EGREP_max-0}; then mgl@1371: + # Best one so far, save it but keep looking for a better one mgl@1371: + ac_cv_path_EGREP="$ac_path_EGREP" mgl@1371: + ac_path_EGREP_max=$ac_count mgl@1371: + fi mgl@1371: + # 10*(2^10) chars as input seems more than enough mgl@1371: + test $ac_count -gt 10 && break mgl@1371: + done mgl@1371: + rm -f conftest.in conftest.tmp conftest.nl conftest.out;; mgl@1371: +esac mgl@1371: + mgl@1371: + mgl@1371: + $ac_path_EGREP_found && break 3 mgl@1371: + done mgl@1371: +done mgl@1371: + mgl@1371: +done mgl@1371: +IFS=$as_save_IFS mgl@1371: + mgl@1371: + mgl@1371: +fi mgl@1371: + mgl@1371: +EGREP="$ac_cv_path_EGREP" mgl@1371: +if test -z "$EGREP"; then mgl@1371: + { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 mgl@1371: +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} mgl@1371: + { (exit 1); exit 1; }; } mgl@1371: +fi mgl@1371: + mgl@1371: +else mgl@1371: + ac_cv_path_EGREP=$EGREP mgl@1371: +fi mgl@1371: + mgl@1371: + mgl@1371: + fi mgl@1371: +fi mgl@1371: +{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 mgl@1371: +echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } mgl@1371: + EGREP="$ac_cv_path_EGREP" mgl@1371: + mgl@1371: + mgl@1371: +{ echo "$as_me:$LINENO: checking for fgrep" >&5 mgl@1371: +echo $ECHO_N "checking for fgrep... $ECHO_C" >&6; } mgl@1371: +if test "${ac_cv_path_FGREP+set}" = set; then mgl@1371: + echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: +else mgl@1371: + if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 mgl@1371: + then ac_cv_path_FGREP="$GREP -F" mgl@1371: + else mgl@1371: + # Extract the first word of "fgrep" to use in msg output mgl@1371: +if test -z "$FGREP"; then mgl@1371: +set dummy fgrep; ac_prog_name=$2 mgl@1371: +if test "${ac_cv_path_FGREP+set}" = set; then mgl@1371: + echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: +else mgl@1371: + ac_path_FGREP_found=false mgl@1371: +# Loop through the user's path and test for each of PROGNAME-LIST mgl@1371: +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR mgl@1371: +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin mgl@1371: +do mgl@1371: + IFS=$as_save_IFS mgl@1371: + test -z "$as_dir" && as_dir=. mgl@1371: + for ac_prog in fgrep; do mgl@1371: + for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: + ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" mgl@1371: + { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue mgl@1371: + # Check for GNU ac_path_FGREP and select it if it is found. mgl@1371: + # Check for GNU $ac_path_FGREP mgl@1371: +case `"$ac_path_FGREP" --version 2>&1` in mgl@1371: +*GNU*) mgl@1371: + ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; mgl@1371: +*) mgl@1371: + ac_count=0 mgl@1371: + echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" mgl@1371: + while : mgl@1371: + do mgl@1371: + cat "conftest.in" "conftest.in" >"conftest.tmp" mgl@1371: + mv "conftest.tmp" "conftest.in" mgl@1371: + cp "conftest.in" "conftest.nl" mgl@1371: + echo 'FGREP' >> "conftest.nl" mgl@1371: + "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break mgl@1371: + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break mgl@1371: + ac_count=`expr $ac_count + 1` mgl@1371: + if test $ac_count -gt ${ac_path_FGREP_max-0}; then mgl@1371: + # Best one so far, save it but keep looking for a better one mgl@1371: + ac_cv_path_FGREP="$ac_path_FGREP" mgl@1371: + ac_path_FGREP_max=$ac_count mgl@1371: + fi mgl@1371: + # 10*(2^10) chars as input seems more than enough mgl@1371: + test $ac_count -gt 10 && break mgl@1371: + done mgl@1371: + rm -f conftest.in conftest.tmp conftest.nl conftest.out;; mgl@1371: +esac mgl@1371: + mgl@1371: mgl@1371: -fi mgl@1371: -echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 mgl@1371: -echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6 mgl@1371: -CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type mgl@1371: + $ac_path_FGREP_found && break 3 mgl@1371: + done mgl@1371: +done mgl@1371: mgl@1371: +done mgl@1371: +IFS=$as_save_IFS mgl@1371: mgl@1371: mgl@1371: -if mgl@1371: - test "x$enable_dependency_tracking" != xno \ mgl@1371: - && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then mgl@1371: - am__fastdepCC_TRUE= mgl@1371: - am__fastdepCC_FALSE='#' mgl@1371: -else mgl@1371: - am__fastdepCC_TRUE='#' mgl@1371: - am__fastdepCC_FALSE= mgl@1371: fi mgl@1371: mgl@1371: +FGREP="$ac_cv_path_FGREP" mgl@1371: +if test -z "$FGREP"; then mgl@1371: + { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 mgl@1371: +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} mgl@1371: + { (exit 1); exit 1; }; } mgl@1371: +fi mgl@1371: mgl@1371: -echo "$as_me:$LINENO: checking for egrep" >&5 mgl@1371: -echo $ECHO_N "checking for egrep... $ECHO_C" >&6 mgl@1371: -if test "${ac_cv_prog_egrep+set}" = set; then mgl@1371: - echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: - if echo a | (grep -E '(a|b)') >/dev/null 2>&1 mgl@1371: - then ac_cv_prog_egrep='grep -E' mgl@1371: - else ac_cv_prog_egrep='egrep' mgl@1371: - fi mgl@1371: + ac_cv_path_FGREP=$FGREP mgl@1371: fi mgl@1371: -echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 mgl@1371: -echo "${ECHO_T}$ac_cv_prog_egrep" >&6 mgl@1371: - EGREP=$ac_cv_prog_egrep mgl@1371: mgl@1371: mgl@1371: -echo "$as_me:$LINENO: checking for fgrep" >&5 mgl@1371: -echo $ECHO_N "checking for fgrep... $ECHO_C" >&6 mgl@1371: -if test "${ac_cv_prog_fgrep+set}" = set; then mgl@1371: - echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: -else mgl@1371: - if echo 'ab*c' | (grep -F 'ab*c') >/dev/null 2>&1 mgl@1371: - then ac_cv_prog_fgrep='grep -F' mgl@1371: - else ac_cv_prog_fgrep='fgrep' mgl@1371: - fi mgl@1371: + fi mgl@1371: fi mgl@1371: -echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5 mgl@1371: -echo "${ECHO_T}$ac_cv_prog_fgrep" >&6 mgl@1371: - FGREP=$ac_cv_prog_fgrep mgl@1371: +{ echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5 mgl@1371: +echo "${ECHO_T}$ac_cv_path_FGREP" >&6; } mgl@1371: + FGREP="$ac_cv_path_FGREP" mgl@1371: mgl@1371: mgl@1371: test -z "$GREP" && GREP=grep mgl@1371: @@ -4535,18 +5484,18 @@ mgl@1371: mgl@1371: mgl@1371: mgl@1371: -# Check whether --with-gnu-ld or --without-gnu-ld was given. mgl@1371: +# Check whether --with-gnu-ld was given. mgl@1371: if test "${with_gnu_ld+set}" = set; then mgl@1371: - withval="$with_gnu_ld" mgl@1371: - test "$withval" = no || with_gnu_ld=yes mgl@1371: + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes mgl@1371: else mgl@1371: with_gnu_ld=no mgl@1371: -fi; mgl@1371: +fi mgl@1371: + mgl@1371: ac_prog=ld mgl@1371: if test "$GCC" = yes; then mgl@1371: # Check if gcc -print-prog-name=ld gives a path. mgl@1371: - echo "$as_me:$LINENO: checking for ld used by $CC" >&5 mgl@1371: -echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6 mgl@1371: + { echo "$as_me:$LINENO: checking for ld used by $CC" >&5 mgl@1371: +echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; } mgl@1371: case $host in mgl@1371: *-*-mingw*) mgl@1371: # gcc leaves a trailing carriage return which upsets mingw mgl@1371: @@ -4575,11 +5524,11 @@ mgl@1371: ;; mgl@1371: esac mgl@1371: elif test "$with_gnu_ld" = yes; then mgl@1371: - echo "$as_me:$LINENO: checking for GNU ld" >&5 mgl@1371: -echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6 mgl@1371: + { echo "$as_me:$LINENO: checking for GNU ld" >&5 mgl@1371: +echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: checking for non-GNU ld" >&5 mgl@1371: -echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6 mgl@1371: + { echo "$as_me:$LINENO: checking for non-GNU ld" >&5 mgl@1371: +echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; } mgl@1371: fi mgl@1371: if test "${lt_cv_path_LD+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: @@ -4612,17 +5561,17 @@ mgl@1371: mgl@1371: LD="$lt_cv_path_LD" mgl@1371: if test -n "$LD"; then mgl@1371: - echo "$as_me:$LINENO: result: $LD" >&5 mgl@1371: -echo "${ECHO_T}$LD" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $LD" >&5 mgl@1371: +echo "${ECHO_T}$LD" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: fi mgl@1371: test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 mgl@1371: echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} mgl@1371: { (exit 1); exit 1; }; } mgl@1371: -echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 mgl@1371: -echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 mgl@1371: +echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; } mgl@1371: if test "${lt_cv_prog_gnu_ld+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -4636,8 +5585,8 @@ mgl@1371: ;; mgl@1371: esac mgl@1371: fi mgl@1371: -echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5 mgl@1371: -echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6 mgl@1371: +{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5 mgl@1371: +echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; } mgl@1371: with_gnu_ld=$lt_cv_prog_gnu_ld mgl@1371: mgl@1371: mgl@1371: @@ -4648,8 +5597,8 @@ mgl@1371: mgl@1371: mgl@1371: mgl@1371: -echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5 mgl@1371: -echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5 mgl@1371: +echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6; } mgl@1371: if test "${lt_cv_path_NM+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -4697,8 +5646,8 @@ mgl@1371: : ${lt_cv_path_NM=no} mgl@1371: fi mgl@1371: fi mgl@1371: -echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5 mgl@1371: -echo "${ECHO_T}$lt_cv_path_NM" >&6 mgl@1371: +{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5 mgl@1371: +echo "${ECHO_T}$lt_cv_path_NM" >&6; } mgl@1371: if test "$lt_cv_path_NM" != "no"; then mgl@1371: NM="$lt_cv_path_NM" mgl@1371: else mgl@1371: @@ -4708,8 +5657,8 @@ mgl@1371: do mgl@1371: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. mgl@1371: set dummy $ac_tool_prefix$ac_prog; ac_word=$2 mgl@1371: -echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_prog_DUMPBIN+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -4722,25 +5671,27 @@ mgl@1371: IFS=$as_save_IFS mgl@1371: test -z "$as_dir" && as_dir=. mgl@1371: for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" mgl@1371: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: break 2 mgl@1371: fi mgl@1371: done mgl@1371: done mgl@1371: +IFS=$as_save_IFS mgl@1371: mgl@1371: fi mgl@1371: fi mgl@1371: DUMPBIN=$ac_cv_prog_DUMPBIN mgl@1371: if test -n "$DUMPBIN"; then mgl@1371: - echo "$as_me:$LINENO: result: $DUMPBIN" >&5 mgl@1371: -echo "${ECHO_T}$DUMPBIN" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $DUMPBIN" >&5 mgl@1371: +echo "${ECHO_T}$DUMPBIN" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: fi mgl@1371: mgl@1371: + mgl@1371: test -n "$DUMPBIN" && break mgl@1371: done mgl@1371: fi mgl@1371: @@ -4750,8 +5701,8 @@ mgl@1371: do mgl@1371: # Extract the first word of "$ac_prog", so it can be a program name with args. mgl@1371: set dummy $ac_prog; ac_word=$2 mgl@1371: -echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -4764,30 +5715,45 @@ mgl@1371: IFS=$as_save_IFS mgl@1371: test -z "$as_dir" && as_dir=. mgl@1371: for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" mgl@1371: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: break 2 mgl@1371: fi mgl@1371: done mgl@1371: done mgl@1371: +IFS=$as_save_IFS mgl@1371: mgl@1371: fi mgl@1371: fi mgl@1371: ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN mgl@1371: if test -n "$ac_ct_DUMPBIN"; then mgl@1371: - echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5 mgl@1371: -echo "${ECHO_T}$ac_ct_DUMPBIN" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5 mgl@1371: +echo "${ECHO_T}$ac_ct_DUMPBIN" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: fi mgl@1371: mgl@1371: + mgl@1371: test -n "$ac_ct_DUMPBIN" && break mgl@1371: done mgl@1371: -test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN=":" mgl@1371: mgl@1371: - DUMPBIN=$ac_ct_DUMPBIN mgl@1371: + if test "x$ac_ct_DUMPBIN" = x; then mgl@1371: + DUMPBIN=":" mgl@1371: + else mgl@1371: + case $cross_compiling:$ac_tool_warned in mgl@1371: +yes:) mgl@1371: +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools mgl@1371: +whose name does not start with the host triplet. If you think this mgl@1371: +configuration is useful to you, please write to autoconf@gnu.org." >&5 mgl@1371: +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools mgl@1371: +whose name does not start with the host triplet. If you think this mgl@1371: +configuration is useful to you, please write to autoconf@gnu.org." >&2;} mgl@1371: +ac_tool_warned=yes ;; mgl@1371: +esac mgl@1371: + DUMPBIN=$ac_ct_DUMPBIN mgl@1371: + fi mgl@1371: fi mgl@1371: mgl@1371: mgl@1371: @@ -4802,43 +5768,43 @@ mgl@1371: mgl@1371: mgl@1371: mgl@1371: -echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5 mgl@1371: -echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5 mgl@1371: +echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6; } mgl@1371: if test "${lt_cv_nm_interface+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: lt_cv_nm_interface="BSD nm" mgl@1371: echo "int some_variable = 0;" > conftest.$ac_ext mgl@1371: - (eval echo "\"\$as_me:4812: $ac_compile\"" >&5) mgl@1371: + (eval echo "\"\$as_me:5778: $ac_compile\"" >&5) mgl@1371: (eval "$ac_compile" 2>conftest.err) mgl@1371: cat conftest.err >&5 mgl@1371: - (eval echo "\"\$as_me:4815: $NM \\\"conftest.$ac_objext\\\"\"" >&5) mgl@1371: + (eval echo "\"\$as_me:5781: $NM \\\"conftest.$ac_objext\\\"\"" >&5) mgl@1371: (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) mgl@1371: cat conftest.err >&5 mgl@1371: - (eval echo "\"\$as_me:4818: output\"" >&5) mgl@1371: + (eval echo "\"\$as_me:5784: output\"" >&5) mgl@1371: cat conftest.out >&5 mgl@1371: if $GREP 'External.*some_variable' conftest.out > /dev/null; then mgl@1371: lt_cv_nm_interface="MS dumpbin" mgl@1371: fi mgl@1371: rm -f conftest* mgl@1371: fi mgl@1371: -echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5 mgl@1371: -echo "${ECHO_T}$lt_cv_nm_interface" >&6 mgl@1371: +{ echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5 mgl@1371: +echo "${ECHO_T}$lt_cv_nm_interface" >&6; } mgl@1371: mgl@1371: -echo "$as_me:$LINENO: checking whether ln -s works" >&5 mgl@1371: -echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking whether ln -s works" >&5 mgl@1371: +echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; } mgl@1371: LN_S=$as_ln_s mgl@1371: if test "$LN_S" = "ln -s"; then mgl@1371: - echo "$as_me:$LINENO: result: yes" >&5 mgl@1371: -echo "${ECHO_T}yes" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: yes" >&5 mgl@1371: +echo "${ECHO_T}yes" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no, using $LN_S" >&5 mgl@1371: -echo "${ECHO_T}no, using $LN_S" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no, using $LN_S" >&5 mgl@1371: +echo "${ECHO_T}no, using $LN_S" >&6; } mgl@1371: fi mgl@1371: mgl@1371: # find the maximum length of command line arguments mgl@1371: -echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5 mgl@1371: -echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5 mgl@1371: +echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; } mgl@1371: if test "${lt_cv_sys_max_cmd_len+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -4957,11 +5923,11 @@ mgl@1371: fi mgl@1371: mgl@1371: if test -n $lt_cv_sys_max_cmd_len ; then mgl@1371: - echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5 mgl@1371: -echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5 mgl@1371: +echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: none" >&5 mgl@1371: -echo "${ECHO_T}none" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: none" >&5 mgl@1371: +echo "${ECHO_T}none" >&6; } mgl@1371: fi mgl@1371: max_cmd_len=$lt_cv_sys_max_cmd_len mgl@1371: mgl@1371: @@ -4974,8 +5940,8 @@ mgl@1371: : ${MV="mv -f"} mgl@1371: : ${RM="rm -f"} mgl@1371: mgl@1371: -echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5 mgl@1371: -echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5 mgl@1371: +echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6; } mgl@1371: # Try some XSI features mgl@1371: xsi_shell=no mgl@1371: ( _lt_dummy="a/b/c" mgl@1371: @@ -4984,18 +5950,18 @@ mgl@1371: && eval 'test $(( 1 + 1 )) -eq 2 \ mgl@1371: && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ mgl@1371: && xsi_shell=yes mgl@1371: -echo "$as_me:$LINENO: result: $xsi_shell" >&5 mgl@1371: -echo "${ECHO_T}$xsi_shell" >&6 mgl@1371: +{ echo "$as_me:$LINENO: result: $xsi_shell" >&5 mgl@1371: +echo "${ECHO_T}$xsi_shell" >&6; } mgl@1371: mgl@1371: mgl@1371: -echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5 mgl@1371: -echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5 mgl@1371: +echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6; } mgl@1371: lt_shell_append=no mgl@1371: ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ mgl@1371: >/dev/null 2>&1 \ mgl@1371: && lt_shell_append=yes mgl@1371: -echo "$as_me:$LINENO: result: $lt_shell_append" >&5 mgl@1371: -echo "${ECHO_T}$lt_shell_append" >&6 mgl@1371: +{ echo "$as_me:$LINENO: result: $lt_shell_append" >&5 mgl@1371: +echo "${ECHO_T}$lt_shell_append" >&6; } mgl@1371: mgl@1371: mgl@1371: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then mgl@1371: @@ -5029,15 +5995,15 @@ mgl@1371: mgl@1371: mgl@1371: mgl@1371: -echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5 mgl@1371: -echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5 mgl@1371: +echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; } mgl@1371: if test "${lt_cv_ld_reload_flag+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: lt_cv_ld_reload_flag='-r' mgl@1371: fi mgl@1371: -echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5 mgl@1371: -echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6 mgl@1371: +{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5 mgl@1371: +echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; } mgl@1371: reload_flag=$lt_cv_ld_reload_flag mgl@1371: case $reload_flag in mgl@1371: "" | " "*) ;; mgl@1371: @@ -5065,8 +6031,8 @@ mgl@1371: if test -n "$ac_tool_prefix"; then mgl@1371: # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. mgl@1371: set dummy ${ac_tool_prefix}objdump; ac_word=$2 mgl@1371: -echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_prog_OBJDUMP+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -5079,32 +6045,34 @@ mgl@1371: IFS=$as_save_IFS mgl@1371: test -z "$as_dir" && as_dir=. mgl@1371: for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" mgl@1371: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: break 2 mgl@1371: fi mgl@1371: done mgl@1371: done mgl@1371: +IFS=$as_save_IFS mgl@1371: mgl@1371: fi mgl@1371: fi mgl@1371: OBJDUMP=$ac_cv_prog_OBJDUMP mgl@1371: if test -n "$OBJDUMP"; then mgl@1371: - echo "$as_me:$LINENO: result: $OBJDUMP" >&5 mgl@1371: -echo "${ECHO_T}$OBJDUMP" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $OBJDUMP" >&5 mgl@1371: +echo "${ECHO_T}$OBJDUMP" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: fi mgl@1371: mgl@1371: + mgl@1371: fi mgl@1371: if test -z "$ac_cv_prog_OBJDUMP"; then mgl@1371: ac_ct_OBJDUMP=$OBJDUMP mgl@1371: # Extract the first word of "objdump", so it can be a program name with args. mgl@1371: set dummy objdump; ac_word=$2 mgl@1371: -echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -5117,27 +6085,41 @@ mgl@1371: IFS=$as_save_IFS mgl@1371: test -z "$as_dir" && as_dir=. mgl@1371: for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: ac_cv_prog_ac_ct_OBJDUMP="objdump" mgl@1371: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: break 2 mgl@1371: fi mgl@1371: done mgl@1371: done mgl@1371: +IFS=$as_save_IFS mgl@1371: mgl@1371: - test -z "$ac_cv_prog_ac_ct_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP="false" mgl@1371: fi mgl@1371: fi mgl@1371: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP mgl@1371: if test -n "$ac_ct_OBJDUMP"; then mgl@1371: - echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5 mgl@1371: -echo "${ECHO_T}$ac_ct_OBJDUMP" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5 mgl@1371: +echo "${ECHO_T}$ac_ct_OBJDUMP" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: fi mgl@1371: mgl@1371: - OBJDUMP=$ac_ct_OBJDUMP mgl@1371: + if test "x$ac_ct_OBJDUMP" = x; then mgl@1371: + OBJDUMP="false" mgl@1371: + else mgl@1371: + case $cross_compiling:$ac_tool_warned in mgl@1371: +yes:) mgl@1371: +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools mgl@1371: +whose name does not start with the host triplet. If you think this mgl@1371: +configuration is useful to you, please write to autoconf@gnu.org." >&5 mgl@1371: +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools mgl@1371: +whose name does not start with the host triplet. If you think this mgl@1371: +configuration is useful to you, please write to autoconf@gnu.org." >&2;} mgl@1371: +ac_tool_warned=yes ;; mgl@1371: +esac mgl@1371: + OBJDUMP=$ac_ct_OBJDUMP mgl@1371: + fi mgl@1371: else mgl@1371: OBJDUMP="$ac_cv_prog_OBJDUMP" mgl@1371: fi mgl@1371: @@ -5149,8 +6131,8 @@ mgl@1371: mgl@1371: mgl@1371: mgl@1371: -echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5 mgl@1371: -echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5 mgl@1371: +echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; } mgl@1371: if test "${lt_cv_deplibs_check_method+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -5345,8 +6327,8 @@ mgl@1371: esac mgl@1371: mgl@1371: fi mgl@1371: -echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5 mgl@1371: -echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6 mgl@1371: +{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5 mgl@1371: +echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; } mgl@1371: file_magic_cmd=$lt_cv_file_magic_cmd mgl@1371: deplibs_check_method=$lt_cv_deplibs_check_method mgl@1371: test -z "$deplibs_check_method" && deplibs_check_method=unknown mgl@1371: @@ -5365,8 +6347,8 @@ mgl@1371: if test -n "$ac_tool_prefix"; then mgl@1371: # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. mgl@1371: set dummy ${ac_tool_prefix}ar; ac_word=$2 mgl@1371: -echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_prog_AR+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -5379,32 +6361,34 @@ mgl@1371: IFS=$as_save_IFS mgl@1371: test -z "$as_dir" && as_dir=. mgl@1371: for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: ac_cv_prog_AR="${ac_tool_prefix}ar" mgl@1371: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: break 2 mgl@1371: fi mgl@1371: done mgl@1371: done mgl@1371: +IFS=$as_save_IFS mgl@1371: mgl@1371: fi mgl@1371: fi mgl@1371: AR=$ac_cv_prog_AR mgl@1371: if test -n "$AR"; then mgl@1371: - echo "$as_me:$LINENO: result: $AR" >&5 mgl@1371: -echo "${ECHO_T}$AR" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $AR" >&5 mgl@1371: +echo "${ECHO_T}$AR" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: fi mgl@1371: mgl@1371: + mgl@1371: fi mgl@1371: if test -z "$ac_cv_prog_AR"; then mgl@1371: ac_ct_AR=$AR mgl@1371: # Extract the first word of "ar", so it can be a program name with args. mgl@1371: set dummy ar; ac_word=$2 mgl@1371: -echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_prog_ac_ct_AR+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -5417,27 +6401,41 @@ mgl@1371: IFS=$as_save_IFS mgl@1371: test -z "$as_dir" && as_dir=. mgl@1371: for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: ac_cv_prog_ac_ct_AR="ar" mgl@1371: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: break 2 mgl@1371: fi mgl@1371: done mgl@1371: done mgl@1371: +IFS=$as_save_IFS mgl@1371: mgl@1371: - test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false" mgl@1371: fi mgl@1371: fi mgl@1371: ac_ct_AR=$ac_cv_prog_ac_ct_AR mgl@1371: if test -n "$ac_ct_AR"; then mgl@1371: - echo "$as_me:$LINENO: result: $ac_ct_AR" >&5 mgl@1371: -echo "${ECHO_T}$ac_ct_AR" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5 mgl@1371: +echo "${ECHO_T}$ac_ct_AR" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: fi mgl@1371: mgl@1371: - AR=$ac_ct_AR mgl@1371: + if test "x$ac_ct_AR" = x; then mgl@1371: + AR="false" mgl@1371: + else mgl@1371: + case $cross_compiling:$ac_tool_warned in mgl@1371: +yes:) mgl@1371: +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools mgl@1371: +whose name does not start with the host triplet. If you think this mgl@1371: +configuration is useful to you, please write to autoconf@gnu.org." >&5 mgl@1371: +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools mgl@1371: +whose name does not start with the host triplet. If you think this mgl@1371: +configuration is useful to you, please write to autoconf@gnu.org." >&2;} mgl@1371: +ac_tool_warned=yes ;; mgl@1371: +esac mgl@1371: + AR=$ac_ct_AR mgl@1371: + fi mgl@1371: else mgl@1371: AR="$ac_cv_prog_AR" mgl@1371: fi mgl@1371: @@ -5458,8 +6456,8 @@ mgl@1371: if test -n "$ac_tool_prefix"; then mgl@1371: # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. mgl@1371: set dummy ${ac_tool_prefix}strip; ac_word=$2 mgl@1371: -echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_prog_STRIP+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -5472,32 +6470,34 @@ mgl@1371: IFS=$as_save_IFS mgl@1371: test -z "$as_dir" && as_dir=. mgl@1371: for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: ac_cv_prog_STRIP="${ac_tool_prefix}strip" mgl@1371: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: break 2 mgl@1371: fi mgl@1371: done mgl@1371: done mgl@1371: +IFS=$as_save_IFS mgl@1371: mgl@1371: fi mgl@1371: fi mgl@1371: STRIP=$ac_cv_prog_STRIP mgl@1371: if test -n "$STRIP"; then mgl@1371: - echo "$as_me:$LINENO: result: $STRIP" >&5 mgl@1371: -echo "${ECHO_T}$STRIP" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $STRIP" >&5 mgl@1371: +echo "${ECHO_T}$STRIP" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: fi mgl@1371: mgl@1371: + mgl@1371: fi mgl@1371: if test -z "$ac_cv_prog_STRIP"; then mgl@1371: ac_ct_STRIP=$STRIP mgl@1371: # Extract the first word of "strip", so it can be a program name with args. mgl@1371: set dummy strip; ac_word=$2 mgl@1371: -echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -5510,27 +6510,41 @@ mgl@1371: IFS=$as_save_IFS mgl@1371: test -z "$as_dir" && as_dir=. mgl@1371: for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: ac_cv_prog_ac_ct_STRIP="strip" mgl@1371: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: break 2 mgl@1371: fi mgl@1371: done mgl@1371: done mgl@1371: +IFS=$as_save_IFS mgl@1371: mgl@1371: - test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" mgl@1371: fi mgl@1371: fi mgl@1371: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP mgl@1371: if test -n "$ac_ct_STRIP"; then mgl@1371: - echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 mgl@1371: -echo "${ECHO_T}$ac_ct_STRIP" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 mgl@1371: +echo "${ECHO_T}$ac_ct_STRIP" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: fi mgl@1371: mgl@1371: - STRIP=$ac_ct_STRIP mgl@1371: + if test "x$ac_ct_STRIP" = x; then mgl@1371: + STRIP=":" mgl@1371: + else mgl@1371: + case $cross_compiling:$ac_tool_warned in mgl@1371: +yes:) mgl@1371: +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools mgl@1371: +whose name does not start with the host triplet. If you think this mgl@1371: +configuration is useful to you, please write to autoconf@gnu.org." >&5 mgl@1371: +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools mgl@1371: +whose name does not start with the host triplet. If you think this mgl@1371: +configuration is useful to you, please write to autoconf@gnu.org." >&2;} mgl@1371: +ac_tool_warned=yes ;; mgl@1371: +esac mgl@1371: + STRIP=$ac_ct_STRIP mgl@1371: + fi mgl@1371: else mgl@1371: STRIP="$ac_cv_prog_STRIP" mgl@1371: fi mgl@1371: @@ -5545,8 +6559,8 @@ mgl@1371: if test -n "$ac_tool_prefix"; then mgl@1371: # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. mgl@1371: set dummy ${ac_tool_prefix}ranlib; ac_word=$2 mgl@1371: -echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_prog_RANLIB+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -5559,32 +6573,34 @@ mgl@1371: IFS=$as_save_IFS mgl@1371: test -z "$as_dir" && as_dir=. mgl@1371: for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" mgl@1371: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: break 2 mgl@1371: fi mgl@1371: done mgl@1371: done mgl@1371: +IFS=$as_save_IFS mgl@1371: mgl@1371: fi mgl@1371: fi mgl@1371: RANLIB=$ac_cv_prog_RANLIB mgl@1371: if test -n "$RANLIB"; then mgl@1371: - echo "$as_me:$LINENO: result: $RANLIB" >&5 mgl@1371: -echo "${ECHO_T}$RANLIB" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $RANLIB" >&5 mgl@1371: +echo "${ECHO_T}$RANLIB" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: fi mgl@1371: mgl@1371: + mgl@1371: fi mgl@1371: if test -z "$ac_cv_prog_RANLIB"; then mgl@1371: ac_ct_RANLIB=$RANLIB mgl@1371: # Extract the first word of "ranlib", so it can be a program name with args. mgl@1371: set dummy ranlib; ac_word=$2 mgl@1371: -echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -5597,27 +6613,41 @@ mgl@1371: IFS=$as_save_IFS mgl@1371: test -z "$as_dir" && as_dir=. mgl@1371: for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: ac_cv_prog_ac_ct_RANLIB="ranlib" mgl@1371: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: break 2 mgl@1371: fi mgl@1371: done mgl@1371: done mgl@1371: +IFS=$as_save_IFS mgl@1371: mgl@1371: - test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" mgl@1371: fi mgl@1371: fi mgl@1371: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB mgl@1371: if test -n "$ac_ct_RANLIB"; then mgl@1371: - echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 mgl@1371: -echo "${ECHO_T}$ac_ct_RANLIB" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 mgl@1371: +echo "${ECHO_T}$ac_ct_RANLIB" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: fi mgl@1371: mgl@1371: - RANLIB=$ac_ct_RANLIB mgl@1371: + if test "x$ac_ct_RANLIB" = x; then mgl@1371: + RANLIB=":" mgl@1371: + else mgl@1371: + case $cross_compiling:$ac_tool_warned in mgl@1371: +yes:) mgl@1371: +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools mgl@1371: +whose name does not start with the host triplet. If you think this mgl@1371: +configuration is useful to you, please write to autoconf@gnu.org." >&5 mgl@1371: +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools mgl@1371: +whose name does not start with the host triplet. If you think this mgl@1371: +configuration is useful to you, please write to autoconf@gnu.org." >&2;} mgl@1371: +ac_tool_warned=yes ;; mgl@1371: +esac mgl@1371: + RANLIB=$ac_ct_RANLIB mgl@1371: + fi mgl@1371: else mgl@1371: RANLIB="$ac_cv_prog_RANLIB" mgl@1371: fi mgl@1371: @@ -5690,8 +6720,8 @@ mgl@1371: mgl@1371: mgl@1371: # Check for command to grab the raw symbol name followed by C symbol from nm. mgl@1371: -echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5 mgl@1371: -echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5 mgl@1371: +echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; } mgl@1371: if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -5910,11 +6940,11 @@ mgl@1371: lt_cv_sys_global_symbol_to_cdecl= mgl@1371: fi mgl@1371: if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then mgl@1371: - echo "$as_me:$LINENO: result: failed" >&5 mgl@1371: -echo "${ECHO_T}failed" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: failed" >&5 mgl@1371: +echo "${ECHO_T}failed" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: ok" >&5 mgl@1371: -echo "${ECHO_T}ok" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: ok" >&5 mgl@1371: +echo "${ECHO_T}ok" >&6; } mgl@1371: fi mgl@1371: mgl@1371: mgl@1371: @@ -5939,11 +6969,11 @@ mgl@1371: mgl@1371: mgl@1371: mgl@1371: -# Check whether --enable-libtool-lock or --disable-libtool-lock was given. mgl@1371: +# Check whether --enable-libtool-lock was given. mgl@1371: if test "${enable_libtool_lock+set}" = set; then mgl@1371: - enableval="$enable_libtool_lock" mgl@1371: + enableval=$enable_libtool_lock; mgl@1371: +fi mgl@1371: mgl@1371: -fi; mgl@1371: test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes mgl@1371: mgl@1371: # Some flags need to be propagated to the compiler or linker for good mgl@1371: @@ -5970,7 +7000,7 @@ mgl@1371: ;; mgl@1371: *-*-irix6*) mgl@1371: # Find out which ABI we are using. mgl@1371: - echo '#line 5973 "configure"' > conftest.$ac_ext mgl@1371: + echo '#line 7003 "configure"' > conftest.$ac_ext mgl@1371: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 mgl@1371: (eval $ac_compile) 2>&5 mgl@1371: ac_status=$? mgl@1371: @@ -6062,8 +7092,8 @@ mgl@1371: # On SCO OpenServer 5, we need -belf to get full-featured binaries. mgl@1371: SAVE_CFLAGS="$CFLAGS" mgl@1371: CFLAGS="$CFLAGS -belf" mgl@1371: - echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5 mgl@1371: -echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6 mgl@1371: + { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5 mgl@1371: +echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; } mgl@1371: if test "${lt_cv_cc_needs_belf+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -6089,35 +7119,32 @@ mgl@1371: } mgl@1371: _ACEOF mgl@1371: rm -f conftest.$ac_objext conftest$ac_exeext mgl@1371: -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 mgl@1371: - (eval $ac_link) 2>conftest.er1 mgl@1371: +if { (ac_try="$ac_link" mgl@1371: +case "(($ac_try" in mgl@1371: + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; mgl@1371: + *) ac_try_echo=$ac_try;; mgl@1371: +esac mgl@1371: +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 mgl@1371: + (eval "$ac_link") 2>conftest.er1 mgl@1371: ac_status=$? mgl@1371: grep -v '^ *+' conftest.er1 >conftest.err mgl@1371: rm -f conftest.er1 mgl@1371: cat conftest.err >&5 mgl@1371: echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); } && mgl@1371: - { ac_try='test -z "$ac_c_werror_flag" mgl@1371: - || test ! -s conftest.err' mgl@1371: - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 mgl@1371: - (eval $ac_try) 2>&5 mgl@1371: - ac_status=$? mgl@1371: - echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); }; } && mgl@1371: - { ac_try='test -s conftest$ac_exeext' mgl@1371: - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 mgl@1371: - (eval $ac_try) 2>&5 mgl@1371: - ac_status=$? mgl@1371: - echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); }; }; then mgl@1371: + (exit $ac_status); } && { mgl@1371: + test -z "$ac_c_werror_flag" || mgl@1371: + test ! -s conftest.err mgl@1371: + } && test -s conftest$ac_exeext && mgl@1371: + $as_test_x conftest$ac_exeext; then mgl@1371: lt_cv_cc_needs_belf=yes mgl@1371: else mgl@1371: echo "$as_me: failed program was:" >&5 mgl@1371: sed 's/^/| /' conftest.$ac_ext >&5 mgl@1371: mgl@1371: -lt_cv_cc_needs_belf=no mgl@1371: + lt_cv_cc_needs_belf=no mgl@1371: fi mgl@1371: -rm -f conftest.err conftest.$ac_objext \ mgl@1371: + mgl@1371: +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ mgl@1371: conftest$ac_exeext conftest.$ac_ext mgl@1371: ac_ext=c mgl@1371: ac_cpp='$CPP $CPPFLAGS' mgl@1371: @@ -6126,8 +7153,8 @@ mgl@1371: ac_compiler_gnu=$ac_cv_c_compiler_gnu mgl@1371: mgl@1371: fi mgl@1371: -echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5 mgl@1371: -echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6 mgl@1371: +{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5 mgl@1371: +echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; } mgl@1371: if test x"$lt_cv_cc_needs_belf" != x"yes"; then mgl@1371: # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf mgl@1371: CFLAGS="$SAVE_CFLAGS" mgl@1371: @@ -6166,8 +7193,8 @@ mgl@1371: if test -n "$ac_tool_prefix"; then mgl@1371: # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. mgl@1371: set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 mgl@1371: -echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_prog_DSYMUTIL+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -6180,32 +7207,34 @@ mgl@1371: IFS=$as_save_IFS mgl@1371: test -z "$as_dir" && as_dir=. mgl@1371: for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" mgl@1371: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: break 2 mgl@1371: fi mgl@1371: done mgl@1371: done mgl@1371: +IFS=$as_save_IFS mgl@1371: mgl@1371: fi mgl@1371: fi mgl@1371: DSYMUTIL=$ac_cv_prog_DSYMUTIL mgl@1371: if test -n "$DSYMUTIL"; then mgl@1371: - echo "$as_me:$LINENO: result: $DSYMUTIL" >&5 mgl@1371: -echo "${ECHO_T}$DSYMUTIL" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $DSYMUTIL" >&5 mgl@1371: +echo "${ECHO_T}$DSYMUTIL" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: fi mgl@1371: mgl@1371: + mgl@1371: fi mgl@1371: if test -z "$ac_cv_prog_DSYMUTIL"; then mgl@1371: ac_ct_DSYMUTIL=$DSYMUTIL mgl@1371: # Extract the first word of "dsymutil", so it can be a program name with args. mgl@1371: set dummy dsymutil; ac_word=$2 mgl@1371: -echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -6218,27 +7247,41 @@ mgl@1371: IFS=$as_save_IFS mgl@1371: test -z "$as_dir" && as_dir=. mgl@1371: for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" mgl@1371: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: break 2 mgl@1371: fi mgl@1371: done mgl@1371: done mgl@1371: +IFS=$as_save_IFS mgl@1371: mgl@1371: - test -z "$ac_cv_prog_ac_ct_DSYMUTIL" && ac_cv_prog_ac_ct_DSYMUTIL=":" mgl@1371: fi mgl@1371: fi mgl@1371: ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL mgl@1371: if test -n "$ac_ct_DSYMUTIL"; then mgl@1371: - echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5 mgl@1371: -echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5 mgl@1371: +echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: fi mgl@1371: mgl@1371: - DSYMUTIL=$ac_ct_DSYMUTIL mgl@1371: + if test "x$ac_ct_DSYMUTIL" = x; then mgl@1371: + DSYMUTIL=":" mgl@1371: + else mgl@1371: + case $cross_compiling:$ac_tool_warned in mgl@1371: +yes:) mgl@1371: +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools mgl@1371: +whose name does not start with the host triplet. If you think this mgl@1371: +configuration is useful to you, please write to autoconf@gnu.org." >&5 mgl@1371: +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools mgl@1371: +whose name does not start with the host triplet. If you think this mgl@1371: +configuration is useful to you, please write to autoconf@gnu.org." >&2;} mgl@1371: +ac_tool_warned=yes ;; mgl@1371: +esac mgl@1371: + DSYMUTIL=$ac_ct_DSYMUTIL mgl@1371: + fi mgl@1371: else mgl@1371: DSYMUTIL="$ac_cv_prog_DSYMUTIL" mgl@1371: fi mgl@1371: @@ -6246,8 +7289,8 @@ mgl@1371: if test -n "$ac_tool_prefix"; then mgl@1371: # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. mgl@1371: set dummy ${ac_tool_prefix}nmedit; ac_word=$2 mgl@1371: -echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_prog_NMEDIT+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -6260,32 +7303,34 @@ mgl@1371: IFS=$as_save_IFS mgl@1371: test -z "$as_dir" && as_dir=. mgl@1371: for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" mgl@1371: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: break 2 mgl@1371: fi mgl@1371: done mgl@1371: done mgl@1371: +IFS=$as_save_IFS mgl@1371: mgl@1371: fi mgl@1371: fi mgl@1371: NMEDIT=$ac_cv_prog_NMEDIT mgl@1371: if test -n "$NMEDIT"; then mgl@1371: - echo "$as_me:$LINENO: result: $NMEDIT" >&5 mgl@1371: -echo "${ECHO_T}$NMEDIT" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $NMEDIT" >&5 mgl@1371: +echo "${ECHO_T}$NMEDIT" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: fi mgl@1371: mgl@1371: + mgl@1371: fi mgl@1371: if test -z "$ac_cv_prog_NMEDIT"; then mgl@1371: ac_ct_NMEDIT=$NMEDIT mgl@1371: # Extract the first word of "nmedit", so it can be a program name with args. mgl@1371: set dummy nmedit; ac_word=$2 mgl@1371: -echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -6298,27 +7343,41 @@ mgl@1371: IFS=$as_save_IFS mgl@1371: test -z "$as_dir" && as_dir=. mgl@1371: for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: ac_cv_prog_ac_ct_NMEDIT="nmedit" mgl@1371: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: break 2 mgl@1371: fi mgl@1371: done mgl@1371: done mgl@1371: +IFS=$as_save_IFS mgl@1371: mgl@1371: - test -z "$ac_cv_prog_ac_ct_NMEDIT" && ac_cv_prog_ac_ct_NMEDIT=":" mgl@1371: fi mgl@1371: fi mgl@1371: ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT mgl@1371: if test -n "$ac_ct_NMEDIT"; then mgl@1371: - echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5 mgl@1371: -echo "${ECHO_T}$ac_ct_NMEDIT" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5 mgl@1371: +echo "${ECHO_T}$ac_ct_NMEDIT" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: fi mgl@1371: mgl@1371: - NMEDIT=$ac_ct_NMEDIT mgl@1371: + if test "x$ac_ct_NMEDIT" = x; then mgl@1371: + NMEDIT=":" mgl@1371: + else mgl@1371: + case $cross_compiling:$ac_tool_warned in mgl@1371: +yes:) mgl@1371: +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools mgl@1371: +whose name does not start with the host triplet. If you think this mgl@1371: +configuration is useful to you, please write to autoconf@gnu.org." >&5 mgl@1371: +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools mgl@1371: +whose name does not start with the host triplet. If you think this mgl@1371: +configuration is useful to you, please write to autoconf@gnu.org." >&2;} mgl@1371: +ac_tool_warned=yes ;; mgl@1371: +esac mgl@1371: + NMEDIT=$ac_ct_NMEDIT mgl@1371: + fi mgl@1371: else mgl@1371: NMEDIT="$ac_cv_prog_NMEDIT" mgl@1371: fi mgl@1371: @@ -6326,8 +7385,8 @@ mgl@1371: if test -n "$ac_tool_prefix"; then mgl@1371: # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. mgl@1371: set dummy ${ac_tool_prefix}lipo; ac_word=$2 mgl@1371: -echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_prog_LIPO+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -6340,32 +7399,34 @@ mgl@1371: IFS=$as_save_IFS mgl@1371: test -z "$as_dir" && as_dir=. mgl@1371: for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: ac_cv_prog_LIPO="${ac_tool_prefix}lipo" mgl@1371: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: break 2 mgl@1371: fi mgl@1371: done mgl@1371: done mgl@1371: +IFS=$as_save_IFS mgl@1371: mgl@1371: fi mgl@1371: fi mgl@1371: LIPO=$ac_cv_prog_LIPO mgl@1371: if test -n "$LIPO"; then mgl@1371: - echo "$as_me:$LINENO: result: $LIPO" >&5 mgl@1371: -echo "${ECHO_T}$LIPO" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $LIPO" >&5 mgl@1371: +echo "${ECHO_T}$LIPO" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: fi mgl@1371: mgl@1371: + mgl@1371: fi mgl@1371: if test -z "$ac_cv_prog_LIPO"; then mgl@1371: ac_ct_LIPO=$LIPO mgl@1371: # Extract the first word of "lipo", so it can be a program name with args. mgl@1371: set dummy lipo; ac_word=$2 mgl@1371: -echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -6378,27 +7439,41 @@ mgl@1371: IFS=$as_save_IFS mgl@1371: test -z "$as_dir" && as_dir=. mgl@1371: for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: ac_cv_prog_ac_ct_LIPO="lipo" mgl@1371: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: break 2 mgl@1371: fi mgl@1371: done mgl@1371: done mgl@1371: +IFS=$as_save_IFS mgl@1371: mgl@1371: - test -z "$ac_cv_prog_ac_ct_LIPO" && ac_cv_prog_ac_ct_LIPO=":" mgl@1371: fi mgl@1371: fi mgl@1371: ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO mgl@1371: if test -n "$ac_ct_LIPO"; then mgl@1371: - echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5 mgl@1371: -echo "${ECHO_T}$ac_ct_LIPO" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5 mgl@1371: +echo "${ECHO_T}$ac_ct_LIPO" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: fi mgl@1371: mgl@1371: - LIPO=$ac_ct_LIPO mgl@1371: + if test "x$ac_ct_LIPO" = x; then mgl@1371: + LIPO=":" mgl@1371: + else mgl@1371: + case $cross_compiling:$ac_tool_warned in mgl@1371: +yes:) mgl@1371: +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools mgl@1371: +whose name does not start with the host triplet. If you think this mgl@1371: +configuration is useful to you, please write to autoconf@gnu.org." >&5 mgl@1371: +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools mgl@1371: +whose name does not start with the host triplet. If you think this mgl@1371: +configuration is useful to you, please write to autoconf@gnu.org." >&2;} mgl@1371: +ac_tool_warned=yes ;; mgl@1371: +esac mgl@1371: + LIPO=$ac_ct_LIPO mgl@1371: + fi mgl@1371: else mgl@1371: LIPO="$ac_cv_prog_LIPO" mgl@1371: fi mgl@1371: @@ -6406,8 +7481,8 @@ mgl@1371: if test -n "$ac_tool_prefix"; then mgl@1371: # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. mgl@1371: set dummy ${ac_tool_prefix}otool; ac_word=$2 mgl@1371: -echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_prog_OTOOL+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -6420,32 +7495,34 @@ mgl@1371: IFS=$as_save_IFS mgl@1371: test -z "$as_dir" && as_dir=. mgl@1371: for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: ac_cv_prog_OTOOL="${ac_tool_prefix}otool" mgl@1371: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: break 2 mgl@1371: fi mgl@1371: done mgl@1371: done mgl@1371: +IFS=$as_save_IFS mgl@1371: mgl@1371: fi mgl@1371: fi mgl@1371: OTOOL=$ac_cv_prog_OTOOL mgl@1371: if test -n "$OTOOL"; then mgl@1371: - echo "$as_me:$LINENO: result: $OTOOL" >&5 mgl@1371: -echo "${ECHO_T}$OTOOL" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $OTOOL" >&5 mgl@1371: +echo "${ECHO_T}$OTOOL" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: fi mgl@1371: mgl@1371: + mgl@1371: fi mgl@1371: if test -z "$ac_cv_prog_OTOOL"; then mgl@1371: ac_ct_OTOOL=$OTOOL mgl@1371: # Extract the first word of "otool", so it can be a program name with args. mgl@1371: set dummy otool; ac_word=$2 mgl@1371: -echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -6458,27 +7535,41 @@ mgl@1371: IFS=$as_save_IFS mgl@1371: test -z "$as_dir" && as_dir=. mgl@1371: for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: ac_cv_prog_ac_ct_OTOOL="otool" mgl@1371: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: break 2 mgl@1371: fi mgl@1371: done mgl@1371: done mgl@1371: +IFS=$as_save_IFS mgl@1371: mgl@1371: - test -z "$ac_cv_prog_ac_ct_OTOOL" && ac_cv_prog_ac_ct_OTOOL=":" mgl@1371: fi mgl@1371: fi mgl@1371: ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL mgl@1371: if test -n "$ac_ct_OTOOL"; then mgl@1371: - echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5 mgl@1371: -echo "${ECHO_T}$ac_ct_OTOOL" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5 mgl@1371: +echo "${ECHO_T}$ac_ct_OTOOL" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: fi mgl@1371: mgl@1371: - OTOOL=$ac_ct_OTOOL mgl@1371: + if test "x$ac_ct_OTOOL" = x; then mgl@1371: + OTOOL=":" mgl@1371: + else mgl@1371: + case $cross_compiling:$ac_tool_warned in mgl@1371: +yes:) mgl@1371: +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools mgl@1371: +whose name does not start with the host triplet. If you think this mgl@1371: +configuration is useful to you, please write to autoconf@gnu.org." >&5 mgl@1371: +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools mgl@1371: +whose name does not start with the host triplet. If you think this mgl@1371: +configuration is useful to you, please write to autoconf@gnu.org." >&2;} mgl@1371: +ac_tool_warned=yes ;; mgl@1371: +esac mgl@1371: + OTOOL=$ac_ct_OTOOL mgl@1371: + fi mgl@1371: else mgl@1371: OTOOL="$ac_cv_prog_OTOOL" mgl@1371: fi mgl@1371: @@ -6486,8 +7577,8 @@ mgl@1371: if test -n "$ac_tool_prefix"; then mgl@1371: # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. mgl@1371: set dummy ${ac_tool_prefix}otool64; ac_word=$2 mgl@1371: -echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_prog_OTOOL64+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -6500,32 +7591,34 @@ mgl@1371: IFS=$as_save_IFS mgl@1371: test -z "$as_dir" && as_dir=. mgl@1371: for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" mgl@1371: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: break 2 mgl@1371: fi mgl@1371: done mgl@1371: done mgl@1371: +IFS=$as_save_IFS mgl@1371: mgl@1371: fi mgl@1371: fi mgl@1371: OTOOL64=$ac_cv_prog_OTOOL64 mgl@1371: if test -n "$OTOOL64"; then mgl@1371: - echo "$as_me:$LINENO: result: $OTOOL64" >&5 mgl@1371: -echo "${ECHO_T}$OTOOL64" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $OTOOL64" >&5 mgl@1371: +echo "${ECHO_T}$OTOOL64" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: fi mgl@1371: mgl@1371: + mgl@1371: fi mgl@1371: if test -z "$ac_cv_prog_OTOOL64"; then mgl@1371: ac_ct_OTOOL64=$OTOOL64 mgl@1371: # Extract the first word of "otool64", so it can be a program name with args. mgl@1371: set dummy otool64; ac_word=$2 mgl@1371: -echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -6538,27 +7631,41 @@ mgl@1371: IFS=$as_save_IFS mgl@1371: test -z "$as_dir" && as_dir=. mgl@1371: for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: ac_cv_prog_ac_ct_OTOOL64="otool64" mgl@1371: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: break 2 mgl@1371: fi mgl@1371: done mgl@1371: done mgl@1371: +IFS=$as_save_IFS mgl@1371: mgl@1371: - test -z "$ac_cv_prog_ac_ct_OTOOL64" && ac_cv_prog_ac_ct_OTOOL64=":" mgl@1371: fi mgl@1371: fi mgl@1371: ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 mgl@1371: if test -n "$ac_ct_OTOOL64"; then mgl@1371: - echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5 mgl@1371: -echo "${ECHO_T}$ac_ct_OTOOL64" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5 mgl@1371: +echo "${ECHO_T}$ac_ct_OTOOL64" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: fi mgl@1371: mgl@1371: - OTOOL64=$ac_ct_OTOOL64 mgl@1371: + if test "x$ac_ct_OTOOL64" = x; then mgl@1371: + OTOOL64=":" mgl@1371: + else mgl@1371: + case $cross_compiling:$ac_tool_warned in mgl@1371: +yes:) mgl@1371: +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools mgl@1371: +whose name does not start with the host triplet. If you think this mgl@1371: +configuration is useful to you, please write to autoconf@gnu.org." >&5 mgl@1371: +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools mgl@1371: +whose name does not start with the host triplet. If you think this mgl@1371: +configuration is useful to you, please write to autoconf@gnu.org." >&2;} mgl@1371: +ac_tool_warned=yes ;; mgl@1371: +esac mgl@1371: + OTOOL64=$ac_ct_OTOOL64 mgl@1371: + fi mgl@1371: else mgl@1371: OTOOL64="$ac_cv_prog_OTOOL64" mgl@1371: fi mgl@1371: @@ -6589,8 +7696,8 @@ mgl@1371: mgl@1371: mgl@1371: mgl@1371: - echo "$as_me:$LINENO: checking for -single_module linker flag" >&5 mgl@1371: -echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6 mgl@1371: + { echo "$as_me:$LINENO: checking for -single_module linker flag" >&5 mgl@1371: +echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; } mgl@1371: if test "${lt_cv_apple_cc_single_mod+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -6616,10 +7723,10 @@ mgl@1371: rm -f conftest.* mgl@1371: fi mgl@1371: fi mgl@1371: -echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5 mgl@1371: -echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6 mgl@1371: - echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5 mgl@1371: -echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5 mgl@1371: +echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; } mgl@1371: + { echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5 mgl@1371: +echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; } mgl@1371: if test "${lt_cv_ld_exported_symbols_list+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -6643,41 +7750,38 @@ mgl@1371: } mgl@1371: _ACEOF mgl@1371: rm -f conftest.$ac_objext conftest$ac_exeext mgl@1371: -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 mgl@1371: - (eval $ac_link) 2>conftest.er1 mgl@1371: +if { (ac_try="$ac_link" mgl@1371: +case "(($ac_try" in mgl@1371: + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; mgl@1371: + *) ac_try_echo=$ac_try;; mgl@1371: +esac mgl@1371: +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 mgl@1371: + (eval "$ac_link") 2>conftest.er1 mgl@1371: ac_status=$? mgl@1371: grep -v '^ *+' conftest.er1 >conftest.err mgl@1371: rm -f conftest.er1 mgl@1371: cat conftest.err >&5 mgl@1371: echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); } && mgl@1371: - { ac_try='test -z "$ac_c_werror_flag" mgl@1371: - || test ! -s conftest.err' mgl@1371: - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 mgl@1371: - (eval $ac_try) 2>&5 mgl@1371: - ac_status=$? mgl@1371: - echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); }; } && mgl@1371: - { ac_try='test -s conftest$ac_exeext' mgl@1371: - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 mgl@1371: - (eval $ac_try) 2>&5 mgl@1371: - ac_status=$? mgl@1371: - echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); }; }; then mgl@1371: + (exit $ac_status); } && { mgl@1371: + test -z "$ac_c_werror_flag" || mgl@1371: + test ! -s conftest.err mgl@1371: + } && test -s conftest$ac_exeext && mgl@1371: + $as_test_x conftest$ac_exeext; then mgl@1371: lt_cv_ld_exported_symbols_list=yes mgl@1371: else mgl@1371: echo "$as_me: failed program was:" >&5 mgl@1371: sed 's/^/| /' conftest.$ac_ext >&5 mgl@1371: mgl@1371: -lt_cv_ld_exported_symbols_list=no mgl@1371: + lt_cv_ld_exported_symbols_list=no mgl@1371: fi mgl@1371: -rm -f conftest.err conftest.$ac_objext \ mgl@1371: + mgl@1371: +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ mgl@1371: conftest$ac_exeext conftest.$ac_ext mgl@1371: LDFLAGS="$save_LDFLAGS" mgl@1371: mgl@1371: fi mgl@1371: -echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5 mgl@1371: -echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6 mgl@1371: +{ echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5 mgl@1371: +echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; } mgl@1371: case $host_os in mgl@1371: rhapsody* | darwin1.[012]) mgl@1371: _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; mgl@1371: @@ -6718,8 +7822,8 @@ mgl@1371: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' mgl@1371: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' mgl@1371: ac_compiler_gnu=$ac_cv_c_compiler_gnu mgl@1371: -echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 mgl@1371: -echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 mgl@1371: +echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } mgl@1371: # On Suns, sometimes $CPP names a directory. mgl@1371: if test -n "$CPP" && test -d "$CPP"; then mgl@1371: CPP= mgl@1371: @@ -6753,24 +7857,22 @@ mgl@1371: #endif mgl@1371: Syntax error mgl@1371: _ACEOF mgl@1371: -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 mgl@1371: - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 mgl@1371: +if { (ac_try="$ac_cpp conftest.$ac_ext" mgl@1371: +case "(($ac_try" in mgl@1371: + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; mgl@1371: + *) ac_try_echo=$ac_try;; mgl@1371: +esac mgl@1371: +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 mgl@1371: + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 mgl@1371: ac_status=$? mgl@1371: grep -v '^ *+' conftest.er1 >conftest.err mgl@1371: rm -f conftest.er1 mgl@1371: cat conftest.err >&5 mgl@1371: echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); } >/dev/null; then mgl@1371: - if test -s conftest.err; then mgl@1371: - ac_cpp_err=$ac_c_preproc_warn_flag mgl@1371: - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag mgl@1371: - else mgl@1371: - ac_cpp_err= mgl@1371: - fi mgl@1371: -else mgl@1371: - ac_cpp_err=yes mgl@1371: -fi mgl@1371: -if test -z "$ac_cpp_err"; then mgl@1371: + (exit $ac_status); } >/dev/null && { mgl@1371: + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || mgl@1371: + test ! -s conftest.err mgl@1371: + }; then mgl@1371: : mgl@1371: else mgl@1371: echo "$as_me: failed program was:" >&5 mgl@1371: @@ -6779,9 +7881,10 @@ mgl@1371: # Broken: fails on valid input. mgl@1371: continue mgl@1371: fi mgl@1371: + mgl@1371: rm -f conftest.err conftest.$ac_ext mgl@1371: mgl@1371: - # OK, works on sane cases. Now check whether non-existent headers mgl@1371: + # OK, works on sane cases. Now check whether nonexistent headers mgl@1371: # can be detected and how. mgl@1371: cat >conftest.$ac_ext <<_ACEOF mgl@1371: /* confdefs.h. */ mgl@1371: @@ -6791,24 +7894,22 @@ mgl@1371: /* end confdefs.h. */ mgl@1371: #include mgl@1371: _ACEOF mgl@1371: -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 mgl@1371: - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 mgl@1371: +if { (ac_try="$ac_cpp conftest.$ac_ext" mgl@1371: +case "(($ac_try" in mgl@1371: + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; mgl@1371: + *) ac_try_echo=$ac_try;; mgl@1371: +esac mgl@1371: +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 mgl@1371: + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 mgl@1371: ac_status=$? mgl@1371: grep -v '^ *+' conftest.er1 >conftest.err mgl@1371: rm -f conftest.er1 mgl@1371: cat conftest.err >&5 mgl@1371: echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); } >/dev/null; then mgl@1371: - if test -s conftest.err; then mgl@1371: - ac_cpp_err=$ac_c_preproc_warn_flag mgl@1371: - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag mgl@1371: - else mgl@1371: - ac_cpp_err= mgl@1371: - fi mgl@1371: -else mgl@1371: - ac_cpp_err=yes mgl@1371: -fi mgl@1371: -if test -z "$ac_cpp_err"; then mgl@1371: + (exit $ac_status); } >/dev/null && { mgl@1371: + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || mgl@1371: + test ! -s conftest.err mgl@1371: + }; then mgl@1371: # Broken: success on invalid input. mgl@1371: continue mgl@1371: else mgl@1371: @@ -6819,6 +7920,7 @@ mgl@1371: ac_preproc_ok=: mgl@1371: break mgl@1371: fi mgl@1371: + mgl@1371: rm -f conftest.err conftest.$ac_ext mgl@1371: mgl@1371: done mgl@1371: @@ -6836,8 +7938,8 @@ mgl@1371: else mgl@1371: ac_cv_prog_CPP=$CPP mgl@1371: fi mgl@1371: -echo "$as_me:$LINENO: result: $CPP" >&5 mgl@1371: -echo "${ECHO_T}$CPP" >&6 mgl@1371: +{ echo "$as_me:$LINENO: result: $CPP" >&5 mgl@1371: +echo "${ECHO_T}$CPP" >&6; } mgl@1371: ac_preproc_ok=false mgl@1371: for ac_c_preproc_warn_flag in '' yes mgl@1371: do mgl@1371: @@ -6860,24 +7962,22 @@ mgl@1371: #endif mgl@1371: Syntax error mgl@1371: _ACEOF mgl@1371: -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 mgl@1371: - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 mgl@1371: +if { (ac_try="$ac_cpp conftest.$ac_ext" mgl@1371: +case "(($ac_try" in mgl@1371: + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; mgl@1371: + *) ac_try_echo=$ac_try;; mgl@1371: +esac mgl@1371: +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 mgl@1371: + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 mgl@1371: ac_status=$? mgl@1371: grep -v '^ *+' conftest.er1 >conftest.err mgl@1371: rm -f conftest.er1 mgl@1371: cat conftest.err >&5 mgl@1371: echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); } >/dev/null; then mgl@1371: - if test -s conftest.err; then mgl@1371: - ac_cpp_err=$ac_c_preproc_warn_flag mgl@1371: - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag mgl@1371: - else mgl@1371: - ac_cpp_err= mgl@1371: - fi mgl@1371: -else mgl@1371: - ac_cpp_err=yes mgl@1371: -fi mgl@1371: -if test -z "$ac_cpp_err"; then mgl@1371: + (exit $ac_status); } >/dev/null && { mgl@1371: + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || mgl@1371: + test ! -s conftest.err mgl@1371: + }; then mgl@1371: : mgl@1371: else mgl@1371: echo "$as_me: failed program was:" >&5 mgl@1371: @@ -6886,9 +7986,10 @@ mgl@1371: # Broken: fails on valid input. mgl@1371: continue mgl@1371: fi mgl@1371: + mgl@1371: rm -f conftest.err conftest.$ac_ext mgl@1371: mgl@1371: - # OK, works on sane cases. Now check whether non-existent headers mgl@1371: + # OK, works on sane cases. Now check whether nonexistent headers mgl@1371: # can be detected and how. mgl@1371: cat >conftest.$ac_ext <<_ACEOF mgl@1371: /* confdefs.h. */ mgl@1371: @@ -6898,24 +7999,22 @@ mgl@1371: /* end confdefs.h. */ mgl@1371: #include mgl@1371: _ACEOF mgl@1371: -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 mgl@1371: - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 mgl@1371: +if { (ac_try="$ac_cpp conftest.$ac_ext" mgl@1371: +case "(($ac_try" in mgl@1371: + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; mgl@1371: + *) ac_try_echo=$ac_try;; mgl@1371: +esac mgl@1371: +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 mgl@1371: + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 mgl@1371: ac_status=$? mgl@1371: grep -v '^ *+' conftest.er1 >conftest.err mgl@1371: rm -f conftest.er1 mgl@1371: cat conftest.err >&5 mgl@1371: echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); } >/dev/null; then mgl@1371: - if test -s conftest.err; then mgl@1371: - ac_cpp_err=$ac_c_preproc_warn_flag mgl@1371: - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag mgl@1371: - else mgl@1371: - ac_cpp_err= mgl@1371: - fi mgl@1371: -else mgl@1371: - ac_cpp_err=yes mgl@1371: -fi mgl@1371: -if test -z "$ac_cpp_err"; then mgl@1371: + (exit $ac_status); } >/dev/null && { mgl@1371: + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || mgl@1371: + test ! -s conftest.err mgl@1371: + }; then mgl@1371: # Broken: success on invalid input. mgl@1371: continue mgl@1371: else mgl@1371: @@ -6926,6 +8025,7 @@ mgl@1371: ac_preproc_ok=: mgl@1371: break mgl@1371: fi mgl@1371: + mgl@1371: rm -f conftest.err conftest.$ac_ext mgl@1371: mgl@1371: done mgl@1371: @@ -6948,8 +8048,8 @@ mgl@1371: ac_compiler_gnu=$ac_cv_c_compiler_gnu mgl@1371: mgl@1371: mgl@1371: -echo "$as_me:$LINENO: checking for ANSI C header files" >&5 mgl@1371: -echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5 mgl@1371: +echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_header_stdc+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -6973,35 +8073,31 @@ mgl@1371: } mgl@1371: _ACEOF mgl@1371: rm -f conftest.$ac_objext mgl@1371: -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 mgl@1371: - (eval $ac_compile) 2>conftest.er1 mgl@1371: +if { (ac_try="$ac_compile" mgl@1371: +case "(($ac_try" in mgl@1371: + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; mgl@1371: + *) ac_try_echo=$ac_try;; mgl@1371: +esac mgl@1371: +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 mgl@1371: + (eval "$ac_compile") 2>conftest.er1 mgl@1371: ac_status=$? mgl@1371: grep -v '^ *+' conftest.er1 >conftest.err mgl@1371: rm -f conftest.er1 mgl@1371: cat conftest.err >&5 mgl@1371: echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); } && mgl@1371: - { ac_try='test -z "$ac_c_werror_flag" mgl@1371: - || test ! -s conftest.err' mgl@1371: - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 mgl@1371: - (eval $ac_try) 2>&5 mgl@1371: - ac_status=$? mgl@1371: - echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); }; } && mgl@1371: - { ac_try='test -s conftest.$ac_objext' mgl@1371: - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 mgl@1371: - (eval $ac_try) 2>&5 mgl@1371: - ac_status=$? mgl@1371: - echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); }; }; then mgl@1371: + (exit $ac_status); } && { mgl@1371: + test -z "$ac_c_werror_flag" || mgl@1371: + test ! -s conftest.err mgl@1371: + } && test -s conftest.$ac_objext; then mgl@1371: ac_cv_header_stdc=yes mgl@1371: else mgl@1371: echo "$as_me: failed program was:" >&5 mgl@1371: sed 's/^/| /' conftest.$ac_ext >&5 mgl@1371: mgl@1371: -ac_cv_header_stdc=no mgl@1371: + ac_cv_header_stdc=no mgl@1371: fi mgl@1371: -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext mgl@1371: + mgl@1371: +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext mgl@1371: mgl@1371: if test $ac_cv_header_stdc = yes; then mgl@1371: # SunOS 4.x string.h does not declare mem*, contrary to ANSI. mgl@1371: @@ -7057,6 +8153,7 @@ mgl@1371: cat >>conftest.$ac_ext <<_ACEOF mgl@1371: /* end confdefs.h. */ mgl@1371: #include mgl@1371: +#include mgl@1371: #if ((' ' & 0x0FF) == 0x020) mgl@1371: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') mgl@1371: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) mgl@1371: @@ -7076,18 +8173,27 @@ mgl@1371: for (i = 0; i < 256; i++) mgl@1371: if (XOR (islower (i), ISLOWER (i)) mgl@1371: || toupper (i) != TOUPPER (i)) mgl@1371: - exit(2); mgl@1371: - exit (0); mgl@1371: + return 2; mgl@1371: + return 0; mgl@1371: } mgl@1371: _ACEOF mgl@1371: rm -f conftest$ac_exeext mgl@1371: -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 mgl@1371: - (eval $ac_link) 2>&5 mgl@1371: +if { (ac_try="$ac_link" mgl@1371: +case "(($ac_try" in mgl@1371: + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; mgl@1371: + *) ac_try_echo=$ac_try;; mgl@1371: +esac mgl@1371: +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 mgl@1371: + (eval "$ac_link") 2>&5 mgl@1371: ac_status=$? mgl@1371: echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: (exit $ac_status); } && { ac_try='./conftest$ac_exeext' mgl@1371: - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 mgl@1371: - (eval $ac_try) 2>&5 mgl@1371: + { (case "(($ac_try" in mgl@1371: + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; mgl@1371: + *) ac_try_echo=$ac_try;; mgl@1371: +esac mgl@1371: +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 mgl@1371: + (eval "$ac_try") 2>&5 mgl@1371: ac_status=$? mgl@1371: echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: (exit $ac_status); }; }; then mgl@1371: @@ -7100,12 +8206,14 @@ mgl@1371: ( exit $ac_status ) mgl@1371: ac_cv_header_stdc=no mgl@1371: fi mgl@1371: -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext mgl@1371: +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext mgl@1371: fi mgl@1371: + mgl@1371: + mgl@1371: fi mgl@1371: fi mgl@1371: -echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 mgl@1371: -echo "${ECHO_T}$ac_cv_header_stdc" >&6 mgl@1371: +{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 mgl@1371: +echo "${ECHO_T}$ac_cv_header_stdc" >&6; } mgl@1371: if test $ac_cv_header_stdc = yes; then mgl@1371: mgl@1371: cat >>confdefs.h <<\_ACEOF mgl@1371: @@ -7128,9 +8236,9 @@ mgl@1371: inttypes.h stdint.h unistd.h mgl@1371: do mgl@1371: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` mgl@1371: -echo "$as_me:$LINENO: checking for $ac_header" >&5 mgl@1371: -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 mgl@1371: -if eval "test \"\${$as_ac_Header+set}\" = set"; then mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_header" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } mgl@1371: +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: cat >conftest.$ac_ext <<_ACEOF mgl@1371: @@ -7144,38 +8252,35 @@ mgl@1371: #include <$ac_header> mgl@1371: _ACEOF mgl@1371: rm -f conftest.$ac_objext mgl@1371: -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 mgl@1371: - (eval $ac_compile) 2>conftest.er1 mgl@1371: +if { (ac_try="$ac_compile" mgl@1371: +case "(($ac_try" in mgl@1371: + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; mgl@1371: + *) ac_try_echo=$ac_try;; mgl@1371: +esac mgl@1371: +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 mgl@1371: + (eval "$ac_compile") 2>conftest.er1 mgl@1371: ac_status=$? mgl@1371: grep -v '^ *+' conftest.er1 >conftest.err mgl@1371: rm -f conftest.er1 mgl@1371: cat conftest.err >&5 mgl@1371: echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); } && mgl@1371: - { ac_try='test -z "$ac_c_werror_flag" mgl@1371: - || test ! -s conftest.err' mgl@1371: - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 mgl@1371: - (eval $ac_try) 2>&5 mgl@1371: - ac_status=$? mgl@1371: - echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); }; } && mgl@1371: - { ac_try='test -s conftest.$ac_objext' mgl@1371: - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 mgl@1371: - (eval $ac_try) 2>&5 mgl@1371: - ac_status=$? mgl@1371: - echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); }; }; then mgl@1371: + (exit $ac_status); } && { mgl@1371: + test -z "$ac_c_werror_flag" || mgl@1371: + test ! -s conftest.err mgl@1371: + } && test -s conftest.$ac_objext; then mgl@1371: eval "$as_ac_Header=yes" mgl@1371: else mgl@1371: echo "$as_me: failed program was:" >&5 mgl@1371: sed 's/^/| /' conftest.$ac_ext >&5 mgl@1371: mgl@1371: -eval "$as_ac_Header=no" mgl@1371: + eval "$as_ac_Header=no" mgl@1371: fi mgl@1371: -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext mgl@1371: + mgl@1371: +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext mgl@1371: fi mgl@1371: -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 mgl@1371: -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 mgl@1371: +ac_res=`eval echo '${'$as_ac_Header'}'` mgl@1371: + { echo "$as_me:$LINENO: result: $ac_res" >&5 mgl@1371: +echo "${ECHO_T}$ac_res" >&6; } mgl@1371: if test `eval echo '${'$as_ac_Header'}'` = yes; then mgl@1371: cat >>confdefs.h <<_ACEOF mgl@1371: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 mgl@1371: @@ -7190,9 +8295,9 @@ mgl@1371: for ac_header in dlfcn.h mgl@1371: do mgl@1371: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` mgl@1371: -echo "$as_me:$LINENO: checking for $ac_header" >&5 mgl@1371: -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 mgl@1371: -if eval "test \"\${$as_ac_Header+set}\" = set"; then mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_header" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } mgl@1371: +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: cat >conftest.$ac_ext <<_ACEOF mgl@1371: @@ -7206,38 +8311,35 @@ mgl@1371: #include <$ac_header> mgl@1371: _ACEOF mgl@1371: rm -f conftest.$ac_objext mgl@1371: -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 mgl@1371: - (eval $ac_compile) 2>conftest.er1 mgl@1371: +if { (ac_try="$ac_compile" mgl@1371: +case "(($ac_try" in mgl@1371: + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; mgl@1371: + *) ac_try_echo=$ac_try;; mgl@1371: +esac mgl@1371: +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 mgl@1371: + (eval "$ac_compile") 2>conftest.er1 mgl@1371: ac_status=$? mgl@1371: grep -v '^ *+' conftest.er1 >conftest.err mgl@1371: rm -f conftest.er1 mgl@1371: cat conftest.err >&5 mgl@1371: echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); } && mgl@1371: - { ac_try='test -z "$ac_c_werror_flag" mgl@1371: - || test ! -s conftest.err' mgl@1371: - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 mgl@1371: - (eval $ac_try) 2>&5 mgl@1371: - ac_status=$? mgl@1371: - echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); }; } && mgl@1371: - { ac_try='test -s conftest.$ac_objext' mgl@1371: - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 mgl@1371: - (eval $ac_try) 2>&5 mgl@1371: - ac_status=$? mgl@1371: - echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); }; }; then mgl@1371: + (exit $ac_status); } && { mgl@1371: + test -z "$ac_c_werror_flag" || mgl@1371: + test ! -s conftest.err mgl@1371: + } && test -s conftest.$ac_objext; then mgl@1371: eval "$as_ac_Header=yes" mgl@1371: else mgl@1371: echo "$as_me: failed program was:" >&5 mgl@1371: sed 's/^/| /' conftest.$ac_ext >&5 mgl@1371: mgl@1371: -eval "$as_ac_Header=no" mgl@1371: + eval "$as_ac_Header=no" mgl@1371: fi mgl@1371: -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext mgl@1371: + mgl@1371: +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext mgl@1371: fi mgl@1371: -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 mgl@1371: -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 mgl@1371: +ac_res=`eval echo '${'$as_ac_Header'}'` mgl@1371: + { echo "$as_me:$LINENO: result: $ac_res" >&5 mgl@1371: +echo "${ECHO_T}$ac_res" >&6; } mgl@1371: if test `eval echo '${'$as_ac_Header'}'` = yes; then mgl@1371: cat >>confdefs.h <<_ACEOF mgl@1371: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 mgl@1371: @@ -7257,10 +8359,9 @@ mgl@1371: mgl@1371: mgl@1371: mgl@1371: - # Check whether --enable-shared or --disable-shared was given. mgl@1371: + # Check whether --enable-shared was given. mgl@1371: if test "${enable_shared+set}" = set; then mgl@1371: - enableval="$enable_shared" mgl@1371: - p=${PACKAGE-default} mgl@1371: + enableval=$enable_shared; p=${PACKAGE-default} mgl@1371: case $enableval in mgl@1371: yes) enable_shared=yes ;; mgl@1371: no) enable_shared=no ;; mgl@1371: @@ -7279,7 +8380,8 @@ mgl@1371: esac mgl@1371: else mgl@1371: enable_shared=yes mgl@1371: -fi; mgl@1371: +fi mgl@1371: + mgl@1371: mgl@1371: mgl@1371: mgl@1371: @@ -7288,10 +8390,9 @@ mgl@1371: mgl@1371: mgl@1371: mgl@1371: - # Check whether --enable-static or --disable-static was given. mgl@1371: + # Check whether --enable-static was given. mgl@1371: if test "${enable_static+set}" = set; then mgl@1371: - enableval="$enable_static" mgl@1371: - p=${PACKAGE-default} mgl@1371: + enableval=$enable_static; p=${PACKAGE-default} mgl@1371: case $enableval in mgl@1371: yes) enable_static=yes ;; mgl@1371: no) enable_static=no ;; mgl@1371: @@ -7310,7 +8411,8 @@ mgl@1371: esac mgl@1371: else mgl@1371: enable_static=yes mgl@1371: -fi; mgl@1371: +fi mgl@1371: + mgl@1371: mgl@1371: mgl@1371: mgl@1371: @@ -7320,13 +8422,13 @@ mgl@1371: mgl@1371: mgl@1371: mgl@1371: -# Check whether --with-pic or --without-pic was given. mgl@1371: +# Check whether --with-pic was given. mgl@1371: if test "${with_pic+set}" = set; then mgl@1371: - withval="$with_pic" mgl@1371: - pic_mode="$withval" mgl@1371: + withval=$with_pic; pic_mode="$withval" mgl@1371: else mgl@1371: pic_mode=default mgl@1371: -fi; mgl@1371: +fi mgl@1371: + mgl@1371: mgl@1371: test -z "$pic_mode" && pic_mode=default mgl@1371: mgl@1371: @@ -7336,10 +8438,9 @@ mgl@1371: mgl@1371: mgl@1371: mgl@1371: - # Check whether --enable-fast-install or --disable-fast-install was given. mgl@1371: + # Check whether --enable-fast-install was given. mgl@1371: if test "${enable_fast_install+set}" = set; then mgl@1371: - enableval="$enable_fast_install" mgl@1371: - p=${PACKAGE-default} mgl@1371: + enableval=$enable_fast_install; p=${PACKAGE-default} mgl@1371: case $enableval in mgl@1371: yes) enable_fast_install=yes ;; mgl@1371: no) enable_fast_install=no ;; mgl@1371: @@ -7358,7 +8459,8 @@ mgl@1371: esac mgl@1371: else mgl@1371: enable_fast_install=yes mgl@1371: -fi; mgl@1371: +fi mgl@1371: + mgl@1371: mgl@1371: mgl@1371: mgl@1371: @@ -7418,8 +8520,8 @@ mgl@1371: setopt NO_GLOB_SUBST mgl@1371: fi mgl@1371: mgl@1371: -echo "$as_me:$LINENO: checking for objdir" >&5 mgl@1371: -echo $ECHO_N "checking for objdir... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for objdir" >&5 mgl@1371: +echo $ECHO_N "checking for objdir... $ECHO_C" >&6; } mgl@1371: if test "${lt_cv_objdir+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -7433,8 +8535,8 @@ mgl@1371: fi mgl@1371: rmdir .libs 2>/dev/null mgl@1371: fi mgl@1371: -echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5 mgl@1371: -echo "${ECHO_T}$lt_cv_objdir" >&6 mgl@1371: +{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5 mgl@1371: +echo "${ECHO_T}$lt_cv_objdir" >&6; } mgl@1371: objdir=$lt_cv_objdir mgl@1371: mgl@1371: mgl@1371: @@ -7526,8 +8628,8 @@ mgl@1371: case $deplibs_check_method in mgl@1371: file_magic*) mgl@1371: if test "$file_magic_cmd" = '$MAGIC_CMD'; then mgl@1371: - echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5 mgl@1371: -echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6 mgl@1371: + { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5 mgl@1371: +echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; } mgl@1371: if test "${lt_cv_path_MAGIC_CMD+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -7579,11 +8681,11 @@ mgl@1371: mgl@1371: MAGIC_CMD="$lt_cv_path_MAGIC_CMD" mgl@1371: if test -n "$MAGIC_CMD"; then mgl@1371: - echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 mgl@1371: -echo "${ECHO_T}$MAGIC_CMD" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 mgl@1371: +echo "${ECHO_T}$MAGIC_CMD" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: fi mgl@1371: mgl@1371: mgl@1371: @@ -7592,8 +8694,8 @@ mgl@1371: mgl@1371: if test -z "$lt_cv_path_MAGIC_CMD"; then mgl@1371: if test -n "$ac_tool_prefix"; then mgl@1371: - echo "$as_me:$LINENO: checking for file" >&5 mgl@1371: -echo $ECHO_N "checking for file... $ECHO_C" >&6 mgl@1371: + { echo "$as_me:$LINENO: checking for file" >&5 mgl@1371: +echo $ECHO_N "checking for file... $ECHO_C" >&6; } mgl@1371: if test "${lt_cv_path_MAGIC_CMD+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -7645,11 +8747,11 @@ mgl@1371: mgl@1371: MAGIC_CMD="$lt_cv_path_MAGIC_CMD" mgl@1371: if test -n "$MAGIC_CMD"; then mgl@1371: - echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 mgl@1371: -echo "${ECHO_T}$MAGIC_CMD" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 mgl@1371: +echo "${ECHO_T}$MAGIC_CMD" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: fi mgl@1371: mgl@1371: mgl@1371: @@ -7729,8 +8831,8 @@ mgl@1371: if test "$GCC" = yes; then mgl@1371: lt_prog_compiler_no_builtin_flag=' -fno-builtin' mgl@1371: mgl@1371: - echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 mgl@1371: -echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6 mgl@1371: + { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 mgl@1371: +echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; } mgl@1371: if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -7747,11 +8849,11 @@ mgl@1371: -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ mgl@1371: -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ mgl@1371: -e 's:$: $lt_compiler_flag:'` mgl@1371: - (eval echo "\"\$as_me:7750: $lt_compile\"" >&5) mgl@1371: + (eval echo "\"\$as_me:8852: $lt_compile\"" >&5) mgl@1371: (eval "$lt_compile" 2>conftest.err) mgl@1371: ac_status=$? mgl@1371: cat conftest.err >&5 mgl@1371: - echo "$as_me:7754: \$? = $ac_status" >&5 mgl@1371: + echo "$as_me:8856: \$? = $ac_status" >&5 mgl@1371: if (exit $ac_status) && test -s "$ac_outfile"; then mgl@1371: # The compiler can only warn and ignore the option if not recognized mgl@1371: # So say no if there are warnings other than the usual output. mgl@1371: @@ -7764,8 +8866,8 @@ mgl@1371: $RM conftest* mgl@1371: mgl@1371: fi mgl@1371: -echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 mgl@1371: -echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6 mgl@1371: +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 mgl@1371: +echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; } mgl@1371: mgl@1371: if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then mgl@1371: lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" mgl@1371: @@ -7784,8 +8886,8 @@ mgl@1371: lt_prog_compiler_pic= mgl@1371: lt_prog_compiler_static= mgl@1371: mgl@1371: -echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 mgl@1371: -echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 mgl@1371: +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; } mgl@1371: mgl@1371: if test "$GCC" = yes; then mgl@1371: lt_prog_compiler_wl='-Wl,' mgl@1371: @@ -8056,8 +9158,8 @@ mgl@1371: lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" mgl@1371: ;; mgl@1371: esac mgl@1371: -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5 mgl@1371: -echo "${ECHO_T}$lt_prog_compiler_pic" >&6 mgl@1371: +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5 mgl@1371: +echo "${ECHO_T}$lt_prog_compiler_pic" >&6; } mgl@1371: mgl@1371: mgl@1371: mgl@1371: @@ -8068,8 +9170,8 @@ mgl@1371: # Check to make sure the PIC flag actually works. mgl@1371: # mgl@1371: if test -n "$lt_prog_compiler_pic"; then mgl@1371: - echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 mgl@1371: -echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6 mgl@1371: + { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 mgl@1371: +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; } mgl@1371: if test "${lt_cv_prog_compiler_pic_works+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -8086,11 +9188,11 @@ mgl@1371: -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ mgl@1371: -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ mgl@1371: -e 's:$: $lt_compiler_flag:'` mgl@1371: - (eval echo "\"\$as_me:8089: $lt_compile\"" >&5) mgl@1371: + (eval echo "\"\$as_me:9191: $lt_compile\"" >&5) mgl@1371: (eval "$lt_compile" 2>conftest.err) mgl@1371: ac_status=$? mgl@1371: cat conftest.err >&5 mgl@1371: - echo "$as_me:8093: \$? = $ac_status" >&5 mgl@1371: + echo "$as_me:9195: \$? = $ac_status" >&5 mgl@1371: if (exit $ac_status) && test -s "$ac_outfile"; then mgl@1371: # The compiler can only warn and ignore the option if not recognized mgl@1371: # So say no if there are warnings other than the usual output. mgl@1371: @@ -8103,8 +9205,8 @@ mgl@1371: $RM conftest* mgl@1371: mgl@1371: fi mgl@1371: -echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5 mgl@1371: -echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6 mgl@1371: +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5 mgl@1371: +echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6; } mgl@1371: mgl@1371: if test x"$lt_cv_prog_compiler_pic_works" = xyes; then mgl@1371: case $lt_prog_compiler_pic in mgl@1371: @@ -8127,8 +9229,8 @@ mgl@1371: # Check to make sure the static flag actually works. mgl@1371: # mgl@1371: wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" mgl@1371: -echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 mgl@1371: -echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 mgl@1371: +echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; } mgl@1371: if test "${lt_cv_prog_compiler_static_works+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -8155,8 +9257,8 @@ mgl@1371: LDFLAGS="$save_LDFLAGS" mgl@1371: mgl@1371: fi mgl@1371: -echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5 mgl@1371: -echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6 mgl@1371: +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5 mgl@1371: +echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6; } mgl@1371: mgl@1371: if test x"$lt_cv_prog_compiler_static_works" = xyes; then mgl@1371: : mgl@1371: @@ -8170,8 +9272,8 @@ mgl@1371: mgl@1371: mgl@1371: mgl@1371: - echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 mgl@1371: -echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 mgl@1371: + { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 mgl@1371: +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; } mgl@1371: if test "${lt_cv_prog_compiler_c_o+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -8191,11 +9293,11 @@ mgl@1371: -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ mgl@1371: -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ mgl@1371: -e 's:$: $lt_compiler_flag:'` mgl@1371: - (eval echo "\"\$as_me:8194: $lt_compile\"" >&5) mgl@1371: + (eval echo "\"\$as_me:9296: $lt_compile\"" >&5) mgl@1371: (eval "$lt_compile" 2>out/conftest.err) mgl@1371: ac_status=$? mgl@1371: cat out/conftest.err >&5 mgl@1371: - echo "$as_me:8198: \$? = $ac_status" >&5 mgl@1371: + echo "$as_me:9300: \$? = $ac_status" >&5 mgl@1371: if (exit $ac_status) && test -s out/conftest2.$ac_objext mgl@1371: then mgl@1371: # The compiler can only warn and ignore the option if not recognized mgl@1371: @@ -8217,16 +9319,16 @@ mgl@1371: $RM conftest* mgl@1371: mgl@1371: fi mgl@1371: -echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5 mgl@1371: -echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6 mgl@1371: +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5 mgl@1371: +echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; } mgl@1371: mgl@1371: mgl@1371: mgl@1371: mgl@1371: mgl@1371: mgl@1371: - echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 mgl@1371: -echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 mgl@1371: + { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 mgl@1371: +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; } mgl@1371: if test "${lt_cv_prog_compiler_c_o+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -8246,11 +9348,11 @@ mgl@1371: -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ mgl@1371: -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ mgl@1371: -e 's:$: $lt_compiler_flag:'` mgl@1371: - (eval echo "\"\$as_me:8249: $lt_compile\"" >&5) mgl@1371: + (eval echo "\"\$as_me:9351: $lt_compile\"" >&5) mgl@1371: (eval "$lt_compile" 2>out/conftest.err) mgl@1371: ac_status=$? mgl@1371: cat out/conftest.err >&5 mgl@1371: - echo "$as_me:8253: \$? = $ac_status" >&5 mgl@1371: + echo "$as_me:9355: \$? = $ac_status" >&5 mgl@1371: if (exit $ac_status) && test -s out/conftest2.$ac_objext mgl@1371: then mgl@1371: # The compiler can only warn and ignore the option if not recognized mgl@1371: @@ -8272,8 +9374,8 @@ mgl@1371: $RM conftest* mgl@1371: mgl@1371: fi mgl@1371: -echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5 mgl@1371: -echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6 mgl@1371: +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5 mgl@1371: +echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; } mgl@1371: mgl@1371: mgl@1371: mgl@1371: @@ -8281,16 +9383,16 @@ mgl@1371: hard_links="nottested" mgl@1371: if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then mgl@1371: # do not overwrite the value of need_locks provided by the user mgl@1371: - echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 mgl@1371: -echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6 mgl@1371: + { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 mgl@1371: +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; } mgl@1371: hard_links=yes mgl@1371: $RM conftest* mgl@1371: ln conftest.a conftest.b 2>/dev/null && hard_links=no mgl@1371: touch conftest.a mgl@1371: ln conftest.a conftest.b 2>&5 || hard_links=no mgl@1371: ln conftest.a conftest.b 2>/dev/null && hard_links=no mgl@1371: - echo "$as_me:$LINENO: result: $hard_links" >&5 mgl@1371: -echo "${ECHO_T}$hard_links" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $hard_links" >&5 mgl@1371: +echo "${ECHO_T}$hard_links" >&6; } mgl@1371: if test "$hard_links" = no; then mgl@1371: { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 mgl@1371: echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} mgl@1371: @@ -8305,8 +9407,8 @@ mgl@1371: mgl@1371: mgl@1371: mgl@1371: - echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 mgl@1371: -echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6 mgl@1371: + { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 mgl@1371: +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; } mgl@1371: mgl@1371: runpath_var= mgl@1371: allow_undefined_flag= mgl@1371: @@ -8763,27 +9865,23 @@ mgl@1371: } mgl@1371: _ACEOF mgl@1371: rm -f conftest.$ac_objext conftest$ac_exeext mgl@1371: -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 mgl@1371: - (eval $ac_link) 2>conftest.er1 mgl@1371: +if { (ac_try="$ac_link" mgl@1371: +case "(($ac_try" in mgl@1371: + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; mgl@1371: + *) ac_try_echo=$ac_try;; mgl@1371: +esac mgl@1371: +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 mgl@1371: + (eval "$ac_link") 2>conftest.er1 mgl@1371: ac_status=$? mgl@1371: grep -v '^ *+' conftest.er1 >conftest.err mgl@1371: rm -f conftest.er1 mgl@1371: cat conftest.err >&5 mgl@1371: echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); } && mgl@1371: - { ac_try='test -z "$ac_c_werror_flag" mgl@1371: - || test ! -s conftest.err' mgl@1371: - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 mgl@1371: - (eval $ac_try) 2>&5 mgl@1371: - ac_status=$? mgl@1371: - echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); }; } && mgl@1371: - { ac_try='test -s conftest$ac_exeext' mgl@1371: - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 mgl@1371: - (eval $ac_try) 2>&5 mgl@1371: - ac_status=$? mgl@1371: - echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); }; }; then mgl@1371: + (exit $ac_status); } && { mgl@1371: + test -z "$ac_c_werror_flag" || mgl@1371: + test ! -s conftest.err mgl@1371: + } && test -s conftest$ac_exeext && mgl@1371: + $as_test_x conftest$ac_exeext; then mgl@1371: mgl@1371: lt_aix_libpath_sed=' mgl@1371: /Import File Strings/,/^$/ { mgl@1371: @@ -8801,8 +9899,10 @@ mgl@1371: echo "$as_me: failed program was:" >&5 mgl@1371: sed 's/^/| /' conftest.$ac_ext >&5 mgl@1371: mgl@1371: + mgl@1371: fi mgl@1371: -rm -f conftest.err conftest.$ac_objext \ mgl@1371: + mgl@1371: +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ mgl@1371: conftest$ac_exeext conftest.$ac_ext mgl@1371: if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi mgl@1371: mgl@1371: @@ -8832,27 +9932,23 @@ mgl@1371: } mgl@1371: _ACEOF mgl@1371: rm -f conftest.$ac_objext conftest$ac_exeext mgl@1371: -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 mgl@1371: - (eval $ac_link) 2>conftest.er1 mgl@1371: +if { (ac_try="$ac_link" mgl@1371: +case "(($ac_try" in mgl@1371: + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; mgl@1371: + *) ac_try_echo=$ac_try;; mgl@1371: +esac mgl@1371: +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 mgl@1371: + (eval "$ac_link") 2>conftest.er1 mgl@1371: ac_status=$? mgl@1371: grep -v '^ *+' conftest.er1 >conftest.err mgl@1371: rm -f conftest.er1 mgl@1371: cat conftest.err >&5 mgl@1371: echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); } && mgl@1371: - { ac_try='test -z "$ac_c_werror_flag" mgl@1371: - || test ! -s conftest.err' mgl@1371: - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 mgl@1371: - (eval $ac_try) 2>&5 mgl@1371: - ac_status=$? mgl@1371: - echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); }; } && mgl@1371: - { ac_try='test -s conftest$ac_exeext' mgl@1371: - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 mgl@1371: - (eval $ac_try) 2>&5 mgl@1371: - ac_status=$? mgl@1371: - echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); }; }; then mgl@1371: + (exit $ac_status); } && { mgl@1371: + test -z "$ac_c_werror_flag" || mgl@1371: + test ! -s conftest.err mgl@1371: + } && test -s conftest$ac_exeext && mgl@1371: + $as_test_x conftest$ac_exeext; then mgl@1371: mgl@1371: lt_aix_libpath_sed=' mgl@1371: /Import File Strings/,/^$/ { mgl@1371: @@ -8870,8 +9966,10 @@ mgl@1371: echo "$as_me: failed program was:" >&5 mgl@1371: sed 's/^/| /' conftest.$ac_ext >&5 mgl@1371: mgl@1371: + mgl@1371: fi mgl@1371: -rm -f conftest.err conftest.$ac_objext \ mgl@1371: + mgl@1371: +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ mgl@1371: conftest$ac_exeext conftest.$ac_ext mgl@1371: if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi mgl@1371: mgl@1371: @@ -9088,35 +10186,33 @@ mgl@1371: int foo(void) {} mgl@1371: _ACEOF mgl@1371: rm -f conftest.$ac_objext conftest$ac_exeext mgl@1371: -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 mgl@1371: - (eval $ac_link) 2>conftest.er1 mgl@1371: +if { (ac_try="$ac_link" mgl@1371: +case "(($ac_try" in mgl@1371: + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; mgl@1371: + *) ac_try_echo=$ac_try;; mgl@1371: +esac mgl@1371: +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 mgl@1371: + (eval "$ac_link") 2>conftest.er1 mgl@1371: ac_status=$? mgl@1371: grep -v '^ *+' conftest.er1 >conftest.err mgl@1371: rm -f conftest.er1 mgl@1371: cat conftest.err >&5 mgl@1371: echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); } && mgl@1371: - { ac_try='test -z "$ac_c_werror_flag" mgl@1371: - || test ! -s conftest.err' mgl@1371: - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 mgl@1371: - (eval $ac_try) 2>&5 mgl@1371: - ac_status=$? mgl@1371: - echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); }; } && mgl@1371: - { ac_try='test -s conftest$ac_exeext' mgl@1371: - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 mgl@1371: - (eval $ac_try) 2>&5 mgl@1371: - ac_status=$? mgl@1371: - echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); }; }; then mgl@1371: + (exit $ac_status); } && { mgl@1371: + test -z "$ac_c_werror_flag" || mgl@1371: + test ! -s conftest.err mgl@1371: + } && test -s conftest$ac_exeext && mgl@1371: + $as_test_x conftest$ac_exeext; then mgl@1371: archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib' mgl@1371: mgl@1371: else mgl@1371: echo "$as_me: failed program was:" >&5 mgl@1371: sed 's/^/| /' conftest.$ac_ext >&5 mgl@1371: mgl@1371: + mgl@1371: fi mgl@1371: -rm -f conftest.err conftest.$ac_objext \ mgl@1371: + mgl@1371: +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ mgl@1371: conftest$ac_exeext conftest.$ac_ext mgl@1371: LDFLAGS="$save_LDFLAGS" mgl@1371: else mgl@1371: @@ -9373,8 +10469,8 @@ mgl@1371: fi mgl@1371: fi mgl@1371: mgl@1371: -echo "$as_me:$LINENO: result: $ld_shlibs" >&5 mgl@1371: -echo "${ECHO_T}$ld_shlibs" >&6 mgl@1371: +{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5 mgl@1371: +echo "${ECHO_T}$ld_shlibs" >&6; } mgl@1371: test "$ld_shlibs" = no && can_build_shared=no mgl@1371: mgl@1371: with_gnu_ld=$with_gnu_ld mgl@1371: @@ -9410,46 +10506,52 @@ mgl@1371: # Test whether the compiler implicitly links with -lc since on some mgl@1371: # systems, -lgcc has to come before -lc. If gcc already passes -lc mgl@1371: # to ld, don't add -lc before -lgcc. mgl@1371: - echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 mgl@1371: -echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 mgl@1371: - $RM conftest* mgl@1371: - echo "$lt_simple_compile_test_code" > conftest.$ac_ext mgl@1371: + { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 mgl@1371: +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; } mgl@1371: +if test "${lt_cv_archive_cmds_need_lc+set}" = set; then mgl@1371: + echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: +else mgl@1371: + $RM conftest* mgl@1371: + echo "$lt_simple_compile_test_code" > conftest.$ac_ext mgl@1371: mgl@1371: - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 mgl@1371: + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 mgl@1371: (eval $ac_compile) 2>&5 mgl@1371: ac_status=$? mgl@1371: echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: (exit $ac_status); } 2>conftest.err; then mgl@1371: - soname=conftest mgl@1371: - lib=conftest mgl@1371: - libobjs=conftest.$ac_objext mgl@1371: - deplibs= mgl@1371: - wl=$lt_prog_compiler_wl mgl@1371: - pic_flag=$lt_prog_compiler_pic mgl@1371: - compiler_flags=-v mgl@1371: - linker_flags=-v mgl@1371: - verstring= mgl@1371: - output_objdir=. mgl@1371: - libname=conftest mgl@1371: - lt_save_allow_undefined_flag=$allow_undefined_flag mgl@1371: - allow_undefined_flag= mgl@1371: - if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5 mgl@1371: + soname=conftest mgl@1371: + lib=conftest mgl@1371: + libobjs=conftest.$ac_objext mgl@1371: + deplibs= mgl@1371: + wl=$lt_prog_compiler_wl mgl@1371: + pic_flag=$lt_prog_compiler_pic mgl@1371: + compiler_flags=-v mgl@1371: + linker_flags=-v mgl@1371: + verstring= mgl@1371: + output_objdir=. mgl@1371: + libname=conftest mgl@1371: + lt_save_allow_undefined_flag=$allow_undefined_flag mgl@1371: + allow_undefined_flag= mgl@1371: + if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5 mgl@1371: (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 mgl@1371: ac_status=$? mgl@1371: echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: (exit $ac_status); } mgl@1371: - then mgl@1371: - archive_cmds_need_lc=no mgl@1371: - else mgl@1371: - archive_cmds_need_lc=yes mgl@1371: - fi mgl@1371: - allow_undefined_flag=$lt_save_allow_undefined_flag mgl@1371: - else mgl@1371: - cat conftest.err 1>&5 mgl@1371: - fi mgl@1371: - $RM conftest* mgl@1371: - echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5 mgl@1371: -echo "${ECHO_T}$archive_cmds_need_lc" >&6 mgl@1371: + then mgl@1371: + lt_cv_archive_cmds_need_lc=no mgl@1371: + else mgl@1371: + lt_cv_archive_cmds_need_lc=yes mgl@1371: + fi mgl@1371: + allow_undefined_flag=$lt_save_allow_undefined_flag mgl@1371: + else mgl@1371: + cat conftest.err 1>&5 mgl@1371: + fi mgl@1371: + $RM conftest* mgl@1371: + mgl@1371: +fi mgl@1371: +{ echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5 mgl@1371: +echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6; } mgl@1371: + archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc mgl@1371: ;; mgl@1371: esac mgl@1371: fi mgl@1371: @@ -9612,8 +10714,8 @@ mgl@1371: mgl@1371: mgl@1371: mgl@1371: - echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 mgl@1371: -echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 mgl@1371: + { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 mgl@1371: +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; } mgl@1371: mgl@1371: if test "$GCC" = yes; then mgl@1371: case $host_os in mgl@1371: @@ -10029,12 +11131,17 @@ mgl@1371: finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' mgl@1371: shlibpath_var=LD_LIBRARY_PATH mgl@1371: shlibpath_overrides_runpath=no mgl@1371: + mgl@1371: # Some binutils ld are patched to set DT_RUNPATH mgl@1371: - save_LDFLAGS=$LDFLAGS mgl@1371: - save_libdir=$libdir mgl@1371: - eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ mgl@1371: - LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" mgl@1371: - cat >conftest.$ac_ext <<_ACEOF mgl@1371: + if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then mgl@1371: + echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: +else mgl@1371: + lt_cv_shlibpath_overrides_runpath=no mgl@1371: + save_LDFLAGS=$LDFLAGS mgl@1371: + save_libdir=$libdir mgl@1371: + eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ mgl@1371: + LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" mgl@1371: + cat >conftest.$ac_ext <<_ACEOF mgl@1371: /* confdefs.h. */ mgl@1371: _ACEOF mgl@1371: cat confdefs.h >>conftest.$ac_ext mgl@1371: @@ -10050,40 +11157,42 @@ mgl@1371: } mgl@1371: _ACEOF mgl@1371: rm -f conftest.$ac_objext conftest$ac_exeext mgl@1371: -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 mgl@1371: - (eval $ac_link) 2>conftest.er1 mgl@1371: - ac_status=$? mgl@1371: - grep -v '^ *+' conftest.er1 >conftest.err mgl@1371: - rm -f conftest.er1 mgl@1371: - cat conftest.err >&5 mgl@1371: - echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); } && mgl@1371: - { ac_try='test -z "$ac_c_werror_flag" mgl@1371: - || test ! -s conftest.err' mgl@1371: - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 mgl@1371: - (eval $ac_try) 2>&5 mgl@1371: - ac_status=$? mgl@1371: - echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); }; } && mgl@1371: - { ac_try='test -s conftest$ac_exeext' mgl@1371: - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 mgl@1371: - (eval $ac_try) 2>&5 mgl@1371: +if { (ac_try="$ac_link" mgl@1371: +case "(($ac_try" in mgl@1371: + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; mgl@1371: + *) ac_try_echo=$ac_try;; mgl@1371: +esac mgl@1371: +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 mgl@1371: + (eval "$ac_link") 2>conftest.er1 mgl@1371: ac_status=$? mgl@1371: + grep -v '^ *+' conftest.er1 >conftest.err mgl@1371: + rm -f conftest.er1 mgl@1371: + cat conftest.err >&5 mgl@1371: echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); }; }; then mgl@1371: + (exit $ac_status); } && { mgl@1371: + test -z "$ac_c_werror_flag" || mgl@1371: + test ! -s conftest.err mgl@1371: + } && test -s conftest$ac_exeext && mgl@1371: + $as_test_x conftest$ac_exeext; then mgl@1371: if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then mgl@1371: - shlibpath_overrides_runpath=yes mgl@1371: + lt_cv_shlibpath_overrides_runpath=yes mgl@1371: fi mgl@1371: mgl@1371: else mgl@1371: echo "$as_me: failed program was:" >&5 mgl@1371: sed 's/^/| /' conftest.$ac_ext >&5 mgl@1371: mgl@1371: + mgl@1371: fi mgl@1371: -rm -f conftest.err conftest.$ac_objext \ mgl@1371: + mgl@1371: +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ mgl@1371: conftest$ac_exeext conftest.$ac_ext mgl@1371: - LDFLAGS=$save_LDFLAGS mgl@1371: - libdir=$save_libdir mgl@1371: + LDFLAGS=$save_LDFLAGS mgl@1371: + libdir=$save_libdir mgl@1371: + mgl@1371: +fi mgl@1371: + mgl@1371: + shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath mgl@1371: mgl@1371: # This implies no fast_install, which is unacceptable. mgl@1371: # Some rework will be needed to allow for fast_install mgl@1371: @@ -10293,8 +11402,8 @@ mgl@1371: dynamic_linker=no mgl@1371: ;; mgl@1371: esac mgl@1371: -echo "$as_me:$LINENO: result: $dynamic_linker" >&5 mgl@1371: -echo "${ECHO_T}$dynamic_linker" >&6 mgl@1371: +{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5 mgl@1371: +echo "${ECHO_T}$dynamic_linker" >&6; } mgl@1371: test "$dynamic_linker" = no && can_build_shared=no mgl@1371: mgl@1371: variables_saved_for_relink="PATH $shlibpath_var $runpath_var" mgl@1371: @@ -10395,8 +11504,8 @@ mgl@1371: mgl@1371: mgl@1371: mgl@1371: - echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 mgl@1371: -echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 mgl@1371: + { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 mgl@1371: +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; } mgl@1371: hardcode_action= mgl@1371: if test -n "$hardcode_libdir_flag_spec" || mgl@1371: test -n "$runpath_var" || mgl@1371: @@ -10420,8 +11529,8 @@ mgl@1371: # directories. mgl@1371: hardcode_action=unsupported mgl@1371: fi mgl@1371: -echo "$as_me:$LINENO: result: $hardcode_action" >&5 mgl@1371: -echo "${ECHO_T}$hardcode_action" >&6 mgl@1371: +{ echo "$as_me:$LINENO: result: $hardcode_action" >&5 mgl@1371: +echo "${ECHO_T}$hardcode_action" >&6; } mgl@1371: mgl@1371: if test "$hardcode_action" = relink || mgl@1371: test "$inherit_rpath" = yes; then mgl@1371: @@ -10465,8 +11574,8 @@ mgl@1371: mgl@1371: darwin*) mgl@1371: # if libdl is installed we need to link against it mgl@1371: - echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 mgl@1371: -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 mgl@1371: + { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 mgl@1371: +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_lib_dl_dlopen+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -10479,56 +11588,53 @@ mgl@1371: cat >>conftest.$ac_ext <<_ACEOF mgl@1371: /* end confdefs.h. */ mgl@1371: mgl@1371: -/* Override any gcc2 internal prototype to avoid an error. */ mgl@1371: +/* Override any GCC internal prototype to avoid an error. mgl@1371: + Use char because int might match the return type of a GCC mgl@1371: + builtin and then its argument prototype would still apply. */ mgl@1371: #ifdef __cplusplus mgl@1371: extern "C" mgl@1371: #endif mgl@1371: -/* We use char because int might match the return type of a gcc2 mgl@1371: - builtin and then its argument prototype would still apply. */ mgl@1371: char dlopen (); mgl@1371: int mgl@1371: main () mgl@1371: { mgl@1371: -dlopen (); mgl@1371: +return dlopen (); mgl@1371: ; mgl@1371: return 0; mgl@1371: } mgl@1371: _ACEOF mgl@1371: rm -f conftest.$ac_objext conftest$ac_exeext mgl@1371: -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 mgl@1371: - (eval $ac_link) 2>conftest.er1 mgl@1371: +if { (ac_try="$ac_link" mgl@1371: +case "(($ac_try" in mgl@1371: + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; mgl@1371: + *) ac_try_echo=$ac_try;; mgl@1371: +esac mgl@1371: +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 mgl@1371: + (eval "$ac_link") 2>conftest.er1 mgl@1371: ac_status=$? mgl@1371: grep -v '^ *+' conftest.er1 >conftest.err mgl@1371: rm -f conftest.er1 mgl@1371: cat conftest.err >&5 mgl@1371: echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); } && mgl@1371: - { ac_try='test -z "$ac_c_werror_flag" mgl@1371: - || test ! -s conftest.err' mgl@1371: - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 mgl@1371: - (eval $ac_try) 2>&5 mgl@1371: - ac_status=$? mgl@1371: - echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); }; } && mgl@1371: - { ac_try='test -s conftest$ac_exeext' mgl@1371: - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 mgl@1371: - (eval $ac_try) 2>&5 mgl@1371: - ac_status=$? mgl@1371: - echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); }; }; then mgl@1371: + (exit $ac_status); } && { mgl@1371: + test -z "$ac_c_werror_flag" || mgl@1371: + test ! -s conftest.err mgl@1371: + } && test -s conftest$ac_exeext && mgl@1371: + $as_test_x conftest$ac_exeext; then mgl@1371: ac_cv_lib_dl_dlopen=yes mgl@1371: else mgl@1371: echo "$as_me: failed program was:" >&5 mgl@1371: sed 's/^/| /' conftest.$ac_ext >&5 mgl@1371: mgl@1371: -ac_cv_lib_dl_dlopen=no mgl@1371: + ac_cv_lib_dl_dlopen=no mgl@1371: fi mgl@1371: -rm -f conftest.err conftest.$ac_objext \ mgl@1371: + mgl@1371: +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ mgl@1371: conftest$ac_exeext conftest.$ac_ext mgl@1371: LIBS=$ac_check_lib_save_LIBS mgl@1371: fi mgl@1371: -echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 mgl@1371: -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 mgl@1371: +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 mgl@1371: +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; } mgl@1371: if test $ac_cv_lib_dl_dlopen = yes; then mgl@1371: lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" mgl@1371: else mgl@1371: @@ -10542,8 +11648,8 @@ mgl@1371: ;; mgl@1371: mgl@1371: *) mgl@1371: - echo "$as_me:$LINENO: checking for shl_load" >&5 mgl@1371: -echo $ECHO_N "checking for shl_load... $ECHO_C" >&6 mgl@1371: + { echo "$as_me:$LINENO: checking for shl_load" >&5 mgl@1371: +echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_func_shl_load+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -10570,73 +11676,64 @@ mgl@1371: mgl@1371: #undef shl_load mgl@1371: mgl@1371: -/* Override any gcc2 internal prototype to avoid an error. */ mgl@1371: +/* Override any GCC internal prototype to avoid an error. mgl@1371: + Use char because int might match the return type of a GCC mgl@1371: + builtin and then its argument prototype would still apply. */ mgl@1371: #ifdef __cplusplus mgl@1371: extern "C" mgl@1371: -{ mgl@1371: #endif mgl@1371: -/* We use char because int might match the return type of a gcc2 mgl@1371: - builtin and then its argument prototype would still apply. */ mgl@1371: char shl_load (); mgl@1371: /* The GNU C library defines this for functions which it implements mgl@1371: to always fail with ENOSYS. Some functions are actually named mgl@1371: something starting with __ and the normal name is an alias. */ mgl@1371: -#if defined (__stub_shl_load) || defined (__stub___shl_load) mgl@1371: +#if defined __stub_shl_load || defined __stub___shl_load mgl@1371: choke me mgl@1371: -#else mgl@1371: -char (*f) () = shl_load; mgl@1371: -#endif mgl@1371: -#ifdef __cplusplus mgl@1371: -} mgl@1371: #endif mgl@1371: mgl@1371: int mgl@1371: main () mgl@1371: { mgl@1371: -return f != shl_load; mgl@1371: +return shl_load (); mgl@1371: ; mgl@1371: return 0; mgl@1371: } mgl@1371: _ACEOF mgl@1371: rm -f conftest.$ac_objext conftest$ac_exeext mgl@1371: -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 mgl@1371: - (eval $ac_link) 2>conftest.er1 mgl@1371: +if { (ac_try="$ac_link" mgl@1371: +case "(($ac_try" in mgl@1371: + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; mgl@1371: + *) ac_try_echo=$ac_try;; mgl@1371: +esac mgl@1371: +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 mgl@1371: + (eval "$ac_link") 2>conftest.er1 mgl@1371: ac_status=$? mgl@1371: grep -v '^ *+' conftest.er1 >conftest.err mgl@1371: rm -f conftest.er1 mgl@1371: cat conftest.err >&5 mgl@1371: echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); } && mgl@1371: - { ac_try='test -z "$ac_c_werror_flag" mgl@1371: - || test ! -s conftest.err' mgl@1371: - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 mgl@1371: - (eval $ac_try) 2>&5 mgl@1371: - ac_status=$? mgl@1371: - echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); }; } && mgl@1371: - { ac_try='test -s conftest$ac_exeext' mgl@1371: - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 mgl@1371: - (eval $ac_try) 2>&5 mgl@1371: - ac_status=$? mgl@1371: - echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); }; }; then mgl@1371: + (exit $ac_status); } && { mgl@1371: + test -z "$ac_c_werror_flag" || mgl@1371: + test ! -s conftest.err mgl@1371: + } && test -s conftest$ac_exeext && mgl@1371: + $as_test_x conftest$ac_exeext; then mgl@1371: ac_cv_func_shl_load=yes mgl@1371: else mgl@1371: echo "$as_me: failed program was:" >&5 mgl@1371: sed 's/^/| /' conftest.$ac_ext >&5 mgl@1371: mgl@1371: -ac_cv_func_shl_load=no mgl@1371: + ac_cv_func_shl_load=no mgl@1371: fi mgl@1371: -rm -f conftest.err conftest.$ac_objext \ mgl@1371: + mgl@1371: +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ mgl@1371: conftest$ac_exeext conftest.$ac_ext mgl@1371: fi mgl@1371: -echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 mgl@1371: -echo "${ECHO_T}$ac_cv_func_shl_load" >&6 mgl@1371: +{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 mgl@1371: +echo "${ECHO_T}$ac_cv_func_shl_load" >&6; } mgl@1371: if test $ac_cv_func_shl_load = yes; then mgl@1371: lt_cv_dlopen="shl_load" mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 mgl@1371: -echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6 mgl@1371: + { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 mgl@1371: +echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_lib_dld_shl_load+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -10649,61 +11746,58 @@ mgl@1371: cat >>conftest.$ac_ext <<_ACEOF mgl@1371: /* end confdefs.h. */ mgl@1371: mgl@1371: -/* Override any gcc2 internal prototype to avoid an error. */ mgl@1371: +/* Override any GCC internal prototype to avoid an error. mgl@1371: + Use char because int might match the return type of a GCC mgl@1371: + builtin and then its argument prototype would still apply. */ mgl@1371: #ifdef __cplusplus mgl@1371: extern "C" mgl@1371: #endif mgl@1371: -/* We use char because int might match the return type of a gcc2 mgl@1371: - builtin and then its argument prototype would still apply. */ mgl@1371: char shl_load (); mgl@1371: int mgl@1371: main () mgl@1371: { mgl@1371: -shl_load (); mgl@1371: +return shl_load (); mgl@1371: ; mgl@1371: return 0; mgl@1371: } mgl@1371: _ACEOF mgl@1371: rm -f conftest.$ac_objext conftest$ac_exeext mgl@1371: -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 mgl@1371: - (eval $ac_link) 2>conftest.er1 mgl@1371: +if { (ac_try="$ac_link" mgl@1371: +case "(($ac_try" in mgl@1371: + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; mgl@1371: + *) ac_try_echo=$ac_try;; mgl@1371: +esac mgl@1371: +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 mgl@1371: + (eval "$ac_link") 2>conftest.er1 mgl@1371: ac_status=$? mgl@1371: grep -v '^ *+' conftest.er1 >conftest.err mgl@1371: rm -f conftest.er1 mgl@1371: cat conftest.err >&5 mgl@1371: echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); } && mgl@1371: - { ac_try='test -z "$ac_c_werror_flag" mgl@1371: - || test ! -s conftest.err' mgl@1371: - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 mgl@1371: - (eval $ac_try) 2>&5 mgl@1371: - ac_status=$? mgl@1371: - echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); }; } && mgl@1371: - { ac_try='test -s conftest$ac_exeext' mgl@1371: - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 mgl@1371: - (eval $ac_try) 2>&5 mgl@1371: - ac_status=$? mgl@1371: - echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); }; }; then mgl@1371: + (exit $ac_status); } && { mgl@1371: + test -z "$ac_c_werror_flag" || mgl@1371: + test ! -s conftest.err mgl@1371: + } && test -s conftest$ac_exeext && mgl@1371: + $as_test_x conftest$ac_exeext; then mgl@1371: ac_cv_lib_dld_shl_load=yes mgl@1371: else mgl@1371: echo "$as_me: failed program was:" >&5 mgl@1371: sed 's/^/| /' conftest.$ac_ext >&5 mgl@1371: mgl@1371: -ac_cv_lib_dld_shl_load=no mgl@1371: + ac_cv_lib_dld_shl_load=no mgl@1371: fi mgl@1371: -rm -f conftest.err conftest.$ac_objext \ mgl@1371: + mgl@1371: +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ mgl@1371: conftest$ac_exeext conftest.$ac_ext mgl@1371: LIBS=$ac_check_lib_save_LIBS mgl@1371: fi mgl@1371: -echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 mgl@1371: -echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6 mgl@1371: +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 mgl@1371: +echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; } mgl@1371: if test $ac_cv_lib_dld_shl_load = yes; then mgl@1371: lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: checking for dlopen" >&5 mgl@1371: -echo $ECHO_N "checking for dlopen... $ECHO_C" >&6 mgl@1371: + { echo "$as_me:$LINENO: checking for dlopen" >&5 mgl@1371: +echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_func_dlopen+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -10730,73 +11824,64 @@ mgl@1371: mgl@1371: #undef dlopen mgl@1371: mgl@1371: -/* Override any gcc2 internal prototype to avoid an error. */ mgl@1371: +/* Override any GCC internal prototype to avoid an error. mgl@1371: + Use char because int might match the return type of a GCC mgl@1371: + builtin and then its argument prototype would still apply. */ mgl@1371: #ifdef __cplusplus mgl@1371: extern "C" mgl@1371: -{ mgl@1371: #endif mgl@1371: -/* We use char because int might match the return type of a gcc2 mgl@1371: - builtin and then its argument prototype would still apply. */ mgl@1371: char dlopen (); mgl@1371: /* The GNU C library defines this for functions which it implements mgl@1371: to always fail with ENOSYS. Some functions are actually named mgl@1371: something starting with __ and the normal name is an alias. */ mgl@1371: -#if defined (__stub_dlopen) || defined (__stub___dlopen) mgl@1371: +#if defined __stub_dlopen || defined __stub___dlopen mgl@1371: choke me mgl@1371: -#else mgl@1371: -char (*f) () = dlopen; mgl@1371: -#endif mgl@1371: -#ifdef __cplusplus mgl@1371: -} mgl@1371: #endif mgl@1371: mgl@1371: int mgl@1371: main () mgl@1371: { mgl@1371: -return f != dlopen; mgl@1371: +return dlopen (); mgl@1371: ; mgl@1371: return 0; mgl@1371: } mgl@1371: _ACEOF mgl@1371: rm -f conftest.$ac_objext conftest$ac_exeext mgl@1371: -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 mgl@1371: - (eval $ac_link) 2>conftest.er1 mgl@1371: +if { (ac_try="$ac_link" mgl@1371: +case "(($ac_try" in mgl@1371: + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; mgl@1371: + *) ac_try_echo=$ac_try;; mgl@1371: +esac mgl@1371: +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 mgl@1371: + (eval "$ac_link") 2>conftest.er1 mgl@1371: ac_status=$? mgl@1371: grep -v '^ *+' conftest.er1 >conftest.err mgl@1371: rm -f conftest.er1 mgl@1371: cat conftest.err >&5 mgl@1371: echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); } && mgl@1371: - { ac_try='test -z "$ac_c_werror_flag" mgl@1371: - || test ! -s conftest.err' mgl@1371: - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 mgl@1371: - (eval $ac_try) 2>&5 mgl@1371: - ac_status=$? mgl@1371: - echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); }; } && mgl@1371: - { ac_try='test -s conftest$ac_exeext' mgl@1371: - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 mgl@1371: - (eval $ac_try) 2>&5 mgl@1371: - ac_status=$? mgl@1371: - echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); }; }; then mgl@1371: + (exit $ac_status); } && { mgl@1371: + test -z "$ac_c_werror_flag" || mgl@1371: + test ! -s conftest.err mgl@1371: + } && test -s conftest$ac_exeext && mgl@1371: + $as_test_x conftest$ac_exeext; then mgl@1371: ac_cv_func_dlopen=yes mgl@1371: else mgl@1371: echo "$as_me: failed program was:" >&5 mgl@1371: sed 's/^/| /' conftest.$ac_ext >&5 mgl@1371: mgl@1371: -ac_cv_func_dlopen=no mgl@1371: + ac_cv_func_dlopen=no mgl@1371: fi mgl@1371: -rm -f conftest.err conftest.$ac_objext \ mgl@1371: + mgl@1371: +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ mgl@1371: conftest$ac_exeext conftest.$ac_ext mgl@1371: fi mgl@1371: -echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 mgl@1371: -echo "${ECHO_T}$ac_cv_func_dlopen" >&6 mgl@1371: +{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 mgl@1371: +echo "${ECHO_T}$ac_cv_func_dlopen" >&6; } mgl@1371: if test $ac_cv_func_dlopen = yes; then mgl@1371: lt_cv_dlopen="dlopen" mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 mgl@1371: -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 mgl@1371: + { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 mgl@1371: +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_lib_dl_dlopen+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -10809,61 +11894,58 @@ mgl@1371: cat >>conftest.$ac_ext <<_ACEOF mgl@1371: /* end confdefs.h. */ mgl@1371: mgl@1371: -/* Override any gcc2 internal prototype to avoid an error. */ mgl@1371: +/* Override any GCC internal prototype to avoid an error. mgl@1371: + Use char because int might match the return type of a GCC mgl@1371: + builtin and then its argument prototype would still apply. */ mgl@1371: #ifdef __cplusplus mgl@1371: extern "C" mgl@1371: #endif mgl@1371: -/* We use char because int might match the return type of a gcc2 mgl@1371: - builtin and then its argument prototype would still apply. */ mgl@1371: char dlopen (); mgl@1371: int mgl@1371: main () mgl@1371: { mgl@1371: -dlopen (); mgl@1371: +return dlopen (); mgl@1371: ; mgl@1371: return 0; mgl@1371: } mgl@1371: _ACEOF mgl@1371: rm -f conftest.$ac_objext conftest$ac_exeext mgl@1371: -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 mgl@1371: - (eval $ac_link) 2>conftest.er1 mgl@1371: +if { (ac_try="$ac_link" mgl@1371: +case "(($ac_try" in mgl@1371: + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; mgl@1371: + *) ac_try_echo=$ac_try;; mgl@1371: +esac mgl@1371: +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 mgl@1371: + (eval "$ac_link") 2>conftest.er1 mgl@1371: ac_status=$? mgl@1371: grep -v '^ *+' conftest.er1 >conftest.err mgl@1371: rm -f conftest.er1 mgl@1371: cat conftest.err >&5 mgl@1371: echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); } && mgl@1371: - { ac_try='test -z "$ac_c_werror_flag" mgl@1371: - || test ! -s conftest.err' mgl@1371: - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 mgl@1371: - (eval $ac_try) 2>&5 mgl@1371: - ac_status=$? mgl@1371: - echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); }; } && mgl@1371: - { ac_try='test -s conftest$ac_exeext' mgl@1371: - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 mgl@1371: - (eval $ac_try) 2>&5 mgl@1371: - ac_status=$? mgl@1371: - echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); }; }; then mgl@1371: + (exit $ac_status); } && { mgl@1371: + test -z "$ac_c_werror_flag" || mgl@1371: + test ! -s conftest.err mgl@1371: + } && test -s conftest$ac_exeext && mgl@1371: + $as_test_x conftest$ac_exeext; then mgl@1371: ac_cv_lib_dl_dlopen=yes mgl@1371: else mgl@1371: echo "$as_me: failed program was:" >&5 mgl@1371: sed 's/^/| /' conftest.$ac_ext >&5 mgl@1371: mgl@1371: -ac_cv_lib_dl_dlopen=no mgl@1371: + ac_cv_lib_dl_dlopen=no mgl@1371: fi mgl@1371: -rm -f conftest.err conftest.$ac_objext \ mgl@1371: + mgl@1371: +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ mgl@1371: conftest$ac_exeext conftest.$ac_ext mgl@1371: LIBS=$ac_check_lib_save_LIBS mgl@1371: fi mgl@1371: -echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 mgl@1371: -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 mgl@1371: +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 mgl@1371: +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; } mgl@1371: if test $ac_cv_lib_dl_dlopen = yes; then mgl@1371: lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 mgl@1371: -echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6 mgl@1371: + { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 mgl@1371: +echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_lib_svld_dlopen+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -10876,61 +11958,58 @@ mgl@1371: cat >>conftest.$ac_ext <<_ACEOF mgl@1371: /* end confdefs.h. */ mgl@1371: mgl@1371: -/* Override any gcc2 internal prototype to avoid an error. */ mgl@1371: +/* Override any GCC internal prototype to avoid an error. mgl@1371: + Use char because int might match the return type of a GCC mgl@1371: + builtin and then its argument prototype would still apply. */ mgl@1371: #ifdef __cplusplus mgl@1371: extern "C" mgl@1371: #endif mgl@1371: -/* We use char because int might match the return type of a gcc2 mgl@1371: - builtin and then its argument prototype would still apply. */ mgl@1371: char dlopen (); mgl@1371: int mgl@1371: main () mgl@1371: { mgl@1371: -dlopen (); mgl@1371: +return dlopen (); mgl@1371: ; mgl@1371: return 0; mgl@1371: } mgl@1371: _ACEOF mgl@1371: rm -f conftest.$ac_objext conftest$ac_exeext mgl@1371: -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 mgl@1371: - (eval $ac_link) 2>conftest.er1 mgl@1371: +if { (ac_try="$ac_link" mgl@1371: +case "(($ac_try" in mgl@1371: + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; mgl@1371: + *) ac_try_echo=$ac_try;; mgl@1371: +esac mgl@1371: +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 mgl@1371: + (eval "$ac_link") 2>conftest.er1 mgl@1371: ac_status=$? mgl@1371: grep -v '^ *+' conftest.er1 >conftest.err mgl@1371: rm -f conftest.er1 mgl@1371: cat conftest.err >&5 mgl@1371: echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); } && mgl@1371: - { ac_try='test -z "$ac_c_werror_flag" mgl@1371: - || test ! -s conftest.err' mgl@1371: - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 mgl@1371: - (eval $ac_try) 2>&5 mgl@1371: - ac_status=$? mgl@1371: - echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); }; } && mgl@1371: - { ac_try='test -s conftest$ac_exeext' mgl@1371: - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 mgl@1371: - (eval $ac_try) 2>&5 mgl@1371: - ac_status=$? mgl@1371: - echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); }; }; then mgl@1371: + (exit $ac_status); } && { mgl@1371: + test -z "$ac_c_werror_flag" || mgl@1371: + test ! -s conftest.err mgl@1371: + } && test -s conftest$ac_exeext && mgl@1371: + $as_test_x conftest$ac_exeext; then mgl@1371: ac_cv_lib_svld_dlopen=yes mgl@1371: else mgl@1371: echo "$as_me: failed program was:" >&5 mgl@1371: sed 's/^/| /' conftest.$ac_ext >&5 mgl@1371: mgl@1371: -ac_cv_lib_svld_dlopen=no mgl@1371: + ac_cv_lib_svld_dlopen=no mgl@1371: fi mgl@1371: -rm -f conftest.err conftest.$ac_objext \ mgl@1371: + mgl@1371: +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ mgl@1371: conftest$ac_exeext conftest.$ac_ext mgl@1371: LIBS=$ac_check_lib_save_LIBS mgl@1371: fi mgl@1371: -echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 mgl@1371: -echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6 mgl@1371: +{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 mgl@1371: +echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; } mgl@1371: if test $ac_cv_lib_svld_dlopen = yes; then mgl@1371: lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 mgl@1371: -echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6 mgl@1371: + { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 mgl@1371: +echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_lib_dld_dld_link+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -10943,56 +12022,53 @@ mgl@1371: cat >>conftest.$ac_ext <<_ACEOF mgl@1371: /* end confdefs.h. */ mgl@1371: mgl@1371: -/* Override any gcc2 internal prototype to avoid an error. */ mgl@1371: +/* Override any GCC internal prototype to avoid an error. mgl@1371: + Use char because int might match the return type of a GCC mgl@1371: + builtin and then its argument prototype would still apply. */ mgl@1371: #ifdef __cplusplus mgl@1371: extern "C" mgl@1371: #endif mgl@1371: -/* We use char because int might match the return type of a gcc2 mgl@1371: - builtin and then its argument prototype would still apply. */ mgl@1371: char dld_link (); mgl@1371: int mgl@1371: main () mgl@1371: { mgl@1371: -dld_link (); mgl@1371: +return dld_link (); mgl@1371: ; mgl@1371: return 0; mgl@1371: } mgl@1371: _ACEOF mgl@1371: rm -f conftest.$ac_objext conftest$ac_exeext mgl@1371: -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 mgl@1371: - (eval $ac_link) 2>conftest.er1 mgl@1371: +if { (ac_try="$ac_link" mgl@1371: +case "(($ac_try" in mgl@1371: + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; mgl@1371: + *) ac_try_echo=$ac_try;; mgl@1371: +esac mgl@1371: +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 mgl@1371: + (eval "$ac_link") 2>conftest.er1 mgl@1371: ac_status=$? mgl@1371: grep -v '^ *+' conftest.er1 >conftest.err mgl@1371: rm -f conftest.er1 mgl@1371: cat conftest.err >&5 mgl@1371: echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); } && mgl@1371: - { ac_try='test -z "$ac_c_werror_flag" mgl@1371: - || test ! -s conftest.err' mgl@1371: - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 mgl@1371: - (eval $ac_try) 2>&5 mgl@1371: - ac_status=$? mgl@1371: - echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); }; } && mgl@1371: - { ac_try='test -s conftest$ac_exeext' mgl@1371: - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 mgl@1371: - (eval $ac_try) 2>&5 mgl@1371: - ac_status=$? mgl@1371: - echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); }; }; then mgl@1371: + (exit $ac_status); } && { mgl@1371: + test -z "$ac_c_werror_flag" || mgl@1371: + test ! -s conftest.err mgl@1371: + } && test -s conftest$ac_exeext && mgl@1371: + $as_test_x conftest$ac_exeext; then mgl@1371: ac_cv_lib_dld_dld_link=yes mgl@1371: else mgl@1371: echo "$as_me: failed program was:" >&5 mgl@1371: sed 's/^/| /' conftest.$ac_ext >&5 mgl@1371: mgl@1371: -ac_cv_lib_dld_dld_link=no mgl@1371: + ac_cv_lib_dld_dld_link=no mgl@1371: fi mgl@1371: -rm -f conftest.err conftest.$ac_objext \ mgl@1371: + mgl@1371: +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ mgl@1371: conftest$ac_exeext conftest.$ac_ext mgl@1371: LIBS=$ac_check_lib_save_LIBS mgl@1371: fi mgl@1371: -echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 mgl@1371: -echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6 mgl@1371: +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 mgl@1371: +echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; } mgl@1371: if test $ac_cv_lib_dld_dld_link = yes; then mgl@1371: lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" mgl@1371: fi mgl@1371: @@ -11032,8 +12108,8 @@ mgl@1371: save_LIBS="$LIBS" mgl@1371: LIBS="$lt_cv_dlopen_libs $LIBS" mgl@1371: mgl@1371: - echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 mgl@1371: -echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6 mgl@1371: + { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 mgl@1371: +echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; } mgl@1371: if test "${lt_cv_dlopen_self+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -11043,7 +12119,7 @@ mgl@1371: lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 mgl@1371: lt_status=$lt_dlunknown mgl@1371: cat > conftest.$ac_ext <<_LT_EOF mgl@1371: -#line 11046 "configure" mgl@1371: +#line 12122 "configure" mgl@1371: #include "confdefs.h" mgl@1371: mgl@1371: #if HAVE_DLFCN_H mgl@1371: @@ -11123,13 +12199,13 @@ mgl@1371: mgl@1371: mgl@1371: fi mgl@1371: -echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 mgl@1371: -echo "${ECHO_T}$lt_cv_dlopen_self" >&6 mgl@1371: +{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 mgl@1371: +echo "${ECHO_T}$lt_cv_dlopen_self" >&6; } mgl@1371: mgl@1371: if test "x$lt_cv_dlopen_self" = xyes; then mgl@1371: wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" mgl@1371: - echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 mgl@1371: -echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6 mgl@1371: + { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 mgl@1371: +echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; } mgl@1371: if test "${lt_cv_dlopen_self_static+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -11139,7 +12215,7 @@ mgl@1371: lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 mgl@1371: lt_status=$lt_dlunknown mgl@1371: cat > conftest.$ac_ext <<_LT_EOF mgl@1371: -#line 11142 "configure" mgl@1371: +#line 12218 "configure" mgl@1371: #include "confdefs.h" mgl@1371: mgl@1371: #if HAVE_DLFCN_H mgl@1371: @@ -11219,8 +12295,8 @@ mgl@1371: mgl@1371: mgl@1371: fi mgl@1371: -echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 mgl@1371: -echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6 mgl@1371: +{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 mgl@1371: +echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; } mgl@1371: fi mgl@1371: mgl@1371: CPPFLAGS="$save_CPPFLAGS" mgl@1371: @@ -11258,13 +12334,13 @@ mgl@1371: mgl@1371: striplib= mgl@1371: old_striplib= mgl@1371: -echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 mgl@1371: -echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 mgl@1371: +echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; } mgl@1371: if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then mgl@1371: test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" mgl@1371: test -z "$striplib" && striplib="$STRIP --strip-unneeded" mgl@1371: - echo "$as_me:$LINENO: result: yes" >&5 mgl@1371: -echo "${ECHO_T}yes" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: yes" >&5 mgl@1371: +echo "${ECHO_T}yes" >&6; } mgl@1371: else mgl@1371: # FIXME - insert some real tests, host_os isn't really good enough mgl@1371: case $host_os in mgl@1371: @@ -11272,16 +12348,16 @@ mgl@1371: if test -n "$STRIP" ; then mgl@1371: striplib="$STRIP -x" mgl@1371: old_striplib="$STRIP -S" mgl@1371: - echo "$as_me:$LINENO: result: yes" >&5 mgl@1371: -echo "${ECHO_T}yes" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: yes" >&5 mgl@1371: +echo "${ECHO_T}yes" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: fi mgl@1371: ;; mgl@1371: *) mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: ;; mgl@1371: esac mgl@1371: fi mgl@1371: @@ -11298,13 +12374,13 @@ mgl@1371: mgl@1371: mgl@1371: # Report which library types will actually be built mgl@1371: - echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 mgl@1371: -echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6 mgl@1371: - echo "$as_me:$LINENO: result: $can_build_shared" >&5 mgl@1371: -echo "${ECHO_T}$can_build_shared" >&6 mgl@1371: + { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 mgl@1371: +echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; } mgl@1371: + { echo "$as_me:$LINENO: result: $can_build_shared" >&5 mgl@1371: +echo "${ECHO_T}$can_build_shared" >&6; } mgl@1371: mgl@1371: - echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 mgl@1371: -echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6 mgl@1371: + { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 mgl@1371: +echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; } mgl@1371: test "$can_build_shared" = "no" && enable_shared=no mgl@1371: mgl@1371: # On AIX, shared libraries and static libraries use the same namespace, and mgl@1371: @@ -11324,15 +12400,15 @@ mgl@1371: fi mgl@1371: ;; mgl@1371: esac mgl@1371: - echo "$as_me:$LINENO: result: $enable_shared" >&5 mgl@1371: -echo "${ECHO_T}$enable_shared" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $enable_shared" >&5 mgl@1371: +echo "${ECHO_T}$enable_shared" >&6; } mgl@1371: mgl@1371: - echo "$as_me:$LINENO: checking whether to build static libraries" >&5 mgl@1371: -echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6 mgl@1371: + { echo "$as_me:$LINENO: checking whether to build static libraries" >&5 mgl@1371: +echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; } mgl@1371: # Make sure either enable_shared or enable_static is yes. mgl@1371: test "$enable_shared" = yes || enable_static=yes mgl@1371: - echo "$as_me:$LINENO: result: $enable_static" >&5 mgl@1371: -echo "${ECHO_T}$enable_static" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $enable_static" >&5 mgl@1371: +echo "${ECHO_T}$enable_static" >&6; } mgl@1371: mgl@1371: mgl@1371: mgl@1371: @@ -11358,7 +12434,7 @@ mgl@1371: mgl@1371: mgl@1371: mgl@1371: - ac_config_commands="$ac_config_commands libtool" mgl@1371: + ac_config_commands="$ac_config_commands libtool" mgl@1371: mgl@1371: mgl@1371: mgl@1371: @@ -11370,161 +12446,85 @@ mgl@1371: mgl@1371: if test -n "${machine_dir}"; then mgl@1371: case ${machine_dir} in mgl@1371: - a29k) mgl@1371: - mgl@1371: -subdirs="$subdirs a29k" mgl@1371: + a29k) subdirs="$subdirs a29k" mgl@1371: ;; mgl@1371: - arm) mgl@1371: - mgl@1371: -subdirs="$subdirs arm" mgl@1371: + arm) subdirs="$subdirs arm" mgl@1371: ;; mgl@1371: - bfin) mgl@1371: - mgl@1371: -subdirs="$subdirs bfin" mgl@1371: + avr32) subdirs="$subdirs avr32" mgl@1371: ;; mgl@1371: - cris) mgl@1371: - mgl@1371: -subdirs="$subdirs cris" mgl@1371: + bfin) subdirs="$subdirs bfin" mgl@1371: ;; mgl@1371: - crx) mgl@1371: - mgl@1371: -subdirs="$subdirs crx" mgl@1371: + cris) subdirs="$subdirs cris" mgl@1371: ;; mgl@1371: - d10v) mgl@1371: - mgl@1371: -subdirs="$subdirs d10v" mgl@1371: + crx) subdirs="$subdirs crx" mgl@1371: ;; mgl@1371: - d30v) mgl@1371: - mgl@1371: -subdirs="$subdirs d30v" mgl@1371: + d10v) subdirs="$subdirs d10v" mgl@1371: ;; mgl@1371: - fr30) mgl@1371: - mgl@1371: -subdirs="$subdirs fr30" mgl@1371: + d30v) subdirs="$subdirs d30v" mgl@1371: ;; mgl@1371: - frv) mgl@1371: - mgl@1371: -subdirs="$subdirs frv" mgl@1371: + fr30) subdirs="$subdirs fr30" mgl@1371: ;; mgl@1371: - h8300) mgl@1371: - mgl@1371: -subdirs="$subdirs h8300" mgl@1371: + frv) subdirs="$subdirs frv" mgl@1371: ;; mgl@1371: - h8500) mgl@1371: - mgl@1371: -subdirs="$subdirs h8500" mgl@1371: + h8300) subdirs="$subdirs h8300" mgl@1371: ;; mgl@1371: - hppa) mgl@1371: - mgl@1371: -subdirs="$subdirs hppa" mgl@1371: + h8500) subdirs="$subdirs h8500" mgl@1371: ;; mgl@1371: - i386) mgl@1371: - mgl@1371: -subdirs="$subdirs i386" mgl@1371: + hppa) subdirs="$subdirs hppa" mgl@1371: ;; mgl@1371: - i960) mgl@1371: - mgl@1371: -subdirs="$subdirs i960" mgl@1371: + i386) subdirs="$subdirs i386" mgl@1371: ;; mgl@1371: - iq2000) mgl@1371: - mgl@1371: -subdirs="$subdirs iq2000" mgl@1371: + i960) subdirs="$subdirs i960" mgl@1371: ;; mgl@1371: - lm32) mgl@1371: - mgl@1371: -subdirs="$subdirs lm32" mgl@1371: + iq2000) subdirs="$subdirs iq2000" mgl@1371: ;; mgl@1371: - m32c) mgl@1371: - mgl@1371: -subdirs="$subdirs m32c" mgl@1371: + lm32) subdirs="$subdirs lm32" mgl@1371: ;; mgl@1371: - m32r) mgl@1371: - mgl@1371: -subdirs="$subdirs m32r" mgl@1371: + m32c) subdirs="$subdirs m32c" mgl@1371: ;; mgl@1371: - m68hc11) mgl@1371: - mgl@1371: -subdirs="$subdirs m68hc11" mgl@1371: + m32r) subdirs="$subdirs m32r" mgl@1371: ;; mgl@1371: - m68k) mgl@1371: - mgl@1371: -subdirs="$subdirs m68k" mgl@1371: + m68hc11) subdirs="$subdirs m68hc11" mgl@1371: ;; mgl@1371: - m88k) mgl@1371: - mgl@1371: -subdirs="$subdirs m88k" mgl@1371: + m68k) subdirs="$subdirs m68k" mgl@1371: ;; mgl@1371: - mep ) mgl@1371: - mgl@1371: -subdirs="$subdirs mep" mgl@1371: + m88k) subdirs="$subdirs m88k" mgl@1371: ;; mgl@1371: - mips) mgl@1371: - mgl@1371: -subdirs="$subdirs mips" mgl@1371: + mep ) subdirs="$subdirs mep" mgl@1371: ;; mgl@1371: - mn10200) mgl@1371: - mgl@1371: -subdirs="$subdirs mn10200" mgl@1371: + mips) subdirs="$subdirs mips" mgl@1371: ;; mgl@1371: - mn10300) mgl@1371: - mgl@1371: -subdirs="$subdirs mn10300" mgl@1371: + mn10200) subdirs="$subdirs mn10200" mgl@1371: ;; mgl@1371: - mt) mgl@1371: - mgl@1371: -subdirs="$subdirs mt" mgl@1371: + mn10300) subdirs="$subdirs mn10300" mgl@1371: ;; mgl@1371: - necv70) mgl@1371: - mgl@1371: -subdirs="$subdirs necv70" mgl@1371: + mt) subdirs="$subdirs mt" mgl@1371: ;; mgl@1371: - powerpc) mgl@1371: - mgl@1371: -subdirs="$subdirs powerpc" mgl@1371: + necv70) subdirs="$subdirs necv70" mgl@1371: ;; mgl@1371: - sh) mgl@1371: - mgl@1371: -subdirs="$subdirs sh" mgl@1371: + powerpc) subdirs="$subdirs powerpc" mgl@1371: ;; mgl@1371: - sparc) mgl@1371: - mgl@1371: -subdirs="$subdirs sparc" mgl@1371: + sh) subdirs="$subdirs sh" mgl@1371: ;; mgl@1371: - spu) mgl@1371: - mgl@1371: -subdirs="$subdirs spu" mgl@1371: + sparc) subdirs="$subdirs sparc" mgl@1371: ;; mgl@1371: - tic4x) mgl@1371: - mgl@1371: -subdirs="$subdirs tic4x" mgl@1371: + spu) subdirs="$subdirs spu" mgl@1371: ;; mgl@1371: - tic80) mgl@1371: - mgl@1371: -subdirs="$subdirs tic80" mgl@1371: + tic4x) subdirs="$subdirs tic4x" mgl@1371: ;; mgl@1371: - v850) mgl@1371: - mgl@1371: -subdirs="$subdirs v850" mgl@1371: + tic80) subdirs="$subdirs tic80" mgl@1371: ;; mgl@1371: - w65) mgl@1371: - mgl@1371: -subdirs="$subdirs w65" mgl@1371: + v850) subdirs="$subdirs v850" mgl@1371: ;; mgl@1371: - x86_64) mgl@1371: - mgl@1371: -subdirs="$subdirs x86_64" mgl@1371: + w65) subdirs="$subdirs w65" mgl@1371: ;; mgl@1371: - xscale) mgl@1371: - mgl@1371: -subdirs="$subdirs xscale" mgl@1371: + x86_64) subdirs="$subdirs x86_64" mgl@1371: ;; mgl@1371: - xstormy16) mgl@1371: - mgl@1371: -subdirs="$subdirs xstormy16" mgl@1371: + xscale) subdirs="$subdirs xscale" mgl@1371: ;; mgl@1371: - z8k) mgl@1371: - mgl@1371: -subdirs="$subdirs z8k" mgl@1371: + xstormy16) subdirs="$subdirs xstormy16" mgl@1371: + ;; mgl@1371: + z8k) subdirs="$subdirs z8k" mgl@1371: ;; mgl@1371: esac; mgl@1371: fi mgl@1371: @@ -11540,7 +12540,7 @@ mgl@1371: fi mgl@1371: mgl@1371: mgl@1371: - ac_config_files="$ac_config_files Makefile" mgl@1371: +ac_config_files="$ac_config_files Makefile" mgl@1371: mgl@1371: cat >confcache <<\_ACEOF mgl@1371: # This file is a shell script that caches the results of configure mgl@1371: @@ -11560,39 +12560,58 @@ mgl@1371: mgl@1371: # The following way of writing the cache mishandles newlines in values, mgl@1371: # but we know of no workaround that is simple, portable, and efficient. mgl@1371: -# So, don't put newlines in cache variables' values. mgl@1371: +# So, we kill variables containing newlines. mgl@1371: # Ultrix sh set writes to stderr and can't be redirected directly, mgl@1371: # and sets the high bit in the cache file unless we assign to the vars. mgl@1371: -{ mgl@1371: +( mgl@1371: + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do mgl@1371: + eval ac_val=\$$ac_var mgl@1371: + case $ac_val in #( mgl@1371: + *${as_nl}*) mgl@1371: + case $ac_var in #( mgl@1371: + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 mgl@1371: +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; mgl@1371: + esac mgl@1371: + case $ac_var in #( mgl@1371: + _ | IFS | as_nl) ;; #( mgl@1371: + *) $as_unset $ac_var ;; mgl@1371: + esac ;; mgl@1371: + esac mgl@1371: + done mgl@1371: + mgl@1371: (set) 2>&1 | mgl@1371: - case `(ac_space=' '; set | grep ac_space) 2>&1` in mgl@1371: - *ac_space=\ *) mgl@1371: + case $as_nl`(ac_space=' '; set) 2>&1` in #( mgl@1371: + *${as_nl}ac_space=\ *) mgl@1371: # `set' does not quote correctly, so add quotes (double-quote mgl@1371: # substitution turns \\\\ into \\, and sed turns \\ into \). mgl@1371: sed -n \ mgl@1371: "s/'/'\\\\''/g; mgl@1371: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" mgl@1371: - ;; mgl@1371: + ;; #( mgl@1371: *) mgl@1371: # `set' quotes correctly as required by POSIX, so do not add quotes. mgl@1371: - sed -n \ mgl@1371: - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" mgl@1371: + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" mgl@1371: ;; mgl@1371: - esac; mgl@1371: -} | mgl@1371: + esac | mgl@1371: + sort mgl@1371: +) | mgl@1371: sed ' mgl@1371: + /^ac_cv_env_/b end mgl@1371: t clear mgl@1371: - : clear mgl@1371: + :clear mgl@1371: s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ mgl@1371: t end mgl@1371: - /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ mgl@1371: - : end' >>confcache mgl@1371: -if diff $cache_file confcache >/dev/null 2>&1; then :; else mgl@1371: - if test -w $cache_file; then mgl@1371: - test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" mgl@1371: + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ mgl@1371: + :end' >>confcache mgl@1371: +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else mgl@1371: + if test -w "$cache_file"; then mgl@1371: + test "x$cache_file" != "x/dev/null" && mgl@1371: + { echo "$as_me:$LINENO: updating cache $cache_file" >&5 mgl@1371: +echo "$as_me: updating cache $cache_file" >&6;} mgl@1371: cat confcache >$cache_file mgl@1371: else mgl@1371: - echo "not updating unwritable cache $cache_file" mgl@1371: + { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 mgl@1371: +echo "$as_me: not updating unwritable cache $cache_file" >&6;} mgl@1371: fi mgl@1371: fi mgl@1371: rm -f confcache mgl@1371: @@ -11601,63 +12620,48 @@ mgl@1371: # Let make expand exec_prefix. mgl@1371: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' mgl@1371: mgl@1371: -# VPATH may cause trouble with some makes, so we remove $(srcdir), mgl@1371: -# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and mgl@1371: -# trailing colons and then remove the whole line if VPATH becomes empty mgl@1371: -# (actually we leave an empty line to preserve line numbers). mgl@1371: -if test "x$srcdir" = x.; then mgl@1371: - ac_vpsub='/^[ ]*VPATH[ ]*=/{ mgl@1371: -s/:*\$(srcdir):*/:/; mgl@1371: -s/:*\${srcdir}:*/:/; mgl@1371: -s/:*@srcdir@:*/:/; mgl@1371: -s/^\([^=]*=[ ]*\):*/\1/; mgl@1371: -s/:*$//; mgl@1371: -s/^[^=]*=[ ]*$//; mgl@1371: -}' mgl@1371: -fi mgl@1371: - mgl@1371: # Transform confdefs.h into DEFS. mgl@1371: # Protect against shell expansion while executing Makefile rules. mgl@1371: # Protect against Makefile macro expansion. mgl@1371: # mgl@1371: # If the first sed substitution is executed (which looks for macros that mgl@1371: -# take arguments), then we branch to the quote section. Otherwise, mgl@1371: +# take arguments), then branch to the quote section. Otherwise, mgl@1371: # look for a macro that doesn't take arguments. mgl@1371: -cat >confdef2opt.sed <<\_ACEOF mgl@1371: +ac_script=' mgl@1371: t clear mgl@1371: -: clear mgl@1371: -s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g mgl@1371: +:clear mgl@1371: +s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g mgl@1371: t quote mgl@1371: -s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g mgl@1371: +s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g mgl@1371: t quote mgl@1371: -d mgl@1371: -: quote mgl@1371: -s,[ `~#$^&*(){}\\|;'"<>?],\\&,g mgl@1371: -s,\[,\\&,g mgl@1371: -s,\],\\&,g mgl@1371: -s,\$,$$,g mgl@1371: -p mgl@1371: -_ACEOF mgl@1371: -# We use echo to avoid assuming a particular line-breaking character. mgl@1371: -# The extra dot is to prevent the shell from consuming trailing mgl@1371: -# line-breaks from the sub-command output. A line-break within mgl@1371: -# single-quotes doesn't work because, if this script is created in a mgl@1371: -# platform that uses two characters for line-breaks (e.g., DOS), tr mgl@1371: -# would break. mgl@1371: -ac_LF_and_DOT=`echo; echo .` mgl@1371: -DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'` mgl@1371: -rm -f confdef2opt.sed mgl@1371: +b any mgl@1371: +:quote mgl@1371: +s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g mgl@1371: +s/\[/\\&/g mgl@1371: +s/\]/\\&/g mgl@1371: +s/\$/$$/g mgl@1371: +H mgl@1371: +:any mgl@1371: +${ mgl@1371: + g mgl@1371: + s/^\n// mgl@1371: + s/\n/ /g mgl@1371: + p mgl@1371: +} mgl@1371: +' mgl@1371: +DEFS=`sed -n "$ac_script" confdefs.h` mgl@1371: mgl@1371: mgl@1371: ac_libobjs= mgl@1371: ac_ltlibobjs= mgl@1371: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue mgl@1371: # 1. Remove the extension, and $U if already installed. mgl@1371: - ac_i=`echo "$ac_i" | mgl@1371: - sed 's/\$U\././;s/\.o$//;s/\.obj$//'` mgl@1371: - # 2. Add them. mgl@1371: - ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" mgl@1371: - ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' mgl@1371: + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' mgl@1371: + ac_i=`echo "$ac_i" | sed "$ac_script"` mgl@1371: + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR mgl@1371: + # will be set to the directory where LIBOBJS objects are built. mgl@1371: + ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" mgl@1371: + ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' mgl@1371: done mgl@1371: LIBOBJS=$ac_libobjs mgl@1371: mgl@1371: @@ -11772,17 +12776,45 @@ mgl@1371: ## M4sh Initialization. ## mgl@1371: ## --------------------- ## mgl@1371: mgl@1371: -# Be Bourne compatible mgl@1371: +# Be more Bourne compatible mgl@1371: +DUALCASE=1; export DUALCASE # for MKS sh mgl@1371: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then mgl@1371: emulate sh mgl@1371: NULLCMD=: mgl@1371: # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which mgl@1371: # is contrary to our usage. Disable this feature. mgl@1371: alias -g '${1+"$@"}'='"$@"' mgl@1371: -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then mgl@1371: - set -o posix mgl@1371: + setopt NO_GLOB_SUBST mgl@1371: +else mgl@1371: + case `(set -o) 2>/dev/null` in mgl@1371: + *posix*) set -o posix ;; mgl@1371: +esac mgl@1371: + mgl@1371: +fi mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: +# PATH needs CR mgl@1371: +# Avoid depending upon Character Ranges. mgl@1371: +as_cr_letters='abcdefghijklmnopqrstuvwxyz' mgl@1371: +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' mgl@1371: +as_cr_Letters=$as_cr_letters$as_cr_LETTERS mgl@1371: +as_cr_digits='0123456789' mgl@1371: +as_cr_alnum=$as_cr_Letters$as_cr_digits mgl@1371: + mgl@1371: +# The user is always right. mgl@1371: +if test "${PATH_SEPARATOR+set}" != set; then mgl@1371: + echo "#! /bin/sh" >conf$$.sh mgl@1371: + echo "exit 0" >>conf$$.sh mgl@1371: + chmod +x conf$$.sh mgl@1371: + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then mgl@1371: + PATH_SEPARATOR=';' mgl@1371: + else mgl@1371: + PATH_SEPARATOR=: mgl@1371: + fi mgl@1371: + rm -f conf$$.sh mgl@1371: fi mgl@1371: -DUALCASE=1; export DUALCASE # for MKS sh mgl@1371: mgl@1371: # Support unset when possible. mgl@1371: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then mgl@1371: @@ -11792,8 +12824,43 @@ mgl@1371: fi mgl@1371: mgl@1371: mgl@1371: +# IFS mgl@1371: +# We need space, tab and new line, in precisely that order. Quoting is mgl@1371: +# there to prevent editors from complaining about space-tab. mgl@1371: +# (If _AS_PATH_WALK were called with IFS unset, it would disable word mgl@1371: +# splitting by setting IFS to empty value.) mgl@1371: +as_nl=' mgl@1371: +' mgl@1371: +IFS=" "" $as_nl" mgl@1371: + mgl@1371: +# Find who we are. Look in the path if we contain no directory separator. mgl@1371: +case $0 in mgl@1371: + *[\\/]* ) as_myself=$0 ;; mgl@1371: + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR mgl@1371: +for as_dir in $PATH mgl@1371: +do mgl@1371: + IFS=$as_save_IFS mgl@1371: + test -z "$as_dir" && as_dir=. mgl@1371: + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break mgl@1371: +done mgl@1371: +IFS=$as_save_IFS mgl@1371: + mgl@1371: + ;; mgl@1371: +esac mgl@1371: +# We did not find ourselves, most probably we were run as `sh COMMAND' mgl@1371: +# in which case we are not to be found in the path. mgl@1371: +if test "x$as_myself" = x; then mgl@1371: + as_myself=$0 mgl@1371: +fi mgl@1371: +if test ! -f "$as_myself"; then mgl@1371: + echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 mgl@1371: + { (exit 1); exit 1; } mgl@1371: +fi mgl@1371: + mgl@1371: # Work around bugs in pre-3.0 UWIN ksh. mgl@1371: -$as_unset ENV MAIL MAILPATH mgl@1371: +for as_var in ENV MAIL MAILPATH mgl@1371: +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var mgl@1371: +done mgl@1371: PS1='$ ' mgl@1371: PS2='> ' mgl@1371: PS4='+ ' mgl@1371: @@ -11807,18 +12874,19 @@ mgl@1371: if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then mgl@1371: eval $as_var=C; export $as_var mgl@1371: else mgl@1371: - $as_unset $as_var mgl@1371: + ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var mgl@1371: fi mgl@1371: done mgl@1371: mgl@1371: # Required to use basename. mgl@1371: -if expr a : '\(a\)' >/dev/null 2>&1; then mgl@1371: +if expr a : '\(a\)' >/dev/null 2>&1 && mgl@1371: + test "X`expr 00001 : '.*\(...\)'`" = X001; then mgl@1371: as_expr=expr mgl@1371: else mgl@1371: as_expr=false mgl@1371: fi mgl@1371: mgl@1371: -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then mgl@1371: +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then mgl@1371: as_basename=basename mgl@1371: else mgl@1371: as_basename=false mgl@1371: @@ -11826,159 +12894,120 @@ mgl@1371: mgl@1371: mgl@1371: # Name of the executable. mgl@1371: -as_me=`$as_basename "$0" || mgl@1371: +as_me=`$as_basename -- "$0" || mgl@1371: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ mgl@1371: X"$0" : 'X\(//\)$' \| \ mgl@1371: - X"$0" : 'X\(/\)$' \| \ mgl@1371: - . : '\(.\)' 2>/dev/null || mgl@1371: + X"$0" : 'X\(/\)' \| . 2>/dev/null || mgl@1371: echo X/"$0" | mgl@1371: - sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } mgl@1371: - /^X\/\(\/\/\)$/{ s//\1/; q; } mgl@1371: - /^X\/\(\/\).*/{ s//\1/; q; } mgl@1371: - s/.*/./; q'` mgl@1371: - mgl@1371: - mgl@1371: -# PATH needs CR, and LINENO needs CR and PATH. mgl@1371: -# Avoid depending upon Character Ranges. mgl@1371: -as_cr_letters='abcdefghijklmnopqrstuvwxyz' mgl@1371: -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' mgl@1371: -as_cr_Letters=$as_cr_letters$as_cr_LETTERS mgl@1371: -as_cr_digits='0123456789' mgl@1371: -as_cr_alnum=$as_cr_Letters$as_cr_digits mgl@1371: - mgl@1371: -# The user is always right. mgl@1371: -if test "${PATH_SEPARATOR+set}" != set; then mgl@1371: - echo "#! /bin/sh" >conf$$.sh mgl@1371: - echo "exit 0" >>conf$$.sh mgl@1371: - chmod +x conf$$.sh mgl@1371: - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then mgl@1371: - PATH_SEPARATOR=';' mgl@1371: - else mgl@1371: - PATH_SEPARATOR=: mgl@1371: - fi mgl@1371: - rm -f conf$$.sh mgl@1371: -fi mgl@1371: + sed '/^.*\/\([^/][^/]*\)\/*$/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + /^X\/\(\/\/\)$/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + /^X\/\(\/\).*/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + s/.*/./; q'` mgl@1371: + mgl@1371: +# CDPATH. mgl@1371: +$as_unset CDPATH mgl@1371: mgl@1371: mgl@1371: - as_lineno_1=$LINENO mgl@1371: - as_lineno_2=$LINENO mgl@1371: - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` mgl@1371: - test "x$as_lineno_1" != "x$as_lineno_2" && mgl@1371: - test "x$as_lineno_3" = "x$as_lineno_2" || { mgl@1371: - # Find who we are. Look in the path if we contain no path at all mgl@1371: - # relative or not. mgl@1371: - case $0 in mgl@1371: - *[\\/]* ) as_myself=$0 ;; mgl@1371: - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR mgl@1371: -for as_dir in $PATH mgl@1371: -do mgl@1371: - IFS=$as_save_IFS mgl@1371: - test -z "$as_dir" && as_dir=. mgl@1371: - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break mgl@1371: -done mgl@1371: mgl@1371: - ;; mgl@1371: - esac mgl@1371: - # We did not find ourselves, most probably we were run as `sh COMMAND' mgl@1371: - # in which case we are not to be found in the path. mgl@1371: - if test "x$as_myself" = x; then mgl@1371: - as_myself=$0 mgl@1371: - fi mgl@1371: - if test ! -f "$as_myself"; then mgl@1371: - { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 mgl@1371: -echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} mgl@1371: - { (exit 1); exit 1; }; } mgl@1371: - fi mgl@1371: - case $CONFIG_SHELL in mgl@1371: - '') mgl@1371: - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR mgl@1371: -for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH mgl@1371: -do mgl@1371: - IFS=$as_save_IFS mgl@1371: - test -z "$as_dir" && as_dir=. mgl@1371: - for as_base in sh bash ksh sh5; do mgl@1371: - case $as_dir in mgl@1371: - /*) mgl@1371: - if ("$as_dir/$as_base" -c ' mgl@1371: as_lineno_1=$LINENO mgl@1371: as_lineno_2=$LINENO mgl@1371: - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` mgl@1371: test "x$as_lineno_1" != "x$as_lineno_2" && mgl@1371: - test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then mgl@1371: - $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } mgl@1371: - $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } mgl@1371: - CONFIG_SHELL=$as_dir/$as_base mgl@1371: - export CONFIG_SHELL mgl@1371: - exec "$CONFIG_SHELL" "$0" ${1+"$@"} mgl@1371: - fi;; mgl@1371: - esac mgl@1371: - done mgl@1371: -done mgl@1371: -;; mgl@1371: - esac mgl@1371: + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { mgl@1371: mgl@1371: # Create $as_me.lineno as a copy of $as_myself, but with $LINENO mgl@1371: # uniformly replaced by the line number. The first 'sed' inserts a mgl@1371: - # line-number line before each line; the second 'sed' does the real mgl@1371: - # work. The second script uses 'N' to pair each line-number line mgl@1371: - # with the numbered line, and appends trailing '-' during mgl@1371: - # substitution so that $LINENO is not a special case at line end. mgl@1371: + # line-number line after each line using $LINENO; the second 'sed' mgl@1371: + # does the real work. The second script uses 'N' to pair each mgl@1371: + # line-number line with the line containing $LINENO, and appends mgl@1371: + # trailing '-' during substitution so that $LINENO is not a special mgl@1371: + # case at line end. mgl@1371: # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the mgl@1371: - # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) mgl@1371: - sed '=' <$as_myself | mgl@1371: + # scripts with optimization help from Paolo Bonzini. Blame Lee mgl@1371: + # E. McMahon (1931-1989) for sed's syntax. :-) mgl@1371: + sed -n ' mgl@1371: + p mgl@1371: + /[$]LINENO/= mgl@1371: + ' <$as_myself | mgl@1371: sed ' mgl@1371: + s/[$]LINENO.*/&-/ mgl@1371: + t lineno mgl@1371: + b mgl@1371: + :lineno mgl@1371: N mgl@1371: - s,$,-, mgl@1371: - : loop mgl@1371: - s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, mgl@1371: + :loop mgl@1371: + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ mgl@1371: t loop mgl@1371: - s,-$,, mgl@1371: - s,^['$as_cr_digits']*\n,, mgl@1371: + s/-\n.*// mgl@1371: ' >$as_me.lineno && mgl@1371: - chmod +x $as_me.lineno || mgl@1371: - { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 mgl@1371: -echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} mgl@1371: + chmod +x "$as_me.lineno" || mgl@1371: + { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 mgl@1371: { (exit 1); exit 1; }; } mgl@1371: mgl@1371: # Don't try to exec as it changes $[0], causing all sort of problems mgl@1371: # (the dirname of $[0] is not the place where we might find the mgl@1371: - # original and so on. Autoconf is especially sensible to this). mgl@1371: - . ./$as_me.lineno mgl@1371: + # original and so on. Autoconf is especially sensitive to this). mgl@1371: + . "./$as_me.lineno" mgl@1371: # Exit status is that of the last command. mgl@1371: exit mgl@1371: } mgl@1371: mgl@1371: mgl@1371: -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in mgl@1371: - *c*,-n*) ECHO_N= ECHO_C=' mgl@1371: -' ECHO_T=' ' ;; mgl@1371: - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; mgl@1371: - *) ECHO_N= ECHO_C='\c' ECHO_T= ;; mgl@1371: +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then mgl@1371: + as_dirname=dirname mgl@1371: +else mgl@1371: + as_dirname=false mgl@1371: +fi mgl@1371: + mgl@1371: +ECHO_C= ECHO_N= ECHO_T= mgl@1371: +case `echo -n x` in mgl@1371: +-n*) mgl@1371: + case `echo 'x\c'` in mgl@1371: + *c*) ECHO_T=' ';; # ECHO_T is single tab character. mgl@1371: + *) ECHO_C='\c';; mgl@1371: + esac;; mgl@1371: +*) mgl@1371: + ECHO_N='-n';; mgl@1371: esac mgl@1371: mgl@1371: -if expr a : '\(a\)' >/dev/null 2>&1; then mgl@1371: +if expr a : '\(a\)' >/dev/null 2>&1 && mgl@1371: + test "X`expr 00001 : '.*\(...\)'`" = X001; then mgl@1371: as_expr=expr mgl@1371: else mgl@1371: as_expr=false mgl@1371: fi mgl@1371: mgl@1371: rm -f conf$$ conf$$.exe conf$$.file mgl@1371: +if test -d conf$$.dir; then mgl@1371: + rm -f conf$$.dir/conf$$.file mgl@1371: +else mgl@1371: + rm -f conf$$.dir mgl@1371: + mkdir conf$$.dir mgl@1371: +fi mgl@1371: echo >conf$$.file mgl@1371: if ln -s conf$$.file conf$$ 2>/dev/null; then mgl@1371: - # We could just check for DJGPP; but this test a) works b) is more generic mgl@1371: - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). mgl@1371: - if test -f conf$$.exe; then mgl@1371: - # Don't use ln at all; we don't have any links mgl@1371: + as_ln_s='ln -s' mgl@1371: + # ... but there are two gotchas: mgl@1371: + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. mgl@1371: + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. mgl@1371: + # In both cases, we have to default to `cp -p'. mgl@1371: + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || mgl@1371: as_ln_s='cp -p' mgl@1371: - else mgl@1371: - as_ln_s='ln -s' mgl@1371: - fi mgl@1371: elif ln conf$$.file conf$$ 2>/dev/null; then mgl@1371: as_ln_s=ln mgl@1371: else mgl@1371: as_ln_s='cp -p' mgl@1371: fi mgl@1371: -rm -f conf$$ conf$$.exe conf$$.file mgl@1371: +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file mgl@1371: +rmdir conf$$.dir 2>/dev/null mgl@1371: mgl@1371: if mkdir -p . 2>/dev/null; then mgl@1371: as_mkdir_p=: mgl@1371: @@ -11987,7 +13016,28 @@ mgl@1371: as_mkdir_p=false mgl@1371: fi mgl@1371: mgl@1371: -as_executable_p="test -f" mgl@1371: +if test -x / >/dev/null 2>&1; then mgl@1371: + as_test_x='test -x' mgl@1371: +else mgl@1371: + if ls -dL / >/dev/null 2>&1; then mgl@1371: + as_ls_L_option=L mgl@1371: + else mgl@1371: + as_ls_L_option= mgl@1371: + fi mgl@1371: + as_test_x=' mgl@1371: + eval sh -c '\'' mgl@1371: + if test -d "$1"; then mgl@1371: + test -d "$1/."; mgl@1371: + else mgl@1371: + case $1 in mgl@1371: + -*)set "./$1";; mgl@1371: + esac; mgl@1371: + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in mgl@1371: + ???[sx]*):;;*)false;;esac;fi mgl@1371: + '\'' sh mgl@1371: + ' mgl@1371: +fi mgl@1371: +as_executable_p=$as_test_x mgl@1371: mgl@1371: # Sed expression to map a string onto a valid CPP name. mgl@1371: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" mgl@1371: @@ -11996,31 +13046,14 @@ mgl@1371: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" mgl@1371: mgl@1371: mgl@1371: -# IFS mgl@1371: -# We need space, tab and new line, in precisely that order. mgl@1371: -as_nl=' mgl@1371: -' mgl@1371: -IFS=" $as_nl" mgl@1371: - mgl@1371: -# CDPATH. mgl@1371: -$as_unset CDPATH mgl@1371: - mgl@1371: exec 6>&1 mgl@1371: mgl@1371: -# Open the log real soon, to keep \$[0] and so on meaningful, and to mgl@1371: +# Save the log message, to keep $[0] and so on meaningful, and to mgl@1371: # report actual input values of CONFIG_FILES etc. instead of their mgl@1371: -# values after options handling. Logging --version etc. is OK. mgl@1371: -exec 5>>config.log mgl@1371: -{ mgl@1371: - echo mgl@1371: - sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX mgl@1371: -## Running $as_me. ## mgl@1371: -_ASBOX mgl@1371: -} >&5 mgl@1371: -cat >&5 <<_CSEOF mgl@1371: - mgl@1371: +# values after options handling. mgl@1371: +ac_log=" mgl@1371: This file was extended by newlib $as_me 1.17.0, which was mgl@1371: -generated by GNU Autoconf 2.59. Invocation command line was mgl@1371: +generated by GNU Autoconf 2.61. Invocation command line was mgl@1371: mgl@1371: CONFIG_FILES = $CONFIG_FILES mgl@1371: CONFIG_HEADERS = $CONFIG_HEADERS mgl@1371: @@ -12028,30 +13061,19 @@ mgl@1371: CONFIG_COMMANDS = $CONFIG_COMMANDS mgl@1371: $ $0 $@ mgl@1371: mgl@1371: -_CSEOF mgl@1371: -echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 mgl@1371: -echo >&5 mgl@1371: +on `(hostname || uname -n) 2>/dev/null | sed 1q` mgl@1371: +" mgl@1371: + mgl@1371: _ACEOF mgl@1371: mgl@1371: +cat >>$CONFIG_STATUS <<_ACEOF mgl@1371: # Files that config.status was made for. mgl@1371: -if test -n "$ac_config_files"; then mgl@1371: - echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS mgl@1371: -fi mgl@1371: - mgl@1371: -if test -n "$ac_config_headers"; then mgl@1371: - echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS mgl@1371: -fi mgl@1371: - mgl@1371: -if test -n "$ac_config_links"; then mgl@1371: - echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS mgl@1371: -fi mgl@1371: +config_files="$ac_config_files" mgl@1371: +config_commands="$ac_config_commands" mgl@1371: mgl@1371: -if test -n "$ac_config_commands"; then mgl@1371: - echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS mgl@1371: -fi mgl@1371: +_ACEOF mgl@1371: mgl@1371: cat >>$CONFIG_STATUS <<\_ACEOF mgl@1371: - mgl@1371: ac_cs_usage="\ mgl@1371: \`$as_me' instantiates files from templates according to the mgl@1371: current configuration. mgl@1371: @@ -12059,7 +13081,7 @@ mgl@1371: Usage: $0 [OPTIONS] [FILE]... mgl@1371: mgl@1371: -h, --help print this help, then exit mgl@1371: - -V, --version print version number, then exit mgl@1371: + -V, --version print version number and configuration settings, then exit mgl@1371: -q, --quiet do not print progress messages mgl@1371: -d, --debug don't remove temporary files mgl@1371: --recheck update $as_me by reconfiguring in the same conditions mgl@1371: @@ -12073,19 +13095,21 @@ mgl@1371: $config_commands mgl@1371: mgl@1371: Report bugs to ." mgl@1371: -_ACEOF mgl@1371: mgl@1371: +_ACEOF mgl@1371: cat >>$CONFIG_STATUS <<_ACEOF mgl@1371: ac_cs_version="\\ mgl@1371: newlib config.status 1.17.0 mgl@1371: -configured by $0, generated by GNU Autoconf 2.59, mgl@1371: - with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" mgl@1371: +configured by $0, generated by GNU Autoconf 2.61, mgl@1371: + with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" mgl@1371: mgl@1371: -Copyright (C) 2003 Free Software Foundation, Inc. mgl@1371: +Copyright (C) 2006 Free Software Foundation, Inc. mgl@1371: This config.status script is free software; the Free Software Foundation mgl@1371: gives unlimited permission to copy, distribute and modify it." mgl@1371: -srcdir=$srcdir mgl@1371: -INSTALL="$INSTALL" mgl@1371: + mgl@1371: +ac_pwd='$ac_pwd' mgl@1371: +srcdir='$srcdir' mgl@1371: +INSTALL='$INSTALL' mgl@1371: _ACEOF mgl@1371: mgl@1371: cat >>$CONFIG_STATUS <<\_ACEOF mgl@1371: @@ -12096,60 +13120,42 @@ mgl@1371: do mgl@1371: case $1 in mgl@1371: --*=*) mgl@1371: - ac_option=`expr "x$1" : 'x\([^=]*\)='` mgl@1371: - ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` mgl@1371: + ac_option=`expr "X$1" : 'X\([^=]*\)='` mgl@1371: + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` mgl@1371: ac_shift=: mgl@1371: ;; mgl@1371: - -*) mgl@1371: + *) mgl@1371: ac_option=$1 mgl@1371: ac_optarg=$2 mgl@1371: ac_shift=shift mgl@1371: ;; mgl@1371: - *) # This is not an option, so the user has probably given explicit mgl@1371: - # arguments. mgl@1371: - ac_option=$1 mgl@1371: - ac_need_defaults=false;; mgl@1371: esac mgl@1371: mgl@1371: case $ac_option in mgl@1371: # Handling of the options. mgl@1371: -_ACEOF mgl@1371: -cat >>$CONFIG_STATUS <<\_ACEOF mgl@1371: -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) mgl@1371: ac_cs_recheck=: ;; mgl@1371: - --version | --vers* | -V ) mgl@1371: - echo "$ac_cs_version"; exit 0 ;; mgl@1371: - --he | --h) mgl@1371: - # Conflict between --help and --header mgl@1371: - { { echo "$as_me:$LINENO: error: ambiguous option: $1 mgl@1371: -Try \`$0 --help' for more information." >&5 mgl@1371: -echo "$as_me: error: ambiguous option: $1 mgl@1371: -Try \`$0 --help' for more information." >&2;} mgl@1371: - { (exit 1); exit 1; }; };; mgl@1371: - --help | --hel | -h ) mgl@1371: - echo "$ac_cs_usage"; exit 0 ;; mgl@1371: - --debug | --d* | -d ) mgl@1371: + --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) mgl@1371: + echo "$ac_cs_version"; exit ;; mgl@1371: + --debug | --debu | --deb | --de | --d | -d ) mgl@1371: debug=: ;; mgl@1371: --file | --fil | --fi | --f ) mgl@1371: $ac_shift mgl@1371: CONFIG_FILES="$CONFIG_FILES $ac_optarg" mgl@1371: ac_need_defaults=false;; mgl@1371: - --header | --heade | --head | --hea ) mgl@1371: - $ac_shift mgl@1371: - CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" mgl@1371: - ac_need_defaults=false;; mgl@1371: + --he | --h | --help | --hel | -h ) mgl@1371: + echo "$ac_cs_usage"; exit ;; mgl@1371: -q | -quiet | --quiet | --quie | --qui | --qu | --q \ mgl@1371: | -silent | --silent | --silen | --sile | --sil | --si | --s) mgl@1371: ac_cs_silent=: ;; mgl@1371: mgl@1371: # This is an error. mgl@1371: - -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 mgl@1371: -Try \`$0 --help' for more information." >&5 mgl@1371: -echo "$as_me: error: unrecognized option: $1 mgl@1371: -Try \`$0 --help' for more information." >&2;} mgl@1371: + -*) { echo "$as_me: error: unrecognized option: $1 mgl@1371: +Try \`$0 --help' for more information." >&2 mgl@1371: { (exit 1); exit 1; }; } ;; mgl@1371: mgl@1371: - *) ac_config_targets="$ac_config_targets $1" ;; mgl@1371: + *) ac_config_targets="$ac_config_targets $1" mgl@1371: + ac_need_defaults=false ;; mgl@1371: mgl@1371: esac mgl@1371: shift mgl@1371: @@ -12165,17 +13171,28 @@ mgl@1371: _ACEOF mgl@1371: cat >>$CONFIG_STATUS <<_ACEOF mgl@1371: if \$ac_cs_recheck; then mgl@1371: - echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 mgl@1371: - exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion mgl@1371: + echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 mgl@1371: + CONFIG_SHELL=$SHELL mgl@1371: + export CONFIG_SHELL mgl@1371: + exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion mgl@1371: fi mgl@1371: mgl@1371: _ACEOF mgl@1371: +cat >>$CONFIG_STATUS <<\_ACEOF mgl@1371: +exec 5>>config.log mgl@1371: +{ mgl@1371: + echo mgl@1371: + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX mgl@1371: +## Running $as_me. ## mgl@1371: +_ASBOX mgl@1371: + echo "$ac_log" mgl@1371: +} >&5 mgl@1371: mgl@1371: +_ACEOF mgl@1371: cat >>$CONFIG_STATUS <<_ACEOF mgl@1371: # mgl@1371: -# INIT-COMMANDS section. mgl@1371: +# INIT-COMMANDS mgl@1371: # mgl@1371: - mgl@1371: AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" mgl@1371: mgl@1371: mgl@1371: @@ -12436,22 +13453,23 @@ mgl@1371: mgl@1371: _ACEOF mgl@1371: mgl@1371: - mgl@1371: - mgl@1371: cat >>$CONFIG_STATUS <<\_ACEOF mgl@1371: + mgl@1371: +# Handling of arguments. mgl@1371: for ac_config_target in $ac_config_targets mgl@1371: do mgl@1371: - case "$ac_config_target" in mgl@1371: - # Handling of arguments. mgl@1371: - "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; mgl@1371: - "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; mgl@1371: - "libtool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; mgl@1371: + case $ac_config_target in mgl@1371: + "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; mgl@1371: + "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; mgl@1371: + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; mgl@1371: + mgl@1371: *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 mgl@1371: echo "$as_me: error: invalid argument: $ac_config_target" >&2;} mgl@1371: { (exit 1); exit 1; }; };; mgl@1371: esac mgl@1371: done mgl@1371: mgl@1371: + mgl@1371: # If the user did not use the arguments to specify the items to instantiate, mgl@1371: # then the envvar interface is used. Set only those that are not. mgl@1371: # We use the long form for the default assignment because of an extremely mgl@1371: @@ -12462,396 +13480,492 @@ mgl@1371: fi mgl@1371: mgl@1371: # Have a temporary directory for convenience. Make it in the build tree mgl@1371: -# simply because there is no reason to put it here, and in addition, mgl@1371: +# simply because there is no reason against having it here, and in addition, mgl@1371: # creating and moving files from /tmp can sometimes cause problems. mgl@1371: -# Create a temporary directory, and hook for its removal unless debugging. mgl@1371: +# Hook for its removal unless debugging. mgl@1371: +# Note that there is a small window in which the directory will not be cleaned: mgl@1371: +# after its creation but before its name has been assigned to `$tmp'. mgl@1371: $debug || mgl@1371: { mgl@1371: - trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 mgl@1371: + tmp= mgl@1371: + trap 'exit_status=$? mgl@1371: + { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status mgl@1371: +' 0 mgl@1371: trap '{ (exit 1); exit 1; }' 1 2 13 15 mgl@1371: } mgl@1371: - mgl@1371: # Create a (secure) tmp directory for tmp files. mgl@1371: mgl@1371: { mgl@1371: - tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && mgl@1371: + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && mgl@1371: test -n "$tmp" && test -d "$tmp" mgl@1371: } || mgl@1371: { mgl@1371: - tmp=./confstat$$-$RANDOM mgl@1371: - (umask 077 && mkdir $tmp) mgl@1371: + tmp=./conf$$-$RANDOM mgl@1371: + (umask 077 && mkdir "$tmp") mgl@1371: } || mgl@1371: { mgl@1371: echo "$me: cannot create a temporary directory in ." >&2 mgl@1371: { (exit 1); exit 1; } mgl@1371: } mgl@1371: mgl@1371: -_ACEOF mgl@1371: - mgl@1371: -cat >>$CONFIG_STATUS <<_ACEOF mgl@1371: - mgl@1371: # mgl@1371: -# CONFIG_FILES section. mgl@1371: +# Set up the sed scripts for CONFIG_FILES section. mgl@1371: # mgl@1371: mgl@1371: # No need to generate the scripts if there are no CONFIG_FILES. mgl@1371: # This happens for instance when ./config.status config.h mgl@1371: -if test -n "\$CONFIG_FILES"; then mgl@1371: - # Protect against being on the right side of a sed subst in config.status. mgl@1371: - sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; mgl@1371: - s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF mgl@1371: -s,@SHELL@,$SHELL,;t t mgl@1371: -s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t mgl@1371: -s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t mgl@1371: -s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t mgl@1371: -s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t mgl@1371: -s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t mgl@1371: -s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t mgl@1371: -s,@exec_prefix@,$exec_prefix,;t t mgl@1371: -s,@prefix@,$prefix,;t t mgl@1371: -s,@program_transform_name@,$program_transform_name,;t t mgl@1371: -s,@bindir@,$bindir,;t t mgl@1371: -s,@sbindir@,$sbindir,;t t mgl@1371: -s,@libexecdir@,$libexecdir,;t t mgl@1371: -s,@datadir@,$datadir,;t t mgl@1371: -s,@sysconfdir@,$sysconfdir,;t t mgl@1371: -s,@sharedstatedir@,$sharedstatedir,;t t mgl@1371: -s,@localstatedir@,$localstatedir,;t t mgl@1371: -s,@libdir@,$libdir,;t t mgl@1371: -s,@includedir@,$includedir,;t t mgl@1371: -s,@oldincludedir@,$oldincludedir,;t t mgl@1371: -s,@infodir@,$infodir,;t t mgl@1371: -s,@mandir@,$mandir,;t t mgl@1371: -s,@build_alias@,$build_alias,;t t mgl@1371: -s,@host_alias@,$host_alias,;t t mgl@1371: -s,@target_alias@,$target_alias,;t t mgl@1371: -s,@DEFS@,$DEFS,;t t mgl@1371: -s,@ECHO_C@,$ECHO_C,;t t mgl@1371: -s,@ECHO_N@,$ECHO_N,;t t mgl@1371: -s,@ECHO_T@,$ECHO_T,;t t mgl@1371: -s,@LIBS@,$LIBS,;t t mgl@1371: -s,@MAY_SUPPLY_SYSCALLS_TRUE@,$MAY_SUPPLY_SYSCALLS_TRUE,;t t mgl@1371: -s,@MAY_SUPPLY_SYSCALLS_FALSE@,$MAY_SUPPLY_SYSCALLS_FALSE,;t t mgl@1371: -s,@newlib_basedir@,$newlib_basedir,;t t mgl@1371: -s,@build@,$build,;t t mgl@1371: -s,@build_cpu@,$build_cpu,;t t mgl@1371: -s,@build_vendor@,$build_vendor,;t t mgl@1371: -s,@build_os@,$build_os,;t t mgl@1371: -s,@host@,$host,;t t mgl@1371: -s,@host_cpu@,$host_cpu,;t t mgl@1371: -s,@host_vendor@,$host_vendor,;t t mgl@1371: -s,@host_os@,$host_os,;t t mgl@1371: -s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t mgl@1371: -s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t mgl@1371: -s,@INSTALL_DATA@,$INSTALL_DATA,;t t mgl@1371: -s,@CYGPATH_W@,$CYGPATH_W,;t t mgl@1371: -s,@PACKAGE@,$PACKAGE,;t t mgl@1371: -s,@VERSION@,$VERSION,;t t mgl@1371: -s,@ACLOCAL@,$ACLOCAL,;t t mgl@1371: -s,@AUTOCONF@,$AUTOCONF,;t t mgl@1371: -s,@AUTOMAKE@,$AUTOMAKE,;t t mgl@1371: -s,@AUTOHEADER@,$AUTOHEADER,;t t mgl@1371: -s,@MAKEINFO@,$MAKEINFO,;t t mgl@1371: -s,@install_sh@,$install_sh,;t t mgl@1371: -s,@STRIP@,$STRIP,;t t mgl@1371: -s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t mgl@1371: -s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t mgl@1371: -s,@mkdir_p@,$mkdir_p,;t t mgl@1371: -s,@AWK@,$AWK,;t t mgl@1371: -s,@SET_MAKE@,$SET_MAKE,;t t mgl@1371: -s,@am__leading_dot@,$am__leading_dot,;t t mgl@1371: -s,@AMTAR@,$AMTAR,;t t mgl@1371: -s,@am__tar@,$am__tar,;t t mgl@1371: -s,@am__untar@,$am__untar,;t t mgl@1371: -s,@CC@,$CC,;t t mgl@1371: -s,@DEPDIR@,$DEPDIR,;t t mgl@1371: -s,@am__include@,$am__include,;t t mgl@1371: -s,@am__quote@,$am__quote,;t t mgl@1371: -s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t mgl@1371: -s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t mgl@1371: -s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t mgl@1371: -s,@CCDEPMODE@,$CCDEPMODE,;t t mgl@1371: -s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t mgl@1371: -s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t mgl@1371: -s,@AS@,$AS,;t t mgl@1371: -s,@ac_ct_AS@,$ac_ct_AS,;t t mgl@1371: -s,@AR@,$AR,;t t mgl@1371: -s,@ac_ct_AR@,$ac_ct_AR,;t t mgl@1371: -s,@RANLIB@,$RANLIB,;t t mgl@1371: -s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t mgl@1371: -s,@READELF@,$READELF,;t t mgl@1371: -s,@ac_ct_READELF@,$ac_ct_READELF,;t t mgl@1371: -s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t mgl@1371: -s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t mgl@1371: -s,@MAINT@,$MAINT,;t t mgl@1371: -s,@CCAS@,$CCAS,;t t mgl@1371: -s,@CCASFLAGS@,$CCASFLAGS,;t t mgl@1371: -s,@NEWLIB_CFLAGS@,$NEWLIB_CFLAGS,;t t mgl@1371: -s,@LDFLAGS@,$LDFLAGS,;t t mgl@1371: -s,@ELIX_LEVEL_0_TRUE@,$ELIX_LEVEL_0_TRUE,;t t mgl@1371: -s,@ELIX_LEVEL_0_FALSE@,$ELIX_LEVEL_0_FALSE,;t t mgl@1371: -s,@ELIX_LEVEL_1_TRUE@,$ELIX_LEVEL_1_TRUE,;t t mgl@1371: -s,@ELIX_LEVEL_1_FALSE@,$ELIX_LEVEL_1_FALSE,;t t mgl@1371: -s,@ELIX_LEVEL_2_TRUE@,$ELIX_LEVEL_2_TRUE,;t t mgl@1371: -s,@ELIX_LEVEL_2_FALSE@,$ELIX_LEVEL_2_FALSE,;t t mgl@1371: -s,@ELIX_LEVEL_3_TRUE@,$ELIX_LEVEL_3_TRUE,;t t mgl@1371: -s,@ELIX_LEVEL_3_FALSE@,$ELIX_LEVEL_3_FALSE,;t t mgl@1371: -s,@ELIX_LEVEL_4_TRUE@,$ELIX_LEVEL_4_TRUE,;t t mgl@1371: -s,@ELIX_LEVEL_4_FALSE@,$ELIX_LEVEL_4_FALSE,;t t mgl@1371: -s,@USE_LIBTOOL_TRUE@,$USE_LIBTOOL_TRUE,;t t mgl@1371: -s,@USE_LIBTOOL_FALSE@,$USE_LIBTOOL_FALSE,;t t mgl@1371: -s,@OBJEXT@,$OBJEXT,;t t mgl@1371: -s,@oext@,$oext,;t t mgl@1371: -s,@aext@,$aext,;t t mgl@1371: -s,@lpfx@,$lpfx,;t t mgl@1371: -s,@libm_machine_dir@,$libm_machine_dir,;t t mgl@1371: -s,@machine_dir@,$machine_dir,;t t mgl@1371: -s,@sys_dir@,$sys_dir,;t t mgl@1371: -s,@SED@,$SED,;t t mgl@1371: -s,@DLLTOOL@,$DLLTOOL,;t t mgl@1371: -s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t mgl@1371: -s,@OBJDUMP@,$OBJDUMP,;t t mgl@1371: -s,@ac_ct_OBJDUMP@,$ac_ct_OBJDUMP,;t t mgl@1371: -s,@LIBTOOL@,$LIBTOOL,;t t mgl@1371: -s,@CFLAGS@,$CFLAGS,;t t mgl@1371: -s,@CPPFLAGS@,$CPPFLAGS,;t t mgl@1371: -s,@ac_ct_CC@,$ac_ct_CC,;t t mgl@1371: -s,@EXEEXT@,$EXEEXT,;t t mgl@1371: -s,@EGREP@,$EGREP,;t t mgl@1371: -s,@FGREP@,$FGREP,;t t mgl@1371: -s,@GREP@,$GREP,;t t mgl@1371: -s,@LD@,$LD,;t t mgl@1371: -s,@DUMPBIN@,$DUMPBIN,;t t mgl@1371: -s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t mgl@1371: -s,@NM@,$NM,;t t mgl@1371: -s,@LN_S@,$LN_S,;t t mgl@1371: -s,@lt_ECHO@,$lt_ECHO,;t t mgl@1371: -s,@DSYMUTIL@,$DSYMUTIL,;t t mgl@1371: -s,@ac_ct_DSYMUTIL@,$ac_ct_DSYMUTIL,;t t mgl@1371: -s,@NMEDIT@,$NMEDIT,;t t mgl@1371: -s,@ac_ct_NMEDIT@,$ac_ct_NMEDIT,;t t mgl@1371: -s,@LIPO@,$LIPO,;t t mgl@1371: -s,@ac_ct_LIPO@,$ac_ct_LIPO,;t t mgl@1371: -s,@OTOOL@,$OTOOL,;t t mgl@1371: -s,@ac_ct_OTOOL@,$ac_ct_OTOOL,;t t mgl@1371: -s,@OTOOL64@,$OTOOL64,;t t mgl@1371: -s,@ac_ct_OTOOL64@,$ac_ct_OTOOL64,;t t mgl@1371: -s,@CPP@,$CPP,;t t mgl@1371: -s,@subdirs@,$subdirs,;t t mgl@1371: -s,@HAVE_MACHINE_DIR_TRUE@,$HAVE_MACHINE_DIR_TRUE,;t t mgl@1371: -s,@HAVE_MACHINE_DIR_FALSE@,$HAVE_MACHINE_DIR_FALSE,;t t mgl@1371: -s,@LIBOBJS@,$LIBOBJS,;t t mgl@1371: -s,@LTLIBOBJS@,$LTLIBOBJS,;t t mgl@1371: -CEOF mgl@1371: - mgl@1371: -_ACEOF mgl@1371: - mgl@1371: - cat >>$CONFIG_STATUS <<\_ACEOF mgl@1371: - # Split the substitutions into bite-sized pieces for seds with mgl@1371: - # small command number limits, like on Digital OSF/1 and HP-UX. mgl@1371: - ac_max_sed_lines=48 mgl@1371: - ac_sed_frag=1 # Number of current file. mgl@1371: - ac_beg=1 # First line for current file. mgl@1371: - ac_end=$ac_max_sed_lines # Line after last line for current file. mgl@1371: - ac_more_lines=: mgl@1371: - ac_sed_cmds= mgl@1371: - while $ac_more_lines; do mgl@1371: - if test $ac_beg -gt 1; then mgl@1371: - sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag mgl@1371: - else mgl@1371: - sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag mgl@1371: - fi mgl@1371: - if test ! -s $tmp/subs.frag; then mgl@1371: - ac_more_lines=false mgl@1371: - else mgl@1371: - # The purpose of the label and of the branching condition is to mgl@1371: - # speed up the sed processing (if there are no `@' at all, there mgl@1371: - # is no need to browse any of the substitutions). mgl@1371: - # These are the two extra sed commands mentioned above. mgl@1371: - (echo ':t mgl@1371: - /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed mgl@1371: - if test -z "$ac_sed_cmds"; then mgl@1371: - ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" mgl@1371: - else mgl@1371: - ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" mgl@1371: - fi mgl@1371: - ac_sed_frag=`expr $ac_sed_frag + 1` mgl@1371: - ac_beg=$ac_end mgl@1371: - ac_end=`expr $ac_end + $ac_max_sed_lines` mgl@1371: - fi mgl@1371: - done mgl@1371: - if test -z "$ac_sed_cmds"; then mgl@1371: - ac_sed_cmds=cat mgl@1371: +if test -n "$CONFIG_FILES"; then mgl@1371: + mgl@1371: +_ACEOF mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: +ac_delim='%!_!# ' mgl@1371: +for ac_last_try in false false false false false :; do mgl@1371: + cat >conf$$subs.sed <<_ACEOF mgl@1371: +SHELL!$SHELL$ac_delim mgl@1371: +PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim mgl@1371: +PACKAGE_NAME!$PACKAGE_NAME$ac_delim mgl@1371: +PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim mgl@1371: +PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim mgl@1371: +PACKAGE_STRING!$PACKAGE_STRING$ac_delim mgl@1371: +PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim mgl@1371: +exec_prefix!$exec_prefix$ac_delim mgl@1371: +prefix!$prefix$ac_delim mgl@1371: +program_transform_name!$program_transform_name$ac_delim mgl@1371: +bindir!$bindir$ac_delim mgl@1371: +sbindir!$sbindir$ac_delim mgl@1371: +libexecdir!$libexecdir$ac_delim mgl@1371: +datarootdir!$datarootdir$ac_delim mgl@1371: +datadir!$datadir$ac_delim mgl@1371: +sysconfdir!$sysconfdir$ac_delim mgl@1371: +sharedstatedir!$sharedstatedir$ac_delim mgl@1371: +localstatedir!$localstatedir$ac_delim mgl@1371: +includedir!$includedir$ac_delim mgl@1371: +oldincludedir!$oldincludedir$ac_delim mgl@1371: +docdir!$docdir$ac_delim mgl@1371: +infodir!$infodir$ac_delim mgl@1371: +htmldir!$htmldir$ac_delim mgl@1371: +dvidir!$dvidir$ac_delim mgl@1371: +pdfdir!$pdfdir$ac_delim mgl@1371: +psdir!$psdir$ac_delim mgl@1371: +libdir!$libdir$ac_delim mgl@1371: +localedir!$localedir$ac_delim mgl@1371: +mandir!$mandir$ac_delim mgl@1371: +DEFS!$DEFS$ac_delim mgl@1371: +ECHO_C!$ECHO_C$ac_delim mgl@1371: +ECHO_N!$ECHO_N$ac_delim mgl@1371: +ECHO_T!$ECHO_T$ac_delim mgl@1371: +LIBS!$LIBS$ac_delim mgl@1371: +build_alias!$build_alias$ac_delim mgl@1371: +host_alias!$host_alias$ac_delim mgl@1371: +target_alias!$target_alias$ac_delim mgl@1371: +MAY_SUPPLY_SYSCALLS_TRUE!$MAY_SUPPLY_SYSCALLS_TRUE$ac_delim mgl@1371: +MAY_SUPPLY_SYSCALLS_FALSE!$MAY_SUPPLY_SYSCALLS_FALSE$ac_delim mgl@1371: +newlib_basedir!$newlib_basedir$ac_delim mgl@1371: +build!$build$ac_delim mgl@1371: +build_cpu!$build_cpu$ac_delim mgl@1371: +build_vendor!$build_vendor$ac_delim mgl@1371: +build_os!$build_os$ac_delim mgl@1371: +host!$host$ac_delim mgl@1371: +host_cpu!$host_cpu$ac_delim mgl@1371: +host_vendor!$host_vendor$ac_delim mgl@1371: +host_os!$host_os$ac_delim mgl@1371: +INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim mgl@1371: +INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim mgl@1371: +INSTALL_DATA!$INSTALL_DATA$ac_delim mgl@1371: +CYGPATH_W!$CYGPATH_W$ac_delim mgl@1371: +PACKAGE!$PACKAGE$ac_delim mgl@1371: +VERSION!$VERSION$ac_delim mgl@1371: +ACLOCAL!$ACLOCAL$ac_delim mgl@1371: +AUTOCONF!$AUTOCONF$ac_delim mgl@1371: +AUTOMAKE!$AUTOMAKE$ac_delim mgl@1371: +AUTOHEADER!$AUTOHEADER$ac_delim mgl@1371: +MAKEINFO!$MAKEINFO$ac_delim mgl@1371: +install_sh!$install_sh$ac_delim mgl@1371: +STRIP!$STRIP$ac_delim mgl@1371: +INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim mgl@1371: +mkdir_p!$mkdir_p$ac_delim mgl@1371: +AWK!$AWK$ac_delim mgl@1371: +SET_MAKE!$SET_MAKE$ac_delim mgl@1371: +am__leading_dot!$am__leading_dot$ac_delim mgl@1371: +AMTAR!$AMTAR$ac_delim mgl@1371: +am__tar!$am__tar$ac_delim mgl@1371: +am__untar!$am__untar$ac_delim mgl@1371: +CC!$CC$ac_delim mgl@1371: +DEPDIR!$DEPDIR$ac_delim mgl@1371: +am__include!$am__include$ac_delim mgl@1371: +am__quote!$am__quote$ac_delim mgl@1371: +AMDEP_TRUE!$AMDEP_TRUE$ac_delim mgl@1371: +AMDEP_FALSE!$AMDEP_FALSE$ac_delim mgl@1371: +AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim mgl@1371: +CCDEPMODE!$CCDEPMODE$ac_delim mgl@1371: +am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim mgl@1371: +am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim mgl@1371: +AS!$AS$ac_delim mgl@1371: +AR!$AR$ac_delim mgl@1371: +RANLIB!$RANLIB$ac_delim mgl@1371: +READELF!$READELF$ac_delim mgl@1371: +MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim mgl@1371: +MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim mgl@1371: +MAINT!$MAINT$ac_delim mgl@1371: +CCAS!$CCAS$ac_delim mgl@1371: +CCASFLAGS!$CCASFLAGS$ac_delim mgl@1371: +NEWLIB_CFLAGS!$NEWLIB_CFLAGS$ac_delim mgl@1371: +LDFLAGS!$LDFLAGS$ac_delim mgl@1371: +ELIX_LEVEL_0_TRUE!$ELIX_LEVEL_0_TRUE$ac_delim mgl@1371: +ELIX_LEVEL_0_FALSE!$ELIX_LEVEL_0_FALSE$ac_delim mgl@1371: +ELIX_LEVEL_1_TRUE!$ELIX_LEVEL_1_TRUE$ac_delim mgl@1371: +ELIX_LEVEL_1_FALSE!$ELIX_LEVEL_1_FALSE$ac_delim mgl@1371: +ELIX_LEVEL_2_TRUE!$ELIX_LEVEL_2_TRUE$ac_delim mgl@1371: +ELIX_LEVEL_2_FALSE!$ELIX_LEVEL_2_FALSE$ac_delim mgl@1371: +ELIX_LEVEL_3_TRUE!$ELIX_LEVEL_3_TRUE$ac_delim mgl@1371: +_ACEOF mgl@1371: + mgl@1371: + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then mgl@1371: + break mgl@1371: + elif $ac_last_try; then mgl@1371: + { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 mgl@1371: +echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} mgl@1371: + { (exit 1); exit 1; }; } mgl@1371: + else mgl@1371: + ac_delim="$ac_delim!$ac_delim _$ac_delim!! " mgl@1371: fi mgl@1371: -fi # test -n "$CONFIG_FILES" mgl@1371: +done mgl@1371: + mgl@1371: +ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` mgl@1371: +if test -n "$ac_eof"; then mgl@1371: + ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` mgl@1371: + ac_eof=`expr $ac_eof + 1` mgl@1371: +fi mgl@1371: + mgl@1371: +cat >>$CONFIG_STATUS <<_ACEOF mgl@1371: +cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof mgl@1371: +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b mgl@1371: +_ACEOF mgl@1371: +sed ' mgl@1371: +s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g mgl@1371: +s/^/s,@/; s/!/@,|#_!!_#|/ mgl@1371: +:n mgl@1371: +t n mgl@1371: +s/'"$ac_delim"'$/,g/; t mgl@1371: +s/$/\\/; p mgl@1371: +N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n mgl@1371: +' >>$CONFIG_STATUS >$CONFIG_STATUS <<_ACEOF mgl@1371: +CEOF$ac_eof mgl@1371: +_ACEOF mgl@1371: + mgl@1371: + mgl@1371: +ac_delim='%!_!# ' mgl@1371: +for ac_last_try in false false false false false :; do mgl@1371: + cat >conf$$subs.sed <<_ACEOF mgl@1371: +ELIX_LEVEL_3_FALSE!$ELIX_LEVEL_3_FALSE$ac_delim mgl@1371: +ELIX_LEVEL_4_TRUE!$ELIX_LEVEL_4_TRUE$ac_delim mgl@1371: +ELIX_LEVEL_4_FALSE!$ELIX_LEVEL_4_FALSE$ac_delim mgl@1371: +USE_LIBTOOL_TRUE!$USE_LIBTOOL_TRUE$ac_delim mgl@1371: +USE_LIBTOOL_FALSE!$USE_LIBTOOL_FALSE$ac_delim mgl@1371: +OBJEXT!$OBJEXT$ac_delim mgl@1371: +oext!$oext$ac_delim mgl@1371: +aext!$aext$ac_delim mgl@1371: +lpfx!$lpfx$ac_delim mgl@1371: +libm_machine_dir!$libm_machine_dir$ac_delim mgl@1371: +machine_dir!$machine_dir$ac_delim mgl@1371: +sys_dir!$sys_dir$ac_delim mgl@1371: +SED!$SED$ac_delim mgl@1371: +DLLTOOL!$DLLTOOL$ac_delim mgl@1371: +OBJDUMP!$OBJDUMP$ac_delim mgl@1371: +LIBTOOL!$LIBTOOL$ac_delim mgl@1371: +CFLAGS!$CFLAGS$ac_delim mgl@1371: +CPPFLAGS!$CPPFLAGS$ac_delim mgl@1371: +ac_ct_CC!$ac_ct_CC$ac_delim mgl@1371: +EXEEXT!$EXEEXT$ac_delim mgl@1371: +GREP!$GREP$ac_delim mgl@1371: +EGREP!$EGREP$ac_delim mgl@1371: +FGREP!$FGREP$ac_delim mgl@1371: +LD!$LD$ac_delim mgl@1371: +DUMPBIN!$DUMPBIN$ac_delim mgl@1371: +ac_ct_DUMPBIN!$ac_ct_DUMPBIN$ac_delim mgl@1371: +NM!$NM$ac_delim mgl@1371: +LN_S!$LN_S$ac_delim mgl@1371: +lt_ECHO!$lt_ECHO$ac_delim mgl@1371: +DSYMUTIL!$DSYMUTIL$ac_delim mgl@1371: +NMEDIT!$NMEDIT$ac_delim mgl@1371: +LIPO!$LIPO$ac_delim mgl@1371: +OTOOL!$OTOOL$ac_delim mgl@1371: +OTOOL64!$OTOOL64$ac_delim mgl@1371: +CPP!$CPP$ac_delim mgl@1371: +subdirs!$subdirs$ac_delim mgl@1371: +HAVE_MACHINE_DIR_TRUE!$HAVE_MACHINE_DIR_TRUE$ac_delim mgl@1371: +HAVE_MACHINE_DIR_FALSE!$HAVE_MACHINE_DIR_FALSE$ac_delim mgl@1371: +LIBOBJS!$LIBOBJS$ac_delim mgl@1371: +LTLIBOBJS!$LTLIBOBJS$ac_delim mgl@1371: +_ACEOF mgl@1371: + mgl@1371: + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 40; then mgl@1371: + break mgl@1371: + elif $ac_last_try; then mgl@1371: + { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 mgl@1371: +echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} mgl@1371: + { (exit 1); exit 1; }; } mgl@1371: + else mgl@1371: + ac_delim="$ac_delim!$ac_delim _$ac_delim!! " mgl@1371: + fi mgl@1371: +done mgl@1371: + mgl@1371: +ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` mgl@1371: +if test -n "$ac_eof"; then mgl@1371: + ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` mgl@1371: + ac_eof=`expr $ac_eof + 1` mgl@1371: +fi mgl@1371: mgl@1371: +cat >>$CONFIG_STATUS <<_ACEOF mgl@1371: +cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof mgl@1371: +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end mgl@1371: +_ACEOF mgl@1371: +sed ' mgl@1371: +s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g mgl@1371: +s/^/s,@/; s/!/@,|#_!!_#|/ mgl@1371: +:n mgl@1371: +t n mgl@1371: +s/'"$ac_delim"'$/,g/; t mgl@1371: +s/$/\\/; p mgl@1371: +N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n mgl@1371: +' >>$CONFIG_STATUS >$CONFIG_STATUS <<_ACEOF mgl@1371: +:end mgl@1371: +s/|#_!!_#|//g mgl@1371: +CEOF$ac_eof mgl@1371: _ACEOF mgl@1371: + mgl@1371: + mgl@1371: +# VPATH may cause trouble with some makes, so we remove $(srcdir), mgl@1371: +# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and mgl@1371: +# trailing colons and then remove the whole line if VPATH becomes empty mgl@1371: +# (actually we leave an empty line to preserve line numbers). mgl@1371: +if test "x$srcdir" = x.; then mgl@1371: + ac_vpsub='/^[ ]*VPATH[ ]*=/{ mgl@1371: +s/:*\$(srcdir):*/:/ mgl@1371: +s/:*\${srcdir}:*/:/ mgl@1371: +s/:*@srcdir@:*/:/ mgl@1371: +s/^\([^=]*=[ ]*\):*/\1/ mgl@1371: +s/:*$// mgl@1371: +s/^[^=]*=[ ]*$// mgl@1371: +}' mgl@1371: +fi mgl@1371: + mgl@1371: cat >>$CONFIG_STATUS <<\_ACEOF mgl@1371: -for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue mgl@1371: - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". mgl@1371: - case $ac_file in mgl@1371: - - | *:- | *:-:* ) # input from stdin mgl@1371: - cat >$tmp/stdin mgl@1371: - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` mgl@1371: - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; mgl@1371: - *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` mgl@1371: - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; mgl@1371: - * ) ac_file_in=$ac_file.in ;; mgl@1371: +fi # test -n "$CONFIG_FILES" mgl@1371: + mgl@1371: + mgl@1371: +for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS mgl@1371: +do mgl@1371: + case $ac_tag in mgl@1371: + :[FHLC]) ac_mode=$ac_tag; continue;; mgl@1371: + esac mgl@1371: + case $ac_mode$ac_tag in mgl@1371: + :[FHL]*:*);; mgl@1371: + :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 mgl@1371: +echo "$as_me: error: Invalid tag $ac_tag." >&2;} mgl@1371: + { (exit 1); exit 1; }; };; mgl@1371: + :[FH]-) ac_tag=-:-;; mgl@1371: + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; mgl@1371: + esac mgl@1371: + ac_save_IFS=$IFS mgl@1371: + IFS=: mgl@1371: + set x $ac_tag mgl@1371: + IFS=$ac_save_IFS mgl@1371: + shift mgl@1371: + ac_file=$1 mgl@1371: + shift mgl@1371: + mgl@1371: + case $ac_mode in mgl@1371: + :L) ac_source=$1;; mgl@1371: + :[FH]) mgl@1371: + ac_file_inputs= mgl@1371: + for ac_f mgl@1371: + do mgl@1371: + case $ac_f in mgl@1371: + -) ac_f="$tmp/stdin";; mgl@1371: + *) # Look for the file first in the build tree, then in the source tree mgl@1371: + # (if the path is not absolute). The absolute path cannot be DOS-style, mgl@1371: + # because $ac_f cannot contain `:'. mgl@1371: + test -f "$ac_f" || mgl@1371: + case $ac_f in mgl@1371: + [\\/$]*) false;; mgl@1371: + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; mgl@1371: + esac || mgl@1371: + { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 mgl@1371: +echo "$as_me: error: cannot find input file: $ac_f" >&2;} mgl@1371: + { (exit 1); exit 1; }; };; mgl@1371: + esac mgl@1371: + ac_file_inputs="$ac_file_inputs $ac_f" mgl@1371: + done mgl@1371: + mgl@1371: + # Let's still pretend it is `configure' which instantiates (i.e., don't mgl@1371: + # use $as_me), people would be surprised to read: mgl@1371: + # /* config.h. Generated by config.status. */ mgl@1371: + configure_input="Generated from "`IFS=: mgl@1371: + echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." mgl@1371: + if test x"$ac_file" != x-; then mgl@1371: + configure_input="$ac_file. $configure_input" mgl@1371: + { echo "$as_me:$LINENO: creating $ac_file" >&5 mgl@1371: +echo "$as_me: creating $ac_file" >&6;} mgl@1371: + fi mgl@1371: + mgl@1371: + case $ac_tag in mgl@1371: + *:-:* | *:-) cat >"$tmp/stdin";; mgl@1371: + esac mgl@1371: + ;; mgl@1371: esac mgl@1371: mgl@1371: - # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. mgl@1371: - ac_dir=`(dirname "$ac_file") 2>/dev/null || mgl@1371: + ac_dir=`$as_dirname -- "$ac_file" || mgl@1371: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ mgl@1371: X"$ac_file" : 'X\(//\)[^/]' \| \ mgl@1371: X"$ac_file" : 'X\(//\)$' \| \ mgl@1371: - X"$ac_file" : 'X\(/\)' \| \ mgl@1371: - . : '\(.\)' 2>/dev/null || mgl@1371: + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || mgl@1371: echo X"$ac_file" | mgl@1371: - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } mgl@1371: - /^X\(\/\/\)[^/].*/{ s//\1/; q; } mgl@1371: - /^X\(\/\/\)$/{ s//\1/; q; } mgl@1371: - /^X\(\/\).*/{ s//\1/; q; } mgl@1371: - s/.*/./; q'` mgl@1371: - { if $as_mkdir_p; then mgl@1371: - mkdir -p "$ac_dir" mgl@1371: - else mgl@1371: - as_dir="$ac_dir" mgl@1371: + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + /^X\(\/\/\)[^/].*/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + /^X\(\/\/\)$/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + /^X\(\/\).*/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + s/.*/./; q'` mgl@1371: + { as_dir="$ac_dir" mgl@1371: + case $as_dir in #( mgl@1371: + -*) as_dir=./$as_dir;; mgl@1371: + esac mgl@1371: + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { mgl@1371: as_dirs= mgl@1371: - while test ! -d "$as_dir"; do mgl@1371: - as_dirs="$as_dir $as_dirs" mgl@1371: - as_dir=`(dirname "$as_dir") 2>/dev/null || mgl@1371: + while :; do mgl@1371: + case $as_dir in #( mgl@1371: + *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( mgl@1371: + *) as_qdir=$as_dir;; mgl@1371: + esac mgl@1371: + as_dirs="'$as_qdir' $as_dirs" mgl@1371: + as_dir=`$as_dirname -- "$as_dir" || mgl@1371: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ mgl@1371: X"$as_dir" : 'X\(//\)[^/]' \| \ mgl@1371: X"$as_dir" : 'X\(//\)$' \| \ mgl@1371: - X"$as_dir" : 'X\(/\)' \| \ mgl@1371: - . : '\(.\)' 2>/dev/null || mgl@1371: + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || mgl@1371: echo X"$as_dir" | mgl@1371: - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } mgl@1371: - /^X\(\/\/\)[^/].*/{ s//\1/; q; } mgl@1371: - /^X\(\/\/\)$/{ s//\1/; q; } mgl@1371: - /^X\(\/\).*/{ s//\1/; q; } mgl@1371: - s/.*/./; q'` mgl@1371: + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + /^X\(\/\/\)[^/].*/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + /^X\(\/\/\)$/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + /^X\(\/\).*/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + s/.*/./; q'` mgl@1371: + test -d "$as_dir" && break mgl@1371: done mgl@1371: - test ! -n "$as_dirs" || mkdir $as_dirs mgl@1371: - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 mgl@1371: -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} mgl@1371: + test -z "$as_dirs" || eval "mkdir $as_dirs" mgl@1371: + } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 mgl@1371: +echo "$as_me: error: cannot create directory $as_dir" >&2;} mgl@1371: { (exit 1); exit 1; }; }; } mgl@1371: - mgl@1371: ac_builddir=. mgl@1371: mgl@1371: -if test "$ac_dir" != .; then mgl@1371: +case "$ac_dir" in mgl@1371: +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; mgl@1371: +*) mgl@1371: ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` mgl@1371: - # A "../" for each directory in $ac_dir_suffix. mgl@1371: - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` mgl@1371: -else mgl@1371: - ac_dir_suffix= ac_top_builddir= mgl@1371: -fi mgl@1371: + # A ".." for each directory in $ac_dir_suffix. mgl@1371: + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` mgl@1371: + case $ac_top_builddir_sub in mgl@1371: + "") ac_top_builddir_sub=. ac_top_build_prefix= ;; mgl@1371: + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; mgl@1371: + esac ;; mgl@1371: +esac mgl@1371: +ac_abs_top_builddir=$ac_pwd mgl@1371: +ac_abs_builddir=$ac_pwd$ac_dir_suffix mgl@1371: +# for backward compatibility: mgl@1371: +ac_top_builddir=$ac_top_build_prefix mgl@1371: mgl@1371: case $srcdir in mgl@1371: - .) # No --srcdir option. We are building in place. mgl@1371: + .) # We are building in place. mgl@1371: ac_srcdir=. mgl@1371: - if test -z "$ac_top_builddir"; then mgl@1371: - ac_top_srcdir=. mgl@1371: - else mgl@1371: - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` mgl@1371: - fi ;; mgl@1371: - [\\/]* | ?:[\\/]* ) # Absolute path. mgl@1371: + ac_top_srcdir=$ac_top_builddir_sub mgl@1371: + ac_abs_top_srcdir=$ac_pwd ;; mgl@1371: + [\\/]* | ?:[\\/]* ) # Absolute name. mgl@1371: ac_srcdir=$srcdir$ac_dir_suffix; mgl@1371: - ac_top_srcdir=$srcdir ;; mgl@1371: - *) # Relative path. mgl@1371: - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix mgl@1371: - ac_top_srcdir=$ac_top_builddir$srcdir ;; mgl@1371: -esac mgl@1371: + ac_top_srcdir=$srcdir mgl@1371: + ac_abs_top_srcdir=$srcdir ;; mgl@1371: + *) # Relative name. mgl@1371: + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix mgl@1371: + ac_top_srcdir=$ac_top_build_prefix$srcdir mgl@1371: + ac_abs_top_srcdir=$ac_pwd/$srcdir ;; mgl@1371: +esac mgl@1371: +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix mgl@1371: mgl@1371: -# Do not use `cd foo && pwd` to compute absolute paths, because mgl@1371: -# the directories may not exist. mgl@1371: -case `pwd` in mgl@1371: -.) ac_abs_builddir="$ac_dir";; mgl@1371: -*) mgl@1371: - case "$ac_dir" in mgl@1371: - .) ac_abs_builddir=`pwd`;; mgl@1371: - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; mgl@1371: - *) ac_abs_builddir=`pwd`/"$ac_dir";; mgl@1371: - esac;; mgl@1371: -esac mgl@1371: -case $ac_abs_builddir in mgl@1371: -.) ac_abs_top_builddir=${ac_top_builddir}.;; mgl@1371: -*) mgl@1371: - case ${ac_top_builddir}. in mgl@1371: - .) ac_abs_top_builddir=$ac_abs_builddir;; mgl@1371: - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; mgl@1371: - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; mgl@1371: - esac;; mgl@1371: -esac mgl@1371: -case $ac_abs_builddir in mgl@1371: -.) ac_abs_srcdir=$ac_srcdir;; mgl@1371: -*) mgl@1371: - case $ac_srcdir in mgl@1371: - .) ac_abs_srcdir=$ac_abs_builddir;; mgl@1371: - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; mgl@1371: - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; mgl@1371: - esac;; mgl@1371: -esac mgl@1371: -case $ac_abs_builddir in mgl@1371: -.) ac_abs_top_srcdir=$ac_top_srcdir;; mgl@1371: -*) mgl@1371: - case $ac_top_srcdir in mgl@1371: - .) ac_abs_top_srcdir=$ac_abs_builddir;; mgl@1371: - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; mgl@1371: - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; mgl@1371: - esac;; mgl@1371: -esac mgl@1371: mgl@1371: + case $ac_mode in mgl@1371: + :F) mgl@1371: + # mgl@1371: + # CONFIG_FILE mgl@1371: + # mgl@1371: mgl@1371: case $INSTALL in mgl@1371: [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; mgl@1371: - *) ac_INSTALL=$ac_top_builddir$INSTALL ;; mgl@1371: + *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; mgl@1371: esac mgl@1371: +_ACEOF mgl@1371: mgl@1371: - if test x"$ac_file" != x-; then mgl@1371: - { echo "$as_me:$LINENO: creating $ac_file" >&5 mgl@1371: -echo "$as_me: creating $ac_file" >&6;} mgl@1371: - rm -f "$ac_file" mgl@1371: - fi mgl@1371: - # Let's still pretend it is `configure' which instantiates (i.e., don't mgl@1371: - # use $as_me), people would be surprised to read: mgl@1371: - # /* config.h. Generated by config.status. */ mgl@1371: - if test x"$ac_file" = x-; then mgl@1371: - configure_input= mgl@1371: - else mgl@1371: - configure_input="$ac_file. " mgl@1371: - fi mgl@1371: - configure_input=$configure_input"Generated from `echo $ac_file_in | mgl@1371: - sed 's,.*/,,'` by configure." mgl@1371: - mgl@1371: - # First look for the input files in the build tree, otherwise in the mgl@1371: - # src tree. mgl@1371: - ac_file_inputs=`IFS=: mgl@1371: - for f in $ac_file_in; do mgl@1371: - case $f in mgl@1371: - -) echo $tmp/stdin ;; mgl@1371: - [\\/$]*) mgl@1371: - # Absolute (can't be DOS-style, as IFS=:) mgl@1371: - test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 mgl@1371: -echo "$as_me: error: cannot find input file: $f" >&2;} mgl@1371: - { (exit 1); exit 1; }; } mgl@1371: - echo "$f";; mgl@1371: - *) # Relative mgl@1371: - if test -f "$f"; then mgl@1371: - # Build tree mgl@1371: - echo "$f" mgl@1371: - elif test -f "$srcdir/$f"; then mgl@1371: - # Source tree mgl@1371: - echo "$srcdir/$f" mgl@1371: - else mgl@1371: - # /dev/null tree mgl@1371: - { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 mgl@1371: -echo "$as_me: error: cannot find input file: $f" >&2;} mgl@1371: - { (exit 1); exit 1; }; } mgl@1371: - fi;; mgl@1371: - esac mgl@1371: - done` || { (exit 1); exit 1; } mgl@1371: +cat >>$CONFIG_STATUS <<\_ACEOF mgl@1371: +# If the template does not know about datarootdir, expand it. mgl@1371: +# FIXME: This hack should be removed a few years after 2.60. mgl@1371: +ac_datarootdir_hack=; ac_datarootdir_seen= mgl@1371: + mgl@1371: +case `sed -n '/datarootdir/ { mgl@1371: + p mgl@1371: + q mgl@1371: +} mgl@1371: +/@datadir@/p mgl@1371: +/@docdir@/p mgl@1371: +/@infodir@/p mgl@1371: +/@localedir@/p mgl@1371: +/@mandir@/p mgl@1371: +' $ac_file_inputs` in mgl@1371: +*datarootdir*) ac_datarootdir_seen=yes;; mgl@1371: +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) mgl@1371: + { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 mgl@1371: +echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} mgl@1371: +_ACEOF mgl@1371: +cat >>$CONFIG_STATUS <<_ACEOF mgl@1371: + ac_datarootdir_hack=' mgl@1371: + s&@datadir@&$datadir&g mgl@1371: + s&@docdir@&$docdir&g mgl@1371: + s&@infodir@&$infodir&g mgl@1371: + s&@localedir@&$localedir&g mgl@1371: + s&@mandir@&$mandir&g mgl@1371: + s&\\\${datarootdir}&$datarootdir&g' ;; mgl@1371: +esac mgl@1371: _ACEOF mgl@1371: + mgl@1371: +# Neutralize VPATH when `$srcdir' = `.'. mgl@1371: +# Shell code in configure.ac might set extrasub. mgl@1371: +# FIXME: do we really want to maintain this feature? mgl@1371: cat >>$CONFIG_STATUS <<_ACEOF mgl@1371: sed "$ac_vpsub mgl@1371: $extrasub mgl@1371: @@ -12859,142 +13973,43 @@ mgl@1371: cat >>$CONFIG_STATUS <<\_ACEOF mgl@1371: :t mgl@1371: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b mgl@1371: -s,@configure_input@,$configure_input,;t t mgl@1371: -s,@srcdir@,$ac_srcdir,;t t mgl@1371: -s,@abs_srcdir@,$ac_abs_srcdir,;t t mgl@1371: -s,@top_srcdir@,$ac_top_srcdir,;t t mgl@1371: -s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t mgl@1371: -s,@builddir@,$ac_builddir,;t t mgl@1371: -s,@abs_builddir@,$ac_abs_builddir,;t t mgl@1371: -s,@top_builddir@,$ac_top_builddir,;t t mgl@1371: -s,@abs_top_builddir@,$ac_abs_top_builddir,;t t mgl@1371: -s,@INSTALL@,$ac_INSTALL,;t t mgl@1371: -" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out mgl@1371: - rm -f $tmp/stdin mgl@1371: - if test x"$ac_file" != x-; then mgl@1371: - mv $tmp/out $ac_file mgl@1371: - else mgl@1371: - cat $tmp/out mgl@1371: - rm -f $tmp/out mgl@1371: - fi mgl@1371: - mgl@1371: -done mgl@1371: -_ACEOF mgl@1371: -cat >>$CONFIG_STATUS <<\_ACEOF mgl@1371: - mgl@1371: -# mgl@1371: -# CONFIG_COMMANDS section. mgl@1371: -# mgl@1371: -for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue mgl@1371: - ac_dest=`echo "$ac_file" | sed 's,:.*,,'` mgl@1371: - ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` mgl@1371: - ac_dir=`(dirname "$ac_dest") 2>/dev/null || mgl@1371: -$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ mgl@1371: - X"$ac_dest" : 'X\(//\)[^/]' \| \ mgl@1371: - X"$ac_dest" : 'X\(//\)$' \| \ mgl@1371: - X"$ac_dest" : 'X\(/\)' \| \ mgl@1371: - . : '\(.\)' 2>/dev/null || mgl@1371: -echo X"$ac_dest" | mgl@1371: - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } mgl@1371: - /^X\(\/\/\)[^/].*/{ s//\1/; q; } mgl@1371: - /^X\(\/\/\)$/{ s//\1/; q; } mgl@1371: - /^X\(\/\).*/{ s//\1/; q; } mgl@1371: - s/.*/./; q'` mgl@1371: - { if $as_mkdir_p; then mgl@1371: - mkdir -p "$ac_dir" mgl@1371: - else mgl@1371: - as_dir="$ac_dir" mgl@1371: - as_dirs= mgl@1371: - while test ! -d "$as_dir"; do mgl@1371: - as_dirs="$as_dir $as_dirs" mgl@1371: - as_dir=`(dirname "$as_dir") 2>/dev/null || mgl@1371: -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ mgl@1371: - X"$as_dir" : 'X\(//\)[^/]' \| \ mgl@1371: - X"$as_dir" : 'X\(//\)$' \| \ mgl@1371: - X"$as_dir" : 'X\(/\)' \| \ mgl@1371: - . : '\(.\)' 2>/dev/null || mgl@1371: -echo X"$as_dir" | mgl@1371: - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } mgl@1371: - /^X\(\/\/\)[^/].*/{ s//\1/; q; } mgl@1371: - /^X\(\/\/\)$/{ s//\1/; q; } mgl@1371: - /^X\(\/\).*/{ s//\1/; q; } mgl@1371: - s/.*/./; q'` mgl@1371: - done mgl@1371: - test ! -n "$as_dirs" || mkdir $as_dirs mgl@1371: - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 mgl@1371: -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} mgl@1371: - { (exit 1); exit 1; }; }; } mgl@1371: +s&@configure_input@&$configure_input&;t t mgl@1371: +s&@top_builddir@&$ac_top_builddir_sub&;t t mgl@1371: +s&@srcdir@&$ac_srcdir&;t t mgl@1371: +s&@abs_srcdir@&$ac_abs_srcdir&;t t mgl@1371: +s&@top_srcdir@&$ac_top_srcdir&;t t mgl@1371: +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t mgl@1371: +s&@builddir@&$ac_builddir&;t t mgl@1371: +s&@abs_builddir@&$ac_abs_builddir&;t t mgl@1371: +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t mgl@1371: +s&@INSTALL@&$ac_INSTALL&;t t mgl@1371: +$ac_datarootdir_hack mgl@1371: +" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out mgl@1371: + mgl@1371: +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && mgl@1371: + { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && mgl@1371: + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && mgl@1371: + { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' mgl@1371: +which seems to be undefined. Please make sure it is defined." >&5 mgl@1371: +echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' mgl@1371: +which seems to be undefined. Please make sure it is defined." >&2;} mgl@1371: mgl@1371: - ac_builddir=. mgl@1371: - mgl@1371: -if test "$ac_dir" != .; then mgl@1371: - ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` mgl@1371: - # A "../" for each directory in $ac_dir_suffix. mgl@1371: - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` mgl@1371: -else mgl@1371: - ac_dir_suffix= ac_top_builddir= mgl@1371: -fi mgl@1371: + rm -f "$tmp/stdin" mgl@1371: + case $ac_file in mgl@1371: + -) cat "$tmp/out"; rm -f "$tmp/out";; mgl@1371: + *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; mgl@1371: + esac mgl@1371: + ;; mgl@1371: mgl@1371: -case $srcdir in mgl@1371: - .) # No --srcdir option. We are building in place. mgl@1371: - ac_srcdir=. mgl@1371: - if test -z "$ac_top_builddir"; then mgl@1371: - ac_top_srcdir=. mgl@1371: - else mgl@1371: - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` mgl@1371: - fi ;; mgl@1371: - [\\/]* | ?:[\\/]* ) # Absolute path. mgl@1371: - ac_srcdir=$srcdir$ac_dir_suffix; mgl@1371: - ac_top_srcdir=$srcdir ;; mgl@1371: - *) # Relative path. mgl@1371: - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix mgl@1371: - ac_top_srcdir=$ac_top_builddir$srcdir ;; mgl@1371: -esac mgl@1371: mgl@1371: -# Do not use `cd foo && pwd` to compute absolute paths, because mgl@1371: -# the directories may not exist. mgl@1371: -case `pwd` in mgl@1371: -.) ac_abs_builddir="$ac_dir";; mgl@1371: -*) mgl@1371: - case "$ac_dir" in mgl@1371: - .) ac_abs_builddir=`pwd`;; mgl@1371: - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; mgl@1371: - *) ac_abs_builddir=`pwd`/"$ac_dir";; mgl@1371: - esac;; mgl@1371: -esac mgl@1371: -case $ac_abs_builddir in mgl@1371: -.) ac_abs_top_builddir=${ac_top_builddir}.;; mgl@1371: -*) mgl@1371: - case ${ac_top_builddir}. in mgl@1371: - .) ac_abs_top_builddir=$ac_abs_builddir;; mgl@1371: - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; mgl@1371: - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; mgl@1371: - esac;; mgl@1371: -esac mgl@1371: -case $ac_abs_builddir in mgl@1371: -.) ac_abs_srcdir=$ac_srcdir;; mgl@1371: -*) mgl@1371: - case $ac_srcdir in mgl@1371: - .) ac_abs_srcdir=$ac_abs_builddir;; mgl@1371: - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; mgl@1371: - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; mgl@1371: - esac;; mgl@1371: -esac mgl@1371: -case $ac_abs_builddir in mgl@1371: -.) ac_abs_top_srcdir=$ac_top_srcdir;; mgl@1371: -*) mgl@1371: - case $ac_top_srcdir in mgl@1371: - .) ac_abs_top_srcdir=$ac_abs_builddir;; mgl@1371: - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; mgl@1371: - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; mgl@1371: - esac;; mgl@1371: -esac mgl@1371: + :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5 mgl@1371: +echo "$as_me: executing $ac_file commands" >&6;} mgl@1371: + ;; mgl@1371: + esac mgl@1371: mgl@1371: mgl@1371: - { echo "$as_me:$LINENO: executing $ac_dest commands" >&5 mgl@1371: -echo "$as_me: executing $ac_dest commands" >&6;} mgl@1371: - case $ac_dest in mgl@1371: - depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do mgl@1371: + case $ac_file$ac_mode in mgl@1371: + "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do mgl@1371: # Strip MF so we end up with the name of the file. mgl@1371: mf=`echo "$mf" | sed -e 's/:.*$//'` mgl@1371: # Check whether this is an Automake generated Makefile or not. mgl@1371: @@ -13004,18 +14019,29 @@ mgl@1371: # each Makefile.in and add a new line on top of each file to say so. mgl@1371: # So let's grep whole file. mgl@1371: if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then mgl@1371: - dirpart=`(dirname "$mf") 2>/dev/null || mgl@1371: + dirpart=`$as_dirname -- "$mf" || mgl@1371: $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ mgl@1371: X"$mf" : 'X\(//\)[^/]' \| \ mgl@1371: X"$mf" : 'X\(//\)$' \| \ mgl@1371: - X"$mf" : 'X\(/\)' \| \ mgl@1371: - . : '\(.\)' 2>/dev/null || mgl@1371: + X"$mf" : 'X\(/\)' \| . 2>/dev/null || mgl@1371: echo X"$mf" | mgl@1371: - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } mgl@1371: - /^X\(\/\/\)[^/].*/{ s//\1/; q; } mgl@1371: - /^X\(\/\/\)$/{ s//\1/; q; } mgl@1371: - /^X\(\/\).*/{ s//\1/; q; } mgl@1371: - s/.*/./; q'` mgl@1371: + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + /^X\(\/\/\)[^/].*/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + /^X\(\/\/\)$/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + /^X\(\/\).*/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + s/.*/./; q'` mgl@1371: else mgl@1371: continue mgl@1371: fi mgl@1371: @@ -13037,49 +14063,76 @@ mgl@1371: sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do mgl@1371: # Make sure the directory exists. mgl@1371: test -f "$dirpart/$file" && continue mgl@1371: - fdir=`(dirname "$file") 2>/dev/null || mgl@1371: + fdir=`$as_dirname -- "$file" || mgl@1371: $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ mgl@1371: X"$file" : 'X\(//\)[^/]' \| \ mgl@1371: X"$file" : 'X\(//\)$' \| \ mgl@1371: - X"$file" : 'X\(/\)' \| \ mgl@1371: - . : '\(.\)' 2>/dev/null || mgl@1371: + X"$file" : 'X\(/\)' \| . 2>/dev/null || mgl@1371: echo X"$file" | mgl@1371: - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } mgl@1371: - /^X\(\/\/\)[^/].*/{ s//\1/; q; } mgl@1371: - /^X\(\/\/\)$/{ s//\1/; q; } mgl@1371: - /^X\(\/\).*/{ s//\1/; q; } mgl@1371: - s/.*/./; q'` mgl@1371: - { if $as_mkdir_p; then mgl@1371: - mkdir -p $dirpart/$fdir mgl@1371: - else mgl@1371: - as_dir=$dirpart/$fdir mgl@1371: + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + /^X\(\/\/\)[^/].*/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + /^X\(\/\/\)$/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + /^X\(\/\).*/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + s/.*/./; q'` mgl@1371: + { as_dir=$dirpart/$fdir mgl@1371: + case $as_dir in #( mgl@1371: + -*) as_dir=./$as_dir;; mgl@1371: + esac mgl@1371: + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { mgl@1371: as_dirs= mgl@1371: - while test ! -d "$as_dir"; do mgl@1371: - as_dirs="$as_dir $as_dirs" mgl@1371: - as_dir=`(dirname "$as_dir") 2>/dev/null || mgl@1371: + while :; do mgl@1371: + case $as_dir in #( mgl@1371: + *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( mgl@1371: + *) as_qdir=$as_dir;; mgl@1371: + esac mgl@1371: + as_dirs="'$as_qdir' $as_dirs" mgl@1371: + as_dir=`$as_dirname -- "$as_dir" || mgl@1371: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ mgl@1371: X"$as_dir" : 'X\(//\)[^/]' \| \ mgl@1371: X"$as_dir" : 'X\(//\)$' \| \ mgl@1371: - X"$as_dir" : 'X\(/\)' \| \ mgl@1371: - . : '\(.\)' 2>/dev/null || mgl@1371: + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || mgl@1371: echo X"$as_dir" | mgl@1371: - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } mgl@1371: - /^X\(\/\/\)[^/].*/{ s//\1/; q; } mgl@1371: - /^X\(\/\/\)$/{ s//\1/; q; } mgl@1371: - /^X\(\/\).*/{ s//\1/; q; } mgl@1371: - s/.*/./; q'` mgl@1371: + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + /^X\(\/\/\)[^/].*/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + /^X\(\/\/\)$/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + /^X\(\/\).*/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + s/.*/./; q'` mgl@1371: + test -d "$as_dir" && break mgl@1371: done mgl@1371: - test ! -n "$as_dirs" || mkdir $as_dirs mgl@1371: - fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5 mgl@1371: -echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;} mgl@1371: + test -z "$as_dirs" || eval "mkdir $as_dirs" mgl@1371: + } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 mgl@1371: +echo "$as_me: error: cannot create directory $as_dir" >&2;} mgl@1371: { (exit 1); exit 1; }; }; } mgl@1371: - mgl@1371: # echo "creating $dirpart/$file" mgl@1371: echo '# dummy' > "$dirpart/$file" mgl@1371: done mgl@1371: done mgl@1371: ;; mgl@1371: - libtool ) mgl@1371: + "libtool":C) mgl@1371: mgl@1371: # See if we are running on zsh, and set the options which allow our mgl@1371: # commands through without removal of \ escapes. mgl@1371: @@ -13720,11 +14773,10 @@ mgl@1371: chmod +x "$ofile" mgl@1371: mgl@1371: ;; mgl@1371: + mgl@1371: esac mgl@1371: -done mgl@1371: -_ACEOF mgl@1371: +done # for ac_tag mgl@1371: mgl@1371: -cat >>$CONFIG_STATUS <<\_ACEOF mgl@1371: mgl@1371: { (exit 0); exit 0; } mgl@1371: _ACEOF mgl@1371: @@ -13754,7 +14806,7 @@ mgl@1371: fi mgl@1371: mgl@1371: # mgl@1371: -# CONFIG_SUBDIRS section, as fixed in confsubdir.m4. mgl@1371: +# CONFIG_SUBDIRS section. mgl@1371: # mgl@1371: if test "$no_recursion" != yes; then mgl@1371: mgl@1371: @@ -13801,7 +14853,12 @@ mgl@1371: case $ac_arg in mgl@1371: *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; mgl@1371: esac mgl@1371: - ac_sub_configure_args="$ac_arg $ac_sub_configure_args" mgl@1371: + ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args" mgl@1371: + mgl@1371: + # Pass --silent mgl@1371: + if test "$silent" = yes; then mgl@1371: + ac_sub_configure_args="--silent $ac_sub_configure_args" mgl@1371: + fi mgl@1371: mgl@1371: ac_popdir=`pwd` mgl@1371: for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue mgl@1371: @@ -13810,97 +14867,83 @@ mgl@1371: # parts of a large source tree are present. mgl@1371: test -d "$srcdir/$ac_dir" || continue mgl@1371: mgl@1371: - { echo "$as_me:$LINENO: configuring in $ac_dir" >&5 mgl@1371: -echo "$as_me: configuring in $ac_dir" >&6;} mgl@1371: - { if $as_mkdir_p; then mgl@1371: - mkdir -p "$ac_dir" mgl@1371: - else mgl@1371: - as_dir="$ac_dir" mgl@1371: + ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)" mgl@1371: + echo "$as_me:$LINENO: $ac_msg" >&5 mgl@1371: + echo "$ac_msg" >&6 mgl@1371: + { as_dir="$ac_dir" mgl@1371: + case $as_dir in #( mgl@1371: + -*) as_dir=./$as_dir;; mgl@1371: + esac mgl@1371: + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { mgl@1371: as_dirs= mgl@1371: - while test ! -d "$as_dir"; do mgl@1371: - as_dirs="$as_dir $as_dirs" mgl@1371: - as_dir=`(dirname "$as_dir") 2>/dev/null || mgl@1371: + while :; do mgl@1371: + case $as_dir in #( mgl@1371: + *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( mgl@1371: + *) as_qdir=$as_dir;; mgl@1371: + esac mgl@1371: + as_dirs="'$as_qdir' $as_dirs" mgl@1371: + as_dir=`$as_dirname -- "$as_dir" || mgl@1371: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ mgl@1371: X"$as_dir" : 'X\(//\)[^/]' \| \ mgl@1371: X"$as_dir" : 'X\(//\)$' \| \ mgl@1371: - X"$as_dir" : 'X\(/\)' \| \ mgl@1371: - . : '\(.\)' 2>/dev/null || mgl@1371: + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || mgl@1371: echo X"$as_dir" | mgl@1371: - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } mgl@1371: - /^X\(\/\/\)[^/].*/{ s//\1/; q; } mgl@1371: - /^X\(\/\/\)$/{ s//\1/; q; } mgl@1371: - /^X\(\/\).*/{ s//\1/; q; } mgl@1371: - s/.*/./; q'` mgl@1371: + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + /^X\(\/\/\)[^/].*/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + /^X\(\/\/\)$/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + /^X\(\/\).*/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + s/.*/./; q'` mgl@1371: + test -d "$as_dir" && break mgl@1371: done mgl@1371: - test ! -n "$as_dirs" || mkdir $as_dirs mgl@1371: - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 mgl@1371: -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} mgl@1371: + test -z "$as_dirs" || eval "mkdir $as_dirs" mgl@1371: + } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 mgl@1371: +echo "$as_me: error: cannot create directory $as_dir" >&2;} mgl@1371: { (exit 1); exit 1; }; }; } mgl@1371: - mgl@1371: ac_builddir=. mgl@1371: mgl@1371: -if test "$ac_dir" != .; then mgl@1371: +case "$ac_dir" in mgl@1371: +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; mgl@1371: +*) mgl@1371: ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` mgl@1371: - # A "../" for each directory in $ac_dir_suffix. mgl@1371: - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` mgl@1371: -else mgl@1371: - ac_dir_suffix= ac_top_builddir= mgl@1371: -fi mgl@1371: + # A ".." for each directory in $ac_dir_suffix. mgl@1371: + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` mgl@1371: + case $ac_top_builddir_sub in mgl@1371: + "") ac_top_builddir_sub=. ac_top_build_prefix= ;; mgl@1371: + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; mgl@1371: + esac ;; mgl@1371: +esac mgl@1371: +ac_abs_top_builddir=$ac_pwd mgl@1371: +ac_abs_builddir=$ac_pwd$ac_dir_suffix mgl@1371: +# for backward compatibility: mgl@1371: +ac_top_builddir=$ac_top_build_prefix mgl@1371: mgl@1371: case $srcdir in mgl@1371: - .) # No --srcdir option. We are building in place. mgl@1371: + .) # We are building in place. mgl@1371: ac_srcdir=. mgl@1371: - if test -z "$ac_top_builddir"; then mgl@1371: - ac_top_srcdir=. mgl@1371: - else mgl@1371: - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` mgl@1371: - fi ;; mgl@1371: - [\\/]* | ?:[\\/]* ) # Absolute path. mgl@1371: + ac_top_srcdir=$ac_top_builddir_sub mgl@1371: + ac_abs_top_srcdir=$ac_pwd ;; mgl@1371: + [\\/]* | ?:[\\/]* ) # Absolute name. mgl@1371: ac_srcdir=$srcdir$ac_dir_suffix; mgl@1371: - ac_top_srcdir=$srcdir ;; mgl@1371: - *) # Relative path. mgl@1371: - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix mgl@1371: - ac_top_srcdir=$ac_top_builddir$srcdir ;; mgl@1371: -esac mgl@1371: - mgl@1371: -# Do not use `cd foo && pwd` to compute absolute paths, because mgl@1371: -# the directories may not exist. mgl@1371: -case `pwd` in mgl@1371: -.) ac_abs_builddir="$ac_dir";; mgl@1371: -*) mgl@1371: - case "$ac_dir" in mgl@1371: - .) ac_abs_builddir=`pwd`;; mgl@1371: - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; mgl@1371: - *) ac_abs_builddir=`pwd`/"$ac_dir";; mgl@1371: - esac;; mgl@1371: -esac mgl@1371: -case $ac_abs_builddir in mgl@1371: -.) ac_abs_top_builddir=${ac_top_builddir}.;; mgl@1371: -*) mgl@1371: - case ${ac_top_builddir}. in mgl@1371: - .) ac_abs_top_builddir=$ac_abs_builddir;; mgl@1371: - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; mgl@1371: - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; mgl@1371: - esac;; mgl@1371: -esac mgl@1371: -case $ac_abs_builddir in mgl@1371: -.) ac_abs_srcdir=$ac_srcdir;; mgl@1371: -*) mgl@1371: - case $ac_srcdir in mgl@1371: - .) ac_abs_srcdir=$ac_abs_builddir;; mgl@1371: - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; mgl@1371: - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; mgl@1371: - esac;; mgl@1371: -esac mgl@1371: -case $ac_abs_builddir in mgl@1371: -.) ac_abs_top_srcdir=$ac_top_srcdir;; mgl@1371: -*) mgl@1371: - case $ac_top_srcdir in mgl@1371: - .) ac_abs_top_srcdir=$ac_abs_builddir;; mgl@1371: - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; mgl@1371: - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; mgl@1371: - esac;; mgl@1371: + ac_top_srcdir=$srcdir mgl@1371: + ac_abs_top_srcdir=$srcdir ;; mgl@1371: + *) # Relative name. mgl@1371: + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix mgl@1371: + ac_top_srcdir=$ac_top_build_prefix$srcdir mgl@1371: + ac_abs_top_srcdir=$ac_pwd/$srcdir ;; mgl@1371: esac mgl@1371: +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix mgl@1371: mgl@1371: mgl@1371: cd "$ac_dir" mgl@1371: @@ -13924,8 +14967,8 @@ mgl@1371: # Make the cache file name correct relative to the subdirectory. mgl@1371: case $cache_file in mgl@1371: [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;; mgl@1371: - *) # Relative path. mgl@1371: - ac_sub_cache_file=$ac_top_builddir$cache_file ;; mgl@1371: + *) # Relative name. mgl@1371: + ac_sub_cache_file=$ac_top_build_prefix$cache_file ;; mgl@1371: esac mgl@1371: mgl@1371: { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5 mgl@1371: diff -Naur newlib-1.17.0/newlib/libc/machine/configure.in newlib-1.17.0-new/newlib/libc/machine/configure.in mgl@1371: --- newlib-1.17.0/newlib/libc/machine/configure.in 2008-12-11 21:05:38.000000000 +0100 mgl@1371: +++ newlib-1.17.0-new/newlib/libc/machine/configure.in 2009-05-22 09:57:50.000000000 +0200 mgl@1371: @@ -24,6 +24,7 @@ mgl@1371: case ${machine_dir} in mgl@1371: a29k) AC_CONFIG_SUBDIRS(a29k) ;; mgl@1371: arm) AC_CONFIG_SUBDIRS(arm) ;; mgl@1371: + avr32) AC_CONFIG_SUBDIRS(avr32) ;; mgl@1371: bfin) AC_CONFIG_SUBDIRS(bfin) ;; mgl@1371: cris) AC_CONFIG_SUBDIRS(cris) ;; mgl@1371: crx) AC_CONFIG_SUBDIRS(crx) ;; mgl@1371: diff -Naur newlib-1.17.0/newlib/libc/sys/avr32/aclocal.m4 newlib-1.17.0-new/newlib/libc/sys/avr32/aclocal.m4 mgl@1371: --- newlib-1.17.0/newlib/libc/sys/avr32/aclocal.m4 1970-01-01 01:00:00.000000000 +0100 mgl@1371: +++ newlib-1.17.0-new/newlib/libc/sys/avr32/aclocal.m4 2009-05-22 09:57:50.000000000 +0200 mgl@1371: @@ -0,0 +1,366 @@ mgl@1371: +dnl aclocal.m4 generated automatically by aclocal 1.4-p6 mgl@1371: + mgl@1371: +dnl Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc. mgl@1371: +dnl This file is free software; the Free Software Foundation mgl@1371: +dnl gives unlimited permission to copy and/or distribute it, mgl@1371: +dnl with or without modifications, as long as this notice is preserved. mgl@1371: + mgl@1371: +dnl This program is distributed in the hope that it will be useful, mgl@1371: +dnl but WITHOUT ANY WARRANTY, to the extent permitted by law; without mgl@1371: +dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A mgl@1371: +dnl PARTICULAR PURPOSE. mgl@1371: + mgl@1371: +dnl This provides configure definitions used by all the newlib mgl@1371: +dnl configure.in files. mgl@1371: + mgl@1371: +dnl Basic newlib configury. This calls basic introductory stuff, mgl@1371: +dnl including AM_INIT_AUTOMAKE and AC_CANONICAL_HOST. It also runs mgl@1371: +dnl configure.host. The only argument is the relative path to the top mgl@1371: +dnl newlib directory. mgl@1371: + mgl@1371: +AC_DEFUN(NEWLIB_CONFIGURE, mgl@1371: +[ mgl@1371: +dnl Default to --enable-multilib mgl@1371: +AC_ARG_ENABLE(multilib, mgl@1371: +[ --enable-multilib build many library versions (default)], mgl@1371: +[case "${enableval}" in mgl@1371: + yes) multilib=yes ;; mgl@1371: + no) multilib=no ;; mgl@1371: + *) AC_MSG_ERROR(bad value ${enableval} for multilib option) ;; mgl@1371: + esac], [multilib=yes])dnl mgl@1371: + mgl@1371: +dnl Support --enable-target-optspace mgl@1371: +AC_ARG_ENABLE(target-optspace, mgl@1371: +[ --enable-target-optspace optimize for space], mgl@1371: +[case "${enableval}" in mgl@1371: + yes) target_optspace=yes ;; mgl@1371: + no) target_optspace=no ;; mgl@1371: + *) AC_MSG_ERROR(bad value ${enableval} for target-optspace option) ;; mgl@1371: + esac], [target_optspace=])dnl mgl@1371: + mgl@1371: +dnl Support --enable-malloc-debugging - currently only supported for Cygwin mgl@1371: +AC_ARG_ENABLE(malloc-debugging, mgl@1371: +[ --enable-malloc-debugging indicate malloc debugging requested], mgl@1371: +[case "${enableval}" in mgl@1371: + yes) malloc_debugging=yes ;; mgl@1371: + no) malloc_debugging=no ;; mgl@1371: + *) AC_MSG_ERROR(bad value ${enableval} for malloc-debugging option) ;; mgl@1371: + esac], [malloc_debugging=])dnl mgl@1371: + mgl@1371: +dnl Support --enable-newlib-multithread mgl@1371: +AC_ARG_ENABLE(newlib-multithread, mgl@1371: +[ --enable-newlib-multithread enable support for multiple threads], mgl@1371: +[case "${enableval}" in mgl@1371: + yes) newlib_multithread=yes ;; mgl@1371: + no) newlib_multithread=no ;; mgl@1371: + *) AC_MSG_ERROR(bad value ${enableval} for newlib-multithread option) ;; mgl@1371: + esac], [newlib_multithread=yes])dnl mgl@1371: + mgl@1371: +dnl Support --enable-newlib-iconv mgl@1371: +AC_ARG_ENABLE(newlib-iconv, mgl@1371: +[ --enable-newlib-iconv enable iconv library support], mgl@1371: +[if test "${newlib_iconv+set}" != set; then mgl@1371: + case "${enableval}" in mgl@1371: + yes) newlib_iconv=yes ;; mgl@1371: + no) newlib_iconv=no ;; mgl@1371: + *) AC_MSG_ERROR(bad value ${enableval} for newlib-iconv option) ;; mgl@1371: + esac mgl@1371: + fi], [newlib_iconv=${newlib_iconv}])dnl mgl@1371: + mgl@1371: +dnl Support --enable-newlib-elix-level mgl@1371: +AC_ARG_ENABLE(newlib-elix-level, mgl@1371: +[ --enable-newlib-elix-level supply desired elix library level (1-4)], mgl@1371: +[case "${enableval}" in mgl@1371: + 0) newlib_elix_level=0 ;; mgl@1371: + 1) newlib_elix_level=1 ;; mgl@1371: + 2) newlib_elix_level=2 ;; mgl@1371: + 3) newlib_elix_level=3 ;; mgl@1371: + 4) newlib_elix_level=4 ;; mgl@1371: + *) AC_MSG_ERROR(bad value ${enableval} for newlib-elix-level option) ;; mgl@1371: + esac], [newlib_elix_level=0])dnl mgl@1371: + mgl@1371: +dnl Support --disable-newlib-io-float mgl@1371: +AC_ARG_ENABLE(newlib-io-float, mgl@1371: +[ --disable-newlib-io-float disable printf/scanf family float support], mgl@1371: +[case "${enableval}" in mgl@1371: + yes) newlib_io_float=yes ;; mgl@1371: + no) newlib_io_float=no ;; mgl@1371: + *) AC_MSG_ERROR(bad value ${enableval} for newlib-io-float option) ;; mgl@1371: + esac], [newlib_io_float=yes])dnl mgl@1371: + mgl@1371: +dnl Support --disable-newlib-supplied-syscalls mgl@1371: +AC_ARG_ENABLE(newlib-supplied-syscalls, mgl@1371: +[ --disable-newlib-supplied-syscalls disable newlib from supplying syscalls], mgl@1371: +[case "${enableval}" in mgl@1371: + yes) newlib_may_supply_syscalls=yes ;; mgl@1371: + no) newlib_may_supply_syscalls=no ;; mgl@1371: + *) AC_MSG_ERROR(bad value ${enableval} for newlib-supplied-syscalls option) ;; mgl@1371: + esac], [newlib_may_supply_syscalls=yes])dnl mgl@1371: + mgl@1371: +AM_CONDITIONAL(MAY_SUPPLY_SYSCALLS, test x[$]{newlib_may_supply_syscalls} = xyes) mgl@1371: + mgl@1371: +dnl We may get other options which we don't document: mgl@1371: +dnl --with-target-subdir, --with-multisrctop, --with-multisubdir mgl@1371: + mgl@1371: +test -z "[$]{with_target_subdir}" && with_target_subdir=. mgl@1371: + mgl@1371: +if test "[$]{srcdir}" = "."; then mgl@1371: + if test "[$]{with_target_subdir}" != "."; then mgl@1371: + newlib_basedir="[$]{srcdir}/[$]{with_multisrctop}../$1" mgl@1371: + else mgl@1371: + newlib_basedir="[$]{srcdir}/[$]{with_multisrctop}$1" mgl@1371: + fi mgl@1371: +else mgl@1371: + newlib_basedir="[$]{srcdir}/$1" mgl@1371: +fi mgl@1371: +AC_SUBST(newlib_basedir) mgl@1371: + mgl@1371: +AC_CANONICAL_SYSTEM mgl@1371: + mgl@1371: +AM_INIT_AUTOMAKE(newlib, 1.14.0.atmel.1.0.1) mgl@1371: + mgl@1371: +# FIXME: We temporarily define our own version of AC_PROG_CC. This is mgl@1371: +# copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We mgl@1371: +# are probably using a cross compiler, which will not be able to fully mgl@1371: +# link an executable. This should really be fixed in autoconf mgl@1371: +# itself. mgl@1371: + mgl@1371: +AC_DEFUN(LIB_AC_PROG_CC, mgl@1371: +[AC_BEFORE([$0], [AC_PROG_CPP])dnl mgl@1371: +AC_CHECK_PROG(CC, gcc, gcc) mgl@1371: +if test -z "$CC"; then mgl@1371: + AC_CHECK_PROG(CC, cc, cc, , , /usr/ucb/cc) mgl@1371: + test -z "$CC" && AC_MSG_ERROR([no acceptable cc found in \$PATH]) mgl@1371: +fi mgl@1371: + mgl@1371: +AC_PROG_CC_GNU mgl@1371: + mgl@1371: +if test $ac_cv_prog_gcc = yes; then mgl@1371: + GCC=yes mgl@1371: +dnl Check whether -g works, even if CFLAGS is set, in case the package mgl@1371: +dnl plays around with CFLAGS (such as to build both debugging and mgl@1371: +dnl normal versions of a library), tasteless as that idea is. mgl@1371: + ac_test_CFLAGS="${CFLAGS+set}" mgl@1371: + ac_save_CFLAGS="$CFLAGS" mgl@1371: + CFLAGS= mgl@1371: + AC_PROG_CC_G mgl@1371: + if test "$ac_test_CFLAGS" = set; then mgl@1371: + CFLAGS="$ac_save_CFLAGS" mgl@1371: + elif test $ac_cv_prog_cc_g = yes; then mgl@1371: + CFLAGS="-g -O2" mgl@1371: + else mgl@1371: + CFLAGS="-O2" mgl@1371: + fi mgl@1371: +else mgl@1371: + GCC= mgl@1371: + test "${CFLAGS+set}" = set || CFLAGS="-g" mgl@1371: +fi mgl@1371: +]) mgl@1371: + mgl@1371: +LIB_AC_PROG_CC mgl@1371: + mgl@1371: +AC_CHECK_TOOL(AS, as) mgl@1371: +AC_CHECK_TOOL(AR, ar) mgl@1371: +AC_CHECK_TOOL(RANLIB, ranlib, :) mgl@1371: + mgl@1371: +AC_PROG_INSTALL mgl@1371: + mgl@1371: +AM_MAINTAINER_MODE mgl@1371: + mgl@1371: +# We need AC_EXEEXT to keep automake happy in cygnus mode. However, mgl@1371: +# at least currently, we never actually build a program, so we never mgl@1371: +# need to use $(EXEEXT). Moreover, the test for EXEEXT normally mgl@1371: +# fails, because we are probably configuring with a cross compiler mgl@1371: +# which can't create executables. So we include AC_EXEEXT to keep mgl@1371: +# automake happy, but we don't execute it, since we don't care about mgl@1371: +# the result. mgl@1371: +if false; then mgl@1371: + AC_EXEEXT mgl@1371: +fi mgl@1371: + mgl@1371: +. [$]{newlib_basedir}/configure.host mgl@1371: + mgl@1371: +newlib_cflags="[$]{newlib_cflags} -fno-builtin" mgl@1371: + mgl@1371: +NEWLIB_CFLAGS=${newlib_cflags} mgl@1371: +AC_SUBST(NEWLIB_CFLAGS) mgl@1371: + mgl@1371: +LDFLAGS=${ldflags} mgl@1371: +AC_SUBST(LDFLAGS) mgl@1371: + mgl@1371: +AM_CONDITIONAL(ELIX_LEVEL_0, test x[$]{newlib_elix_level} = x0) mgl@1371: +AM_CONDITIONAL(ELIX_LEVEL_1, test x[$]{newlib_elix_level} = x1) mgl@1371: +AM_CONDITIONAL(ELIX_LEVEL_2, test x[$]{newlib_elix_level} = x2) mgl@1371: +AM_CONDITIONAL(ELIX_LEVEL_3, test x[$]{newlib_elix_level} = x3) mgl@1371: +AM_CONDITIONAL(ELIX_LEVEL_4, test x[$]{newlib_elix_level} = x4) mgl@1371: + mgl@1371: +AM_CONDITIONAL(USE_LIBTOOL, test x[$]{use_libtool} = xyes) mgl@1371: + mgl@1371: +# Hard-code OBJEXT. Normally it is set by AC_OBJEXT, but we mgl@1371: +# use oext, which is set in configure.host based on the target platform. mgl@1371: +OBJEXT=${oext} mgl@1371: + mgl@1371: +AC_SUBST(OBJEXT) mgl@1371: +AC_SUBST(oext) mgl@1371: +AC_SUBST(aext) mgl@1371: + mgl@1371: +AC_SUBST(libm_machine_dir) mgl@1371: +AC_SUBST(machine_dir) mgl@1371: +AC_SUBST(sys_dir) mgl@1371: +]) mgl@1371: + mgl@1371: +# Do all the work for Automake. This macro actually does too much -- mgl@1371: +# some checks are only needed if your package does certain things. mgl@1371: +# But this isn't really a big deal. mgl@1371: + mgl@1371: +# serial 1 mgl@1371: + mgl@1371: +dnl Usage: mgl@1371: +dnl AM_INIT_AUTOMAKE(package,version, [no-define]) mgl@1371: + mgl@1371: +AC_DEFUN([AM_INIT_AUTOMAKE], mgl@1371: +[AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl mgl@1371: +AC_REQUIRE([AC_PROG_INSTALL]) mgl@1371: +PACKAGE=[$1] mgl@1371: +AC_SUBST(PACKAGE) mgl@1371: +VERSION=[$2] mgl@1371: +AC_SUBST(VERSION) mgl@1371: +dnl test to see if srcdir already configured mgl@1371: +if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then mgl@1371: + AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) mgl@1371: +fi mgl@1371: +ifelse([$3],, mgl@1371: +AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) mgl@1371: +AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])) mgl@1371: +AC_REQUIRE([AM_SANITY_CHECK]) mgl@1371: +AC_REQUIRE([AC_ARG_PROGRAM]) mgl@1371: +dnl FIXME This is truly gross. mgl@1371: +missing_dir=`cd $ac_aux_dir && pwd` mgl@1371: +AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}, $missing_dir) mgl@1371: +AM_MISSING_PROG(AUTOCONF, autoconf, $missing_dir) mgl@1371: +AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}, $missing_dir) mgl@1371: +AM_MISSING_PROG(AUTOHEADER, autoheader, $missing_dir) mgl@1371: +AM_MISSING_PROG(MAKEINFO, makeinfo, $missing_dir) mgl@1371: +AC_REQUIRE([AC_PROG_MAKE_SET])]) mgl@1371: + mgl@1371: +# Copyright 2002 Free Software Foundation, Inc. mgl@1371: + mgl@1371: +# This program is free software; you can redistribute it and/or modify mgl@1371: +# it under the terms of the GNU General Public License as published by mgl@1371: +# the Free Software Foundation; either version 2, or (at your option) mgl@1371: +# any later version. mgl@1371: + mgl@1371: +# This program is distributed in the hope that it will be useful, mgl@1371: +# but WITHOUT ANY WARRANTY; without even the implied warranty of mgl@1371: +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the mgl@1371: +# GNU General Public License for more details. mgl@1371: + mgl@1371: +# You should have received a copy of the GNU General Public License mgl@1371: +# along with this program; if not, write to the Free Software mgl@1371: +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA mgl@1371: + mgl@1371: +# AM_AUTOMAKE_VERSION(VERSION) mgl@1371: +# ---------------------------- mgl@1371: +# Automake X.Y traces this macro to ensure aclocal.m4 has been mgl@1371: +# generated from the m4 files accompanying Automake X.Y. mgl@1371: +AC_DEFUN([AM_AUTOMAKE_VERSION],[am__api_version="1.4"]) mgl@1371: + mgl@1371: +# AM_SET_CURRENT_AUTOMAKE_VERSION mgl@1371: +# ------------------------------- mgl@1371: +# Call AM_AUTOMAKE_VERSION so it can be traced. mgl@1371: +# This function is AC_REQUIREd by AC_INIT_AUTOMAKE. mgl@1371: +AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], mgl@1371: + [AM_AUTOMAKE_VERSION([1.4-p6])]) mgl@1371: + mgl@1371: +# mgl@1371: +# Check to make sure that the build environment is sane. mgl@1371: +# mgl@1371: + mgl@1371: +AC_DEFUN([AM_SANITY_CHECK], mgl@1371: +[AC_MSG_CHECKING([whether build environment is sane]) mgl@1371: +# Just in case mgl@1371: +sleep 1 mgl@1371: +echo timestamp > conftestfile mgl@1371: +# Do `set' in a subshell so we don't clobber the current shell's mgl@1371: +# arguments. Must try -L first in case configure is actually a mgl@1371: +# symlink; some systems play weird games with the mod time of symlinks mgl@1371: +# (eg FreeBSD returns the mod time of the symlink's containing mgl@1371: +# directory). mgl@1371: +if ( mgl@1371: + set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null` mgl@1371: + if test "[$]*" = "X"; then mgl@1371: + # -L didn't work. mgl@1371: + set X `ls -t $srcdir/configure conftestfile` mgl@1371: + fi mgl@1371: + if test "[$]*" != "X $srcdir/configure conftestfile" \ mgl@1371: + && test "[$]*" != "X conftestfile $srcdir/configure"; then mgl@1371: + mgl@1371: + # If neither matched, then we have a broken ls. This can happen mgl@1371: + # if, for instance, CONFIG_SHELL is bash and it inherits a mgl@1371: + # broken ls alias from the environment. This has actually mgl@1371: + # happened. Such a system could not be considered "sane". mgl@1371: + AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken mgl@1371: +alias in your environment]) mgl@1371: + fi mgl@1371: + mgl@1371: + test "[$]2" = conftestfile mgl@1371: + ) mgl@1371: +then mgl@1371: + # Ok. mgl@1371: + : mgl@1371: +else mgl@1371: + AC_MSG_ERROR([newly created file is older than distributed files! mgl@1371: +Check your system clock]) mgl@1371: +fi mgl@1371: +rm -f conftest* mgl@1371: +AC_MSG_RESULT(yes)]) mgl@1371: + mgl@1371: +dnl AM_MISSING_PROG(NAME, PROGRAM, DIRECTORY) mgl@1371: +dnl The program must properly implement --version. mgl@1371: +AC_DEFUN([AM_MISSING_PROG], mgl@1371: +[AC_MSG_CHECKING(for working $2) mgl@1371: +# Run test in a subshell; some versions of sh will print an error if mgl@1371: +# an executable is not found, even if stderr is redirected. mgl@1371: +# Redirect stdin to placate older versions of autoconf. Sigh. mgl@1371: +if ($2 --version) < /dev/null > /dev/null 2>&1; then mgl@1371: + $1=$2 mgl@1371: + AC_MSG_RESULT(found) mgl@1371: +else mgl@1371: + $1="$3/missing $2" mgl@1371: + AC_MSG_RESULT(missing) mgl@1371: +fi mgl@1371: +AC_SUBST($1)]) mgl@1371: + mgl@1371: +# Define a conditional. mgl@1371: + mgl@1371: +AC_DEFUN([AM_CONDITIONAL], mgl@1371: +[AC_SUBST($1_TRUE) mgl@1371: +AC_SUBST($1_FALSE) mgl@1371: +if $2; then mgl@1371: + $1_TRUE= mgl@1371: + $1_FALSE='#' mgl@1371: +else mgl@1371: + $1_TRUE='#' mgl@1371: + $1_FALSE= mgl@1371: +fi]) mgl@1371: + mgl@1371: +# Add --enable-maintainer-mode option to configure. mgl@1371: +# From Jim Meyering mgl@1371: + mgl@1371: +# serial 1 mgl@1371: + mgl@1371: +AC_DEFUN([AM_MAINTAINER_MODE], mgl@1371: +[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles]) mgl@1371: + dnl maintainer-mode is disabled by default mgl@1371: + AC_ARG_ENABLE(maintainer-mode, mgl@1371: +[ --enable-maintainer-mode enable make rules and dependencies not useful mgl@1371: + (and sometimes confusing) to the casual installer], mgl@1371: + USE_MAINTAINER_MODE=$enableval, mgl@1371: + USE_MAINTAINER_MODE=no) mgl@1371: + AC_MSG_RESULT($USE_MAINTAINER_MODE) mgl@1371: + AM_CONDITIONAL(MAINTAINER_MODE, test $USE_MAINTAINER_MODE = yes) mgl@1371: + MAINT=$MAINTAINER_MODE_TRUE mgl@1371: + AC_SUBST(MAINT)dnl mgl@1371: +] mgl@1371: +) mgl@1371: + mgl@1371: diff -Naur newlib-1.17.0/newlib/libc/sys/avr32/confdefs.h newlib-1.17.0-new/newlib/libc/sys/avr32/confdefs.h mgl@1371: --- newlib-1.17.0/newlib/libc/sys/avr32/confdefs.h 1970-01-01 01:00:00.000000000 +0100 mgl@1371: +++ newlib-1.17.0-new/newlib/libc/sys/avr32/confdefs.h 2009-05-22 09:57:50.000000000 +0200 mgl@1371: @@ -0,0 +1 @@ mgl@1371: + mgl@1371: diff -Naur newlib-1.17.0/newlib/libc/sys/avr32/configure newlib-1.17.0-new/newlib/libc/sys/avr32/configure mgl@1371: --- newlib-1.17.0/newlib/libc/sys/avr32/configure 1970-01-01 01:00:00.000000000 +0100 mgl@1371: +++ newlib-1.17.0-new/newlib/libc/sys/avr32/configure 2009-05-22 09:57:50.000000000 +0200 mgl@1371: @@ -0,0 +1,3922 @@ mgl@1371: +#! /bin/sh mgl@1371: +# Guess values for system-dependent variables and create Makefiles. mgl@1371: +# Generated by GNU Autoconf 2.61 for newlib NEWLIB_VERSION. mgl@1371: +# mgl@1371: +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, mgl@1371: +# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. mgl@1371: +# This configure script is free software; the Free Software Foundation mgl@1371: +# gives unlimited permission to copy, distribute and modify it. mgl@1371: +## --------------------- ## mgl@1371: +## M4sh Initialization. ## mgl@1371: +## --------------------- ## mgl@1371: + mgl@1371: +# Be more Bourne compatible mgl@1371: +DUALCASE=1; export DUALCASE # for MKS sh mgl@1371: +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then mgl@1371: + emulate sh mgl@1371: + NULLCMD=: mgl@1371: + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which mgl@1371: + # is contrary to our usage. Disable this feature. mgl@1371: + alias -g '${1+"$@"}'='"$@"' mgl@1371: + setopt NO_GLOB_SUBST mgl@1371: +else mgl@1371: + case `(set -o) 2>/dev/null` in mgl@1371: + *posix*) set -o posix ;; mgl@1371: +esac mgl@1371: + mgl@1371: +fi mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: +# PATH needs CR mgl@1371: +# Avoid depending upon Character Ranges. mgl@1371: +as_cr_letters='abcdefghijklmnopqrstuvwxyz' mgl@1371: +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' mgl@1371: +as_cr_Letters=$as_cr_letters$as_cr_LETTERS mgl@1371: +as_cr_digits='0123456789' mgl@1371: +as_cr_alnum=$as_cr_Letters$as_cr_digits mgl@1371: + mgl@1371: +# The user is always right. mgl@1371: +if test "${PATH_SEPARATOR+set}" != set; then mgl@1371: + echo "#! /bin/sh" >conf$$.sh mgl@1371: + echo "exit 0" >>conf$$.sh mgl@1371: + chmod +x conf$$.sh mgl@1371: + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then mgl@1371: + PATH_SEPARATOR=';' mgl@1371: + else mgl@1371: + PATH_SEPARATOR=: mgl@1371: + fi mgl@1371: + rm -f conf$$.sh mgl@1371: +fi mgl@1371: + mgl@1371: +# Support unset when possible. mgl@1371: +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then mgl@1371: + as_unset=unset mgl@1371: +else mgl@1371: + as_unset=false mgl@1371: +fi mgl@1371: + mgl@1371: + mgl@1371: +# IFS mgl@1371: +# We need space, tab and new line, in precisely that order. Quoting is mgl@1371: +# there to prevent editors from complaining about space-tab. mgl@1371: +# (If _AS_PATH_WALK were called with IFS unset, it would disable word mgl@1371: +# splitting by setting IFS to empty value.) mgl@1371: +as_nl=' mgl@1371: +' mgl@1371: +IFS=" "" $as_nl" mgl@1371: + mgl@1371: +# Find who we are. Look in the path if we contain no directory separator. mgl@1371: +case $0 in mgl@1371: + *[\\/]* ) as_myself=$0 ;; mgl@1371: + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR mgl@1371: +for as_dir in $PATH mgl@1371: +do mgl@1371: + IFS=$as_save_IFS mgl@1371: + test -z "$as_dir" && as_dir=. mgl@1371: + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break mgl@1371: +done mgl@1371: +IFS=$as_save_IFS mgl@1371: + mgl@1371: + ;; mgl@1371: +esac mgl@1371: +# We did not find ourselves, most probably we were run as `sh COMMAND' mgl@1371: +# in which case we are not to be found in the path. mgl@1371: +if test "x$as_myself" = x; then mgl@1371: + as_myself=$0 mgl@1371: +fi mgl@1371: +if test ! -f "$as_myself"; then mgl@1371: + echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 mgl@1371: + { (exit 1); exit 1; } mgl@1371: +fi mgl@1371: + mgl@1371: +# Work around bugs in pre-3.0 UWIN ksh. mgl@1371: +for as_var in ENV MAIL MAILPATH mgl@1371: +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var mgl@1371: +done mgl@1371: +PS1='$ ' mgl@1371: +PS2='> ' mgl@1371: +PS4='+ ' mgl@1371: + mgl@1371: +# NLS nuisances. mgl@1371: +for as_var in \ mgl@1371: + LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ mgl@1371: + LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ mgl@1371: + LC_TELEPHONE LC_TIME mgl@1371: +do mgl@1371: + if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then mgl@1371: + eval $as_var=C; export $as_var mgl@1371: + else mgl@1371: + ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var mgl@1371: + fi mgl@1371: +done mgl@1371: + mgl@1371: +# Required to use basename. mgl@1371: +if expr a : '\(a\)' >/dev/null 2>&1 && mgl@1371: + test "X`expr 00001 : '.*\(...\)'`" = X001; then mgl@1371: + as_expr=expr mgl@1371: +else mgl@1371: + as_expr=false mgl@1371: +fi mgl@1371: + mgl@1371: +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then mgl@1371: + as_basename=basename mgl@1371: +else mgl@1371: + as_basename=false mgl@1371: +fi mgl@1371: + mgl@1371: + mgl@1371: +# Name of the executable. mgl@1371: +as_me=`$as_basename -- "$0" || mgl@1371: +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ mgl@1371: + X"$0" : 'X\(//\)$' \| \ mgl@1371: + X"$0" : 'X\(/\)' \| . 2>/dev/null || mgl@1371: +echo X/"$0" | mgl@1371: + sed '/^.*\/\([^/][^/]*\)\/*$/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + /^X\/\(\/\/\)$/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + /^X\/\(\/\).*/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + s/.*/./; q'` mgl@1371: + mgl@1371: +# CDPATH. mgl@1371: +$as_unset CDPATH mgl@1371: + mgl@1371: + mgl@1371: +if test "x$CONFIG_SHELL" = x; then mgl@1371: + if (eval ":") 2>/dev/null; then mgl@1371: + as_have_required=yes mgl@1371: +else mgl@1371: + as_have_required=no mgl@1371: +fi mgl@1371: + mgl@1371: + if test $as_have_required = yes && (eval ": mgl@1371: +(as_func_return () { mgl@1371: + (exit \$1) mgl@1371: +} mgl@1371: +as_func_success () { mgl@1371: + as_func_return 0 mgl@1371: +} mgl@1371: +as_func_failure () { mgl@1371: + as_func_return 1 mgl@1371: +} mgl@1371: +as_func_ret_success () { mgl@1371: + return 0 mgl@1371: +} mgl@1371: +as_func_ret_failure () { mgl@1371: + return 1 mgl@1371: +} mgl@1371: + mgl@1371: +exitcode=0 mgl@1371: +if as_func_success; then mgl@1371: + : mgl@1371: +else mgl@1371: + exitcode=1 mgl@1371: + echo as_func_success failed. mgl@1371: +fi mgl@1371: + mgl@1371: +if as_func_failure; then mgl@1371: + exitcode=1 mgl@1371: + echo as_func_failure succeeded. mgl@1371: +fi mgl@1371: + mgl@1371: +if as_func_ret_success; then mgl@1371: + : mgl@1371: +else mgl@1371: + exitcode=1 mgl@1371: + echo as_func_ret_success failed. mgl@1371: +fi mgl@1371: + mgl@1371: +if as_func_ret_failure; then mgl@1371: + exitcode=1 mgl@1371: + echo as_func_ret_failure succeeded. mgl@1371: +fi mgl@1371: + mgl@1371: +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then mgl@1371: + : mgl@1371: +else mgl@1371: + exitcode=1 mgl@1371: + echo positional parameters were not saved. mgl@1371: +fi mgl@1371: + mgl@1371: +test \$exitcode = 0) || { (exit 1); exit 1; } mgl@1371: + mgl@1371: +( mgl@1371: + as_lineno_1=\$LINENO mgl@1371: + as_lineno_2=\$LINENO mgl@1371: + test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && mgl@1371: + test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } mgl@1371: +") 2> /dev/null; then mgl@1371: + : mgl@1371: +else mgl@1371: + as_candidate_shells= mgl@1371: + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR mgl@1371: +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH mgl@1371: +do mgl@1371: + IFS=$as_save_IFS mgl@1371: + test -z "$as_dir" && as_dir=. mgl@1371: + case $as_dir in mgl@1371: + /*) mgl@1371: + for as_base in sh bash ksh sh5; do mgl@1371: + as_candidate_shells="$as_candidate_shells $as_dir/$as_base" mgl@1371: + done;; mgl@1371: + esac mgl@1371: +done mgl@1371: +IFS=$as_save_IFS mgl@1371: + mgl@1371: + mgl@1371: + for as_shell in $as_candidate_shells $SHELL; do mgl@1371: + # Try only shells that exist, to save several forks. mgl@1371: + if { test -f "$as_shell" || test -f "$as_shell.exe"; } && mgl@1371: + { ("$as_shell") 2> /dev/null <<\_ASEOF mgl@1371: +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then mgl@1371: + emulate sh mgl@1371: + NULLCMD=: mgl@1371: + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which mgl@1371: + # is contrary to our usage. Disable this feature. mgl@1371: + alias -g '${1+"$@"}'='"$@"' mgl@1371: + setopt NO_GLOB_SUBST mgl@1371: +else mgl@1371: + case `(set -o) 2>/dev/null` in mgl@1371: + *posix*) set -o posix ;; mgl@1371: +esac mgl@1371: + mgl@1371: +fi mgl@1371: + mgl@1371: + mgl@1371: +: mgl@1371: +_ASEOF mgl@1371: +}; then mgl@1371: + CONFIG_SHELL=$as_shell mgl@1371: + as_have_required=yes mgl@1371: + if { "$as_shell" 2> /dev/null <<\_ASEOF mgl@1371: +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then mgl@1371: + emulate sh mgl@1371: + NULLCMD=: mgl@1371: + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which mgl@1371: + # is contrary to our usage. Disable this feature. mgl@1371: + alias -g '${1+"$@"}'='"$@"' mgl@1371: + setopt NO_GLOB_SUBST mgl@1371: +else mgl@1371: + case `(set -o) 2>/dev/null` in mgl@1371: + *posix*) set -o posix ;; mgl@1371: +esac mgl@1371: + mgl@1371: +fi mgl@1371: + mgl@1371: + mgl@1371: +: mgl@1371: +(as_func_return () { mgl@1371: + (exit $1) mgl@1371: +} mgl@1371: +as_func_success () { mgl@1371: + as_func_return 0 mgl@1371: +} mgl@1371: +as_func_failure () { mgl@1371: + as_func_return 1 mgl@1371: +} mgl@1371: +as_func_ret_success () { mgl@1371: + return 0 mgl@1371: +} mgl@1371: +as_func_ret_failure () { mgl@1371: + return 1 mgl@1371: +} mgl@1371: + mgl@1371: +exitcode=0 mgl@1371: +if as_func_success; then mgl@1371: + : mgl@1371: +else mgl@1371: + exitcode=1 mgl@1371: + echo as_func_success failed. mgl@1371: +fi mgl@1371: + mgl@1371: +if as_func_failure; then mgl@1371: + exitcode=1 mgl@1371: + echo as_func_failure succeeded. mgl@1371: +fi mgl@1371: + mgl@1371: +if as_func_ret_success; then mgl@1371: + : mgl@1371: +else mgl@1371: + exitcode=1 mgl@1371: + echo as_func_ret_success failed. mgl@1371: +fi mgl@1371: + mgl@1371: +if as_func_ret_failure; then mgl@1371: + exitcode=1 mgl@1371: + echo as_func_ret_failure succeeded. mgl@1371: +fi mgl@1371: + mgl@1371: +if ( set x; as_func_ret_success y && test x = "$1" ); then mgl@1371: + : mgl@1371: +else mgl@1371: + exitcode=1 mgl@1371: + echo positional parameters were not saved. mgl@1371: +fi mgl@1371: + mgl@1371: +test $exitcode = 0) || { (exit 1); exit 1; } mgl@1371: + mgl@1371: +( mgl@1371: + as_lineno_1=$LINENO mgl@1371: + as_lineno_2=$LINENO mgl@1371: + test "x$as_lineno_1" != "x$as_lineno_2" && mgl@1371: + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } mgl@1371: + mgl@1371: +_ASEOF mgl@1371: +}; then mgl@1371: + break mgl@1371: +fi mgl@1371: + mgl@1371: +fi mgl@1371: + mgl@1371: + done mgl@1371: + mgl@1371: + if test "x$CONFIG_SHELL" != x; then mgl@1371: + for as_var in BASH_ENV ENV mgl@1371: + do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var mgl@1371: + done mgl@1371: + export CONFIG_SHELL mgl@1371: + exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} mgl@1371: +fi mgl@1371: + mgl@1371: + mgl@1371: + if test $as_have_required = no; then mgl@1371: + echo This script requires a shell more modern than all the mgl@1371: + echo shells that I found on your system. Please install a mgl@1371: + echo modern shell, or manually run the script under such a mgl@1371: + echo shell if you do have one. mgl@1371: + { (exit 1); exit 1; } mgl@1371: +fi mgl@1371: + mgl@1371: + mgl@1371: +fi mgl@1371: + mgl@1371: +fi mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: +(eval "as_func_return () { mgl@1371: + (exit \$1) mgl@1371: +} mgl@1371: +as_func_success () { mgl@1371: + as_func_return 0 mgl@1371: +} mgl@1371: +as_func_failure () { mgl@1371: + as_func_return 1 mgl@1371: +} mgl@1371: +as_func_ret_success () { mgl@1371: + return 0 mgl@1371: +} mgl@1371: +as_func_ret_failure () { mgl@1371: + return 1 mgl@1371: +} mgl@1371: + mgl@1371: +exitcode=0 mgl@1371: +if as_func_success; then mgl@1371: + : mgl@1371: +else mgl@1371: + exitcode=1 mgl@1371: + echo as_func_success failed. mgl@1371: +fi mgl@1371: + mgl@1371: +if as_func_failure; then mgl@1371: + exitcode=1 mgl@1371: + echo as_func_failure succeeded. mgl@1371: +fi mgl@1371: + mgl@1371: +if as_func_ret_success; then mgl@1371: + : mgl@1371: +else mgl@1371: + exitcode=1 mgl@1371: + echo as_func_ret_success failed. mgl@1371: +fi mgl@1371: + mgl@1371: +if as_func_ret_failure; then mgl@1371: + exitcode=1 mgl@1371: + echo as_func_ret_failure succeeded. mgl@1371: +fi mgl@1371: + mgl@1371: +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then mgl@1371: + : mgl@1371: +else mgl@1371: + exitcode=1 mgl@1371: + echo positional parameters were not saved. mgl@1371: +fi mgl@1371: + mgl@1371: +test \$exitcode = 0") || { mgl@1371: + echo No shell found that supports shell functions. mgl@1371: + echo Please tell autoconf@gnu.org about your system, mgl@1371: + echo including any error possibly output before this mgl@1371: + echo message mgl@1371: +} mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: + as_lineno_1=$LINENO mgl@1371: + as_lineno_2=$LINENO mgl@1371: + test "x$as_lineno_1" != "x$as_lineno_2" && mgl@1371: + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { mgl@1371: + mgl@1371: + # Create $as_me.lineno as a copy of $as_myself, but with $LINENO mgl@1371: + # uniformly replaced by the line number. The first 'sed' inserts a mgl@1371: + # line-number line after each line using $LINENO; the second 'sed' mgl@1371: + # does the real work. The second script uses 'N' to pair each mgl@1371: + # line-number line with the line containing $LINENO, and appends mgl@1371: + # trailing '-' during substitution so that $LINENO is not a special mgl@1371: + # case at line end. mgl@1371: + # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the mgl@1371: + # scripts with optimization help from Paolo Bonzini. Blame Lee mgl@1371: + # E. McMahon (1931-1989) for sed's syntax. :-) mgl@1371: + sed -n ' mgl@1371: + p mgl@1371: + /[$]LINENO/= mgl@1371: + ' <$as_myself | mgl@1371: + sed ' mgl@1371: + s/[$]LINENO.*/&-/ mgl@1371: + t lineno mgl@1371: + b mgl@1371: + :lineno mgl@1371: + N mgl@1371: + :loop mgl@1371: + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ mgl@1371: + t loop mgl@1371: + s/-\n.*// mgl@1371: + ' >$as_me.lineno && mgl@1371: + chmod +x "$as_me.lineno" || mgl@1371: + { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 mgl@1371: + { (exit 1); exit 1; }; } mgl@1371: + mgl@1371: + # Don't try to exec as it changes $[0], causing all sort of problems mgl@1371: + # (the dirname of $[0] is not the place where we might find the mgl@1371: + # original and so on. Autoconf is especially sensitive to this). mgl@1371: + . "./$as_me.lineno" mgl@1371: + # Exit status is that of the last command. mgl@1371: + exit mgl@1371: +} mgl@1371: + mgl@1371: + mgl@1371: +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then mgl@1371: + as_dirname=dirname mgl@1371: +else mgl@1371: + as_dirname=false mgl@1371: +fi mgl@1371: + mgl@1371: +ECHO_C= ECHO_N= ECHO_T= mgl@1371: +case `echo -n x` in mgl@1371: +-n*) mgl@1371: + case `echo 'x\c'` in mgl@1371: + *c*) ECHO_T=' ';; # ECHO_T is single tab character. mgl@1371: + *) ECHO_C='\c';; mgl@1371: + esac;; mgl@1371: +*) mgl@1371: + ECHO_N='-n';; mgl@1371: +esac mgl@1371: + mgl@1371: +if expr a : '\(a\)' >/dev/null 2>&1 && mgl@1371: + test "X`expr 00001 : '.*\(...\)'`" = X001; then mgl@1371: + as_expr=expr mgl@1371: +else mgl@1371: + as_expr=false mgl@1371: +fi mgl@1371: + mgl@1371: +rm -f conf$$ conf$$.exe conf$$.file mgl@1371: +if test -d conf$$.dir; then mgl@1371: + rm -f conf$$.dir/conf$$.file mgl@1371: +else mgl@1371: + rm -f conf$$.dir mgl@1371: + mkdir conf$$.dir mgl@1371: +fi mgl@1371: +echo >conf$$.file mgl@1371: +if ln -s conf$$.file conf$$ 2>/dev/null; then mgl@1371: + as_ln_s='ln -s' mgl@1371: + # ... but there are two gotchas: mgl@1371: + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. mgl@1371: + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. mgl@1371: + # In both cases, we have to default to `cp -p'. mgl@1371: + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || mgl@1371: + as_ln_s='cp -p' mgl@1371: +elif ln conf$$.file conf$$ 2>/dev/null; then mgl@1371: + as_ln_s=ln mgl@1371: +else mgl@1371: + as_ln_s='cp -p' mgl@1371: +fi mgl@1371: +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file mgl@1371: +rmdir conf$$.dir 2>/dev/null mgl@1371: + mgl@1371: +if mkdir -p . 2>/dev/null; then mgl@1371: + as_mkdir_p=: mgl@1371: +else mgl@1371: + test -d ./-p && rmdir ./-p mgl@1371: + as_mkdir_p=false mgl@1371: +fi mgl@1371: + mgl@1371: +if test -x / >/dev/null 2>&1; then mgl@1371: + as_test_x='test -x' mgl@1371: +else mgl@1371: + if ls -dL / >/dev/null 2>&1; then mgl@1371: + as_ls_L_option=L mgl@1371: + else mgl@1371: + as_ls_L_option= mgl@1371: + fi mgl@1371: + as_test_x=' mgl@1371: + eval sh -c '\'' mgl@1371: + if test -d "$1"; then mgl@1371: + test -d "$1/."; mgl@1371: + else mgl@1371: + case $1 in mgl@1371: + -*)set "./$1";; mgl@1371: + esac; mgl@1371: + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in mgl@1371: + ???[sx]*):;;*)false;;esac;fi mgl@1371: + '\'' sh mgl@1371: + ' mgl@1371: +fi mgl@1371: +as_executable_p=$as_test_x mgl@1371: + mgl@1371: +# Sed expression to map a string onto a valid CPP name. mgl@1371: +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" mgl@1371: + mgl@1371: +# Sed expression to map a string onto a valid variable name. mgl@1371: +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: +exec 7<&0 &1 mgl@1371: + mgl@1371: +# Name of the host. mgl@1371: +# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, mgl@1371: +# so uname gets run too. mgl@1371: +ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` mgl@1371: + mgl@1371: +# mgl@1371: +# Initializations. mgl@1371: +# mgl@1371: +ac_default_prefix=/usr/local mgl@1371: +ac_clean_files= mgl@1371: +ac_config_libobj_dir=. mgl@1371: +LIBOBJS= mgl@1371: +cross_compiling=no mgl@1371: +subdirs= mgl@1371: +MFLAGS= mgl@1371: +MAKEFLAGS= mgl@1371: +SHELL=${CONFIG_SHELL-/bin/sh} mgl@1371: + mgl@1371: +# Identity of this package. mgl@1371: +PACKAGE_NAME='newlib' mgl@1371: +PACKAGE_TARNAME='newlib' mgl@1371: +PACKAGE_VERSION='NEWLIB_VERSION' mgl@1371: +PACKAGE_STRING='newlib NEWLIB_VERSION' mgl@1371: +PACKAGE_BUGREPORT='' mgl@1371: + mgl@1371: +ac_subst_vars='SHELL mgl@1371: +PATH_SEPARATOR mgl@1371: +PACKAGE_NAME mgl@1371: +PACKAGE_TARNAME mgl@1371: +PACKAGE_VERSION mgl@1371: +PACKAGE_STRING mgl@1371: +PACKAGE_BUGREPORT mgl@1371: +exec_prefix mgl@1371: +prefix mgl@1371: +program_transform_name mgl@1371: +bindir mgl@1371: +sbindir mgl@1371: +libexecdir mgl@1371: +datarootdir mgl@1371: +datadir mgl@1371: +sysconfdir mgl@1371: +sharedstatedir mgl@1371: +localstatedir mgl@1371: +includedir mgl@1371: +oldincludedir mgl@1371: +docdir mgl@1371: +infodir mgl@1371: +htmldir mgl@1371: +dvidir mgl@1371: +pdfdir mgl@1371: +psdir mgl@1371: +libdir mgl@1371: +localedir mgl@1371: +mandir mgl@1371: +DEFS mgl@1371: +ECHO_C mgl@1371: +ECHO_N mgl@1371: +ECHO_T mgl@1371: +LIBS mgl@1371: +build_alias mgl@1371: +host_alias mgl@1371: +target_alias mgl@1371: +MAY_SUPPLY_SYSCALLS_TRUE mgl@1371: +MAY_SUPPLY_SYSCALLS_FALSE mgl@1371: +newlib_basedir mgl@1371: +build mgl@1371: +build_cpu mgl@1371: +build_vendor mgl@1371: +build_os mgl@1371: +host mgl@1371: +host_cpu mgl@1371: +host_vendor mgl@1371: +host_os mgl@1371: +target mgl@1371: +target_cpu mgl@1371: +target_vendor mgl@1371: +target_os mgl@1371: +INSTALL_PROGRAM mgl@1371: +INSTALL_SCRIPT mgl@1371: +INSTALL_DATA mgl@1371: +PACKAGE mgl@1371: +VERSION mgl@1371: +ACLOCAL mgl@1371: +AUTOCONF mgl@1371: +AUTOMAKE mgl@1371: +AUTOHEADER mgl@1371: +MAKEINFO mgl@1371: +SET_MAKE mgl@1371: +CC mgl@1371: +AS mgl@1371: +AR mgl@1371: +RANLIB mgl@1371: +MAINTAINER_MODE_TRUE mgl@1371: +MAINTAINER_MODE_FALSE mgl@1371: +MAINT mgl@1371: +NEWLIB_CFLAGS mgl@1371: +LDFLAGS mgl@1371: +ELIX_LEVEL_0_TRUE mgl@1371: +ELIX_LEVEL_0_FALSE mgl@1371: +ELIX_LEVEL_1_TRUE mgl@1371: +ELIX_LEVEL_1_FALSE mgl@1371: +ELIX_LEVEL_2_TRUE mgl@1371: +ELIX_LEVEL_2_FALSE mgl@1371: +ELIX_LEVEL_3_TRUE mgl@1371: +ELIX_LEVEL_3_FALSE mgl@1371: +ELIX_LEVEL_4_TRUE mgl@1371: +ELIX_LEVEL_4_FALSE mgl@1371: +USE_LIBTOOL_TRUE mgl@1371: +USE_LIBTOOL_FALSE mgl@1371: +OBJEXT mgl@1371: +oext mgl@1371: +aext mgl@1371: +libm_machine_dir mgl@1371: +machine_dir mgl@1371: +sys_dir mgl@1371: +LIBOBJS mgl@1371: +LTLIBOBJS' mgl@1371: +ac_subst_files='' mgl@1371: + ac_precious_vars='build_alias mgl@1371: +host_alias mgl@1371: +target_alias' mgl@1371: + mgl@1371: + mgl@1371: +# Initialize some variables set by options. mgl@1371: +ac_init_help= mgl@1371: +ac_init_version=false mgl@1371: +# The variables have the same names as the options, with mgl@1371: +# dashes changed to underlines. mgl@1371: +cache_file=/dev/null mgl@1371: +exec_prefix=NONE mgl@1371: +no_create= mgl@1371: +no_recursion= mgl@1371: +prefix=NONE mgl@1371: +program_prefix=NONE mgl@1371: +program_suffix=NONE mgl@1371: +program_transform_name=s,x,x, mgl@1371: +silent= mgl@1371: +site= mgl@1371: +srcdir= mgl@1371: +verbose= mgl@1371: +x_includes=NONE mgl@1371: +x_libraries=NONE mgl@1371: + mgl@1371: +# Installation directory options. mgl@1371: +# These are left unexpanded so users can "make install exec_prefix=/foo" mgl@1371: +# and all the variables that are supposed to be based on exec_prefix mgl@1371: +# by default will actually change. mgl@1371: +# Use braces instead of parens because sh, perl, etc. also accept them. mgl@1371: +# (The list follows the same order as the GNU Coding Standards.) mgl@1371: +bindir='${exec_prefix}/bin' mgl@1371: +sbindir='${exec_prefix}/sbin' mgl@1371: +libexecdir='${exec_prefix}/libexec' mgl@1371: +datarootdir='${prefix}/share' mgl@1371: +datadir='${datarootdir}' mgl@1371: +sysconfdir='${prefix}/etc' mgl@1371: +sharedstatedir='${prefix}/com' mgl@1371: +localstatedir='${prefix}/var' mgl@1371: +includedir='${prefix}/include' mgl@1371: +oldincludedir='/usr/include' mgl@1371: +docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' mgl@1371: +infodir='${datarootdir}/info' mgl@1371: +htmldir='${docdir}' mgl@1371: +dvidir='${docdir}' mgl@1371: +pdfdir='${docdir}' mgl@1371: +psdir='${docdir}' mgl@1371: +libdir='${exec_prefix}/lib' mgl@1371: +localedir='${datarootdir}/locale' mgl@1371: +mandir='${datarootdir}/man' mgl@1371: + mgl@1371: +ac_prev= mgl@1371: +ac_dashdash= mgl@1371: +for ac_option mgl@1371: +do mgl@1371: + # If the previous option needs an argument, assign it. mgl@1371: + if test -n "$ac_prev"; then mgl@1371: + eval $ac_prev=\$ac_option mgl@1371: + ac_prev= mgl@1371: + continue mgl@1371: + fi mgl@1371: + mgl@1371: + case $ac_option in mgl@1371: + *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; mgl@1371: + *) ac_optarg=yes ;; mgl@1371: + esac mgl@1371: + mgl@1371: + # Accept the important Cygnus configure options, so we can diagnose typos. mgl@1371: + mgl@1371: + case $ac_dashdash$ac_option in mgl@1371: + --) mgl@1371: + ac_dashdash=yes ;; mgl@1371: + mgl@1371: + -bindir | --bindir | --bindi | --bind | --bin | --bi) mgl@1371: + ac_prev=bindir ;; mgl@1371: + -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) mgl@1371: + bindir=$ac_optarg ;; mgl@1371: + mgl@1371: + -build | --build | --buil | --bui | --bu) mgl@1371: + ac_prev=build_alias ;; mgl@1371: + -build=* | --build=* | --buil=* | --bui=* | --bu=*) mgl@1371: + build_alias=$ac_optarg ;; mgl@1371: + mgl@1371: + -cache-file | --cache-file | --cache-fil | --cache-fi \ mgl@1371: + | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) mgl@1371: + ac_prev=cache_file ;; mgl@1371: + -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ mgl@1371: + | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) mgl@1371: + cache_file=$ac_optarg ;; mgl@1371: + mgl@1371: + --config-cache | -C) mgl@1371: + cache_file=config.cache ;; mgl@1371: + mgl@1371: + -datadir | --datadir | --datadi | --datad) mgl@1371: + ac_prev=datadir ;; mgl@1371: + -datadir=* | --datadir=* | --datadi=* | --datad=*) mgl@1371: + datadir=$ac_optarg ;; mgl@1371: + mgl@1371: + -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ mgl@1371: + | --dataroo | --dataro | --datar) mgl@1371: + ac_prev=datarootdir ;; mgl@1371: + -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ mgl@1371: + | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) mgl@1371: + datarootdir=$ac_optarg ;; mgl@1371: + mgl@1371: + -disable-* | --disable-*) mgl@1371: + ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` mgl@1371: + # Reject names that are not valid shell variable names. mgl@1371: + expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && mgl@1371: + { echo "$as_me: error: invalid feature name: $ac_feature" >&2 mgl@1371: + { (exit 1); exit 1; }; } mgl@1371: + ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` mgl@1371: + eval enable_$ac_feature=no ;; mgl@1371: + mgl@1371: + -docdir | --docdir | --docdi | --doc | --do) mgl@1371: + ac_prev=docdir ;; mgl@1371: + -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) mgl@1371: + docdir=$ac_optarg ;; mgl@1371: + mgl@1371: + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) mgl@1371: + ac_prev=dvidir ;; mgl@1371: + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) mgl@1371: + dvidir=$ac_optarg ;; mgl@1371: + mgl@1371: + -enable-* | --enable-*) mgl@1371: + ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` mgl@1371: + # Reject names that are not valid shell variable names. mgl@1371: + expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && mgl@1371: + { echo "$as_me: error: invalid feature name: $ac_feature" >&2 mgl@1371: + { (exit 1); exit 1; }; } mgl@1371: + ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` mgl@1371: + eval enable_$ac_feature=\$ac_optarg ;; mgl@1371: + mgl@1371: + -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ mgl@1371: + | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ mgl@1371: + | --exec | --exe | --ex) mgl@1371: + ac_prev=exec_prefix ;; mgl@1371: + -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ mgl@1371: + | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ mgl@1371: + | --exec=* | --exe=* | --ex=*) mgl@1371: + exec_prefix=$ac_optarg ;; mgl@1371: + mgl@1371: + -gas | --gas | --ga | --g) mgl@1371: + # Obsolete; use --with-gas. mgl@1371: + with_gas=yes ;; mgl@1371: + mgl@1371: + -help | --help | --hel | --he | -h) mgl@1371: + ac_init_help=long ;; mgl@1371: + -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) mgl@1371: + ac_init_help=recursive ;; mgl@1371: + -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) mgl@1371: + ac_init_help=short ;; mgl@1371: + mgl@1371: + -host | --host | --hos | --ho) mgl@1371: + ac_prev=host_alias ;; mgl@1371: + -host=* | --host=* | --hos=* | --ho=*) mgl@1371: + host_alias=$ac_optarg ;; mgl@1371: + mgl@1371: + -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) mgl@1371: + ac_prev=htmldir ;; mgl@1371: + -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ mgl@1371: + | --ht=*) mgl@1371: + htmldir=$ac_optarg ;; mgl@1371: + mgl@1371: + -includedir | --includedir | --includedi | --included | --include \ mgl@1371: + | --includ | --inclu | --incl | --inc) mgl@1371: + ac_prev=includedir ;; mgl@1371: + -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ mgl@1371: + | --includ=* | --inclu=* | --incl=* | --inc=*) mgl@1371: + includedir=$ac_optarg ;; mgl@1371: + mgl@1371: + -infodir | --infodir | --infodi | --infod | --info | --inf) mgl@1371: + ac_prev=infodir ;; mgl@1371: + -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) mgl@1371: + infodir=$ac_optarg ;; mgl@1371: + mgl@1371: + -libdir | --libdir | --libdi | --libd) mgl@1371: + ac_prev=libdir ;; mgl@1371: + -libdir=* | --libdir=* | --libdi=* | --libd=*) mgl@1371: + libdir=$ac_optarg ;; mgl@1371: + mgl@1371: + -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ mgl@1371: + | --libexe | --libex | --libe) mgl@1371: + ac_prev=libexecdir ;; mgl@1371: + -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ mgl@1371: + | --libexe=* | --libex=* | --libe=*) mgl@1371: + libexecdir=$ac_optarg ;; mgl@1371: + mgl@1371: + -localedir | --localedir | --localedi | --localed | --locale) mgl@1371: + ac_prev=localedir ;; mgl@1371: + -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) mgl@1371: + localedir=$ac_optarg ;; mgl@1371: + mgl@1371: + -localstatedir | --localstatedir | --localstatedi | --localstated \ mgl@1371: + | --localstate | --localstat | --localsta | --localst | --locals) mgl@1371: + ac_prev=localstatedir ;; mgl@1371: + -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ mgl@1371: + | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) mgl@1371: + localstatedir=$ac_optarg ;; mgl@1371: + mgl@1371: + -mandir | --mandir | --mandi | --mand | --man | --ma | --m) mgl@1371: + ac_prev=mandir ;; mgl@1371: + -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) mgl@1371: + mandir=$ac_optarg ;; mgl@1371: + mgl@1371: + -nfp | --nfp | --nf) mgl@1371: + # Obsolete; use --without-fp. mgl@1371: + with_fp=no ;; mgl@1371: + mgl@1371: + -no-create | --no-create | --no-creat | --no-crea | --no-cre \ mgl@1371: + | --no-cr | --no-c | -n) mgl@1371: + no_create=yes ;; mgl@1371: + mgl@1371: + -no-recursion | --no-recursion | --no-recursio | --no-recursi \ mgl@1371: + | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) mgl@1371: + no_recursion=yes ;; mgl@1371: + mgl@1371: + -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ mgl@1371: + | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ mgl@1371: + | --oldin | --oldi | --old | --ol | --o) mgl@1371: + ac_prev=oldincludedir ;; mgl@1371: + -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ mgl@1371: + | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ mgl@1371: + | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) mgl@1371: + oldincludedir=$ac_optarg ;; mgl@1371: + mgl@1371: + -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) mgl@1371: + ac_prev=prefix ;; mgl@1371: + -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) mgl@1371: + prefix=$ac_optarg ;; mgl@1371: + mgl@1371: + -program-prefix | --program-prefix | --program-prefi | --program-pref \ mgl@1371: + | --program-pre | --program-pr | --program-p) mgl@1371: + ac_prev=program_prefix ;; mgl@1371: + -program-prefix=* | --program-prefix=* | --program-prefi=* \ mgl@1371: + | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) mgl@1371: + program_prefix=$ac_optarg ;; mgl@1371: + mgl@1371: + -program-suffix | --program-suffix | --program-suffi | --program-suff \ mgl@1371: + | --program-suf | --program-su | --program-s) mgl@1371: + ac_prev=program_suffix ;; mgl@1371: + -program-suffix=* | --program-suffix=* | --program-suffi=* \ mgl@1371: + | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) mgl@1371: + program_suffix=$ac_optarg ;; mgl@1371: + mgl@1371: + -program-transform-name | --program-transform-name \ mgl@1371: + | --program-transform-nam | --program-transform-na \ mgl@1371: + | --program-transform-n | --program-transform- \ mgl@1371: + | --program-transform | --program-transfor \ mgl@1371: + | --program-transfo | --program-transf \ mgl@1371: + | --program-trans | --program-tran \ mgl@1371: + | --progr-tra | --program-tr | --program-t) mgl@1371: + ac_prev=program_transform_name ;; mgl@1371: + -program-transform-name=* | --program-transform-name=* \ mgl@1371: + | --program-transform-nam=* | --program-transform-na=* \ mgl@1371: + | --program-transform-n=* | --program-transform-=* \ mgl@1371: + | --program-transform=* | --program-transfor=* \ mgl@1371: + | --program-transfo=* | --program-transf=* \ mgl@1371: + | --program-trans=* | --program-tran=* \ mgl@1371: + | --progr-tra=* | --program-tr=* | --program-t=*) mgl@1371: + program_transform_name=$ac_optarg ;; mgl@1371: + mgl@1371: + -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) mgl@1371: + ac_prev=pdfdir ;; mgl@1371: + -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) mgl@1371: + pdfdir=$ac_optarg ;; mgl@1371: + mgl@1371: + -psdir | --psdir | --psdi | --psd | --ps) mgl@1371: + ac_prev=psdir ;; mgl@1371: + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) mgl@1371: + psdir=$ac_optarg ;; mgl@1371: + mgl@1371: + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ mgl@1371: + | -silent | --silent | --silen | --sile | --sil) mgl@1371: + silent=yes ;; mgl@1371: + mgl@1371: + -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) mgl@1371: + ac_prev=sbindir ;; mgl@1371: + -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ mgl@1371: + | --sbi=* | --sb=*) mgl@1371: + sbindir=$ac_optarg ;; mgl@1371: + mgl@1371: + -sharedstatedir | --sharedstatedir | --sharedstatedi \ mgl@1371: + | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ mgl@1371: + | --sharedst | --shareds | --shared | --share | --shar \ mgl@1371: + | --sha | --sh) mgl@1371: + ac_prev=sharedstatedir ;; mgl@1371: + -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ mgl@1371: + | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ mgl@1371: + | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ mgl@1371: + | --sha=* | --sh=*) mgl@1371: + sharedstatedir=$ac_optarg ;; mgl@1371: + mgl@1371: + -site | --site | --sit) mgl@1371: + ac_prev=site ;; mgl@1371: + -site=* | --site=* | --sit=*) mgl@1371: + site=$ac_optarg ;; mgl@1371: + mgl@1371: + -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) mgl@1371: + ac_prev=srcdir ;; mgl@1371: + -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) mgl@1371: + srcdir=$ac_optarg ;; mgl@1371: + mgl@1371: + -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ mgl@1371: + | --syscon | --sysco | --sysc | --sys | --sy) mgl@1371: + ac_prev=sysconfdir ;; mgl@1371: + -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ mgl@1371: + | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) mgl@1371: + sysconfdir=$ac_optarg ;; mgl@1371: + mgl@1371: + -target | --target | --targe | --targ | --tar | --ta | --t) mgl@1371: + ac_prev=target_alias ;; mgl@1371: + -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) mgl@1371: + target_alias=$ac_optarg ;; mgl@1371: + mgl@1371: + -v | -verbose | --verbose | --verbos | --verbo | --verb) mgl@1371: + verbose=yes ;; mgl@1371: + mgl@1371: + -version | --version | --versio | --versi | --vers | -V) mgl@1371: + ac_init_version=: ;; mgl@1371: + mgl@1371: + -with-* | --with-*) mgl@1371: + ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` mgl@1371: + # Reject names that are not valid shell variable names. mgl@1371: + expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && mgl@1371: + { echo "$as_me: error: invalid package name: $ac_package" >&2 mgl@1371: + { (exit 1); exit 1; }; } mgl@1371: + ac_package=`echo $ac_package | sed 's/[-.]/_/g'` mgl@1371: + eval with_$ac_package=\$ac_optarg ;; mgl@1371: + mgl@1371: + -without-* | --without-*) mgl@1371: + ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` mgl@1371: + # Reject names that are not valid shell variable names. mgl@1371: + expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && mgl@1371: + { echo "$as_me: error: invalid package name: $ac_package" >&2 mgl@1371: + { (exit 1); exit 1; }; } mgl@1371: + ac_package=`echo $ac_package | sed 's/[-.]/_/g'` mgl@1371: + eval with_$ac_package=no ;; mgl@1371: + mgl@1371: + --x) mgl@1371: + # Obsolete; use --with-x. mgl@1371: + with_x=yes ;; mgl@1371: + mgl@1371: + -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ mgl@1371: + | --x-incl | --x-inc | --x-in | --x-i) mgl@1371: + ac_prev=x_includes ;; mgl@1371: + -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ mgl@1371: + | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) mgl@1371: + x_includes=$ac_optarg ;; mgl@1371: + mgl@1371: + -x-libraries | --x-libraries | --x-librarie | --x-librari \ mgl@1371: + | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) mgl@1371: + ac_prev=x_libraries ;; mgl@1371: + -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ mgl@1371: + | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) mgl@1371: + x_libraries=$ac_optarg ;; mgl@1371: + mgl@1371: + -*) { echo "$as_me: error: unrecognized option: $ac_option mgl@1371: +Try \`$0 --help' for more information." >&2 mgl@1371: + { (exit 1); exit 1; }; } mgl@1371: + ;; mgl@1371: + mgl@1371: + *=*) mgl@1371: + ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` mgl@1371: + # Reject names that are not valid shell variable names. mgl@1371: + expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && mgl@1371: + { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 mgl@1371: + { (exit 1); exit 1; }; } mgl@1371: + eval $ac_envvar=\$ac_optarg mgl@1371: + export $ac_envvar ;; mgl@1371: + mgl@1371: + *) mgl@1371: + # FIXME: should be removed in autoconf 3.0. mgl@1371: + echo "$as_me: WARNING: you should use --build, --host, --target" >&2 mgl@1371: + expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && mgl@1371: + echo "$as_me: WARNING: invalid host type: $ac_option" >&2 mgl@1371: + : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} mgl@1371: + ;; mgl@1371: + mgl@1371: + esac mgl@1371: +done mgl@1371: + mgl@1371: +if test -n "$ac_prev"; then mgl@1371: + ac_option=--`echo $ac_prev | sed 's/_/-/g'` mgl@1371: + { echo "$as_me: error: missing argument to $ac_option" >&2 mgl@1371: + { (exit 1); exit 1; }; } mgl@1371: +fi mgl@1371: + mgl@1371: +# Be sure to have absolute directory names. mgl@1371: +for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ mgl@1371: + datadir sysconfdir sharedstatedir localstatedir includedir \ mgl@1371: + oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ mgl@1371: + libdir localedir mandir mgl@1371: +do mgl@1371: + eval ac_val=\$$ac_var mgl@1371: + case $ac_val in mgl@1371: + [\\/$]* | ?:[\\/]* ) continue;; mgl@1371: + NONE | '' ) case $ac_var in *prefix ) continue;; esac;; mgl@1371: + esac mgl@1371: + { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 mgl@1371: + { (exit 1); exit 1; }; } mgl@1371: +done mgl@1371: + mgl@1371: +# There might be people who depend on the old broken behavior: `$host' mgl@1371: +# used to hold the argument of --host etc. mgl@1371: +# FIXME: To remove some day. mgl@1371: +build=$build_alias mgl@1371: +host=$host_alias mgl@1371: +target=$target_alias mgl@1371: + mgl@1371: +# FIXME: To remove some day. mgl@1371: +if test "x$host_alias" != x; then mgl@1371: + if test "x$build_alias" = x; then mgl@1371: + cross_compiling=maybe mgl@1371: + echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. mgl@1371: + If a cross compiler is detected then cross compile mode will be used." >&2 mgl@1371: + elif test "x$build_alias" != "x$host_alias"; then mgl@1371: + cross_compiling=yes mgl@1371: + fi mgl@1371: +fi mgl@1371: + mgl@1371: +ac_tool_prefix= mgl@1371: +test -n "$host_alias" && ac_tool_prefix=$host_alias- mgl@1371: + mgl@1371: +test "$silent" = yes && exec 6>/dev/null mgl@1371: + mgl@1371: + mgl@1371: +ac_pwd=`pwd` && test -n "$ac_pwd" && mgl@1371: +ac_ls_di=`ls -di .` && mgl@1371: +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || mgl@1371: + { echo "$as_me: error: Working directory cannot be determined" >&2 mgl@1371: + { (exit 1); exit 1; }; } mgl@1371: +test "X$ac_ls_di" = "X$ac_pwd_ls_di" || mgl@1371: + { echo "$as_me: error: pwd does not report name of working directory" >&2 mgl@1371: + { (exit 1); exit 1; }; } mgl@1371: + mgl@1371: + mgl@1371: +# Find the source files, if location was not specified. mgl@1371: +if test -z "$srcdir"; then mgl@1371: + ac_srcdir_defaulted=yes mgl@1371: + # Try the directory containing this script, then the parent directory. mgl@1371: + ac_confdir=`$as_dirname -- "$0" || mgl@1371: +$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ mgl@1371: + X"$0" : 'X\(//\)[^/]' \| \ mgl@1371: + X"$0" : 'X\(//\)$' \| \ mgl@1371: + X"$0" : 'X\(/\)' \| . 2>/dev/null || mgl@1371: +echo X"$0" | mgl@1371: + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + /^X\(\/\/\)[^/].*/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + /^X\(\/\/\)$/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + /^X\(\/\).*/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + s/.*/./; q'` mgl@1371: + srcdir=$ac_confdir mgl@1371: + if test ! -r "$srcdir/$ac_unique_file"; then mgl@1371: + srcdir=.. mgl@1371: + fi mgl@1371: +else mgl@1371: + ac_srcdir_defaulted=no mgl@1371: +fi mgl@1371: +if test ! -r "$srcdir/$ac_unique_file"; then mgl@1371: + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." mgl@1371: + { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 mgl@1371: + { (exit 1); exit 1; }; } mgl@1371: +fi mgl@1371: +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" mgl@1371: +ac_abs_confdir=`( mgl@1371: + cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 mgl@1371: + { (exit 1); exit 1; }; } mgl@1371: + pwd)` mgl@1371: +# When building in place, set srcdir=. mgl@1371: +if test "$ac_abs_confdir" = "$ac_pwd"; then mgl@1371: + srcdir=. mgl@1371: +fi mgl@1371: +# Remove unnecessary trailing slashes from srcdir. mgl@1371: +# Double slashes in file names in object file debugging info mgl@1371: +# mess up M-x gdb in Emacs. mgl@1371: +case $srcdir in mgl@1371: +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; mgl@1371: +esac mgl@1371: +for ac_var in $ac_precious_vars; do mgl@1371: + eval ac_env_${ac_var}_set=\${${ac_var}+set} mgl@1371: + eval ac_env_${ac_var}_value=\$${ac_var} mgl@1371: + eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} mgl@1371: + eval ac_cv_env_${ac_var}_value=\$${ac_var} mgl@1371: +done mgl@1371: + mgl@1371: +# mgl@1371: +# Report the --help message. mgl@1371: +# mgl@1371: +if test "$ac_init_help" = "long"; then mgl@1371: + # Omit some internal or obsolete options to make the list less imposing. mgl@1371: + # This message is too long to be a string in the A/UX 3.1 sh. mgl@1371: + cat <<_ACEOF mgl@1371: +\`configure' configures newlib NEWLIB_VERSION to adapt to many kinds of systems. mgl@1371: + mgl@1371: +Usage: $0 [OPTION]... [VAR=VALUE]... mgl@1371: + mgl@1371: +To assign environment variables (e.g., CC, CFLAGS...), specify them as mgl@1371: +VAR=VALUE. See below for descriptions of some of the useful variables. mgl@1371: + mgl@1371: +Defaults for the options are specified in brackets. mgl@1371: + mgl@1371: +Configuration: mgl@1371: + -h, --help display this help and exit mgl@1371: + --help=short display options specific to this package mgl@1371: + --help=recursive display the short help of all the included packages mgl@1371: + -V, --version display version information and exit mgl@1371: + -q, --quiet, --silent do not print \`checking...' messages mgl@1371: + --cache-file=FILE cache test results in FILE [disabled] mgl@1371: + -C, --config-cache alias for \`--cache-file=config.cache' mgl@1371: + -n, --no-create do not create output files mgl@1371: + --srcdir=DIR find the sources in DIR [configure dir or \`..'] mgl@1371: + mgl@1371: +Installation directories: mgl@1371: + --prefix=PREFIX install architecture-independent files in PREFIX mgl@1371: + [$ac_default_prefix] mgl@1371: + --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX mgl@1371: + [PREFIX] mgl@1371: + mgl@1371: +By default, \`make install' will install all the files in mgl@1371: +\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify mgl@1371: +an installation prefix other than \`$ac_default_prefix' using \`--prefix', mgl@1371: +for instance \`--prefix=\$HOME'. mgl@1371: + mgl@1371: +For better control, use the options below. mgl@1371: + mgl@1371: +Fine tuning of the installation directories: mgl@1371: + --bindir=DIR user executables [EPREFIX/bin] mgl@1371: + --sbindir=DIR system admin executables [EPREFIX/sbin] mgl@1371: + --libexecdir=DIR program executables [EPREFIX/libexec] mgl@1371: + --sysconfdir=DIR read-only single-machine data [PREFIX/etc] mgl@1371: + --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] mgl@1371: + --localstatedir=DIR modifiable single-machine data [PREFIX/var] mgl@1371: + --libdir=DIR object code libraries [EPREFIX/lib] mgl@1371: + --includedir=DIR C header files [PREFIX/include] mgl@1371: + --oldincludedir=DIR C header files for non-gcc [/usr/include] mgl@1371: + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] mgl@1371: + --datadir=DIR read-only architecture-independent data [DATAROOTDIR] mgl@1371: + --infodir=DIR info documentation [DATAROOTDIR/info] mgl@1371: + --localedir=DIR locale-dependent data [DATAROOTDIR/locale] mgl@1371: + --mandir=DIR man documentation [DATAROOTDIR/man] mgl@1371: + --docdir=DIR documentation root [DATAROOTDIR/doc/newlib] mgl@1371: + --htmldir=DIR html documentation [DOCDIR] mgl@1371: + --dvidir=DIR dvi documentation [DOCDIR] mgl@1371: + --pdfdir=DIR pdf documentation [DOCDIR] mgl@1371: + --psdir=DIR ps documentation [DOCDIR] mgl@1371: +_ACEOF mgl@1371: + mgl@1371: + cat <<\_ACEOF mgl@1371: + mgl@1371: +Program names: mgl@1371: + --program-prefix=PREFIX prepend PREFIX to installed program names mgl@1371: + --program-suffix=SUFFIX append SUFFIX to installed program names mgl@1371: + --program-transform-name=PROGRAM run sed PROGRAM on installed program names mgl@1371: + mgl@1371: +System types: mgl@1371: + --build=BUILD configure for building on BUILD [guessed] mgl@1371: + --host=HOST cross-compile to build programs to run on HOST [BUILD] mgl@1371: + --target=TARGET configure for building compilers for TARGET [HOST] mgl@1371: +_ACEOF mgl@1371: +fi mgl@1371: + mgl@1371: +if test -n "$ac_init_help"; then mgl@1371: + case $ac_init_help in mgl@1371: + short | recursive ) echo "Configuration of newlib NEWLIB_VERSION:";; mgl@1371: + esac mgl@1371: + cat <<\_ACEOF mgl@1371: + mgl@1371: +Optional Features: mgl@1371: + --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) mgl@1371: + --enable-FEATURE[=ARG] include FEATURE [ARG=yes] mgl@1371: + --enable-multilib build many library versions (default) mgl@1371: + --enable-target-optspace optimize for space mgl@1371: + --enable-malloc-debugging indicate malloc debugging requested mgl@1371: + --enable-newlib-multithread enable support for multiple threads mgl@1371: + --enable-newlib-iconv enable iconv library support mgl@1371: + --enable-newlib-elix-level supply desired elix library level (1-4) mgl@1371: + --disable-newlib-io-float disable printf/scanf family float support mgl@1371: + --disable-newlib-supplied-syscalls disable newlib from supplying syscalls mgl@1371: + --enable-maintainer-mode enable make rules and dependencies not useful mgl@1371: + (and sometimes confusing) to the casual installer mgl@1371: + mgl@1371: +_ACEOF mgl@1371: +ac_status=$? mgl@1371: +fi mgl@1371: + mgl@1371: +if test "$ac_init_help" = "recursive"; then mgl@1371: + # If there are subdirs, report their specific --help. mgl@1371: + for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue mgl@1371: + test -d "$ac_dir" || continue mgl@1371: + ac_builddir=. mgl@1371: + mgl@1371: +case "$ac_dir" in mgl@1371: +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; mgl@1371: +*) mgl@1371: + ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` mgl@1371: + # A ".." for each directory in $ac_dir_suffix. mgl@1371: + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` mgl@1371: + case $ac_top_builddir_sub in mgl@1371: + "") ac_top_builddir_sub=. ac_top_build_prefix= ;; mgl@1371: + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; mgl@1371: + esac ;; mgl@1371: +esac mgl@1371: +ac_abs_top_builddir=$ac_pwd mgl@1371: +ac_abs_builddir=$ac_pwd$ac_dir_suffix mgl@1371: +# for backward compatibility: mgl@1371: +ac_top_builddir=$ac_top_build_prefix mgl@1371: + mgl@1371: +case $srcdir in mgl@1371: + .) # We are building in place. mgl@1371: + ac_srcdir=. mgl@1371: + ac_top_srcdir=$ac_top_builddir_sub mgl@1371: + ac_abs_top_srcdir=$ac_pwd ;; mgl@1371: + [\\/]* | ?:[\\/]* ) # Absolute name. mgl@1371: + ac_srcdir=$srcdir$ac_dir_suffix; mgl@1371: + ac_top_srcdir=$srcdir mgl@1371: + ac_abs_top_srcdir=$srcdir ;; mgl@1371: + *) # Relative name. mgl@1371: + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix mgl@1371: + ac_top_srcdir=$ac_top_build_prefix$srcdir mgl@1371: + ac_abs_top_srcdir=$ac_pwd/$srcdir ;; mgl@1371: +esac mgl@1371: +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix mgl@1371: + mgl@1371: + cd "$ac_dir" || { ac_status=$?; continue; } mgl@1371: + # Check for guested configure. mgl@1371: + if test -f "$ac_srcdir/configure.gnu"; then mgl@1371: + echo && mgl@1371: + $SHELL "$ac_srcdir/configure.gnu" --help=recursive mgl@1371: + elif test -f "$ac_srcdir/configure"; then mgl@1371: + echo && mgl@1371: + $SHELL "$ac_srcdir/configure" --help=recursive mgl@1371: + else mgl@1371: + echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 mgl@1371: + fi || ac_status=$? mgl@1371: + cd "$ac_pwd" || { ac_status=$?; break; } mgl@1371: + done mgl@1371: +fi mgl@1371: + mgl@1371: +test -n "$ac_init_help" && exit $ac_status mgl@1371: +if $ac_init_version; then mgl@1371: + cat <<\_ACEOF mgl@1371: +newlib configure NEWLIB_VERSION mgl@1371: +generated by GNU Autoconf 2.61 mgl@1371: + mgl@1371: +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, mgl@1371: +2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. mgl@1371: +This configure script is free software; the Free Software Foundation mgl@1371: +gives unlimited permission to copy, distribute and modify it. mgl@1371: +_ACEOF mgl@1371: + exit mgl@1371: +fi mgl@1371: +cat >config.log <<_ACEOF mgl@1371: +This file contains any messages produced by compilers while mgl@1371: +running configure, to aid debugging if configure makes a mistake. mgl@1371: + mgl@1371: +It was created by newlib $as_me NEWLIB_VERSION, which was mgl@1371: +generated by GNU Autoconf 2.61. Invocation command line was mgl@1371: + mgl@1371: + $ $0 $@ mgl@1371: + mgl@1371: +_ACEOF mgl@1371: +exec 5>>config.log mgl@1371: +{ mgl@1371: +cat <<_ASUNAME mgl@1371: +## --------- ## mgl@1371: +## Platform. ## mgl@1371: +## --------- ## mgl@1371: + mgl@1371: +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` mgl@1371: +uname -m = `(uname -m) 2>/dev/null || echo unknown` mgl@1371: +uname -r = `(uname -r) 2>/dev/null || echo unknown` mgl@1371: +uname -s = `(uname -s) 2>/dev/null || echo unknown` mgl@1371: +uname -v = `(uname -v) 2>/dev/null || echo unknown` mgl@1371: + mgl@1371: +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` mgl@1371: +/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` mgl@1371: + mgl@1371: +/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` mgl@1371: +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` mgl@1371: +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` mgl@1371: +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` mgl@1371: +/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` mgl@1371: +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` mgl@1371: +/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` mgl@1371: + mgl@1371: +_ASUNAME mgl@1371: + mgl@1371: +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR mgl@1371: +for as_dir in $PATH mgl@1371: +do mgl@1371: + IFS=$as_save_IFS mgl@1371: + test -z "$as_dir" && as_dir=. mgl@1371: + echo "PATH: $as_dir" mgl@1371: +done mgl@1371: +IFS=$as_save_IFS mgl@1371: + mgl@1371: +} >&5 mgl@1371: + mgl@1371: +cat >&5 <<_ACEOF mgl@1371: + mgl@1371: + mgl@1371: +## ----------- ## mgl@1371: +## Core tests. ## mgl@1371: +## ----------- ## mgl@1371: + mgl@1371: +_ACEOF mgl@1371: + mgl@1371: + mgl@1371: +# Keep a trace of the command line. mgl@1371: +# Strip out --no-create and --no-recursion so they do not pile up. mgl@1371: +# Strip out --silent because we don't want to record it for future runs. mgl@1371: +# Also quote any args containing shell meta-characters. mgl@1371: +# Make two passes to allow for proper duplicate-argument suppression. mgl@1371: +ac_configure_args= mgl@1371: +ac_configure_args0= mgl@1371: +ac_configure_args1= mgl@1371: +ac_must_keep_next=false mgl@1371: +for ac_pass in 1 2 mgl@1371: +do mgl@1371: + for ac_arg mgl@1371: + do mgl@1371: + case $ac_arg in mgl@1371: + -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; mgl@1371: + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ mgl@1371: + | -silent | --silent | --silen | --sile | --sil) mgl@1371: + continue ;; mgl@1371: + *\'*) mgl@1371: + ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; mgl@1371: + esac mgl@1371: + case $ac_pass in mgl@1371: + 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; mgl@1371: + 2) mgl@1371: + ac_configure_args1="$ac_configure_args1 '$ac_arg'" mgl@1371: + if test $ac_must_keep_next = true; then mgl@1371: + ac_must_keep_next=false # Got value, back to normal. mgl@1371: + else mgl@1371: + case $ac_arg in mgl@1371: + *=* | --config-cache | -C | -disable-* | --disable-* \ mgl@1371: + | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ mgl@1371: + | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ mgl@1371: + | -with-* | --with-* | -without-* | --without-* | --x) mgl@1371: + case "$ac_configure_args0 " in mgl@1371: + "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; mgl@1371: + esac mgl@1371: + ;; mgl@1371: + -* ) ac_must_keep_next=true ;; mgl@1371: + esac mgl@1371: + fi mgl@1371: + ac_configure_args="$ac_configure_args '$ac_arg'" mgl@1371: + ;; mgl@1371: + esac mgl@1371: + done mgl@1371: +done mgl@1371: +$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } mgl@1371: +$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } mgl@1371: + mgl@1371: +# When interrupted or exit'd, cleanup temporary files, and complete mgl@1371: +# config.log. We remove comments because anyway the quotes in there mgl@1371: +# would cause problems or look ugly. mgl@1371: +# WARNING: Use '\'' to represent an apostrophe within the trap. mgl@1371: +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. mgl@1371: +trap 'exit_status=$? mgl@1371: + # Save into config.log some information that might help in debugging. mgl@1371: + { mgl@1371: + echo mgl@1371: + mgl@1371: + cat <<\_ASBOX mgl@1371: +## ---------------- ## mgl@1371: +## Cache variables. ## mgl@1371: +## ---------------- ## mgl@1371: +_ASBOX mgl@1371: + echo mgl@1371: + # The following way of writing the cache mishandles newlines in values, mgl@1371: +( mgl@1371: + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do mgl@1371: + eval ac_val=\$$ac_var mgl@1371: + case $ac_val in #( mgl@1371: + *${as_nl}*) mgl@1371: + case $ac_var in #( mgl@1371: + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 mgl@1371: +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; mgl@1371: + esac mgl@1371: + case $ac_var in #( mgl@1371: + _ | IFS | as_nl) ;; #( mgl@1371: + *) $as_unset $ac_var ;; mgl@1371: + esac ;; mgl@1371: + esac mgl@1371: + done mgl@1371: + (set) 2>&1 | mgl@1371: + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( mgl@1371: + *${as_nl}ac_space=\ *) mgl@1371: + sed -n \ mgl@1371: + "s/'\''/'\''\\\\'\'''\''/g; mgl@1371: + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" mgl@1371: + ;; #( mgl@1371: + *) mgl@1371: + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" mgl@1371: + ;; mgl@1371: + esac | mgl@1371: + sort mgl@1371: +) mgl@1371: + echo mgl@1371: + mgl@1371: + cat <<\_ASBOX mgl@1371: +## ----------------- ## mgl@1371: +## Output variables. ## mgl@1371: +## ----------------- ## mgl@1371: +_ASBOX mgl@1371: + echo mgl@1371: + for ac_var in $ac_subst_vars mgl@1371: + do mgl@1371: + eval ac_val=\$$ac_var mgl@1371: + case $ac_val in mgl@1371: + *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; mgl@1371: + esac mgl@1371: + echo "$ac_var='\''$ac_val'\''" mgl@1371: + done | sort mgl@1371: + echo mgl@1371: + mgl@1371: + if test -n "$ac_subst_files"; then mgl@1371: + cat <<\_ASBOX mgl@1371: +## ------------------- ## mgl@1371: +## File substitutions. ## mgl@1371: +## ------------------- ## mgl@1371: +_ASBOX mgl@1371: + echo mgl@1371: + for ac_var in $ac_subst_files mgl@1371: + do mgl@1371: + eval ac_val=\$$ac_var mgl@1371: + case $ac_val in mgl@1371: + *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; mgl@1371: + esac mgl@1371: + echo "$ac_var='\''$ac_val'\''" mgl@1371: + done | sort mgl@1371: + echo mgl@1371: + fi mgl@1371: + mgl@1371: + if test -s confdefs.h; then mgl@1371: + cat <<\_ASBOX mgl@1371: +## ----------- ## mgl@1371: +## confdefs.h. ## mgl@1371: +## ----------- ## mgl@1371: +_ASBOX mgl@1371: + echo mgl@1371: + cat confdefs.h mgl@1371: + echo mgl@1371: + fi mgl@1371: + test "$ac_signal" != 0 && mgl@1371: + echo "$as_me: caught signal $ac_signal" mgl@1371: + echo "$as_me: exit $exit_status" mgl@1371: + } >&5 mgl@1371: + rm -f core *.core core.conftest.* && mgl@1371: + rm -f -r conftest* confdefs* conf$$* $ac_clean_files && mgl@1371: + exit $exit_status mgl@1371: +' 0 mgl@1371: +for ac_signal in 1 2 13 15; do mgl@1371: + trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal mgl@1371: +done mgl@1371: +ac_signal=0 mgl@1371: + mgl@1371: +# confdefs.h avoids OS command line length limits that DEFS can exceed. mgl@1371: +rm -f -r conftest* confdefs.h mgl@1371: + mgl@1371: +# Predefined preprocessor variables. mgl@1371: + mgl@1371: +cat >>confdefs.h <<_ACEOF mgl@1371: +#define PACKAGE_NAME "$PACKAGE_NAME" mgl@1371: +_ACEOF mgl@1371: + mgl@1371: + mgl@1371: +cat >>confdefs.h <<_ACEOF mgl@1371: +#define PACKAGE_TARNAME "$PACKAGE_TARNAME" mgl@1371: +_ACEOF mgl@1371: + mgl@1371: + mgl@1371: +cat >>confdefs.h <<_ACEOF mgl@1371: +#define PACKAGE_VERSION "$PACKAGE_VERSION" mgl@1371: +_ACEOF mgl@1371: + mgl@1371: + mgl@1371: +cat >>confdefs.h <<_ACEOF mgl@1371: +#define PACKAGE_STRING "$PACKAGE_STRING" mgl@1371: +_ACEOF mgl@1371: + mgl@1371: + mgl@1371: +cat >>confdefs.h <<_ACEOF mgl@1371: +#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" mgl@1371: +_ACEOF mgl@1371: + mgl@1371: + mgl@1371: +# Let the site file select an alternate cache file if it wants to. mgl@1371: +# Prefer explicitly selected file to automatically selected ones. mgl@1371: +if test -n "$CONFIG_SITE"; then mgl@1371: + set x "$CONFIG_SITE" mgl@1371: +elif test "x$prefix" != xNONE; then mgl@1371: + set x "$prefix/share/config.site" "$prefix/etc/config.site" mgl@1371: +else mgl@1371: + set x "$ac_default_prefix/share/config.site" \ mgl@1371: + "$ac_default_prefix/etc/config.site" mgl@1371: +fi mgl@1371: +shift mgl@1371: +for ac_site_file mgl@1371: +do mgl@1371: + if test -r "$ac_site_file"; then mgl@1371: + { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 mgl@1371: +echo "$as_me: loading site script $ac_site_file" >&6;} mgl@1371: + sed 's/^/| /' "$ac_site_file" >&5 mgl@1371: + . "$ac_site_file" mgl@1371: + fi mgl@1371: +done mgl@1371: + mgl@1371: +if test -r "$cache_file"; then mgl@1371: + # Some versions of bash will fail to source /dev/null (special mgl@1371: + # files actually), so we avoid doing that. mgl@1371: + if test -f "$cache_file"; then mgl@1371: + { echo "$as_me:$LINENO: loading cache $cache_file" >&5 mgl@1371: +echo "$as_me: loading cache $cache_file" >&6;} mgl@1371: + case $cache_file in mgl@1371: + [\\/]* | ?:[\\/]* ) . "$cache_file";; mgl@1371: + *) . "./$cache_file";; mgl@1371: + esac mgl@1371: + fi mgl@1371: +else mgl@1371: + { echo "$as_me:$LINENO: creating cache $cache_file" >&5 mgl@1371: +echo "$as_me: creating cache $cache_file" >&6;} mgl@1371: + >$cache_file mgl@1371: +fi mgl@1371: + mgl@1371: +# Check that the precious variables saved in the cache have kept the same mgl@1371: +# value. mgl@1371: +ac_cache_corrupted=false mgl@1371: +for ac_var in $ac_precious_vars; do mgl@1371: + eval ac_old_set=\$ac_cv_env_${ac_var}_set mgl@1371: + eval ac_new_set=\$ac_env_${ac_var}_set mgl@1371: + eval ac_old_val=\$ac_cv_env_${ac_var}_value mgl@1371: + eval ac_new_val=\$ac_env_${ac_var}_value mgl@1371: + case $ac_old_set,$ac_new_set in mgl@1371: + set,) mgl@1371: + { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 mgl@1371: +echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} mgl@1371: + ac_cache_corrupted=: ;; mgl@1371: + ,set) mgl@1371: + { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 mgl@1371: +echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} mgl@1371: + ac_cache_corrupted=: ;; mgl@1371: + ,);; mgl@1371: + *) mgl@1371: + if test "x$ac_old_val" != "x$ac_new_val"; then mgl@1371: + { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 mgl@1371: +echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} mgl@1371: + { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 mgl@1371: +echo "$as_me: former value: $ac_old_val" >&2;} mgl@1371: + { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 mgl@1371: +echo "$as_me: current value: $ac_new_val" >&2;} mgl@1371: + ac_cache_corrupted=: mgl@1371: + fi;; mgl@1371: + esac mgl@1371: + # Pass precious variables to config.status. mgl@1371: + if test "$ac_new_set" = set; then mgl@1371: + case $ac_new_val in mgl@1371: + *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; mgl@1371: + *) ac_arg=$ac_var=$ac_new_val ;; mgl@1371: + esac mgl@1371: + case " $ac_configure_args " in mgl@1371: + *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. mgl@1371: + *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; mgl@1371: + esac mgl@1371: + fi mgl@1371: +done mgl@1371: +if $ac_cache_corrupted; then mgl@1371: + { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 mgl@1371: +echo "$as_me: error: changes in the environment can compromise the build" >&2;} mgl@1371: + { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 mgl@1371: +echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} mgl@1371: + { (exit 1); exit 1; }; } mgl@1371: +fi mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: +ac_ext=c mgl@1371: +ac_cpp='$CPP $CPPFLAGS' mgl@1371: +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' mgl@1371: +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' mgl@1371: +ac_compiler_gnu=$ac_cv_c_compiler_gnu mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: +ac_aux_dir= mgl@1371: +for ac_dir in ../../../.. "$srcdir"/../../../..; do mgl@1371: + if test -f "$ac_dir/install-sh"; then mgl@1371: + ac_aux_dir=$ac_dir mgl@1371: + ac_install_sh="$ac_aux_dir/install-sh -c" mgl@1371: + break mgl@1371: + elif test -f "$ac_dir/install.sh"; then mgl@1371: + ac_aux_dir=$ac_dir mgl@1371: + ac_install_sh="$ac_aux_dir/install.sh -c" mgl@1371: + break mgl@1371: + elif test -f "$ac_dir/shtool"; then mgl@1371: + ac_aux_dir=$ac_dir mgl@1371: + ac_install_sh="$ac_aux_dir/shtool install -c" mgl@1371: + break mgl@1371: + fi mgl@1371: +done mgl@1371: +if test -z "$ac_aux_dir"; then mgl@1371: + { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ../../../.. \"$srcdir\"/../../../.." >&5 mgl@1371: +echo "$as_me: error: cannot find install-sh or install.sh in ../../../.. \"$srcdir\"/../../../.." >&2;} mgl@1371: + { (exit 1); exit 1; }; } mgl@1371: +fi mgl@1371: + mgl@1371: +# These three variables are undocumented and unsupported, mgl@1371: +# and are intended to be withdrawn in a future Autoconf release. mgl@1371: +# They can cause serious problems if a builder's source tree is in a directory mgl@1371: +# whose full name contains unusual characters. mgl@1371: +ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. mgl@1371: +ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. mgl@1371: +ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: +# Make sure we can run config.sub. mgl@1371: +$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || mgl@1371: + { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 mgl@1371: +echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} mgl@1371: + { (exit 1); exit 1; }; } mgl@1371: + mgl@1371: +{ echo "$as_me:$LINENO: checking build system type" >&5 mgl@1371: +echo $ECHO_N "checking build system type... $ECHO_C" >&6; } mgl@1371: +if test "${ac_cv_build+set}" = set; then mgl@1371: + echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: +else mgl@1371: + ac_build_alias=$build_alias mgl@1371: +test "x$ac_build_alias" = x && mgl@1371: + ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` mgl@1371: +test "x$ac_build_alias" = x && mgl@1371: + { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 mgl@1371: +echo "$as_me: error: cannot guess build type; you must specify one" >&2;} mgl@1371: + { (exit 1); exit 1; }; } mgl@1371: +ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || mgl@1371: + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 mgl@1371: +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} mgl@1371: + { (exit 1); exit 1; }; } mgl@1371: + mgl@1371: +fi mgl@1371: +{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5 mgl@1371: +echo "${ECHO_T}$ac_cv_build" >&6; } mgl@1371: +case $ac_cv_build in mgl@1371: +*-*-*) ;; mgl@1371: +*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 mgl@1371: +echo "$as_me: error: invalid value of canonical build" >&2;} mgl@1371: + { (exit 1); exit 1; }; };; mgl@1371: +esac mgl@1371: +build=$ac_cv_build mgl@1371: +ac_save_IFS=$IFS; IFS='-' mgl@1371: +set x $ac_cv_build mgl@1371: +shift mgl@1371: +build_cpu=$1 mgl@1371: +build_vendor=$2 mgl@1371: +shift; shift mgl@1371: +# Remember, the first character of IFS is used to create $*, mgl@1371: +# except with old shells: mgl@1371: +build_os=$* mgl@1371: +IFS=$ac_save_IFS mgl@1371: +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac mgl@1371: + mgl@1371: + mgl@1371: +{ echo "$as_me:$LINENO: checking host system type" >&5 mgl@1371: +echo $ECHO_N "checking host system type... $ECHO_C" >&6; } mgl@1371: +if test "${ac_cv_host+set}" = set; then mgl@1371: + echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: +else mgl@1371: + if test "x$host_alias" = x; then mgl@1371: + ac_cv_host=$ac_cv_build mgl@1371: +else mgl@1371: + ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || mgl@1371: + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 mgl@1371: +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} mgl@1371: + { (exit 1); exit 1; }; } mgl@1371: +fi mgl@1371: + mgl@1371: +fi mgl@1371: +{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5 mgl@1371: +echo "${ECHO_T}$ac_cv_host" >&6; } mgl@1371: +case $ac_cv_host in mgl@1371: +*-*-*) ;; mgl@1371: +*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 mgl@1371: +echo "$as_me: error: invalid value of canonical host" >&2;} mgl@1371: + { (exit 1); exit 1; }; };; mgl@1371: +esac mgl@1371: +host=$ac_cv_host mgl@1371: +ac_save_IFS=$IFS; IFS='-' mgl@1371: +set x $ac_cv_host mgl@1371: +shift mgl@1371: +host_cpu=$1 mgl@1371: +host_vendor=$2 mgl@1371: +shift; shift mgl@1371: +# Remember, the first character of IFS is used to create $*, mgl@1371: +# except with old shells: mgl@1371: +host_os=$* mgl@1371: +IFS=$ac_save_IFS mgl@1371: +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac mgl@1371: + mgl@1371: + mgl@1371: +am__api_version="1.4" mgl@1371: +# Find a good install program. We prefer a C program (faster), mgl@1371: +# so one script is as good as another. But avoid the broken or mgl@1371: +# incompatible versions: mgl@1371: +# SysV /etc/install, /usr/sbin/install mgl@1371: +# SunOS /usr/etc/install mgl@1371: +# IRIX /sbin/install mgl@1371: +# AIX /bin/install mgl@1371: +# AmigaOS /C/install, which installs bootblocks on floppy discs mgl@1371: +# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag mgl@1371: +# AFS /usr/afsws/bin/install, which mishandles nonexistent args mgl@1371: +# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" mgl@1371: +# OS/2's system install, which has a completely different semantic mgl@1371: +# ./install, which can be erroneously created by make from ./install.sh. mgl@1371: +{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 mgl@1371: +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } mgl@1371: +if test -z "$INSTALL"; then mgl@1371: +if test "${ac_cv_path_install+set}" = set; then mgl@1371: + echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: +else mgl@1371: + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR mgl@1371: +for as_dir in $PATH mgl@1371: +do mgl@1371: + IFS=$as_save_IFS mgl@1371: + test -z "$as_dir" && as_dir=. mgl@1371: + # Account for people who put trailing slashes in PATH elements. mgl@1371: +case $as_dir/ in mgl@1371: + ./ | .// | /cC/* | \ mgl@1371: + /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ mgl@1371: + ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ mgl@1371: + /usr/ucb/* ) ;; mgl@1371: + *) mgl@1371: + # OSF1 and SCO ODT 3.0 have their own names for install. mgl@1371: + # Don't use installbsd from OSF since it installs stuff as root mgl@1371: + # by default. mgl@1371: + for ac_prog in ginstall scoinst install; do mgl@1371: + for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then mgl@1371: + if test $ac_prog = install && mgl@1371: + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then mgl@1371: + # AIX install. It has an incompatible calling convention. mgl@1371: + : mgl@1371: + elif test $ac_prog = install && mgl@1371: + grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then mgl@1371: + # program-specific install script used by HP pwplus--don't use. mgl@1371: + : mgl@1371: + else mgl@1371: + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" mgl@1371: + break 3 mgl@1371: + fi mgl@1371: + fi mgl@1371: + done mgl@1371: + done mgl@1371: + ;; mgl@1371: +esac mgl@1371: +done mgl@1371: +IFS=$as_save_IFS mgl@1371: + mgl@1371: + mgl@1371: +fi mgl@1371: + if test "${ac_cv_path_install+set}" = set; then mgl@1371: + INSTALL=$ac_cv_path_install mgl@1371: + else mgl@1371: + # As a last resort, use the slow shell script. Don't cache a mgl@1371: + # value for INSTALL within a source directory, because that will mgl@1371: + # break other packages using the cache if that directory is mgl@1371: + # removed, or if the value is a relative name. mgl@1371: + INSTALL=$ac_install_sh mgl@1371: + fi mgl@1371: +fi mgl@1371: +{ echo "$as_me:$LINENO: result: $INSTALL" >&5 mgl@1371: +echo "${ECHO_T}$INSTALL" >&6; } mgl@1371: + mgl@1371: +# Use test -z because SunOS4 sh mishandles braces in ${var-val}. mgl@1371: +# It thinks the first close brace ends the variable substitution. mgl@1371: +test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' mgl@1371: + mgl@1371: +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' mgl@1371: + mgl@1371: +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' mgl@1371: + mgl@1371: +{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5 mgl@1371: +echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; } mgl@1371: +# Just in case mgl@1371: +sleep 1 mgl@1371: +echo timestamp > conftestfile mgl@1371: +# Do `set' in a subshell so we don't clobber the current shell's mgl@1371: +# arguments. Must try -L first in case configure is actually a mgl@1371: +# symlink; some systems play weird games with the mod time of symlinks mgl@1371: +# (eg FreeBSD returns the mod time of the symlink's containing mgl@1371: +# directory). mgl@1371: +if ( mgl@1371: + set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null` mgl@1371: + if test "$*" = "X"; then mgl@1371: + # -L didn't work. mgl@1371: + set X `ls -t $srcdir/configure conftestfile` mgl@1371: + fi mgl@1371: + if test "$*" != "X $srcdir/configure conftestfile" \ mgl@1371: + && test "$*" != "X conftestfile $srcdir/configure"; then mgl@1371: + mgl@1371: + # If neither matched, then we have a broken ls. This can happen mgl@1371: + # if, for instance, CONFIG_SHELL is bash and it inherits a mgl@1371: + # broken ls alias from the environment. This has actually mgl@1371: + # happened. Such a system could not be considered "sane". mgl@1371: + { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken mgl@1371: +alias in your environment" >&5 mgl@1371: +echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken mgl@1371: +alias in your environment" >&2;} mgl@1371: + { (exit 1); exit 1; }; } mgl@1371: + fi mgl@1371: + mgl@1371: + test "$2" = conftestfile mgl@1371: + ) mgl@1371: +then mgl@1371: + # Ok. mgl@1371: + : mgl@1371: +else mgl@1371: + { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! mgl@1371: +Check your system clock" >&5 mgl@1371: +echo "$as_me: error: newly created file is older than distributed files! mgl@1371: +Check your system clock" >&2;} mgl@1371: + { (exit 1); exit 1; }; } mgl@1371: +fi mgl@1371: +rm -f conftest* mgl@1371: +{ echo "$as_me:$LINENO: result: yes" >&5 mgl@1371: +echo "${ECHO_T}yes" >&6; } mgl@1371: +test "$program_prefix" != NONE && mgl@1371: + program_transform_name="s&^&$program_prefix&;$program_transform_name" mgl@1371: +# Use a double $ so make ignores it. mgl@1371: +test "$program_suffix" != NONE && mgl@1371: + program_transform_name="s&\$&$program_suffix&;$program_transform_name" mgl@1371: +# Double any \ or $. echo might interpret backslashes. mgl@1371: +# By default was `s,x,x', remove it if useless. mgl@1371: +cat <<\_ACEOF >conftest.sed mgl@1371: +s/[\\$]/&&/g;s/;s,x,x,$// mgl@1371: +_ACEOF mgl@1371: +program_transform_name=`echo $program_transform_name | sed -f conftest.sed` mgl@1371: +rm -f conftest.sed mgl@1371: + mgl@1371: +{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 mgl@1371: +echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } mgl@1371: +set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` mgl@1371: +if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then mgl@1371: + echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: +else mgl@1371: + cat >conftest.make <<\_ACEOF mgl@1371: +SHELL = /bin/sh mgl@1371: +all: mgl@1371: + @echo '@@@%%%=$(MAKE)=@@@%%%' mgl@1371: +_ACEOF mgl@1371: +# GNU make sometimes prints "make[1]: Entering...", which would confuse us. mgl@1371: +case `${MAKE-make} -f conftest.make 2>/dev/null` in mgl@1371: + *@@@%%%=?*=@@@%%%*) mgl@1371: + eval ac_cv_prog_make_${ac_make}_set=yes;; mgl@1371: + *) mgl@1371: + eval ac_cv_prog_make_${ac_make}_set=no;; mgl@1371: +esac mgl@1371: +rm -f conftest.make mgl@1371: +fi mgl@1371: +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then mgl@1371: + { echo "$as_me:$LINENO: result: yes" >&5 mgl@1371: +echo "${ECHO_T}yes" >&6; } mgl@1371: + SET_MAKE= mgl@1371: +else mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: + SET_MAKE="MAKE=${MAKE-make}" mgl@1371: +fi mgl@1371: + mgl@1371: + mgl@1371: +# Check whether --enable-multilib was given. mgl@1371: +if test "${enable_multilib+set}" = set; then mgl@1371: + enableval=$enable_multilib; case "${enableval}" in mgl@1371: + yes) multilib=yes ;; mgl@1371: + no) multilib=no ;; mgl@1371: + *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for multilib option" >&5 mgl@1371: +echo "$as_me: error: bad value ${enableval} for multilib option" >&2;} mgl@1371: + { (exit 1); exit 1; }; } ;; mgl@1371: + esac mgl@1371: +else mgl@1371: + multilib=yes mgl@1371: +fi mgl@1371: + mgl@1371: +# Check whether --enable-target-optspace was given. mgl@1371: +if test "${enable_target_optspace+set}" = set; then mgl@1371: + enableval=$enable_target_optspace; case "${enableval}" in mgl@1371: + yes) target_optspace=yes ;; mgl@1371: + no) target_optspace=no ;; mgl@1371: + *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for target-optspace option" >&5 mgl@1371: +echo "$as_me: error: bad value ${enableval} for target-optspace option" >&2;} mgl@1371: + { (exit 1); exit 1; }; } ;; mgl@1371: + esac mgl@1371: +else mgl@1371: + target_optspace= mgl@1371: +fi mgl@1371: + mgl@1371: +# Check whether --enable-malloc-debugging was given. mgl@1371: +if test "${enable_malloc_debugging+set}" = set; then mgl@1371: + enableval=$enable_malloc_debugging; case "${enableval}" in mgl@1371: + yes) malloc_debugging=yes ;; mgl@1371: + no) malloc_debugging=no ;; mgl@1371: + *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for malloc-debugging option" >&5 mgl@1371: +echo "$as_me: error: bad value ${enableval} for malloc-debugging option" >&2;} mgl@1371: + { (exit 1); exit 1; }; } ;; mgl@1371: + esac mgl@1371: +else mgl@1371: + malloc_debugging= mgl@1371: +fi mgl@1371: + mgl@1371: +# Check whether --enable-newlib-multithread was given. mgl@1371: +if test "${enable_newlib_multithread+set}" = set; then mgl@1371: + enableval=$enable_newlib_multithread; case "${enableval}" in mgl@1371: + yes) newlib_multithread=yes ;; mgl@1371: + no) newlib_multithread=no ;; mgl@1371: + *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-multithread option" >&5 mgl@1371: +echo "$as_me: error: bad value ${enableval} for newlib-multithread option" >&2;} mgl@1371: + { (exit 1); exit 1; }; } ;; mgl@1371: + esac mgl@1371: +else mgl@1371: + newlib_multithread=yes mgl@1371: +fi mgl@1371: + mgl@1371: +# Check whether --enable-newlib-iconv was given. mgl@1371: +if test "${enable_newlib_iconv+set}" = set; then mgl@1371: + enableval=$enable_newlib_iconv; if test "${newlib_iconv+set}" != set; then mgl@1371: + case "${enableval}" in mgl@1371: + yes) newlib_iconv=yes ;; mgl@1371: + no) newlib_iconv=no ;; mgl@1371: + *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-iconv option" >&5 mgl@1371: +echo "$as_me: error: bad value ${enableval} for newlib-iconv option" >&2;} mgl@1371: + { (exit 1); exit 1; }; } ;; mgl@1371: + esac mgl@1371: + fi mgl@1371: +else mgl@1371: + newlib_iconv=${newlib_iconv} mgl@1371: +fi mgl@1371: + mgl@1371: +# Check whether --enable-newlib-elix-level was given. mgl@1371: +if test "${enable_newlib_elix_level+set}" = set; then mgl@1371: + enableval=$enable_newlib_elix_level; case "${enableval}" in mgl@1371: + 0) newlib_elix_level=0 ;; mgl@1371: + 1) newlib_elix_level=1 ;; mgl@1371: + 2) newlib_elix_level=2 ;; mgl@1371: + 3) newlib_elix_level=3 ;; mgl@1371: + 4) newlib_elix_level=4 ;; mgl@1371: + *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-elix-level option" >&5 mgl@1371: +echo "$as_me: error: bad value ${enableval} for newlib-elix-level option" >&2;} mgl@1371: + { (exit 1); exit 1; }; } ;; mgl@1371: + esac mgl@1371: +else mgl@1371: + newlib_elix_level=0 mgl@1371: +fi mgl@1371: + mgl@1371: +# Check whether --enable-newlib-io-float was given. mgl@1371: +if test "${enable_newlib_io_float+set}" = set; then mgl@1371: + enableval=$enable_newlib_io_float; case "${enableval}" in mgl@1371: + yes) newlib_io_float=yes ;; mgl@1371: + no) newlib_io_float=no ;; mgl@1371: + *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-io-float option" >&5 mgl@1371: +echo "$as_me: error: bad value ${enableval} for newlib-io-float option" >&2;} mgl@1371: + { (exit 1); exit 1; }; } ;; mgl@1371: + esac mgl@1371: +else mgl@1371: + newlib_io_float=yes mgl@1371: +fi mgl@1371: + mgl@1371: +# Check whether --enable-newlib-supplied-syscalls was given. mgl@1371: +if test "${enable_newlib_supplied_syscalls+set}" = set; then mgl@1371: + enableval=$enable_newlib_supplied_syscalls; case "${enableval}" in mgl@1371: + yes) newlib_may_supply_syscalls=yes ;; mgl@1371: + no) newlib_may_supply_syscalls=no ;; mgl@1371: + *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-supplied-syscalls option" >&5 mgl@1371: +echo "$as_me: error: bad value ${enableval} for newlib-supplied-syscalls option" >&2;} mgl@1371: + { (exit 1); exit 1; }; } ;; mgl@1371: + esac mgl@1371: +else mgl@1371: + newlib_may_supply_syscalls=yes mgl@1371: +fi mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: +if test x${newlib_may_supply_syscalls} = xyes; then mgl@1371: + MAY_SUPPLY_SYSCALLS_TRUE= mgl@1371: + MAY_SUPPLY_SYSCALLS_FALSE='#' mgl@1371: +else mgl@1371: + MAY_SUPPLY_SYSCALLS_TRUE='#' mgl@1371: + MAY_SUPPLY_SYSCALLS_FALSE= mgl@1371: +fi mgl@1371: + mgl@1371: + mgl@1371: +test -z "${with_target_subdir}" && with_target_subdir=. mgl@1371: + mgl@1371: +if test "${srcdir}" = "."; then mgl@1371: + if test "${with_target_subdir}" != "."; then mgl@1371: + newlib_basedir="${srcdir}/${with_multisrctop}../../../.." mgl@1371: + else mgl@1371: + newlib_basedir="${srcdir}/${with_multisrctop}../../.." mgl@1371: + fi mgl@1371: +else mgl@1371: + newlib_basedir="${srcdir}/../../.." mgl@1371: +fi mgl@1371: + mgl@1371: + mgl@1371: +{ echo "$as_me:$LINENO: checking target system type" >&5 mgl@1371: +echo $ECHO_N "checking target system type... $ECHO_C" >&6; } mgl@1371: +if test "${ac_cv_target+set}" = set; then mgl@1371: + echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: +else mgl@1371: + if test "x$target_alias" = x; then mgl@1371: + ac_cv_target=$ac_cv_host mgl@1371: +else mgl@1371: + ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || mgl@1371: + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5 mgl@1371: +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;} mgl@1371: + { (exit 1); exit 1; }; } mgl@1371: +fi mgl@1371: + mgl@1371: +fi mgl@1371: +{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5 mgl@1371: +echo "${ECHO_T}$ac_cv_target" >&6; } mgl@1371: +case $ac_cv_target in mgl@1371: +*-*-*) ;; mgl@1371: +*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5 mgl@1371: +echo "$as_me: error: invalid value of canonical target" >&2;} mgl@1371: + { (exit 1); exit 1; }; };; mgl@1371: +esac mgl@1371: +target=$ac_cv_target mgl@1371: +ac_save_IFS=$IFS; IFS='-' mgl@1371: +set x $ac_cv_target mgl@1371: +shift mgl@1371: +target_cpu=$1 mgl@1371: +target_vendor=$2 mgl@1371: +shift; shift mgl@1371: +# Remember, the first character of IFS is used to create $*, mgl@1371: +# except with old shells: mgl@1371: +target_os=$* mgl@1371: +IFS=$ac_save_IFS mgl@1371: +case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac mgl@1371: + mgl@1371: + mgl@1371: +# The aliases save the names the user supplied, while $host etc. mgl@1371: +# will get canonicalized. mgl@1371: +test -n "$target_alias" && mgl@1371: + test "$program_prefix$program_suffix$program_transform_name" = \ mgl@1371: + NONENONEs,x,x, && mgl@1371: + program_prefix=${target_alias}- mgl@1371: + mgl@1371: + mgl@1371: +PACKAGE=newlib mgl@1371: + mgl@1371: +VERSION=1.14.0.atmel.1.0.1 mgl@1371: + mgl@1371: +if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then mgl@1371: + { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 mgl@1371: +echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} mgl@1371: + { (exit 1); exit 1; }; } mgl@1371: +fi mgl@1371: + mgl@1371: +cat >>confdefs.h <<_ACEOF mgl@1371: +#define PACKAGE "$PACKAGE" mgl@1371: +_ACEOF mgl@1371: + mgl@1371: + mgl@1371: +cat >>confdefs.h <<_ACEOF mgl@1371: +#define VERSION "$VERSION" mgl@1371: +_ACEOF mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: +missing_dir=`cd $ac_aux_dir && pwd` mgl@1371: +{ echo "$as_me:$LINENO: checking for working aclocal-${am__api_version}" >&5 mgl@1371: +echo $ECHO_N "checking for working aclocal-${am__api_version}... $ECHO_C" >&6; } mgl@1371: +# Run test in a subshell; some versions of sh will print an error if mgl@1371: +# an executable is not found, even if stderr is redirected. mgl@1371: +# Redirect stdin to placate older versions of autoconf. Sigh. mgl@1371: +if (aclocal-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then mgl@1371: + ACLOCAL=aclocal-${am__api_version} mgl@1371: + { echo "$as_me:$LINENO: result: found" >&5 mgl@1371: +echo "${ECHO_T}found" >&6; } mgl@1371: +else mgl@1371: + ACLOCAL="$missing_dir/missing aclocal-${am__api_version}" mgl@1371: + { echo "$as_me:$LINENO: result: missing" >&5 mgl@1371: +echo "${ECHO_T}missing" >&6; } mgl@1371: +fi mgl@1371: + mgl@1371: +{ echo "$as_me:$LINENO: checking for working autoconf" >&5 mgl@1371: +echo $ECHO_N "checking for working autoconf... $ECHO_C" >&6; } mgl@1371: +# Run test in a subshell; some versions of sh will print an error if mgl@1371: +# an executable is not found, even if stderr is redirected. mgl@1371: +# Redirect stdin to placate older versions of autoconf. Sigh. mgl@1371: +if (autoconf --version) < /dev/null > /dev/null 2>&1; then mgl@1371: + AUTOCONF=autoconf mgl@1371: + { echo "$as_me:$LINENO: result: found" >&5 mgl@1371: +echo "${ECHO_T}found" >&6; } mgl@1371: +else mgl@1371: + AUTOCONF="$missing_dir/missing autoconf" mgl@1371: + { echo "$as_me:$LINENO: result: missing" >&5 mgl@1371: +echo "${ECHO_T}missing" >&6; } mgl@1371: +fi mgl@1371: + mgl@1371: +{ echo "$as_me:$LINENO: checking for working automake-${am__api_version}" >&5 mgl@1371: +echo $ECHO_N "checking for working automake-${am__api_version}... $ECHO_C" >&6; } mgl@1371: +# Run test in a subshell; some versions of sh will print an error if mgl@1371: +# an executable is not found, even if stderr is redirected. mgl@1371: +# Redirect stdin to placate older versions of autoconf. Sigh. mgl@1371: +if (automake-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then mgl@1371: + AUTOMAKE=automake-${am__api_version} mgl@1371: + { echo "$as_me:$LINENO: result: found" >&5 mgl@1371: +echo "${ECHO_T}found" >&6; } mgl@1371: +else mgl@1371: + AUTOMAKE="$missing_dir/missing automake-${am__api_version}" mgl@1371: + { echo "$as_me:$LINENO: result: missing" >&5 mgl@1371: +echo "${ECHO_T}missing" >&6; } mgl@1371: +fi mgl@1371: + mgl@1371: +{ echo "$as_me:$LINENO: checking for working autoheader" >&5 mgl@1371: +echo $ECHO_N "checking for working autoheader... $ECHO_C" >&6; } mgl@1371: +# Run test in a subshell; some versions of sh will print an error if mgl@1371: +# an executable is not found, even if stderr is redirected. mgl@1371: +# Redirect stdin to placate older versions of autoconf. Sigh. mgl@1371: +if (autoheader --version) < /dev/null > /dev/null 2>&1; then mgl@1371: + AUTOHEADER=autoheader mgl@1371: + { echo "$as_me:$LINENO: result: found" >&5 mgl@1371: +echo "${ECHO_T}found" >&6; } mgl@1371: +else mgl@1371: + AUTOHEADER="$missing_dir/missing autoheader" mgl@1371: + { echo "$as_me:$LINENO: result: missing" >&5 mgl@1371: +echo "${ECHO_T}missing" >&6; } mgl@1371: +fi mgl@1371: + mgl@1371: +{ echo "$as_me:$LINENO: checking for working makeinfo" >&5 mgl@1371: +echo $ECHO_N "checking for working makeinfo... $ECHO_C" >&6; } mgl@1371: +# Run test in a subshell; some versions of sh will print an error if mgl@1371: +# an executable is not found, even if stderr is redirected. mgl@1371: +# Redirect stdin to placate older versions of autoconf. Sigh. mgl@1371: +if (makeinfo --version) < /dev/null > /dev/null 2>&1; then mgl@1371: + MAKEINFO=makeinfo mgl@1371: + { echo "$as_me:$LINENO: result: found" >&5 mgl@1371: +echo "${ECHO_T}found" >&6; } mgl@1371: +else mgl@1371: + MAKEINFO="$missing_dir/missing makeinfo" mgl@1371: + { echo "$as_me:$LINENO: result: missing" >&5 mgl@1371: +echo "${ECHO_T}missing" >&6; } mgl@1371: +fi mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: +# FIXME: We temporarily define our own version of AC_PROG_CC. This is mgl@1371: +# copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We mgl@1371: +# are probably using a cross compiler, which will not be able to fully mgl@1371: +# link an executable. This should really be fixed in autoconf mgl@1371: +# itself. mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: +# Extract the first word of "gcc", so it can be a program name with args. mgl@1371: +set dummy gcc; ac_word=$2 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: +if test "${ac_cv_prog_CC+set}" = set; then mgl@1371: + echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: +else mgl@1371: + if test -n "$CC"; then mgl@1371: + ac_cv_prog_CC="$CC" # Let the user override the test. mgl@1371: +else mgl@1371: +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR mgl@1371: +for as_dir in $PATH mgl@1371: +do mgl@1371: + IFS=$as_save_IFS mgl@1371: + test -z "$as_dir" && as_dir=. mgl@1371: + for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: + ac_cv_prog_CC="gcc" mgl@1371: + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: + break 2 mgl@1371: + fi mgl@1371: +done mgl@1371: +done mgl@1371: +IFS=$as_save_IFS mgl@1371: + mgl@1371: +fi mgl@1371: +fi mgl@1371: +CC=$ac_cv_prog_CC mgl@1371: +if test -n "$CC"; then mgl@1371: + { echo "$as_me:$LINENO: result: $CC" >&5 mgl@1371: +echo "${ECHO_T}$CC" >&6; } mgl@1371: +else mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: +fi mgl@1371: + mgl@1371: + mgl@1371: +if test -z "$CC"; then mgl@1371: + # Extract the first word of "cc", so it can be a program name with args. mgl@1371: +set dummy cc; ac_word=$2 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: +if test "${ac_cv_prog_CC+set}" = set; then mgl@1371: + echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: +else mgl@1371: + if test -n "$CC"; then mgl@1371: + ac_cv_prog_CC="$CC" # Let the user override the test. mgl@1371: +else mgl@1371: + ac_prog_rejected=no mgl@1371: +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR mgl@1371: +for as_dir in $PATH mgl@1371: +do mgl@1371: + IFS=$as_save_IFS mgl@1371: + test -z "$as_dir" && as_dir=. mgl@1371: + for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then mgl@1371: + ac_prog_rejected=yes mgl@1371: + continue mgl@1371: + fi mgl@1371: + ac_cv_prog_CC="cc" mgl@1371: + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: + break 2 mgl@1371: + fi mgl@1371: +done mgl@1371: +done mgl@1371: +IFS=$as_save_IFS mgl@1371: + mgl@1371: +if test $ac_prog_rejected = yes; then mgl@1371: + # We found a bogon in the path, so make sure we never use it. mgl@1371: + set dummy $ac_cv_prog_CC mgl@1371: + shift mgl@1371: + if test $# != 0; then mgl@1371: + # We chose a different compiler from the bogus one. mgl@1371: + # However, it has the same basename, so the bogon will be chosen mgl@1371: + # first if we set CC to just the basename; use the full file name. mgl@1371: + shift mgl@1371: + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" mgl@1371: + fi mgl@1371: +fi mgl@1371: +fi mgl@1371: +fi mgl@1371: +CC=$ac_cv_prog_CC mgl@1371: +if test -n "$CC"; then mgl@1371: + { echo "$as_me:$LINENO: result: $CC" >&5 mgl@1371: +echo "${ECHO_T}$CC" >&6; } mgl@1371: +else mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: +fi mgl@1371: + mgl@1371: + mgl@1371: + test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5 mgl@1371: +echo "$as_me: error: no acceptable cc found in \$PATH" >&2;} mgl@1371: + { (exit 1); exit 1; }; } mgl@1371: +fi mgl@1371: + mgl@1371: +#AC_PROG_CC_GNU mgl@1371: + mgl@1371: +if test $ac_cv_c_compiler_gnu = yes; then mgl@1371: + GCC=yes mgl@1371: + ac_test_CFLAGS="${CFLAGS+set}" mgl@1371: + ac_save_CFLAGS="$CFLAGS" mgl@1371: + CFLAGS= mgl@1371: +# AC_PROG_CC_G mgl@1371: + if test "$ac_test_CFLAGS" = set; then mgl@1371: + CFLAGS="$ac_save_CFLAGS" mgl@1371: + elif test $ac_cv_prog_cc_g = yes; then mgl@1371: + CFLAGS="-g -O2" mgl@1371: + else mgl@1371: + CFLAGS="-O2" mgl@1371: + fi mgl@1371: +else mgl@1371: + GCC= mgl@1371: + test "${CFLAGS+set}" = set || CFLAGS="-g" mgl@1371: +fi mgl@1371: + mgl@1371: + mgl@1371: +if test -n "$ac_tool_prefix"; then mgl@1371: + # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. mgl@1371: +set dummy ${ac_tool_prefix}as; ac_word=$2 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: +if test "${ac_cv_prog_AS+set}" = set; then mgl@1371: + echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: +else mgl@1371: + if test -n "$AS"; then mgl@1371: + ac_cv_prog_AS="$AS" # Let the user override the test. mgl@1371: +else mgl@1371: +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR mgl@1371: +for as_dir in $PATH mgl@1371: +do mgl@1371: + IFS=$as_save_IFS mgl@1371: + test -z "$as_dir" && as_dir=. mgl@1371: + for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: + ac_cv_prog_AS="${ac_tool_prefix}as" mgl@1371: + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: + break 2 mgl@1371: + fi mgl@1371: +done mgl@1371: +done mgl@1371: +IFS=$as_save_IFS mgl@1371: + mgl@1371: +fi mgl@1371: +fi mgl@1371: +AS=$ac_cv_prog_AS mgl@1371: +if test -n "$AS"; then mgl@1371: + { echo "$as_me:$LINENO: result: $AS" >&5 mgl@1371: +echo "${ECHO_T}$AS" >&6; } mgl@1371: +else mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: +fi mgl@1371: + mgl@1371: + mgl@1371: +fi mgl@1371: +if test -z "$ac_cv_prog_AS"; then mgl@1371: + ac_ct_AS=$AS mgl@1371: + # Extract the first word of "as", so it can be a program name with args. mgl@1371: +set dummy as; ac_word=$2 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: +if test "${ac_cv_prog_ac_ct_AS+set}" = set; then mgl@1371: + echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: +else mgl@1371: + if test -n "$ac_ct_AS"; then mgl@1371: + ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test. mgl@1371: +else mgl@1371: +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR mgl@1371: +for as_dir in $PATH mgl@1371: +do mgl@1371: + IFS=$as_save_IFS mgl@1371: + test -z "$as_dir" && as_dir=. mgl@1371: + for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: + ac_cv_prog_ac_ct_AS="as" mgl@1371: + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: + break 2 mgl@1371: + fi mgl@1371: +done mgl@1371: +done mgl@1371: +IFS=$as_save_IFS mgl@1371: + mgl@1371: +fi mgl@1371: +fi mgl@1371: +ac_ct_AS=$ac_cv_prog_ac_ct_AS mgl@1371: +if test -n "$ac_ct_AS"; then mgl@1371: + { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5 mgl@1371: +echo "${ECHO_T}$ac_ct_AS" >&6; } mgl@1371: +else mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: +fi mgl@1371: + mgl@1371: + if test "x$ac_ct_AS" = x; then mgl@1371: + AS="" mgl@1371: + else mgl@1371: + case $cross_compiling:$ac_tool_warned in mgl@1371: +yes:) mgl@1371: +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools mgl@1371: +whose name does not start with the host triplet. If you think this mgl@1371: +configuration is useful to you, please write to autoconf@gnu.org." >&5 mgl@1371: +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools mgl@1371: +whose name does not start with the host triplet. If you think this mgl@1371: +configuration is useful to you, please write to autoconf@gnu.org." >&2;} mgl@1371: +ac_tool_warned=yes ;; mgl@1371: +esac mgl@1371: + AS=$ac_ct_AS mgl@1371: + fi mgl@1371: +else mgl@1371: + AS="$ac_cv_prog_AS" mgl@1371: +fi mgl@1371: + mgl@1371: +if test -n "$ac_tool_prefix"; then mgl@1371: + # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. mgl@1371: +set dummy ${ac_tool_prefix}ar; ac_word=$2 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: +if test "${ac_cv_prog_AR+set}" = set; then mgl@1371: + echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: +else mgl@1371: + if test -n "$AR"; then mgl@1371: + ac_cv_prog_AR="$AR" # Let the user override the test. mgl@1371: +else mgl@1371: +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR mgl@1371: +for as_dir in $PATH mgl@1371: +do mgl@1371: + IFS=$as_save_IFS mgl@1371: + test -z "$as_dir" && as_dir=. mgl@1371: + for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: + ac_cv_prog_AR="${ac_tool_prefix}ar" mgl@1371: + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: + break 2 mgl@1371: + fi mgl@1371: +done mgl@1371: +done mgl@1371: +IFS=$as_save_IFS mgl@1371: + mgl@1371: +fi mgl@1371: +fi mgl@1371: +AR=$ac_cv_prog_AR mgl@1371: +if test -n "$AR"; then mgl@1371: + { echo "$as_me:$LINENO: result: $AR" >&5 mgl@1371: +echo "${ECHO_T}$AR" >&6; } mgl@1371: +else mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: +fi mgl@1371: + mgl@1371: + mgl@1371: +fi mgl@1371: +if test -z "$ac_cv_prog_AR"; then mgl@1371: + ac_ct_AR=$AR mgl@1371: + # Extract the first word of "ar", so it can be a program name with args. mgl@1371: +set dummy ar; ac_word=$2 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: +if test "${ac_cv_prog_ac_ct_AR+set}" = set; then mgl@1371: + echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: +else mgl@1371: + if test -n "$ac_ct_AR"; then mgl@1371: + ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. mgl@1371: +else mgl@1371: +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR mgl@1371: +for as_dir in $PATH mgl@1371: +do mgl@1371: + IFS=$as_save_IFS mgl@1371: + test -z "$as_dir" && as_dir=. mgl@1371: + for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: + ac_cv_prog_ac_ct_AR="ar" mgl@1371: + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: + break 2 mgl@1371: + fi mgl@1371: +done mgl@1371: +done mgl@1371: +IFS=$as_save_IFS mgl@1371: + mgl@1371: +fi mgl@1371: +fi mgl@1371: +ac_ct_AR=$ac_cv_prog_ac_ct_AR mgl@1371: +if test -n "$ac_ct_AR"; then mgl@1371: + { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5 mgl@1371: +echo "${ECHO_T}$ac_ct_AR" >&6; } mgl@1371: +else mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: +fi mgl@1371: + mgl@1371: + if test "x$ac_ct_AR" = x; then mgl@1371: + AR="" mgl@1371: + else mgl@1371: + case $cross_compiling:$ac_tool_warned in mgl@1371: +yes:) mgl@1371: +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools mgl@1371: +whose name does not start with the host triplet. If you think this mgl@1371: +configuration is useful to you, please write to autoconf@gnu.org." >&5 mgl@1371: +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools mgl@1371: +whose name does not start with the host triplet. If you think this mgl@1371: +configuration is useful to you, please write to autoconf@gnu.org." >&2;} mgl@1371: +ac_tool_warned=yes ;; mgl@1371: +esac mgl@1371: + AR=$ac_ct_AR mgl@1371: + fi mgl@1371: +else mgl@1371: + AR="$ac_cv_prog_AR" mgl@1371: +fi mgl@1371: + mgl@1371: +if test -n "$ac_tool_prefix"; then mgl@1371: + # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. mgl@1371: +set dummy ${ac_tool_prefix}ranlib; ac_word=$2 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: +if test "${ac_cv_prog_RANLIB+set}" = set; then mgl@1371: + echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: +else mgl@1371: + if test -n "$RANLIB"; then mgl@1371: + ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. mgl@1371: +else mgl@1371: +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR mgl@1371: +for as_dir in $PATH mgl@1371: +do mgl@1371: + IFS=$as_save_IFS mgl@1371: + test -z "$as_dir" && as_dir=. mgl@1371: + for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: + ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" mgl@1371: + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: + break 2 mgl@1371: + fi mgl@1371: +done mgl@1371: +done mgl@1371: +IFS=$as_save_IFS mgl@1371: + mgl@1371: +fi mgl@1371: +fi mgl@1371: +RANLIB=$ac_cv_prog_RANLIB mgl@1371: +if test -n "$RANLIB"; then mgl@1371: + { echo "$as_me:$LINENO: result: $RANLIB" >&5 mgl@1371: +echo "${ECHO_T}$RANLIB" >&6; } mgl@1371: +else mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: +fi mgl@1371: + mgl@1371: + mgl@1371: +fi mgl@1371: +if test -z "$ac_cv_prog_RANLIB"; then mgl@1371: + ac_ct_RANLIB=$RANLIB mgl@1371: + # Extract the first word of "ranlib", so it can be a program name with args. mgl@1371: +set dummy ranlib; ac_word=$2 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: +if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then mgl@1371: + echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: +else mgl@1371: + if test -n "$ac_ct_RANLIB"; then mgl@1371: + ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. mgl@1371: +else mgl@1371: +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR mgl@1371: +for as_dir in $PATH mgl@1371: +do mgl@1371: + IFS=$as_save_IFS mgl@1371: + test -z "$as_dir" && as_dir=. mgl@1371: + for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: + ac_cv_prog_ac_ct_RANLIB="ranlib" mgl@1371: + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: + break 2 mgl@1371: + fi mgl@1371: +done mgl@1371: +done mgl@1371: +IFS=$as_save_IFS mgl@1371: + mgl@1371: +fi mgl@1371: +fi mgl@1371: +ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB mgl@1371: +if test -n "$ac_ct_RANLIB"; then mgl@1371: + { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 mgl@1371: +echo "${ECHO_T}$ac_ct_RANLIB" >&6; } mgl@1371: +else mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: +fi mgl@1371: + mgl@1371: + if test "x$ac_ct_RANLIB" = x; then mgl@1371: + RANLIB=":" mgl@1371: + else mgl@1371: + case $cross_compiling:$ac_tool_warned in mgl@1371: +yes:) mgl@1371: +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools mgl@1371: +whose name does not start with the host triplet. If you think this mgl@1371: +configuration is useful to you, please write to autoconf@gnu.org." >&5 mgl@1371: +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools mgl@1371: +whose name does not start with the host triplet. If you think this mgl@1371: +configuration is useful to you, please write to autoconf@gnu.org." >&2;} mgl@1371: +ac_tool_warned=yes ;; mgl@1371: +esac mgl@1371: + RANLIB=$ac_ct_RANLIB mgl@1371: + fi mgl@1371: +else mgl@1371: + RANLIB="$ac_cv_prog_RANLIB" mgl@1371: +fi mgl@1371: + mgl@1371: + mgl@1371: +# Find a good install program. We prefer a C program (faster), mgl@1371: +# so one script is as good as another. But avoid the broken or mgl@1371: +# incompatible versions: mgl@1371: +# SysV /etc/install, /usr/sbin/install mgl@1371: +# SunOS /usr/etc/install mgl@1371: +# IRIX /sbin/install mgl@1371: +# AIX /bin/install mgl@1371: +# AmigaOS /C/install, which installs bootblocks on floppy discs mgl@1371: +# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag mgl@1371: +# AFS /usr/afsws/bin/install, which mishandles nonexistent args mgl@1371: +# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" mgl@1371: +# OS/2's system install, which has a completely different semantic mgl@1371: +# ./install, which can be erroneously created by make from ./install.sh. mgl@1371: +{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 mgl@1371: +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } mgl@1371: +if test -z "$INSTALL"; then mgl@1371: +if test "${ac_cv_path_install+set}" = set; then mgl@1371: + echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: +else mgl@1371: + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR mgl@1371: +for as_dir in $PATH mgl@1371: +do mgl@1371: + IFS=$as_save_IFS mgl@1371: + test -z "$as_dir" && as_dir=. mgl@1371: + # Account for people who put trailing slashes in PATH elements. mgl@1371: +case $as_dir/ in mgl@1371: + ./ | .// | /cC/* | \ mgl@1371: + /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ mgl@1371: + ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ mgl@1371: + /usr/ucb/* ) ;; mgl@1371: + *) mgl@1371: + # OSF1 and SCO ODT 3.0 have their own names for install. mgl@1371: + # Don't use installbsd from OSF since it installs stuff as root mgl@1371: + # by default. mgl@1371: + for ac_prog in ginstall scoinst install; do mgl@1371: + for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then mgl@1371: + if test $ac_prog = install && mgl@1371: + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then mgl@1371: + # AIX install. It has an incompatible calling convention. mgl@1371: + : mgl@1371: + elif test $ac_prog = install && mgl@1371: + grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then mgl@1371: + # program-specific install script used by HP pwplus--don't use. mgl@1371: + : mgl@1371: + else mgl@1371: + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" mgl@1371: + break 3 mgl@1371: + fi mgl@1371: + fi mgl@1371: + done mgl@1371: + done mgl@1371: + ;; mgl@1371: +esac mgl@1371: +done mgl@1371: +IFS=$as_save_IFS mgl@1371: + mgl@1371: + mgl@1371: +fi mgl@1371: + if test "${ac_cv_path_install+set}" = set; then mgl@1371: + INSTALL=$ac_cv_path_install mgl@1371: + else mgl@1371: + # As a last resort, use the slow shell script. Don't cache a mgl@1371: + # value for INSTALL within a source directory, because that will mgl@1371: + # break other packages using the cache if that directory is mgl@1371: + # removed, or if the value is a relative name. mgl@1371: + INSTALL=$ac_install_sh mgl@1371: + fi mgl@1371: +fi mgl@1371: +{ echo "$as_me:$LINENO: result: $INSTALL" >&5 mgl@1371: +echo "${ECHO_T}$INSTALL" >&6; } mgl@1371: + mgl@1371: +# Use test -z because SunOS4 sh mishandles braces in ${var-val}. mgl@1371: +# It thinks the first close brace ends the variable substitution. mgl@1371: +test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' mgl@1371: + mgl@1371: +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' mgl@1371: + mgl@1371: +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' mgl@1371: + mgl@1371: + mgl@1371: +{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 mgl@1371: +echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; } mgl@1371: + # Check whether --enable-maintainer-mode was given. mgl@1371: +if test "${enable_maintainer_mode+set}" = set; then mgl@1371: + enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval mgl@1371: +else mgl@1371: + USE_MAINTAINER_MODE=no mgl@1371: +fi mgl@1371: + mgl@1371: + { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 mgl@1371: +echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; } mgl@1371: + mgl@1371: + mgl@1371: +if test $USE_MAINTAINER_MODE = yes; then mgl@1371: + MAINTAINER_MODE_TRUE= mgl@1371: + MAINTAINER_MODE_FALSE='#' mgl@1371: +else mgl@1371: + MAINTAINER_MODE_TRUE='#' mgl@1371: + MAINTAINER_MODE_FALSE= mgl@1371: +fi mgl@1371: + MAINT=$MAINTAINER_MODE_TRUE mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: +# We need AC_EXEEXT to keep automake happy in cygnus mode. However, mgl@1371: +# at least currently, we never actually build a program, so we never mgl@1371: +# need to use $(EXEEXT). Moreover, the test for EXEEXT normally mgl@1371: +# fails, because we are probably configuring with a cross compiler mgl@1371: +# which can't create executables. So we include AC_EXEEXT to keep mgl@1371: +# automake happy, but we don't execute it, since we don't care about mgl@1371: +# the result. mgl@1371: +#if false; then mgl@1371: +# mgl@1371: +#fi mgl@1371: + mgl@1371: +. ${newlib_basedir}/configure.host mgl@1371: + mgl@1371: +newlib_cflags="${newlib_cflags} -fno-builtin" mgl@1371: + mgl@1371: +NEWLIB_CFLAGS=${newlib_cflags} mgl@1371: + mgl@1371: + mgl@1371: +LDFLAGS=${ldflags} mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: +if test x${newlib_elix_level} = x0; then mgl@1371: + ELIX_LEVEL_0_TRUE= mgl@1371: + ELIX_LEVEL_0_FALSE='#' mgl@1371: +else mgl@1371: + ELIX_LEVEL_0_TRUE='#' mgl@1371: + ELIX_LEVEL_0_FALSE= mgl@1371: +fi mgl@1371: + mgl@1371: + mgl@1371: +if test x${newlib_elix_level} = x1; then mgl@1371: + ELIX_LEVEL_1_TRUE= mgl@1371: + ELIX_LEVEL_1_FALSE='#' mgl@1371: +else mgl@1371: + ELIX_LEVEL_1_TRUE='#' mgl@1371: + ELIX_LEVEL_1_FALSE= mgl@1371: +fi mgl@1371: + mgl@1371: + mgl@1371: +if test x${newlib_elix_level} = x2; then mgl@1371: + ELIX_LEVEL_2_TRUE= mgl@1371: + ELIX_LEVEL_2_FALSE='#' mgl@1371: +else mgl@1371: + ELIX_LEVEL_2_TRUE='#' mgl@1371: + ELIX_LEVEL_2_FALSE= mgl@1371: +fi mgl@1371: + mgl@1371: + mgl@1371: +if test x${newlib_elix_level} = x3; then mgl@1371: + ELIX_LEVEL_3_TRUE= mgl@1371: + ELIX_LEVEL_3_FALSE='#' mgl@1371: +else mgl@1371: + ELIX_LEVEL_3_TRUE='#' mgl@1371: + ELIX_LEVEL_3_FALSE= mgl@1371: +fi mgl@1371: + mgl@1371: + mgl@1371: +if test x${newlib_elix_level} = x4; then mgl@1371: + ELIX_LEVEL_4_TRUE= mgl@1371: + ELIX_LEVEL_4_FALSE='#' mgl@1371: +else mgl@1371: + ELIX_LEVEL_4_TRUE='#' mgl@1371: + ELIX_LEVEL_4_FALSE= mgl@1371: +fi mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: +if test x${use_libtool} = xyes; then mgl@1371: + USE_LIBTOOL_TRUE= mgl@1371: + USE_LIBTOOL_FALSE='#' mgl@1371: +else mgl@1371: + USE_LIBTOOL_TRUE='#' mgl@1371: + USE_LIBTOOL_FALSE= mgl@1371: +fi mgl@1371: + mgl@1371: +# Hard-code OBJEXT. Normally it is set by AC_OBJEXT, but we mgl@1371: +# use oext, which is set in configure.host based on the target platform. mgl@1371: +OBJEXT=${oext} mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: +ac_config_files="$ac_config_files Makefile" mgl@1371: + mgl@1371: +cat >confcache <<\_ACEOF mgl@1371: +# This file is a shell script that caches the results of configure mgl@1371: +# tests run on this system so they can be shared between configure mgl@1371: +# scripts and configure runs, see configure's option --config-cache. mgl@1371: +# It is not useful on other systems. If it contains results you don't mgl@1371: +# want to keep, you may remove or edit it. mgl@1371: +# mgl@1371: +# config.status only pays attention to the cache file if you give it mgl@1371: +# the --recheck option to rerun configure. mgl@1371: +# mgl@1371: +# `ac_cv_env_foo' variables (set or unset) will be overridden when mgl@1371: +# loading this file, other *unset* `ac_cv_foo' will be assigned the mgl@1371: +# following values. mgl@1371: + mgl@1371: +_ACEOF mgl@1371: + mgl@1371: +# The following way of writing the cache mishandles newlines in values, mgl@1371: +# but we know of no workaround that is simple, portable, and efficient. mgl@1371: +# So, we kill variables containing newlines. mgl@1371: +# Ultrix sh set writes to stderr and can't be redirected directly, mgl@1371: +# and sets the high bit in the cache file unless we assign to the vars. mgl@1371: +( mgl@1371: + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do mgl@1371: + eval ac_val=\$$ac_var mgl@1371: + case $ac_val in #( mgl@1371: + *${as_nl}*) mgl@1371: + case $ac_var in #( mgl@1371: + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 mgl@1371: +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; mgl@1371: + esac mgl@1371: + case $ac_var in #( mgl@1371: + _ | IFS | as_nl) ;; #( mgl@1371: + *) $as_unset $ac_var ;; mgl@1371: + esac ;; mgl@1371: + esac mgl@1371: + done mgl@1371: + mgl@1371: + (set) 2>&1 | mgl@1371: + case $as_nl`(ac_space=' '; set) 2>&1` in #( mgl@1371: + *${as_nl}ac_space=\ *) mgl@1371: + # `set' does not quote correctly, so add quotes (double-quote mgl@1371: + # substitution turns \\\\ into \\, and sed turns \\ into \). mgl@1371: + sed -n \ mgl@1371: + "s/'/'\\\\''/g; mgl@1371: + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" mgl@1371: + ;; #( mgl@1371: + *) mgl@1371: + # `set' quotes correctly as required by POSIX, so do not add quotes. mgl@1371: + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" mgl@1371: + ;; mgl@1371: + esac | mgl@1371: + sort mgl@1371: +) | mgl@1371: + sed ' mgl@1371: + /^ac_cv_env_/b end mgl@1371: + t clear mgl@1371: + :clear mgl@1371: + s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ mgl@1371: + t end mgl@1371: + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ mgl@1371: + :end' >>confcache mgl@1371: +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else mgl@1371: + if test -w "$cache_file"; then mgl@1371: + test "x$cache_file" != "x/dev/null" && mgl@1371: + { echo "$as_me:$LINENO: updating cache $cache_file" >&5 mgl@1371: +echo "$as_me: updating cache $cache_file" >&6;} mgl@1371: + cat confcache >$cache_file mgl@1371: + else mgl@1371: + { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 mgl@1371: +echo "$as_me: not updating unwritable cache $cache_file" >&6;} mgl@1371: + fi mgl@1371: +fi mgl@1371: +rm -f confcache mgl@1371: + mgl@1371: +test "x$prefix" = xNONE && prefix=$ac_default_prefix mgl@1371: +# Let make expand exec_prefix. mgl@1371: +test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' mgl@1371: + mgl@1371: +# Transform confdefs.h into DEFS. mgl@1371: +# Protect against shell expansion while executing Makefile rules. mgl@1371: +# Protect against Makefile macro expansion. mgl@1371: +# mgl@1371: +# If the first sed substitution is executed (which looks for macros that mgl@1371: +# take arguments), then branch to the quote section. Otherwise, mgl@1371: +# look for a macro that doesn't take arguments. mgl@1371: +ac_script=' mgl@1371: +t clear mgl@1371: +:clear mgl@1371: +s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g mgl@1371: +t quote mgl@1371: +s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g mgl@1371: +t quote mgl@1371: +b any mgl@1371: +:quote mgl@1371: +s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g mgl@1371: +s/\[/\\&/g mgl@1371: +s/\]/\\&/g mgl@1371: +s/\$/$$/g mgl@1371: +H mgl@1371: +:any mgl@1371: +${ mgl@1371: + g mgl@1371: + s/^\n// mgl@1371: + s/\n/ /g mgl@1371: + p mgl@1371: +} mgl@1371: +' mgl@1371: +DEFS=`sed -n "$ac_script" confdefs.h` mgl@1371: + mgl@1371: + mgl@1371: +ac_libobjs= mgl@1371: +ac_ltlibobjs= mgl@1371: +for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue mgl@1371: + # 1. Remove the extension, and $U if already installed. mgl@1371: + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' mgl@1371: + ac_i=`echo "$ac_i" | sed "$ac_script"` mgl@1371: + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR mgl@1371: + # will be set to the directory where LIBOBJS objects are built. mgl@1371: + ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" mgl@1371: + ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' mgl@1371: +done mgl@1371: +LIBOBJS=$ac_libobjs mgl@1371: + mgl@1371: +LTLIBOBJS=$ac_ltlibobjs mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: +: ${CONFIG_STATUS=./config.status} mgl@1371: +ac_clean_files_save=$ac_clean_files mgl@1371: +ac_clean_files="$ac_clean_files $CONFIG_STATUS" mgl@1371: +{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 mgl@1371: +echo "$as_me: creating $CONFIG_STATUS" >&6;} mgl@1371: +cat >$CONFIG_STATUS <<_ACEOF mgl@1371: +#! $SHELL mgl@1371: +# Generated by $as_me. mgl@1371: +# Run this file to recreate the current configuration. mgl@1371: +# Compiler output produced by configure, useful for debugging mgl@1371: +# configure, is in config.log if it exists. mgl@1371: + mgl@1371: +debug=false mgl@1371: +ac_cs_recheck=false mgl@1371: +ac_cs_silent=false mgl@1371: +SHELL=\${CONFIG_SHELL-$SHELL} mgl@1371: +_ACEOF mgl@1371: + mgl@1371: +cat >>$CONFIG_STATUS <<\_ACEOF mgl@1371: +## --------------------- ## mgl@1371: +## M4sh Initialization. ## mgl@1371: +## --------------------- ## mgl@1371: + mgl@1371: +# Be more Bourne compatible mgl@1371: +DUALCASE=1; export DUALCASE # for MKS sh mgl@1371: +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then mgl@1371: + emulate sh mgl@1371: + NULLCMD=: mgl@1371: + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which mgl@1371: + # is contrary to our usage. Disable this feature. mgl@1371: + alias -g '${1+"$@"}'='"$@"' mgl@1371: + setopt NO_GLOB_SUBST mgl@1371: +else mgl@1371: + case `(set -o) 2>/dev/null` in mgl@1371: + *posix*) set -o posix ;; mgl@1371: +esac mgl@1371: + mgl@1371: +fi mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: +# PATH needs CR mgl@1371: +# Avoid depending upon Character Ranges. mgl@1371: +as_cr_letters='abcdefghijklmnopqrstuvwxyz' mgl@1371: +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' mgl@1371: +as_cr_Letters=$as_cr_letters$as_cr_LETTERS mgl@1371: +as_cr_digits='0123456789' mgl@1371: +as_cr_alnum=$as_cr_Letters$as_cr_digits mgl@1371: + mgl@1371: +# The user is always right. mgl@1371: +if test "${PATH_SEPARATOR+set}" != set; then mgl@1371: + echo "#! /bin/sh" >conf$$.sh mgl@1371: + echo "exit 0" >>conf$$.sh mgl@1371: + chmod +x conf$$.sh mgl@1371: + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then mgl@1371: + PATH_SEPARATOR=';' mgl@1371: + else mgl@1371: + PATH_SEPARATOR=: mgl@1371: + fi mgl@1371: + rm -f conf$$.sh mgl@1371: +fi mgl@1371: + mgl@1371: +# Support unset when possible. mgl@1371: +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then mgl@1371: + as_unset=unset mgl@1371: +else mgl@1371: + as_unset=false mgl@1371: +fi mgl@1371: + mgl@1371: + mgl@1371: +# IFS mgl@1371: +# We need space, tab and new line, in precisely that order. Quoting is mgl@1371: +# there to prevent editors from complaining about space-tab. mgl@1371: +# (If _AS_PATH_WALK were called with IFS unset, it would disable word mgl@1371: +# splitting by setting IFS to empty value.) mgl@1371: +as_nl=' mgl@1371: +' mgl@1371: +IFS=" "" $as_nl" mgl@1371: + mgl@1371: +# Find who we are. Look in the path if we contain no directory separator. mgl@1371: +case $0 in mgl@1371: + *[\\/]* ) as_myself=$0 ;; mgl@1371: + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR mgl@1371: +for as_dir in $PATH mgl@1371: +do mgl@1371: + IFS=$as_save_IFS mgl@1371: + test -z "$as_dir" && as_dir=. mgl@1371: + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break mgl@1371: +done mgl@1371: +IFS=$as_save_IFS mgl@1371: + mgl@1371: + ;; mgl@1371: +esac mgl@1371: +# We did not find ourselves, most probably we were run as `sh COMMAND' mgl@1371: +# in which case we are not to be found in the path. mgl@1371: +if test "x$as_myself" = x; then mgl@1371: + as_myself=$0 mgl@1371: +fi mgl@1371: +if test ! -f "$as_myself"; then mgl@1371: + echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 mgl@1371: + { (exit 1); exit 1; } mgl@1371: +fi mgl@1371: + mgl@1371: +# Work around bugs in pre-3.0 UWIN ksh. mgl@1371: +for as_var in ENV MAIL MAILPATH mgl@1371: +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var mgl@1371: +done mgl@1371: +PS1='$ ' mgl@1371: +PS2='> ' mgl@1371: +PS4='+ ' mgl@1371: + mgl@1371: +# NLS nuisances. mgl@1371: +for as_var in \ mgl@1371: + LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ mgl@1371: + LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ mgl@1371: + LC_TELEPHONE LC_TIME mgl@1371: +do mgl@1371: + if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then mgl@1371: + eval $as_var=C; export $as_var mgl@1371: + else mgl@1371: + ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var mgl@1371: + fi mgl@1371: +done mgl@1371: + mgl@1371: +# Required to use basename. mgl@1371: +if expr a : '\(a\)' >/dev/null 2>&1 && mgl@1371: + test "X`expr 00001 : '.*\(...\)'`" = X001; then mgl@1371: + as_expr=expr mgl@1371: +else mgl@1371: + as_expr=false mgl@1371: +fi mgl@1371: + mgl@1371: +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then mgl@1371: + as_basename=basename mgl@1371: +else mgl@1371: + as_basename=false mgl@1371: +fi mgl@1371: + mgl@1371: + mgl@1371: +# Name of the executable. mgl@1371: +as_me=`$as_basename -- "$0" || mgl@1371: +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ mgl@1371: + X"$0" : 'X\(//\)$' \| \ mgl@1371: + X"$0" : 'X\(/\)' \| . 2>/dev/null || mgl@1371: +echo X/"$0" | mgl@1371: + sed '/^.*\/\([^/][^/]*\)\/*$/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + /^X\/\(\/\/\)$/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + /^X\/\(\/\).*/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + s/.*/./; q'` mgl@1371: + mgl@1371: +# CDPATH. mgl@1371: +$as_unset CDPATH mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: + as_lineno_1=$LINENO mgl@1371: + as_lineno_2=$LINENO mgl@1371: + test "x$as_lineno_1" != "x$as_lineno_2" && mgl@1371: + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { mgl@1371: + mgl@1371: + # Create $as_me.lineno as a copy of $as_myself, but with $LINENO mgl@1371: + # uniformly replaced by the line number. The first 'sed' inserts a mgl@1371: + # line-number line after each line using $LINENO; the second 'sed' mgl@1371: + # does the real work. The second script uses 'N' to pair each mgl@1371: + # line-number line with the line containing $LINENO, and appends mgl@1371: + # trailing '-' during substitution so that $LINENO is not a special mgl@1371: + # case at line end. mgl@1371: + # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the mgl@1371: + # scripts with optimization help from Paolo Bonzini. Blame Lee mgl@1371: + # E. McMahon (1931-1989) for sed's syntax. :-) mgl@1371: + sed -n ' mgl@1371: + p mgl@1371: + /[$]LINENO/= mgl@1371: + ' <$as_myself | mgl@1371: + sed ' mgl@1371: + s/[$]LINENO.*/&-/ mgl@1371: + t lineno mgl@1371: + b mgl@1371: + :lineno mgl@1371: + N mgl@1371: + :loop mgl@1371: + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ mgl@1371: + t loop mgl@1371: + s/-\n.*// mgl@1371: + ' >$as_me.lineno && mgl@1371: + chmod +x "$as_me.lineno" || mgl@1371: + { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 mgl@1371: + { (exit 1); exit 1; }; } mgl@1371: + mgl@1371: + # Don't try to exec as it changes $[0], causing all sort of problems mgl@1371: + # (the dirname of $[0] is not the place where we might find the mgl@1371: + # original and so on. Autoconf is especially sensitive to this). mgl@1371: + . "./$as_me.lineno" mgl@1371: + # Exit status is that of the last command. mgl@1371: + exit mgl@1371: +} mgl@1371: + mgl@1371: + mgl@1371: +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then mgl@1371: + as_dirname=dirname mgl@1371: +else mgl@1371: + as_dirname=false mgl@1371: +fi mgl@1371: + mgl@1371: +ECHO_C= ECHO_N= ECHO_T= mgl@1371: +case `echo -n x` in mgl@1371: +-n*) mgl@1371: + case `echo 'x\c'` in mgl@1371: + *c*) ECHO_T=' ';; # ECHO_T is single tab character. mgl@1371: + *) ECHO_C='\c';; mgl@1371: + esac;; mgl@1371: +*) mgl@1371: + ECHO_N='-n';; mgl@1371: +esac mgl@1371: + mgl@1371: +if expr a : '\(a\)' >/dev/null 2>&1 && mgl@1371: + test "X`expr 00001 : '.*\(...\)'`" = X001; then mgl@1371: + as_expr=expr mgl@1371: +else mgl@1371: + as_expr=false mgl@1371: +fi mgl@1371: + mgl@1371: +rm -f conf$$ conf$$.exe conf$$.file mgl@1371: +if test -d conf$$.dir; then mgl@1371: + rm -f conf$$.dir/conf$$.file mgl@1371: +else mgl@1371: + rm -f conf$$.dir mgl@1371: + mkdir conf$$.dir mgl@1371: +fi mgl@1371: +echo >conf$$.file mgl@1371: +if ln -s conf$$.file conf$$ 2>/dev/null; then mgl@1371: + as_ln_s='ln -s' mgl@1371: + # ... but there are two gotchas: mgl@1371: + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. mgl@1371: + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. mgl@1371: + # In both cases, we have to default to `cp -p'. mgl@1371: + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || mgl@1371: + as_ln_s='cp -p' mgl@1371: +elif ln conf$$.file conf$$ 2>/dev/null; then mgl@1371: + as_ln_s=ln mgl@1371: +else mgl@1371: + as_ln_s='cp -p' mgl@1371: +fi mgl@1371: +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file mgl@1371: +rmdir conf$$.dir 2>/dev/null mgl@1371: + mgl@1371: +if mkdir -p . 2>/dev/null; then mgl@1371: + as_mkdir_p=: mgl@1371: +else mgl@1371: + test -d ./-p && rmdir ./-p mgl@1371: + as_mkdir_p=false mgl@1371: +fi mgl@1371: + mgl@1371: +if test -x / >/dev/null 2>&1; then mgl@1371: + as_test_x='test -x' mgl@1371: +else mgl@1371: + if ls -dL / >/dev/null 2>&1; then mgl@1371: + as_ls_L_option=L mgl@1371: + else mgl@1371: + as_ls_L_option= mgl@1371: + fi mgl@1371: + as_test_x=' mgl@1371: + eval sh -c '\'' mgl@1371: + if test -d "$1"; then mgl@1371: + test -d "$1/."; mgl@1371: + else mgl@1371: + case $1 in mgl@1371: + -*)set "./$1";; mgl@1371: + esac; mgl@1371: + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in mgl@1371: + ???[sx]*):;;*)false;;esac;fi mgl@1371: + '\'' sh mgl@1371: + ' mgl@1371: +fi mgl@1371: +as_executable_p=$as_test_x mgl@1371: + mgl@1371: +# Sed expression to map a string onto a valid CPP name. mgl@1371: +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" mgl@1371: + mgl@1371: +# Sed expression to map a string onto a valid variable name. mgl@1371: +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" mgl@1371: + mgl@1371: + mgl@1371: +exec 6>&1 mgl@1371: + mgl@1371: +# Save the log message, to keep $[0] and so on meaningful, and to mgl@1371: +# report actual input values of CONFIG_FILES etc. instead of their mgl@1371: +# values after options handling. mgl@1371: +ac_log=" mgl@1371: +This file was extended by newlib $as_me NEWLIB_VERSION, which was mgl@1371: +generated by GNU Autoconf 2.61. Invocation command line was mgl@1371: + mgl@1371: + CONFIG_FILES = $CONFIG_FILES mgl@1371: + CONFIG_HEADERS = $CONFIG_HEADERS mgl@1371: + CONFIG_LINKS = $CONFIG_LINKS mgl@1371: + CONFIG_COMMANDS = $CONFIG_COMMANDS mgl@1371: + $ $0 $@ mgl@1371: + mgl@1371: +on `(hostname || uname -n) 2>/dev/null | sed 1q` mgl@1371: +" mgl@1371: + mgl@1371: +_ACEOF mgl@1371: + mgl@1371: +cat >>$CONFIG_STATUS <<_ACEOF mgl@1371: +# Files that config.status was made for. mgl@1371: +config_files="$ac_config_files" mgl@1371: + mgl@1371: +_ACEOF mgl@1371: + mgl@1371: +cat >>$CONFIG_STATUS <<\_ACEOF mgl@1371: +ac_cs_usage="\ mgl@1371: +\`$as_me' instantiates files from templates according to the mgl@1371: +current configuration. mgl@1371: + mgl@1371: +Usage: $0 [OPTIONS] [FILE]... mgl@1371: + mgl@1371: + -h, --help print this help, then exit mgl@1371: + -V, --version print version number and configuration settings, then exit mgl@1371: + -q, --quiet do not print progress messages mgl@1371: + -d, --debug don't remove temporary files mgl@1371: + --recheck update $as_me by reconfiguring in the same conditions mgl@1371: + --file=FILE[:TEMPLATE] mgl@1371: + instantiate the configuration file FILE mgl@1371: + mgl@1371: +Configuration files: mgl@1371: +$config_files mgl@1371: + mgl@1371: +Report bugs to ." mgl@1371: + mgl@1371: +_ACEOF mgl@1371: +cat >>$CONFIG_STATUS <<_ACEOF mgl@1371: +ac_cs_version="\\ mgl@1371: +newlib config.status NEWLIB_VERSION mgl@1371: +configured by $0, generated by GNU Autoconf 2.61, mgl@1371: + with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" mgl@1371: + mgl@1371: +Copyright (C) 2006 Free Software Foundation, Inc. mgl@1371: +This config.status script is free software; the Free Software Foundation mgl@1371: +gives unlimited permission to copy, distribute and modify it." mgl@1371: + mgl@1371: +ac_pwd='$ac_pwd' mgl@1371: +srcdir='$srcdir' mgl@1371: +INSTALL='$INSTALL' mgl@1371: +_ACEOF mgl@1371: + mgl@1371: +cat >>$CONFIG_STATUS <<\_ACEOF mgl@1371: +# If no file are specified by the user, then we need to provide default mgl@1371: +# value. By we need to know if files were specified by the user. mgl@1371: +ac_need_defaults=: mgl@1371: +while test $# != 0 mgl@1371: +do mgl@1371: + case $1 in mgl@1371: + --*=*) mgl@1371: + ac_option=`expr "X$1" : 'X\([^=]*\)='` mgl@1371: + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` mgl@1371: + ac_shift=: mgl@1371: + ;; mgl@1371: + *) mgl@1371: + ac_option=$1 mgl@1371: + ac_optarg=$2 mgl@1371: + ac_shift=shift mgl@1371: + ;; mgl@1371: + esac mgl@1371: + mgl@1371: + case $ac_option in mgl@1371: + # Handling of the options. mgl@1371: + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) mgl@1371: + ac_cs_recheck=: ;; mgl@1371: + --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) mgl@1371: + echo "$ac_cs_version"; exit ;; mgl@1371: + --debug | --debu | --deb | --de | --d | -d ) mgl@1371: + debug=: ;; mgl@1371: + --file | --fil | --fi | --f ) mgl@1371: + $ac_shift mgl@1371: + CONFIG_FILES="$CONFIG_FILES $ac_optarg" mgl@1371: + ac_need_defaults=false;; mgl@1371: + --he | --h | --help | --hel | -h ) mgl@1371: + echo "$ac_cs_usage"; exit ;; mgl@1371: + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ mgl@1371: + | -silent | --silent | --silen | --sile | --sil | --si | --s) mgl@1371: + ac_cs_silent=: ;; mgl@1371: + mgl@1371: + # This is an error. mgl@1371: + -*) { echo "$as_me: error: unrecognized option: $1 mgl@1371: +Try \`$0 --help' for more information." >&2 mgl@1371: + { (exit 1); exit 1; }; } ;; mgl@1371: + mgl@1371: + *) ac_config_targets="$ac_config_targets $1" mgl@1371: + ac_need_defaults=false ;; mgl@1371: + mgl@1371: + esac mgl@1371: + shift mgl@1371: +done mgl@1371: + mgl@1371: +ac_configure_extra_args= mgl@1371: + mgl@1371: +if $ac_cs_silent; then mgl@1371: + exec 6>/dev/null mgl@1371: + ac_configure_extra_args="$ac_configure_extra_args --silent" mgl@1371: +fi mgl@1371: + mgl@1371: +_ACEOF mgl@1371: +cat >>$CONFIG_STATUS <<_ACEOF mgl@1371: +if \$ac_cs_recheck; then mgl@1371: + echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 mgl@1371: + CONFIG_SHELL=$SHELL mgl@1371: + export CONFIG_SHELL mgl@1371: + exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion mgl@1371: +fi mgl@1371: + mgl@1371: +_ACEOF mgl@1371: +cat >>$CONFIG_STATUS <<\_ACEOF mgl@1371: +exec 5>>config.log mgl@1371: +{ mgl@1371: + echo mgl@1371: + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX mgl@1371: +## Running $as_me. ## mgl@1371: +_ASBOX mgl@1371: + echo "$ac_log" mgl@1371: +} >&5 mgl@1371: + mgl@1371: +_ACEOF mgl@1371: +cat >>$CONFIG_STATUS <<_ACEOF mgl@1371: +_ACEOF mgl@1371: + mgl@1371: +cat >>$CONFIG_STATUS <<\_ACEOF mgl@1371: + mgl@1371: +# Handling of arguments. mgl@1371: +for ac_config_target in $ac_config_targets mgl@1371: +do mgl@1371: + case $ac_config_target in mgl@1371: + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; mgl@1371: + mgl@1371: + *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 mgl@1371: +echo "$as_me: error: invalid argument: $ac_config_target" >&2;} mgl@1371: + { (exit 1); exit 1; }; };; mgl@1371: + esac mgl@1371: +done mgl@1371: + mgl@1371: + mgl@1371: +# If the user did not use the arguments to specify the items to instantiate, mgl@1371: +# then the envvar interface is used. Set only those that are not. mgl@1371: +# We use the long form for the default assignment because of an extremely mgl@1371: +# bizarre bug on SunOS 4.1.3. mgl@1371: +if $ac_need_defaults; then mgl@1371: + test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files mgl@1371: +fi mgl@1371: + mgl@1371: +# Have a temporary directory for convenience. Make it in the build tree mgl@1371: +# simply because there is no reason against having it here, and in addition, mgl@1371: +# creating and moving files from /tmp can sometimes cause problems. mgl@1371: +# Hook for its removal unless debugging. mgl@1371: +# Note that there is a small window in which the directory will not be cleaned: mgl@1371: +# after its creation but before its name has been assigned to `$tmp'. mgl@1371: +$debug || mgl@1371: +{ mgl@1371: + tmp= mgl@1371: + trap 'exit_status=$? mgl@1371: + { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status mgl@1371: +' 0 mgl@1371: + trap '{ (exit 1); exit 1; }' 1 2 13 15 mgl@1371: +} mgl@1371: +# Create a (secure) tmp directory for tmp files. mgl@1371: + mgl@1371: +{ mgl@1371: + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && mgl@1371: + test -n "$tmp" && test -d "$tmp" mgl@1371: +} || mgl@1371: +{ mgl@1371: + tmp=./conf$$-$RANDOM mgl@1371: + (umask 077 && mkdir "$tmp") mgl@1371: +} || mgl@1371: +{ mgl@1371: + echo "$me: cannot create a temporary directory in ." >&2 mgl@1371: + { (exit 1); exit 1; } mgl@1371: +} mgl@1371: + mgl@1371: +# mgl@1371: +# Set up the sed scripts for CONFIG_FILES section. mgl@1371: +# mgl@1371: + mgl@1371: +# No need to generate the scripts if there are no CONFIG_FILES. mgl@1371: +# This happens for instance when ./config.status config.h mgl@1371: +if test -n "$CONFIG_FILES"; then mgl@1371: + mgl@1371: +_ACEOF mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: +ac_delim='%!_!# ' mgl@1371: +for ac_last_try in false false false false false :; do mgl@1371: + cat >conf$$subs.sed <<_ACEOF mgl@1371: +SHELL!$SHELL$ac_delim mgl@1371: +PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim mgl@1371: +PACKAGE_NAME!$PACKAGE_NAME$ac_delim mgl@1371: +PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim mgl@1371: +PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim mgl@1371: +PACKAGE_STRING!$PACKAGE_STRING$ac_delim mgl@1371: +PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim mgl@1371: +exec_prefix!$exec_prefix$ac_delim mgl@1371: +prefix!$prefix$ac_delim mgl@1371: +program_transform_name!$program_transform_name$ac_delim mgl@1371: +bindir!$bindir$ac_delim mgl@1371: +sbindir!$sbindir$ac_delim mgl@1371: +libexecdir!$libexecdir$ac_delim mgl@1371: +datarootdir!$datarootdir$ac_delim mgl@1371: +datadir!$datadir$ac_delim mgl@1371: +sysconfdir!$sysconfdir$ac_delim mgl@1371: +sharedstatedir!$sharedstatedir$ac_delim mgl@1371: +localstatedir!$localstatedir$ac_delim mgl@1371: +includedir!$includedir$ac_delim mgl@1371: +oldincludedir!$oldincludedir$ac_delim mgl@1371: +docdir!$docdir$ac_delim mgl@1371: +infodir!$infodir$ac_delim mgl@1371: +htmldir!$htmldir$ac_delim mgl@1371: +dvidir!$dvidir$ac_delim mgl@1371: +pdfdir!$pdfdir$ac_delim mgl@1371: +psdir!$psdir$ac_delim mgl@1371: +libdir!$libdir$ac_delim mgl@1371: +localedir!$localedir$ac_delim mgl@1371: +mandir!$mandir$ac_delim mgl@1371: +DEFS!$DEFS$ac_delim mgl@1371: +ECHO_C!$ECHO_C$ac_delim mgl@1371: +ECHO_N!$ECHO_N$ac_delim mgl@1371: +ECHO_T!$ECHO_T$ac_delim mgl@1371: +LIBS!$LIBS$ac_delim mgl@1371: +build_alias!$build_alias$ac_delim mgl@1371: +host_alias!$host_alias$ac_delim mgl@1371: +target_alias!$target_alias$ac_delim mgl@1371: +MAY_SUPPLY_SYSCALLS_TRUE!$MAY_SUPPLY_SYSCALLS_TRUE$ac_delim mgl@1371: +MAY_SUPPLY_SYSCALLS_FALSE!$MAY_SUPPLY_SYSCALLS_FALSE$ac_delim mgl@1371: +newlib_basedir!$newlib_basedir$ac_delim mgl@1371: +build!$build$ac_delim mgl@1371: +build_cpu!$build_cpu$ac_delim mgl@1371: +build_vendor!$build_vendor$ac_delim mgl@1371: +build_os!$build_os$ac_delim mgl@1371: +host!$host$ac_delim mgl@1371: +host_cpu!$host_cpu$ac_delim mgl@1371: +host_vendor!$host_vendor$ac_delim mgl@1371: +host_os!$host_os$ac_delim mgl@1371: +target!$target$ac_delim mgl@1371: +target_cpu!$target_cpu$ac_delim mgl@1371: +target_vendor!$target_vendor$ac_delim mgl@1371: +target_os!$target_os$ac_delim mgl@1371: +INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim mgl@1371: +INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim mgl@1371: +INSTALL_DATA!$INSTALL_DATA$ac_delim mgl@1371: +PACKAGE!$PACKAGE$ac_delim mgl@1371: +VERSION!$VERSION$ac_delim mgl@1371: +ACLOCAL!$ACLOCAL$ac_delim mgl@1371: +AUTOCONF!$AUTOCONF$ac_delim mgl@1371: +AUTOMAKE!$AUTOMAKE$ac_delim mgl@1371: +AUTOHEADER!$AUTOHEADER$ac_delim mgl@1371: +MAKEINFO!$MAKEINFO$ac_delim mgl@1371: +SET_MAKE!$SET_MAKE$ac_delim mgl@1371: +CC!$CC$ac_delim mgl@1371: +AS!$AS$ac_delim mgl@1371: +AR!$AR$ac_delim mgl@1371: +RANLIB!$RANLIB$ac_delim mgl@1371: +MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim mgl@1371: +MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim mgl@1371: +MAINT!$MAINT$ac_delim mgl@1371: +NEWLIB_CFLAGS!$NEWLIB_CFLAGS$ac_delim mgl@1371: +LDFLAGS!$LDFLAGS$ac_delim mgl@1371: +ELIX_LEVEL_0_TRUE!$ELIX_LEVEL_0_TRUE$ac_delim mgl@1371: +ELIX_LEVEL_0_FALSE!$ELIX_LEVEL_0_FALSE$ac_delim mgl@1371: +ELIX_LEVEL_1_TRUE!$ELIX_LEVEL_1_TRUE$ac_delim mgl@1371: +ELIX_LEVEL_1_FALSE!$ELIX_LEVEL_1_FALSE$ac_delim mgl@1371: +ELIX_LEVEL_2_TRUE!$ELIX_LEVEL_2_TRUE$ac_delim mgl@1371: +ELIX_LEVEL_2_FALSE!$ELIX_LEVEL_2_FALSE$ac_delim mgl@1371: +ELIX_LEVEL_3_TRUE!$ELIX_LEVEL_3_TRUE$ac_delim mgl@1371: +ELIX_LEVEL_3_FALSE!$ELIX_LEVEL_3_FALSE$ac_delim mgl@1371: +ELIX_LEVEL_4_TRUE!$ELIX_LEVEL_4_TRUE$ac_delim mgl@1371: +ELIX_LEVEL_4_FALSE!$ELIX_LEVEL_4_FALSE$ac_delim mgl@1371: +USE_LIBTOOL_TRUE!$USE_LIBTOOL_TRUE$ac_delim mgl@1371: +USE_LIBTOOL_FALSE!$USE_LIBTOOL_FALSE$ac_delim mgl@1371: +OBJEXT!$OBJEXT$ac_delim mgl@1371: +oext!$oext$ac_delim mgl@1371: +aext!$aext$ac_delim mgl@1371: +libm_machine_dir!$libm_machine_dir$ac_delim mgl@1371: +machine_dir!$machine_dir$ac_delim mgl@1371: +sys_dir!$sys_dir$ac_delim mgl@1371: +LIBOBJS!$LIBOBJS$ac_delim mgl@1371: +LTLIBOBJS!$LTLIBOBJS$ac_delim mgl@1371: +_ACEOF mgl@1371: + mgl@1371: + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 92; then mgl@1371: + break mgl@1371: + elif $ac_last_try; then mgl@1371: + { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 mgl@1371: +echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} mgl@1371: + { (exit 1); exit 1; }; } mgl@1371: + else mgl@1371: + ac_delim="$ac_delim!$ac_delim _$ac_delim!! " mgl@1371: + fi mgl@1371: +done mgl@1371: + mgl@1371: +ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` mgl@1371: +if test -n "$ac_eof"; then mgl@1371: + ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` mgl@1371: + ac_eof=`expr $ac_eof + 1` mgl@1371: +fi mgl@1371: + mgl@1371: +cat >>$CONFIG_STATUS <<_ACEOF mgl@1371: +cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof mgl@1371: +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end mgl@1371: +_ACEOF mgl@1371: +sed ' mgl@1371: +s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g mgl@1371: +s/^/s,@/; s/!/@,|#_!!_#|/ mgl@1371: +:n mgl@1371: +t n mgl@1371: +s/'"$ac_delim"'$/,g/; t mgl@1371: +s/$/\\/; p mgl@1371: +N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n mgl@1371: +' >>$CONFIG_STATUS >$CONFIG_STATUS <<_ACEOF mgl@1371: +:end mgl@1371: +s/|#_!!_#|//g mgl@1371: +CEOF$ac_eof mgl@1371: +_ACEOF mgl@1371: + mgl@1371: + mgl@1371: +# VPATH may cause trouble with some makes, so we remove $(srcdir), mgl@1371: +# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and mgl@1371: +# trailing colons and then remove the whole line if VPATH becomes empty mgl@1371: +# (actually we leave an empty line to preserve line numbers). mgl@1371: +if test "x$srcdir" = x.; then mgl@1371: + ac_vpsub='/^[ ]*VPATH[ ]*=/{ mgl@1371: +s/:*\$(srcdir):*/:/ mgl@1371: +s/:*\${srcdir}:*/:/ mgl@1371: +s/:*@srcdir@:*/:/ mgl@1371: +s/^\([^=]*=[ ]*\):*/\1/ mgl@1371: +s/:*$// mgl@1371: +s/^[^=]*=[ ]*$// mgl@1371: +}' mgl@1371: +fi mgl@1371: + mgl@1371: +cat >>$CONFIG_STATUS <<\_ACEOF mgl@1371: +fi # test -n "$CONFIG_FILES" mgl@1371: + mgl@1371: + mgl@1371: +for ac_tag in :F $CONFIG_FILES mgl@1371: +do mgl@1371: + case $ac_tag in mgl@1371: + :[FHLC]) ac_mode=$ac_tag; continue;; mgl@1371: + esac mgl@1371: + case $ac_mode$ac_tag in mgl@1371: + :[FHL]*:*);; mgl@1371: + :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 mgl@1371: +echo "$as_me: error: Invalid tag $ac_tag." >&2;} mgl@1371: + { (exit 1); exit 1; }; };; mgl@1371: + :[FH]-) ac_tag=-:-;; mgl@1371: + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; mgl@1371: + esac mgl@1371: + ac_save_IFS=$IFS mgl@1371: + IFS=: mgl@1371: + set x $ac_tag mgl@1371: + IFS=$ac_save_IFS mgl@1371: + shift mgl@1371: + ac_file=$1 mgl@1371: + shift mgl@1371: + mgl@1371: + case $ac_mode in mgl@1371: + :L) ac_source=$1;; mgl@1371: + :[FH]) mgl@1371: + ac_file_inputs= mgl@1371: + for ac_f mgl@1371: + do mgl@1371: + case $ac_f in mgl@1371: + -) ac_f="$tmp/stdin";; mgl@1371: + *) # Look for the file first in the build tree, then in the source tree mgl@1371: + # (if the path is not absolute). The absolute path cannot be DOS-style, mgl@1371: + # because $ac_f cannot contain `:'. mgl@1371: + test -f "$ac_f" || mgl@1371: + case $ac_f in mgl@1371: + [\\/$]*) false;; mgl@1371: + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; mgl@1371: + esac || mgl@1371: + { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 mgl@1371: +echo "$as_me: error: cannot find input file: $ac_f" >&2;} mgl@1371: + { (exit 1); exit 1; }; };; mgl@1371: + esac mgl@1371: + ac_file_inputs="$ac_file_inputs $ac_f" mgl@1371: + done mgl@1371: + mgl@1371: + # Let's still pretend it is `configure' which instantiates (i.e., don't mgl@1371: + # use $as_me), people would be surprised to read: mgl@1371: + # /* config.h. Generated by config.status. */ mgl@1371: + configure_input="Generated from "`IFS=: mgl@1371: + echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." mgl@1371: + if test x"$ac_file" != x-; then mgl@1371: + configure_input="$ac_file. $configure_input" mgl@1371: + { echo "$as_me:$LINENO: creating $ac_file" >&5 mgl@1371: +echo "$as_me: creating $ac_file" >&6;} mgl@1371: + fi mgl@1371: + mgl@1371: + case $ac_tag in mgl@1371: + *:-:* | *:-) cat >"$tmp/stdin";; mgl@1371: + esac mgl@1371: + ;; mgl@1371: + esac mgl@1371: + mgl@1371: + ac_dir=`$as_dirname -- "$ac_file" || mgl@1371: +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ mgl@1371: + X"$ac_file" : 'X\(//\)[^/]' \| \ mgl@1371: + X"$ac_file" : 'X\(//\)$' \| \ mgl@1371: + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || mgl@1371: +echo X"$ac_file" | mgl@1371: + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + /^X\(\/\/\)[^/].*/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + /^X\(\/\/\)$/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + /^X\(\/\).*/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + s/.*/./; q'` mgl@1371: + { as_dir="$ac_dir" mgl@1371: + case $as_dir in #( mgl@1371: + -*) as_dir=./$as_dir;; mgl@1371: + esac mgl@1371: + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { mgl@1371: + as_dirs= mgl@1371: + while :; do mgl@1371: + case $as_dir in #( mgl@1371: + *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( mgl@1371: + *) as_qdir=$as_dir;; mgl@1371: + esac mgl@1371: + as_dirs="'$as_qdir' $as_dirs" mgl@1371: + as_dir=`$as_dirname -- "$as_dir" || mgl@1371: +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ mgl@1371: + X"$as_dir" : 'X\(//\)[^/]' \| \ mgl@1371: + X"$as_dir" : 'X\(//\)$' \| \ mgl@1371: + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || mgl@1371: +echo X"$as_dir" | mgl@1371: + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + /^X\(\/\/\)[^/].*/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + /^X\(\/\/\)$/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + /^X\(\/\).*/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + s/.*/./; q'` mgl@1371: + test -d "$as_dir" && break mgl@1371: + done mgl@1371: + test -z "$as_dirs" || eval "mkdir $as_dirs" mgl@1371: + } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 mgl@1371: +echo "$as_me: error: cannot create directory $as_dir" >&2;} mgl@1371: + { (exit 1); exit 1; }; }; } mgl@1371: + ac_builddir=. mgl@1371: + mgl@1371: +case "$ac_dir" in mgl@1371: +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; mgl@1371: +*) mgl@1371: + ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` mgl@1371: + # A ".." for each directory in $ac_dir_suffix. mgl@1371: + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` mgl@1371: + case $ac_top_builddir_sub in mgl@1371: + "") ac_top_builddir_sub=. ac_top_build_prefix= ;; mgl@1371: + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; mgl@1371: + esac ;; mgl@1371: +esac mgl@1371: +ac_abs_top_builddir=$ac_pwd mgl@1371: +ac_abs_builddir=$ac_pwd$ac_dir_suffix mgl@1371: +# for backward compatibility: mgl@1371: +ac_top_builddir=$ac_top_build_prefix mgl@1371: + mgl@1371: +case $srcdir in mgl@1371: + .) # We are building in place. mgl@1371: + ac_srcdir=. mgl@1371: + ac_top_srcdir=$ac_top_builddir_sub mgl@1371: + ac_abs_top_srcdir=$ac_pwd ;; mgl@1371: + [\\/]* | ?:[\\/]* ) # Absolute name. mgl@1371: + ac_srcdir=$srcdir$ac_dir_suffix; mgl@1371: + ac_top_srcdir=$srcdir mgl@1371: + ac_abs_top_srcdir=$srcdir ;; mgl@1371: + *) # Relative name. mgl@1371: + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix mgl@1371: + ac_top_srcdir=$ac_top_build_prefix$srcdir mgl@1371: + ac_abs_top_srcdir=$ac_pwd/$srcdir ;; mgl@1371: +esac mgl@1371: +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix mgl@1371: + mgl@1371: + mgl@1371: + case $ac_mode in mgl@1371: + :F) mgl@1371: + # mgl@1371: + # CONFIG_FILE mgl@1371: + # mgl@1371: + mgl@1371: + case $INSTALL in mgl@1371: + [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; mgl@1371: + *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; mgl@1371: + esac mgl@1371: +_ACEOF mgl@1371: + mgl@1371: +cat >>$CONFIG_STATUS <<\_ACEOF mgl@1371: +# If the template does not know about datarootdir, expand it. mgl@1371: +# FIXME: This hack should be removed a few years after 2.60. mgl@1371: +ac_datarootdir_hack=; ac_datarootdir_seen= mgl@1371: + mgl@1371: +case `sed -n '/datarootdir/ { mgl@1371: + p mgl@1371: + q mgl@1371: +} mgl@1371: +/@datadir@/p mgl@1371: +/@docdir@/p mgl@1371: +/@infodir@/p mgl@1371: +/@localedir@/p mgl@1371: +/@mandir@/p mgl@1371: +' $ac_file_inputs` in mgl@1371: +*datarootdir*) ac_datarootdir_seen=yes;; mgl@1371: +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) mgl@1371: + { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 mgl@1371: +echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} mgl@1371: +_ACEOF mgl@1371: +cat >>$CONFIG_STATUS <<_ACEOF mgl@1371: + ac_datarootdir_hack=' mgl@1371: + s&@datadir@&$datadir&g mgl@1371: + s&@docdir@&$docdir&g mgl@1371: + s&@infodir@&$infodir&g mgl@1371: + s&@localedir@&$localedir&g mgl@1371: + s&@mandir@&$mandir&g mgl@1371: + s&\\\${datarootdir}&$datarootdir&g' ;; mgl@1371: +esac mgl@1371: +_ACEOF mgl@1371: + mgl@1371: +# Neutralize VPATH when `$srcdir' = `.'. mgl@1371: +# Shell code in configure.ac might set extrasub. mgl@1371: +# FIXME: do we really want to maintain this feature? mgl@1371: +cat >>$CONFIG_STATUS <<_ACEOF mgl@1371: + sed "$ac_vpsub mgl@1371: +$extrasub mgl@1371: +_ACEOF mgl@1371: +cat >>$CONFIG_STATUS <<\_ACEOF mgl@1371: +:t mgl@1371: +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b mgl@1371: +s&@configure_input@&$configure_input&;t t mgl@1371: +s&@top_builddir@&$ac_top_builddir_sub&;t t mgl@1371: +s&@srcdir@&$ac_srcdir&;t t mgl@1371: +s&@abs_srcdir@&$ac_abs_srcdir&;t t mgl@1371: +s&@top_srcdir@&$ac_top_srcdir&;t t mgl@1371: +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t mgl@1371: +s&@builddir@&$ac_builddir&;t t mgl@1371: +s&@abs_builddir@&$ac_abs_builddir&;t t mgl@1371: +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t mgl@1371: +s&@INSTALL@&$ac_INSTALL&;t t mgl@1371: +$ac_datarootdir_hack mgl@1371: +" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out mgl@1371: + mgl@1371: +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && mgl@1371: + { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && mgl@1371: + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && mgl@1371: + { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' mgl@1371: +which seems to be undefined. Please make sure it is defined." >&5 mgl@1371: +echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' mgl@1371: +which seems to be undefined. Please make sure it is defined." >&2;} mgl@1371: + mgl@1371: + rm -f "$tmp/stdin" mgl@1371: + case $ac_file in mgl@1371: + -) cat "$tmp/out"; rm -f "$tmp/out";; mgl@1371: + *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; mgl@1371: + esac mgl@1371: + ;; mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: + esac mgl@1371: + mgl@1371: +done # for ac_tag mgl@1371: + mgl@1371: + mgl@1371: +{ (exit 0); exit 0; } mgl@1371: +_ACEOF mgl@1371: +chmod +x $CONFIG_STATUS mgl@1371: +ac_clean_files=$ac_clean_files_save mgl@1371: + mgl@1371: + mgl@1371: +# configure is writing to config.log, and then calls config.status. mgl@1371: +# config.status does its own redirection, appending to config.log. mgl@1371: +# Unfortunately, on DOS this fails, as config.log is still kept open mgl@1371: +# by configure, so config.status won't be able to write to it; its mgl@1371: +# output is simply discarded. So we exec the FD to /dev/null, mgl@1371: +# effectively closing config.log, so it can be properly (re)opened and mgl@1371: +# appended to by config.status. When coming back to configure, we mgl@1371: +# need to make the FD available again. mgl@1371: +if test "$no_create" != yes; then mgl@1371: + ac_cs_success=: mgl@1371: + ac_config_status_args= mgl@1371: + test "$silent" = yes && mgl@1371: + ac_config_status_args="$ac_config_status_args --quiet" mgl@1371: + exec 5>/dev/null mgl@1371: + $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false mgl@1371: + exec 5>>config.log mgl@1371: + # Use ||, not &&, to avoid exiting from the if with $? = 1, which mgl@1371: + # would make configure fail if this is the last instruction. mgl@1371: + $ac_cs_success || { (exit 1); exit 1; } mgl@1371: +fi mgl@1371: + mgl@1371: diff -Naur newlib-1.17.0/newlib/libc/sys/avr32/configure.in newlib-1.17.0-new/newlib/libc/sys/avr32/configure.in mgl@1371: --- newlib-1.17.0/newlib/libc/sys/avr32/configure.in 1970-01-01 01:00:00.000000000 +0100 mgl@1371: +++ newlib-1.17.0-new/newlib/libc/sys/avr32/configure.in 2009-05-22 09:57:50.000000000 +0200 mgl@1371: @@ -0,0 +1,13 @@ mgl@1371: +dnl This is the newlib/libc/sys/avr32 configure.in file. mgl@1371: +dnl Process this file with autoconf to produce a configure script. mgl@1371: + mgl@1371: +AC_PREREQ(2.59) mgl@1371: +AC_INIT([newlib],[NEWLIB_VERSION]) mgl@1371: + mgl@1371: +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. mgl@1371: +AC_CONFIG_AUX_DIR(../../../..) mgl@1371: + mgl@1371: +NEWLIB_CONFIGURE(../../..) mgl@1371: + mgl@1371: +AC_CONFIG_FILES([Makefile]) mgl@1371: +AC_OUTPUT mgl@1371: diff -Naur newlib-1.17.0/newlib/libc/sys/avr32/crt0.S newlib-1.17.0-new/newlib/libc/sys/avr32/crt0.S mgl@1371: --- newlib-1.17.0/newlib/libc/sys/avr32/crt0.S 1970-01-01 01:00:00.000000000 +0100 mgl@1371: +++ newlib-1.17.0-new/newlib/libc/sys/avr32/crt0.S 2009-05-22 09:57:50.000000000 +0200 mgl@1371: @@ -0,0 +1,83 @@ mgl@1371: + mgl@1371: + .section .reset,"ax" mgl@1371: + mgl@1371: + .global _start mgl@1371: + .type _start,@function mgl@1371: +_start: mgl@1371: + /* Jump to wherever the linker thinks we are... */ mgl@1371: + lddpc pc, .Ltext_vaddr mgl@1371: + mgl@1371: + .align 2 mgl@1371: +.Ltext_vaddr: mgl@1371: + .word _stext mgl@1371: + mgl@1371: + .text mgl@1371: + .global _stext mgl@1371: +_stext: mgl@1371: + /* Zero marks the end of the outermost frame. */ mgl@1371: + mov r7, 0 mgl@1371: + mgl@1371: + /* Set up the stack pointer to a fixed value */ mgl@1371: + lda.w r10, _estack mgl@1371: + mgl@1371: + /* If _stack is -1 don't set sp, the stack is then probably mgl@1371: + set by some other means i.e. by a bootloader. */ mgl@1371: + cp r10, -1 mgl@1371: + movne sp, r10 mgl@1371: + mgl@1371: + /* Copy the data segment into RAM if necessary. If data_lma mgl@1371: + is equal to data then VMA==LMA and no copying is necessary. mgl@1371: + The linker script must make sure that the data segment is at mgl@1371: + least dword-aligned. */ mgl@1371: + lda.w r11, _data_lma mgl@1371: + lda.w r12, _data mgl@1371: + cp.w r11, r12 mgl@1371: + breq 1f mgl@1371: + lda.w r10, _edata mgl@1371: +2: ld.d r8, r11++ mgl@1371: + st.d r12++, r8 mgl@1371: + cp.w r12, r10 mgl@1371: + brlt 2b mgl@1371: + mgl@1371: + /* Zero the memory in the .bss section. */ mgl@1371: +1: lda.w r10, _end mgl@1371: + lda.w r12, _edata mgl@1371: + mgl@1371: + mov r8, 0 mgl@1371: + mov r9, 0 mgl@1371: +2: st.d r12++, r8 mgl@1371: + cp.w r12, r10 mgl@1371: + brlt 2b mgl@1371: + mgl@1371: + /* User dependent initialization */ mgl@1371: + call _init_startup mgl@1371: + mgl@1371: + /* Register _fini function with atexit mgl@1371: + The _fini function is responsible for calling destructiors */ mgl@1371: + lda.w r12, _fini mgl@1371: + call atexit mgl@1371: + mgl@1371: + /* Call _init in order to initialize constructors etc */ mgl@1371: + call _init mgl@1371: + mgl@1371: + /*Initialize argv, use stack for keeping arguments. mgl@1371: + _init_argv() returns argc in r12 and argv in r11 mgl@1371: + and the total size used for the arguments in r10.*/ mgl@1371: + mov r12, sp mgl@1371: + /* Signal that we are storing the arguments in a stackwise mgl@1371: + top down approach. */ mgl@1371: + mov r11, 0 mgl@1371: + call _init_argv mgl@1371: + /* If initialization if argv is not handled then _init_argv mgl@1371: + returns -1 so set argc to 0 and make sure no space is mgl@1371: + allocated on the stack. */ mgl@1371: + cp.w r12, -1 mgl@1371: + moveq r12, 0 mgl@1371: + moveq r10, 0 mgl@1371: + sub sp, r10 mgl@1371: + mgl@1371: + /* Call main and call exit when it returns */ mgl@1371: + call main mgl@1371: + call exit mgl@1371: + mgl@1371: + .weak _data_lma mgl@1371: diff -Naur newlib-1.17.0/newlib/libc/sys/avr32/Makefile.am newlib-1.17.0-new/newlib/libc/sys/avr32/Makefile.am mgl@1371: --- newlib-1.17.0/newlib/libc/sys/avr32/Makefile.am 1970-01-01 01:00:00.000000000 +0100 mgl@1371: +++ newlib-1.17.0-new/newlib/libc/sys/avr32/Makefile.am 2009-05-22 09:57:50.000000000 +0200 mgl@1371: @@ -0,0 +1,18 @@ mgl@1371: +## Process this file with automake to generate Makefile.in mgl@1371: + mgl@1371: +AUTOMAKE_OPTIONS = cygnus mgl@1371: + mgl@1371: +INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS) mgl@1371: + mgl@1371: +AM_CCASFLAGS = $(INCLUDES) mgl@1371: + mgl@1371: +noinst_LIBRARIES = lib.a mgl@1371: + mgl@1371: +lib_a_SOURCES = syscalls.c setjmp.S mgl@1371: +lib_a_CCASFLAGS = $(AM_CCASFLAGS) mgl@1371: +lib_a_CFLAGS = $(AM_CFLAGS) mgl@1371: + mgl@1371: +all: crt0.o mgl@1371: + mgl@1371: +ACLOCAL_AMFLAGS = -I ../../.. mgl@1371: +CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host mgl@1371: diff -Naur newlib-1.17.0/newlib/libc/sys/avr32/Makefile.in newlib-1.17.0-new/newlib/libc/sys/avr32/Makefile.in mgl@1371: --- newlib-1.17.0/newlib/libc/sys/avr32/Makefile.in 1970-01-01 01:00:00.000000000 +0100 mgl@1371: +++ newlib-1.17.0-new/newlib/libc/sys/avr32/Makefile.in 2009-05-22 09:57:50.000000000 +0200 mgl@1371: @@ -0,0 +1,329 @@ mgl@1371: +# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am mgl@1371: + mgl@1371: +# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc. mgl@1371: +# This Makefile.in is free software; the Free Software Foundation mgl@1371: +# gives unlimited permission to copy and/or distribute it, mgl@1371: +# with or without modifications, as long as this notice is preserved. mgl@1371: + mgl@1371: +# This program is distributed in the hope that it will be useful, mgl@1371: +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without mgl@1371: +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A mgl@1371: +# PARTICULAR PURPOSE. mgl@1371: + mgl@1371: + mgl@1371: +SHELL = @SHELL@ mgl@1371: + mgl@1371: +srcdir = @srcdir@ mgl@1371: +top_srcdir = @top_srcdir@ mgl@1371: +VPATH = @srcdir@ mgl@1371: +prefix = @prefix@ mgl@1371: +exec_prefix = @exec_prefix@ mgl@1371: + mgl@1371: +bindir = @bindir@ mgl@1371: +sbindir = @sbindir@ mgl@1371: +libexecdir = @libexecdir@ mgl@1371: +datadir = @datadir@ mgl@1371: +sysconfdir = @sysconfdir@ mgl@1371: +sharedstatedir = @sharedstatedir@ mgl@1371: +localstatedir = @localstatedir@ mgl@1371: +libdir = @libdir@ mgl@1371: +infodir = @infodir@ mgl@1371: +mandir = @mandir@ mgl@1371: +includedir = @includedir@ mgl@1371: +oldincludedir = /usr/include mgl@1371: + mgl@1371: +DESTDIR = mgl@1371: + mgl@1371: +pkgdatadir = $(datadir)/@PACKAGE@ mgl@1371: +pkglibdir = $(libdir)/@PACKAGE@ mgl@1371: +pkgincludedir = $(includedir)/@PACKAGE@ mgl@1371: + mgl@1371: +top_builddir = . mgl@1371: + mgl@1371: +ACLOCAL = @ACLOCAL@ mgl@1371: +AUTOCONF = @AUTOCONF@ mgl@1371: +AUTOMAKE = @AUTOMAKE@ mgl@1371: +AUTOHEADER = @AUTOHEADER@ mgl@1371: + mgl@1371: +INSTALL = @INSTALL@ mgl@1371: +INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) mgl@1371: +INSTALL_DATA = @INSTALL_DATA@ mgl@1371: +INSTALL_SCRIPT = @INSTALL_SCRIPT@ mgl@1371: +transform = @program_transform_name@ mgl@1371: + mgl@1371: +NORMAL_INSTALL = : mgl@1371: +PRE_INSTALL = : mgl@1371: +POST_INSTALL = : mgl@1371: +NORMAL_UNINSTALL = : mgl@1371: +PRE_UNINSTALL = : mgl@1371: +POST_UNINSTALL = : mgl@1371: +build_alias = @build_alias@ mgl@1371: +build_triplet = @build@ mgl@1371: +host_alias = @host_alias@ mgl@1371: +host_triplet = @host@ mgl@1371: +target_alias = @target_alias@ mgl@1371: +target_triplet = @target@ mgl@1371: +AR = @AR@ mgl@1371: +AS = @AS@ mgl@1371: +CC = @CC@ mgl@1371: +CPP = @CPP@ mgl@1371: +EXEEXT = @EXEEXT@ mgl@1371: +LDFLAGS = @LDFLAGS@ mgl@1371: +MAINT = @MAINT@ mgl@1371: +MAKEINFO = @MAKEINFO@ mgl@1371: +NEWLIB_CFLAGS = @NEWLIB_CFLAGS@ mgl@1371: +OBJEXT = @OBJEXT@ mgl@1371: +PACKAGE = @PACKAGE@ mgl@1371: +RANLIB = @RANLIB@ mgl@1371: +VERSION = @VERSION@ mgl@1371: +aext = @aext@ mgl@1371: +libm_machine_dir = @libm_machine_dir@ mgl@1371: +machine_dir = @machine_dir@ mgl@1371: +newlib_basedir = @newlib_basedir@ mgl@1371: +oext = @oext@ mgl@1371: +sys_dir = @sys_dir@ mgl@1371: + mgl@1371: +AUTOMAKE_OPTIONS = cygnus mgl@1371: + mgl@1371: +INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS) mgl@1371: + mgl@1371: +noinst_LIBRARIES = lib.a mgl@1371: + mgl@1371: +lib_a_SOURCES = syscalls.c setjmp.S mgl@1371: + mgl@1371: +ACLOCAL_AMFLAGS = -I ../../.. mgl@1371: +CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host mgl@1371: +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 mgl@1371: +mkinstalldirs = $(SHELL) $(top_srcdir)/../../../../mkinstalldirs mgl@1371: +CONFIG_CLEAN_FILES = mgl@1371: +LIBRARIES = $(noinst_LIBRARIES) mgl@1371: + mgl@1371: + mgl@1371: +DEFS = @DEFS@ -I. -I$(srcdir) mgl@1371: +CPPFLAGS = mgl@1371: +LIBS = @LIBS@ mgl@1371: +lib_a_LIBADD = mgl@1371: +lib_a_OBJECTS = syscalls.o setjmp.o mgl@1371: +CFLAGS = @CFLAGS@ mgl@1371: +COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) mgl@1371: +CCLD = $(CC) mgl@1371: +LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ mgl@1371: +DIST_COMMON = Makefile.am Makefile.in aclocal.m4 configure configure.in mgl@1371: + mgl@1371: + mgl@1371: +DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) mgl@1371: + mgl@1371: +TAR = gtar mgl@1371: +GZIP_ENV = --best mgl@1371: +SOURCES = $(lib_a_SOURCES) mgl@1371: +OBJECTS = $(lib_a_OBJECTS) mgl@1371: + mgl@1371: +all: all-redirect mgl@1371: +.SUFFIXES: mgl@1371: +.SUFFIXES: .S .c .o .s mgl@1371: +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) mgl@1371: + cd $(top_srcdir) && $(AUTOMAKE) --cygnus Makefile mgl@1371: + mgl@1371: +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status mgl@1371: + cd $(top_builddir) \ mgl@1371: + && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status mgl@1371: + mgl@1371: +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.in \ mgl@1371: + ../../../acinclude.m4 ../../../aclocal.m4 \ mgl@1371: + ../../../libtool.m4 mgl@1371: + cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) mgl@1371: + mgl@1371: +config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) mgl@1371: + $(SHELL) ./config.status --recheck mgl@1371: +$(srcdir)/configure: @MAINTAINER_MODE_TRUE@$(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) mgl@1371: + cd $(srcdir) && $(AUTOCONF) mgl@1371: + mgl@1371: +mostlyclean-noinstLIBRARIES: mgl@1371: + mgl@1371: +clean-noinstLIBRARIES: mgl@1371: + -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES) mgl@1371: + mgl@1371: +distclean-noinstLIBRARIES: mgl@1371: + mgl@1371: +maintainer-clean-noinstLIBRARIES: mgl@1371: + mgl@1371: +.c.o: mgl@1371: + $(COMPILE) -c $< mgl@1371: + mgl@1371: +.s.o: mgl@1371: + $(COMPILE) -c $< mgl@1371: + mgl@1371: +.S.o: mgl@1371: + $(COMPILE) -c $< mgl@1371: + mgl@1371: +mostlyclean-compile: mgl@1371: + -rm -f *.o core *.core mgl@1371: + mgl@1371: +clean-compile: mgl@1371: + mgl@1371: +distclean-compile: mgl@1371: + -rm -f *.tab.c mgl@1371: + mgl@1371: +maintainer-clean-compile: mgl@1371: + mgl@1371: +lib.a: $(lib_a_OBJECTS) $(lib_a_DEPENDENCIES) mgl@1371: + -rm -f lib.a mgl@1371: + $(AR) cru lib.a $(lib_a_OBJECTS) $(lib_a_LIBADD) mgl@1371: + $(RANLIB) lib.a mgl@1371: + mgl@1371: +tags: TAGS mgl@1371: + mgl@1371: +ID: $(HEADERS) $(SOURCES) $(LISP) mgl@1371: + list='$(SOURCES) $(HEADERS)'; \ mgl@1371: + unique=`for i in $$list; do echo $$i; done | \ mgl@1371: + awk ' { files[$$0] = 1; } \ mgl@1371: + END { for (i in files) print i; }'`; \ mgl@1371: + here=`pwd` && cd $(srcdir) \ mgl@1371: + && mkid -f$$here/ID $$unique $(LISP) mgl@1371: + mgl@1371: +TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP) mgl@1371: + tags=; \ mgl@1371: + here=`pwd`; \ mgl@1371: + list='$(SOURCES) $(HEADERS)'; \ mgl@1371: + unique=`for i in $$list; do echo $$i; done | \ mgl@1371: + awk ' { files[$$0] = 1; } \ mgl@1371: + END { for (i in files) print i; }'`; \ mgl@1371: + test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ mgl@1371: + || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS) mgl@1371: + mgl@1371: +mostlyclean-tags: mgl@1371: + mgl@1371: +clean-tags: mgl@1371: + mgl@1371: +distclean-tags: mgl@1371: + -rm -f TAGS ID mgl@1371: + mgl@1371: +maintainer-clean-tags: mgl@1371: + mgl@1371: +distdir = $(PACKAGE)-$(VERSION) mgl@1371: +top_distdir = $(distdir) mgl@1371: + mgl@1371: +# This target untars the dist file and tries a VPATH configuration. Then mgl@1371: +# it guarantees that the distribution is self-contained by making another mgl@1371: +# tarfile. mgl@1371: +distcheck: dist mgl@1371: + -rm -rf $(distdir) mgl@1371: + GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz mgl@1371: + mkdir $(distdir)/=build mgl@1371: + mkdir $(distdir)/=inst mgl@1371: + dc_install_base=`cd $(distdir)/=inst && pwd`; \ mgl@1371: + cd $(distdir)/=build \ mgl@1371: + && ../configure --srcdir=.. --prefix=$$dc_install_base \ mgl@1371: + && $(MAKE) $(AM_MAKEFLAGS) \ mgl@1371: + && $(MAKE) $(AM_MAKEFLAGS) dvi \ mgl@1371: + && $(MAKE) $(AM_MAKEFLAGS) check \ mgl@1371: + && $(MAKE) $(AM_MAKEFLAGS) install \ mgl@1371: + && $(MAKE) $(AM_MAKEFLAGS) installcheck \ mgl@1371: + && $(MAKE) $(AM_MAKEFLAGS) dist mgl@1371: + -rm -rf $(distdir) mgl@1371: + @banner="$(distdir).tar.gz is ready for distribution"; \ mgl@1371: + dashes=`echo "$$banner" | sed s/./=/g`; \ mgl@1371: + echo "$$dashes"; \ mgl@1371: + echo "$$banner"; \ mgl@1371: + echo "$$dashes" mgl@1371: +dist: distdir mgl@1371: + -chmod -R a+r $(distdir) mgl@1371: + GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) mgl@1371: + -rm -rf $(distdir) mgl@1371: +dist-all: distdir mgl@1371: + -chmod -R a+r $(distdir) mgl@1371: + GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) mgl@1371: + -rm -rf $(distdir) mgl@1371: +distdir: $(DISTFILES) mgl@1371: + -rm -rf $(distdir) mgl@1371: + mkdir $(distdir) mgl@1371: + -chmod 777 $(distdir) mgl@1371: + @for file in $(DISTFILES); do \ mgl@1371: + if test -f $$file; then d=.; else d=$(srcdir); fi; \ mgl@1371: + if test -d $$d/$$file; then \ mgl@1371: + cp -pr $$d/$$file $(distdir)/$$file; \ mgl@1371: + else \ mgl@1371: + test -f $(distdir)/$$file \ mgl@1371: + || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ mgl@1371: + || cp -p $$d/$$file $(distdir)/$$file || :; \ mgl@1371: + fi; \ mgl@1371: + done mgl@1371: +info-am: mgl@1371: +info: info-am mgl@1371: +dvi-am: mgl@1371: +dvi: dvi-am mgl@1371: +check-am: mgl@1371: +check: check-am mgl@1371: +installcheck-am: mgl@1371: +installcheck: installcheck-am mgl@1371: +install-info-am: mgl@1371: +install-info: install-info-am mgl@1371: +install-exec-am: mgl@1371: +install-exec: install-exec-am mgl@1371: + mgl@1371: +install-data-am: mgl@1371: +install-data: install-data-am mgl@1371: + mgl@1371: +install-am: all-am mgl@1371: + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am mgl@1371: +install: install-am mgl@1371: +uninstall-am: mgl@1371: +uninstall: uninstall-am mgl@1371: +all-am: Makefile $(LIBRARIES) mgl@1371: +all-redirect: all-am mgl@1371: +install-strip: mgl@1371: + $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install mgl@1371: +installdirs: mgl@1371: + mgl@1371: + mgl@1371: +mostlyclean-generic: mgl@1371: + mgl@1371: +clean-generic: mgl@1371: + mgl@1371: +distclean-generic: mgl@1371: + -rm -f Makefile $(CONFIG_CLEAN_FILES) mgl@1371: + -rm -f config.cache config.log stamp-h stamp-h[0-9]* mgl@1371: + mgl@1371: +maintainer-clean-generic: mgl@1371: +mostlyclean-am: mostlyclean-noinstLIBRARIES mostlyclean-compile \ mgl@1371: + mostlyclean-tags mostlyclean-generic mgl@1371: + mgl@1371: +mostlyclean: mostlyclean-am mgl@1371: + mgl@1371: +clean-am: clean-noinstLIBRARIES clean-compile clean-tags clean-generic \ mgl@1371: + mostlyclean-am mgl@1371: + mgl@1371: +clean: clean-am mgl@1371: + mgl@1371: +distclean-am: distclean-noinstLIBRARIES distclean-compile \ mgl@1371: + distclean-tags distclean-generic clean-am mgl@1371: + mgl@1371: +distclean: distclean-am mgl@1371: + -rm -f config.status mgl@1371: + mgl@1371: +maintainer-clean-am: maintainer-clean-noinstLIBRARIES \ mgl@1371: + maintainer-clean-compile maintainer-clean-tags \ mgl@1371: + maintainer-clean-generic distclean-am mgl@1371: + @echo "This command is intended for maintainers to use;" mgl@1371: + @echo "it deletes files that may require special tools to rebuild." mgl@1371: + mgl@1371: +maintainer-clean: maintainer-clean-am mgl@1371: + -rm -f config.status mgl@1371: + mgl@1371: +.PHONY: mostlyclean-noinstLIBRARIES distclean-noinstLIBRARIES \ mgl@1371: +clean-noinstLIBRARIES maintainer-clean-noinstLIBRARIES \ mgl@1371: +mostlyclean-compile distclean-compile clean-compile \ mgl@1371: +maintainer-clean-compile tags mostlyclean-tags distclean-tags \ mgl@1371: +clean-tags maintainer-clean-tags distdir info-am info dvi-am dvi check \ mgl@1371: +check-am installcheck-am installcheck install-info-am install-info \ mgl@1371: +install-exec-am install-exec install-data-am install-data install-am \ mgl@1371: +install uninstall-am uninstall all-redirect all-am all installdirs \ mgl@1371: +mostlyclean-generic distclean-generic clean-generic \ mgl@1371: +maintainer-clean-generic clean mostlyclean distclean maintainer-clean mgl@1371: + mgl@1371: + mgl@1371: +all: crt0.o mgl@1371: + mgl@1371: +# Tell versions [3.59,3.63) of GNU make to not export all variables. mgl@1371: +# Otherwise a system limit (for SysV at least) may be exceeded. mgl@1371: +.NOEXPORT: mgl@1371: diff -Naur newlib-1.17.0/newlib/libc/sys/avr32/setjmp.S newlib-1.17.0-new/newlib/libc/sys/avr32/setjmp.S mgl@1371: --- newlib-1.17.0/newlib/libc/sys/avr32/setjmp.S 1970-01-01 01:00:00.000000000 +0100 mgl@1371: +++ newlib-1.17.0-new/newlib/libc/sys/avr32/setjmp.S 2009-05-22 09:57:50.000000000 +0200 mgl@1371: @@ -0,0 +1,20 @@ mgl@1371: + .text mgl@1371: + .globl setjmp mgl@1371: +setjmp: mgl@1371: + stm r12, r0, r1, r2, r3, r4, r5, r6, r7, sp, lr mgl@1371: + retal 0 mgl@1371: + mgl@1371: + .globl longjmp mgl@1371: +longjmp: mgl@1371: + ldm r12, r0, r1, r2, r3, r4, r5, r6, r7, sp, lr mgl@1371: + /* Put the return value into the integer result register. mgl@1371: + But if it is zero then return 1 instead. */ mgl@1371: + cp r11, 0 mgl@1371: + reteq 1 mgl@1371: + retal r11 mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: diff -Naur newlib-1.17.0/newlib/libc/sys/avr32/sys/sysregs.h newlib-1.17.0-new/newlib/libc/sys/avr32/sys/sysregs.h mgl@1371: --- newlib-1.17.0/newlib/libc/sys/avr32/sys/sysregs.h 1970-01-01 01:00:00.000000000 +0100 mgl@1371: +++ newlib-1.17.0-new/newlib/libc/sys/avr32/sys/sysregs.h 2009-05-22 09:57:50.000000000 +0200 mgl@1371: @@ -0,0 +1,158 @@ mgl@1371: +#ifndef __ASM_AVR32_SYSREGS_H mgl@1371: +#define __ASM_AVR32_SYSREGS_H mgl@1371: + mgl@1371: +#define SYSREG_SR 0 mgl@1371: +#define SYSREG_EVBA 4 mgl@1371: +#define SYSREG_ACBA 8 mgl@1371: +#define SYSREG_CPUCR 12 mgl@1371: +#define SYSREG_ECR 16 mgl@1371: +#define SYSREG_RSR_SUP 20 mgl@1371: +#define SYSREG_RSR_INT0 24 mgl@1371: +#define SYSREG_RSR_INT1 28 mgl@1371: +#define SYSREG_RSR_INT2 32 mgl@1371: +#define SYSREG_RSR_INT3 36 mgl@1371: +#define SYSREG_RSR_EX 40 mgl@1371: +#define SYSREG_RSR_NMI 44 mgl@1371: +#define SYSREG_RSR_DBG 48 mgl@1371: +#define SYSREG_RAR_SUP 52 mgl@1371: +#define SYSREG_RAR_INT0 56 mgl@1371: +#define SYSREG_RAR_INT1 60 mgl@1371: +#define SYSREG_RAR_INT2 64 mgl@1371: +#define SYSREG_RAR_INT3 68 mgl@1371: +#define SYSREG_RAR_EX 72 mgl@1371: +#define SYSREG_RAR_NMI 76 mgl@1371: +#define SYSREG_RAR_DBG 80 mgl@1371: +#define SYSREG_JECR 84 mgl@1371: +#define SYSREG_JOSP 88 mgl@1371: +#define SYSREG_JAVA_LV0 92 mgl@1371: +#define SYSREG_JAVA_LV1 96 mgl@1371: +#define SYSREG_JAVA_LV2 100 mgl@1371: +#define SYSREG_JAVA_LV3 104 mgl@1371: +#define SYSREG_JAVA_LV4 108 mgl@1371: +#define SYSREG_JAVA_LV5 112 mgl@1371: +#define SYSREG_JAVA_LV6 116 mgl@1371: +#define SYSREG_JAVA_LV7 120 mgl@1371: +#define SYSREG_JTBA 124 mgl@1371: +#define SYSREG_JBCR 128 mgl@1371: + mgl@1371: +#define SYSREG_CONFIG0 256 mgl@1371: +#define SYSREG_CONFIG1 260 mgl@1371: +#define SYSREG_COUNT 264 mgl@1371: +#define SYSREG_COMPARE 268 mgl@1371: + mgl@1371: +#define SYSREG_BEAR 316 mgl@1371: + mgl@1371: +/* MMU interface registers */ mgl@1371: +#define SYSREG_TLBEHI 272 mgl@1371: +#define SYSREG_TLBELO 276 mgl@1371: +#define SYSREG_PTBR 280 mgl@1371: +#define SYSREG_TLBEAR 284 mgl@1371: +#define SYSREG_MMUCR 288 mgl@1371: +#define SYSREG_TLBARLO 292 mgl@1371: +#define SYSREG_TLBDRLO 296 mgl@1371: +#define SYSREG_TLBARHI 300 mgl@1371: +#define SYSREG_TLBDRHI 304 mgl@1371: + mgl@1371: +/* Performance counter */ mgl@1371: +#define SYSREG_PCCR 320 mgl@1371: + mgl@1371: + // Status register bits mgl@1371: +#define SR_C_OFFSET 0 mgl@1371: +#define SR_Z_OFFSET 1 mgl@1371: +#define SR_N_OFFSET 2 mgl@1371: +#define SR_V_OFFSET 3 mgl@1371: +#define SR_Q_OFFSET 4 mgl@1371: +#define SR_T_OFFSET 14 mgl@1371: +#define SR_R_OFFSET 15 mgl@1371: +#define SR_GM_OFFSET 16 mgl@1371: +#define SR_I0M_OFFSET 17 mgl@1371: +#define SR_I1M_OFFSET 18 mgl@1371: +#define SR_I2M_OFFSET 19 mgl@1371: +#define SR_I3M_OFFSET 20 mgl@1371: +#define SR_EM_OFFSET 21 mgl@1371: +#define SR_M0_OFFSET 22 mgl@1371: +#define SR_M1_OFFSET 23 mgl@1371: +#define SR_M2_OFFSET 24 mgl@1371: +#define SR_D_OFFSET 26 mgl@1371: +#define SR_DM_OFFSET 27 mgl@1371: +#define SR_J_OFFSET 28 mgl@1371: + mgl@1371: +#define SR_C (1 << 0) mgl@1371: +#define SR_Z (1 << 1) mgl@1371: +#define SR_N (1 << 2) mgl@1371: +#define SR_V (1 << 3) mgl@1371: +#define SR_Q (1 << 4) mgl@1371: +#define SR_T (1 << 14) mgl@1371: +#define SR_R (1 << 15) mgl@1371: +#define SR_GM (1 << 16) mgl@1371: +#define SR_I0M (1 << 17) mgl@1371: +#define SR_I1M (1 << 18) mgl@1371: +#define SR_I2M (1 << 19) mgl@1371: +#define SR_I3M (1 << 20) mgl@1371: +#define SR_EM (1 << 21) mgl@1371: +#define SR_M0 (1 << 22) mgl@1371: +#define SR_M1 (1 << 23) mgl@1371: +#define SR_M2 (1 << 24) mgl@1371: +#define SR_D (1 << 26) mgl@1371: +#define SR_DM (1 << 27) mgl@1371: +#define SR_J (1 << 28) mgl@1371: + mgl@1371: +//PCCR bits mgl@1371: +#define PCCRS (1<<3) mgl@1371: +#define PCCRC (1<<2) mgl@1371: +#define PCCRR (1<<1) mgl@1371: +#define PCCRE (1<<0) mgl@1371: +#define PCCNT_PRESCALE 64 mgl@1371: + mgl@1371: +//TLBEHI bits mgl@1371: +#define TLBEHIVPN (1<<10) mgl@1371: +#define TLBEHIV (1<<9) mgl@1371: +#define TLBEHII (1<<0) mgl@1371: + mgl@1371: +//TLBELO = bits mgl@1371: +#define TLBELOPFN (1<<10) mgl@1371: +#define TLBELOC (1<<9) mgl@1371: +#define TLBELOG (1<<8) mgl@1371: +#define TLBELOB (1<<7) mgl@1371: +#define TLBELOAP (1<<5) mgl@1371: +#define TLBELOSZ (1<<2) mgl@1371: +#define TLBELOD (1<<1) mgl@1371: +#define TLBELOW (1<<0) mgl@1371: + mgl@1371: +//MMUCR bits mgl@1371: +#define MMUIRP (1<<26) mgl@1371: +#define MMUILA (1<<20) mgl@1371: +#define MMUDRP (1<<14) mgl@1371: +#define MMUDLA (1<<8) mgl@1371: +#define MMUS (1<<4) mgl@1371: +#define MMUN (1<<3) mgl@1371: +#define MMUI (1<<2) mgl@1371: +#define MMUM (1<<1) mgl@1371: +#define MMUE (1<<0) mgl@1371: + mgl@1371: +// Relative offsets to EVBA mgl@1371: +#define H_UNREC_EX 0x000 mgl@1371: +#define H_TLB_MH 0x004 mgl@1371: +#define H_BUS_ERR_D 0x008 mgl@1371: +#define H_BUS_ERR_I 0x00C mgl@1371: +#define H_NMI 0x010 mgl@1371: +#define H_INST_ADDR 0x014 mgl@1371: +#define H_ITLB_MISS 0x050 mgl@1371: +#define H_ITLB_PROT 0x018 mgl@1371: +#define H_DEBUG 0x01C mgl@1371: +#define H_ILL_OPC 0x020 mgl@1371: +#define H_UNIMPL_INST 0x024 mgl@1371: +#define H_PRIV_VIOL 0x028 mgl@1371: +#define H_FLOAT_PT 0x02C mgl@1371: +#define H_COPROC_ABS 0x030 mgl@1371: +#define H_SCALL 0x100 mgl@1371: +#define H_DATA_ADDR_R 0x034 mgl@1371: +#define H_DATA_ADDR_W 0x038 mgl@1371: +#define H_DTLB_MISS_R 0x060 mgl@1371: +#define H_DTLB_MISS_W 0x070 mgl@1371: +#define H_DTLB_PROT_R 0x03C mgl@1371: +#define H_DTLB_PROT_W 0x040 mgl@1371: +#define H_DTLB_MOD 0x044 mgl@1371: + mgl@1371: + mgl@1371: +#endif /* __ASM_AVR32_SYSREGS_H */ mgl@1371: diff -Naur newlib-1.17.0/newlib/libc/sys/avr32/syscalls.c newlib-1.17.0-new/newlib/libc/sys/avr32/syscalls.c mgl@1371: --- newlib-1.17.0/newlib/libc/sys/avr32/syscalls.c 1970-01-01 01:00:00.000000000 +0100 mgl@1371: +++ newlib-1.17.0-new/newlib/libc/sys/avr32/syscalls.c 2009-05-22 09:57:50.000000000 +0200 mgl@1371: @@ -0,0 +1,234 @@ mgl@1371: +#include "syscalls.h" mgl@1371: +#include "sys/sysregs.h" mgl@1371: +#include mgl@1371: +#include mgl@1371: +#include mgl@1371: +#include mgl@1371: + mgl@1371: +int __attribute__((weak)) mgl@1371: + _init_startup () mgl@1371: +{ mgl@1371: + return 0; mgl@1371: +} mgl@1371: + mgl@1371: + mgl@1371: +clock_t __attribute__((weak)) mgl@1371: + _times( struct tms *tms ) mgl@1371: +{ mgl@1371: + int tick; mgl@1371: + tick = __builtin_mfsr(SYSREG_COUNT); mgl@1371: + tms->tms_utime = 0; mgl@1371: + tms->tms_stime = tick; mgl@1371: + tms->tms_cutime = 0; mgl@1371: + tms->tms_cstime = 0; mgl@1371: + return tick; mgl@1371: +} mgl@1371: + mgl@1371: +extern void __heap_start__, __heap_end__; mgl@1371: + mgl@1371: +void * __attribute__((weak)) mgl@1371: + _sbrk(int increment) mgl@1371: +{ mgl@1371: + static void *cur_heap_pos = 0; mgl@1371: + mgl@1371: + //Initialize cur_heap_pos mgl@1371: + if ( cur_heap_pos == 0 ) mgl@1371: + cur_heap_pos = &__heap_start__; mgl@1371: + mgl@1371: + if ( (cur_heap_pos + increment) <= &__heap_end__ ){ mgl@1371: + void *heap_pos = cur_heap_pos; mgl@1371: + cur_heap_pos += increment; mgl@1371: + return heap_pos; mgl@1371: + } else { mgl@1371: +#ifdef DEBUG_MSG_ON mgl@1371: + fprintf(stderr, "Warning: Heap is running full trying to allocate %i bytes!!!!\n", increment); mgl@1371: + fprintf(stderr, "\tHeap start address\t= 0x%x\n", &__heap_start__); mgl@1371: + fprintf(stderr, "\tHeap end address\t= 0x%x\n", &__heap_end__); mgl@1371: + fprintf(stderr, "\tCurrent heap address\t= 0x%x\n", cur_heap_pos); mgl@1371: + fflush(stderr); mgl@1371: +#endif mgl@1371: + errno = ENOMEM; mgl@1371: + return (void *)-1; mgl@1371: + } mgl@1371: + return (void *)-1; mgl@1371: +} mgl@1371: + mgl@1371: +void __attribute__((weak,naked)) mgl@1371: + _init_argv (void *arg_mem_top) mgl@1371: +{ mgl@1371: + T2H_SYSCALL(T2H_SYSCALL_INIT_ARGV); mgl@1371: + T2H_SYSCALL_RETURN(); mgl@1371: +} mgl@1371: + mgl@1371: +void __attribute__((weak,naked)) mgl@1371: + _exit( int code ) mgl@1371: +{ mgl@1371: + T2H_SYSCALL(T2H_SYSCALL_EXIT); mgl@1371: + while (1); mgl@1371: +} mgl@1371: + mgl@1371: +int __attribute__((weak,naked)) mgl@1371: + _open (char *pathname, int flags, int mode) mgl@1371: +{ mgl@1371: + T2H_SYSCALL(T2H_SYSCALL_OPEN); mgl@1371: + T2H_SYSCALL_CHECK_ERROR_AND_RETURN(); mgl@1371: +} mgl@1371: + mgl@1371: +int __attribute__((weak,naked)) mgl@1371: + _close (int file) mgl@1371: +{ mgl@1371: + T2H_SYSCALL(T2H_SYSCALL_CLOSE); mgl@1371: + T2H_SYSCALL_CHECK_ERROR_AND_RETURN(); mgl@1371: +} mgl@1371: + mgl@1371: +int __attribute__((weak,naked)) mgl@1371: + _lseek( int filedes, int offset, int whence ) mgl@1371: +{ mgl@1371: + T2H_SYSCALL(T2H_SYSCALL_LSEEK); mgl@1371: + T2H_SYSCALL_CHECK_ERROR_AND_RETURN(); mgl@1371: +} mgl@1371: + mgl@1371: + mgl@1371: +int __attribute__((weak,naked)) mgl@1371: + _read (int file, mgl@1371: + char * ptr, mgl@1371: + int len){ mgl@1371: + T2H_SYSCALL(T2H_SYSCALL_READ); mgl@1371: + T2H_SYSCALL_CHECK_ERROR_AND_RETURN(); mgl@1371: +} mgl@1371: + mgl@1371: +int __attribute__((weak,naked)) mgl@1371: + _write (int file, mgl@1371: + char * ptr, mgl@1371: + int len){ mgl@1371: + T2H_SYSCALL(T2H_SYSCALL_WRITE); mgl@1371: + T2H_SYSCALL_CHECK_ERROR_AND_RETURN(); mgl@1371: +} mgl@1371: + mgl@1371: +int __attribute__((weak,naked)) mgl@1371: + isatty (int desc){ mgl@1371: + T2H_SYSCALL(T2H_SYSCALL_ISATTY); mgl@1371: + T2H_SYSCALL_CHECK_ERROR_AND_RETURN(); mgl@1371: +} mgl@1371: + mgl@1371: +static void _convert_host2target_stat(struct stat *target_stat, struct host_stat *host_stat) mgl@1371: +{ mgl@1371: + target_stat->st_dev = (dev_t)host_stat->st_dev; mgl@1371: + target_stat->st_ino = (ino_t)host_stat->st_ino; mgl@1371: + target_stat->st_mode = (mode_t)host_stat->st_mode; mgl@1371: + target_stat->st_nlink = (nlink_t)host_stat->st_nlink; mgl@1371: + target_stat->st_uid = (uid_t)host_stat->st_uid; mgl@1371: + target_stat->st_gid = (gid_t)host_stat->st_gid; mgl@1371: + target_stat->st_rdev = (dev_t)host_stat->st_rdev; mgl@1371: + target_stat->st_size = (off_t)host_stat->st_size; mgl@1371: + target_stat->st_blksize = (long)host_stat->st_blksize; mgl@1371: + target_stat->st_blocks = (long)host_stat->st_blocks; mgl@1371: + target_stat->st_atime = (time_t)host_stat->st_atime; mgl@1371: + target_stat->st_mtime = (time_t)host_stat->st_mtime; mgl@1371: + target_stat->st_ctime = (time_t)host_stat->st_ctime; mgl@1371: +} mgl@1371: + mgl@1371: +int __attribute__((naked)) mgl@1371: + _fstat_host (int filedes, struct host_stat *ptr){ mgl@1371: + T2H_SYSCALL(T2H_SYSCALL_FSTAT); mgl@1371: + T2H_SYSCALL_CHECK_ERROR_AND_RETURN(); mgl@1371: +} mgl@1371: + mgl@1371: +int __attribute__((naked)) mgl@1371: + _stat_host (const char *filename, struct host_stat *ptr){ mgl@1371: + T2H_SYSCALL(T2H_SYSCALL_STAT); mgl@1371: + T2H_SYSCALL_CHECK_ERROR_AND_RETURN(); mgl@1371: +} mgl@1371: + mgl@1371: +int __attribute__((weak)) mgl@1371: + _fstat (int filedes, struct stat *stat){ mgl@1371: + struct host_stat host_stat; mgl@1371: + if ( _fstat_host (filedes, &host_stat) < 0 ) mgl@1371: + return -1; mgl@1371: + _convert_host2target_stat (stat, &host_stat); mgl@1371: + return 0; mgl@1371: +} mgl@1371: + mgl@1371: +int __attribute__((weak)) mgl@1371: + _stat (const char *filename, struct stat *stat){ mgl@1371: + struct host_stat host_stat; mgl@1371: + if ( _stat_host (filename, &host_stat) < 0) mgl@1371: + return -1; mgl@1371: + _convert_host2target_stat (stat, &host_stat); mgl@1371: + return 0; mgl@1371: +} mgl@1371: + mgl@1371: + mgl@1371: +int __attribute__((naked)) mgl@1371: + _gettimeofday_host (struct host_timeval *tv, struct timezone *tz){ mgl@1371: + T2H_SYSCALL(T2H_SYSCALL_GETTIMEOFDAY); mgl@1371: + T2H_SYSCALL_CHECK_ERROR_AND_RETURN(); mgl@1371: +} mgl@1371: + mgl@1371: +int __attribute__((weak)) mgl@1371: + _gettimeofday (struct timeval *tv, struct timezone *tz){ mgl@1371: + struct host_timeval host_tv; mgl@1371: + if ( _gettimeofday_host (&host_tv, tz) < 0 ) mgl@1371: + return -1; mgl@1371: + tv->tv_sec = (long)host_tv.tv_sec; mgl@1371: + tv->tv_usec = (long)host_tv.tv_usec; mgl@1371: + return 0; mgl@1371: +} mgl@1371: + mgl@1371: +int __attribute__((weak,naked)) mgl@1371: + _unlink (const char *path){ mgl@1371: + T2H_SYSCALL(T2H_SYSCALL_UNLINK); mgl@1371: + T2H_SYSCALL_CHECK_ERROR_AND_RETURN(); mgl@1371: +} mgl@1371: + mgl@1371: +int __attribute__((weak,naked)) mgl@1371: + _system (const char *command){ mgl@1371: + T2H_SYSCALL(T2H_SYSCALL_SYSTEM); mgl@1371: + T2H_SYSCALL_CHECK_ERROR_AND_RETURN(); mgl@1371: +} mgl@1371: + mgl@1371: +int __attribute__((weak)) mgl@1371: + _execve (){ mgl@1371: + return -1; mgl@1371: +} mgl@1371: + mgl@1371: + mgl@1371: +int __attribute__((weak)) mgl@1371: + _fork (){ mgl@1371: + return -1; mgl@1371: +} mgl@1371: + mgl@1371: +int __attribute__((weak)) mgl@1371: + _wait (){ mgl@1371: + return -1; mgl@1371: +} mgl@1371: + mgl@1371: +int __attribute__((weak)) mgl@1371: + sigfillset (){ mgl@1371: + return -1; mgl@1371: +} mgl@1371: + mgl@1371: +int __attribute__((weak)) mgl@1371: + sigprocmask (){ mgl@1371: + return -1; mgl@1371: +} mgl@1371: + mgl@1371: +int __attribute__((weak)) mgl@1371: + _fcntl (){ mgl@1371: + return -1; mgl@1371: +} mgl@1371: + mgl@1371: +int __attribute__((weak)) mgl@1371: + _link (){ mgl@1371: + return -1; mgl@1371: +} mgl@1371: + mgl@1371: +int __attribute__((weak)) mgl@1371: + _kill (){ mgl@1371: + return -1; mgl@1371: +} mgl@1371: + mgl@1371: +int __attribute__((weak)) mgl@1371: + _getpid (){ mgl@1371: + return -1; mgl@1371: +} mgl@1371: diff -Naur newlib-1.17.0/newlib/libc/sys/avr32/syscalls.h newlib-1.17.0-new/newlib/libc/sys/avr32/syscalls.h mgl@1371: --- newlib-1.17.0/newlib/libc/sys/avr32/syscalls.h 1970-01-01 01:00:00.000000000 +0100 mgl@1371: +++ newlib-1.17.0-new/newlib/libc/sys/avr32/syscalls.h 2009-05-22 09:57:50.000000000 +0200 mgl@1371: @@ -0,0 +1,72 @@ mgl@1371: +#ifndef __SYSCALLS_H__ mgl@1371: +#define __SYSCALLS_H__ mgl@1371: + mgl@1371: +#include mgl@1371: +#include mgl@1371: + mgl@1371: +struct host_stat { mgl@1371: + unsigned int st_dev; /* device */ mgl@1371: + unsigned int st_ino; /* inode */ mgl@1371: + mode_t st_mode; /* protection */ mgl@1371: + unsigned int st_nlink; /* number of hard links */ mgl@1371: + unsigned int st_uid; /* user ID of owner */ mgl@1371: + unsigned int st_gid; /* group ID of owner */ mgl@1371: + unsigned int st_rdev; /* device type (if inode device) */ mgl@1371: + unsigned long long st_size; /* total size, in bytes */ mgl@1371: + unsigned long long st_blksize; /* blocksize for filesystem I/O */ mgl@1371: + unsigned long long st_blocks; /* number of blocks allocated */ mgl@1371: + time_t st_atime; /* time of last access */ mgl@1371: + time_t st_mtime; /* time of last modification */ mgl@1371: + time_t st_ctime; /* time of last change */ mgl@1371: +}; mgl@1371: + mgl@1371: +struct host_timeval { mgl@1371: + time_t tv_sec; mgl@1371: + long long tv_usec; mgl@1371: +}; mgl@1371: + mgl@1371: + mgl@1371: +#define T2H_SYSCALL_OPEN 1 mgl@1371: +#define T2H_SYSCALL_CLOSE 2 mgl@1371: +#define T2H_SYSCALL_READ 3 mgl@1371: +#define T2H_SYSCALL_WRITE 4 mgl@1371: +#define T2H_SYSCALL_LSEEK 5 mgl@1371: +#define T2H_SYSCALL_RENAME 6 mgl@1371: +#define T2H_SYSCALL_UNLINK 7 mgl@1371: +#define T2H_SYSCALL_STAT 8 mgl@1371: +#define T2H_SYSCALL_FSTAT 9 mgl@1371: +#define T2H_SYSCALL_GETTIMEOFDAY 10 mgl@1371: +#define T2H_SYSCALL_ISATTY 11 mgl@1371: +#define T2H_SYSCALL_SYSTEM 12 mgl@1371: +#define T2H_SYSCALL_EXIT 13 mgl@1371: +#define T2H_SYSCALL_INIT_ARGV 14 mgl@1371: + mgl@1371: + mgl@1371: +/* The breakpoint/mov r12,-1/mov r11,... pattern causes mgl@1371: + the debugger to be able to recognize the system call. mgl@1371: + If the debug system is not enabled then the breakpoint mgl@1371: + is executed as a nop and r12 set to -1 and errno to mgl@1371: + ENOSYS. The debugger is responsible for setting r12 mgl@1371: + and r11 and skipping the instructions after the breakpoint mgl@1371: + which would otherwise set these registers. mgl@1371: +*/ mgl@1371: +#define T2H_SYSCALL(syscall_code) \ mgl@1371: + asm ("mov r8, %0\n" \ mgl@1371: + "breakpoint\n" \ mgl@1371: + "mov r12, -1\n" \ mgl@1371: + "mov r11, %1\n" \ mgl@1371: + :: "i" (syscall_code), "i" (ENOSYS) ); mgl@1371: + mgl@1371: +#define T2H_SYSCALL_CHECK_ERROR_AND_RETURN() \ mgl@1371: + asm ("cp.w r12, 0\n" \ mgl@1371: + "retge r12\n" \ mgl@1371: + "lda.w r10, errno\n" \ mgl@1371: + "st.w r10[0], r11\n" \ mgl@1371: + "ret r12\n" \ mgl@1371: + ".align 2\n" \ mgl@1371: + ".cpool\n"); mgl@1371: + mgl@1371: +#define T2H_SYSCALL_RETURN() \ mgl@1371: + asm ("ret r12\n"); mgl@1371: + mgl@1371: +#endif mgl@1371: diff -Naur newlib-1.17.0/newlib/libc/sys/configure newlib-1.17.0-new/newlib/libc/sys/configure mgl@1371: --- newlib-1.17.0/newlib/libc/sys/configure 2008-12-22 20:45:49.000000000 +0100 mgl@1371: +++ newlib-1.17.0-new/newlib/libc/sys/configure 2009-05-22 09:57:50.000000000 +0200 mgl@1371: @@ -1,25 +1,54 @@ mgl@1371: #! /bin/sh mgl@1371: # Guess values for system-dependent variables and create Makefiles. mgl@1371: -# Generated by GNU Autoconf 2.59 for newlib 1.17.0. mgl@1371: +# Generated by GNU Autoconf 2.61 for newlib 1.17.0. mgl@1371: # mgl@1371: -# Copyright (C) 2003 Free Software Foundation, Inc. mgl@1371: +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, mgl@1371: +# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. mgl@1371: # This configure script is free software; the Free Software Foundation mgl@1371: # gives unlimited permission to copy, distribute and modify it. mgl@1371: ## --------------------- ## mgl@1371: ## M4sh Initialization. ## mgl@1371: ## --------------------- ## mgl@1371: mgl@1371: -# Be Bourne compatible mgl@1371: +# Be more Bourne compatible mgl@1371: +DUALCASE=1; export DUALCASE # for MKS sh mgl@1371: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then mgl@1371: emulate sh mgl@1371: NULLCMD=: mgl@1371: # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which mgl@1371: # is contrary to our usage. Disable this feature. mgl@1371: alias -g '${1+"$@"}'='"$@"' mgl@1371: -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then mgl@1371: - set -o posix mgl@1371: + setopt NO_GLOB_SUBST mgl@1371: +else mgl@1371: + case `(set -o) 2>/dev/null` in mgl@1371: + *posix*) set -o posix ;; mgl@1371: +esac mgl@1371: + mgl@1371: +fi mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: +# PATH needs CR mgl@1371: +# Avoid depending upon Character Ranges. mgl@1371: +as_cr_letters='abcdefghijklmnopqrstuvwxyz' mgl@1371: +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' mgl@1371: +as_cr_Letters=$as_cr_letters$as_cr_LETTERS mgl@1371: +as_cr_digits='0123456789' mgl@1371: +as_cr_alnum=$as_cr_Letters$as_cr_digits mgl@1371: + mgl@1371: +# The user is always right. mgl@1371: +if test "${PATH_SEPARATOR+set}" != set; then mgl@1371: + echo "#! /bin/sh" >conf$$.sh mgl@1371: + echo "exit 0" >>conf$$.sh mgl@1371: + chmod +x conf$$.sh mgl@1371: + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then mgl@1371: + PATH_SEPARATOR=';' mgl@1371: + else mgl@1371: + PATH_SEPARATOR=: mgl@1371: + fi mgl@1371: + rm -f conf$$.sh mgl@1371: fi mgl@1371: -DUALCASE=1; export DUALCASE # for MKS sh mgl@1371: mgl@1371: # Support unset when possible. mgl@1371: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then mgl@1371: @@ -29,8 +58,43 @@ mgl@1371: fi mgl@1371: mgl@1371: mgl@1371: +# IFS mgl@1371: +# We need space, tab and new line, in precisely that order. Quoting is mgl@1371: +# there to prevent editors from complaining about space-tab. mgl@1371: +# (If _AS_PATH_WALK were called with IFS unset, it would disable word mgl@1371: +# splitting by setting IFS to empty value.) mgl@1371: +as_nl=' mgl@1371: +' mgl@1371: +IFS=" "" $as_nl" mgl@1371: + mgl@1371: +# Find who we are. Look in the path if we contain no directory separator. mgl@1371: +case $0 in mgl@1371: + *[\\/]* ) as_myself=$0 ;; mgl@1371: + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR mgl@1371: +for as_dir in $PATH mgl@1371: +do mgl@1371: + IFS=$as_save_IFS mgl@1371: + test -z "$as_dir" && as_dir=. mgl@1371: + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break mgl@1371: +done mgl@1371: +IFS=$as_save_IFS mgl@1371: + mgl@1371: + ;; mgl@1371: +esac mgl@1371: +# We did not find ourselves, most probably we were run as `sh COMMAND' mgl@1371: +# in which case we are not to be found in the path. mgl@1371: +if test "x$as_myself" = x; then mgl@1371: + as_myself=$0 mgl@1371: +fi mgl@1371: +if test ! -f "$as_myself"; then mgl@1371: + echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 mgl@1371: + { (exit 1); exit 1; } mgl@1371: +fi mgl@1371: + mgl@1371: # Work around bugs in pre-3.0 UWIN ksh. mgl@1371: -$as_unset ENV MAIL MAILPATH mgl@1371: +for as_var in ENV MAIL MAILPATH mgl@1371: +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var mgl@1371: +done mgl@1371: PS1='$ ' mgl@1371: PS2='> ' mgl@1371: PS4='+ ' mgl@1371: @@ -44,18 +108,19 @@ mgl@1371: if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then mgl@1371: eval $as_var=C; export $as_var mgl@1371: else mgl@1371: - $as_unset $as_var mgl@1371: + ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var mgl@1371: fi mgl@1371: done mgl@1371: mgl@1371: # Required to use basename. mgl@1371: -if expr a : '\(a\)' >/dev/null 2>&1; then mgl@1371: +if expr a : '\(a\)' >/dev/null 2>&1 && mgl@1371: + test "X`expr 00001 : '.*\(...\)'`" = X001; then mgl@1371: as_expr=expr mgl@1371: else mgl@1371: as_expr=false mgl@1371: fi mgl@1371: mgl@1371: -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then mgl@1371: +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then mgl@1371: as_basename=basename mgl@1371: else mgl@1371: as_basename=false mgl@1371: @@ -63,157 +128,388 @@ mgl@1371: mgl@1371: mgl@1371: # Name of the executable. mgl@1371: -as_me=`$as_basename "$0" || mgl@1371: +as_me=`$as_basename -- "$0" || mgl@1371: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ mgl@1371: X"$0" : 'X\(//\)$' \| \ mgl@1371: - X"$0" : 'X\(/\)$' \| \ mgl@1371: - . : '\(.\)' 2>/dev/null || mgl@1371: + X"$0" : 'X\(/\)' \| . 2>/dev/null || mgl@1371: echo X/"$0" | mgl@1371: - sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } mgl@1371: - /^X\/\(\/\/\)$/{ s//\1/; q; } mgl@1371: - /^X\/\(\/\).*/{ s//\1/; q; } mgl@1371: - s/.*/./; q'` mgl@1371: + sed '/^.*\/\([^/][^/]*\)\/*$/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + /^X\/\(\/\/\)$/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + /^X\/\(\/\).*/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + s/.*/./; q'` mgl@1371: mgl@1371: +# CDPATH. mgl@1371: +$as_unset CDPATH mgl@1371: mgl@1371: -# PATH needs CR, and LINENO needs CR and PATH. mgl@1371: -# Avoid depending upon Character Ranges. mgl@1371: -as_cr_letters='abcdefghijklmnopqrstuvwxyz' mgl@1371: -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' mgl@1371: -as_cr_Letters=$as_cr_letters$as_cr_LETTERS mgl@1371: -as_cr_digits='0123456789' mgl@1371: -as_cr_alnum=$as_cr_Letters$as_cr_digits mgl@1371: mgl@1371: -# The user is always right. mgl@1371: -if test "${PATH_SEPARATOR+set}" != set; then mgl@1371: - echo "#! /bin/sh" >conf$$.sh mgl@1371: - echo "exit 0" >>conf$$.sh mgl@1371: - chmod +x conf$$.sh mgl@1371: - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then mgl@1371: - PATH_SEPARATOR=';' mgl@1371: - else mgl@1371: - PATH_SEPARATOR=: mgl@1371: - fi mgl@1371: - rm -f conf$$.sh mgl@1371: +if test "x$CONFIG_SHELL" = x; then mgl@1371: + if (eval ":") 2>/dev/null; then mgl@1371: + as_have_required=yes mgl@1371: +else mgl@1371: + as_have_required=no mgl@1371: fi mgl@1371: mgl@1371: + if test $as_have_required = yes && (eval ": mgl@1371: +(as_func_return () { mgl@1371: + (exit \$1) mgl@1371: +} mgl@1371: +as_func_success () { mgl@1371: + as_func_return 0 mgl@1371: +} mgl@1371: +as_func_failure () { mgl@1371: + as_func_return 1 mgl@1371: +} mgl@1371: +as_func_ret_success () { mgl@1371: + return 0 mgl@1371: +} mgl@1371: +as_func_ret_failure () { mgl@1371: + return 1 mgl@1371: +} mgl@1371: mgl@1371: - as_lineno_1=$LINENO mgl@1371: - as_lineno_2=$LINENO mgl@1371: - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` mgl@1371: - test "x$as_lineno_1" != "x$as_lineno_2" && mgl@1371: - test "x$as_lineno_3" = "x$as_lineno_2" || { mgl@1371: - # Find who we are. Look in the path if we contain no path at all mgl@1371: - # relative or not. mgl@1371: - case $0 in mgl@1371: - *[\\/]* ) as_myself=$0 ;; mgl@1371: - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR mgl@1371: -for as_dir in $PATH mgl@1371: -do mgl@1371: - IFS=$as_save_IFS mgl@1371: - test -z "$as_dir" && as_dir=. mgl@1371: - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break mgl@1371: -done mgl@1371: +exitcode=0 mgl@1371: +if as_func_success; then mgl@1371: + : mgl@1371: +else mgl@1371: + exitcode=1 mgl@1371: + echo as_func_success failed. mgl@1371: +fi mgl@1371: mgl@1371: - ;; mgl@1371: - esac mgl@1371: - # We did not find ourselves, most probably we were run as `sh COMMAND' mgl@1371: - # in which case we are not to be found in the path. mgl@1371: - if test "x$as_myself" = x; then mgl@1371: - as_myself=$0 mgl@1371: - fi mgl@1371: - if test ! -f "$as_myself"; then mgl@1371: - { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 mgl@1371: - { (exit 1); exit 1; }; } mgl@1371: - fi mgl@1371: - case $CONFIG_SHELL in mgl@1371: - '') mgl@1371: +if as_func_failure; then mgl@1371: + exitcode=1 mgl@1371: + echo as_func_failure succeeded. mgl@1371: +fi mgl@1371: + mgl@1371: +if as_func_ret_success; then mgl@1371: + : mgl@1371: +else mgl@1371: + exitcode=1 mgl@1371: + echo as_func_ret_success failed. mgl@1371: +fi mgl@1371: + mgl@1371: +if as_func_ret_failure; then mgl@1371: + exitcode=1 mgl@1371: + echo as_func_ret_failure succeeded. mgl@1371: +fi mgl@1371: + mgl@1371: +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then mgl@1371: + : mgl@1371: +else mgl@1371: + exitcode=1 mgl@1371: + echo positional parameters were not saved. mgl@1371: +fi mgl@1371: + mgl@1371: +test \$exitcode = 0) || { (exit 1); exit 1; } mgl@1371: + mgl@1371: +( mgl@1371: + as_lineno_1=\$LINENO mgl@1371: + as_lineno_2=\$LINENO mgl@1371: + test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && mgl@1371: + test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } mgl@1371: +") 2> /dev/null; then mgl@1371: + : mgl@1371: +else mgl@1371: + as_candidate_shells= mgl@1371: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR mgl@1371: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH mgl@1371: do mgl@1371: IFS=$as_save_IFS mgl@1371: test -z "$as_dir" && as_dir=. mgl@1371: - for as_base in sh bash ksh sh5; do mgl@1371: - case $as_dir in mgl@1371: + case $as_dir in mgl@1371: /*) mgl@1371: - if ("$as_dir/$as_base" -c ' mgl@1371: + for as_base in sh bash ksh sh5; do mgl@1371: + as_candidate_shells="$as_candidate_shells $as_dir/$as_base" mgl@1371: + done;; mgl@1371: + esac mgl@1371: +done mgl@1371: +IFS=$as_save_IFS mgl@1371: + mgl@1371: + mgl@1371: + for as_shell in $as_candidate_shells $SHELL; do mgl@1371: + # Try only shells that exist, to save several forks. mgl@1371: + if { test -f "$as_shell" || test -f "$as_shell.exe"; } && mgl@1371: + { ("$as_shell") 2> /dev/null <<\_ASEOF mgl@1371: +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then mgl@1371: + emulate sh mgl@1371: + NULLCMD=: mgl@1371: + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which mgl@1371: + # is contrary to our usage. Disable this feature. mgl@1371: + alias -g '${1+"$@"}'='"$@"' mgl@1371: + setopt NO_GLOB_SUBST mgl@1371: +else mgl@1371: + case `(set -o) 2>/dev/null` in mgl@1371: + *posix*) set -o posix ;; mgl@1371: +esac mgl@1371: + mgl@1371: +fi mgl@1371: + mgl@1371: + mgl@1371: +: mgl@1371: +_ASEOF mgl@1371: +}; then mgl@1371: + CONFIG_SHELL=$as_shell mgl@1371: + as_have_required=yes mgl@1371: + if { "$as_shell" 2> /dev/null <<\_ASEOF mgl@1371: +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then mgl@1371: + emulate sh mgl@1371: + NULLCMD=: mgl@1371: + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which mgl@1371: + # is contrary to our usage. Disable this feature. mgl@1371: + alias -g '${1+"$@"}'='"$@"' mgl@1371: + setopt NO_GLOB_SUBST mgl@1371: +else mgl@1371: + case `(set -o) 2>/dev/null` in mgl@1371: + *posix*) set -o posix ;; mgl@1371: +esac mgl@1371: + mgl@1371: +fi mgl@1371: + mgl@1371: + mgl@1371: +: mgl@1371: +(as_func_return () { mgl@1371: + (exit $1) mgl@1371: +} mgl@1371: +as_func_success () { mgl@1371: + as_func_return 0 mgl@1371: +} mgl@1371: +as_func_failure () { mgl@1371: + as_func_return 1 mgl@1371: +} mgl@1371: +as_func_ret_success () { mgl@1371: + return 0 mgl@1371: +} mgl@1371: +as_func_ret_failure () { mgl@1371: + return 1 mgl@1371: +} mgl@1371: + mgl@1371: +exitcode=0 mgl@1371: +if as_func_success; then mgl@1371: + : mgl@1371: +else mgl@1371: + exitcode=1 mgl@1371: + echo as_func_success failed. mgl@1371: +fi mgl@1371: + mgl@1371: +if as_func_failure; then mgl@1371: + exitcode=1 mgl@1371: + echo as_func_failure succeeded. mgl@1371: +fi mgl@1371: + mgl@1371: +if as_func_ret_success; then mgl@1371: + : mgl@1371: +else mgl@1371: + exitcode=1 mgl@1371: + echo as_func_ret_success failed. mgl@1371: +fi mgl@1371: + mgl@1371: +if as_func_ret_failure; then mgl@1371: + exitcode=1 mgl@1371: + echo as_func_ret_failure succeeded. mgl@1371: +fi mgl@1371: + mgl@1371: +if ( set x; as_func_ret_success y && test x = "$1" ); then mgl@1371: + : mgl@1371: +else mgl@1371: + exitcode=1 mgl@1371: + echo positional parameters were not saved. mgl@1371: +fi mgl@1371: + mgl@1371: +test $exitcode = 0) || { (exit 1); exit 1; } mgl@1371: + mgl@1371: +( mgl@1371: as_lineno_1=$LINENO mgl@1371: as_lineno_2=$LINENO mgl@1371: - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` mgl@1371: test "x$as_lineno_1" != "x$as_lineno_2" && mgl@1371: - test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then mgl@1371: - $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } mgl@1371: - $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } mgl@1371: - CONFIG_SHELL=$as_dir/$as_base mgl@1371: - export CONFIG_SHELL mgl@1371: - exec "$CONFIG_SHELL" "$0" ${1+"$@"} mgl@1371: - fi;; mgl@1371: - esac mgl@1371: - done mgl@1371: -done mgl@1371: -;; mgl@1371: - esac mgl@1371: + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } mgl@1371: + mgl@1371: +_ASEOF mgl@1371: +}; then mgl@1371: + break mgl@1371: +fi mgl@1371: + mgl@1371: +fi mgl@1371: + mgl@1371: + done mgl@1371: + mgl@1371: + if test "x$CONFIG_SHELL" != x; then mgl@1371: + for as_var in BASH_ENV ENV mgl@1371: + do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var mgl@1371: + done mgl@1371: + export CONFIG_SHELL mgl@1371: + exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} mgl@1371: +fi mgl@1371: + mgl@1371: + mgl@1371: + if test $as_have_required = no; then mgl@1371: + echo This script requires a shell more modern than all the mgl@1371: + echo shells that I found on your system. Please install a mgl@1371: + echo modern shell, or manually run the script under such a mgl@1371: + echo shell if you do have one. mgl@1371: + { (exit 1); exit 1; } mgl@1371: +fi mgl@1371: + mgl@1371: + mgl@1371: +fi mgl@1371: + mgl@1371: +fi mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: +(eval "as_func_return () { mgl@1371: + (exit \$1) mgl@1371: +} mgl@1371: +as_func_success () { mgl@1371: + as_func_return 0 mgl@1371: +} mgl@1371: +as_func_failure () { mgl@1371: + as_func_return 1 mgl@1371: +} mgl@1371: +as_func_ret_success () { mgl@1371: + return 0 mgl@1371: +} mgl@1371: +as_func_ret_failure () { mgl@1371: + return 1 mgl@1371: +} mgl@1371: + mgl@1371: +exitcode=0 mgl@1371: +if as_func_success; then mgl@1371: + : mgl@1371: +else mgl@1371: + exitcode=1 mgl@1371: + echo as_func_success failed. mgl@1371: +fi mgl@1371: + mgl@1371: +if as_func_failure; then mgl@1371: + exitcode=1 mgl@1371: + echo as_func_failure succeeded. mgl@1371: +fi mgl@1371: + mgl@1371: +if as_func_ret_success; then mgl@1371: + : mgl@1371: +else mgl@1371: + exitcode=1 mgl@1371: + echo as_func_ret_success failed. mgl@1371: +fi mgl@1371: + mgl@1371: +if as_func_ret_failure; then mgl@1371: + exitcode=1 mgl@1371: + echo as_func_ret_failure succeeded. mgl@1371: +fi mgl@1371: + mgl@1371: +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then mgl@1371: + : mgl@1371: +else mgl@1371: + exitcode=1 mgl@1371: + echo positional parameters were not saved. mgl@1371: +fi mgl@1371: + mgl@1371: +test \$exitcode = 0") || { mgl@1371: + echo No shell found that supports shell functions. mgl@1371: + echo Please tell autoconf@gnu.org about your system, mgl@1371: + echo including any error possibly output before this mgl@1371: + echo message mgl@1371: +} mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: + as_lineno_1=$LINENO mgl@1371: + as_lineno_2=$LINENO mgl@1371: + test "x$as_lineno_1" != "x$as_lineno_2" && mgl@1371: + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { mgl@1371: mgl@1371: # Create $as_me.lineno as a copy of $as_myself, but with $LINENO mgl@1371: # uniformly replaced by the line number. The first 'sed' inserts a mgl@1371: - # line-number line before each line; the second 'sed' does the real mgl@1371: - # work. The second script uses 'N' to pair each line-number line mgl@1371: - # with the numbered line, and appends trailing '-' during mgl@1371: - # substitution so that $LINENO is not a special case at line end. mgl@1371: + # line-number line after each line using $LINENO; the second 'sed' mgl@1371: + # does the real work. The second script uses 'N' to pair each mgl@1371: + # line-number line with the line containing $LINENO, and appends mgl@1371: + # trailing '-' during substitution so that $LINENO is not a special mgl@1371: + # case at line end. mgl@1371: # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the mgl@1371: - # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) mgl@1371: - sed '=' <$as_myself | mgl@1371: + # scripts with optimization help from Paolo Bonzini. Blame Lee mgl@1371: + # E. McMahon (1931-1989) for sed's syntax. :-) mgl@1371: + sed -n ' mgl@1371: + p mgl@1371: + /[$]LINENO/= mgl@1371: + ' <$as_myself | mgl@1371: sed ' mgl@1371: + s/[$]LINENO.*/&-/ mgl@1371: + t lineno mgl@1371: + b mgl@1371: + :lineno mgl@1371: N mgl@1371: - s,$,-, mgl@1371: - : loop mgl@1371: - s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, mgl@1371: + :loop mgl@1371: + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ mgl@1371: t loop mgl@1371: - s,-$,, mgl@1371: - s,^['$as_cr_digits']*\n,, mgl@1371: + s/-\n.*// mgl@1371: ' >$as_me.lineno && mgl@1371: - chmod +x $as_me.lineno || mgl@1371: + chmod +x "$as_me.lineno" || mgl@1371: { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 mgl@1371: { (exit 1); exit 1; }; } mgl@1371: mgl@1371: # Don't try to exec as it changes $[0], causing all sort of problems mgl@1371: # (the dirname of $[0] is not the place where we might find the mgl@1371: - # original and so on. Autoconf is especially sensible to this). mgl@1371: - . ./$as_me.lineno mgl@1371: + # original and so on. Autoconf is especially sensitive to this). mgl@1371: + . "./$as_me.lineno" mgl@1371: # Exit status is that of the last command. mgl@1371: exit mgl@1371: } mgl@1371: mgl@1371: mgl@1371: -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in mgl@1371: - *c*,-n*) ECHO_N= ECHO_C=' mgl@1371: -' ECHO_T=' ' ;; mgl@1371: - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; mgl@1371: - *) ECHO_N= ECHO_C='\c' ECHO_T= ;; mgl@1371: +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then mgl@1371: + as_dirname=dirname mgl@1371: +else mgl@1371: + as_dirname=false mgl@1371: +fi mgl@1371: + mgl@1371: +ECHO_C= ECHO_N= ECHO_T= mgl@1371: +case `echo -n x` in mgl@1371: +-n*) mgl@1371: + case `echo 'x\c'` in mgl@1371: + *c*) ECHO_T=' ';; # ECHO_T is single tab character. mgl@1371: + *) ECHO_C='\c';; mgl@1371: + esac;; mgl@1371: +*) mgl@1371: + ECHO_N='-n';; mgl@1371: esac mgl@1371: mgl@1371: -if expr a : '\(a\)' >/dev/null 2>&1; then mgl@1371: +if expr a : '\(a\)' >/dev/null 2>&1 && mgl@1371: + test "X`expr 00001 : '.*\(...\)'`" = X001; then mgl@1371: as_expr=expr mgl@1371: else mgl@1371: as_expr=false mgl@1371: fi mgl@1371: mgl@1371: rm -f conf$$ conf$$.exe conf$$.file mgl@1371: +if test -d conf$$.dir; then mgl@1371: + rm -f conf$$.dir/conf$$.file mgl@1371: +else mgl@1371: + rm -f conf$$.dir mgl@1371: + mkdir conf$$.dir mgl@1371: +fi mgl@1371: echo >conf$$.file mgl@1371: if ln -s conf$$.file conf$$ 2>/dev/null; then mgl@1371: - # We could just check for DJGPP; but this test a) works b) is more generic mgl@1371: - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). mgl@1371: - if test -f conf$$.exe; then mgl@1371: - # Don't use ln at all; we don't have any links mgl@1371: + as_ln_s='ln -s' mgl@1371: + # ... but there are two gotchas: mgl@1371: + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. mgl@1371: + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. mgl@1371: + # In both cases, we have to default to `cp -p'. mgl@1371: + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || mgl@1371: as_ln_s='cp -p' mgl@1371: - else mgl@1371: - as_ln_s='ln -s' mgl@1371: - fi mgl@1371: elif ln conf$$.file conf$$ 2>/dev/null; then mgl@1371: as_ln_s=ln mgl@1371: else mgl@1371: as_ln_s='cp -p' mgl@1371: fi mgl@1371: -rm -f conf$$ conf$$.exe conf$$.file mgl@1371: +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file mgl@1371: +rmdir conf$$.dir 2>/dev/null mgl@1371: mgl@1371: if mkdir -p . 2>/dev/null; then mgl@1371: as_mkdir_p=: mgl@1371: @@ -222,7 +518,28 @@ mgl@1371: as_mkdir_p=false mgl@1371: fi mgl@1371: mgl@1371: -as_executable_p="test -f" mgl@1371: +if test -x / >/dev/null 2>&1; then mgl@1371: + as_test_x='test -x' mgl@1371: +else mgl@1371: + if ls -dL / >/dev/null 2>&1; then mgl@1371: + as_ls_L_option=L mgl@1371: + else mgl@1371: + as_ls_L_option= mgl@1371: + fi mgl@1371: + as_test_x=' mgl@1371: + eval sh -c '\'' mgl@1371: + if test -d "$1"; then mgl@1371: + test -d "$1/."; mgl@1371: + else mgl@1371: + case $1 in mgl@1371: + -*)set "./$1";; mgl@1371: + esac; mgl@1371: + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in mgl@1371: + ???[sx]*):;;*)false;;esac;fi mgl@1371: + '\'' sh mgl@1371: + ' mgl@1371: +fi mgl@1371: +as_executable_p=$as_test_x mgl@1371: mgl@1371: # Sed expression to map a string onto a valid CPP name. mgl@1371: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" mgl@1371: @@ -231,15 +548,6 @@ mgl@1371: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" mgl@1371: mgl@1371: mgl@1371: -# IFS mgl@1371: -# We need space, tab and new line, in precisely that order. mgl@1371: -as_nl=' mgl@1371: -' mgl@1371: -IFS=" $as_nl" mgl@1371: - mgl@1371: -# CDPATH. mgl@1371: -$as_unset CDPATH mgl@1371: - mgl@1371: mgl@1371: mgl@1371: # Check that we are running under the correct shell. mgl@1371: @@ -390,29 +698,26 @@ mgl@1371: mgl@1371: mgl@1371: mgl@1371: +exec 7<&0 &1 mgl@1371: + mgl@1371: # Name of the host. mgl@1371: # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, mgl@1371: # so uname gets run too. mgl@1371: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` mgl@1371: mgl@1371: -exec 6>&1 mgl@1371: - mgl@1371: # mgl@1371: # Initializations. mgl@1371: # mgl@1371: ac_default_prefix=/usr/local mgl@1371: +ac_clean_files= mgl@1371: ac_config_libobj_dir=. mgl@1371: +LIBOBJS= mgl@1371: cross_compiling=no mgl@1371: subdirs= mgl@1371: MFLAGS= mgl@1371: MAKEFLAGS= mgl@1371: SHELL=${CONFIG_SHELL-/bin/sh} mgl@1371: mgl@1371: -# Maximum number of lines to put in a shell here document. mgl@1371: -# This variable seems obsolete. It should probably be removed, and mgl@1371: -# only ac_max_sed_lines should be used. mgl@1371: -: ${ac_max_here_lines=38} mgl@1371: - mgl@1371: # Identity of this package. mgl@1371: PACKAGE_NAME='newlib' mgl@1371: PACKAGE_TARNAME='newlib' mgl@1371: @@ -424,66 +729,214 @@ mgl@1371: # Factoring default headers for most tests. mgl@1371: ac_includes_default="\ mgl@1371: #include mgl@1371: -#if HAVE_SYS_TYPES_H mgl@1371: +#ifdef HAVE_SYS_TYPES_H mgl@1371: # include mgl@1371: #endif mgl@1371: -#if HAVE_SYS_STAT_H mgl@1371: +#ifdef HAVE_SYS_STAT_H mgl@1371: # include mgl@1371: #endif mgl@1371: -#if STDC_HEADERS mgl@1371: +#ifdef STDC_HEADERS mgl@1371: # include mgl@1371: # include mgl@1371: #else mgl@1371: -# if HAVE_STDLIB_H mgl@1371: +# ifdef HAVE_STDLIB_H mgl@1371: # include mgl@1371: # endif mgl@1371: #endif mgl@1371: -#if HAVE_STRING_H mgl@1371: -# if !STDC_HEADERS && HAVE_MEMORY_H mgl@1371: +#ifdef HAVE_STRING_H mgl@1371: +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H mgl@1371: # include mgl@1371: # endif mgl@1371: # include mgl@1371: #endif mgl@1371: -#if HAVE_STRINGS_H mgl@1371: +#ifdef HAVE_STRINGS_H mgl@1371: # include mgl@1371: #endif mgl@1371: -#if HAVE_INTTYPES_H mgl@1371: +#ifdef HAVE_INTTYPES_H mgl@1371: # include mgl@1371: -#else mgl@1371: -# if HAVE_STDINT_H mgl@1371: -# include mgl@1371: -# endif mgl@1371: #endif mgl@1371: -#if HAVE_UNISTD_H mgl@1371: +#ifdef HAVE_STDINT_H mgl@1371: +# include mgl@1371: +#endif mgl@1371: +#ifdef HAVE_UNISTD_H mgl@1371: # include mgl@1371: #endif" mgl@1371: mgl@1371: -ac_subdirs_all="$ac_subdirs_all a29khif" mgl@1371: -ac_subdirs_all="$ac_subdirs_all arc" mgl@1371: -ac_subdirs_all="$ac_subdirs_all arm" mgl@1371: -ac_subdirs_all="$ac_subdirs_all d10v" mgl@1371: -ac_subdirs_all="$ac_subdirs_all decstation" mgl@1371: -ac_subdirs_all="$ac_subdirs_all h8300hms" mgl@1371: -ac_subdirs_all="$ac_subdirs_all h8500hms" mgl@1371: -ac_subdirs_all="$ac_subdirs_all linux" mgl@1371: -ac_subdirs_all="$ac_subdirs_all m88kbug" mgl@1371: -ac_subdirs_all="$ac_subdirs_all mmixware" mgl@1371: -ac_subdirs_all="$ac_subdirs_all netware" mgl@1371: -ac_subdirs_all="$ac_subdirs_all rdos" mgl@1371: -ac_subdirs_all="$ac_subdirs_all rtems" mgl@1371: -ac_subdirs_all="$ac_subdirs_all sh" mgl@1371: -ac_subdirs_all="$ac_subdirs_all sparc64" mgl@1371: -ac_subdirs_all="$ac_subdirs_all sun4" mgl@1371: -ac_subdirs_all="$ac_subdirs_all sysmec" mgl@1371: -ac_subdirs_all="$ac_subdirs_all sysnec810" mgl@1371: -ac_subdirs_all="$ac_subdirs_all sysnecv850" mgl@1371: -ac_subdirs_all="$ac_subdirs_all sysvi386" mgl@1371: -ac_subdirs_all="$ac_subdirs_all sysvnecv70" mgl@1371: -ac_subdirs_all="$ac_subdirs_all tic80" mgl@1371: -ac_subdirs_all="$ac_subdirs_all w65" mgl@1371: -ac_subdirs_all="$ac_subdirs_all z8ksim" mgl@1371: -ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS MAY_SUPPLY_SYSCALLS_TRUE MAY_SUPPLY_SYSCALLS_FALSE newlib_basedir build build_cpu build_vendor build_os host host_cpu host_vendor host_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar CC DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB READELF ac_ct_READELF MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CCAS CCASFLAGS NEWLIB_CFLAGS LDFLAGS ELIX_LEVEL_0_TRUE ELIX_LEVEL_0_FALSE ELIX_LEVEL_1_TRUE ELIX_LEVEL_1_FALSE ELIX_LEVEL_2_TRUE ELIX_LEVEL_2_FALSE ELIX_LEVEL_3_TRUE ELIX_LEVEL_3_FALSE ELIX_LEVEL_4_TRUE ELIX_LEVEL_4_FALSE USE_LIBTOOL_TRUE USE_LIBTOOL_FALSE OBJEXT oext aext lpfx libm_machine_dir machine_dir sys_dir SED DLLTOOL ac_ct_DLLTOOL OBJDUMP ac_ct_OBJDUMP LIBTOOL CFLAGS CPPFLAGS ac_ct_CC EXEEXT EGREP FGREP GREP LD DUMPBIN ac_ct_DUMPBIN NM LN_S lt_ECHO DSYMUTIL ac_ct_DSYMUTIL NMEDIT ac_ct_NMEDIT LIPO ac_ct_LIPO OTOOL ac_ct_OTOOL OTOOL64 ac_ct_OTOOL64 CPP subdirs CRT0 HAVE_SYS_DIR_TRUE HAVE_SYS_DIR_FALSE LIBOBJS LTLIBOBJS' mgl@1371: +ac_subst_vars='SHELL mgl@1371: +PATH_SEPARATOR mgl@1371: +PACKAGE_NAME mgl@1371: +PACKAGE_TARNAME mgl@1371: +PACKAGE_VERSION mgl@1371: +PACKAGE_STRING mgl@1371: +PACKAGE_BUGREPORT mgl@1371: +exec_prefix mgl@1371: +prefix mgl@1371: +program_transform_name mgl@1371: +bindir mgl@1371: +sbindir mgl@1371: +libexecdir mgl@1371: +datarootdir mgl@1371: +datadir mgl@1371: +sysconfdir mgl@1371: +sharedstatedir mgl@1371: +localstatedir mgl@1371: +includedir mgl@1371: +oldincludedir mgl@1371: +docdir mgl@1371: +infodir mgl@1371: +htmldir mgl@1371: +dvidir mgl@1371: +pdfdir mgl@1371: +psdir mgl@1371: +libdir mgl@1371: +localedir mgl@1371: +mandir mgl@1371: +DEFS mgl@1371: +ECHO_C mgl@1371: +ECHO_N mgl@1371: +ECHO_T mgl@1371: +LIBS mgl@1371: +build_alias mgl@1371: +host_alias mgl@1371: +target_alias mgl@1371: +MAY_SUPPLY_SYSCALLS_TRUE mgl@1371: +MAY_SUPPLY_SYSCALLS_FALSE mgl@1371: +newlib_basedir mgl@1371: +build mgl@1371: +build_cpu mgl@1371: +build_vendor mgl@1371: +build_os mgl@1371: +host mgl@1371: +host_cpu mgl@1371: +host_vendor mgl@1371: +host_os mgl@1371: +INSTALL_PROGRAM mgl@1371: +INSTALL_SCRIPT mgl@1371: +INSTALL_DATA mgl@1371: +CYGPATH_W mgl@1371: +PACKAGE mgl@1371: +VERSION mgl@1371: +ACLOCAL mgl@1371: +AUTOCONF mgl@1371: +AUTOMAKE mgl@1371: +AUTOHEADER mgl@1371: +MAKEINFO mgl@1371: +install_sh mgl@1371: +STRIP mgl@1371: +INSTALL_STRIP_PROGRAM mgl@1371: +mkdir_p mgl@1371: +AWK mgl@1371: +SET_MAKE mgl@1371: +am__leading_dot mgl@1371: +AMTAR mgl@1371: +am__tar mgl@1371: +am__untar mgl@1371: +CC mgl@1371: +DEPDIR mgl@1371: +am__include mgl@1371: +am__quote mgl@1371: +AMDEP_TRUE mgl@1371: +AMDEP_FALSE mgl@1371: +AMDEPBACKSLASH mgl@1371: +CCDEPMODE mgl@1371: +am__fastdepCC_TRUE mgl@1371: +am__fastdepCC_FALSE mgl@1371: +AS mgl@1371: +AR mgl@1371: +RANLIB mgl@1371: +READELF mgl@1371: +MAINTAINER_MODE_TRUE mgl@1371: +MAINTAINER_MODE_FALSE mgl@1371: +MAINT mgl@1371: +CCAS mgl@1371: +CCASFLAGS mgl@1371: +NEWLIB_CFLAGS mgl@1371: +LDFLAGS mgl@1371: +ELIX_LEVEL_0_TRUE mgl@1371: +ELIX_LEVEL_0_FALSE mgl@1371: +ELIX_LEVEL_1_TRUE mgl@1371: +ELIX_LEVEL_1_FALSE mgl@1371: +ELIX_LEVEL_2_TRUE mgl@1371: +ELIX_LEVEL_2_FALSE mgl@1371: +ELIX_LEVEL_3_TRUE mgl@1371: +ELIX_LEVEL_3_FALSE mgl@1371: +ELIX_LEVEL_4_TRUE mgl@1371: +ELIX_LEVEL_4_FALSE mgl@1371: +USE_LIBTOOL_TRUE mgl@1371: +USE_LIBTOOL_FALSE mgl@1371: +OBJEXT mgl@1371: +oext mgl@1371: +aext mgl@1371: +lpfx mgl@1371: +libm_machine_dir mgl@1371: +machine_dir mgl@1371: +sys_dir mgl@1371: +SED mgl@1371: +DLLTOOL mgl@1371: +OBJDUMP mgl@1371: +LIBTOOL mgl@1371: +CFLAGS mgl@1371: +CPPFLAGS mgl@1371: +ac_ct_CC mgl@1371: +EXEEXT mgl@1371: +GREP mgl@1371: +EGREP mgl@1371: +FGREP mgl@1371: +LD mgl@1371: +DUMPBIN mgl@1371: +ac_ct_DUMPBIN mgl@1371: +NM mgl@1371: +LN_S mgl@1371: +lt_ECHO mgl@1371: +DSYMUTIL mgl@1371: +NMEDIT mgl@1371: +LIPO mgl@1371: +OTOOL mgl@1371: +OTOOL64 mgl@1371: +CPP mgl@1371: +subdirs mgl@1371: +CRT0 mgl@1371: +HAVE_SYS_DIR_TRUE mgl@1371: +HAVE_SYS_DIR_FALSE mgl@1371: +LIBOBJS mgl@1371: +LTLIBOBJS' mgl@1371: ac_subst_files='' mgl@1371: + ac_precious_vars='build_alias mgl@1371: +host_alias mgl@1371: +target_alias mgl@1371: +CCAS mgl@1371: +CCASFLAGS mgl@1371: +CC mgl@1371: +CFLAGS mgl@1371: +LDFLAGS mgl@1371: +LIBS mgl@1371: +CPPFLAGS mgl@1371: +CPP' mgl@1371: +ac_subdirs_all='a29khif mgl@1371: +arc mgl@1371: +arm mgl@1371: +avr32 mgl@1371: +d10v mgl@1371: +decstation mgl@1371: +h8300hms mgl@1371: +h8500hms mgl@1371: +linux mgl@1371: +m88kbug mgl@1371: +mmixware mgl@1371: +netware mgl@1371: +rdos mgl@1371: +rtems mgl@1371: +sh mgl@1371: +sparc64 mgl@1371: +sun4 mgl@1371: +sysmec mgl@1371: +sysnec810 mgl@1371: +sysnecv850 mgl@1371: +sysvi386 mgl@1371: +sysvnecv70 mgl@1371: +tic80 mgl@1371: +w65 mgl@1371: +z8ksim' mgl@1371: mgl@1371: # Initialize some variables set by options. mgl@1371: ac_init_help= mgl@1371: @@ -510,34 +963,48 @@ mgl@1371: # and all the variables that are supposed to be based on exec_prefix mgl@1371: # by default will actually change. mgl@1371: # Use braces instead of parens because sh, perl, etc. also accept them. mgl@1371: +# (The list follows the same order as the GNU Coding Standards.) mgl@1371: bindir='${exec_prefix}/bin' mgl@1371: sbindir='${exec_prefix}/sbin' mgl@1371: libexecdir='${exec_prefix}/libexec' mgl@1371: -datadir='${prefix}/share' mgl@1371: +datarootdir='${prefix}/share' mgl@1371: +datadir='${datarootdir}' mgl@1371: sysconfdir='${prefix}/etc' mgl@1371: sharedstatedir='${prefix}/com' mgl@1371: localstatedir='${prefix}/var' mgl@1371: -libdir='${exec_prefix}/lib' mgl@1371: includedir='${prefix}/include' mgl@1371: oldincludedir='/usr/include' mgl@1371: -infodir='${prefix}/info' mgl@1371: -mandir='${prefix}/man' mgl@1371: +docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' mgl@1371: +infodir='${datarootdir}/info' mgl@1371: +htmldir='${docdir}' mgl@1371: +dvidir='${docdir}' mgl@1371: +pdfdir='${docdir}' mgl@1371: +psdir='${docdir}' mgl@1371: +libdir='${exec_prefix}/lib' mgl@1371: +localedir='${datarootdir}/locale' mgl@1371: +mandir='${datarootdir}/man' mgl@1371: mgl@1371: ac_prev= mgl@1371: +ac_dashdash= mgl@1371: for ac_option mgl@1371: do mgl@1371: # If the previous option needs an argument, assign it. mgl@1371: if test -n "$ac_prev"; then mgl@1371: - eval "$ac_prev=\$ac_option" mgl@1371: + eval $ac_prev=\$ac_option mgl@1371: ac_prev= mgl@1371: continue mgl@1371: fi mgl@1371: mgl@1371: - ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` mgl@1371: + case $ac_option in mgl@1371: + *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; mgl@1371: + *) ac_optarg=yes ;; mgl@1371: + esac mgl@1371: mgl@1371: # Accept the important Cygnus configure options, so we can diagnose typos. mgl@1371: mgl@1371: - case $ac_option in mgl@1371: + case $ac_dashdash$ac_option in mgl@1371: + --) mgl@1371: + ac_dashdash=yes ;; mgl@1371: mgl@1371: -bindir | --bindir | --bindi | --bind | --bin | --bi) mgl@1371: ac_prev=bindir ;; mgl@1371: @@ -559,33 +1026,45 @@ mgl@1371: --config-cache | -C) mgl@1371: cache_file=config.cache ;; mgl@1371: mgl@1371: - -datadir | --datadir | --datadi | --datad | --data | --dat | --da) mgl@1371: + -datadir | --datadir | --datadi | --datad) mgl@1371: ac_prev=datadir ;; mgl@1371: - -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ mgl@1371: - | --da=*) mgl@1371: + -datadir=* | --datadir=* | --datadi=* | --datad=*) mgl@1371: datadir=$ac_optarg ;; mgl@1371: mgl@1371: + -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ mgl@1371: + | --dataroo | --dataro | --datar) mgl@1371: + ac_prev=datarootdir ;; mgl@1371: + -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ mgl@1371: + | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) mgl@1371: + datarootdir=$ac_optarg ;; mgl@1371: + mgl@1371: -disable-* | --disable-*) mgl@1371: ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` mgl@1371: # Reject names that are not valid shell variable names. mgl@1371: - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && mgl@1371: + expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && mgl@1371: { echo "$as_me: error: invalid feature name: $ac_feature" >&2 mgl@1371: { (exit 1); exit 1; }; } mgl@1371: - ac_feature=`echo $ac_feature | sed 's/-/_/g'` mgl@1371: - eval "enable_$ac_feature=no" ;; mgl@1371: + ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` mgl@1371: + eval enable_$ac_feature=no ;; mgl@1371: + mgl@1371: + -docdir | --docdir | --docdi | --doc | --do) mgl@1371: + ac_prev=docdir ;; mgl@1371: + -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) mgl@1371: + docdir=$ac_optarg ;; mgl@1371: + mgl@1371: + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) mgl@1371: + ac_prev=dvidir ;; mgl@1371: + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) mgl@1371: + dvidir=$ac_optarg ;; mgl@1371: mgl@1371: -enable-* | --enable-*) mgl@1371: ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` mgl@1371: # Reject names that are not valid shell variable names. mgl@1371: - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && mgl@1371: + expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && mgl@1371: { echo "$as_me: error: invalid feature name: $ac_feature" >&2 mgl@1371: { (exit 1); exit 1; }; } mgl@1371: - ac_feature=`echo $ac_feature | sed 's/-/_/g'` mgl@1371: - case $ac_option in mgl@1371: - *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; mgl@1371: - *) ac_optarg=yes ;; mgl@1371: - esac mgl@1371: - eval "enable_$ac_feature='$ac_optarg'" ;; mgl@1371: + ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` mgl@1371: + eval enable_$ac_feature=\$ac_optarg ;; mgl@1371: mgl@1371: -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ mgl@1371: | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ mgl@1371: @@ -612,6 +1091,12 @@ mgl@1371: -host=* | --host=* | --hos=* | --ho=*) mgl@1371: host_alias=$ac_optarg ;; mgl@1371: mgl@1371: + -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) mgl@1371: + ac_prev=htmldir ;; mgl@1371: + -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ mgl@1371: + | --ht=*) mgl@1371: + htmldir=$ac_optarg ;; mgl@1371: + mgl@1371: -includedir | --includedir | --includedi | --included | --include \ mgl@1371: | --includ | --inclu | --incl | --inc) mgl@1371: ac_prev=includedir ;; mgl@1371: @@ -636,13 +1121,16 @@ mgl@1371: | --libexe=* | --libex=* | --libe=*) mgl@1371: libexecdir=$ac_optarg ;; mgl@1371: mgl@1371: + -localedir | --localedir | --localedi | --localed | --locale) mgl@1371: + ac_prev=localedir ;; mgl@1371: + -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) mgl@1371: + localedir=$ac_optarg ;; mgl@1371: + mgl@1371: -localstatedir | --localstatedir | --localstatedi | --localstated \ mgl@1371: - | --localstate | --localstat | --localsta | --localst \ mgl@1371: - | --locals | --local | --loca | --loc | --lo) mgl@1371: + | --localstate | --localstat | --localsta | --localst | --locals) mgl@1371: ac_prev=localstatedir ;; mgl@1371: -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ mgl@1371: - | --localstate=* | --localstat=* | --localsta=* | --localst=* \ mgl@1371: - | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) mgl@1371: + | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) mgl@1371: localstatedir=$ac_optarg ;; mgl@1371: mgl@1371: -mandir | --mandir | --mandi | --mand | --man | --ma | --m) mgl@1371: @@ -707,6 +1195,16 @@ mgl@1371: | --progr-tra=* | --program-tr=* | --program-t=*) mgl@1371: program_transform_name=$ac_optarg ;; mgl@1371: mgl@1371: + -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) mgl@1371: + ac_prev=pdfdir ;; mgl@1371: + -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) mgl@1371: + pdfdir=$ac_optarg ;; mgl@1371: + mgl@1371: + -psdir | --psdir | --psdi | --psd | --ps) mgl@1371: + ac_prev=psdir ;; mgl@1371: + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) mgl@1371: + psdir=$ac_optarg ;; mgl@1371: + mgl@1371: -q | -quiet | --quiet | --quie | --qui | --qu | --q \ mgl@1371: | -silent | --silent | --silen | --sile | --sil) mgl@1371: silent=yes ;; mgl@1371: @@ -759,24 +1257,20 @@ mgl@1371: -with-* | --with-*) mgl@1371: ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` mgl@1371: # Reject names that are not valid shell variable names. mgl@1371: - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && mgl@1371: + expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && mgl@1371: { echo "$as_me: error: invalid package name: $ac_package" >&2 mgl@1371: { (exit 1); exit 1; }; } mgl@1371: - ac_package=`echo $ac_package| sed 's/-/_/g'` mgl@1371: - case $ac_option in mgl@1371: - *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; mgl@1371: - *) ac_optarg=yes ;; mgl@1371: - esac mgl@1371: - eval "with_$ac_package='$ac_optarg'" ;; mgl@1371: + ac_package=`echo $ac_package | sed 's/[-.]/_/g'` mgl@1371: + eval with_$ac_package=\$ac_optarg ;; mgl@1371: mgl@1371: -without-* | --without-*) mgl@1371: ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` mgl@1371: # Reject names that are not valid shell variable names. mgl@1371: - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && mgl@1371: + expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && mgl@1371: { echo "$as_me: error: invalid package name: $ac_package" >&2 mgl@1371: { (exit 1); exit 1; }; } mgl@1371: - ac_package=`echo $ac_package | sed 's/-/_/g'` mgl@1371: - eval "with_$ac_package=no" ;; mgl@1371: + ac_package=`echo $ac_package | sed 's/[-.]/_/g'` mgl@1371: + eval with_$ac_package=no ;; mgl@1371: mgl@1371: --x) mgl@1371: # Obsolete; use --with-x. mgl@1371: @@ -807,8 +1301,7 @@ mgl@1371: expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && mgl@1371: { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 mgl@1371: { (exit 1); exit 1; }; } mgl@1371: - ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` mgl@1371: - eval "$ac_envvar='$ac_optarg'" mgl@1371: + eval $ac_envvar=\$ac_optarg mgl@1371: export $ac_envvar ;; mgl@1371: mgl@1371: *) mgl@1371: @@ -828,27 +1321,19 @@ mgl@1371: { (exit 1); exit 1; }; } mgl@1371: fi mgl@1371: mgl@1371: -# Be sure to have absolute paths. mgl@1371: -for ac_var in exec_prefix prefix mgl@1371: -do mgl@1371: - eval ac_val=$`echo $ac_var` mgl@1371: - case $ac_val in mgl@1371: - [\\/$]* | ?:[\\/]* | NONE | '' ) ;; mgl@1371: - *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 mgl@1371: - { (exit 1); exit 1; }; };; mgl@1371: - esac mgl@1371: -done mgl@1371: - mgl@1371: -# Be sure to have absolute paths. mgl@1371: -for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ mgl@1371: - localstatedir libdir includedir oldincludedir infodir mandir mgl@1371: +# Be sure to have absolute directory names. mgl@1371: +for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ mgl@1371: + datadir sysconfdir sharedstatedir localstatedir includedir \ mgl@1371: + oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ mgl@1371: + libdir localedir mandir mgl@1371: do mgl@1371: - eval ac_val=$`echo $ac_var` mgl@1371: + eval ac_val=\$$ac_var mgl@1371: case $ac_val in mgl@1371: - [\\/$]* | ?:[\\/]* ) ;; mgl@1371: - *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 mgl@1371: - { (exit 1); exit 1; }; };; mgl@1371: + [\\/$]* | ?:[\\/]* ) continue;; mgl@1371: + NONE | '' ) case $ac_var in *prefix ) continue;; esac;; mgl@1371: esac mgl@1371: + { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 mgl@1371: + { (exit 1); exit 1; }; } mgl@1371: done mgl@1371: mgl@1371: # There might be people who depend on the old broken behavior: `$host' mgl@1371: @@ -875,82 +1360,76 @@ mgl@1371: test "$silent" = yes && exec 6>/dev/null mgl@1371: mgl@1371: mgl@1371: +ac_pwd=`pwd` && test -n "$ac_pwd" && mgl@1371: +ac_ls_di=`ls -di .` && mgl@1371: +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || mgl@1371: + { echo "$as_me: error: Working directory cannot be determined" >&2 mgl@1371: + { (exit 1); exit 1; }; } mgl@1371: +test "X$ac_ls_di" = "X$ac_pwd_ls_di" || mgl@1371: + { echo "$as_me: error: pwd does not report name of working directory" >&2 mgl@1371: + { (exit 1); exit 1; }; } mgl@1371: + mgl@1371: + mgl@1371: # Find the source files, if location was not specified. mgl@1371: if test -z "$srcdir"; then mgl@1371: ac_srcdir_defaulted=yes mgl@1371: - # Try the directory containing this script, then its parent. mgl@1371: - ac_confdir=`(dirname "$0") 2>/dev/null || mgl@1371: + # Try the directory containing this script, then the parent directory. mgl@1371: + ac_confdir=`$as_dirname -- "$0" || mgl@1371: $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ mgl@1371: X"$0" : 'X\(//\)[^/]' \| \ mgl@1371: X"$0" : 'X\(//\)$' \| \ mgl@1371: - X"$0" : 'X\(/\)' \| \ mgl@1371: - . : '\(.\)' 2>/dev/null || mgl@1371: + X"$0" : 'X\(/\)' \| . 2>/dev/null || mgl@1371: echo X"$0" | mgl@1371: - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } mgl@1371: - /^X\(\/\/\)[^/].*/{ s//\1/; q; } mgl@1371: - /^X\(\/\/\)$/{ s//\1/; q; } mgl@1371: - /^X\(\/\).*/{ s//\1/; q; } mgl@1371: - s/.*/./; q'` mgl@1371: + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + /^X\(\/\/\)[^/].*/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + /^X\(\/\/\)$/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + /^X\(\/\).*/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + s/.*/./; q'` mgl@1371: srcdir=$ac_confdir mgl@1371: - if test ! -r $srcdir/$ac_unique_file; then mgl@1371: + if test ! -r "$srcdir/$ac_unique_file"; then mgl@1371: srcdir=.. mgl@1371: fi mgl@1371: else mgl@1371: ac_srcdir_defaulted=no mgl@1371: fi mgl@1371: -if test ! -r $srcdir/$ac_unique_file; then mgl@1371: - if test "$ac_srcdir_defaulted" = yes; then mgl@1371: - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 mgl@1371: - { (exit 1); exit 1; }; } mgl@1371: - else mgl@1371: - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 mgl@1371: - { (exit 1); exit 1; }; } mgl@1371: - fi mgl@1371: -fi mgl@1371: -(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || mgl@1371: - { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 mgl@1371: - { (exit 1); exit 1; }; } mgl@1371: -srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` mgl@1371: -ac_env_build_alias_set=${build_alias+set} mgl@1371: -ac_env_build_alias_value=$build_alias mgl@1371: -ac_cv_env_build_alias_set=${build_alias+set} mgl@1371: -ac_cv_env_build_alias_value=$build_alias mgl@1371: -ac_env_host_alias_set=${host_alias+set} mgl@1371: -ac_env_host_alias_value=$host_alias mgl@1371: -ac_cv_env_host_alias_set=${host_alias+set} mgl@1371: -ac_cv_env_host_alias_value=$host_alias mgl@1371: -ac_env_target_alias_set=${target_alias+set} mgl@1371: -ac_env_target_alias_value=$target_alias mgl@1371: -ac_cv_env_target_alias_set=${target_alias+set} mgl@1371: -ac_cv_env_target_alias_value=$target_alias mgl@1371: -ac_env_CCAS_set=${CCAS+set} mgl@1371: -ac_env_CCAS_value=$CCAS mgl@1371: -ac_cv_env_CCAS_set=${CCAS+set} mgl@1371: -ac_cv_env_CCAS_value=$CCAS mgl@1371: -ac_env_CCASFLAGS_set=${CCASFLAGS+set} mgl@1371: -ac_env_CCASFLAGS_value=$CCASFLAGS mgl@1371: -ac_cv_env_CCASFLAGS_set=${CCASFLAGS+set} mgl@1371: -ac_cv_env_CCASFLAGS_value=$CCASFLAGS mgl@1371: -ac_env_CC_set=${CC+set} mgl@1371: -ac_env_CC_value=$CC mgl@1371: -ac_cv_env_CC_set=${CC+set} mgl@1371: -ac_cv_env_CC_value=$CC mgl@1371: -ac_env_CFLAGS_set=${CFLAGS+set} mgl@1371: -ac_env_CFLAGS_value=$CFLAGS mgl@1371: -ac_cv_env_CFLAGS_set=${CFLAGS+set} mgl@1371: -ac_cv_env_CFLAGS_value=$CFLAGS mgl@1371: -ac_env_LDFLAGS_set=${LDFLAGS+set} mgl@1371: -ac_env_LDFLAGS_value=$LDFLAGS mgl@1371: -ac_cv_env_LDFLAGS_set=${LDFLAGS+set} mgl@1371: -ac_cv_env_LDFLAGS_value=$LDFLAGS mgl@1371: -ac_env_CPPFLAGS_set=${CPPFLAGS+set} mgl@1371: -ac_env_CPPFLAGS_value=$CPPFLAGS mgl@1371: -ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} mgl@1371: -ac_cv_env_CPPFLAGS_value=$CPPFLAGS mgl@1371: -ac_env_CPP_set=${CPP+set} mgl@1371: -ac_env_CPP_value=$CPP mgl@1371: -ac_cv_env_CPP_set=${CPP+set} mgl@1371: -ac_cv_env_CPP_value=$CPP mgl@1371: +if test ! -r "$srcdir/$ac_unique_file"; then mgl@1371: + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." mgl@1371: + { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 mgl@1371: + { (exit 1); exit 1; }; } mgl@1371: +fi mgl@1371: +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" mgl@1371: +ac_abs_confdir=`( mgl@1371: + cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 mgl@1371: + { (exit 1); exit 1; }; } mgl@1371: + pwd)` mgl@1371: +# When building in place, set srcdir=. mgl@1371: +if test "$ac_abs_confdir" = "$ac_pwd"; then mgl@1371: + srcdir=. mgl@1371: +fi mgl@1371: +# Remove unnecessary trailing slashes from srcdir. mgl@1371: +# Double slashes in file names in object file debugging info mgl@1371: +# mess up M-x gdb in Emacs. mgl@1371: +case $srcdir in mgl@1371: +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; mgl@1371: +esac mgl@1371: +for ac_var in $ac_precious_vars; do mgl@1371: + eval ac_env_${ac_var}_set=\${${ac_var}+set} mgl@1371: + eval ac_env_${ac_var}_value=\$${ac_var} mgl@1371: + eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} mgl@1371: + eval ac_cv_env_${ac_var}_value=\$${ac_var} mgl@1371: +done mgl@1371: mgl@1371: # mgl@1371: # Report the --help message. mgl@1371: @@ -979,9 +1458,6 @@ mgl@1371: -n, --no-create do not create output files mgl@1371: --srcdir=DIR find the sources in DIR [configure dir or \`..'] mgl@1371: mgl@1371: -_ACEOF mgl@1371: - mgl@1371: - cat <<_ACEOF mgl@1371: Installation directories: mgl@1371: --prefix=PREFIX install architecture-independent files in PREFIX mgl@1371: [$ac_default_prefix] mgl@1371: @@ -999,15 +1475,22 @@ mgl@1371: --bindir=DIR user executables [EPREFIX/bin] mgl@1371: --sbindir=DIR system admin executables [EPREFIX/sbin] mgl@1371: --libexecdir=DIR program executables [EPREFIX/libexec] mgl@1371: - --datadir=DIR read-only architecture-independent data [PREFIX/share] mgl@1371: --sysconfdir=DIR read-only single-machine data [PREFIX/etc] mgl@1371: --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] mgl@1371: --localstatedir=DIR modifiable single-machine data [PREFIX/var] mgl@1371: --libdir=DIR object code libraries [EPREFIX/lib] mgl@1371: --includedir=DIR C header files [PREFIX/include] mgl@1371: --oldincludedir=DIR C header files for non-gcc [/usr/include] mgl@1371: - --infodir=DIR info documentation [PREFIX/info] mgl@1371: - --mandir=DIR man documentation [PREFIX/man] mgl@1371: + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] mgl@1371: + --datadir=DIR read-only architecture-independent data [DATAROOTDIR] mgl@1371: + --infodir=DIR info documentation [DATAROOTDIR/info] mgl@1371: + --localedir=DIR locale-dependent data [DATAROOTDIR/locale] mgl@1371: + --mandir=DIR man documentation [DATAROOTDIR/man] mgl@1371: + --docdir=DIR documentation root [DATAROOTDIR/doc/newlib] mgl@1371: + --htmldir=DIR html documentation [DOCDIR] mgl@1371: + --dvidir=DIR dvi documentation [DOCDIR] mgl@1371: + --pdfdir=DIR pdf documentation [DOCDIR] mgl@1371: + --psdir=DIR ps documentation [DOCDIR] mgl@1371: _ACEOF mgl@1371: mgl@1371: cat <<\_ACEOF mgl@1371: @@ -1044,10 +1527,8 @@ mgl@1371: --enable-dependency-tracking do not reject slow dependency extractors mgl@1371: --enable-maintainer-mode enable make rules and dependencies not useful mgl@1371: (and sometimes confusing) to the casual installer mgl@1371: - --enable-shared[=PKGS] mgl@1371: - build shared libraries [default=yes] mgl@1371: - --enable-static[=PKGS] mgl@1371: - build static libraries [default=yes] mgl@1371: + --enable-shared[=PKGS] build shared libraries [default=yes] mgl@1371: + --enable-static[=PKGS] build static libraries [default=yes] mgl@1371: --enable-fast-install[=PKGS] mgl@1371: optimize for fast installation [default=yes] mgl@1371: --disable-libtool-lock avoid locking (might break parallel builds) mgl@1371: @@ -1066,128 +1547,95 @@ mgl@1371: CFLAGS C compiler flags mgl@1371: LDFLAGS linker flags, e.g. -L if you have libraries in a mgl@1371: nonstandard directory mgl@1371: - CPPFLAGS C/C++ preprocessor flags, e.g. -I if you have mgl@1371: - headers in a nonstandard directory mgl@1371: + LIBS libraries to pass to the linker, e.g. -l mgl@1371: + CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I if mgl@1371: + you have headers in a nonstandard directory mgl@1371: CPP C preprocessor mgl@1371: mgl@1371: Use these variables to override the choices made by `configure' or to help mgl@1371: it to find libraries and programs with nonstandard names/locations. mgl@1371: mgl@1371: _ACEOF mgl@1371: +ac_status=$? mgl@1371: fi mgl@1371: mgl@1371: if test "$ac_init_help" = "recursive"; then mgl@1371: # If there are subdirs, report their specific --help. mgl@1371: - ac_popdir=`pwd` mgl@1371: for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue mgl@1371: - test -d $ac_dir || continue mgl@1371: + test -d "$ac_dir" || continue mgl@1371: ac_builddir=. mgl@1371: mgl@1371: -if test "$ac_dir" != .; then mgl@1371: +case "$ac_dir" in mgl@1371: +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; mgl@1371: +*) mgl@1371: ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` mgl@1371: - # A "../" for each directory in $ac_dir_suffix. mgl@1371: - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` mgl@1371: -else mgl@1371: - ac_dir_suffix= ac_top_builddir= mgl@1371: -fi mgl@1371: + # A ".." for each directory in $ac_dir_suffix. mgl@1371: + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` mgl@1371: + case $ac_top_builddir_sub in mgl@1371: + "") ac_top_builddir_sub=. ac_top_build_prefix= ;; mgl@1371: + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; mgl@1371: + esac ;; mgl@1371: +esac mgl@1371: +ac_abs_top_builddir=$ac_pwd mgl@1371: +ac_abs_builddir=$ac_pwd$ac_dir_suffix mgl@1371: +# for backward compatibility: mgl@1371: +ac_top_builddir=$ac_top_build_prefix mgl@1371: mgl@1371: case $srcdir in mgl@1371: - .) # No --srcdir option. We are building in place. mgl@1371: + .) # We are building in place. mgl@1371: ac_srcdir=. mgl@1371: - if test -z "$ac_top_builddir"; then mgl@1371: - ac_top_srcdir=. mgl@1371: - else mgl@1371: - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` mgl@1371: - fi ;; mgl@1371: - [\\/]* | ?:[\\/]* ) # Absolute path. mgl@1371: + ac_top_srcdir=$ac_top_builddir_sub mgl@1371: + ac_abs_top_srcdir=$ac_pwd ;; mgl@1371: + [\\/]* | ?:[\\/]* ) # Absolute name. mgl@1371: ac_srcdir=$srcdir$ac_dir_suffix; mgl@1371: - ac_top_srcdir=$srcdir ;; mgl@1371: - *) # Relative path. mgl@1371: - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix mgl@1371: - ac_top_srcdir=$ac_top_builddir$srcdir ;; mgl@1371: -esac mgl@1371: - mgl@1371: -# Do not use `cd foo && pwd` to compute absolute paths, because mgl@1371: -# the directories may not exist. mgl@1371: -case `pwd` in mgl@1371: -.) ac_abs_builddir="$ac_dir";; mgl@1371: -*) mgl@1371: - case "$ac_dir" in mgl@1371: - .) ac_abs_builddir=`pwd`;; mgl@1371: - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; mgl@1371: - *) ac_abs_builddir=`pwd`/"$ac_dir";; mgl@1371: - esac;; mgl@1371: -esac mgl@1371: -case $ac_abs_builddir in mgl@1371: -.) ac_abs_top_builddir=${ac_top_builddir}.;; mgl@1371: -*) mgl@1371: - case ${ac_top_builddir}. in mgl@1371: - .) ac_abs_top_builddir=$ac_abs_builddir;; mgl@1371: - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; mgl@1371: - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; mgl@1371: - esac;; mgl@1371: -esac mgl@1371: -case $ac_abs_builddir in mgl@1371: -.) ac_abs_srcdir=$ac_srcdir;; mgl@1371: -*) mgl@1371: - case $ac_srcdir in mgl@1371: - .) ac_abs_srcdir=$ac_abs_builddir;; mgl@1371: - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; mgl@1371: - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; mgl@1371: - esac;; mgl@1371: -esac mgl@1371: -case $ac_abs_builddir in mgl@1371: -.) ac_abs_top_srcdir=$ac_top_srcdir;; mgl@1371: -*) mgl@1371: - case $ac_top_srcdir in mgl@1371: - .) ac_abs_top_srcdir=$ac_abs_builddir;; mgl@1371: - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; mgl@1371: - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; mgl@1371: - esac;; mgl@1371: + ac_top_srcdir=$srcdir mgl@1371: + ac_abs_top_srcdir=$srcdir ;; mgl@1371: + *) # Relative name. mgl@1371: + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix mgl@1371: + ac_top_srcdir=$ac_top_build_prefix$srcdir mgl@1371: + ac_abs_top_srcdir=$ac_pwd/$srcdir ;; mgl@1371: esac mgl@1371: +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix mgl@1371: mgl@1371: - cd $ac_dir mgl@1371: - # Check for guested configure; otherwise get Cygnus style configure. mgl@1371: - if test -f $ac_srcdir/configure.gnu; then mgl@1371: - echo mgl@1371: - $SHELL $ac_srcdir/configure.gnu --help=recursive mgl@1371: - elif test -f $ac_srcdir/configure; then mgl@1371: - echo mgl@1371: - $SHELL $ac_srcdir/configure --help=recursive mgl@1371: - elif test -f $ac_srcdir/configure.ac || mgl@1371: - test -f $ac_srcdir/configure.in; then mgl@1371: - echo mgl@1371: - $ac_configure --help mgl@1371: + cd "$ac_dir" || { ac_status=$?; continue; } mgl@1371: + # Check for guested configure. mgl@1371: + if test -f "$ac_srcdir/configure.gnu"; then mgl@1371: + echo && mgl@1371: + $SHELL "$ac_srcdir/configure.gnu" --help=recursive mgl@1371: + elif test -f "$ac_srcdir/configure"; then mgl@1371: + echo && mgl@1371: + $SHELL "$ac_srcdir/configure" --help=recursive mgl@1371: else mgl@1371: echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 mgl@1371: - fi mgl@1371: - cd $ac_popdir mgl@1371: + fi || ac_status=$? mgl@1371: + cd "$ac_pwd" || { ac_status=$?; break; } mgl@1371: done mgl@1371: fi mgl@1371: mgl@1371: -test -n "$ac_init_help" && exit 0 mgl@1371: +test -n "$ac_init_help" && exit $ac_status mgl@1371: if $ac_init_version; then mgl@1371: cat <<\_ACEOF mgl@1371: newlib configure 1.17.0 mgl@1371: -generated by GNU Autoconf 2.59 mgl@1371: +generated by GNU Autoconf 2.61 mgl@1371: mgl@1371: -Copyright (C) 2003 Free Software Foundation, Inc. mgl@1371: +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, mgl@1371: +2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. mgl@1371: This configure script is free software; the Free Software Foundation mgl@1371: gives unlimited permission to copy, distribute and modify it. mgl@1371: _ACEOF mgl@1371: - exit 0 mgl@1371: + exit mgl@1371: fi mgl@1371: -exec 5>config.log mgl@1371: -cat >&5 <<_ACEOF mgl@1371: +cat >config.log <<_ACEOF mgl@1371: This file contains any messages produced by compilers while mgl@1371: running configure, to aid debugging if configure makes a mistake. mgl@1371: mgl@1371: It was created by newlib $as_me 1.17.0, which was mgl@1371: -generated by GNU Autoconf 2.59. Invocation command line was mgl@1371: +generated by GNU Autoconf 2.61. Invocation command line was mgl@1371: mgl@1371: $ $0 $@ mgl@1371: mgl@1371: _ACEOF mgl@1371: +exec 5>>config.log mgl@1371: { mgl@1371: cat <<_ASUNAME mgl@1371: ## --------- ## mgl@1371: @@ -1206,7 +1654,7 @@ mgl@1371: /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` mgl@1371: /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` mgl@1371: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` mgl@1371: -hostinfo = `(hostinfo) 2>/dev/null || echo unknown` mgl@1371: +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` mgl@1371: /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` mgl@1371: /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` mgl@1371: /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` mgl@1371: @@ -1220,6 +1668,7 @@ mgl@1371: test -z "$as_dir" && as_dir=. mgl@1371: echo "PATH: $as_dir" mgl@1371: done mgl@1371: +IFS=$as_save_IFS mgl@1371: mgl@1371: } >&5 mgl@1371: mgl@1371: @@ -1241,7 +1690,6 @@ mgl@1371: ac_configure_args= mgl@1371: ac_configure_args0= mgl@1371: ac_configure_args1= mgl@1371: -ac_sep= mgl@1371: ac_must_keep_next=false mgl@1371: for ac_pass in 1 2 mgl@1371: do mgl@1371: @@ -1252,7 +1700,7 @@ mgl@1371: -q | -quiet | --quiet | --quie | --qui | --qu | --q \ mgl@1371: | -silent | --silent | --silen | --sile | --sil) mgl@1371: continue ;; mgl@1371: - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) mgl@1371: + *\'*) mgl@1371: ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; mgl@1371: esac mgl@1371: case $ac_pass in mgl@1371: @@ -1274,9 +1722,7 @@ mgl@1371: -* ) ac_must_keep_next=true ;; mgl@1371: esac mgl@1371: fi mgl@1371: - ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" mgl@1371: - # Get rid of the leading space. mgl@1371: - ac_sep=" " mgl@1371: + ac_configure_args="$ac_configure_args '$ac_arg'" mgl@1371: ;; mgl@1371: esac mgl@1371: done mgl@1371: @@ -1287,8 +1733,8 @@ mgl@1371: # When interrupted or exit'd, cleanup temporary files, and complete mgl@1371: # config.log. We remove comments because anyway the quotes in there mgl@1371: # would cause problems or look ugly. mgl@1371: -# WARNING: Be sure not to use single quotes in there, as some shells, mgl@1371: -# such as our DU 5.0 friend, will then `close' the trap. mgl@1371: +# WARNING: Use '\'' to represent an apostrophe within the trap. mgl@1371: +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. mgl@1371: trap 'exit_status=$? mgl@1371: # Save into config.log some information that might help in debugging. mgl@1371: { mgl@1371: @@ -1301,20 +1747,34 @@ mgl@1371: _ASBOX mgl@1371: echo mgl@1371: # The following way of writing the cache mishandles newlines in values, mgl@1371: -{ mgl@1371: +( mgl@1371: + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do mgl@1371: + eval ac_val=\$$ac_var mgl@1371: + case $ac_val in #( mgl@1371: + *${as_nl}*) mgl@1371: + case $ac_var in #( mgl@1371: + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 mgl@1371: +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; mgl@1371: + esac mgl@1371: + case $ac_var in #( mgl@1371: + _ | IFS | as_nl) ;; #( mgl@1371: + *) $as_unset $ac_var ;; mgl@1371: + esac ;; mgl@1371: + esac mgl@1371: + done mgl@1371: (set) 2>&1 | mgl@1371: - case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in mgl@1371: - *ac_space=\ *) mgl@1371: + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( mgl@1371: + *${as_nl}ac_space=\ *) mgl@1371: sed -n \ mgl@1371: - "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; mgl@1371: - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" mgl@1371: - ;; mgl@1371: + "s/'\''/'\''\\\\'\'''\''/g; mgl@1371: + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" mgl@1371: + ;; #( mgl@1371: *) mgl@1371: - sed -n \ mgl@1371: - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" mgl@1371: + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" mgl@1371: ;; mgl@1371: - esac; mgl@1371: -} mgl@1371: + esac | mgl@1371: + sort mgl@1371: +) mgl@1371: echo mgl@1371: mgl@1371: cat <<\_ASBOX mgl@1371: @@ -1325,22 +1785,28 @@ mgl@1371: echo mgl@1371: for ac_var in $ac_subst_vars mgl@1371: do mgl@1371: - eval ac_val=$`echo $ac_var` mgl@1371: - echo "$ac_var='"'"'$ac_val'"'"'" mgl@1371: + eval ac_val=\$$ac_var mgl@1371: + case $ac_val in mgl@1371: + *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; mgl@1371: + esac mgl@1371: + echo "$ac_var='\''$ac_val'\''" mgl@1371: done | sort mgl@1371: echo mgl@1371: mgl@1371: if test -n "$ac_subst_files"; then mgl@1371: cat <<\_ASBOX mgl@1371: -## ------------- ## mgl@1371: -## Output files. ## mgl@1371: -## ------------- ## mgl@1371: +## ------------------- ## mgl@1371: +## File substitutions. ## mgl@1371: +## ------------------- ## mgl@1371: _ASBOX mgl@1371: echo mgl@1371: for ac_var in $ac_subst_files mgl@1371: do mgl@1371: - eval ac_val=$`echo $ac_var` mgl@1371: - echo "$ac_var='"'"'$ac_val'"'"'" mgl@1371: + eval ac_val=\$$ac_var mgl@1371: + case $ac_val in mgl@1371: + *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; mgl@1371: + esac mgl@1371: + echo "$ac_var='\''$ac_val'\''" mgl@1371: done | sort mgl@1371: echo mgl@1371: fi mgl@1371: @@ -1352,26 +1818,24 @@ mgl@1371: ## ----------- ## mgl@1371: _ASBOX mgl@1371: echo mgl@1371: - sed "/^$/d" confdefs.h | sort mgl@1371: + cat confdefs.h mgl@1371: echo mgl@1371: fi mgl@1371: test "$ac_signal" != 0 && mgl@1371: echo "$as_me: caught signal $ac_signal" mgl@1371: echo "$as_me: exit $exit_status" mgl@1371: } >&5 mgl@1371: - rm -f core *.core && mgl@1371: - rm -rf conftest* confdefs* conf$$* $ac_clean_files && mgl@1371: + rm -f core *.core core.conftest.* && mgl@1371: + rm -f -r conftest* confdefs* conf$$* $ac_clean_files && mgl@1371: exit $exit_status mgl@1371: - ' 0 mgl@1371: +' 0 mgl@1371: for ac_signal in 1 2 13 15; do mgl@1371: trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal mgl@1371: done mgl@1371: ac_signal=0 mgl@1371: mgl@1371: # confdefs.h avoids OS command line length limits that DEFS can exceed. mgl@1371: -rm -rf conftest* confdefs.h mgl@1371: -# AIX cpp loses on an empty file, so make sure it contains at least a newline. mgl@1371: -echo >confdefs.h mgl@1371: +rm -f -r conftest* confdefs.h mgl@1371: mgl@1371: # Predefined preprocessor variables. mgl@1371: mgl@1371: @@ -1402,14 +1866,17 @@ mgl@1371: mgl@1371: # Let the site file select an alternate cache file if it wants to. mgl@1371: # Prefer explicitly selected file to automatically selected ones. mgl@1371: -if test -z "$CONFIG_SITE"; then mgl@1371: - if test "x$prefix" != xNONE; then mgl@1371: - CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" mgl@1371: - else mgl@1371: - CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" mgl@1371: - fi mgl@1371: +if test -n "$CONFIG_SITE"; then mgl@1371: + set x "$CONFIG_SITE" mgl@1371: +elif test "x$prefix" != xNONE; then mgl@1371: + set x "$prefix/share/config.site" "$prefix/etc/config.site" mgl@1371: +else mgl@1371: + set x "$ac_default_prefix/share/config.site" \ mgl@1371: + "$ac_default_prefix/etc/config.site" mgl@1371: fi mgl@1371: -for ac_site_file in $CONFIG_SITE; do mgl@1371: +shift mgl@1371: +for ac_site_file mgl@1371: +do mgl@1371: if test -r "$ac_site_file"; then mgl@1371: { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 mgl@1371: echo "$as_me: loading site script $ac_site_file" >&6;} mgl@1371: @@ -1425,8 +1892,8 @@ mgl@1371: { echo "$as_me:$LINENO: loading cache $cache_file" >&5 mgl@1371: echo "$as_me: loading cache $cache_file" >&6;} mgl@1371: case $cache_file in mgl@1371: - [\\/]* | ?:[\\/]* ) . $cache_file;; mgl@1371: - *) . ./$cache_file;; mgl@1371: + [\\/]* | ?:[\\/]* ) . "$cache_file";; mgl@1371: + *) . "./$cache_file";; mgl@1371: esac mgl@1371: fi mgl@1371: else mgl@1371: @@ -1438,12 +1905,11 @@ mgl@1371: # Check that the precious variables saved in the cache have kept the same mgl@1371: # value. mgl@1371: ac_cache_corrupted=false mgl@1371: -for ac_var in `(set) 2>&1 | mgl@1371: - sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do mgl@1371: +for ac_var in $ac_precious_vars; do mgl@1371: eval ac_old_set=\$ac_cv_env_${ac_var}_set mgl@1371: eval ac_new_set=\$ac_env_${ac_var}_set mgl@1371: - eval ac_old_val="\$ac_cv_env_${ac_var}_value" mgl@1371: - eval ac_new_val="\$ac_env_${ac_var}_value" mgl@1371: + eval ac_old_val=\$ac_cv_env_${ac_var}_value mgl@1371: + eval ac_new_val=\$ac_env_${ac_var}_value mgl@1371: case $ac_old_set,$ac_new_set in mgl@1371: set,) mgl@1371: { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 mgl@1371: @@ -1468,8 +1934,7 @@ mgl@1371: # Pass precious variables to config.status. mgl@1371: if test "$ac_new_set" = set; then mgl@1371: case $ac_new_val in mgl@1371: - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) mgl@1371: - ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; mgl@1371: + *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; mgl@1371: *) ac_arg=$ac_var=$ac_new_val ;; mgl@1371: esac mgl@1371: case " $ac_configure_args " in mgl@1371: @@ -1486,12 +1951,6 @@ mgl@1371: { (exit 1); exit 1; }; } mgl@1371: fi mgl@1371: mgl@1371: -ac_ext=c mgl@1371: -ac_cpp='$CPP $CPPFLAGS' mgl@1371: -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' mgl@1371: -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' mgl@1371: -ac_compiler_gnu=$ac_cv_c_compiler_gnu mgl@1371: - mgl@1371: mgl@1371: mgl@1371: mgl@1371: @@ -1516,67 +1975,92 @@ mgl@1371: mgl@1371: mgl@1371: mgl@1371: +ac_ext=c mgl@1371: +ac_cpp='$CPP $CPPFLAGS' mgl@1371: +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' mgl@1371: +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' mgl@1371: +ac_compiler_gnu=$ac_cv_c_compiler_gnu mgl@1371: mgl@1371: mgl@1371: mgl@1371: mgl@1371: ac_aux_dir= mgl@1371: -for ac_dir in ../../.. $srcdir/../../..; do mgl@1371: - if test -f $ac_dir/install-sh; then mgl@1371: +for ac_dir in ../../.. "$srcdir"/../../..; do mgl@1371: + if test -f "$ac_dir/install-sh"; then mgl@1371: ac_aux_dir=$ac_dir mgl@1371: ac_install_sh="$ac_aux_dir/install-sh -c" mgl@1371: break mgl@1371: - elif test -f $ac_dir/install.sh; then mgl@1371: + elif test -f "$ac_dir/install.sh"; then mgl@1371: ac_aux_dir=$ac_dir mgl@1371: ac_install_sh="$ac_aux_dir/install.sh -c" mgl@1371: break mgl@1371: - elif test -f $ac_dir/shtool; then mgl@1371: + elif test -f "$ac_dir/shtool"; then mgl@1371: ac_aux_dir=$ac_dir mgl@1371: ac_install_sh="$ac_aux_dir/shtool install -c" mgl@1371: break mgl@1371: fi mgl@1371: done mgl@1371: if test -z "$ac_aux_dir"; then mgl@1371: - { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ../../.. $srcdir/../../.." >&5 mgl@1371: -echo "$as_me: error: cannot find install-sh or install.sh in ../../.. $srcdir/../../.." >&2;} mgl@1371: + { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ../../.. \"$srcdir\"/../../.." >&5 mgl@1371: +echo "$as_me: error: cannot find install-sh or install.sh in ../../.. \"$srcdir\"/../../.." >&2;} mgl@1371: { (exit 1); exit 1; }; } mgl@1371: fi mgl@1371: -ac_config_guess="$SHELL $ac_aux_dir/config.guess" mgl@1371: -ac_config_sub="$SHELL $ac_aux_dir/config.sub" mgl@1371: -ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. mgl@1371: + mgl@1371: +# These three variables are undocumented and unsupported, mgl@1371: +# and are intended to be withdrawn in a future Autoconf release. mgl@1371: +# They can cause serious problems if a builder's source tree is in a directory mgl@1371: +# whose full name contains unusual characters. mgl@1371: +ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. mgl@1371: +ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. mgl@1371: +ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. mgl@1371: + mgl@1371: mgl@1371: mgl@1371: mgl@1371: # Make sure we can run config.sub. mgl@1371: -$ac_config_sub sun4 >/dev/null 2>&1 || mgl@1371: - { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 mgl@1371: -echo "$as_me: error: cannot run $ac_config_sub" >&2;} mgl@1371: +$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || mgl@1371: + { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 mgl@1371: +echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} mgl@1371: { (exit 1); exit 1; }; } mgl@1371: mgl@1371: -echo "$as_me:$LINENO: checking build system type" >&5 mgl@1371: -echo $ECHO_N "checking build system type... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking build system type" >&5 mgl@1371: +echo $ECHO_N "checking build system type... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_build+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: - ac_cv_build_alias=$build_alias mgl@1371: -test -z "$ac_cv_build_alias" && mgl@1371: - ac_cv_build_alias=`$ac_config_guess` mgl@1371: -test -z "$ac_cv_build_alias" && mgl@1371: + ac_build_alias=$build_alias mgl@1371: +test "x$ac_build_alias" = x && mgl@1371: + ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` mgl@1371: +test "x$ac_build_alias" = x && mgl@1371: { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 mgl@1371: echo "$as_me: error: cannot guess build type; you must specify one" >&2;} mgl@1371: { (exit 1); exit 1; }; } mgl@1371: -ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || mgl@1371: - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 mgl@1371: -echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} mgl@1371: +ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || mgl@1371: + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 mgl@1371: +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} mgl@1371: { (exit 1); exit 1; }; } mgl@1371: mgl@1371: fi mgl@1371: -echo "$as_me:$LINENO: result: $ac_cv_build" >&5 mgl@1371: -echo "${ECHO_T}$ac_cv_build" >&6 mgl@1371: +{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5 mgl@1371: +echo "${ECHO_T}$ac_cv_build" >&6; } mgl@1371: +case $ac_cv_build in mgl@1371: +*-*-*) ;; mgl@1371: +*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 mgl@1371: +echo "$as_me: error: invalid value of canonical build" >&2;} mgl@1371: + { (exit 1); exit 1; }; };; mgl@1371: +esac mgl@1371: build=$ac_cv_build mgl@1371: -build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` mgl@1371: -build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` mgl@1371: -build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` mgl@1371: +ac_save_IFS=$IFS; IFS='-' mgl@1371: +set x $ac_cv_build mgl@1371: +shift mgl@1371: +build_cpu=$1 mgl@1371: +build_vendor=$2 mgl@1371: +shift; shift mgl@1371: +# Remember, the first character of IFS is used to create $*, mgl@1371: +# except with old shells: mgl@1371: +build_os=$* mgl@1371: +IFS=$ac_save_IFS mgl@1371: +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac mgl@1371: mgl@1371: mgl@1371: am__api_version="1.9" mgl@1371: @@ -1593,8 +2077,8 @@ mgl@1371: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" mgl@1371: # OS/2's system install, which has a completely different semantic mgl@1371: # ./install, which can be erroneously created by make from ./install.sh. mgl@1371: -echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 mgl@1371: -echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 mgl@1371: +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } mgl@1371: if test -z "$INSTALL"; then mgl@1371: if test "${ac_cv_path_install+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: @@ -1616,7 +2100,7 @@ mgl@1371: # by default. mgl@1371: for ac_prog in ginstall scoinst install; do mgl@1371: for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: - if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then mgl@1371: + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then mgl@1371: if test $ac_prog = install && mgl@1371: grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then mgl@1371: # AIX install. It has an incompatible calling convention. mgl@1371: @@ -1635,21 +2119,22 @@ mgl@1371: ;; mgl@1371: esac mgl@1371: done mgl@1371: +IFS=$as_save_IFS mgl@1371: mgl@1371: mgl@1371: fi mgl@1371: if test "${ac_cv_path_install+set}" = set; then mgl@1371: INSTALL=$ac_cv_path_install mgl@1371: else mgl@1371: - # As a last resort, use the slow shell script. We don't cache a mgl@1371: - # path for INSTALL within a source directory, because that will mgl@1371: + # As a last resort, use the slow shell script. Don't cache a mgl@1371: + # value for INSTALL within a source directory, because that will mgl@1371: # break other packages using the cache if that directory is mgl@1371: - # removed, or if the path is relative. mgl@1371: + # removed, or if the value is a relative name. mgl@1371: INSTALL=$ac_install_sh mgl@1371: fi mgl@1371: fi mgl@1371: -echo "$as_me:$LINENO: result: $INSTALL" >&5 mgl@1371: -echo "${ECHO_T}$INSTALL" >&6 mgl@1371: +{ echo "$as_me:$LINENO: result: $INSTALL" >&5 mgl@1371: +echo "${ECHO_T}$INSTALL" >&6; } mgl@1371: mgl@1371: # Use test -z because SunOS4 sh mishandles braces in ${var-val}. mgl@1371: # It thinks the first close brace ends the variable substitution. mgl@1371: @@ -1659,8 +2144,8 @@ mgl@1371: mgl@1371: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' mgl@1371: mgl@1371: -echo "$as_me:$LINENO: checking whether build environment is sane" >&5 mgl@1371: -echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5 mgl@1371: +echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; } mgl@1371: # Just in case mgl@1371: sleep 1 mgl@1371: echo timestamp > conftest.file mgl@1371: @@ -1702,20 +2187,20 @@ mgl@1371: Check your system clock" >&2;} mgl@1371: { (exit 1); exit 1; }; } mgl@1371: fi mgl@1371: -echo "$as_me:$LINENO: result: yes" >&5 mgl@1371: -echo "${ECHO_T}yes" >&6 mgl@1371: +{ echo "$as_me:$LINENO: result: yes" >&5 mgl@1371: +echo "${ECHO_T}yes" >&6; } mgl@1371: test "$program_prefix" != NONE && mgl@1371: - program_transform_name="s,^,$program_prefix,;$program_transform_name" mgl@1371: + program_transform_name="s&^&$program_prefix&;$program_transform_name" mgl@1371: # Use a double $ so make ignores it. mgl@1371: test "$program_suffix" != NONE && mgl@1371: - program_transform_name="s,\$,$program_suffix,;$program_transform_name" mgl@1371: + program_transform_name="s&\$&$program_suffix&;$program_transform_name" mgl@1371: # Double any \ or $. echo might interpret backslashes. mgl@1371: # By default was `s,x,x', remove it if useless. mgl@1371: cat <<\_ACEOF >conftest.sed mgl@1371: s/[\\$]/&&/g;s/;s,x,x,$// mgl@1371: _ACEOF mgl@1371: program_transform_name=`echo $program_transform_name | sed -f conftest.sed` mgl@1371: -rm conftest.sed mgl@1371: +rm -f conftest.sed mgl@1371: mgl@1371: # expand $ac_aux_dir to an absolute path mgl@1371: am_aux_dir=`cd $ac_aux_dir && pwd` mgl@1371: @@ -1767,8 +2252,8 @@ mgl@1371: do mgl@1371: # Extract the first word of "$ac_prog", so it can be a program name with args. mgl@1371: set dummy $ac_prog; ac_word=$2 mgl@1371: -echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_prog_AWK+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -1781,54 +2266,57 @@ mgl@1371: IFS=$as_save_IFS mgl@1371: test -z "$as_dir" && as_dir=. mgl@1371: for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: ac_cv_prog_AWK="$ac_prog" mgl@1371: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: break 2 mgl@1371: fi mgl@1371: done mgl@1371: done mgl@1371: +IFS=$as_save_IFS mgl@1371: mgl@1371: fi mgl@1371: fi mgl@1371: AWK=$ac_cv_prog_AWK mgl@1371: if test -n "$AWK"; then mgl@1371: - echo "$as_me:$LINENO: result: $AWK" >&5 mgl@1371: -echo "${ECHO_T}$AWK" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $AWK" >&5 mgl@1371: +echo "${ECHO_T}$AWK" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: fi mgl@1371: mgl@1371: + mgl@1371: test -n "$AWK" && break mgl@1371: done mgl@1371: mgl@1371: -echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 mgl@1371: -echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 mgl@1371: -set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` mgl@1371: -if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then mgl@1371: +{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 mgl@1371: +echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } mgl@1371: +set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` mgl@1371: +if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: cat >conftest.make <<\_ACEOF mgl@1371: +SHELL = /bin/sh mgl@1371: all: mgl@1371: - @echo 'ac_maketemp="$(MAKE)"' mgl@1371: + @echo '@@@%%%=$(MAKE)=@@@%%%' mgl@1371: _ACEOF mgl@1371: # GNU make sometimes prints "make[1]: Entering...", which would confuse us. mgl@1371: -eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` mgl@1371: -if test -n "$ac_maketemp"; then mgl@1371: - eval ac_cv_prog_make_${ac_make}_set=yes mgl@1371: -else mgl@1371: - eval ac_cv_prog_make_${ac_make}_set=no mgl@1371: -fi mgl@1371: +case `${MAKE-make} -f conftest.make 2>/dev/null` in mgl@1371: + *@@@%%%=?*=@@@%%%*) mgl@1371: + eval ac_cv_prog_make_${ac_make}_set=yes;; mgl@1371: + *) mgl@1371: + eval ac_cv_prog_make_${ac_make}_set=no;; mgl@1371: +esac mgl@1371: rm -f conftest.make mgl@1371: fi mgl@1371: -if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then mgl@1371: - echo "$as_me:$LINENO: result: yes" >&5 mgl@1371: -echo "${ECHO_T}yes" >&6 mgl@1371: +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then mgl@1371: + { echo "$as_me:$LINENO: result: yes" >&5 mgl@1371: +echo "${ECHO_T}yes" >&6; } mgl@1371: SET_MAKE= mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: SET_MAKE="MAKE=${MAKE-make}" mgl@1371: fi mgl@1371: mgl@1371: @@ -1843,7 +2331,7 @@ mgl@1371: mgl@1371: DEPDIR="${am__leading_dot}deps" mgl@1371: mgl@1371: - ac_config_commands="$ac_config_commands depfiles" mgl@1371: +ac_config_commands="$ac_config_commands depfiles" mgl@1371: mgl@1371: mgl@1371: am_make=${MAKE-make} mgl@1371: @@ -1853,8 +2341,8 @@ mgl@1371: .PHONY: am__doit mgl@1371: END mgl@1371: # If we don't find an include directive, just comment out the code. mgl@1371: -echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 mgl@1371: -echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 mgl@1371: +echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; } mgl@1371: am__include="#" mgl@1371: am__quote= mgl@1371: _am_result=none mgl@1371: @@ -1881,15 +2369,15 @@ mgl@1371: fi mgl@1371: mgl@1371: mgl@1371: -echo "$as_me:$LINENO: result: $_am_result" >&5 mgl@1371: -echo "${ECHO_T}$_am_result" >&6 mgl@1371: +{ echo "$as_me:$LINENO: result: $_am_result" >&5 mgl@1371: +echo "${ECHO_T}$_am_result" >&6; } mgl@1371: rm -f confinc confmf mgl@1371: mgl@1371: -# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given. mgl@1371: +# Check whether --enable-dependency-tracking was given. mgl@1371: if test "${enable_dependency_tracking+set}" = set; then mgl@1371: - enableval="$enable_dependency_tracking" mgl@1371: + enableval=$enable_dependency_tracking; mgl@1371: +fi mgl@1371: mgl@1371: -fi; mgl@1371: if test "x$enable_dependency_tracking" != xno; then mgl@1371: am_depcomp="$ac_aux_dir/depcomp" mgl@1371: AMDEPBACKSLASH='\' mgl@1371: @@ -1907,10 +2395,9 @@ mgl@1371: mgl@1371: mgl@1371: mgl@1371: -# Check whether --enable-multilib or --disable-multilib was given. mgl@1371: +# Check whether --enable-multilib was given. mgl@1371: if test "${enable_multilib+set}" = set; then mgl@1371: - enableval="$enable_multilib" mgl@1371: - case "${enableval}" in mgl@1371: + enableval=$enable_multilib; case "${enableval}" in mgl@1371: yes) multilib=yes ;; mgl@1371: no) multilib=no ;; mgl@1371: *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for multilib option" >&5 mgl@1371: @@ -1919,11 +2406,11 @@ mgl@1371: esac mgl@1371: else mgl@1371: multilib=yes mgl@1371: -fi; mgl@1371: -# Check whether --enable-target-optspace or --disable-target-optspace was given. mgl@1371: +fi mgl@1371: + mgl@1371: +# Check whether --enable-target-optspace was given. mgl@1371: if test "${enable_target_optspace+set}" = set; then mgl@1371: - enableval="$enable_target_optspace" mgl@1371: - case "${enableval}" in mgl@1371: + enableval=$enable_target_optspace; case "${enableval}" in mgl@1371: yes) target_optspace=yes ;; mgl@1371: no) target_optspace=no ;; mgl@1371: *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for target-optspace option" >&5 mgl@1371: @@ -1932,11 +2419,11 @@ mgl@1371: esac mgl@1371: else mgl@1371: target_optspace= mgl@1371: -fi; mgl@1371: -# Check whether --enable-malloc-debugging or --disable-malloc-debugging was given. mgl@1371: +fi mgl@1371: + mgl@1371: +# Check whether --enable-malloc-debugging was given. mgl@1371: if test "${enable_malloc_debugging+set}" = set; then mgl@1371: - enableval="$enable_malloc_debugging" mgl@1371: - case "${enableval}" in mgl@1371: + enableval=$enable_malloc_debugging; case "${enableval}" in mgl@1371: yes) malloc_debugging=yes ;; mgl@1371: no) malloc_debugging=no ;; mgl@1371: *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for malloc-debugging option" >&5 mgl@1371: @@ -1945,11 +2432,11 @@ mgl@1371: esac mgl@1371: else mgl@1371: malloc_debugging= mgl@1371: -fi; mgl@1371: -# Check whether --enable-newlib-multithread or --disable-newlib-multithread was given. mgl@1371: +fi mgl@1371: + mgl@1371: +# Check whether --enable-newlib-multithread was given. mgl@1371: if test "${enable_newlib_multithread+set}" = set; then mgl@1371: - enableval="$enable_newlib_multithread" mgl@1371: - case "${enableval}" in mgl@1371: + enableval=$enable_newlib_multithread; case "${enableval}" in mgl@1371: yes) newlib_multithread=yes ;; mgl@1371: no) newlib_multithread=no ;; mgl@1371: *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-multithread option" >&5 mgl@1371: @@ -1958,11 +2445,11 @@ mgl@1371: esac mgl@1371: else mgl@1371: newlib_multithread=yes mgl@1371: -fi; mgl@1371: -# Check whether --enable-newlib-iconv or --disable-newlib-iconv was given. mgl@1371: +fi mgl@1371: + mgl@1371: +# Check whether --enable-newlib-iconv was given. mgl@1371: if test "${enable_newlib_iconv+set}" = set; then mgl@1371: - enableval="$enable_newlib_iconv" mgl@1371: - if test "${newlib_iconv+set}" != set; then mgl@1371: + enableval=$enable_newlib_iconv; if test "${newlib_iconv+set}" != set; then mgl@1371: case "${enableval}" in mgl@1371: yes) newlib_iconv=yes ;; mgl@1371: no) newlib_iconv=no ;; mgl@1371: @@ -1973,11 +2460,11 @@ mgl@1371: fi mgl@1371: else mgl@1371: newlib_iconv=${newlib_iconv} mgl@1371: -fi; mgl@1371: -# Check whether --enable-newlib-elix-level or --disable-newlib-elix-level was given. mgl@1371: +fi mgl@1371: + mgl@1371: +# Check whether --enable-newlib-elix-level was given. mgl@1371: if test "${enable_newlib_elix_level+set}" = set; then mgl@1371: - enableval="$enable_newlib_elix_level" mgl@1371: - case "${enableval}" in mgl@1371: + enableval=$enable_newlib_elix_level; case "${enableval}" in mgl@1371: 0) newlib_elix_level=0 ;; mgl@1371: 1) newlib_elix_level=1 ;; mgl@1371: 2) newlib_elix_level=2 ;; mgl@1371: @@ -1989,11 +2476,11 @@ mgl@1371: esac mgl@1371: else mgl@1371: newlib_elix_level=0 mgl@1371: -fi; mgl@1371: -# Check whether --enable-newlib-io-float or --disable-newlib-io-float was given. mgl@1371: +fi mgl@1371: + mgl@1371: +# Check whether --enable-newlib-io-float was given. mgl@1371: if test "${enable_newlib_io_float+set}" = set; then mgl@1371: - enableval="$enable_newlib_io_float" mgl@1371: - case "${enableval}" in mgl@1371: + enableval=$enable_newlib_io_float; case "${enableval}" in mgl@1371: yes) newlib_io_float=yes ;; mgl@1371: no) newlib_io_float=no ;; mgl@1371: *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-io-float option" >&5 mgl@1371: @@ -2002,11 +2489,11 @@ mgl@1371: esac mgl@1371: else mgl@1371: newlib_io_float=yes mgl@1371: -fi; mgl@1371: -# Check whether --enable-newlib-supplied-syscalls or --disable-newlib-supplied-syscalls was given. mgl@1371: +fi mgl@1371: + mgl@1371: +# Check whether --enable-newlib-supplied-syscalls was given. mgl@1371: if test "${enable_newlib_supplied_syscalls+set}" = set; then mgl@1371: - enableval="$enable_newlib_supplied_syscalls" mgl@1371: - case "${enableval}" in mgl@1371: + enableval=$enable_newlib_supplied_syscalls; case "${enableval}" in mgl@1371: yes) newlib_may_supply_syscalls=yes ;; mgl@1371: no) newlib_may_supply_syscalls=no ;; mgl@1371: *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-supplied-syscalls option" >&5 mgl@1371: @@ -2015,7 +2502,8 @@ mgl@1371: esac mgl@1371: else mgl@1371: newlib_may_supply_syscalls=yes mgl@1371: -fi; mgl@1371: +fi mgl@1371: + mgl@1371: mgl@1371: mgl@1371: if test x${newlib_may_supply_syscalls} = xyes; then mgl@1371: @@ -2041,26 +2529,41 @@ mgl@1371: fi mgl@1371: mgl@1371: mgl@1371: -echo "$as_me:$LINENO: checking host system type" >&5 mgl@1371: -echo $ECHO_N "checking host system type... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking host system type" >&5 mgl@1371: +echo $ECHO_N "checking host system type... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_host+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: - ac_cv_host_alias=$host_alias mgl@1371: -test -z "$ac_cv_host_alias" && mgl@1371: - ac_cv_host_alias=$ac_cv_build_alias mgl@1371: -ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || mgl@1371: - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 mgl@1371: -echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} mgl@1371: + if test "x$host_alias" = x; then mgl@1371: + ac_cv_host=$ac_cv_build mgl@1371: +else mgl@1371: + ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || mgl@1371: + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 mgl@1371: +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} mgl@1371: { (exit 1); exit 1; }; } mgl@1371: +fi mgl@1371: mgl@1371: fi mgl@1371: -echo "$as_me:$LINENO: result: $ac_cv_host" >&5 mgl@1371: -echo "${ECHO_T}$ac_cv_host" >&6 mgl@1371: +{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5 mgl@1371: +echo "${ECHO_T}$ac_cv_host" >&6; } mgl@1371: +case $ac_cv_host in mgl@1371: +*-*-*) ;; mgl@1371: +*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 mgl@1371: +echo "$as_me: error: invalid value of canonical host" >&2;} mgl@1371: + { (exit 1); exit 1; }; };; mgl@1371: +esac mgl@1371: host=$ac_cv_host mgl@1371: -host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` mgl@1371: -host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` mgl@1371: -host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` mgl@1371: +ac_save_IFS=$IFS; IFS='-' mgl@1371: +set x $ac_cv_host mgl@1371: +shift mgl@1371: +host_cpu=$1 mgl@1371: +host_vendor=$2 mgl@1371: +shift; shift mgl@1371: +# Remember, the first character of IFS is used to create $*, mgl@1371: +# except with old shells: mgl@1371: +host_os=$* mgl@1371: +IFS=$ac_save_IFS mgl@1371: +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac mgl@1371: mgl@1371: mgl@1371: mgl@1371: @@ -2113,8 +2616,8 @@ mgl@1371: if test -n "$ac_tool_prefix"; then mgl@1371: # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. mgl@1371: set dummy ${ac_tool_prefix}strip; ac_word=$2 mgl@1371: -echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_prog_STRIP+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -2127,32 +2630,34 @@ mgl@1371: IFS=$as_save_IFS mgl@1371: test -z "$as_dir" && as_dir=. mgl@1371: for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: ac_cv_prog_STRIP="${ac_tool_prefix}strip" mgl@1371: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: break 2 mgl@1371: fi mgl@1371: done mgl@1371: done mgl@1371: +IFS=$as_save_IFS mgl@1371: mgl@1371: fi mgl@1371: fi mgl@1371: STRIP=$ac_cv_prog_STRIP mgl@1371: if test -n "$STRIP"; then mgl@1371: - echo "$as_me:$LINENO: result: $STRIP" >&5 mgl@1371: -echo "${ECHO_T}$STRIP" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $STRIP" >&5 mgl@1371: +echo "${ECHO_T}$STRIP" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: fi mgl@1371: mgl@1371: + mgl@1371: fi mgl@1371: if test -z "$ac_cv_prog_STRIP"; then mgl@1371: ac_ct_STRIP=$STRIP mgl@1371: # Extract the first word of "strip", so it can be a program name with args. mgl@1371: set dummy strip; ac_word=$2 mgl@1371: -echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -2165,27 +2670,41 @@ mgl@1371: IFS=$as_save_IFS mgl@1371: test -z "$as_dir" && as_dir=. mgl@1371: for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: ac_cv_prog_ac_ct_STRIP="strip" mgl@1371: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: break 2 mgl@1371: fi mgl@1371: done mgl@1371: done mgl@1371: +IFS=$as_save_IFS mgl@1371: mgl@1371: - test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" mgl@1371: fi mgl@1371: fi mgl@1371: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP mgl@1371: if test -n "$ac_ct_STRIP"; then mgl@1371: - echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 mgl@1371: -echo "${ECHO_T}$ac_ct_STRIP" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 mgl@1371: +echo "${ECHO_T}$ac_ct_STRIP" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: fi mgl@1371: mgl@1371: - STRIP=$ac_ct_STRIP mgl@1371: + if test "x$ac_ct_STRIP" = x; then mgl@1371: + STRIP=":" mgl@1371: + else mgl@1371: + case $cross_compiling:$ac_tool_warned in mgl@1371: +yes:) mgl@1371: +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools mgl@1371: +whose name does not start with the host triplet. If you think this mgl@1371: +configuration is useful to you, please write to autoconf@gnu.org." >&5 mgl@1371: +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools mgl@1371: +whose name does not start with the host triplet. If you think this mgl@1371: +configuration is useful to you, please write to autoconf@gnu.org." >&2;} mgl@1371: +ac_tool_warned=yes ;; mgl@1371: +esac mgl@1371: + STRIP=$ac_ct_STRIP mgl@1371: + fi mgl@1371: else mgl@1371: STRIP="$ac_cv_prog_STRIP" mgl@1371: fi mgl@1371: @@ -2220,8 +2739,8 @@ mgl@1371: mgl@1371: # Extract the first word of "gcc", so it can be a program name with args. mgl@1371: set dummy gcc; ac_word=$2 mgl@1371: -echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_prog_CC+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -2234,30 +2753,32 @@ mgl@1371: IFS=$as_save_IFS mgl@1371: test -z "$as_dir" && as_dir=. mgl@1371: for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: ac_cv_prog_CC="gcc" mgl@1371: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: break 2 mgl@1371: fi mgl@1371: done mgl@1371: done mgl@1371: +IFS=$as_save_IFS mgl@1371: mgl@1371: fi mgl@1371: fi mgl@1371: CC=$ac_cv_prog_CC mgl@1371: if test -n "$CC"; then mgl@1371: - echo "$as_me:$LINENO: result: $CC" >&5 mgl@1371: -echo "${ECHO_T}$CC" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $CC" >&5 mgl@1371: +echo "${ECHO_T}$CC" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: fi mgl@1371: mgl@1371: mgl@1371: + mgl@1371: depcc="$CC" am_compiler_list= mgl@1371: mgl@1371: -echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 mgl@1371: -echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 mgl@1371: +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; } mgl@1371: if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -2346,8 +2867,8 @@ mgl@1371: fi mgl@1371: mgl@1371: fi mgl@1371: -echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 mgl@1371: -echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6 mgl@1371: +{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 mgl@1371: +echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; } mgl@1371: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type mgl@1371: mgl@1371: mgl@1371: @@ -2366,8 +2887,8 @@ mgl@1371: if test -z "$CC"; then mgl@1371: # Extract the first word of "cc", so it can be a program name with args. mgl@1371: set dummy cc; ac_word=$2 mgl@1371: -echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_prog_CC+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -2381,7 +2902,7 @@ mgl@1371: IFS=$as_save_IFS mgl@1371: test -z "$as_dir" && as_dir=. mgl@1371: for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then mgl@1371: ac_prog_rejected=yes mgl@1371: continue mgl@1371: @@ -2392,6 +2913,7 @@ mgl@1371: fi mgl@1371: done mgl@1371: done mgl@1371: +IFS=$as_save_IFS mgl@1371: mgl@1371: if test $ac_prog_rejected = yes; then mgl@1371: # We found a bogon in the path, so make sure we never use it. mgl@1371: @@ -2409,20 +2931,21 @@ mgl@1371: fi mgl@1371: CC=$ac_cv_prog_CC mgl@1371: if test -n "$CC"; then mgl@1371: - echo "$as_me:$LINENO: result: $CC" >&5 mgl@1371: -echo "${ECHO_T}$CC" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $CC" >&5 mgl@1371: +echo "${ECHO_T}$CC" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: fi mgl@1371: mgl@1371: + mgl@1371: test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5 mgl@1371: echo "$as_me: error: no acceptable cc found in \$PATH" >&2;} mgl@1371: { (exit 1); exit 1; }; } mgl@1371: fi mgl@1371: mgl@1371: -echo "$as_me:$LINENO: checking whether we are using GNU C" >&5 mgl@1371: -echo $ECHO_N "checking whether we are using GNU C... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking whether we are using GNU C" >&5 mgl@1371: +echo $ECHO_N "checking whether we are using GNU C... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_c_compiler_gnu+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -2442,8 +2965,8 @@ mgl@1371: ac_cv_c_compiler_gnu=no mgl@1371: fi mgl@1371: fi mgl@1371: -echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 mgl@1371: -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 mgl@1371: +{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 mgl@1371: +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } mgl@1371: mgl@1371: if test $ac_cv_c_compiler_gnu = yes; then mgl@1371: GCC=yes mgl@1371: @@ -2452,13 +2975,16 @@ mgl@1371: CFLAGS= mgl@1371: ac_test_CFLAGS=${CFLAGS+set} mgl@1371: ac_save_CFLAGS=$CFLAGS mgl@1371: -CFLAGS="-g" mgl@1371: -echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 mgl@1371: -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 mgl@1371: +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_prog_cc_g+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: - cat >conftest.$ac_ext <<_ACEOF mgl@1371: + ac_save_c_werror_flag=$ac_c_werror_flag mgl@1371: + ac_c_werror_flag=yes mgl@1371: + ac_cv_prog_cc_g=no mgl@1371: + CFLAGS="-g" mgl@1371: + cat >conftest.$ac_ext <<_ACEOF mgl@1371: /* confdefs.h. */ mgl@1371: _ACEOF mgl@1371: cat confdefs.h >>conftest.$ac_ext mgl@1371: @@ -2474,38 +3000,118 @@ mgl@1371: } mgl@1371: _ACEOF mgl@1371: rm -f conftest.$ac_objext mgl@1371: -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 mgl@1371: - (eval $ac_compile) 2>conftest.er1 mgl@1371: +if { (ac_try="$ac_compile" mgl@1371: +case "(($ac_try" in mgl@1371: + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; mgl@1371: + *) ac_try_echo=$ac_try;; mgl@1371: +esac mgl@1371: +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 mgl@1371: + (eval "$ac_compile") 2>conftest.er1 mgl@1371: ac_status=$? mgl@1371: grep -v '^ *+' conftest.er1 >conftest.err mgl@1371: rm -f conftest.er1 mgl@1371: cat conftest.err >&5 mgl@1371: echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); } && mgl@1371: - { ac_try='test -z "$ac_c_werror_flag" mgl@1371: - || test ! -s conftest.err' mgl@1371: - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 mgl@1371: - (eval $ac_try) 2>&5 mgl@1371: + (exit $ac_status); } && { mgl@1371: + test -z "$ac_c_werror_flag" || mgl@1371: + test ! -s conftest.err mgl@1371: + } && test -s conftest.$ac_objext; then mgl@1371: + ac_cv_prog_cc_g=yes mgl@1371: +else mgl@1371: + echo "$as_me: failed program was:" >&5 mgl@1371: +sed 's/^/| /' conftest.$ac_ext >&5 mgl@1371: + mgl@1371: + CFLAGS="" mgl@1371: + cat >conftest.$ac_ext <<_ACEOF mgl@1371: +/* confdefs.h. */ mgl@1371: +_ACEOF mgl@1371: +cat confdefs.h >>conftest.$ac_ext mgl@1371: +cat >>conftest.$ac_ext <<_ACEOF mgl@1371: +/* end confdefs.h. */ mgl@1371: + mgl@1371: +int mgl@1371: +main () mgl@1371: +{ mgl@1371: + mgl@1371: + ; mgl@1371: + return 0; mgl@1371: +} mgl@1371: +_ACEOF mgl@1371: +rm -f conftest.$ac_objext mgl@1371: +if { (ac_try="$ac_compile" mgl@1371: +case "(($ac_try" in mgl@1371: + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; mgl@1371: + *) ac_try_echo=$ac_try;; mgl@1371: +esac mgl@1371: +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 mgl@1371: + (eval "$ac_compile") 2>conftest.er1 mgl@1371: ac_status=$? mgl@1371: + grep -v '^ *+' conftest.er1 >conftest.err mgl@1371: + rm -f conftest.er1 mgl@1371: + cat conftest.err >&5 mgl@1371: echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); }; } && mgl@1371: - { ac_try='test -s conftest.$ac_objext' mgl@1371: - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 mgl@1371: - (eval $ac_try) 2>&5 mgl@1371: + (exit $ac_status); } && { mgl@1371: + test -z "$ac_c_werror_flag" || mgl@1371: + test ! -s conftest.err mgl@1371: + } && test -s conftest.$ac_objext; then mgl@1371: + : mgl@1371: +else mgl@1371: + echo "$as_me: failed program was:" >&5 mgl@1371: +sed 's/^/| /' conftest.$ac_ext >&5 mgl@1371: + mgl@1371: + ac_c_werror_flag=$ac_save_c_werror_flag mgl@1371: + CFLAGS="-g" mgl@1371: + cat >conftest.$ac_ext <<_ACEOF mgl@1371: +/* confdefs.h. */ mgl@1371: +_ACEOF mgl@1371: +cat confdefs.h >>conftest.$ac_ext mgl@1371: +cat >>conftest.$ac_ext <<_ACEOF mgl@1371: +/* end confdefs.h. */ mgl@1371: + mgl@1371: +int mgl@1371: +main () mgl@1371: +{ mgl@1371: + mgl@1371: + ; mgl@1371: + return 0; mgl@1371: +} mgl@1371: +_ACEOF mgl@1371: +rm -f conftest.$ac_objext mgl@1371: +if { (ac_try="$ac_compile" mgl@1371: +case "(($ac_try" in mgl@1371: + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; mgl@1371: + *) ac_try_echo=$ac_try;; mgl@1371: +esac mgl@1371: +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 mgl@1371: + (eval "$ac_compile") 2>conftest.er1 mgl@1371: ac_status=$? mgl@1371: + grep -v '^ *+' conftest.er1 >conftest.err mgl@1371: + rm -f conftest.er1 mgl@1371: + cat conftest.err >&5 mgl@1371: echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); }; }; then mgl@1371: + (exit $ac_status); } && { mgl@1371: + test -z "$ac_c_werror_flag" || mgl@1371: + test ! -s conftest.err mgl@1371: + } && test -s conftest.$ac_objext; then mgl@1371: ac_cv_prog_cc_g=yes mgl@1371: else mgl@1371: echo "$as_me: failed program was:" >&5 mgl@1371: sed 's/^/| /' conftest.$ac_ext >&5 mgl@1371: mgl@1371: -ac_cv_prog_cc_g=no mgl@1371: + mgl@1371: +fi mgl@1371: + mgl@1371: +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext mgl@1371: +fi mgl@1371: + mgl@1371: +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext mgl@1371: fi mgl@1371: -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext mgl@1371: + mgl@1371: +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext mgl@1371: + ac_c_werror_flag=$ac_save_c_werror_flag mgl@1371: fi mgl@1371: -echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 mgl@1371: -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 mgl@1371: +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 mgl@1371: +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } mgl@1371: if test "$ac_test_CFLAGS" = set; then mgl@1371: CFLAGS=$ac_save_CFLAGS mgl@1371: elif test $ac_cv_prog_cc_g = yes; then mgl@1371: @@ -2537,8 +3143,8 @@ mgl@1371: if test -n "$ac_tool_prefix"; then mgl@1371: # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. mgl@1371: set dummy ${ac_tool_prefix}as; ac_word=$2 mgl@1371: -echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_prog_AS+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -2551,32 +3157,34 @@ mgl@1371: IFS=$as_save_IFS mgl@1371: test -z "$as_dir" && as_dir=. mgl@1371: for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: ac_cv_prog_AS="${ac_tool_prefix}as" mgl@1371: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: break 2 mgl@1371: fi mgl@1371: done mgl@1371: done mgl@1371: +IFS=$as_save_IFS mgl@1371: mgl@1371: fi mgl@1371: fi mgl@1371: AS=$ac_cv_prog_AS mgl@1371: if test -n "$AS"; then mgl@1371: - echo "$as_me:$LINENO: result: $AS" >&5 mgl@1371: -echo "${ECHO_T}$AS" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $AS" >&5 mgl@1371: +echo "${ECHO_T}$AS" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: fi mgl@1371: mgl@1371: + mgl@1371: fi mgl@1371: if test -z "$ac_cv_prog_AS"; then mgl@1371: ac_ct_AS=$AS mgl@1371: # Extract the first word of "as", so it can be a program name with args. mgl@1371: set dummy as; ac_word=$2 mgl@1371: -echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_prog_ac_ct_AS+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -2589,26 +3197,41 @@ mgl@1371: IFS=$as_save_IFS mgl@1371: test -z "$as_dir" && as_dir=. mgl@1371: for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: ac_cv_prog_ac_ct_AS="as" mgl@1371: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: break 2 mgl@1371: fi mgl@1371: done mgl@1371: done mgl@1371: +IFS=$as_save_IFS mgl@1371: mgl@1371: fi mgl@1371: fi mgl@1371: ac_ct_AS=$ac_cv_prog_ac_ct_AS mgl@1371: if test -n "$ac_ct_AS"; then mgl@1371: - echo "$as_me:$LINENO: result: $ac_ct_AS" >&5 mgl@1371: -echo "${ECHO_T}$ac_ct_AS" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5 mgl@1371: +echo "${ECHO_T}$ac_ct_AS" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: fi mgl@1371: mgl@1371: - AS=$ac_ct_AS mgl@1371: + if test "x$ac_ct_AS" = x; then mgl@1371: + AS="" mgl@1371: + else mgl@1371: + case $cross_compiling:$ac_tool_warned in mgl@1371: +yes:) mgl@1371: +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools mgl@1371: +whose name does not start with the host triplet. If you think this mgl@1371: +configuration is useful to you, please write to autoconf@gnu.org." >&5 mgl@1371: +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools mgl@1371: +whose name does not start with the host triplet. If you think this mgl@1371: +configuration is useful to you, please write to autoconf@gnu.org." >&2;} mgl@1371: +ac_tool_warned=yes ;; mgl@1371: +esac mgl@1371: + AS=$ac_ct_AS mgl@1371: + fi mgl@1371: else mgl@1371: AS="$ac_cv_prog_AS" mgl@1371: fi mgl@1371: @@ -2616,8 +3239,8 @@ mgl@1371: if test -n "$ac_tool_prefix"; then mgl@1371: # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. mgl@1371: set dummy ${ac_tool_prefix}ar; ac_word=$2 mgl@1371: -echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_prog_AR+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -2630,32 +3253,34 @@ mgl@1371: IFS=$as_save_IFS mgl@1371: test -z "$as_dir" && as_dir=. mgl@1371: for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: ac_cv_prog_AR="${ac_tool_prefix}ar" mgl@1371: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: break 2 mgl@1371: fi mgl@1371: done mgl@1371: done mgl@1371: +IFS=$as_save_IFS mgl@1371: mgl@1371: fi mgl@1371: fi mgl@1371: AR=$ac_cv_prog_AR mgl@1371: if test -n "$AR"; then mgl@1371: - echo "$as_me:$LINENO: result: $AR" >&5 mgl@1371: -echo "${ECHO_T}$AR" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $AR" >&5 mgl@1371: +echo "${ECHO_T}$AR" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: fi mgl@1371: mgl@1371: + mgl@1371: fi mgl@1371: if test -z "$ac_cv_prog_AR"; then mgl@1371: ac_ct_AR=$AR mgl@1371: # Extract the first word of "ar", so it can be a program name with args. mgl@1371: set dummy ar; ac_word=$2 mgl@1371: -echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_prog_ac_ct_AR+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -2668,26 +3293,41 @@ mgl@1371: IFS=$as_save_IFS mgl@1371: test -z "$as_dir" && as_dir=. mgl@1371: for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: ac_cv_prog_ac_ct_AR="ar" mgl@1371: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: break 2 mgl@1371: fi mgl@1371: done mgl@1371: done mgl@1371: +IFS=$as_save_IFS mgl@1371: mgl@1371: fi mgl@1371: fi mgl@1371: ac_ct_AR=$ac_cv_prog_ac_ct_AR mgl@1371: if test -n "$ac_ct_AR"; then mgl@1371: - echo "$as_me:$LINENO: result: $ac_ct_AR" >&5 mgl@1371: -echo "${ECHO_T}$ac_ct_AR" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5 mgl@1371: +echo "${ECHO_T}$ac_ct_AR" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: fi mgl@1371: mgl@1371: - AR=$ac_ct_AR mgl@1371: + if test "x$ac_ct_AR" = x; then mgl@1371: + AR="" mgl@1371: + else mgl@1371: + case $cross_compiling:$ac_tool_warned in mgl@1371: +yes:) mgl@1371: +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools mgl@1371: +whose name does not start with the host triplet. If you think this mgl@1371: +configuration is useful to you, please write to autoconf@gnu.org." >&5 mgl@1371: +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools mgl@1371: +whose name does not start with the host triplet. If you think this mgl@1371: +configuration is useful to you, please write to autoconf@gnu.org." >&2;} mgl@1371: +ac_tool_warned=yes ;; mgl@1371: +esac mgl@1371: + AR=$ac_ct_AR mgl@1371: + fi mgl@1371: else mgl@1371: AR="$ac_cv_prog_AR" mgl@1371: fi mgl@1371: @@ -2695,8 +3335,8 @@ mgl@1371: if test -n "$ac_tool_prefix"; then mgl@1371: # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. mgl@1371: set dummy ${ac_tool_prefix}ranlib; ac_word=$2 mgl@1371: -echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_prog_RANLIB+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -2709,32 +3349,34 @@ mgl@1371: IFS=$as_save_IFS mgl@1371: test -z "$as_dir" && as_dir=. mgl@1371: for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" mgl@1371: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: break 2 mgl@1371: fi mgl@1371: done mgl@1371: done mgl@1371: +IFS=$as_save_IFS mgl@1371: mgl@1371: fi mgl@1371: fi mgl@1371: RANLIB=$ac_cv_prog_RANLIB mgl@1371: if test -n "$RANLIB"; then mgl@1371: - echo "$as_me:$LINENO: result: $RANLIB" >&5 mgl@1371: -echo "${ECHO_T}$RANLIB" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $RANLIB" >&5 mgl@1371: +echo "${ECHO_T}$RANLIB" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: fi mgl@1371: mgl@1371: + mgl@1371: fi mgl@1371: if test -z "$ac_cv_prog_RANLIB"; then mgl@1371: ac_ct_RANLIB=$RANLIB mgl@1371: # Extract the first word of "ranlib", so it can be a program name with args. mgl@1371: set dummy ranlib; ac_word=$2 mgl@1371: -echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -2747,27 +3389,41 @@ mgl@1371: IFS=$as_save_IFS mgl@1371: test -z "$as_dir" && as_dir=. mgl@1371: for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: ac_cv_prog_ac_ct_RANLIB="ranlib" mgl@1371: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: break 2 mgl@1371: fi mgl@1371: done mgl@1371: done mgl@1371: +IFS=$as_save_IFS mgl@1371: mgl@1371: - test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" mgl@1371: fi mgl@1371: fi mgl@1371: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB mgl@1371: if test -n "$ac_ct_RANLIB"; then mgl@1371: - echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 mgl@1371: -echo "${ECHO_T}$ac_ct_RANLIB" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 mgl@1371: +echo "${ECHO_T}$ac_ct_RANLIB" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: fi mgl@1371: mgl@1371: - RANLIB=$ac_ct_RANLIB mgl@1371: + if test "x$ac_ct_RANLIB" = x; then mgl@1371: + RANLIB=":" mgl@1371: + else mgl@1371: + case $cross_compiling:$ac_tool_warned in mgl@1371: +yes:) mgl@1371: +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools mgl@1371: +whose name does not start with the host triplet. If you think this mgl@1371: +configuration is useful to you, please write to autoconf@gnu.org." >&5 mgl@1371: +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools mgl@1371: +whose name does not start with the host triplet. If you think this mgl@1371: +configuration is useful to you, please write to autoconf@gnu.org." >&2;} mgl@1371: +ac_tool_warned=yes ;; mgl@1371: +esac mgl@1371: + RANLIB=$ac_ct_RANLIB mgl@1371: + fi mgl@1371: else mgl@1371: RANLIB="$ac_cv_prog_RANLIB" mgl@1371: fi mgl@1371: @@ -2775,8 +3431,8 @@ mgl@1371: if test -n "$ac_tool_prefix"; then mgl@1371: # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args. mgl@1371: set dummy ${ac_tool_prefix}readelf; ac_word=$2 mgl@1371: -echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_prog_READELF+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -2789,32 +3445,34 @@ mgl@1371: IFS=$as_save_IFS mgl@1371: test -z "$as_dir" && as_dir=. mgl@1371: for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: ac_cv_prog_READELF="${ac_tool_prefix}readelf" mgl@1371: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: break 2 mgl@1371: fi mgl@1371: done mgl@1371: done mgl@1371: +IFS=$as_save_IFS mgl@1371: mgl@1371: fi mgl@1371: fi mgl@1371: READELF=$ac_cv_prog_READELF mgl@1371: if test -n "$READELF"; then mgl@1371: - echo "$as_me:$LINENO: result: $READELF" >&5 mgl@1371: -echo "${ECHO_T}$READELF" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $READELF" >&5 mgl@1371: +echo "${ECHO_T}$READELF" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: fi mgl@1371: mgl@1371: + mgl@1371: fi mgl@1371: if test -z "$ac_cv_prog_READELF"; then mgl@1371: ac_ct_READELF=$READELF mgl@1371: # Extract the first word of "readelf", so it can be a program name with args. mgl@1371: set dummy readelf; ac_word=$2 mgl@1371: -echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_prog_ac_ct_READELF+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -2827,27 +3485,41 @@ mgl@1371: IFS=$as_save_IFS mgl@1371: test -z "$as_dir" && as_dir=. mgl@1371: for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: ac_cv_prog_ac_ct_READELF="readelf" mgl@1371: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: break 2 mgl@1371: fi mgl@1371: done mgl@1371: done mgl@1371: +IFS=$as_save_IFS mgl@1371: mgl@1371: - test -z "$ac_cv_prog_ac_ct_READELF" && ac_cv_prog_ac_ct_READELF=":" mgl@1371: fi mgl@1371: fi mgl@1371: ac_ct_READELF=$ac_cv_prog_ac_ct_READELF mgl@1371: if test -n "$ac_ct_READELF"; then mgl@1371: - echo "$as_me:$LINENO: result: $ac_ct_READELF" >&5 mgl@1371: -echo "${ECHO_T}$ac_ct_READELF" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $ac_ct_READELF" >&5 mgl@1371: +echo "${ECHO_T}$ac_ct_READELF" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: fi mgl@1371: mgl@1371: - READELF=$ac_ct_READELF mgl@1371: + if test "x$ac_ct_READELF" = x; then mgl@1371: + READELF=":" mgl@1371: + else mgl@1371: + case $cross_compiling:$ac_tool_warned in mgl@1371: +yes:) mgl@1371: +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools mgl@1371: +whose name does not start with the host triplet. If you think this mgl@1371: +configuration is useful to you, please write to autoconf@gnu.org." >&5 mgl@1371: +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools mgl@1371: +whose name does not start with the host triplet. If you think this mgl@1371: +configuration is useful to you, please write to autoconf@gnu.org." >&2;} mgl@1371: +ac_tool_warned=yes ;; mgl@1371: +esac mgl@1371: + READELF=$ac_ct_READELF mgl@1371: + fi mgl@1371: else mgl@1371: READELF="$ac_cv_prog_READELF" mgl@1371: fi mgl@1371: @@ -2866,8 +3538,8 @@ mgl@1371: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" mgl@1371: # OS/2's system install, which has a completely different semantic mgl@1371: # ./install, which can be erroneously created by make from ./install.sh. mgl@1371: -echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 mgl@1371: -echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 mgl@1371: +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } mgl@1371: if test -z "$INSTALL"; then mgl@1371: if test "${ac_cv_path_install+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: @@ -2889,7 +3561,7 @@ mgl@1371: # by default. mgl@1371: for ac_prog in ginstall scoinst install; do mgl@1371: for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: - if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then mgl@1371: + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then mgl@1371: if test $ac_prog = install && mgl@1371: grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then mgl@1371: # AIX install. It has an incompatible calling convention. mgl@1371: @@ -2908,21 +3580,22 @@ mgl@1371: ;; mgl@1371: esac mgl@1371: done mgl@1371: +IFS=$as_save_IFS mgl@1371: mgl@1371: mgl@1371: fi mgl@1371: if test "${ac_cv_path_install+set}" = set; then mgl@1371: INSTALL=$ac_cv_path_install mgl@1371: else mgl@1371: - # As a last resort, use the slow shell script. We don't cache a mgl@1371: - # path for INSTALL within a source directory, because that will mgl@1371: + # As a last resort, use the slow shell script. Don't cache a mgl@1371: + # value for INSTALL within a source directory, because that will mgl@1371: # break other packages using the cache if that directory is mgl@1371: - # removed, or if the path is relative. mgl@1371: + # removed, or if the value is a relative name. mgl@1371: INSTALL=$ac_install_sh mgl@1371: fi mgl@1371: fi mgl@1371: -echo "$as_me:$LINENO: result: $INSTALL" >&5 mgl@1371: -echo "${ECHO_T}$INSTALL" >&6 mgl@1371: +{ echo "$as_me:$LINENO: result: $INSTALL" >&5 mgl@1371: +echo "${ECHO_T}$INSTALL" >&6; } mgl@1371: mgl@1371: # Use test -z because SunOS4 sh mishandles braces in ${var-val}. mgl@1371: # It thinks the first close brace ends the variable substitution. mgl@1371: @@ -2936,17 +3609,17 @@ mgl@1371: # Hack to ensure that INSTALL won't be set to "../" with autoconf 2.13. */ mgl@1371: ac_given_INSTALL=$INSTALL mgl@1371: mgl@1371: -echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 mgl@1371: -echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6 mgl@1371: - # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. mgl@1371: +{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 mgl@1371: +echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; } mgl@1371: + # Check whether --enable-maintainer-mode was given. mgl@1371: if test "${enable_maintainer_mode+set}" = set; then mgl@1371: - enableval="$enable_maintainer_mode" mgl@1371: - USE_MAINTAINER_MODE=$enableval mgl@1371: + enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval mgl@1371: else mgl@1371: USE_MAINTAINER_MODE=no mgl@1371: -fi; mgl@1371: - echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 mgl@1371: -echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6 mgl@1371: +fi mgl@1371: + mgl@1371: + { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 mgl@1371: +echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; } mgl@1371: mgl@1371: mgl@1371: if test $USE_MAINTAINER_MODE = yes; then mgl@1371: @@ -3066,64 +3739,89 @@ mgl@1371: mgl@1371: mgl@1371: mgl@1371: -echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5 mgl@1371: -echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6 mgl@1371: -if test "${lt_cv_path_SED+set}" = set; then mgl@1371: +{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5 mgl@1371: +echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; } mgl@1371: +if test "${ac_cv_path_SED+set}" = set; then mgl@1371: + echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: +else mgl@1371: + ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ mgl@1371: + for ac_i in 1 2 3 4 5 6 7; do mgl@1371: + ac_script="$ac_script$as_nl$ac_script" mgl@1371: + done mgl@1371: + echo "$ac_script" | sed 99q >conftest.sed mgl@1371: + $as_unset ac_script || ac_script= mgl@1371: + # Extract the first word of "sed gsed" to use in msg output mgl@1371: +if test -z "$SED"; then mgl@1371: +set dummy sed gsed; ac_prog_name=$2 mgl@1371: +if test "${ac_cv_path_SED+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: - # Loop through the user's path and test for sed and gsed. mgl@1371: -# Then use that list of sed's as ones to test for truncation. mgl@1371: + ac_path_SED_found=false mgl@1371: +# Loop through the user's path and test for each of PROGNAME-LIST mgl@1371: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR mgl@1371: for as_dir in $PATH mgl@1371: do mgl@1371: IFS=$as_save_IFS mgl@1371: test -z "$as_dir" && as_dir=. mgl@1371: - for lt_ac_prog in sed gsed; do mgl@1371: - for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: - if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then mgl@1371: - lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext" mgl@1371: - fi mgl@1371: - done mgl@1371: - done mgl@1371: -done mgl@1371: -IFS=$as_save_IFS mgl@1371: -lt_ac_max=0 mgl@1371: -lt_ac_count=0 mgl@1371: -# Add /usr/xpg4/bin/sed as it is typically found on Solaris mgl@1371: -# along with /bin/sed that truncates output. mgl@1371: -for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do mgl@1371: - test ! -f $lt_ac_sed && continue mgl@1371: - cat /dev/null > conftest.in mgl@1371: - lt_ac_count=0 mgl@1371: - echo $ECHO_N "0123456789$ECHO_C" >conftest.in mgl@1371: - # Check for GNU sed and select it if it is found. mgl@1371: - if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then mgl@1371: - lt_cv_path_SED=$lt_ac_sed mgl@1371: - break mgl@1371: - fi mgl@1371: - while true; do mgl@1371: - cat conftest.in conftest.in >conftest.tmp mgl@1371: - mv conftest.tmp conftest.in mgl@1371: - cp conftest.in conftest.nl mgl@1371: - echo >>conftest.nl mgl@1371: - $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break mgl@1371: - cmp -s conftest.out conftest.nl || break mgl@1371: - # 10000 chars as input seems more than enough mgl@1371: - test $lt_ac_count -gt 10 && break mgl@1371: - lt_ac_count=`expr $lt_ac_count + 1` mgl@1371: - if test $lt_ac_count -gt $lt_ac_max; then mgl@1371: - lt_ac_max=$lt_ac_count mgl@1371: - lt_cv_path_SED=$lt_ac_sed mgl@1371: + for ac_prog in sed gsed; do mgl@1371: + for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: + ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" mgl@1371: + { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue mgl@1371: + # Check for GNU ac_path_SED and select it if it is found. mgl@1371: + # Check for GNU $ac_path_SED mgl@1371: +case `"$ac_path_SED" --version 2>&1` in mgl@1371: +*GNU*) mgl@1371: + ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; mgl@1371: +*) mgl@1371: + ac_count=0 mgl@1371: + echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" mgl@1371: + while : mgl@1371: + do mgl@1371: + cat "conftest.in" "conftest.in" >"conftest.tmp" mgl@1371: + mv "conftest.tmp" "conftest.in" mgl@1371: + cp "conftest.in" "conftest.nl" mgl@1371: + echo '' >> "conftest.nl" mgl@1371: + "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break mgl@1371: + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break mgl@1371: + ac_count=`expr $ac_count + 1` mgl@1371: + if test $ac_count -gt ${ac_path_SED_max-0}; then mgl@1371: + # Best one so far, save it but keep looking for a better one mgl@1371: + ac_cv_path_SED="$ac_path_SED" mgl@1371: + ac_path_SED_max=$ac_count mgl@1371: fi mgl@1371: + # 10*(2^10) chars as input seems more than enough mgl@1371: + test $ac_count -gt 10 && break mgl@1371: + done mgl@1371: + rm -f conftest.in conftest.tmp conftest.nl conftest.out;; mgl@1371: +esac mgl@1371: + mgl@1371: + mgl@1371: + $ac_path_SED_found && break 3 mgl@1371: done mgl@1371: done mgl@1371: mgl@1371: +done mgl@1371: +IFS=$as_save_IFS mgl@1371: + mgl@1371: + mgl@1371: +fi mgl@1371: + mgl@1371: +SED="$ac_cv_path_SED" mgl@1371: +if test -z "$SED"; then mgl@1371: + { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5 mgl@1371: +echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;} mgl@1371: + { (exit 1); exit 1; }; } mgl@1371: fi mgl@1371: mgl@1371: -SED=$lt_cv_path_SED mgl@1371: +else mgl@1371: + ac_cv_path_SED=$SED mgl@1371: +fi mgl@1371: mgl@1371: -echo "$as_me:$LINENO: result: $SED" >&5 mgl@1371: -echo "${ECHO_T}$SED" >&6 mgl@1371: +fi mgl@1371: +{ echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5 mgl@1371: +echo "${ECHO_T}$ac_cv_path_SED" >&6; } mgl@1371: + SED="$ac_cv_path_SED" mgl@1371: + rm -f conftest.sed mgl@1371: mgl@1371: test -z "$SED" && SED=sed mgl@1371: Xsed="$SED -e 1s/^X//" mgl@1371: @@ -3146,8 +3844,8 @@ mgl@1371: if test -n "$ac_tool_prefix"; then mgl@1371: # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. mgl@1371: set dummy ${ac_tool_prefix}as; ac_word=$2 mgl@1371: -echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_prog_AS+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -3160,32 +3858,34 @@ mgl@1371: IFS=$as_save_IFS mgl@1371: test -z "$as_dir" && as_dir=. mgl@1371: for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: ac_cv_prog_AS="${ac_tool_prefix}as" mgl@1371: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: break 2 mgl@1371: fi mgl@1371: done mgl@1371: done mgl@1371: +IFS=$as_save_IFS mgl@1371: mgl@1371: fi mgl@1371: fi mgl@1371: AS=$ac_cv_prog_AS mgl@1371: if test -n "$AS"; then mgl@1371: - echo "$as_me:$LINENO: result: $AS" >&5 mgl@1371: -echo "${ECHO_T}$AS" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $AS" >&5 mgl@1371: +echo "${ECHO_T}$AS" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: fi mgl@1371: mgl@1371: + mgl@1371: fi mgl@1371: if test -z "$ac_cv_prog_AS"; then mgl@1371: ac_ct_AS=$AS mgl@1371: # Extract the first word of "as", so it can be a program name with args. mgl@1371: set dummy as; ac_word=$2 mgl@1371: -echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_prog_ac_ct_AS+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -3198,27 +3898,41 @@ mgl@1371: IFS=$as_save_IFS mgl@1371: test -z "$as_dir" && as_dir=. mgl@1371: for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: ac_cv_prog_ac_ct_AS="as" mgl@1371: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: break 2 mgl@1371: fi mgl@1371: done mgl@1371: done mgl@1371: +IFS=$as_save_IFS mgl@1371: mgl@1371: - test -z "$ac_cv_prog_ac_ct_AS" && ac_cv_prog_ac_ct_AS="false" mgl@1371: fi mgl@1371: fi mgl@1371: ac_ct_AS=$ac_cv_prog_ac_ct_AS mgl@1371: if test -n "$ac_ct_AS"; then mgl@1371: - echo "$as_me:$LINENO: result: $ac_ct_AS" >&5 mgl@1371: -echo "${ECHO_T}$ac_ct_AS" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5 mgl@1371: +echo "${ECHO_T}$ac_ct_AS" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: fi mgl@1371: mgl@1371: - AS=$ac_ct_AS mgl@1371: + if test "x$ac_ct_AS" = x; then mgl@1371: + AS="false" mgl@1371: + else mgl@1371: + case $cross_compiling:$ac_tool_warned in mgl@1371: +yes:) mgl@1371: +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools mgl@1371: +whose name does not start with the host triplet. If you think this mgl@1371: +configuration is useful to you, please write to autoconf@gnu.org." >&5 mgl@1371: +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools mgl@1371: +whose name does not start with the host triplet. If you think this mgl@1371: +configuration is useful to you, please write to autoconf@gnu.org." >&2;} mgl@1371: +ac_tool_warned=yes ;; mgl@1371: +esac mgl@1371: + AS=$ac_ct_AS mgl@1371: + fi mgl@1371: else mgl@1371: AS="$ac_cv_prog_AS" mgl@1371: fi mgl@1371: @@ -3226,8 +3940,8 @@ mgl@1371: if test -n "$ac_tool_prefix"; then mgl@1371: # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. mgl@1371: set dummy ${ac_tool_prefix}dlltool; ac_word=$2 mgl@1371: -echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_prog_DLLTOOL+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -3240,32 +3954,34 @@ mgl@1371: IFS=$as_save_IFS mgl@1371: test -z "$as_dir" && as_dir=. mgl@1371: for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" mgl@1371: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: break 2 mgl@1371: fi mgl@1371: done mgl@1371: done mgl@1371: +IFS=$as_save_IFS mgl@1371: mgl@1371: fi mgl@1371: fi mgl@1371: DLLTOOL=$ac_cv_prog_DLLTOOL mgl@1371: if test -n "$DLLTOOL"; then mgl@1371: - echo "$as_me:$LINENO: result: $DLLTOOL" >&5 mgl@1371: -echo "${ECHO_T}$DLLTOOL" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $DLLTOOL" >&5 mgl@1371: +echo "${ECHO_T}$DLLTOOL" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: fi mgl@1371: mgl@1371: + mgl@1371: fi mgl@1371: if test -z "$ac_cv_prog_DLLTOOL"; then mgl@1371: ac_ct_DLLTOOL=$DLLTOOL mgl@1371: # Extract the first word of "dlltool", so it can be a program name with args. mgl@1371: set dummy dlltool; ac_word=$2 mgl@1371: -echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -3278,27 +3994,41 @@ mgl@1371: IFS=$as_save_IFS mgl@1371: test -z "$as_dir" && as_dir=. mgl@1371: for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: ac_cv_prog_ac_ct_DLLTOOL="dlltool" mgl@1371: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: break 2 mgl@1371: fi mgl@1371: done mgl@1371: done mgl@1371: +IFS=$as_save_IFS mgl@1371: mgl@1371: - test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL="false" mgl@1371: fi mgl@1371: fi mgl@1371: ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL mgl@1371: if test -n "$ac_ct_DLLTOOL"; then mgl@1371: - echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5 mgl@1371: -echo "${ECHO_T}$ac_ct_DLLTOOL" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5 mgl@1371: +echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: fi mgl@1371: mgl@1371: - DLLTOOL=$ac_ct_DLLTOOL mgl@1371: + if test "x$ac_ct_DLLTOOL" = x; then mgl@1371: + DLLTOOL="false" mgl@1371: + else mgl@1371: + case $cross_compiling:$ac_tool_warned in mgl@1371: +yes:) mgl@1371: +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools mgl@1371: +whose name does not start with the host triplet. If you think this mgl@1371: +configuration is useful to you, please write to autoconf@gnu.org." >&5 mgl@1371: +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools mgl@1371: +whose name does not start with the host triplet. If you think this mgl@1371: +configuration is useful to you, please write to autoconf@gnu.org." >&2;} mgl@1371: +ac_tool_warned=yes ;; mgl@1371: +esac mgl@1371: + DLLTOOL=$ac_ct_DLLTOOL mgl@1371: + fi mgl@1371: else mgl@1371: DLLTOOL="$ac_cv_prog_DLLTOOL" mgl@1371: fi mgl@1371: @@ -3306,8 +4036,8 @@ mgl@1371: if test -n "$ac_tool_prefix"; then mgl@1371: # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. mgl@1371: set dummy ${ac_tool_prefix}objdump; ac_word=$2 mgl@1371: -echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_prog_OBJDUMP+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -3320,32 +4050,34 @@ mgl@1371: IFS=$as_save_IFS mgl@1371: test -z "$as_dir" && as_dir=. mgl@1371: for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" mgl@1371: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: break 2 mgl@1371: fi mgl@1371: done mgl@1371: done mgl@1371: +IFS=$as_save_IFS mgl@1371: mgl@1371: fi mgl@1371: fi mgl@1371: OBJDUMP=$ac_cv_prog_OBJDUMP mgl@1371: if test -n "$OBJDUMP"; then mgl@1371: - echo "$as_me:$LINENO: result: $OBJDUMP" >&5 mgl@1371: -echo "${ECHO_T}$OBJDUMP" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $OBJDUMP" >&5 mgl@1371: +echo "${ECHO_T}$OBJDUMP" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: fi mgl@1371: mgl@1371: + mgl@1371: fi mgl@1371: if test -z "$ac_cv_prog_OBJDUMP"; then mgl@1371: ac_ct_OBJDUMP=$OBJDUMP mgl@1371: # Extract the first word of "objdump", so it can be a program name with args. mgl@1371: set dummy objdump; ac_word=$2 mgl@1371: -echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -3358,27 +4090,41 @@ mgl@1371: IFS=$as_save_IFS mgl@1371: test -z "$as_dir" && as_dir=. mgl@1371: for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: ac_cv_prog_ac_ct_OBJDUMP="objdump" mgl@1371: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: break 2 mgl@1371: fi mgl@1371: done mgl@1371: done mgl@1371: +IFS=$as_save_IFS mgl@1371: mgl@1371: - test -z "$ac_cv_prog_ac_ct_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP="false" mgl@1371: fi mgl@1371: fi mgl@1371: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP mgl@1371: if test -n "$ac_ct_OBJDUMP"; then mgl@1371: - echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5 mgl@1371: -echo "${ECHO_T}$ac_ct_OBJDUMP" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5 mgl@1371: +echo "${ECHO_T}$ac_ct_OBJDUMP" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: fi mgl@1371: mgl@1371: - OBJDUMP=$ac_ct_OBJDUMP mgl@1371: + if test "x$ac_ct_OBJDUMP" = x; then mgl@1371: + OBJDUMP="false" mgl@1371: + else mgl@1371: + case $cross_compiling:$ac_tool_warned in mgl@1371: +yes:) mgl@1371: +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools mgl@1371: +whose name does not start with the host triplet. If you think this mgl@1371: +configuration is useful to you, please write to autoconf@gnu.org." >&5 mgl@1371: +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools mgl@1371: +whose name does not start with the host triplet. If you think this mgl@1371: +configuration is useful to you, please write to autoconf@gnu.org." >&2;} mgl@1371: +ac_tool_warned=yes ;; mgl@1371: +esac mgl@1371: + OBJDUMP=$ac_ct_OBJDUMP mgl@1371: + fi mgl@1371: else mgl@1371: OBJDUMP="$ac_cv_prog_OBJDUMP" mgl@1371: fi mgl@1371: @@ -3439,8 +4185,8 @@ mgl@1371: if test -n "$ac_tool_prefix"; then mgl@1371: # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. mgl@1371: set dummy ${ac_tool_prefix}gcc; ac_word=$2 mgl@1371: -echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_prog_CC+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -3453,32 +4199,34 @@ mgl@1371: IFS=$as_save_IFS mgl@1371: test -z "$as_dir" && as_dir=. mgl@1371: for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: ac_cv_prog_CC="${ac_tool_prefix}gcc" mgl@1371: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: break 2 mgl@1371: fi mgl@1371: done mgl@1371: done mgl@1371: +IFS=$as_save_IFS mgl@1371: mgl@1371: fi mgl@1371: fi mgl@1371: CC=$ac_cv_prog_CC mgl@1371: if test -n "$CC"; then mgl@1371: - echo "$as_me:$LINENO: result: $CC" >&5 mgl@1371: -echo "${ECHO_T}$CC" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $CC" >&5 mgl@1371: +echo "${ECHO_T}$CC" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: fi mgl@1371: mgl@1371: + mgl@1371: fi mgl@1371: if test -z "$ac_cv_prog_CC"; then mgl@1371: ac_ct_CC=$CC mgl@1371: # Extract the first word of "gcc", so it can be a program name with args. mgl@1371: set dummy gcc; ac_word=$2 mgl@1371: -echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -3491,36 +4239,51 @@ mgl@1371: IFS=$as_save_IFS mgl@1371: test -z "$as_dir" && as_dir=. mgl@1371: for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: ac_cv_prog_ac_ct_CC="gcc" mgl@1371: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: break 2 mgl@1371: fi mgl@1371: done mgl@1371: done mgl@1371: +IFS=$as_save_IFS mgl@1371: mgl@1371: fi mgl@1371: fi mgl@1371: ac_ct_CC=$ac_cv_prog_ac_ct_CC mgl@1371: if test -n "$ac_ct_CC"; then mgl@1371: - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 mgl@1371: -echo "${ECHO_T}$ac_ct_CC" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 mgl@1371: +echo "${ECHO_T}$ac_ct_CC" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: fi mgl@1371: mgl@1371: - CC=$ac_ct_CC mgl@1371: + if test "x$ac_ct_CC" = x; then mgl@1371: + CC="" mgl@1371: + else mgl@1371: + case $cross_compiling:$ac_tool_warned in mgl@1371: +yes:) mgl@1371: +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools mgl@1371: +whose name does not start with the host triplet. If you think this mgl@1371: +configuration is useful to you, please write to autoconf@gnu.org." >&5 mgl@1371: +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools mgl@1371: +whose name does not start with the host triplet. If you think this mgl@1371: +configuration is useful to you, please write to autoconf@gnu.org." >&2;} mgl@1371: +ac_tool_warned=yes ;; mgl@1371: +esac mgl@1371: + CC=$ac_ct_CC mgl@1371: + fi mgl@1371: else mgl@1371: CC="$ac_cv_prog_CC" mgl@1371: fi mgl@1371: mgl@1371: if test -z "$CC"; then mgl@1371: - if test -n "$ac_tool_prefix"; then mgl@1371: - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. mgl@1371: + if test -n "$ac_tool_prefix"; then mgl@1371: + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. mgl@1371: set dummy ${ac_tool_prefix}cc; ac_word=$2 mgl@1371: -echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_prog_CC+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -3533,98 +4296,59 @@ mgl@1371: IFS=$as_save_IFS mgl@1371: test -z "$as_dir" && as_dir=. mgl@1371: for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: ac_cv_prog_CC="${ac_tool_prefix}cc" mgl@1371: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: break 2 mgl@1371: fi mgl@1371: done mgl@1371: done mgl@1371: +IFS=$as_save_IFS mgl@1371: mgl@1371: fi mgl@1371: fi mgl@1371: CC=$ac_cv_prog_CC mgl@1371: if test -n "$CC"; then mgl@1371: - echo "$as_me:$LINENO: result: $CC" >&5 mgl@1371: -echo "${ECHO_T}$CC" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $CC" >&5 mgl@1371: +echo "${ECHO_T}$CC" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: fi mgl@1371: mgl@1371: + mgl@1371: + fi mgl@1371: fi mgl@1371: -if test -z "$ac_cv_prog_CC"; then mgl@1371: - ac_ct_CC=$CC mgl@1371: +if test -z "$CC"; then mgl@1371: # Extract the first word of "cc", so it can be a program name with args. mgl@1371: set dummy cc; ac_word=$2 mgl@1371: -echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 mgl@1371: -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: +if test "${ac_cv_prog_CC+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: - if test -n "$ac_ct_CC"; then mgl@1371: - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. mgl@1371: + if test -n "$CC"; then mgl@1371: + ac_cv_prog_CC="$CC" # Let the user override the test. mgl@1371: else mgl@1371: + ac_prog_rejected=no mgl@1371: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR mgl@1371: for as_dir in $PATH mgl@1371: do mgl@1371: IFS=$as_save_IFS mgl@1371: test -z "$as_dir" && as_dir=. mgl@1371: for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then mgl@1371: - ac_cv_prog_ac_ct_CC="cc" mgl@1371: - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: - break 2 mgl@1371: - fi mgl@1371: -done mgl@1371: -done mgl@1371: - mgl@1371: -fi mgl@1371: -fi mgl@1371: -ac_ct_CC=$ac_cv_prog_ac_ct_CC mgl@1371: -if test -n "$ac_ct_CC"; then mgl@1371: - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 mgl@1371: -echo "${ECHO_T}$ac_ct_CC" >&6 mgl@1371: -else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: -fi mgl@1371: - mgl@1371: - CC=$ac_ct_CC mgl@1371: -else mgl@1371: - CC="$ac_cv_prog_CC" mgl@1371: -fi mgl@1371: - mgl@1371: -fi mgl@1371: -if test -z "$CC"; then mgl@1371: - # Extract the first word of "cc", so it can be a program name with args. mgl@1371: -set dummy cc; ac_word=$2 mgl@1371: -echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 mgl@1371: -if test "${ac_cv_prog_CC+set}" = set; then mgl@1371: - echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: -else mgl@1371: - if test -n "$CC"; then mgl@1371: - ac_cv_prog_CC="$CC" # Let the user override the test. mgl@1371: -else mgl@1371: - ac_prog_rejected=no mgl@1371: -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR mgl@1371: -for as_dir in $PATH mgl@1371: -do mgl@1371: - IFS=$as_save_IFS mgl@1371: - test -z "$as_dir" && as_dir=. mgl@1371: - for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then mgl@1371: - if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then mgl@1371: - ac_prog_rejected=yes mgl@1371: - continue mgl@1371: - fi mgl@1371: - ac_cv_prog_CC="cc" mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then mgl@1371: + ac_prog_rejected=yes mgl@1371: + continue mgl@1371: + fi mgl@1371: + ac_cv_prog_CC="cc" mgl@1371: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: break 2 mgl@1371: fi mgl@1371: done mgl@1371: done mgl@1371: +IFS=$as_save_IFS mgl@1371: mgl@1371: if test $ac_prog_rejected = yes; then mgl@1371: # We found a bogon in the path, so make sure we never use it. mgl@1371: @@ -3642,22 +4366,23 @@ mgl@1371: fi mgl@1371: CC=$ac_cv_prog_CC mgl@1371: if test -n "$CC"; then mgl@1371: - echo "$as_me:$LINENO: result: $CC" >&5 mgl@1371: -echo "${ECHO_T}$CC" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $CC" >&5 mgl@1371: +echo "${ECHO_T}$CC" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: fi mgl@1371: mgl@1371: + mgl@1371: fi mgl@1371: if test -z "$CC"; then mgl@1371: if test -n "$ac_tool_prefix"; then mgl@1371: - for ac_prog in cl mgl@1371: + for ac_prog in cl.exe mgl@1371: do mgl@1371: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. mgl@1371: set dummy $ac_tool_prefix$ac_prog; ac_word=$2 mgl@1371: -echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_prog_CC+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -3670,36 +4395,38 @@ mgl@1371: IFS=$as_save_IFS mgl@1371: test -z "$as_dir" && as_dir=. mgl@1371: for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: ac_cv_prog_CC="$ac_tool_prefix$ac_prog" mgl@1371: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: break 2 mgl@1371: fi mgl@1371: done mgl@1371: done mgl@1371: +IFS=$as_save_IFS mgl@1371: mgl@1371: fi mgl@1371: fi mgl@1371: CC=$ac_cv_prog_CC mgl@1371: if test -n "$CC"; then mgl@1371: - echo "$as_me:$LINENO: result: $CC" >&5 mgl@1371: -echo "${ECHO_T}$CC" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $CC" >&5 mgl@1371: +echo "${ECHO_T}$CC" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: fi mgl@1371: mgl@1371: + mgl@1371: test -n "$CC" && break mgl@1371: done mgl@1371: fi mgl@1371: if test -z "$CC"; then mgl@1371: ac_ct_CC=$CC mgl@1371: - for ac_prog in cl mgl@1371: + for ac_prog in cl.exe mgl@1371: do mgl@1371: # Extract the first word of "$ac_prog", so it can be a program name with args. mgl@1371: set dummy $ac_prog; ac_word=$2 mgl@1371: -echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -3712,29 +4439,45 @@ mgl@1371: IFS=$as_save_IFS mgl@1371: test -z "$as_dir" && as_dir=. mgl@1371: for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: ac_cv_prog_ac_ct_CC="$ac_prog" mgl@1371: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: break 2 mgl@1371: fi mgl@1371: done mgl@1371: done mgl@1371: +IFS=$as_save_IFS mgl@1371: mgl@1371: fi mgl@1371: fi mgl@1371: ac_ct_CC=$ac_cv_prog_ac_ct_CC mgl@1371: if test -n "$ac_ct_CC"; then mgl@1371: - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 mgl@1371: -echo "${ECHO_T}$ac_ct_CC" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 mgl@1371: +echo "${ECHO_T}$ac_ct_CC" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: fi mgl@1371: mgl@1371: + mgl@1371: test -n "$ac_ct_CC" && break mgl@1371: done mgl@1371: mgl@1371: - CC=$ac_ct_CC mgl@1371: + if test "x$ac_ct_CC" = x; then mgl@1371: + CC="" mgl@1371: + else mgl@1371: + case $cross_compiling:$ac_tool_warned in mgl@1371: +yes:) mgl@1371: +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools mgl@1371: +whose name does not start with the host triplet. If you think this mgl@1371: +configuration is useful to you, please write to autoconf@gnu.org." >&5 mgl@1371: +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools mgl@1371: +whose name does not start with the host triplet. If you think this mgl@1371: +configuration is useful to you, please write to autoconf@gnu.org." >&2;} mgl@1371: +ac_tool_warned=yes ;; mgl@1371: +esac mgl@1371: + CC=$ac_ct_CC mgl@1371: + fi mgl@1371: fi mgl@1371: mgl@1371: fi mgl@1371: @@ -3747,21 +4490,35 @@ mgl@1371: { (exit 1); exit 1; }; } mgl@1371: mgl@1371: # Provide some information about the compiler. mgl@1371: -echo "$as_me:$LINENO:" \ mgl@1371: - "checking for C compiler version" >&5 mgl@1371: +echo "$as_me:$LINENO: checking for C compiler version" >&5 mgl@1371: ac_compiler=`set X $ac_compile; echo $2` mgl@1371: -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version &5\"") >&5 mgl@1371: - (eval $ac_compiler --version &5) 2>&5 mgl@1371: +{ (ac_try="$ac_compiler --version >&5" mgl@1371: +case "(($ac_try" in mgl@1371: + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; mgl@1371: + *) ac_try_echo=$ac_try;; mgl@1371: +esac mgl@1371: +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 mgl@1371: + (eval "$ac_compiler --version >&5") 2>&5 mgl@1371: ac_status=$? mgl@1371: echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: (exit $ac_status); } mgl@1371: -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v &5\"") >&5 mgl@1371: - (eval $ac_compiler -v &5) 2>&5 mgl@1371: +{ (ac_try="$ac_compiler -v >&5" mgl@1371: +case "(($ac_try" in mgl@1371: + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; mgl@1371: + *) ac_try_echo=$ac_try;; mgl@1371: +esac mgl@1371: +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 mgl@1371: + (eval "$ac_compiler -v >&5") 2>&5 mgl@1371: ac_status=$? mgl@1371: echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: (exit $ac_status); } mgl@1371: -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V &5\"") >&5 mgl@1371: - (eval $ac_compiler -V &5) 2>&5 mgl@1371: +{ (ac_try="$ac_compiler -V >&5" mgl@1371: +case "(($ac_try" in mgl@1371: + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; mgl@1371: + *) ac_try_echo=$ac_try;; mgl@1371: +esac mgl@1371: +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 mgl@1371: + (eval "$ac_compiler -V >&5") 2>&5 mgl@1371: ac_status=$? mgl@1371: echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: (exit $ac_status); } mgl@1371: @@ -3786,47 +4543,77 @@ mgl@1371: # Try to create an executable without -o first, disregard a.out. mgl@1371: # It will help us diagnose broken compilers, and finding out an intuition mgl@1371: # of exeext. mgl@1371: -echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 mgl@1371: -echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 mgl@1371: +echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } mgl@1371: ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` mgl@1371: -if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 mgl@1371: - (eval $ac_link_default) 2>&5 mgl@1371: +# mgl@1371: +# List of possible output files, starting from the most likely. mgl@1371: +# The algorithm is not robust to junk in `.', hence go to wildcards (a.*) mgl@1371: +# only as a last resort. b.out is created by i960 compilers. mgl@1371: +ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' mgl@1371: +# mgl@1371: +# The IRIX 6 linker writes into existing files which may not be mgl@1371: +# executable, retaining their permissions. Remove them first so a mgl@1371: +# subsequent execution test works. mgl@1371: +ac_rmfiles= mgl@1371: +for ac_file in $ac_files mgl@1371: +do mgl@1371: + case $ac_file in mgl@1371: + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; mgl@1371: + * ) ac_rmfiles="$ac_rmfiles $ac_file";; mgl@1371: + esac mgl@1371: +done mgl@1371: +rm -f $ac_rmfiles mgl@1371: + mgl@1371: +if { (ac_try="$ac_link_default" mgl@1371: +case "(($ac_try" in mgl@1371: + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; mgl@1371: + *) ac_try_echo=$ac_try;; mgl@1371: +esac mgl@1371: +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 mgl@1371: + (eval "$ac_link_default") 2>&5 mgl@1371: ac_status=$? mgl@1371: echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: (exit $ac_status); }; then mgl@1371: - # Find the output, starting from the most likely. This scheme is mgl@1371: -# not robust to junk in `.', hence go to wildcards (a.*) only as a last mgl@1371: -# resort. mgl@1371: - mgl@1371: -# Be careful to initialize this variable, since it used to be cached. mgl@1371: -# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. mgl@1371: -ac_cv_exeext= mgl@1371: -# b.out is created by i960 compilers. mgl@1371: -for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out mgl@1371: + # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. mgl@1371: +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' mgl@1371: +# in a Makefile. We should not override ac_cv_exeext if it was cached, mgl@1371: +# so that the user can short-circuit this test for compilers unknown to mgl@1371: +# Autoconf. mgl@1371: +for ac_file in $ac_files '' mgl@1371: do mgl@1371: test -f "$ac_file" || continue mgl@1371: case $ac_file in mgl@1371: - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) mgl@1371: - ;; mgl@1371: - conftest.$ac_ext ) mgl@1371: - # This is the source file. mgl@1371: + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) mgl@1371: ;; mgl@1371: [ab].out ) mgl@1371: # We found the default executable, but exeext='' is most mgl@1371: # certainly right. mgl@1371: break;; mgl@1371: *.* ) mgl@1371: - ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` mgl@1371: - # FIXME: I believe we export ac_cv_exeext for Libtool, mgl@1371: - # but it would be cool to find out if it's true. Does anybody mgl@1371: - # maintain Libtool? --akim. mgl@1371: - export ac_cv_exeext mgl@1371: + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; mgl@1371: + then :; else mgl@1371: + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` mgl@1371: + fi mgl@1371: + # We set ac_cv_exeext here because the later test for it is not mgl@1371: + # safe: cross compilers may not add the suffix if given an `-o' mgl@1371: + # argument, so we may need to know it at that point already. mgl@1371: + # Even if this section looks crufty: it has the advantage of mgl@1371: + # actually working. mgl@1371: break;; mgl@1371: * ) mgl@1371: break;; mgl@1371: esac mgl@1371: done mgl@1371: +test "$ac_cv_exeext" = no && ac_cv_exeext= mgl@1371: + mgl@1371: else mgl@1371: + ac_file='' mgl@1371: +fi mgl@1371: + mgl@1371: +{ echo "$as_me:$LINENO: result: $ac_file" >&5 mgl@1371: +echo "${ECHO_T}$ac_file" >&6; } mgl@1371: +if test -z "$ac_file"; then mgl@1371: echo "$as_me: failed program was:" >&5 mgl@1371: sed 's/^/| /' conftest.$ac_ext >&5 mgl@1371: mgl@1371: @@ -3838,19 +4625,21 @@ mgl@1371: fi mgl@1371: mgl@1371: ac_exeext=$ac_cv_exeext mgl@1371: -echo "$as_me:$LINENO: result: $ac_file" >&5 mgl@1371: -echo "${ECHO_T}$ac_file" >&6 mgl@1371: mgl@1371: -# Check the compiler produces executables we can run. If not, either mgl@1371: +# Check that the compiler produces executables we can run. If not, either mgl@1371: # the compiler is broken, or we cross compile. mgl@1371: -echo "$as_me:$LINENO: checking whether the C compiler works" >&5 mgl@1371: -echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5 mgl@1371: +echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } mgl@1371: # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 mgl@1371: # If not cross compiling, check that we can run a simple program. mgl@1371: if test "$cross_compiling" != yes; then mgl@1371: if { ac_try='./$ac_file' mgl@1371: - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 mgl@1371: - (eval $ac_try) 2>&5 mgl@1371: + { (case "(($ac_try" in mgl@1371: + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; mgl@1371: + *) ac_try_echo=$ac_try;; mgl@1371: +esac mgl@1371: +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 mgl@1371: + (eval "$ac_try") 2>&5 mgl@1371: ac_status=$? mgl@1371: echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: (exit $ac_status); }; }; then mgl@1371: @@ -3869,22 +4658,27 @@ mgl@1371: fi mgl@1371: fi mgl@1371: fi mgl@1371: -echo "$as_me:$LINENO: result: yes" >&5 mgl@1371: -echo "${ECHO_T}yes" >&6 mgl@1371: +{ echo "$as_me:$LINENO: result: yes" >&5 mgl@1371: +echo "${ECHO_T}yes" >&6; } mgl@1371: mgl@1371: rm -f a.out a.exe conftest$ac_cv_exeext b.out mgl@1371: ac_clean_files=$ac_clean_files_save mgl@1371: -# Check the compiler produces executables we can run. If not, either mgl@1371: +# Check that the compiler produces executables we can run. If not, either mgl@1371: # the compiler is broken, or we cross compile. mgl@1371: -echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 mgl@1371: -echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 mgl@1371: -echo "$as_me:$LINENO: result: $cross_compiling" >&5 mgl@1371: -echo "${ECHO_T}$cross_compiling" >&6 mgl@1371: - mgl@1371: -echo "$as_me:$LINENO: checking for suffix of executables" >&5 mgl@1371: -echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 mgl@1371: -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 mgl@1371: - (eval $ac_link) 2>&5 mgl@1371: +{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 mgl@1371: +echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } mgl@1371: +{ echo "$as_me:$LINENO: result: $cross_compiling" >&5 mgl@1371: +echo "${ECHO_T}$cross_compiling" >&6; } mgl@1371: + mgl@1371: +{ echo "$as_me:$LINENO: checking for suffix of executables" >&5 mgl@1371: +echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } mgl@1371: +if { (ac_try="$ac_link" mgl@1371: +case "(($ac_try" in mgl@1371: + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; mgl@1371: + *) ac_try_echo=$ac_try;; mgl@1371: +esac mgl@1371: +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 mgl@1371: + (eval "$ac_link") 2>&5 mgl@1371: ac_status=$? mgl@1371: echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: (exit $ac_status); }; then mgl@1371: @@ -3895,9 +4689,8 @@ mgl@1371: for ac_file in conftest.exe conftest conftest.*; do mgl@1371: test -f "$ac_file" || continue mgl@1371: case $ac_file in mgl@1371: - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; mgl@1371: + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; mgl@1371: *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` mgl@1371: - export ac_cv_exeext mgl@1371: break;; mgl@1371: * ) break;; mgl@1371: esac mgl@1371: @@ -3911,14 +4704,14 @@ mgl@1371: fi mgl@1371: mgl@1371: rm -f conftest$ac_cv_exeext mgl@1371: -echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 mgl@1371: -echo "${ECHO_T}$ac_cv_exeext" >&6 mgl@1371: +{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 mgl@1371: +echo "${ECHO_T}$ac_cv_exeext" >&6; } mgl@1371: mgl@1371: rm -f conftest.$ac_ext mgl@1371: EXEEXT=$ac_cv_exeext mgl@1371: ac_exeext=$EXEEXT mgl@1371: -echo "$as_me:$LINENO: checking for suffix of object files" >&5 mgl@1371: -echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for suffix of object files" >&5 mgl@1371: +echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_objext+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -3938,14 +4731,20 @@ mgl@1371: } mgl@1371: _ACEOF mgl@1371: rm -f conftest.o conftest.obj mgl@1371: -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 mgl@1371: - (eval $ac_compile) 2>&5 mgl@1371: +if { (ac_try="$ac_compile" mgl@1371: +case "(($ac_try" in mgl@1371: + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; mgl@1371: + *) ac_try_echo=$ac_try;; mgl@1371: +esac mgl@1371: +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 mgl@1371: + (eval "$ac_compile") 2>&5 mgl@1371: ac_status=$? mgl@1371: echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: (exit $ac_status); }; then mgl@1371: - for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do mgl@1371: + for ac_file in conftest.o conftest.obj conftest.*; do mgl@1371: + test -f "$ac_file" || continue; mgl@1371: case $ac_file in mgl@1371: - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; mgl@1371: + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; mgl@1371: *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` mgl@1371: break;; mgl@1371: esac mgl@1371: @@ -3963,12 +4762,12 @@ mgl@1371: mgl@1371: rm -f conftest.$ac_cv_objext conftest.$ac_ext mgl@1371: fi mgl@1371: -echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 mgl@1371: -echo "${ECHO_T}$ac_cv_objext" >&6 mgl@1371: +{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 mgl@1371: +echo "${ECHO_T}$ac_cv_objext" >&6; } mgl@1371: OBJEXT=$ac_cv_objext mgl@1371: ac_objext=$OBJEXT mgl@1371: -echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 mgl@1371: -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 mgl@1371: +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_c_compiler_gnu+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -3991,50 +4790,49 @@ mgl@1371: } mgl@1371: _ACEOF mgl@1371: rm -f conftest.$ac_objext mgl@1371: -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 mgl@1371: - (eval $ac_compile) 2>conftest.er1 mgl@1371: +if { (ac_try="$ac_compile" mgl@1371: +case "(($ac_try" in mgl@1371: + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; mgl@1371: + *) ac_try_echo=$ac_try;; mgl@1371: +esac mgl@1371: +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 mgl@1371: + (eval "$ac_compile") 2>conftest.er1 mgl@1371: ac_status=$? mgl@1371: grep -v '^ *+' conftest.er1 >conftest.err mgl@1371: rm -f conftest.er1 mgl@1371: cat conftest.err >&5 mgl@1371: echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); } && mgl@1371: - { ac_try='test -z "$ac_c_werror_flag" mgl@1371: - || test ! -s conftest.err' mgl@1371: - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 mgl@1371: - (eval $ac_try) 2>&5 mgl@1371: - ac_status=$? mgl@1371: - echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); }; } && mgl@1371: - { ac_try='test -s conftest.$ac_objext' mgl@1371: - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 mgl@1371: - (eval $ac_try) 2>&5 mgl@1371: - ac_status=$? mgl@1371: - echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); }; }; then mgl@1371: + (exit $ac_status); } && { mgl@1371: + test -z "$ac_c_werror_flag" || mgl@1371: + test ! -s conftest.err mgl@1371: + } && test -s conftest.$ac_objext; then mgl@1371: ac_compiler_gnu=yes mgl@1371: else mgl@1371: echo "$as_me: failed program was:" >&5 mgl@1371: sed 's/^/| /' conftest.$ac_ext >&5 mgl@1371: mgl@1371: -ac_compiler_gnu=no mgl@1371: + ac_compiler_gnu=no mgl@1371: fi mgl@1371: -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext mgl@1371: + mgl@1371: +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext mgl@1371: ac_cv_c_compiler_gnu=$ac_compiler_gnu mgl@1371: mgl@1371: fi mgl@1371: -echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 mgl@1371: -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 mgl@1371: +{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 mgl@1371: +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } mgl@1371: GCC=`test $ac_compiler_gnu = yes && echo yes` mgl@1371: ac_test_CFLAGS=${CFLAGS+set} mgl@1371: ac_save_CFLAGS=$CFLAGS mgl@1371: -CFLAGS="-g" mgl@1371: -echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 mgl@1371: -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 mgl@1371: +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_prog_cc_g+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: - cat >conftest.$ac_ext <<_ACEOF mgl@1371: + ac_save_c_werror_flag=$ac_c_werror_flag mgl@1371: + ac_c_werror_flag=yes mgl@1371: + ac_cv_prog_cc_g=no mgl@1371: + CFLAGS="-g" mgl@1371: + cat >conftest.$ac_ext <<_ACEOF mgl@1371: /* confdefs.h. */ mgl@1371: _ACEOF mgl@1371: cat confdefs.h >>conftest.$ac_ext mgl@1371: @@ -4050,38 +4848,118 @@ mgl@1371: } mgl@1371: _ACEOF mgl@1371: rm -f conftest.$ac_objext mgl@1371: -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 mgl@1371: - (eval $ac_compile) 2>conftest.er1 mgl@1371: +if { (ac_try="$ac_compile" mgl@1371: +case "(($ac_try" in mgl@1371: + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; mgl@1371: + *) ac_try_echo=$ac_try;; mgl@1371: +esac mgl@1371: +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 mgl@1371: + (eval "$ac_compile") 2>conftest.er1 mgl@1371: ac_status=$? mgl@1371: grep -v '^ *+' conftest.er1 >conftest.err mgl@1371: rm -f conftest.er1 mgl@1371: cat conftest.err >&5 mgl@1371: echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); } && mgl@1371: - { ac_try='test -z "$ac_c_werror_flag" mgl@1371: - || test ! -s conftest.err' mgl@1371: - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 mgl@1371: - (eval $ac_try) 2>&5 mgl@1371: + (exit $ac_status); } && { mgl@1371: + test -z "$ac_c_werror_flag" || mgl@1371: + test ! -s conftest.err mgl@1371: + } && test -s conftest.$ac_objext; then mgl@1371: + ac_cv_prog_cc_g=yes mgl@1371: +else mgl@1371: + echo "$as_me: failed program was:" >&5 mgl@1371: +sed 's/^/| /' conftest.$ac_ext >&5 mgl@1371: + mgl@1371: + CFLAGS="" mgl@1371: + cat >conftest.$ac_ext <<_ACEOF mgl@1371: +/* confdefs.h. */ mgl@1371: +_ACEOF mgl@1371: +cat confdefs.h >>conftest.$ac_ext mgl@1371: +cat >>conftest.$ac_ext <<_ACEOF mgl@1371: +/* end confdefs.h. */ mgl@1371: + mgl@1371: +int mgl@1371: +main () mgl@1371: +{ mgl@1371: + mgl@1371: + ; mgl@1371: + return 0; mgl@1371: +} mgl@1371: +_ACEOF mgl@1371: +rm -f conftest.$ac_objext mgl@1371: +if { (ac_try="$ac_compile" mgl@1371: +case "(($ac_try" in mgl@1371: + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; mgl@1371: + *) ac_try_echo=$ac_try;; mgl@1371: +esac mgl@1371: +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 mgl@1371: + (eval "$ac_compile") 2>conftest.er1 mgl@1371: ac_status=$? mgl@1371: + grep -v '^ *+' conftest.er1 >conftest.err mgl@1371: + rm -f conftest.er1 mgl@1371: + cat conftest.err >&5 mgl@1371: echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); }; } && mgl@1371: - { ac_try='test -s conftest.$ac_objext' mgl@1371: - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 mgl@1371: - (eval $ac_try) 2>&5 mgl@1371: + (exit $ac_status); } && { mgl@1371: + test -z "$ac_c_werror_flag" || mgl@1371: + test ! -s conftest.err mgl@1371: + } && test -s conftest.$ac_objext; then mgl@1371: + : mgl@1371: +else mgl@1371: + echo "$as_me: failed program was:" >&5 mgl@1371: +sed 's/^/| /' conftest.$ac_ext >&5 mgl@1371: + mgl@1371: + ac_c_werror_flag=$ac_save_c_werror_flag mgl@1371: + CFLAGS="-g" mgl@1371: + cat >conftest.$ac_ext <<_ACEOF mgl@1371: +/* confdefs.h. */ mgl@1371: +_ACEOF mgl@1371: +cat confdefs.h >>conftest.$ac_ext mgl@1371: +cat >>conftest.$ac_ext <<_ACEOF mgl@1371: +/* end confdefs.h. */ mgl@1371: + mgl@1371: +int mgl@1371: +main () mgl@1371: +{ mgl@1371: + mgl@1371: + ; mgl@1371: + return 0; mgl@1371: +} mgl@1371: +_ACEOF mgl@1371: +rm -f conftest.$ac_objext mgl@1371: +if { (ac_try="$ac_compile" mgl@1371: +case "(($ac_try" in mgl@1371: + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; mgl@1371: + *) ac_try_echo=$ac_try;; mgl@1371: +esac mgl@1371: +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 mgl@1371: + (eval "$ac_compile") 2>conftest.er1 mgl@1371: ac_status=$? mgl@1371: + grep -v '^ *+' conftest.er1 >conftest.err mgl@1371: + rm -f conftest.er1 mgl@1371: + cat conftest.err >&5 mgl@1371: echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); }; }; then mgl@1371: + (exit $ac_status); } && { mgl@1371: + test -z "$ac_c_werror_flag" || mgl@1371: + test ! -s conftest.err mgl@1371: + } && test -s conftest.$ac_objext; then mgl@1371: ac_cv_prog_cc_g=yes mgl@1371: else mgl@1371: echo "$as_me: failed program was:" >&5 mgl@1371: sed 's/^/| /' conftest.$ac_ext >&5 mgl@1371: mgl@1371: -ac_cv_prog_cc_g=no mgl@1371: + mgl@1371: +fi mgl@1371: + mgl@1371: +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext mgl@1371: fi mgl@1371: -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext mgl@1371: + mgl@1371: +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext mgl@1371: +fi mgl@1371: + mgl@1371: +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext mgl@1371: + ac_c_werror_flag=$ac_save_c_werror_flag mgl@1371: fi mgl@1371: -echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 mgl@1371: -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 mgl@1371: +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 mgl@1371: +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } mgl@1371: if test "$ac_test_CFLAGS" = set; then mgl@1371: CFLAGS=$ac_save_CFLAGS mgl@1371: elif test $ac_cv_prog_cc_g = yes; then mgl@1371: @@ -4097,12 +4975,12 @@ mgl@1371: CFLAGS= mgl@1371: fi mgl@1371: fi mgl@1371: -echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 mgl@1371: -echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 mgl@1371: -if test "${ac_cv_prog_cc_stdc+set}" = set; then mgl@1371: +{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 mgl@1371: +echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } mgl@1371: +if test "${ac_cv_prog_cc_c89+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: - ac_cv_prog_cc_stdc=no mgl@1371: + ac_cv_prog_cc_c89=no mgl@1371: ac_save_CC=$CC mgl@1371: cat >conftest.$ac_ext <<_ACEOF mgl@1371: /* confdefs.h. */ mgl@1371: @@ -4136,12 +5014,17 @@ mgl@1371: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has mgl@1371: function prototypes and stuff, but not '\xHH' hex character constants. mgl@1371: These don't provoke an error unfortunately, instead are silently treated mgl@1371: - as 'x'. The following induces an error, until -std1 is added to get mgl@1371: + as 'x'. The following induces an error, until -std is added to get mgl@1371: proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an mgl@1371: array size at least. It's necessary to write '\x00'==0 to get something mgl@1371: - that's true only with -std1. */ mgl@1371: + that's true only with -std. */ mgl@1371: int osf4_cc_array ['\x00' == 0 ? 1 : -1]; mgl@1371: mgl@1371: +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters mgl@1371: + inside strings and character constants. */ mgl@1371: +#define FOO(x) 'x' mgl@1371: +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; mgl@1371: + mgl@1371: int test (int i, double x); mgl@1371: struct s1 {int (*f) (int a);}; mgl@1371: struct s2 {int (*f) (double a);}; mgl@1371: @@ -4156,205 +5039,57 @@ mgl@1371: return 0; mgl@1371: } mgl@1371: _ACEOF mgl@1371: -# Don't try gcc -ansi; that turns off useful extensions and mgl@1371: -# breaks some systems' header files. mgl@1371: -# AIX -qlanglvl=ansi mgl@1371: -# Ultrix and OSF/1 -std1 mgl@1371: -# HP-UX 10.20 and later -Ae mgl@1371: -# HP-UX older versions -Aa -D_HPUX_SOURCE mgl@1371: -# SVR4 -Xc -D__EXTENSIONS__ mgl@1371: -for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" mgl@1371: +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ mgl@1371: + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" mgl@1371: do mgl@1371: CC="$ac_save_CC $ac_arg" mgl@1371: rm -f conftest.$ac_objext mgl@1371: -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 mgl@1371: - (eval $ac_compile) 2>conftest.er1 mgl@1371: +if { (ac_try="$ac_compile" mgl@1371: +case "(($ac_try" in mgl@1371: + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; mgl@1371: + *) ac_try_echo=$ac_try;; mgl@1371: +esac mgl@1371: +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 mgl@1371: + (eval "$ac_compile") 2>conftest.er1 mgl@1371: ac_status=$? mgl@1371: grep -v '^ *+' conftest.er1 >conftest.err mgl@1371: rm -f conftest.er1 mgl@1371: cat conftest.err >&5 mgl@1371: echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); } && mgl@1371: - { ac_try='test -z "$ac_c_werror_flag" mgl@1371: - || test ! -s conftest.err' mgl@1371: - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 mgl@1371: - (eval $ac_try) 2>&5 mgl@1371: - ac_status=$? mgl@1371: - echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); }; } && mgl@1371: - { ac_try='test -s conftest.$ac_objext' mgl@1371: - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 mgl@1371: - (eval $ac_try) 2>&5 mgl@1371: - ac_status=$? mgl@1371: - echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); }; }; then mgl@1371: - ac_cv_prog_cc_stdc=$ac_arg mgl@1371: -break mgl@1371: + (exit $ac_status); } && { mgl@1371: + test -z "$ac_c_werror_flag" || mgl@1371: + test ! -s conftest.err mgl@1371: + } && test -s conftest.$ac_objext; then mgl@1371: + ac_cv_prog_cc_c89=$ac_arg mgl@1371: else mgl@1371: echo "$as_me: failed program was:" >&5 mgl@1371: sed 's/^/| /' conftest.$ac_ext >&5 mgl@1371: mgl@1371: + mgl@1371: fi mgl@1371: -rm -f conftest.err conftest.$ac_objext mgl@1371: + mgl@1371: +rm -f core conftest.err conftest.$ac_objext mgl@1371: + test "x$ac_cv_prog_cc_c89" != "xno" && break mgl@1371: done mgl@1371: -rm -f conftest.$ac_ext conftest.$ac_objext mgl@1371: +rm -f conftest.$ac_ext mgl@1371: CC=$ac_save_CC mgl@1371: mgl@1371: fi mgl@1371: - mgl@1371: -case "x$ac_cv_prog_cc_stdc" in mgl@1371: - x|xno) mgl@1371: - echo "$as_me:$LINENO: result: none needed" >&5 mgl@1371: -echo "${ECHO_T}none needed" >&6 ;; mgl@1371: +# AC_CACHE_VAL mgl@1371: +case "x$ac_cv_prog_cc_c89" in mgl@1371: + x) mgl@1371: + { echo "$as_me:$LINENO: result: none needed" >&5 mgl@1371: +echo "${ECHO_T}none needed" >&6; } ;; mgl@1371: + xno) mgl@1371: + { echo "$as_me:$LINENO: result: unsupported" >&5 mgl@1371: +echo "${ECHO_T}unsupported" >&6; } ;; mgl@1371: *) mgl@1371: - echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 mgl@1371: -echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 mgl@1371: - CC="$CC $ac_cv_prog_cc_stdc" ;; mgl@1371: + CC="$CC $ac_cv_prog_cc_c89" mgl@1371: + { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 mgl@1371: +echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; mgl@1371: esac mgl@1371: mgl@1371: -# Some people use a C++ compiler to compile C. Since we use `exit', mgl@1371: -# in C++ we need to declare it. In case someone uses the same compiler mgl@1371: -# for both compiling C and C++ we need to have the C++ compiler decide mgl@1371: -# the declaration of exit, since it's the most demanding environment. mgl@1371: -cat >conftest.$ac_ext <<_ACEOF mgl@1371: -#ifndef __cplusplus mgl@1371: - choke me mgl@1371: -#endif mgl@1371: -_ACEOF mgl@1371: -rm -f conftest.$ac_objext mgl@1371: -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 mgl@1371: - (eval $ac_compile) 2>conftest.er1 mgl@1371: - ac_status=$? mgl@1371: - grep -v '^ *+' conftest.er1 >conftest.err mgl@1371: - rm -f conftest.er1 mgl@1371: - cat conftest.err >&5 mgl@1371: - echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); } && mgl@1371: - { ac_try='test -z "$ac_c_werror_flag" mgl@1371: - || test ! -s conftest.err' mgl@1371: - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 mgl@1371: - (eval $ac_try) 2>&5 mgl@1371: - ac_status=$? mgl@1371: - echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); }; } && mgl@1371: - { ac_try='test -s conftest.$ac_objext' mgl@1371: - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 mgl@1371: - (eval $ac_try) 2>&5 mgl@1371: - ac_status=$? mgl@1371: - echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); }; }; then mgl@1371: - for ac_declaration in \ mgl@1371: - '' \ mgl@1371: - 'extern "C" void std::exit (int) throw (); using std::exit;' \ mgl@1371: - 'extern "C" void std::exit (int); using std::exit;' \ mgl@1371: - 'extern "C" void exit (int) throw ();' \ mgl@1371: - 'extern "C" void exit (int);' \ mgl@1371: - 'void exit (int);' mgl@1371: -do mgl@1371: - cat >conftest.$ac_ext <<_ACEOF mgl@1371: -/* confdefs.h. */ mgl@1371: -_ACEOF mgl@1371: -cat confdefs.h >>conftest.$ac_ext mgl@1371: -cat >>conftest.$ac_ext <<_ACEOF mgl@1371: -/* end confdefs.h. */ mgl@1371: -$ac_declaration mgl@1371: -#include mgl@1371: -int mgl@1371: -main () mgl@1371: -{ mgl@1371: -exit (42); mgl@1371: - ; mgl@1371: - return 0; mgl@1371: -} mgl@1371: -_ACEOF mgl@1371: -rm -f conftest.$ac_objext mgl@1371: -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 mgl@1371: - (eval $ac_compile) 2>conftest.er1 mgl@1371: - ac_status=$? mgl@1371: - grep -v '^ *+' conftest.er1 >conftest.err mgl@1371: - rm -f conftest.er1 mgl@1371: - cat conftest.err >&5 mgl@1371: - echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); } && mgl@1371: - { ac_try='test -z "$ac_c_werror_flag" mgl@1371: - || test ! -s conftest.err' mgl@1371: - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 mgl@1371: - (eval $ac_try) 2>&5 mgl@1371: - ac_status=$? mgl@1371: - echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); }; } && mgl@1371: - { ac_try='test -s conftest.$ac_objext' mgl@1371: - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 mgl@1371: - (eval $ac_try) 2>&5 mgl@1371: - ac_status=$? mgl@1371: - echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); }; }; then mgl@1371: - : mgl@1371: -else mgl@1371: - echo "$as_me: failed program was:" >&5 mgl@1371: -sed 's/^/| /' conftest.$ac_ext >&5 mgl@1371: - mgl@1371: -continue mgl@1371: -fi mgl@1371: -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext mgl@1371: - cat >conftest.$ac_ext <<_ACEOF mgl@1371: -/* confdefs.h. */ mgl@1371: -_ACEOF mgl@1371: -cat confdefs.h >>conftest.$ac_ext mgl@1371: -cat >>conftest.$ac_ext <<_ACEOF mgl@1371: -/* end confdefs.h. */ mgl@1371: -$ac_declaration mgl@1371: -int mgl@1371: -main () mgl@1371: -{ mgl@1371: -exit (42); mgl@1371: - ; mgl@1371: - return 0; mgl@1371: -} mgl@1371: -_ACEOF mgl@1371: -rm -f conftest.$ac_objext mgl@1371: -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 mgl@1371: - (eval $ac_compile) 2>conftest.er1 mgl@1371: - ac_status=$? mgl@1371: - grep -v '^ *+' conftest.er1 >conftest.err mgl@1371: - rm -f conftest.er1 mgl@1371: - cat conftest.err >&5 mgl@1371: - echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); } && mgl@1371: - { ac_try='test -z "$ac_c_werror_flag" mgl@1371: - || test ! -s conftest.err' mgl@1371: - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 mgl@1371: - (eval $ac_try) 2>&5 mgl@1371: - ac_status=$? mgl@1371: - echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); }; } && mgl@1371: - { ac_try='test -s conftest.$ac_objext' mgl@1371: - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 mgl@1371: - (eval $ac_try) 2>&5 mgl@1371: - ac_status=$? mgl@1371: - echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); }; }; then mgl@1371: - break mgl@1371: -else mgl@1371: - echo "$as_me: failed program was:" >&5 mgl@1371: -sed 's/^/| /' conftest.$ac_ext >&5 mgl@1371: - mgl@1371: -fi mgl@1371: -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext mgl@1371: -done mgl@1371: -rm -f conftest* mgl@1371: -if test -n "$ac_declaration"; then mgl@1371: - echo '#ifdef __cplusplus' >>confdefs.h mgl@1371: - echo $ac_declaration >>confdefs.h mgl@1371: - echo '#endif' >>confdefs.h mgl@1371: -fi mgl@1371: mgl@1371: -else mgl@1371: - echo "$as_me: failed program was:" >&5 mgl@1371: -sed 's/^/| /' conftest.$ac_ext >&5 mgl@1371: - mgl@1371: -fi mgl@1371: -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext mgl@1371: ac_ext=c mgl@1371: ac_cpp='$CPP $CPPFLAGS' mgl@1371: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' mgl@1371: @@ -4363,8 +5098,8 @@ mgl@1371: mgl@1371: depcc="$CC" am_compiler_list= mgl@1371: mgl@1371: -echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 mgl@1371: -echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 mgl@1371: +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; } mgl@1371: if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -4446,58 +5181,273 @@ mgl@1371: fi mgl@1371: done mgl@1371: mgl@1371: - cd .. mgl@1371: - rm -rf conftest.dir mgl@1371: -else mgl@1371: - am_cv_CC_dependencies_compiler_type=none mgl@1371: + cd .. mgl@1371: + rm -rf conftest.dir mgl@1371: +else mgl@1371: + am_cv_CC_dependencies_compiler_type=none mgl@1371: +fi mgl@1371: + mgl@1371: +fi mgl@1371: +{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 mgl@1371: +echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; } mgl@1371: +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: +if mgl@1371: + test "x$enable_dependency_tracking" != xno \ mgl@1371: + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then mgl@1371: + am__fastdepCC_TRUE= mgl@1371: + am__fastdepCC_FALSE='#' mgl@1371: +else mgl@1371: + am__fastdepCC_TRUE='#' mgl@1371: + am__fastdepCC_FALSE= mgl@1371: +fi mgl@1371: + mgl@1371: + mgl@1371: +{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 mgl@1371: +echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } mgl@1371: +if test "${ac_cv_path_GREP+set}" = set; then mgl@1371: + echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: +else mgl@1371: + # Extract the first word of "grep ggrep" to use in msg output mgl@1371: +if test -z "$GREP"; then mgl@1371: +set dummy grep ggrep; ac_prog_name=$2 mgl@1371: +if test "${ac_cv_path_GREP+set}" = set; then mgl@1371: + echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: +else mgl@1371: + ac_path_GREP_found=false mgl@1371: +# Loop through the user's path and test for each of PROGNAME-LIST mgl@1371: +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR mgl@1371: +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin mgl@1371: +do mgl@1371: + IFS=$as_save_IFS mgl@1371: + test -z "$as_dir" && as_dir=. mgl@1371: + for ac_prog in grep ggrep; do mgl@1371: + for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" mgl@1371: + { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue mgl@1371: + # Check for GNU ac_path_GREP and select it if it is found. mgl@1371: + # Check for GNU $ac_path_GREP mgl@1371: +case `"$ac_path_GREP" --version 2>&1` in mgl@1371: +*GNU*) mgl@1371: + ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; mgl@1371: +*) mgl@1371: + ac_count=0 mgl@1371: + echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" mgl@1371: + while : mgl@1371: + do mgl@1371: + cat "conftest.in" "conftest.in" >"conftest.tmp" mgl@1371: + mv "conftest.tmp" "conftest.in" mgl@1371: + cp "conftest.in" "conftest.nl" mgl@1371: + echo 'GREP' >> "conftest.nl" mgl@1371: + "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break mgl@1371: + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break mgl@1371: + ac_count=`expr $ac_count + 1` mgl@1371: + if test $ac_count -gt ${ac_path_GREP_max-0}; then mgl@1371: + # Best one so far, save it but keep looking for a better one mgl@1371: + ac_cv_path_GREP="$ac_path_GREP" mgl@1371: + ac_path_GREP_max=$ac_count mgl@1371: + fi mgl@1371: + # 10*(2^10) chars as input seems more than enough mgl@1371: + test $ac_count -gt 10 && break mgl@1371: + done mgl@1371: + rm -f conftest.in conftest.tmp conftest.nl conftest.out;; mgl@1371: +esac mgl@1371: + mgl@1371: + mgl@1371: + $ac_path_GREP_found && break 3 mgl@1371: + done mgl@1371: +done mgl@1371: + mgl@1371: +done mgl@1371: +IFS=$as_save_IFS mgl@1371: + mgl@1371: + mgl@1371: +fi mgl@1371: + mgl@1371: +GREP="$ac_cv_path_GREP" mgl@1371: +if test -z "$GREP"; then mgl@1371: + { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 mgl@1371: +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} mgl@1371: + { (exit 1); exit 1; }; } mgl@1371: +fi mgl@1371: + mgl@1371: +else mgl@1371: + ac_cv_path_GREP=$GREP mgl@1371: +fi mgl@1371: + mgl@1371: + mgl@1371: +fi mgl@1371: +{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 mgl@1371: +echo "${ECHO_T}$ac_cv_path_GREP" >&6; } mgl@1371: + GREP="$ac_cv_path_GREP" mgl@1371: + mgl@1371: + mgl@1371: +{ echo "$as_me:$LINENO: checking for egrep" >&5 mgl@1371: +echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } mgl@1371: +if test "${ac_cv_path_EGREP+set}" = set; then mgl@1371: + echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: +else mgl@1371: + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 mgl@1371: + then ac_cv_path_EGREP="$GREP -E" mgl@1371: + else mgl@1371: + # Extract the first word of "egrep" to use in msg output mgl@1371: +if test -z "$EGREP"; then mgl@1371: +set dummy egrep; ac_prog_name=$2 mgl@1371: +if test "${ac_cv_path_EGREP+set}" = set; then mgl@1371: + echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: +else mgl@1371: + ac_path_EGREP_found=false mgl@1371: +# Loop through the user's path and test for each of PROGNAME-LIST mgl@1371: +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR mgl@1371: +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin mgl@1371: +do mgl@1371: + IFS=$as_save_IFS mgl@1371: + test -z "$as_dir" && as_dir=. mgl@1371: + for ac_prog in egrep; do mgl@1371: + for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" mgl@1371: + { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue mgl@1371: + # Check for GNU ac_path_EGREP and select it if it is found. mgl@1371: + # Check for GNU $ac_path_EGREP mgl@1371: +case `"$ac_path_EGREP" --version 2>&1` in mgl@1371: +*GNU*) mgl@1371: + ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; mgl@1371: +*) mgl@1371: + ac_count=0 mgl@1371: + echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" mgl@1371: + while : mgl@1371: + do mgl@1371: + cat "conftest.in" "conftest.in" >"conftest.tmp" mgl@1371: + mv "conftest.tmp" "conftest.in" mgl@1371: + cp "conftest.in" "conftest.nl" mgl@1371: + echo 'EGREP' >> "conftest.nl" mgl@1371: + "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break mgl@1371: + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break mgl@1371: + ac_count=`expr $ac_count + 1` mgl@1371: + if test $ac_count -gt ${ac_path_EGREP_max-0}; then mgl@1371: + # Best one so far, save it but keep looking for a better one mgl@1371: + ac_cv_path_EGREP="$ac_path_EGREP" mgl@1371: + ac_path_EGREP_max=$ac_count mgl@1371: + fi mgl@1371: + # 10*(2^10) chars as input seems more than enough mgl@1371: + test $ac_count -gt 10 && break mgl@1371: + done mgl@1371: + rm -f conftest.in conftest.tmp conftest.nl conftest.out;; mgl@1371: +esac mgl@1371: + mgl@1371: + mgl@1371: + $ac_path_EGREP_found && break 3 mgl@1371: + done mgl@1371: +done mgl@1371: + mgl@1371: +done mgl@1371: +IFS=$as_save_IFS mgl@1371: + mgl@1371: + mgl@1371: fi mgl@1371: mgl@1371: +EGREP="$ac_cv_path_EGREP" mgl@1371: +if test -z "$EGREP"; then mgl@1371: + { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 mgl@1371: +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} mgl@1371: + { (exit 1); exit 1; }; } mgl@1371: fi mgl@1371: -echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 mgl@1371: -echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6 mgl@1371: -CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type mgl@1371: mgl@1371: +else mgl@1371: + ac_cv_path_EGREP=$EGREP mgl@1371: +fi mgl@1371: mgl@1371: mgl@1371: -if mgl@1371: - test "x$enable_dependency_tracking" != xno \ mgl@1371: - && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then mgl@1371: - am__fastdepCC_TRUE= mgl@1371: - am__fastdepCC_FALSE='#' mgl@1371: -else mgl@1371: - am__fastdepCC_TRUE='#' mgl@1371: - am__fastdepCC_FALSE= mgl@1371: + fi mgl@1371: fi mgl@1371: +{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 mgl@1371: +echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } mgl@1371: + EGREP="$ac_cv_path_EGREP" mgl@1371: mgl@1371: mgl@1371: -echo "$as_me:$LINENO: checking for egrep" >&5 mgl@1371: -echo $ECHO_N "checking for egrep... $ECHO_C" >&6 mgl@1371: -if test "${ac_cv_prog_egrep+set}" = set; then mgl@1371: +{ echo "$as_me:$LINENO: checking for fgrep" >&5 mgl@1371: +echo $ECHO_N "checking for fgrep... $ECHO_C" >&6; } mgl@1371: +if test "${ac_cv_path_FGREP+set}" = set; then mgl@1371: + echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: +else mgl@1371: + if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 mgl@1371: + then ac_cv_path_FGREP="$GREP -F" mgl@1371: + else mgl@1371: + # Extract the first word of "fgrep" to use in msg output mgl@1371: +if test -z "$FGREP"; then mgl@1371: +set dummy fgrep; ac_prog_name=$2 mgl@1371: +if test "${ac_cv_path_FGREP+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: - if echo a | (grep -E '(a|b)') >/dev/null 2>&1 mgl@1371: - then ac_cv_prog_egrep='grep -E' mgl@1371: - else ac_cv_prog_egrep='egrep' mgl@1371: + ac_path_FGREP_found=false mgl@1371: +# Loop through the user's path and test for each of PROGNAME-LIST mgl@1371: +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR mgl@1371: +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin mgl@1371: +do mgl@1371: + IFS=$as_save_IFS mgl@1371: + test -z "$as_dir" && as_dir=. mgl@1371: + for ac_prog in fgrep; do mgl@1371: + for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: + ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" mgl@1371: + { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue mgl@1371: + # Check for GNU ac_path_FGREP and select it if it is found. mgl@1371: + # Check for GNU $ac_path_FGREP mgl@1371: +case `"$ac_path_FGREP" --version 2>&1` in mgl@1371: +*GNU*) mgl@1371: + ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; mgl@1371: +*) mgl@1371: + ac_count=0 mgl@1371: + echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" mgl@1371: + while : mgl@1371: + do mgl@1371: + cat "conftest.in" "conftest.in" >"conftest.tmp" mgl@1371: + mv "conftest.tmp" "conftest.in" mgl@1371: + cp "conftest.in" "conftest.nl" mgl@1371: + echo 'FGREP' >> "conftest.nl" mgl@1371: + "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break mgl@1371: + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break mgl@1371: + ac_count=`expr $ac_count + 1` mgl@1371: + if test $ac_count -gt ${ac_path_FGREP_max-0}; then mgl@1371: + # Best one so far, save it but keep looking for a better one mgl@1371: + ac_cv_path_FGREP="$ac_path_FGREP" mgl@1371: + ac_path_FGREP_max=$ac_count mgl@1371: fi mgl@1371: + # 10*(2^10) chars as input seems more than enough mgl@1371: + test $ac_count -gt 10 && break mgl@1371: + done mgl@1371: + rm -f conftest.in conftest.tmp conftest.nl conftest.out;; mgl@1371: +esac mgl@1371: + mgl@1371: + mgl@1371: + $ac_path_FGREP_found && break 3 mgl@1371: + done mgl@1371: +done mgl@1371: + mgl@1371: +done mgl@1371: +IFS=$as_save_IFS mgl@1371: + mgl@1371: + mgl@1371: fi mgl@1371: -echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 mgl@1371: -echo "${ECHO_T}$ac_cv_prog_egrep" >&6 mgl@1371: - EGREP=$ac_cv_prog_egrep mgl@1371: mgl@1371: +FGREP="$ac_cv_path_FGREP" mgl@1371: +if test -z "$FGREP"; then mgl@1371: + { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 mgl@1371: +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} mgl@1371: + { (exit 1); exit 1; }; } mgl@1371: +fi mgl@1371: mgl@1371: -echo "$as_me:$LINENO: checking for fgrep" >&5 mgl@1371: -echo $ECHO_N "checking for fgrep... $ECHO_C" >&6 mgl@1371: -if test "${ac_cv_prog_fgrep+set}" = set; then mgl@1371: - echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: - if echo 'ab*c' | (grep -F 'ab*c') >/dev/null 2>&1 mgl@1371: - then ac_cv_prog_fgrep='grep -F' mgl@1371: - else ac_cv_prog_fgrep='fgrep' mgl@1371: - fi mgl@1371: + ac_cv_path_FGREP=$FGREP mgl@1371: +fi mgl@1371: + mgl@1371: + mgl@1371: + fi mgl@1371: fi mgl@1371: -echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5 mgl@1371: -echo "${ECHO_T}$ac_cv_prog_fgrep" >&6 mgl@1371: - FGREP=$ac_cv_prog_fgrep mgl@1371: +{ echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5 mgl@1371: +echo "${ECHO_T}$ac_cv_path_FGREP" >&6; } mgl@1371: + FGREP="$ac_cv_path_FGREP" mgl@1371: mgl@1371: mgl@1371: test -z "$GREP" && GREP=grep mgl@1371: @@ -4520,18 +5470,18 @@ mgl@1371: mgl@1371: mgl@1371: mgl@1371: -# Check whether --with-gnu-ld or --without-gnu-ld was given. mgl@1371: +# Check whether --with-gnu-ld was given. mgl@1371: if test "${with_gnu_ld+set}" = set; then mgl@1371: - withval="$with_gnu_ld" mgl@1371: - test "$withval" = no || with_gnu_ld=yes mgl@1371: + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes mgl@1371: else mgl@1371: with_gnu_ld=no mgl@1371: -fi; mgl@1371: +fi mgl@1371: + mgl@1371: ac_prog=ld mgl@1371: if test "$GCC" = yes; then mgl@1371: # Check if gcc -print-prog-name=ld gives a path. mgl@1371: - echo "$as_me:$LINENO: checking for ld used by $CC" >&5 mgl@1371: -echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6 mgl@1371: + { echo "$as_me:$LINENO: checking for ld used by $CC" >&5 mgl@1371: +echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; } mgl@1371: case $host in mgl@1371: *-*-mingw*) mgl@1371: # gcc leaves a trailing carriage return which upsets mingw mgl@1371: @@ -4560,11 +5510,11 @@ mgl@1371: ;; mgl@1371: esac mgl@1371: elif test "$with_gnu_ld" = yes; then mgl@1371: - echo "$as_me:$LINENO: checking for GNU ld" >&5 mgl@1371: -echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6 mgl@1371: + { echo "$as_me:$LINENO: checking for GNU ld" >&5 mgl@1371: +echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: checking for non-GNU ld" >&5 mgl@1371: -echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6 mgl@1371: + { echo "$as_me:$LINENO: checking for non-GNU ld" >&5 mgl@1371: +echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; } mgl@1371: fi mgl@1371: if test "${lt_cv_path_LD+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: @@ -4597,17 +5547,17 @@ mgl@1371: mgl@1371: LD="$lt_cv_path_LD" mgl@1371: if test -n "$LD"; then mgl@1371: - echo "$as_me:$LINENO: result: $LD" >&5 mgl@1371: -echo "${ECHO_T}$LD" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $LD" >&5 mgl@1371: +echo "${ECHO_T}$LD" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: fi mgl@1371: test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 mgl@1371: echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} mgl@1371: { (exit 1); exit 1; }; } mgl@1371: -echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 mgl@1371: -echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 mgl@1371: +echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; } mgl@1371: if test "${lt_cv_prog_gnu_ld+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -4621,8 +5571,8 @@ mgl@1371: ;; mgl@1371: esac mgl@1371: fi mgl@1371: -echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5 mgl@1371: -echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6 mgl@1371: +{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5 mgl@1371: +echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; } mgl@1371: with_gnu_ld=$lt_cv_prog_gnu_ld mgl@1371: mgl@1371: mgl@1371: @@ -4633,8 +5583,8 @@ mgl@1371: mgl@1371: mgl@1371: mgl@1371: -echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5 mgl@1371: -echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5 mgl@1371: +echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6; } mgl@1371: if test "${lt_cv_path_NM+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -4682,8 +5632,8 @@ mgl@1371: : ${lt_cv_path_NM=no} mgl@1371: fi mgl@1371: fi mgl@1371: -echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5 mgl@1371: -echo "${ECHO_T}$lt_cv_path_NM" >&6 mgl@1371: +{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5 mgl@1371: +echo "${ECHO_T}$lt_cv_path_NM" >&6; } mgl@1371: if test "$lt_cv_path_NM" != "no"; then mgl@1371: NM="$lt_cv_path_NM" mgl@1371: else mgl@1371: @@ -4693,8 +5643,8 @@ mgl@1371: do mgl@1371: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. mgl@1371: set dummy $ac_tool_prefix$ac_prog; ac_word=$2 mgl@1371: -echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_prog_DUMPBIN+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -4707,25 +5657,27 @@ mgl@1371: IFS=$as_save_IFS mgl@1371: test -z "$as_dir" && as_dir=. mgl@1371: for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" mgl@1371: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: break 2 mgl@1371: fi mgl@1371: done mgl@1371: done mgl@1371: +IFS=$as_save_IFS mgl@1371: mgl@1371: fi mgl@1371: fi mgl@1371: DUMPBIN=$ac_cv_prog_DUMPBIN mgl@1371: if test -n "$DUMPBIN"; then mgl@1371: - echo "$as_me:$LINENO: result: $DUMPBIN" >&5 mgl@1371: -echo "${ECHO_T}$DUMPBIN" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $DUMPBIN" >&5 mgl@1371: +echo "${ECHO_T}$DUMPBIN" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: fi mgl@1371: mgl@1371: + mgl@1371: test -n "$DUMPBIN" && break mgl@1371: done mgl@1371: fi mgl@1371: @@ -4735,8 +5687,8 @@ mgl@1371: do mgl@1371: # Extract the first word of "$ac_prog", so it can be a program name with args. mgl@1371: set dummy $ac_prog; ac_word=$2 mgl@1371: -echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -4749,30 +5701,45 @@ mgl@1371: IFS=$as_save_IFS mgl@1371: test -z "$as_dir" && as_dir=. mgl@1371: for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" mgl@1371: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: break 2 mgl@1371: fi mgl@1371: done mgl@1371: done mgl@1371: +IFS=$as_save_IFS mgl@1371: mgl@1371: fi mgl@1371: fi mgl@1371: ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN mgl@1371: if test -n "$ac_ct_DUMPBIN"; then mgl@1371: - echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5 mgl@1371: -echo "${ECHO_T}$ac_ct_DUMPBIN" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5 mgl@1371: +echo "${ECHO_T}$ac_ct_DUMPBIN" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: fi mgl@1371: mgl@1371: + mgl@1371: test -n "$ac_ct_DUMPBIN" && break mgl@1371: done mgl@1371: -test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN=":" mgl@1371: mgl@1371: - DUMPBIN=$ac_ct_DUMPBIN mgl@1371: + if test "x$ac_ct_DUMPBIN" = x; then mgl@1371: + DUMPBIN=":" mgl@1371: + else mgl@1371: + case $cross_compiling:$ac_tool_warned in mgl@1371: +yes:) mgl@1371: +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools mgl@1371: +whose name does not start with the host triplet. If you think this mgl@1371: +configuration is useful to you, please write to autoconf@gnu.org." >&5 mgl@1371: +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools mgl@1371: +whose name does not start with the host triplet. If you think this mgl@1371: +configuration is useful to you, please write to autoconf@gnu.org." >&2;} mgl@1371: +ac_tool_warned=yes ;; mgl@1371: +esac mgl@1371: + DUMPBIN=$ac_ct_DUMPBIN mgl@1371: + fi mgl@1371: fi mgl@1371: mgl@1371: mgl@1371: @@ -4787,43 +5754,43 @@ mgl@1371: mgl@1371: mgl@1371: mgl@1371: -echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5 mgl@1371: -echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5 mgl@1371: +echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6; } mgl@1371: if test "${lt_cv_nm_interface+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: lt_cv_nm_interface="BSD nm" mgl@1371: echo "int some_variable = 0;" > conftest.$ac_ext mgl@1371: - (eval echo "\"\$as_me:4797: $ac_compile\"" >&5) mgl@1371: + (eval echo "\"\$as_me:5764: $ac_compile\"" >&5) mgl@1371: (eval "$ac_compile" 2>conftest.err) mgl@1371: cat conftest.err >&5 mgl@1371: - (eval echo "\"\$as_me:4800: $NM \\\"conftest.$ac_objext\\\"\"" >&5) mgl@1371: + (eval echo "\"\$as_me:5767: $NM \\\"conftest.$ac_objext\\\"\"" >&5) mgl@1371: (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) mgl@1371: cat conftest.err >&5 mgl@1371: - (eval echo "\"\$as_me:4803: output\"" >&5) mgl@1371: + (eval echo "\"\$as_me:5770: output\"" >&5) mgl@1371: cat conftest.out >&5 mgl@1371: if $GREP 'External.*some_variable' conftest.out > /dev/null; then mgl@1371: lt_cv_nm_interface="MS dumpbin" mgl@1371: fi mgl@1371: rm -f conftest* mgl@1371: fi mgl@1371: -echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5 mgl@1371: -echo "${ECHO_T}$lt_cv_nm_interface" >&6 mgl@1371: +{ echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5 mgl@1371: +echo "${ECHO_T}$lt_cv_nm_interface" >&6; } mgl@1371: mgl@1371: -echo "$as_me:$LINENO: checking whether ln -s works" >&5 mgl@1371: -echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking whether ln -s works" >&5 mgl@1371: +echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; } mgl@1371: LN_S=$as_ln_s mgl@1371: if test "$LN_S" = "ln -s"; then mgl@1371: - echo "$as_me:$LINENO: result: yes" >&5 mgl@1371: -echo "${ECHO_T}yes" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: yes" >&5 mgl@1371: +echo "${ECHO_T}yes" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no, using $LN_S" >&5 mgl@1371: -echo "${ECHO_T}no, using $LN_S" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no, using $LN_S" >&5 mgl@1371: +echo "${ECHO_T}no, using $LN_S" >&6; } mgl@1371: fi mgl@1371: mgl@1371: # find the maximum length of command line arguments mgl@1371: -echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5 mgl@1371: -echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5 mgl@1371: +echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; } mgl@1371: if test "${lt_cv_sys_max_cmd_len+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -4942,11 +5909,11 @@ mgl@1371: fi mgl@1371: mgl@1371: if test -n $lt_cv_sys_max_cmd_len ; then mgl@1371: - echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5 mgl@1371: -echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5 mgl@1371: +echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: none" >&5 mgl@1371: -echo "${ECHO_T}none" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: none" >&5 mgl@1371: +echo "${ECHO_T}none" >&6; } mgl@1371: fi mgl@1371: max_cmd_len=$lt_cv_sys_max_cmd_len mgl@1371: mgl@1371: @@ -4959,8 +5926,8 @@ mgl@1371: : ${MV="mv -f"} mgl@1371: : ${RM="rm -f"} mgl@1371: mgl@1371: -echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5 mgl@1371: -echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5 mgl@1371: +echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6; } mgl@1371: # Try some XSI features mgl@1371: xsi_shell=no mgl@1371: ( _lt_dummy="a/b/c" mgl@1371: @@ -4969,18 +5936,18 @@ mgl@1371: && eval 'test $(( 1 + 1 )) -eq 2 \ mgl@1371: && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ mgl@1371: && xsi_shell=yes mgl@1371: -echo "$as_me:$LINENO: result: $xsi_shell" >&5 mgl@1371: -echo "${ECHO_T}$xsi_shell" >&6 mgl@1371: +{ echo "$as_me:$LINENO: result: $xsi_shell" >&5 mgl@1371: +echo "${ECHO_T}$xsi_shell" >&6; } mgl@1371: mgl@1371: mgl@1371: -echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5 mgl@1371: -echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5 mgl@1371: +echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6; } mgl@1371: lt_shell_append=no mgl@1371: ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ mgl@1371: >/dev/null 2>&1 \ mgl@1371: && lt_shell_append=yes mgl@1371: -echo "$as_me:$LINENO: result: $lt_shell_append" >&5 mgl@1371: -echo "${ECHO_T}$lt_shell_append" >&6 mgl@1371: +{ echo "$as_me:$LINENO: result: $lt_shell_append" >&5 mgl@1371: +echo "${ECHO_T}$lt_shell_append" >&6; } mgl@1371: mgl@1371: mgl@1371: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then mgl@1371: @@ -5014,15 +5981,15 @@ mgl@1371: mgl@1371: mgl@1371: mgl@1371: -echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5 mgl@1371: -echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5 mgl@1371: +echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; } mgl@1371: if test "${lt_cv_ld_reload_flag+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: lt_cv_ld_reload_flag='-r' mgl@1371: fi mgl@1371: -echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5 mgl@1371: -echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6 mgl@1371: +{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5 mgl@1371: +echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; } mgl@1371: reload_flag=$lt_cv_ld_reload_flag mgl@1371: case $reload_flag in mgl@1371: "" | " "*) ;; mgl@1371: @@ -5050,8 +6017,8 @@ mgl@1371: if test -n "$ac_tool_prefix"; then mgl@1371: # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. mgl@1371: set dummy ${ac_tool_prefix}objdump; ac_word=$2 mgl@1371: -echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_prog_OBJDUMP+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -5064,32 +6031,34 @@ mgl@1371: IFS=$as_save_IFS mgl@1371: test -z "$as_dir" && as_dir=. mgl@1371: for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" mgl@1371: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: break 2 mgl@1371: fi mgl@1371: done mgl@1371: done mgl@1371: +IFS=$as_save_IFS mgl@1371: mgl@1371: fi mgl@1371: fi mgl@1371: OBJDUMP=$ac_cv_prog_OBJDUMP mgl@1371: if test -n "$OBJDUMP"; then mgl@1371: - echo "$as_me:$LINENO: result: $OBJDUMP" >&5 mgl@1371: -echo "${ECHO_T}$OBJDUMP" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $OBJDUMP" >&5 mgl@1371: +echo "${ECHO_T}$OBJDUMP" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: fi mgl@1371: mgl@1371: + mgl@1371: fi mgl@1371: if test -z "$ac_cv_prog_OBJDUMP"; then mgl@1371: ac_ct_OBJDUMP=$OBJDUMP mgl@1371: # Extract the first word of "objdump", so it can be a program name with args. mgl@1371: set dummy objdump; ac_word=$2 mgl@1371: -echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -5102,27 +6071,41 @@ mgl@1371: IFS=$as_save_IFS mgl@1371: test -z "$as_dir" && as_dir=. mgl@1371: for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: ac_cv_prog_ac_ct_OBJDUMP="objdump" mgl@1371: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: break 2 mgl@1371: fi mgl@1371: done mgl@1371: done mgl@1371: +IFS=$as_save_IFS mgl@1371: mgl@1371: - test -z "$ac_cv_prog_ac_ct_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP="false" mgl@1371: fi mgl@1371: fi mgl@1371: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP mgl@1371: if test -n "$ac_ct_OBJDUMP"; then mgl@1371: - echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5 mgl@1371: -echo "${ECHO_T}$ac_ct_OBJDUMP" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5 mgl@1371: +echo "${ECHO_T}$ac_ct_OBJDUMP" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: fi mgl@1371: mgl@1371: - OBJDUMP=$ac_ct_OBJDUMP mgl@1371: + if test "x$ac_ct_OBJDUMP" = x; then mgl@1371: + OBJDUMP="false" mgl@1371: + else mgl@1371: + case $cross_compiling:$ac_tool_warned in mgl@1371: +yes:) mgl@1371: +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools mgl@1371: +whose name does not start with the host triplet. If you think this mgl@1371: +configuration is useful to you, please write to autoconf@gnu.org." >&5 mgl@1371: +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools mgl@1371: +whose name does not start with the host triplet. If you think this mgl@1371: +configuration is useful to you, please write to autoconf@gnu.org." >&2;} mgl@1371: +ac_tool_warned=yes ;; mgl@1371: +esac mgl@1371: + OBJDUMP=$ac_ct_OBJDUMP mgl@1371: + fi mgl@1371: else mgl@1371: OBJDUMP="$ac_cv_prog_OBJDUMP" mgl@1371: fi mgl@1371: @@ -5134,8 +6117,8 @@ mgl@1371: mgl@1371: mgl@1371: mgl@1371: -echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5 mgl@1371: -echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5 mgl@1371: +echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; } mgl@1371: if test "${lt_cv_deplibs_check_method+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -5330,8 +6313,8 @@ mgl@1371: esac mgl@1371: mgl@1371: fi mgl@1371: -echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5 mgl@1371: -echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6 mgl@1371: +{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5 mgl@1371: +echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; } mgl@1371: file_magic_cmd=$lt_cv_file_magic_cmd mgl@1371: deplibs_check_method=$lt_cv_deplibs_check_method mgl@1371: test -z "$deplibs_check_method" && deplibs_check_method=unknown mgl@1371: @@ -5350,8 +6333,8 @@ mgl@1371: if test -n "$ac_tool_prefix"; then mgl@1371: # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. mgl@1371: set dummy ${ac_tool_prefix}ar; ac_word=$2 mgl@1371: -echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_prog_AR+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -5364,32 +6347,34 @@ mgl@1371: IFS=$as_save_IFS mgl@1371: test -z "$as_dir" && as_dir=. mgl@1371: for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: ac_cv_prog_AR="${ac_tool_prefix}ar" mgl@1371: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: break 2 mgl@1371: fi mgl@1371: done mgl@1371: done mgl@1371: +IFS=$as_save_IFS mgl@1371: mgl@1371: fi mgl@1371: fi mgl@1371: AR=$ac_cv_prog_AR mgl@1371: if test -n "$AR"; then mgl@1371: - echo "$as_me:$LINENO: result: $AR" >&5 mgl@1371: -echo "${ECHO_T}$AR" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $AR" >&5 mgl@1371: +echo "${ECHO_T}$AR" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: fi mgl@1371: mgl@1371: + mgl@1371: fi mgl@1371: if test -z "$ac_cv_prog_AR"; then mgl@1371: ac_ct_AR=$AR mgl@1371: # Extract the first word of "ar", so it can be a program name with args. mgl@1371: set dummy ar; ac_word=$2 mgl@1371: -echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_prog_ac_ct_AR+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -5402,27 +6387,41 @@ mgl@1371: IFS=$as_save_IFS mgl@1371: test -z "$as_dir" && as_dir=. mgl@1371: for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: ac_cv_prog_ac_ct_AR="ar" mgl@1371: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: break 2 mgl@1371: fi mgl@1371: done mgl@1371: done mgl@1371: +IFS=$as_save_IFS mgl@1371: mgl@1371: - test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false" mgl@1371: fi mgl@1371: fi mgl@1371: ac_ct_AR=$ac_cv_prog_ac_ct_AR mgl@1371: if test -n "$ac_ct_AR"; then mgl@1371: - echo "$as_me:$LINENO: result: $ac_ct_AR" >&5 mgl@1371: -echo "${ECHO_T}$ac_ct_AR" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5 mgl@1371: +echo "${ECHO_T}$ac_ct_AR" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: fi mgl@1371: mgl@1371: - AR=$ac_ct_AR mgl@1371: + if test "x$ac_ct_AR" = x; then mgl@1371: + AR="false" mgl@1371: + else mgl@1371: + case $cross_compiling:$ac_tool_warned in mgl@1371: +yes:) mgl@1371: +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools mgl@1371: +whose name does not start with the host triplet. If you think this mgl@1371: +configuration is useful to you, please write to autoconf@gnu.org." >&5 mgl@1371: +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools mgl@1371: +whose name does not start with the host triplet. If you think this mgl@1371: +configuration is useful to you, please write to autoconf@gnu.org." >&2;} mgl@1371: +ac_tool_warned=yes ;; mgl@1371: +esac mgl@1371: + AR=$ac_ct_AR mgl@1371: + fi mgl@1371: else mgl@1371: AR="$ac_cv_prog_AR" mgl@1371: fi mgl@1371: @@ -5443,8 +6442,8 @@ mgl@1371: if test -n "$ac_tool_prefix"; then mgl@1371: # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. mgl@1371: set dummy ${ac_tool_prefix}strip; ac_word=$2 mgl@1371: -echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_prog_STRIP+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -5457,32 +6456,34 @@ mgl@1371: IFS=$as_save_IFS mgl@1371: test -z "$as_dir" && as_dir=. mgl@1371: for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: ac_cv_prog_STRIP="${ac_tool_prefix}strip" mgl@1371: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: break 2 mgl@1371: fi mgl@1371: done mgl@1371: done mgl@1371: +IFS=$as_save_IFS mgl@1371: mgl@1371: fi mgl@1371: fi mgl@1371: STRIP=$ac_cv_prog_STRIP mgl@1371: if test -n "$STRIP"; then mgl@1371: - echo "$as_me:$LINENO: result: $STRIP" >&5 mgl@1371: -echo "${ECHO_T}$STRIP" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $STRIP" >&5 mgl@1371: +echo "${ECHO_T}$STRIP" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: fi mgl@1371: mgl@1371: + mgl@1371: fi mgl@1371: if test -z "$ac_cv_prog_STRIP"; then mgl@1371: ac_ct_STRIP=$STRIP mgl@1371: # Extract the first word of "strip", so it can be a program name with args. mgl@1371: set dummy strip; ac_word=$2 mgl@1371: -echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -5495,27 +6496,41 @@ mgl@1371: IFS=$as_save_IFS mgl@1371: test -z "$as_dir" && as_dir=. mgl@1371: for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: ac_cv_prog_ac_ct_STRIP="strip" mgl@1371: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: break 2 mgl@1371: fi mgl@1371: done mgl@1371: done mgl@1371: +IFS=$as_save_IFS mgl@1371: mgl@1371: - test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" mgl@1371: fi mgl@1371: fi mgl@1371: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP mgl@1371: if test -n "$ac_ct_STRIP"; then mgl@1371: - echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 mgl@1371: -echo "${ECHO_T}$ac_ct_STRIP" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 mgl@1371: +echo "${ECHO_T}$ac_ct_STRIP" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: fi mgl@1371: mgl@1371: - STRIP=$ac_ct_STRIP mgl@1371: + if test "x$ac_ct_STRIP" = x; then mgl@1371: + STRIP=":" mgl@1371: + else mgl@1371: + case $cross_compiling:$ac_tool_warned in mgl@1371: +yes:) mgl@1371: +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools mgl@1371: +whose name does not start with the host triplet. If you think this mgl@1371: +configuration is useful to you, please write to autoconf@gnu.org." >&5 mgl@1371: +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools mgl@1371: +whose name does not start with the host triplet. If you think this mgl@1371: +configuration is useful to you, please write to autoconf@gnu.org." >&2;} mgl@1371: +ac_tool_warned=yes ;; mgl@1371: +esac mgl@1371: + STRIP=$ac_ct_STRIP mgl@1371: + fi mgl@1371: else mgl@1371: STRIP="$ac_cv_prog_STRIP" mgl@1371: fi mgl@1371: @@ -5530,8 +6545,8 @@ mgl@1371: if test -n "$ac_tool_prefix"; then mgl@1371: # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. mgl@1371: set dummy ${ac_tool_prefix}ranlib; ac_word=$2 mgl@1371: -echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_prog_RANLIB+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -5544,32 +6559,34 @@ mgl@1371: IFS=$as_save_IFS mgl@1371: test -z "$as_dir" && as_dir=. mgl@1371: for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" mgl@1371: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: break 2 mgl@1371: fi mgl@1371: done mgl@1371: done mgl@1371: +IFS=$as_save_IFS mgl@1371: mgl@1371: fi mgl@1371: fi mgl@1371: RANLIB=$ac_cv_prog_RANLIB mgl@1371: if test -n "$RANLIB"; then mgl@1371: - echo "$as_me:$LINENO: result: $RANLIB" >&5 mgl@1371: -echo "${ECHO_T}$RANLIB" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $RANLIB" >&5 mgl@1371: +echo "${ECHO_T}$RANLIB" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: fi mgl@1371: mgl@1371: + mgl@1371: fi mgl@1371: if test -z "$ac_cv_prog_RANLIB"; then mgl@1371: ac_ct_RANLIB=$RANLIB mgl@1371: # Extract the first word of "ranlib", so it can be a program name with args. mgl@1371: set dummy ranlib; ac_word=$2 mgl@1371: -echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -5582,27 +6599,41 @@ mgl@1371: IFS=$as_save_IFS mgl@1371: test -z "$as_dir" && as_dir=. mgl@1371: for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: ac_cv_prog_ac_ct_RANLIB="ranlib" mgl@1371: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: break 2 mgl@1371: fi mgl@1371: done mgl@1371: done mgl@1371: +IFS=$as_save_IFS mgl@1371: mgl@1371: - test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" mgl@1371: fi mgl@1371: fi mgl@1371: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB mgl@1371: if test -n "$ac_ct_RANLIB"; then mgl@1371: - echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 mgl@1371: -echo "${ECHO_T}$ac_ct_RANLIB" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 mgl@1371: +echo "${ECHO_T}$ac_ct_RANLIB" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: fi mgl@1371: mgl@1371: - RANLIB=$ac_ct_RANLIB mgl@1371: + if test "x$ac_ct_RANLIB" = x; then mgl@1371: + RANLIB=":" mgl@1371: + else mgl@1371: + case $cross_compiling:$ac_tool_warned in mgl@1371: +yes:) mgl@1371: +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools mgl@1371: +whose name does not start with the host triplet. If you think this mgl@1371: +configuration is useful to you, please write to autoconf@gnu.org." >&5 mgl@1371: +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools mgl@1371: +whose name does not start with the host triplet. If you think this mgl@1371: +configuration is useful to you, please write to autoconf@gnu.org." >&2;} mgl@1371: +ac_tool_warned=yes ;; mgl@1371: +esac mgl@1371: + RANLIB=$ac_ct_RANLIB mgl@1371: + fi mgl@1371: else mgl@1371: RANLIB="$ac_cv_prog_RANLIB" mgl@1371: fi mgl@1371: @@ -5675,8 +6706,8 @@ mgl@1371: mgl@1371: mgl@1371: # Check for command to grab the raw symbol name followed by C symbol from nm. mgl@1371: -echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5 mgl@1371: -echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5 mgl@1371: +echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; } mgl@1371: if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -5895,11 +6926,11 @@ mgl@1371: lt_cv_sys_global_symbol_to_cdecl= mgl@1371: fi mgl@1371: if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then mgl@1371: - echo "$as_me:$LINENO: result: failed" >&5 mgl@1371: -echo "${ECHO_T}failed" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: failed" >&5 mgl@1371: +echo "${ECHO_T}failed" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: ok" >&5 mgl@1371: -echo "${ECHO_T}ok" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: ok" >&5 mgl@1371: +echo "${ECHO_T}ok" >&6; } mgl@1371: fi mgl@1371: mgl@1371: mgl@1371: @@ -5924,11 +6955,11 @@ mgl@1371: mgl@1371: mgl@1371: mgl@1371: -# Check whether --enable-libtool-lock or --disable-libtool-lock was given. mgl@1371: +# Check whether --enable-libtool-lock was given. mgl@1371: if test "${enable_libtool_lock+set}" = set; then mgl@1371: - enableval="$enable_libtool_lock" mgl@1371: + enableval=$enable_libtool_lock; mgl@1371: +fi mgl@1371: mgl@1371: -fi; mgl@1371: test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes mgl@1371: mgl@1371: # Some flags need to be propagated to the compiler or linker for good mgl@1371: @@ -5955,7 +6986,7 @@ mgl@1371: ;; mgl@1371: *-*-irix6*) mgl@1371: # Find out which ABI we are using. mgl@1371: - echo '#line 5958 "configure"' > conftest.$ac_ext mgl@1371: + echo '#line 6989 "configure"' > conftest.$ac_ext mgl@1371: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 mgl@1371: (eval $ac_compile) 2>&5 mgl@1371: ac_status=$? mgl@1371: @@ -6047,8 +7078,8 @@ mgl@1371: # On SCO OpenServer 5, we need -belf to get full-featured binaries. mgl@1371: SAVE_CFLAGS="$CFLAGS" mgl@1371: CFLAGS="$CFLAGS -belf" mgl@1371: - echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5 mgl@1371: -echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6 mgl@1371: + { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5 mgl@1371: +echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; } mgl@1371: if test "${lt_cv_cc_needs_belf+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -6074,35 +7105,32 @@ mgl@1371: } mgl@1371: _ACEOF mgl@1371: rm -f conftest.$ac_objext conftest$ac_exeext mgl@1371: -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 mgl@1371: - (eval $ac_link) 2>conftest.er1 mgl@1371: +if { (ac_try="$ac_link" mgl@1371: +case "(($ac_try" in mgl@1371: + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; mgl@1371: + *) ac_try_echo=$ac_try;; mgl@1371: +esac mgl@1371: +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 mgl@1371: + (eval "$ac_link") 2>conftest.er1 mgl@1371: ac_status=$? mgl@1371: grep -v '^ *+' conftest.er1 >conftest.err mgl@1371: rm -f conftest.er1 mgl@1371: cat conftest.err >&5 mgl@1371: echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); } && mgl@1371: - { ac_try='test -z "$ac_c_werror_flag" mgl@1371: - || test ! -s conftest.err' mgl@1371: - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 mgl@1371: - (eval $ac_try) 2>&5 mgl@1371: - ac_status=$? mgl@1371: - echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); }; } && mgl@1371: - { ac_try='test -s conftest$ac_exeext' mgl@1371: - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 mgl@1371: - (eval $ac_try) 2>&5 mgl@1371: - ac_status=$? mgl@1371: - echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); }; }; then mgl@1371: + (exit $ac_status); } && { mgl@1371: + test -z "$ac_c_werror_flag" || mgl@1371: + test ! -s conftest.err mgl@1371: + } && test -s conftest$ac_exeext && mgl@1371: + $as_test_x conftest$ac_exeext; then mgl@1371: lt_cv_cc_needs_belf=yes mgl@1371: else mgl@1371: echo "$as_me: failed program was:" >&5 mgl@1371: sed 's/^/| /' conftest.$ac_ext >&5 mgl@1371: mgl@1371: -lt_cv_cc_needs_belf=no mgl@1371: + lt_cv_cc_needs_belf=no mgl@1371: fi mgl@1371: -rm -f conftest.err conftest.$ac_objext \ mgl@1371: + mgl@1371: +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ mgl@1371: conftest$ac_exeext conftest.$ac_ext mgl@1371: ac_ext=c mgl@1371: ac_cpp='$CPP $CPPFLAGS' mgl@1371: @@ -6111,8 +7139,8 @@ mgl@1371: ac_compiler_gnu=$ac_cv_c_compiler_gnu mgl@1371: mgl@1371: fi mgl@1371: -echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5 mgl@1371: -echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6 mgl@1371: +{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5 mgl@1371: +echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; } mgl@1371: if test x"$lt_cv_cc_needs_belf" != x"yes"; then mgl@1371: # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf mgl@1371: CFLAGS="$SAVE_CFLAGS" mgl@1371: @@ -6151,8 +7179,8 @@ mgl@1371: if test -n "$ac_tool_prefix"; then mgl@1371: # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. mgl@1371: set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 mgl@1371: -echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_prog_DSYMUTIL+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -6165,32 +7193,34 @@ mgl@1371: IFS=$as_save_IFS mgl@1371: test -z "$as_dir" && as_dir=. mgl@1371: for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" mgl@1371: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: break 2 mgl@1371: fi mgl@1371: done mgl@1371: done mgl@1371: +IFS=$as_save_IFS mgl@1371: mgl@1371: fi mgl@1371: fi mgl@1371: DSYMUTIL=$ac_cv_prog_DSYMUTIL mgl@1371: if test -n "$DSYMUTIL"; then mgl@1371: - echo "$as_me:$LINENO: result: $DSYMUTIL" >&5 mgl@1371: -echo "${ECHO_T}$DSYMUTIL" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $DSYMUTIL" >&5 mgl@1371: +echo "${ECHO_T}$DSYMUTIL" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: fi mgl@1371: mgl@1371: + mgl@1371: fi mgl@1371: if test -z "$ac_cv_prog_DSYMUTIL"; then mgl@1371: ac_ct_DSYMUTIL=$DSYMUTIL mgl@1371: # Extract the first word of "dsymutil", so it can be a program name with args. mgl@1371: set dummy dsymutil; ac_word=$2 mgl@1371: -echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -6203,27 +7233,41 @@ mgl@1371: IFS=$as_save_IFS mgl@1371: test -z "$as_dir" && as_dir=. mgl@1371: for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" mgl@1371: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: break 2 mgl@1371: fi mgl@1371: done mgl@1371: done mgl@1371: +IFS=$as_save_IFS mgl@1371: mgl@1371: - test -z "$ac_cv_prog_ac_ct_DSYMUTIL" && ac_cv_prog_ac_ct_DSYMUTIL=":" mgl@1371: fi mgl@1371: fi mgl@1371: ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL mgl@1371: if test -n "$ac_ct_DSYMUTIL"; then mgl@1371: - echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5 mgl@1371: -echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5 mgl@1371: +echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: fi mgl@1371: mgl@1371: - DSYMUTIL=$ac_ct_DSYMUTIL mgl@1371: + if test "x$ac_ct_DSYMUTIL" = x; then mgl@1371: + DSYMUTIL=":" mgl@1371: + else mgl@1371: + case $cross_compiling:$ac_tool_warned in mgl@1371: +yes:) mgl@1371: +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools mgl@1371: +whose name does not start with the host triplet. If you think this mgl@1371: +configuration is useful to you, please write to autoconf@gnu.org." >&5 mgl@1371: +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools mgl@1371: +whose name does not start with the host triplet. If you think this mgl@1371: +configuration is useful to you, please write to autoconf@gnu.org." >&2;} mgl@1371: +ac_tool_warned=yes ;; mgl@1371: +esac mgl@1371: + DSYMUTIL=$ac_ct_DSYMUTIL mgl@1371: + fi mgl@1371: else mgl@1371: DSYMUTIL="$ac_cv_prog_DSYMUTIL" mgl@1371: fi mgl@1371: @@ -6231,8 +7275,8 @@ mgl@1371: if test -n "$ac_tool_prefix"; then mgl@1371: # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. mgl@1371: set dummy ${ac_tool_prefix}nmedit; ac_word=$2 mgl@1371: -echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_prog_NMEDIT+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -6245,32 +7289,34 @@ mgl@1371: IFS=$as_save_IFS mgl@1371: test -z "$as_dir" && as_dir=. mgl@1371: for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" mgl@1371: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: break 2 mgl@1371: fi mgl@1371: done mgl@1371: done mgl@1371: +IFS=$as_save_IFS mgl@1371: mgl@1371: fi mgl@1371: fi mgl@1371: NMEDIT=$ac_cv_prog_NMEDIT mgl@1371: if test -n "$NMEDIT"; then mgl@1371: - echo "$as_me:$LINENO: result: $NMEDIT" >&5 mgl@1371: -echo "${ECHO_T}$NMEDIT" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $NMEDIT" >&5 mgl@1371: +echo "${ECHO_T}$NMEDIT" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: fi mgl@1371: mgl@1371: + mgl@1371: fi mgl@1371: if test -z "$ac_cv_prog_NMEDIT"; then mgl@1371: ac_ct_NMEDIT=$NMEDIT mgl@1371: # Extract the first word of "nmedit", so it can be a program name with args. mgl@1371: set dummy nmedit; ac_word=$2 mgl@1371: -echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -6283,27 +7329,41 @@ mgl@1371: IFS=$as_save_IFS mgl@1371: test -z "$as_dir" && as_dir=. mgl@1371: for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: ac_cv_prog_ac_ct_NMEDIT="nmedit" mgl@1371: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: break 2 mgl@1371: fi mgl@1371: done mgl@1371: done mgl@1371: +IFS=$as_save_IFS mgl@1371: mgl@1371: - test -z "$ac_cv_prog_ac_ct_NMEDIT" && ac_cv_prog_ac_ct_NMEDIT=":" mgl@1371: fi mgl@1371: fi mgl@1371: ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT mgl@1371: if test -n "$ac_ct_NMEDIT"; then mgl@1371: - echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5 mgl@1371: -echo "${ECHO_T}$ac_ct_NMEDIT" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5 mgl@1371: +echo "${ECHO_T}$ac_ct_NMEDIT" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: fi mgl@1371: mgl@1371: - NMEDIT=$ac_ct_NMEDIT mgl@1371: + if test "x$ac_ct_NMEDIT" = x; then mgl@1371: + NMEDIT=":" mgl@1371: + else mgl@1371: + case $cross_compiling:$ac_tool_warned in mgl@1371: +yes:) mgl@1371: +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools mgl@1371: +whose name does not start with the host triplet. If you think this mgl@1371: +configuration is useful to you, please write to autoconf@gnu.org." >&5 mgl@1371: +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools mgl@1371: +whose name does not start with the host triplet. If you think this mgl@1371: +configuration is useful to you, please write to autoconf@gnu.org." >&2;} mgl@1371: +ac_tool_warned=yes ;; mgl@1371: +esac mgl@1371: + NMEDIT=$ac_ct_NMEDIT mgl@1371: + fi mgl@1371: else mgl@1371: NMEDIT="$ac_cv_prog_NMEDIT" mgl@1371: fi mgl@1371: @@ -6311,8 +7371,8 @@ mgl@1371: if test -n "$ac_tool_prefix"; then mgl@1371: # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. mgl@1371: set dummy ${ac_tool_prefix}lipo; ac_word=$2 mgl@1371: -echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_prog_LIPO+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -6325,32 +7385,34 @@ mgl@1371: IFS=$as_save_IFS mgl@1371: test -z "$as_dir" && as_dir=. mgl@1371: for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: ac_cv_prog_LIPO="${ac_tool_prefix}lipo" mgl@1371: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: break 2 mgl@1371: fi mgl@1371: done mgl@1371: done mgl@1371: +IFS=$as_save_IFS mgl@1371: mgl@1371: fi mgl@1371: fi mgl@1371: LIPO=$ac_cv_prog_LIPO mgl@1371: if test -n "$LIPO"; then mgl@1371: - echo "$as_me:$LINENO: result: $LIPO" >&5 mgl@1371: -echo "${ECHO_T}$LIPO" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $LIPO" >&5 mgl@1371: +echo "${ECHO_T}$LIPO" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: fi mgl@1371: mgl@1371: + mgl@1371: fi mgl@1371: if test -z "$ac_cv_prog_LIPO"; then mgl@1371: ac_ct_LIPO=$LIPO mgl@1371: # Extract the first word of "lipo", so it can be a program name with args. mgl@1371: set dummy lipo; ac_word=$2 mgl@1371: -echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -6363,27 +7425,41 @@ mgl@1371: IFS=$as_save_IFS mgl@1371: test -z "$as_dir" && as_dir=. mgl@1371: for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: ac_cv_prog_ac_ct_LIPO="lipo" mgl@1371: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: break 2 mgl@1371: fi mgl@1371: done mgl@1371: done mgl@1371: +IFS=$as_save_IFS mgl@1371: mgl@1371: - test -z "$ac_cv_prog_ac_ct_LIPO" && ac_cv_prog_ac_ct_LIPO=":" mgl@1371: fi mgl@1371: fi mgl@1371: ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO mgl@1371: if test -n "$ac_ct_LIPO"; then mgl@1371: - echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5 mgl@1371: -echo "${ECHO_T}$ac_ct_LIPO" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5 mgl@1371: +echo "${ECHO_T}$ac_ct_LIPO" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: fi mgl@1371: mgl@1371: - LIPO=$ac_ct_LIPO mgl@1371: + if test "x$ac_ct_LIPO" = x; then mgl@1371: + LIPO=":" mgl@1371: + else mgl@1371: + case $cross_compiling:$ac_tool_warned in mgl@1371: +yes:) mgl@1371: +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools mgl@1371: +whose name does not start with the host triplet. If you think this mgl@1371: +configuration is useful to you, please write to autoconf@gnu.org." >&5 mgl@1371: +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools mgl@1371: +whose name does not start with the host triplet. If you think this mgl@1371: +configuration is useful to you, please write to autoconf@gnu.org." >&2;} mgl@1371: +ac_tool_warned=yes ;; mgl@1371: +esac mgl@1371: + LIPO=$ac_ct_LIPO mgl@1371: + fi mgl@1371: else mgl@1371: LIPO="$ac_cv_prog_LIPO" mgl@1371: fi mgl@1371: @@ -6391,8 +7467,8 @@ mgl@1371: if test -n "$ac_tool_prefix"; then mgl@1371: # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. mgl@1371: set dummy ${ac_tool_prefix}otool; ac_word=$2 mgl@1371: -echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_prog_OTOOL+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -6405,32 +7481,34 @@ mgl@1371: IFS=$as_save_IFS mgl@1371: test -z "$as_dir" && as_dir=. mgl@1371: for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: ac_cv_prog_OTOOL="${ac_tool_prefix}otool" mgl@1371: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: break 2 mgl@1371: fi mgl@1371: done mgl@1371: done mgl@1371: +IFS=$as_save_IFS mgl@1371: mgl@1371: fi mgl@1371: fi mgl@1371: OTOOL=$ac_cv_prog_OTOOL mgl@1371: if test -n "$OTOOL"; then mgl@1371: - echo "$as_me:$LINENO: result: $OTOOL" >&5 mgl@1371: -echo "${ECHO_T}$OTOOL" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $OTOOL" >&5 mgl@1371: +echo "${ECHO_T}$OTOOL" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: fi mgl@1371: mgl@1371: + mgl@1371: fi mgl@1371: if test -z "$ac_cv_prog_OTOOL"; then mgl@1371: ac_ct_OTOOL=$OTOOL mgl@1371: # Extract the first word of "otool", so it can be a program name with args. mgl@1371: set dummy otool; ac_word=$2 mgl@1371: -echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -6443,27 +7521,41 @@ mgl@1371: IFS=$as_save_IFS mgl@1371: test -z "$as_dir" && as_dir=. mgl@1371: for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: ac_cv_prog_ac_ct_OTOOL="otool" mgl@1371: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: break 2 mgl@1371: fi mgl@1371: done mgl@1371: done mgl@1371: +IFS=$as_save_IFS mgl@1371: mgl@1371: - test -z "$ac_cv_prog_ac_ct_OTOOL" && ac_cv_prog_ac_ct_OTOOL=":" mgl@1371: fi mgl@1371: fi mgl@1371: ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL mgl@1371: if test -n "$ac_ct_OTOOL"; then mgl@1371: - echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5 mgl@1371: -echo "${ECHO_T}$ac_ct_OTOOL" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5 mgl@1371: +echo "${ECHO_T}$ac_ct_OTOOL" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: fi mgl@1371: mgl@1371: - OTOOL=$ac_ct_OTOOL mgl@1371: + if test "x$ac_ct_OTOOL" = x; then mgl@1371: + OTOOL=":" mgl@1371: + else mgl@1371: + case $cross_compiling:$ac_tool_warned in mgl@1371: +yes:) mgl@1371: +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools mgl@1371: +whose name does not start with the host triplet. If you think this mgl@1371: +configuration is useful to you, please write to autoconf@gnu.org." >&5 mgl@1371: +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools mgl@1371: +whose name does not start with the host triplet. If you think this mgl@1371: +configuration is useful to you, please write to autoconf@gnu.org." >&2;} mgl@1371: +ac_tool_warned=yes ;; mgl@1371: +esac mgl@1371: + OTOOL=$ac_ct_OTOOL mgl@1371: + fi mgl@1371: else mgl@1371: OTOOL="$ac_cv_prog_OTOOL" mgl@1371: fi mgl@1371: @@ -6471,8 +7563,8 @@ mgl@1371: if test -n "$ac_tool_prefix"; then mgl@1371: # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. mgl@1371: set dummy ${ac_tool_prefix}otool64; ac_word=$2 mgl@1371: -echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_prog_OTOOL64+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -6485,32 +7577,34 @@ mgl@1371: IFS=$as_save_IFS mgl@1371: test -z "$as_dir" && as_dir=. mgl@1371: for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" mgl@1371: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: break 2 mgl@1371: fi mgl@1371: done mgl@1371: done mgl@1371: +IFS=$as_save_IFS mgl@1371: mgl@1371: fi mgl@1371: fi mgl@1371: OTOOL64=$ac_cv_prog_OTOOL64 mgl@1371: if test -n "$OTOOL64"; then mgl@1371: - echo "$as_me:$LINENO: result: $OTOOL64" >&5 mgl@1371: -echo "${ECHO_T}$OTOOL64" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $OTOOL64" >&5 mgl@1371: +echo "${ECHO_T}$OTOOL64" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: fi mgl@1371: mgl@1371: + mgl@1371: fi mgl@1371: if test -z "$ac_cv_prog_OTOOL64"; then mgl@1371: ac_ct_OTOOL64=$OTOOL64 mgl@1371: # Extract the first word of "otool64", so it can be a program name with args. mgl@1371: set dummy otool64; ac_word=$2 mgl@1371: -echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -6523,27 +7617,41 @@ mgl@1371: IFS=$as_save_IFS mgl@1371: test -z "$as_dir" && as_dir=. mgl@1371: for ac_exec_ext in '' $ac_executable_extensions; do mgl@1371: - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then mgl@1371: + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then mgl@1371: ac_cv_prog_ac_ct_OTOOL64="otool64" mgl@1371: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 mgl@1371: break 2 mgl@1371: fi mgl@1371: done mgl@1371: done mgl@1371: +IFS=$as_save_IFS mgl@1371: mgl@1371: - test -z "$ac_cv_prog_ac_ct_OTOOL64" && ac_cv_prog_ac_ct_OTOOL64=":" mgl@1371: fi mgl@1371: fi mgl@1371: ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 mgl@1371: if test -n "$ac_ct_OTOOL64"; then mgl@1371: - echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5 mgl@1371: -echo "${ECHO_T}$ac_ct_OTOOL64" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5 mgl@1371: +echo "${ECHO_T}$ac_ct_OTOOL64" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: fi mgl@1371: mgl@1371: - OTOOL64=$ac_ct_OTOOL64 mgl@1371: + if test "x$ac_ct_OTOOL64" = x; then mgl@1371: + OTOOL64=":" mgl@1371: + else mgl@1371: + case $cross_compiling:$ac_tool_warned in mgl@1371: +yes:) mgl@1371: +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools mgl@1371: +whose name does not start with the host triplet. If you think this mgl@1371: +configuration is useful to you, please write to autoconf@gnu.org." >&5 mgl@1371: +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools mgl@1371: +whose name does not start with the host triplet. If you think this mgl@1371: +configuration is useful to you, please write to autoconf@gnu.org." >&2;} mgl@1371: +ac_tool_warned=yes ;; mgl@1371: +esac mgl@1371: + OTOOL64=$ac_ct_OTOOL64 mgl@1371: + fi mgl@1371: else mgl@1371: OTOOL64="$ac_cv_prog_OTOOL64" mgl@1371: fi mgl@1371: @@ -6574,8 +7682,8 @@ mgl@1371: mgl@1371: mgl@1371: mgl@1371: - echo "$as_me:$LINENO: checking for -single_module linker flag" >&5 mgl@1371: -echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6 mgl@1371: + { echo "$as_me:$LINENO: checking for -single_module linker flag" >&5 mgl@1371: +echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; } mgl@1371: if test "${lt_cv_apple_cc_single_mod+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -6601,10 +7709,10 @@ mgl@1371: rm -f conftest.* mgl@1371: fi mgl@1371: fi mgl@1371: -echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5 mgl@1371: -echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6 mgl@1371: - echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5 mgl@1371: -echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5 mgl@1371: +echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; } mgl@1371: + { echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5 mgl@1371: +echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; } mgl@1371: if test "${lt_cv_ld_exported_symbols_list+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -6628,41 +7736,38 @@ mgl@1371: } mgl@1371: _ACEOF mgl@1371: rm -f conftest.$ac_objext conftest$ac_exeext mgl@1371: -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 mgl@1371: - (eval $ac_link) 2>conftest.er1 mgl@1371: +if { (ac_try="$ac_link" mgl@1371: +case "(($ac_try" in mgl@1371: + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; mgl@1371: + *) ac_try_echo=$ac_try;; mgl@1371: +esac mgl@1371: +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 mgl@1371: + (eval "$ac_link") 2>conftest.er1 mgl@1371: ac_status=$? mgl@1371: grep -v '^ *+' conftest.er1 >conftest.err mgl@1371: rm -f conftest.er1 mgl@1371: cat conftest.err >&5 mgl@1371: echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); } && mgl@1371: - { ac_try='test -z "$ac_c_werror_flag" mgl@1371: - || test ! -s conftest.err' mgl@1371: - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 mgl@1371: - (eval $ac_try) 2>&5 mgl@1371: - ac_status=$? mgl@1371: - echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); }; } && mgl@1371: - { ac_try='test -s conftest$ac_exeext' mgl@1371: - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 mgl@1371: - (eval $ac_try) 2>&5 mgl@1371: - ac_status=$? mgl@1371: - echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); }; }; then mgl@1371: + (exit $ac_status); } && { mgl@1371: + test -z "$ac_c_werror_flag" || mgl@1371: + test ! -s conftest.err mgl@1371: + } && test -s conftest$ac_exeext && mgl@1371: + $as_test_x conftest$ac_exeext; then mgl@1371: lt_cv_ld_exported_symbols_list=yes mgl@1371: else mgl@1371: echo "$as_me: failed program was:" >&5 mgl@1371: sed 's/^/| /' conftest.$ac_ext >&5 mgl@1371: mgl@1371: -lt_cv_ld_exported_symbols_list=no mgl@1371: + lt_cv_ld_exported_symbols_list=no mgl@1371: fi mgl@1371: -rm -f conftest.err conftest.$ac_objext \ mgl@1371: + mgl@1371: +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ mgl@1371: conftest$ac_exeext conftest.$ac_ext mgl@1371: LDFLAGS="$save_LDFLAGS" mgl@1371: mgl@1371: fi mgl@1371: -echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5 mgl@1371: -echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6 mgl@1371: +{ echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5 mgl@1371: +echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; } mgl@1371: case $host_os in mgl@1371: rhapsody* | darwin1.[012]) mgl@1371: _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; mgl@1371: @@ -6703,8 +7808,8 @@ mgl@1371: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' mgl@1371: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' mgl@1371: ac_compiler_gnu=$ac_cv_c_compiler_gnu mgl@1371: -echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 mgl@1371: -echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 mgl@1371: +echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } mgl@1371: # On Suns, sometimes $CPP names a directory. mgl@1371: if test -n "$CPP" && test -d "$CPP"; then mgl@1371: CPP= mgl@1371: @@ -6738,24 +7843,22 @@ mgl@1371: #endif mgl@1371: Syntax error mgl@1371: _ACEOF mgl@1371: -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 mgl@1371: - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 mgl@1371: +if { (ac_try="$ac_cpp conftest.$ac_ext" mgl@1371: +case "(($ac_try" in mgl@1371: + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; mgl@1371: + *) ac_try_echo=$ac_try;; mgl@1371: +esac mgl@1371: +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 mgl@1371: + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 mgl@1371: ac_status=$? mgl@1371: grep -v '^ *+' conftest.er1 >conftest.err mgl@1371: rm -f conftest.er1 mgl@1371: cat conftest.err >&5 mgl@1371: echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); } >/dev/null; then mgl@1371: - if test -s conftest.err; then mgl@1371: - ac_cpp_err=$ac_c_preproc_warn_flag mgl@1371: - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag mgl@1371: - else mgl@1371: - ac_cpp_err= mgl@1371: - fi mgl@1371: -else mgl@1371: - ac_cpp_err=yes mgl@1371: -fi mgl@1371: -if test -z "$ac_cpp_err"; then mgl@1371: + (exit $ac_status); } >/dev/null && { mgl@1371: + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || mgl@1371: + test ! -s conftest.err mgl@1371: + }; then mgl@1371: : mgl@1371: else mgl@1371: echo "$as_me: failed program was:" >&5 mgl@1371: @@ -6764,9 +7867,10 @@ mgl@1371: # Broken: fails on valid input. mgl@1371: continue mgl@1371: fi mgl@1371: + mgl@1371: rm -f conftest.err conftest.$ac_ext mgl@1371: mgl@1371: - # OK, works on sane cases. Now check whether non-existent headers mgl@1371: + # OK, works on sane cases. Now check whether nonexistent headers mgl@1371: # can be detected and how. mgl@1371: cat >conftest.$ac_ext <<_ACEOF mgl@1371: /* confdefs.h. */ mgl@1371: @@ -6776,24 +7880,22 @@ mgl@1371: /* end confdefs.h. */ mgl@1371: #include mgl@1371: _ACEOF mgl@1371: -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 mgl@1371: - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 mgl@1371: +if { (ac_try="$ac_cpp conftest.$ac_ext" mgl@1371: +case "(($ac_try" in mgl@1371: + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; mgl@1371: + *) ac_try_echo=$ac_try;; mgl@1371: +esac mgl@1371: +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 mgl@1371: + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 mgl@1371: ac_status=$? mgl@1371: grep -v '^ *+' conftest.er1 >conftest.err mgl@1371: rm -f conftest.er1 mgl@1371: cat conftest.err >&5 mgl@1371: echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); } >/dev/null; then mgl@1371: - if test -s conftest.err; then mgl@1371: - ac_cpp_err=$ac_c_preproc_warn_flag mgl@1371: - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag mgl@1371: - else mgl@1371: - ac_cpp_err= mgl@1371: - fi mgl@1371: -else mgl@1371: - ac_cpp_err=yes mgl@1371: -fi mgl@1371: -if test -z "$ac_cpp_err"; then mgl@1371: + (exit $ac_status); } >/dev/null && { mgl@1371: + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || mgl@1371: + test ! -s conftest.err mgl@1371: + }; then mgl@1371: # Broken: success on invalid input. mgl@1371: continue mgl@1371: else mgl@1371: @@ -6804,6 +7906,7 @@ mgl@1371: ac_preproc_ok=: mgl@1371: break mgl@1371: fi mgl@1371: + mgl@1371: rm -f conftest.err conftest.$ac_ext mgl@1371: mgl@1371: done mgl@1371: @@ -6821,8 +7924,8 @@ mgl@1371: else mgl@1371: ac_cv_prog_CPP=$CPP mgl@1371: fi mgl@1371: -echo "$as_me:$LINENO: result: $CPP" >&5 mgl@1371: -echo "${ECHO_T}$CPP" >&6 mgl@1371: +{ echo "$as_me:$LINENO: result: $CPP" >&5 mgl@1371: +echo "${ECHO_T}$CPP" >&6; } mgl@1371: ac_preproc_ok=false mgl@1371: for ac_c_preproc_warn_flag in '' yes mgl@1371: do mgl@1371: @@ -6845,24 +7948,22 @@ mgl@1371: #endif mgl@1371: Syntax error mgl@1371: _ACEOF mgl@1371: -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 mgl@1371: - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 mgl@1371: +if { (ac_try="$ac_cpp conftest.$ac_ext" mgl@1371: +case "(($ac_try" in mgl@1371: + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; mgl@1371: + *) ac_try_echo=$ac_try;; mgl@1371: +esac mgl@1371: +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 mgl@1371: + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 mgl@1371: ac_status=$? mgl@1371: grep -v '^ *+' conftest.er1 >conftest.err mgl@1371: rm -f conftest.er1 mgl@1371: cat conftest.err >&5 mgl@1371: echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); } >/dev/null; then mgl@1371: - if test -s conftest.err; then mgl@1371: - ac_cpp_err=$ac_c_preproc_warn_flag mgl@1371: - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag mgl@1371: - else mgl@1371: - ac_cpp_err= mgl@1371: - fi mgl@1371: -else mgl@1371: - ac_cpp_err=yes mgl@1371: -fi mgl@1371: -if test -z "$ac_cpp_err"; then mgl@1371: + (exit $ac_status); } >/dev/null && { mgl@1371: + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || mgl@1371: + test ! -s conftest.err mgl@1371: + }; then mgl@1371: : mgl@1371: else mgl@1371: echo "$as_me: failed program was:" >&5 mgl@1371: @@ -6871,9 +7972,10 @@ mgl@1371: # Broken: fails on valid input. mgl@1371: continue mgl@1371: fi mgl@1371: + mgl@1371: rm -f conftest.err conftest.$ac_ext mgl@1371: mgl@1371: - # OK, works on sane cases. Now check whether non-existent headers mgl@1371: + # OK, works on sane cases. Now check whether nonexistent headers mgl@1371: # can be detected and how. mgl@1371: cat >conftest.$ac_ext <<_ACEOF mgl@1371: /* confdefs.h. */ mgl@1371: @@ -6883,24 +7985,22 @@ mgl@1371: /* end confdefs.h. */ mgl@1371: #include mgl@1371: _ACEOF mgl@1371: -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 mgl@1371: - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 mgl@1371: +if { (ac_try="$ac_cpp conftest.$ac_ext" mgl@1371: +case "(($ac_try" in mgl@1371: + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; mgl@1371: + *) ac_try_echo=$ac_try;; mgl@1371: +esac mgl@1371: +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 mgl@1371: + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 mgl@1371: ac_status=$? mgl@1371: grep -v '^ *+' conftest.er1 >conftest.err mgl@1371: rm -f conftest.er1 mgl@1371: cat conftest.err >&5 mgl@1371: echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); } >/dev/null; then mgl@1371: - if test -s conftest.err; then mgl@1371: - ac_cpp_err=$ac_c_preproc_warn_flag mgl@1371: - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag mgl@1371: - else mgl@1371: - ac_cpp_err= mgl@1371: - fi mgl@1371: -else mgl@1371: - ac_cpp_err=yes mgl@1371: -fi mgl@1371: -if test -z "$ac_cpp_err"; then mgl@1371: + (exit $ac_status); } >/dev/null && { mgl@1371: + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || mgl@1371: + test ! -s conftest.err mgl@1371: + }; then mgl@1371: # Broken: success on invalid input. mgl@1371: continue mgl@1371: else mgl@1371: @@ -6911,6 +8011,7 @@ mgl@1371: ac_preproc_ok=: mgl@1371: break mgl@1371: fi mgl@1371: + mgl@1371: rm -f conftest.err conftest.$ac_ext mgl@1371: mgl@1371: done mgl@1371: @@ -6933,8 +8034,8 @@ mgl@1371: ac_compiler_gnu=$ac_cv_c_compiler_gnu mgl@1371: mgl@1371: mgl@1371: -echo "$as_me:$LINENO: checking for ANSI C header files" >&5 mgl@1371: -echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5 mgl@1371: +echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_header_stdc+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -6958,35 +8059,31 @@ mgl@1371: } mgl@1371: _ACEOF mgl@1371: rm -f conftest.$ac_objext mgl@1371: -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 mgl@1371: - (eval $ac_compile) 2>conftest.er1 mgl@1371: +if { (ac_try="$ac_compile" mgl@1371: +case "(($ac_try" in mgl@1371: + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; mgl@1371: + *) ac_try_echo=$ac_try;; mgl@1371: +esac mgl@1371: +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 mgl@1371: + (eval "$ac_compile") 2>conftest.er1 mgl@1371: ac_status=$? mgl@1371: grep -v '^ *+' conftest.er1 >conftest.err mgl@1371: rm -f conftest.er1 mgl@1371: cat conftest.err >&5 mgl@1371: echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); } && mgl@1371: - { ac_try='test -z "$ac_c_werror_flag" mgl@1371: - || test ! -s conftest.err' mgl@1371: - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 mgl@1371: - (eval $ac_try) 2>&5 mgl@1371: - ac_status=$? mgl@1371: - echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); }; } && mgl@1371: - { ac_try='test -s conftest.$ac_objext' mgl@1371: - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 mgl@1371: - (eval $ac_try) 2>&5 mgl@1371: - ac_status=$? mgl@1371: - echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); }; }; then mgl@1371: + (exit $ac_status); } && { mgl@1371: + test -z "$ac_c_werror_flag" || mgl@1371: + test ! -s conftest.err mgl@1371: + } && test -s conftest.$ac_objext; then mgl@1371: ac_cv_header_stdc=yes mgl@1371: else mgl@1371: echo "$as_me: failed program was:" >&5 mgl@1371: sed 's/^/| /' conftest.$ac_ext >&5 mgl@1371: mgl@1371: -ac_cv_header_stdc=no mgl@1371: + ac_cv_header_stdc=no mgl@1371: fi mgl@1371: -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext mgl@1371: + mgl@1371: +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext mgl@1371: mgl@1371: if test $ac_cv_header_stdc = yes; then mgl@1371: # SunOS 4.x string.h does not declare mem*, contrary to ANSI. mgl@1371: @@ -7042,6 +8139,7 @@ mgl@1371: cat >>conftest.$ac_ext <<_ACEOF mgl@1371: /* end confdefs.h. */ mgl@1371: #include mgl@1371: +#include mgl@1371: #if ((' ' & 0x0FF) == 0x020) mgl@1371: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') mgl@1371: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) mgl@1371: @@ -7061,18 +8159,27 @@ mgl@1371: for (i = 0; i < 256; i++) mgl@1371: if (XOR (islower (i), ISLOWER (i)) mgl@1371: || toupper (i) != TOUPPER (i)) mgl@1371: - exit(2); mgl@1371: - exit (0); mgl@1371: + return 2; mgl@1371: + return 0; mgl@1371: } mgl@1371: _ACEOF mgl@1371: rm -f conftest$ac_exeext mgl@1371: -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 mgl@1371: - (eval $ac_link) 2>&5 mgl@1371: +if { (ac_try="$ac_link" mgl@1371: +case "(($ac_try" in mgl@1371: + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; mgl@1371: + *) ac_try_echo=$ac_try;; mgl@1371: +esac mgl@1371: +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 mgl@1371: + (eval "$ac_link") 2>&5 mgl@1371: ac_status=$? mgl@1371: echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: (exit $ac_status); } && { ac_try='./conftest$ac_exeext' mgl@1371: - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 mgl@1371: - (eval $ac_try) 2>&5 mgl@1371: + { (case "(($ac_try" in mgl@1371: + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; mgl@1371: + *) ac_try_echo=$ac_try;; mgl@1371: +esac mgl@1371: +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 mgl@1371: + (eval "$ac_try") 2>&5 mgl@1371: ac_status=$? mgl@1371: echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: (exit $ac_status); }; }; then mgl@1371: @@ -7085,12 +8192,14 @@ mgl@1371: ( exit $ac_status ) mgl@1371: ac_cv_header_stdc=no mgl@1371: fi mgl@1371: -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext mgl@1371: +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext mgl@1371: fi mgl@1371: + mgl@1371: + mgl@1371: fi mgl@1371: fi mgl@1371: -echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 mgl@1371: -echo "${ECHO_T}$ac_cv_header_stdc" >&6 mgl@1371: +{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 mgl@1371: +echo "${ECHO_T}$ac_cv_header_stdc" >&6; } mgl@1371: if test $ac_cv_header_stdc = yes; then mgl@1371: mgl@1371: cat >>confdefs.h <<\_ACEOF mgl@1371: @@ -7113,9 +8222,9 @@ mgl@1371: inttypes.h stdint.h unistd.h mgl@1371: do mgl@1371: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` mgl@1371: -echo "$as_me:$LINENO: checking for $ac_header" >&5 mgl@1371: -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 mgl@1371: -if eval "test \"\${$as_ac_Header+set}\" = set"; then mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_header" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } mgl@1371: +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: cat >conftest.$ac_ext <<_ACEOF mgl@1371: @@ -7129,38 +8238,35 @@ mgl@1371: #include <$ac_header> mgl@1371: _ACEOF mgl@1371: rm -f conftest.$ac_objext mgl@1371: -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 mgl@1371: - (eval $ac_compile) 2>conftest.er1 mgl@1371: +if { (ac_try="$ac_compile" mgl@1371: +case "(($ac_try" in mgl@1371: + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; mgl@1371: + *) ac_try_echo=$ac_try;; mgl@1371: +esac mgl@1371: +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 mgl@1371: + (eval "$ac_compile") 2>conftest.er1 mgl@1371: ac_status=$? mgl@1371: grep -v '^ *+' conftest.er1 >conftest.err mgl@1371: rm -f conftest.er1 mgl@1371: cat conftest.err >&5 mgl@1371: echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); } && mgl@1371: - { ac_try='test -z "$ac_c_werror_flag" mgl@1371: - || test ! -s conftest.err' mgl@1371: - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 mgl@1371: - (eval $ac_try) 2>&5 mgl@1371: - ac_status=$? mgl@1371: - echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); }; } && mgl@1371: - { ac_try='test -s conftest.$ac_objext' mgl@1371: - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 mgl@1371: - (eval $ac_try) 2>&5 mgl@1371: - ac_status=$? mgl@1371: - echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); }; }; then mgl@1371: + (exit $ac_status); } && { mgl@1371: + test -z "$ac_c_werror_flag" || mgl@1371: + test ! -s conftest.err mgl@1371: + } && test -s conftest.$ac_objext; then mgl@1371: eval "$as_ac_Header=yes" mgl@1371: else mgl@1371: echo "$as_me: failed program was:" >&5 mgl@1371: sed 's/^/| /' conftest.$ac_ext >&5 mgl@1371: mgl@1371: -eval "$as_ac_Header=no" mgl@1371: + eval "$as_ac_Header=no" mgl@1371: fi mgl@1371: -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext mgl@1371: + mgl@1371: +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext mgl@1371: fi mgl@1371: -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 mgl@1371: -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 mgl@1371: +ac_res=`eval echo '${'$as_ac_Header'}'` mgl@1371: + { echo "$as_me:$LINENO: result: $ac_res" >&5 mgl@1371: +echo "${ECHO_T}$ac_res" >&6; } mgl@1371: if test `eval echo '${'$as_ac_Header'}'` = yes; then mgl@1371: cat >>confdefs.h <<_ACEOF mgl@1371: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 mgl@1371: @@ -7175,9 +8281,9 @@ mgl@1371: for ac_header in dlfcn.h mgl@1371: do mgl@1371: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` mgl@1371: -echo "$as_me:$LINENO: checking for $ac_header" >&5 mgl@1371: -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 mgl@1371: -if eval "test \"\${$as_ac_Header+set}\" = set"; then mgl@1371: +{ echo "$as_me:$LINENO: checking for $ac_header" >&5 mgl@1371: +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } mgl@1371: +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: cat >conftest.$ac_ext <<_ACEOF mgl@1371: @@ -7191,38 +8297,35 @@ mgl@1371: #include <$ac_header> mgl@1371: _ACEOF mgl@1371: rm -f conftest.$ac_objext mgl@1371: -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 mgl@1371: - (eval $ac_compile) 2>conftest.er1 mgl@1371: +if { (ac_try="$ac_compile" mgl@1371: +case "(($ac_try" in mgl@1371: + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; mgl@1371: + *) ac_try_echo=$ac_try;; mgl@1371: +esac mgl@1371: +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 mgl@1371: + (eval "$ac_compile") 2>conftest.er1 mgl@1371: ac_status=$? mgl@1371: grep -v '^ *+' conftest.er1 >conftest.err mgl@1371: rm -f conftest.er1 mgl@1371: cat conftest.err >&5 mgl@1371: echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); } && mgl@1371: - { ac_try='test -z "$ac_c_werror_flag" mgl@1371: - || test ! -s conftest.err' mgl@1371: - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 mgl@1371: - (eval $ac_try) 2>&5 mgl@1371: - ac_status=$? mgl@1371: - echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); }; } && mgl@1371: - { ac_try='test -s conftest.$ac_objext' mgl@1371: - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 mgl@1371: - (eval $ac_try) 2>&5 mgl@1371: - ac_status=$? mgl@1371: - echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); }; }; then mgl@1371: + (exit $ac_status); } && { mgl@1371: + test -z "$ac_c_werror_flag" || mgl@1371: + test ! -s conftest.err mgl@1371: + } && test -s conftest.$ac_objext; then mgl@1371: eval "$as_ac_Header=yes" mgl@1371: else mgl@1371: echo "$as_me: failed program was:" >&5 mgl@1371: sed 's/^/| /' conftest.$ac_ext >&5 mgl@1371: mgl@1371: -eval "$as_ac_Header=no" mgl@1371: + eval "$as_ac_Header=no" mgl@1371: fi mgl@1371: -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext mgl@1371: + mgl@1371: +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext mgl@1371: fi mgl@1371: -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 mgl@1371: -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 mgl@1371: +ac_res=`eval echo '${'$as_ac_Header'}'` mgl@1371: + { echo "$as_me:$LINENO: result: $ac_res" >&5 mgl@1371: +echo "${ECHO_T}$ac_res" >&6; } mgl@1371: if test `eval echo '${'$as_ac_Header'}'` = yes; then mgl@1371: cat >>confdefs.h <<_ACEOF mgl@1371: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 mgl@1371: @@ -7242,10 +8345,9 @@ mgl@1371: mgl@1371: mgl@1371: mgl@1371: - # Check whether --enable-shared or --disable-shared was given. mgl@1371: + # Check whether --enable-shared was given. mgl@1371: if test "${enable_shared+set}" = set; then mgl@1371: - enableval="$enable_shared" mgl@1371: - p=${PACKAGE-default} mgl@1371: + enableval=$enable_shared; p=${PACKAGE-default} mgl@1371: case $enableval in mgl@1371: yes) enable_shared=yes ;; mgl@1371: no) enable_shared=no ;; mgl@1371: @@ -7264,7 +8366,7 @@ mgl@1371: esac mgl@1371: else mgl@1371: enable_shared=yes mgl@1371: -fi; mgl@1371: +fi mgl@1371: mgl@1371: mgl@1371: mgl@1371: @@ -7273,10 +8375,10 @@ mgl@1371: mgl@1371: mgl@1371: mgl@1371: - # Check whether --enable-static or --disable-static was given. mgl@1371: + mgl@1371: + # Check whether --enable-static was given. mgl@1371: if test "${enable_static+set}" = set; then mgl@1371: - enableval="$enable_static" mgl@1371: - p=${PACKAGE-default} mgl@1371: + enableval=$enable_static; p=${PACKAGE-default} mgl@1371: case $enableval in mgl@1371: yes) enable_static=yes ;; mgl@1371: no) enable_static=no ;; mgl@1371: @@ -7295,7 +8397,7 @@ mgl@1371: esac mgl@1371: else mgl@1371: enable_static=yes mgl@1371: -fi; mgl@1371: +fi mgl@1371: mgl@1371: mgl@1371: mgl@1371: @@ -7305,13 +8407,14 @@ mgl@1371: mgl@1371: mgl@1371: mgl@1371: -# Check whether --with-pic or --without-pic was given. mgl@1371: + mgl@1371: +# Check whether --with-pic was given. mgl@1371: if test "${with_pic+set}" = set; then mgl@1371: - withval="$with_pic" mgl@1371: - pic_mode="$withval" mgl@1371: + withval=$with_pic; pic_mode="$withval" mgl@1371: else mgl@1371: pic_mode=default mgl@1371: -fi; mgl@1371: +fi mgl@1371: + mgl@1371: mgl@1371: test -z "$pic_mode" && pic_mode=default mgl@1371: mgl@1371: @@ -7321,10 +8424,9 @@ mgl@1371: mgl@1371: mgl@1371: mgl@1371: - # Check whether --enable-fast-install or --disable-fast-install was given. mgl@1371: + # Check whether --enable-fast-install was given. mgl@1371: if test "${enable_fast_install+set}" = set; then mgl@1371: - enableval="$enable_fast_install" mgl@1371: - p=${PACKAGE-default} mgl@1371: + enableval=$enable_fast_install; p=${PACKAGE-default} mgl@1371: case $enableval in mgl@1371: yes) enable_fast_install=yes ;; mgl@1371: no) enable_fast_install=no ;; mgl@1371: @@ -7343,7 +8445,8 @@ mgl@1371: esac mgl@1371: else mgl@1371: enable_fast_install=yes mgl@1371: -fi; mgl@1371: +fi mgl@1371: + mgl@1371: mgl@1371: mgl@1371: mgl@1371: @@ -7403,8 +8506,8 @@ mgl@1371: setopt NO_GLOB_SUBST mgl@1371: fi mgl@1371: mgl@1371: -echo "$as_me:$LINENO: checking for objdir" >&5 mgl@1371: -echo $ECHO_N "checking for objdir... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for objdir" >&5 mgl@1371: +echo $ECHO_N "checking for objdir... $ECHO_C" >&6; } mgl@1371: if test "${lt_cv_objdir+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -7418,8 +8521,8 @@ mgl@1371: fi mgl@1371: rmdir .libs 2>/dev/null mgl@1371: fi mgl@1371: -echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5 mgl@1371: -echo "${ECHO_T}$lt_cv_objdir" >&6 mgl@1371: +{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5 mgl@1371: +echo "${ECHO_T}$lt_cv_objdir" >&6; } mgl@1371: objdir=$lt_cv_objdir mgl@1371: mgl@1371: mgl@1371: @@ -7511,8 +8614,8 @@ mgl@1371: case $deplibs_check_method in mgl@1371: file_magic*) mgl@1371: if test "$file_magic_cmd" = '$MAGIC_CMD'; then mgl@1371: - echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5 mgl@1371: -echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6 mgl@1371: + { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5 mgl@1371: +echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; } mgl@1371: if test "${lt_cv_path_MAGIC_CMD+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -7564,11 +8667,11 @@ mgl@1371: mgl@1371: MAGIC_CMD="$lt_cv_path_MAGIC_CMD" mgl@1371: if test -n "$MAGIC_CMD"; then mgl@1371: - echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 mgl@1371: -echo "${ECHO_T}$MAGIC_CMD" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 mgl@1371: +echo "${ECHO_T}$MAGIC_CMD" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: fi mgl@1371: mgl@1371: mgl@1371: @@ -7577,8 +8680,8 @@ mgl@1371: mgl@1371: if test -z "$lt_cv_path_MAGIC_CMD"; then mgl@1371: if test -n "$ac_tool_prefix"; then mgl@1371: - echo "$as_me:$LINENO: checking for file" >&5 mgl@1371: -echo $ECHO_N "checking for file... $ECHO_C" >&6 mgl@1371: + { echo "$as_me:$LINENO: checking for file" >&5 mgl@1371: +echo $ECHO_N "checking for file... $ECHO_C" >&6; } mgl@1371: if test "${lt_cv_path_MAGIC_CMD+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -7630,11 +8733,11 @@ mgl@1371: mgl@1371: MAGIC_CMD="$lt_cv_path_MAGIC_CMD" mgl@1371: if test -n "$MAGIC_CMD"; then mgl@1371: - echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 mgl@1371: -echo "${ECHO_T}$MAGIC_CMD" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 mgl@1371: +echo "${ECHO_T}$MAGIC_CMD" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: fi mgl@1371: mgl@1371: mgl@1371: @@ -7714,8 +8817,8 @@ mgl@1371: if test "$GCC" = yes; then mgl@1371: lt_prog_compiler_no_builtin_flag=' -fno-builtin' mgl@1371: mgl@1371: - echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 mgl@1371: -echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6 mgl@1371: + { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 mgl@1371: +echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; } mgl@1371: if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -7732,11 +8835,11 @@ mgl@1371: -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ mgl@1371: -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ mgl@1371: -e 's:$: $lt_compiler_flag:'` mgl@1371: - (eval echo "\"\$as_me:7735: $lt_compile\"" >&5) mgl@1371: + (eval echo "\"\$as_me:8838: $lt_compile\"" >&5) mgl@1371: (eval "$lt_compile" 2>conftest.err) mgl@1371: ac_status=$? mgl@1371: cat conftest.err >&5 mgl@1371: - echo "$as_me:7739: \$? = $ac_status" >&5 mgl@1371: + echo "$as_me:8842: \$? = $ac_status" >&5 mgl@1371: if (exit $ac_status) && test -s "$ac_outfile"; then mgl@1371: # The compiler can only warn and ignore the option if not recognized mgl@1371: # So say no if there are warnings other than the usual output. mgl@1371: @@ -7749,8 +8852,8 @@ mgl@1371: $RM conftest* mgl@1371: mgl@1371: fi mgl@1371: -echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 mgl@1371: -echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6 mgl@1371: +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 mgl@1371: +echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; } mgl@1371: mgl@1371: if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then mgl@1371: lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" mgl@1371: @@ -7769,8 +8872,8 @@ mgl@1371: lt_prog_compiler_pic= mgl@1371: lt_prog_compiler_static= mgl@1371: mgl@1371: -echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 mgl@1371: -echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 mgl@1371: +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; } mgl@1371: mgl@1371: if test "$GCC" = yes; then mgl@1371: lt_prog_compiler_wl='-Wl,' mgl@1371: @@ -8041,8 +9144,8 @@ mgl@1371: lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" mgl@1371: ;; mgl@1371: esac mgl@1371: -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5 mgl@1371: -echo "${ECHO_T}$lt_prog_compiler_pic" >&6 mgl@1371: +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5 mgl@1371: +echo "${ECHO_T}$lt_prog_compiler_pic" >&6; } mgl@1371: mgl@1371: mgl@1371: mgl@1371: @@ -8053,8 +9156,8 @@ mgl@1371: # Check to make sure the PIC flag actually works. mgl@1371: # mgl@1371: if test -n "$lt_prog_compiler_pic"; then mgl@1371: - echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 mgl@1371: -echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6 mgl@1371: + { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 mgl@1371: +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; } mgl@1371: if test "${lt_cv_prog_compiler_pic_works+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -8071,11 +9174,11 @@ mgl@1371: -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ mgl@1371: -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ mgl@1371: -e 's:$: $lt_compiler_flag:'` mgl@1371: - (eval echo "\"\$as_me:8074: $lt_compile\"" >&5) mgl@1371: + (eval echo "\"\$as_me:9177: $lt_compile\"" >&5) mgl@1371: (eval "$lt_compile" 2>conftest.err) mgl@1371: ac_status=$? mgl@1371: cat conftest.err >&5 mgl@1371: - echo "$as_me:8078: \$? = $ac_status" >&5 mgl@1371: + echo "$as_me:9181: \$? = $ac_status" >&5 mgl@1371: if (exit $ac_status) && test -s "$ac_outfile"; then mgl@1371: # The compiler can only warn and ignore the option if not recognized mgl@1371: # So say no if there are warnings other than the usual output. mgl@1371: @@ -8088,8 +9191,8 @@ mgl@1371: $RM conftest* mgl@1371: mgl@1371: fi mgl@1371: -echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5 mgl@1371: -echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6 mgl@1371: +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5 mgl@1371: +echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6; } mgl@1371: mgl@1371: if test x"$lt_cv_prog_compiler_pic_works" = xyes; then mgl@1371: case $lt_prog_compiler_pic in mgl@1371: @@ -8112,8 +9215,8 @@ mgl@1371: # Check to make sure the static flag actually works. mgl@1371: # mgl@1371: wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" mgl@1371: -echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 mgl@1371: -echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 mgl@1371: +echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; } mgl@1371: if test "${lt_cv_prog_compiler_static_works+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -8140,8 +9243,8 @@ mgl@1371: LDFLAGS="$save_LDFLAGS" mgl@1371: mgl@1371: fi mgl@1371: -echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5 mgl@1371: -echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6 mgl@1371: +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5 mgl@1371: +echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6; } mgl@1371: mgl@1371: if test x"$lt_cv_prog_compiler_static_works" = xyes; then mgl@1371: : mgl@1371: @@ -8155,8 +9258,8 @@ mgl@1371: mgl@1371: mgl@1371: mgl@1371: - echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 mgl@1371: -echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 mgl@1371: + { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 mgl@1371: +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; } mgl@1371: if test "${lt_cv_prog_compiler_c_o+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -8176,11 +9279,11 @@ mgl@1371: -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ mgl@1371: -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ mgl@1371: -e 's:$: $lt_compiler_flag:'` mgl@1371: - (eval echo "\"\$as_me:8179: $lt_compile\"" >&5) mgl@1371: + (eval echo "\"\$as_me:9282: $lt_compile\"" >&5) mgl@1371: (eval "$lt_compile" 2>out/conftest.err) mgl@1371: ac_status=$? mgl@1371: cat out/conftest.err >&5 mgl@1371: - echo "$as_me:8183: \$? = $ac_status" >&5 mgl@1371: + echo "$as_me:9286: \$? = $ac_status" >&5 mgl@1371: if (exit $ac_status) && test -s out/conftest2.$ac_objext mgl@1371: then mgl@1371: # The compiler can only warn and ignore the option if not recognized mgl@1371: @@ -8202,16 +9305,16 @@ mgl@1371: $RM conftest* mgl@1371: mgl@1371: fi mgl@1371: -echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5 mgl@1371: -echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6 mgl@1371: +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5 mgl@1371: +echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; } mgl@1371: mgl@1371: mgl@1371: mgl@1371: mgl@1371: mgl@1371: mgl@1371: - echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 mgl@1371: -echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 mgl@1371: + { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 mgl@1371: +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; } mgl@1371: if test "${lt_cv_prog_compiler_c_o+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -8231,11 +9334,11 @@ mgl@1371: -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ mgl@1371: -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ mgl@1371: -e 's:$: $lt_compiler_flag:'` mgl@1371: - (eval echo "\"\$as_me:8234: $lt_compile\"" >&5) mgl@1371: + (eval echo "\"\$as_me:9337: $lt_compile\"" >&5) mgl@1371: (eval "$lt_compile" 2>out/conftest.err) mgl@1371: ac_status=$? mgl@1371: cat out/conftest.err >&5 mgl@1371: - echo "$as_me:8238: \$? = $ac_status" >&5 mgl@1371: + echo "$as_me:9341: \$? = $ac_status" >&5 mgl@1371: if (exit $ac_status) && test -s out/conftest2.$ac_objext mgl@1371: then mgl@1371: # The compiler can only warn and ignore the option if not recognized mgl@1371: @@ -8257,8 +9360,8 @@ mgl@1371: $RM conftest* mgl@1371: mgl@1371: fi mgl@1371: -echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5 mgl@1371: -echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6 mgl@1371: +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5 mgl@1371: +echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; } mgl@1371: mgl@1371: mgl@1371: mgl@1371: @@ -8266,16 +9369,16 @@ mgl@1371: hard_links="nottested" mgl@1371: if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then mgl@1371: # do not overwrite the value of need_locks provided by the user mgl@1371: - echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 mgl@1371: -echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6 mgl@1371: + { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 mgl@1371: +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; } mgl@1371: hard_links=yes mgl@1371: $RM conftest* mgl@1371: ln conftest.a conftest.b 2>/dev/null && hard_links=no mgl@1371: touch conftest.a mgl@1371: ln conftest.a conftest.b 2>&5 || hard_links=no mgl@1371: ln conftest.a conftest.b 2>/dev/null && hard_links=no mgl@1371: - echo "$as_me:$LINENO: result: $hard_links" >&5 mgl@1371: -echo "${ECHO_T}$hard_links" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $hard_links" >&5 mgl@1371: +echo "${ECHO_T}$hard_links" >&6; } mgl@1371: if test "$hard_links" = no; then mgl@1371: { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 mgl@1371: echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} mgl@1371: @@ -8290,8 +9393,8 @@ mgl@1371: mgl@1371: mgl@1371: mgl@1371: - echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 mgl@1371: -echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6 mgl@1371: + { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 mgl@1371: +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; } mgl@1371: mgl@1371: runpath_var= mgl@1371: allow_undefined_flag= mgl@1371: @@ -8748,27 +9851,23 @@ mgl@1371: } mgl@1371: _ACEOF mgl@1371: rm -f conftest.$ac_objext conftest$ac_exeext mgl@1371: -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 mgl@1371: - (eval $ac_link) 2>conftest.er1 mgl@1371: +if { (ac_try="$ac_link" mgl@1371: +case "(($ac_try" in mgl@1371: + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; mgl@1371: + *) ac_try_echo=$ac_try;; mgl@1371: +esac mgl@1371: +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 mgl@1371: + (eval "$ac_link") 2>conftest.er1 mgl@1371: ac_status=$? mgl@1371: grep -v '^ *+' conftest.er1 >conftest.err mgl@1371: rm -f conftest.er1 mgl@1371: cat conftest.err >&5 mgl@1371: echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); } && mgl@1371: - { ac_try='test -z "$ac_c_werror_flag" mgl@1371: - || test ! -s conftest.err' mgl@1371: - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 mgl@1371: - (eval $ac_try) 2>&5 mgl@1371: - ac_status=$? mgl@1371: - echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); }; } && mgl@1371: - { ac_try='test -s conftest$ac_exeext' mgl@1371: - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 mgl@1371: - (eval $ac_try) 2>&5 mgl@1371: - ac_status=$? mgl@1371: - echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); }; }; then mgl@1371: + (exit $ac_status); } && { mgl@1371: + test -z "$ac_c_werror_flag" || mgl@1371: + test ! -s conftest.err mgl@1371: + } && test -s conftest$ac_exeext && mgl@1371: + $as_test_x conftest$ac_exeext; then mgl@1371: mgl@1371: lt_aix_libpath_sed=' mgl@1371: /Import File Strings/,/^$/ { mgl@1371: @@ -8786,8 +9885,10 @@ mgl@1371: echo "$as_me: failed program was:" >&5 mgl@1371: sed 's/^/| /' conftest.$ac_ext >&5 mgl@1371: mgl@1371: + mgl@1371: fi mgl@1371: -rm -f conftest.err conftest.$ac_objext \ mgl@1371: + mgl@1371: +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ mgl@1371: conftest$ac_exeext conftest.$ac_ext mgl@1371: if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi mgl@1371: mgl@1371: @@ -8817,27 +9918,23 @@ mgl@1371: } mgl@1371: _ACEOF mgl@1371: rm -f conftest.$ac_objext conftest$ac_exeext mgl@1371: -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 mgl@1371: - (eval $ac_link) 2>conftest.er1 mgl@1371: +if { (ac_try="$ac_link" mgl@1371: +case "(($ac_try" in mgl@1371: + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; mgl@1371: + *) ac_try_echo=$ac_try;; mgl@1371: +esac mgl@1371: +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 mgl@1371: + (eval "$ac_link") 2>conftest.er1 mgl@1371: ac_status=$? mgl@1371: grep -v '^ *+' conftest.er1 >conftest.err mgl@1371: rm -f conftest.er1 mgl@1371: cat conftest.err >&5 mgl@1371: echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); } && mgl@1371: - { ac_try='test -z "$ac_c_werror_flag" mgl@1371: - || test ! -s conftest.err' mgl@1371: - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 mgl@1371: - (eval $ac_try) 2>&5 mgl@1371: - ac_status=$? mgl@1371: - echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); }; } && mgl@1371: - { ac_try='test -s conftest$ac_exeext' mgl@1371: - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 mgl@1371: - (eval $ac_try) 2>&5 mgl@1371: - ac_status=$? mgl@1371: - echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); }; }; then mgl@1371: + (exit $ac_status); } && { mgl@1371: + test -z "$ac_c_werror_flag" || mgl@1371: + test ! -s conftest.err mgl@1371: + } && test -s conftest$ac_exeext && mgl@1371: + $as_test_x conftest$ac_exeext; then mgl@1371: mgl@1371: lt_aix_libpath_sed=' mgl@1371: /Import File Strings/,/^$/ { mgl@1371: @@ -8855,8 +9952,10 @@ mgl@1371: echo "$as_me: failed program was:" >&5 mgl@1371: sed 's/^/| /' conftest.$ac_ext >&5 mgl@1371: mgl@1371: + mgl@1371: fi mgl@1371: -rm -f conftest.err conftest.$ac_objext \ mgl@1371: + mgl@1371: +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ mgl@1371: conftest$ac_exeext conftest.$ac_ext mgl@1371: if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi mgl@1371: mgl@1371: @@ -9073,35 +10172,33 @@ mgl@1371: int foo(void) {} mgl@1371: _ACEOF mgl@1371: rm -f conftest.$ac_objext conftest$ac_exeext mgl@1371: -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 mgl@1371: - (eval $ac_link) 2>conftest.er1 mgl@1371: +if { (ac_try="$ac_link" mgl@1371: +case "(($ac_try" in mgl@1371: + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; mgl@1371: + *) ac_try_echo=$ac_try;; mgl@1371: +esac mgl@1371: +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 mgl@1371: + (eval "$ac_link") 2>conftest.er1 mgl@1371: ac_status=$? mgl@1371: grep -v '^ *+' conftest.er1 >conftest.err mgl@1371: rm -f conftest.er1 mgl@1371: cat conftest.err >&5 mgl@1371: echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); } && mgl@1371: - { ac_try='test -z "$ac_c_werror_flag" mgl@1371: - || test ! -s conftest.err' mgl@1371: - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 mgl@1371: - (eval $ac_try) 2>&5 mgl@1371: - ac_status=$? mgl@1371: - echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); }; } && mgl@1371: - { ac_try='test -s conftest$ac_exeext' mgl@1371: - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 mgl@1371: - (eval $ac_try) 2>&5 mgl@1371: - ac_status=$? mgl@1371: - echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); }; }; then mgl@1371: + (exit $ac_status); } && { mgl@1371: + test -z "$ac_c_werror_flag" || mgl@1371: + test ! -s conftest.err mgl@1371: + } && test -s conftest$ac_exeext && mgl@1371: + $as_test_x conftest$ac_exeext; then mgl@1371: archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib' mgl@1371: mgl@1371: else mgl@1371: echo "$as_me: failed program was:" >&5 mgl@1371: sed 's/^/| /' conftest.$ac_ext >&5 mgl@1371: mgl@1371: + mgl@1371: fi mgl@1371: -rm -f conftest.err conftest.$ac_objext \ mgl@1371: + mgl@1371: +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ mgl@1371: conftest$ac_exeext conftest.$ac_ext mgl@1371: LDFLAGS="$save_LDFLAGS" mgl@1371: else mgl@1371: @@ -9358,8 +10455,8 @@ mgl@1371: fi mgl@1371: fi mgl@1371: mgl@1371: -echo "$as_me:$LINENO: result: $ld_shlibs" >&5 mgl@1371: -echo "${ECHO_T}$ld_shlibs" >&6 mgl@1371: +{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5 mgl@1371: +echo "${ECHO_T}$ld_shlibs" >&6; } mgl@1371: test "$ld_shlibs" = no && can_build_shared=no mgl@1371: mgl@1371: with_gnu_ld=$with_gnu_ld mgl@1371: @@ -9395,46 +10492,52 @@ mgl@1371: # Test whether the compiler implicitly links with -lc since on some mgl@1371: # systems, -lgcc has to come before -lc. If gcc already passes -lc mgl@1371: # to ld, don't add -lc before -lgcc. mgl@1371: - echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 mgl@1371: -echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 mgl@1371: - $RM conftest* mgl@1371: - echo "$lt_simple_compile_test_code" > conftest.$ac_ext mgl@1371: + { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 mgl@1371: +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; } mgl@1371: +if test "${lt_cv_archive_cmds_need_lc+set}" = set; then mgl@1371: + echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: +else mgl@1371: + $RM conftest* mgl@1371: + echo "$lt_simple_compile_test_code" > conftest.$ac_ext mgl@1371: mgl@1371: - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 mgl@1371: + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 mgl@1371: (eval $ac_compile) 2>&5 mgl@1371: ac_status=$? mgl@1371: echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: (exit $ac_status); } 2>conftest.err; then mgl@1371: - soname=conftest mgl@1371: - lib=conftest mgl@1371: - libobjs=conftest.$ac_objext mgl@1371: - deplibs= mgl@1371: - wl=$lt_prog_compiler_wl mgl@1371: - pic_flag=$lt_prog_compiler_pic mgl@1371: - compiler_flags=-v mgl@1371: - linker_flags=-v mgl@1371: - verstring= mgl@1371: - output_objdir=. mgl@1371: - libname=conftest mgl@1371: - lt_save_allow_undefined_flag=$allow_undefined_flag mgl@1371: - allow_undefined_flag= mgl@1371: - if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5 mgl@1371: + soname=conftest mgl@1371: + lib=conftest mgl@1371: + libobjs=conftest.$ac_objext mgl@1371: + deplibs= mgl@1371: + wl=$lt_prog_compiler_wl mgl@1371: + pic_flag=$lt_prog_compiler_pic mgl@1371: + compiler_flags=-v mgl@1371: + linker_flags=-v mgl@1371: + verstring= mgl@1371: + output_objdir=. mgl@1371: + libname=conftest mgl@1371: + lt_save_allow_undefined_flag=$allow_undefined_flag mgl@1371: + allow_undefined_flag= mgl@1371: + if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5 mgl@1371: (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 mgl@1371: ac_status=$? mgl@1371: echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: (exit $ac_status); } mgl@1371: - then mgl@1371: - archive_cmds_need_lc=no mgl@1371: - else mgl@1371: - archive_cmds_need_lc=yes mgl@1371: - fi mgl@1371: - allow_undefined_flag=$lt_save_allow_undefined_flag mgl@1371: - else mgl@1371: - cat conftest.err 1>&5 mgl@1371: - fi mgl@1371: - $RM conftest* mgl@1371: - echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5 mgl@1371: -echo "${ECHO_T}$archive_cmds_need_lc" >&6 mgl@1371: + then mgl@1371: + lt_cv_archive_cmds_need_lc=no mgl@1371: + else mgl@1371: + lt_cv_archive_cmds_need_lc=yes mgl@1371: + fi mgl@1371: + allow_undefined_flag=$lt_save_allow_undefined_flag mgl@1371: + else mgl@1371: + cat conftest.err 1>&5 mgl@1371: + fi mgl@1371: + $RM conftest* mgl@1371: + mgl@1371: +fi mgl@1371: +{ echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5 mgl@1371: +echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6; } mgl@1371: + archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc mgl@1371: ;; mgl@1371: esac mgl@1371: fi mgl@1371: @@ -9597,8 +10700,8 @@ mgl@1371: mgl@1371: mgl@1371: mgl@1371: - echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 mgl@1371: -echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 mgl@1371: + { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 mgl@1371: +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; } mgl@1371: mgl@1371: if test "$GCC" = yes; then mgl@1371: case $host_os in mgl@1371: @@ -10014,12 +11117,17 @@ mgl@1371: finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' mgl@1371: shlibpath_var=LD_LIBRARY_PATH mgl@1371: shlibpath_overrides_runpath=no mgl@1371: + mgl@1371: # Some binutils ld are patched to set DT_RUNPATH mgl@1371: - save_LDFLAGS=$LDFLAGS mgl@1371: - save_libdir=$libdir mgl@1371: - eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ mgl@1371: - LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" mgl@1371: - cat >conftest.$ac_ext <<_ACEOF mgl@1371: + if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then mgl@1371: + echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: +else mgl@1371: + lt_cv_shlibpath_overrides_runpath=no mgl@1371: + save_LDFLAGS=$LDFLAGS mgl@1371: + save_libdir=$libdir mgl@1371: + eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ mgl@1371: + LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" mgl@1371: + cat >conftest.$ac_ext <<_ACEOF mgl@1371: /* confdefs.h. */ mgl@1371: _ACEOF mgl@1371: cat confdefs.h >>conftest.$ac_ext mgl@1371: @@ -10035,40 +11143,42 @@ mgl@1371: } mgl@1371: _ACEOF mgl@1371: rm -f conftest.$ac_objext conftest$ac_exeext mgl@1371: -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 mgl@1371: - (eval $ac_link) 2>conftest.er1 mgl@1371: +if { (ac_try="$ac_link" mgl@1371: +case "(($ac_try" in mgl@1371: + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; mgl@1371: + *) ac_try_echo=$ac_try;; mgl@1371: +esac mgl@1371: +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 mgl@1371: + (eval "$ac_link") 2>conftest.er1 mgl@1371: ac_status=$? mgl@1371: grep -v '^ *+' conftest.er1 >conftest.err mgl@1371: rm -f conftest.er1 mgl@1371: cat conftest.err >&5 mgl@1371: echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); } && mgl@1371: - { ac_try='test -z "$ac_c_werror_flag" mgl@1371: - || test ! -s conftest.err' mgl@1371: - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 mgl@1371: - (eval $ac_try) 2>&5 mgl@1371: - ac_status=$? mgl@1371: - echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); }; } && mgl@1371: - { ac_try='test -s conftest$ac_exeext' mgl@1371: - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 mgl@1371: - (eval $ac_try) 2>&5 mgl@1371: - ac_status=$? mgl@1371: - echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); }; }; then mgl@1371: + (exit $ac_status); } && { mgl@1371: + test -z "$ac_c_werror_flag" || mgl@1371: + test ! -s conftest.err mgl@1371: + } && test -s conftest$ac_exeext && mgl@1371: + $as_test_x conftest$ac_exeext; then mgl@1371: if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then mgl@1371: - shlibpath_overrides_runpath=yes mgl@1371: + lt_cv_shlibpath_overrides_runpath=yes mgl@1371: fi mgl@1371: mgl@1371: else mgl@1371: echo "$as_me: failed program was:" >&5 mgl@1371: sed 's/^/| /' conftest.$ac_ext >&5 mgl@1371: mgl@1371: + mgl@1371: fi mgl@1371: -rm -f conftest.err conftest.$ac_objext \ mgl@1371: + mgl@1371: +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ mgl@1371: conftest$ac_exeext conftest.$ac_ext mgl@1371: - LDFLAGS=$save_LDFLAGS mgl@1371: - libdir=$save_libdir mgl@1371: + LDFLAGS=$save_LDFLAGS mgl@1371: + libdir=$save_libdir mgl@1371: + mgl@1371: +fi mgl@1371: + mgl@1371: + shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath mgl@1371: mgl@1371: # This implies no fast_install, which is unacceptable. mgl@1371: # Some rework will be needed to allow for fast_install mgl@1371: @@ -10278,8 +11388,8 @@ mgl@1371: dynamic_linker=no mgl@1371: ;; mgl@1371: esac mgl@1371: -echo "$as_me:$LINENO: result: $dynamic_linker" >&5 mgl@1371: -echo "${ECHO_T}$dynamic_linker" >&6 mgl@1371: +{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5 mgl@1371: +echo "${ECHO_T}$dynamic_linker" >&6; } mgl@1371: test "$dynamic_linker" = no && can_build_shared=no mgl@1371: mgl@1371: variables_saved_for_relink="PATH $shlibpath_var $runpath_var" mgl@1371: @@ -10380,8 +11490,8 @@ mgl@1371: mgl@1371: mgl@1371: mgl@1371: - echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 mgl@1371: -echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 mgl@1371: + { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 mgl@1371: +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; } mgl@1371: hardcode_action= mgl@1371: if test -n "$hardcode_libdir_flag_spec" || mgl@1371: test -n "$runpath_var" || mgl@1371: @@ -10405,8 +11515,8 @@ mgl@1371: # directories. mgl@1371: hardcode_action=unsupported mgl@1371: fi mgl@1371: -echo "$as_me:$LINENO: result: $hardcode_action" >&5 mgl@1371: -echo "${ECHO_T}$hardcode_action" >&6 mgl@1371: +{ echo "$as_me:$LINENO: result: $hardcode_action" >&5 mgl@1371: +echo "${ECHO_T}$hardcode_action" >&6; } mgl@1371: mgl@1371: if test "$hardcode_action" = relink || mgl@1371: test "$inherit_rpath" = yes; then mgl@1371: @@ -10450,8 +11560,8 @@ mgl@1371: mgl@1371: darwin*) mgl@1371: # if libdl is installed we need to link against it mgl@1371: - echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 mgl@1371: -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 mgl@1371: + { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 mgl@1371: +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_lib_dl_dlopen+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -10464,56 +11574,53 @@ mgl@1371: cat >>conftest.$ac_ext <<_ACEOF mgl@1371: /* end confdefs.h. */ mgl@1371: mgl@1371: -/* Override any gcc2 internal prototype to avoid an error. */ mgl@1371: +/* Override any GCC internal prototype to avoid an error. mgl@1371: + Use char because int might match the return type of a GCC mgl@1371: + builtin and then its argument prototype would still apply. */ mgl@1371: #ifdef __cplusplus mgl@1371: extern "C" mgl@1371: #endif mgl@1371: -/* We use char because int might match the return type of a gcc2 mgl@1371: - builtin and then its argument prototype would still apply. */ mgl@1371: char dlopen (); mgl@1371: int mgl@1371: main () mgl@1371: { mgl@1371: -dlopen (); mgl@1371: +return dlopen (); mgl@1371: ; mgl@1371: return 0; mgl@1371: } mgl@1371: _ACEOF mgl@1371: rm -f conftest.$ac_objext conftest$ac_exeext mgl@1371: -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 mgl@1371: - (eval $ac_link) 2>conftest.er1 mgl@1371: +if { (ac_try="$ac_link" mgl@1371: +case "(($ac_try" in mgl@1371: + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; mgl@1371: + *) ac_try_echo=$ac_try;; mgl@1371: +esac mgl@1371: +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 mgl@1371: + (eval "$ac_link") 2>conftest.er1 mgl@1371: ac_status=$? mgl@1371: grep -v '^ *+' conftest.er1 >conftest.err mgl@1371: rm -f conftest.er1 mgl@1371: cat conftest.err >&5 mgl@1371: echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); } && mgl@1371: - { ac_try='test -z "$ac_c_werror_flag" mgl@1371: - || test ! -s conftest.err' mgl@1371: - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 mgl@1371: - (eval $ac_try) 2>&5 mgl@1371: - ac_status=$? mgl@1371: - echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); }; } && mgl@1371: - { ac_try='test -s conftest$ac_exeext' mgl@1371: - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 mgl@1371: - (eval $ac_try) 2>&5 mgl@1371: - ac_status=$? mgl@1371: - echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); }; }; then mgl@1371: + (exit $ac_status); } && { mgl@1371: + test -z "$ac_c_werror_flag" || mgl@1371: + test ! -s conftest.err mgl@1371: + } && test -s conftest$ac_exeext && mgl@1371: + $as_test_x conftest$ac_exeext; then mgl@1371: ac_cv_lib_dl_dlopen=yes mgl@1371: else mgl@1371: echo "$as_me: failed program was:" >&5 mgl@1371: sed 's/^/| /' conftest.$ac_ext >&5 mgl@1371: mgl@1371: -ac_cv_lib_dl_dlopen=no mgl@1371: + ac_cv_lib_dl_dlopen=no mgl@1371: fi mgl@1371: -rm -f conftest.err conftest.$ac_objext \ mgl@1371: + mgl@1371: +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ mgl@1371: conftest$ac_exeext conftest.$ac_ext mgl@1371: LIBS=$ac_check_lib_save_LIBS mgl@1371: fi mgl@1371: -echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 mgl@1371: -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 mgl@1371: +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 mgl@1371: +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; } mgl@1371: if test $ac_cv_lib_dl_dlopen = yes; then mgl@1371: lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" mgl@1371: else mgl@1371: @@ -10527,8 +11634,8 @@ mgl@1371: ;; mgl@1371: mgl@1371: *) mgl@1371: - echo "$as_me:$LINENO: checking for shl_load" >&5 mgl@1371: -echo $ECHO_N "checking for shl_load... $ECHO_C" >&6 mgl@1371: + { echo "$as_me:$LINENO: checking for shl_load" >&5 mgl@1371: +echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_func_shl_load+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -10555,73 +11662,64 @@ mgl@1371: mgl@1371: #undef shl_load mgl@1371: mgl@1371: -/* Override any gcc2 internal prototype to avoid an error. */ mgl@1371: +/* Override any GCC internal prototype to avoid an error. mgl@1371: + Use char because int might match the return type of a GCC mgl@1371: + builtin and then its argument prototype would still apply. */ mgl@1371: #ifdef __cplusplus mgl@1371: extern "C" mgl@1371: -{ mgl@1371: #endif mgl@1371: -/* We use char because int might match the return type of a gcc2 mgl@1371: - builtin and then its argument prototype would still apply. */ mgl@1371: char shl_load (); mgl@1371: /* The GNU C library defines this for functions which it implements mgl@1371: to always fail with ENOSYS. Some functions are actually named mgl@1371: something starting with __ and the normal name is an alias. */ mgl@1371: -#if defined (__stub_shl_load) || defined (__stub___shl_load) mgl@1371: +#if defined __stub_shl_load || defined __stub___shl_load mgl@1371: choke me mgl@1371: -#else mgl@1371: -char (*f) () = shl_load; mgl@1371: -#endif mgl@1371: -#ifdef __cplusplus mgl@1371: -} mgl@1371: #endif mgl@1371: mgl@1371: int mgl@1371: main () mgl@1371: { mgl@1371: -return f != shl_load; mgl@1371: +return shl_load (); mgl@1371: ; mgl@1371: return 0; mgl@1371: } mgl@1371: _ACEOF mgl@1371: rm -f conftest.$ac_objext conftest$ac_exeext mgl@1371: -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 mgl@1371: - (eval $ac_link) 2>conftest.er1 mgl@1371: +if { (ac_try="$ac_link" mgl@1371: +case "(($ac_try" in mgl@1371: + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; mgl@1371: + *) ac_try_echo=$ac_try;; mgl@1371: +esac mgl@1371: +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 mgl@1371: + (eval "$ac_link") 2>conftest.er1 mgl@1371: ac_status=$? mgl@1371: grep -v '^ *+' conftest.er1 >conftest.err mgl@1371: rm -f conftest.er1 mgl@1371: cat conftest.err >&5 mgl@1371: echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); } && mgl@1371: - { ac_try='test -z "$ac_c_werror_flag" mgl@1371: - || test ! -s conftest.err' mgl@1371: - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 mgl@1371: - (eval $ac_try) 2>&5 mgl@1371: - ac_status=$? mgl@1371: - echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); }; } && mgl@1371: - { ac_try='test -s conftest$ac_exeext' mgl@1371: - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 mgl@1371: - (eval $ac_try) 2>&5 mgl@1371: - ac_status=$? mgl@1371: - echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); }; }; then mgl@1371: + (exit $ac_status); } && { mgl@1371: + test -z "$ac_c_werror_flag" || mgl@1371: + test ! -s conftest.err mgl@1371: + } && test -s conftest$ac_exeext && mgl@1371: + $as_test_x conftest$ac_exeext; then mgl@1371: ac_cv_func_shl_load=yes mgl@1371: else mgl@1371: echo "$as_me: failed program was:" >&5 mgl@1371: sed 's/^/| /' conftest.$ac_ext >&5 mgl@1371: mgl@1371: -ac_cv_func_shl_load=no mgl@1371: + ac_cv_func_shl_load=no mgl@1371: fi mgl@1371: -rm -f conftest.err conftest.$ac_objext \ mgl@1371: + mgl@1371: +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ mgl@1371: conftest$ac_exeext conftest.$ac_ext mgl@1371: fi mgl@1371: -echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 mgl@1371: -echo "${ECHO_T}$ac_cv_func_shl_load" >&6 mgl@1371: +{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 mgl@1371: +echo "${ECHO_T}$ac_cv_func_shl_load" >&6; } mgl@1371: if test $ac_cv_func_shl_load = yes; then mgl@1371: lt_cv_dlopen="shl_load" mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 mgl@1371: -echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6 mgl@1371: + { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 mgl@1371: +echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_lib_dld_shl_load+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -10634,61 +11732,58 @@ mgl@1371: cat >>conftest.$ac_ext <<_ACEOF mgl@1371: /* end confdefs.h. */ mgl@1371: mgl@1371: -/* Override any gcc2 internal prototype to avoid an error. */ mgl@1371: +/* Override any GCC internal prototype to avoid an error. mgl@1371: + Use char because int might match the return type of a GCC mgl@1371: + builtin and then its argument prototype would still apply. */ mgl@1371: #ifdef __cplusplus mgl@1371: extern "C" mgl@1371: #endif mgl@1371: -/* We use char because int might match the return type of a gcc2 mgl@1371: - builtin and then its argument prototype would still apply. */ mgl@1371: char shl_load (); mgl@1371: int mgl@1371: main () mgl@1371: { mgl@1371: -shl_load (); mgl@1371: +return shl_load (); mgl@1371: ; mgl@1371: return 0; mgl@1371: } mgl@1371: _ACEOF mgl@1371: rm -f conftest.$ac_objext conftest$ac_exeext mgl@1371: -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 mgl@1371: - (eval $ac_link) 2>conftest.er1 mgl@1371: +if { (ac_try="$ac_link" mgl@1371: +case "(($ac_try" in mgl@1371: + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; mgl@1371: + *) ac_try_echo=$ac_try;; mgl@1371: +esac mgl@1371: +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 mgl@1371: + (eval "$ac_link") 2>conftest.er1 mgl@1371: ac_status=$? mgl@1371: grep -v '^ *+' conftest.er1 >conftest.err mgl@1371: rm -f conftest.er1 mgl@1371: cat conftest.err >&5 mgl@1371: echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); } && mgl@1371: - { ac_try='test -z "$ac_c_werror_flag" mgl@1371: - || test ! -s conftest.err' mgl@1371: - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 mgl@1371: - (eval $ac_try) 2>&5 mgl@1371: - ac_status=$? mgl@1371: - echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); }; } && mgl@1371: - { ac_try='test -s conftest$ac_exeext' mgl@1371: - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 mgl@1371: - (eval $ac_try) 2>&5 mgl@1371: - ac_status=$? mgl@1371: - echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); }; }; then mgl@1371: + (exit $ac_status); } && { mgl@1371: + test -z "$ac_c_werror_flag" || mgl@1371: + test ! -s conftest.err mgl@1371: + } && test -s conftest$ac_exeext && mgl@1371: + $as_test_x conftest$ac_exeext; then mgl@1371: ac_cv_lib_dld_shl_load=yes mgl@1371: else mgl@1371: echo "$as_me: failed program was:" >&5 mgl@1371: sed 's/^/| /' conftest.$ac_ext >&5 mgl@1371: mgl@1371: -ac_cv_lib_dld_shl_load=no mgl@1371: + ac_cv_lib_dld_shl_load=no mgl@1371: fi mgl@1371: -rm -f conftest.err conftest.$ac_objext \ mgl@1371: + mgl@1371: +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ mgl@1371: conftest$ac_exeext conftest.$ac_ext mgl@1371: LIBS=$ac_check_lib_save_LIBS mgl@1371: fi mgl@1371: -echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 mgl@1371: -echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6 mgl@1371: +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 mgl@1371: +echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; } mgl@1371: if test $ac_cv_lib_dld_shl_load = yes; then mgl@1371: lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: checking for dlopen" >&5 mgl@1371: -echo $ECHO_N "checking for dlopen... $ECHO_C" >&6 mgl@1371: + { echo "$as_me:$LINENO: checking for dlopen" >&5 mgl@1371: +echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_func_dlopen+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -10715,73 +11810,64 @@ mgl@1371: mgl@1371: #undef dlopen mgl@1371: mgl@1371: -/* Override any gcc2 internal prototype to avoid an error. */ mgl@1371: +/* Override any GCC internal prototype to avoid an error. mgl@1371: + Use char because int might match the return type of a GCC mgl@1371: + builtin and then its argument prototype would still apply. */ mgl@1371: #ifdef __cplusplus mgl@1371: extern "C" mgl@1371: -{ mgl@1371: #endif mgl@1371: -/* We use char because int might match the return type of a gcc2 mgl@1371: - builtin and then its argument prototype would still apply. */ mgl@1371: char dlopen (); mgl@1371: /* The GNU C library defines this for functions which it implements mgl@1371: to always fail with ENOSYS. Some functions are actually named mgl@1371: something starting with __ and the normal name is an alias. */ mgl@1371: -#if defined (__stub_dlopen) || defined (__stub___dlopen) mgl@1371: +#if defined __stub_dlopen || defined __stub___dlopen mgl@1371: choke me mgl@1371: -#else mgl@1371: -char (*f) () = dlopen; mgl@1371: -#endif mgl@1371: -#ifdef __cplusplus mgl@1371: -} mgl@1371: #endif mgl@1371: mgl@1371: int mgl@1371: main () mgl@1371: { mgl@1371: -return f != dlopen; mgl@1371: +return dlopen (); mgl@1371: ; mgl@1371: return 0; mgl@1371: } mgl@1371: _ACEOF mgl@1371: rm -f conftest.$ac_objext conftest$ac_exeext mgl@1371: -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 mgl@1371: - (eval $ac_link) 2>conftest.er1 mgl@1371: +if { (ac_try="$ac_link" mgl@1371: +case "(($ac_try" in mgl@1371: + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; mgl@1371: + *) ac_try_echo=$ac_try;; mgl@1371: +esac mgl@1371: +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 mgl@1371: + (eval "$ac_link") 2>conftest.er1 mgl@1371: ac_status=$? mgl@1371: grep -v '^ *+' conftest.er1 >conftest.err mgl@1371: rm -f conftest.er1 mgl@1371: cat conftest.err >&5 mgl@1371: echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); } && mgl@1371: - { ac_try='test -z "$ac_c_werror_flag" mgl@1371: - || test ! -s conftest.err' mgl@1371: - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 mgl@1371: - (eval $ac_try) 2>&5 mgl@1371: - ac_status=$? mgl@1371: - echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); }; } && mgl@1371: - { ac_try='test -s conftest$ac_exeext' mgl@1371: - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 mgl@1371: - (eval $ac_try) 2>&5 mgl@1371: - ac_status=$? mgl@1371: - echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); }; }; then mgl@1371: + (exit $ac_status); } && { mgl@1371: + test -z "$ac_c_werror_flag" || mgl@1371: + test ! -s conftest.err mgl@1371: + } && test -s conftest$ac_exeext && mgl@1371: + $as_test_x conftest$ac_exeext; then mgl@1371: ac_cv_func_dlopen=yes mgl@1371: else mgl@1371: echo "$as_me: failed program was:" >&5 mgl@1371: sed 's/^/| /' conftest.$ac_ext >&5 mgl@1371: mgl@1371: -ac_cv_func_dlopen=no mgl@1371: + ac_cv_func_dlopen=no mgl@1371: fi mgl@1371: -rm -f conftest.err conftest.$ac_objext \ mgl@1371: + mgl@1371: +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ mgl@1371: conftest$ac_exeext conftest.$ac_ext mgl@1371: fi mgl@1371: -echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 mgl@1371: -echo "${ECHO_T}$ac_cv_func_dlopen" >&6 mgl@1371: +{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 mgl@1371: +echo "${ECHO_T}$ac_cv_func_dlopen" >&6; } mgl@1371: if test $ac_cv_func_dlopen = yes; then mgl@1371: lt_cv_dlopen="dlopen" mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 mgl@1371: -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 mgl@1371: + { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 mgl@1371: +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_lib_dl_dlopen+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -10794,61 +11880,58 @@ mgl@1371: cat >>conftest.$ac_ext <<_ACEOF mgl@1371: /* end confdefs.h. */ mgl@1371: mgl@1371: -/* Override any gcc2 internal prototype to avoid an error. */ mgl@1371: +/* Override any GCC internal prototype to avoid an error. mgl@1371: + Use char because int might match the return type of a GCC mgl@1371: + builtin and then its argument prototype would still apply. */ mgl@1371: #ifdef __cplusplus mgl@1371: extern "C" mgl@1371: #endif mgl@1371: -/* We use char because int might match the return type of a gcc2 mgl@1371: - builtin and then its argument prototype would still apply. */ mgl@1371: char dlopen (); mgl@1371: int mgl@1371: main () mgl@1371: { mgl@1371: -dlopen (); mgl@1371: +return dlopen (); mgl@1371: ; mgl@1371: return 0; mgl@1371: } mgl@1371: _ACEOF mgl@1371: rm -f conftest.$ac_objext conftest$ac_exeext mgl@1371: -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 mgl@1371: - (eval $ac_link) 2>conftest.er1 mgl@1371: +if { (ac_try="$ac_link" mgl@1371: +case "(($ac_try" in mgl@1371: + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; mgl@1371: + *) ac_try_echo=$ac_try;; mgl@1371: +esac mgl@1371: +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 mgl@1371: + (eval "$ac_link") 2>conftest.er1 mgl@1371: ac_status=$? mgl@1371: grep -v '^ *+' conftest.er1 >conftest.err mgl@1371: rm -f conftest.er1 mgl@1371: cat conftest.err >&5 mgl@1371: echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); } && mgl@1371: - { ac_try='test -z "$ac_c_werror_flag" mgl@1371: - || test ! -s conftest.err' mgl@1371: - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 mgl@1371: - (eval $ac_try) 2>&5 mgl@1371: - ac_status=$? mgl@1371: - echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); }; } && mgl@1371: - { ac_try='test -s conftest$ac_exeext' mgl@1371: - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 mgl@1371: - (eval $ac_try) 2>&5 mgl@1371: - ac_status=$? mgl@1371: - echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); }; }; then mgl@1371: + (exit $ac_status); } && { mgl@1371: + test -z "$ac_c_werror_flag" || mgl@1371: + test ! -s conftest.err mgl@1371: + } && test -s conftest$ac_exeext && mgl@1371: + $as_test_x conftest$ac_exeext; then mgl@1371: ac_cv_lib_dl_dlopen=yes mgl@1371: else mgl@1371: echo "$as_me: failed program was:" >&5 mgl@1371: sed 's/^/| /' conftest.$ac_ext >&5 mgl@1371: mgl@1371: -ac_cv_lib_dl_dlopen=no mgl@1371: + ac_cv_lib_dl_dlopen=no mgl@1371: fi mgl@1371: -rm -f conftest.err conftest.$ac_objext \ mgl@1371: + mgl@1371: +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ mgl@1371: conftest$ac_exeext conftest.$ac_ext mgl@1371: LIBS=$ac_check_lib_save_LIBS mgl@1371: fi mgl@1371: -echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 mgl@1371: -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 mgl@1371: +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 mgl@1371: +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; } mgl@1371: if test $ac_cv_lib_dl_dlopen = yes; then mgl@1371: lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 mgl@1371: -echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6 mgl@1371: + { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 mgl@1371: +echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_lib_svld_dlopen+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -10861,61 +11944,58 @@ mgl@1371: cat >>conftest.$ac_ext <<_ACEOF mgl@1371: /* end confdefs.h. */ mgl@1371: mgl@1371: -/* Override any gcc2 internal prototype to avoid an error. */ mgl@1371: +/* Override any GCC internal prototype to avoid an error. mgl@1371: + Use char because int might match the return type of a GCC mgl@1371: + builtin and then its argument prototype would still apply. */ mgl@1371: #ifdef __cplusplus mgl@1371: extern "C" mgl@1371: #endif mgl@1371: -/* We use char because int might match the return type of a gcc2 mgl@1371: - builtin and then its argument prototype would still apply. */ mgl@1371: char dlopen (); mgl@1371: int mgl@1371: main () mgl@1371: { mgl@1371: -dlopen (); mgl@1371: +return dlopen (); mgl@1371: ; mgl@1371: return 0; mgl@1371: } mgl@1371: _ACEOF mgl@1371: rm -f conftest.$ac_objext conftest$ac_exeext mgl@1371: -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 mgl@1371: - (eval $ac_link) 2>conftest.er1 mgl@1371: +if { (ac_try="$ac_link" mgl@1371: +case "(($ac_try" in mgl@1371: + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; mgl@1371: + *) ac_try_echo=$ac_try;; mgl@1371: +esac mgl@1371: +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 mgl@1371: + (eval "$ac_link") 2>conftest.er1 mgl@1371: ac_status=$? mgl@1371: grep -v '^ *+' conftest.er1 >conftest.err mgl@1371: rm -f conftest.er1 mgl@1371: cat conftest.err >&5 mgl@1371: echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); } && mgl@1371: - { ac_try='test -z "$ac_c_werror_flag" mgl@1371: - || test ! -s conftest.err' mgl@1371: - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 mgl@1371: - (eval $ac_try) 2>&5 mgl@1371: - ac_status=$? mgl@1371: - echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); }; } && mgl@1371: - { ac_try='test -s conftest$ac_exeext' mgl@1371: - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 mgl@1371: - (eval $ac_try) 2>&5 mgl@1371: - ac_status=$? mgl@1371: - echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); }; }; then mgl@1371: + (exit $ac_status); } && { mgl@1371: + test -z "$ac_c_werror_flag" || mgl@1371: + test ! -s conftest.err mgl@1371: + } && test -s conftest$ac_exeext && mgl@1371: + $as_test_x conftest$ac_exeext; then mgl@1371: ac_cv_lib_svld_dlopen=yes mgl@1371: else mgl@1371: echo "$as_me: failed program was:" >&5 mgl@1371: sed 's/^/| /' conftest.$ac_ext >&5 mgl@1371: mgl@1371: -ac_cv_lib_svld_dlopen=no mgl@1371: + ac_cv_lib_svld_dlopen=no mgl@1371: fi mgl@1371: -rm -f conftest.err conftest.$ac_objext \ mgl@1371: + mgl@1371: +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ mgl@1371: conftest$ac_exeext conftest.$ac_ext mgl@1371: LIBS=$ac_check_lib_save_LIBS mgl@1371: fi mgl@1371: -echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 mgl@1371: -echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6 mgl@1371: +{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 mgl@1371: +echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; } mgl@1371: if test $ac_cv_lib_svld_dlopen = yes; then mgl@1371: lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 mgl@1371: -echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6 mgl@1371: + { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 mgl@1371: +echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; } mgl@1371: if test "${ac_cv_lib_dld_dld_link+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -10928,56 +12008,53 @@ mgl@1371: cat >>conftest.$ac_ext <<_ACEOF mgl@1371: /* end confdefs.h. */ mgl@1371: mgl@1371: -/* Override any gcc2 internal prototype to avoid an error. */ mgl@1371: +/* Override any GCC internal prototype to avoid an error. mgl@1371: + Use char because int might match the return type of a GCC mgl@1371: + builtin and then its argument prototype would still apply. */ mgl@1371: #ifdef __cplusplus mgl@1371: extern "C" mgl@1371: #endif mgl@1371: -/* We use char because int might match the return type of a gcc2 mgl@1371: - builtin and then its argument prototype would still apply. */ mgl@1371: char dld_link (); mgl@1371: int mgl@1371: main () mgl@1371: { mgl@1371: -dld_link (); mgl@1371: +return dld_link (); mgl@1371: ; mgl@1371: return 0; mgl@1371: } mgl@1371: _ACEOF mgl@1371: rm -f conftest.$ac_objext conftest$ac_exeext mgl@1371: -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 mgl@1371: - (eval $ac_link) 2>conftest.er1 mgl@1371: +if { (ac_try="$ac_link" mgl@1371: +case "(($ac_try" in mgl@1371: + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; mgl@1371: + *) ac_try_echo=$ac_try;; mgl@1371: +esac mgl@1371: +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 mgl@1371: + (eval "$ac_link") 2>conftest.er1 mgl@1371: ac_status=$? mgl@1371: grep -v '^ *+' conftest.er1 >conftest.err mgl@1371: rm -f conftest.er1 mgl@1371: cat conftest.err >&5 mgl@1371: echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); } && mgl@1371: - { ac_try='test -z "$ac_c_werror_flag" mgl@1371: - || test ! -s conftest.err' mgl@1371: - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 mgl@1371: - (eval $ac_try) 2>&5 mgl@1371: - ac_status=$? mgl@1371: - echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); }; } && mgl@1371: - { ac_try='test -s conftest$ac_exeext' mgl@1371: - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 mgl@1371: - (eval $ac_try) 2>&5 mgl@1371: - ac_status=$? mgl@1371: - echo "$as_me:$LINENO: \$? = $ac_status" >&5 mgl@1371: - (exit $ac_status); }; }; then mgl@1371: + (exit $ac_status); } && { mgl@1371: + test -z "$ac_c_werror_flag" || mgl@1371: + test ! -s conftest.err mgl@1371: + } && test -s conftest$ac_exeext && mgl@1371: + $as_test_x conftest$ac_exeext; then mgl@1371: ac_cv_lib_dld_dld_link=yes mgl@1371: else mgl@1371: echo "$as_me: failed program was:" >&5 mgl@1371: sed 's/^/| /' conftest.$ac_ext >&5 mgl@1371: mgl@1371: -ac_cv_lib_dld_dld_link=no mgl@1371: + ac_cv_lib_dld_dld_link=no mgl@1371: fi mgl@1371: -rm -f conftest.err conftest.$ac_objext \ mgl@1371: + mgl@1371: +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ mgl@1371: conftest$ac_exeext conftest.$ac_ext mgl@1371: LIBS=$ac_check_lib_save_LIBS mgl@1371: fi mgl@1371: -echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 mgl@1371: -echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6 mgl@1371: +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 mgl@1371: +echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; } mgl@1371: if test $ac_cv_lib_dld_dld_link = yes; then mgl@1371: lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" mgl@1371: fi mgl@1371: @@ -11017,8 +12094,8 @@ mgl@1371: save_LIBS="$LIBS" mgl@1371: LIBS="$lt_cv_dlopen_libs $LIBS" mgl@1371: mgl@1371: - echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 mgl@1371: -echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6 mgl@1371: + { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 mgl@1371: +echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; } mgl@1371: if test "${lt_cv_dlopen_self+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -11028,7 +12105,7 @@ mgl@1371: lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 mgl@1371: lt_status=$lt_dlunknown mgl@1371: cat > conftest.$ac_ext <<_LT_EOF mgl@1371: -#line 11031 "configure" mgl@1371: +#line 12108 "configure" mgl@1371: #include "confdefs.h" mgl@1371: mgl@1371: #if HAVE_DLFCN_H mgl@1371: @@ -11108,13 +12185,13 @@ mgl@1371: mgl@1371: mgl@1371: fi mgl@1371: -echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 mgl@1371: -echo "${ECHO_T}$lt_cv_dlopen_self" >&6 mgl@1371: +{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 mgl@1371: +echo "${ECHO_T}$lt_cv_dlopen_self" >&6; } mgl@1371: mgl@1371: if test "x$lt_cv_dlopen_self" = xyes; then mgl@1371: wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" mgl@1371: - echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 mgl@1371: -echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6 mgl@1371: + { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 mgl@1371: +echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; } mgl@1371: if test "${lt_cv_dlopen_self_static+set}" = set; then mgl@1371: echo $ECHO_N "(cached) $ECHO_C" >&6 mgl@1371: else mgl@1371: @@ -11124,7 +12201,7 @@ mgl@1371: lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 mgl@1371: lt_status=$lt_dlunknown mgl@1371: cat > conftest.$ac_ext <<_LT_EOF mgl@1371: -#line 11127 "configure" mgl@1371: +#line 12204 "configure" mgl@1371: #include "confdefs.h" mgl@1371: mgl@1371: #if HAVE_DLFCN_H mgl@1371: @@ -11204,8 +12281,8 @@ mgl@1371: mgl@1371: mgl@1371: fi mgl@1371: -echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 mgl@1371: -echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6 mgl@1371: +{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 mgl@1371: +echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; } mgl@1371: fi mgl@1371: mgl@1371: CPPFLAGS="$save_CPPFLAGS" mgl@1371: @@ -11243,13 +12320,13 @@ mgl@1371: mgl@1371: striplib= mgl@1371: old_striplib= mgl@1371: -echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 mgl@1371: -echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 mgl@1371: +{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 mgl@1371: +echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; } mgl@1371: if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then mgl@1371: test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" mgl@1371: test -z "$striplib" && striplib="$STRIP --strip-unneeded" mgl@1371: - echo "$as_me:$LINENO: result: yes" >&5 mgl@1371: -echo "${ECHO_T}yes" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: yes" >&5 mgl@1371: +echo "${ECHO_T}yes" >&6; } mgl@1371: else mgl@1371: # FIXME - insert some real tests, host_os isn't really good enough mgl@1371: case $host_os in mgl@1371: @@ -11257,16 +12334,16 @@ mgl@1371: if test -n "$STRIP" ; then mgl@1371: striplib="$STRIP -x" mgl@1371: old_striplib="$STRIP -S" mgl@1371: - echo "$as_me:$LINENO: result: yes" >&5 mgl@1371: -echo "${ECHO_T}yes" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: yes" >&5 mgl@1371: +echo "${ECHO_T}yes" >&6; } mgl@1371: else mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: fi mgl@1371: ;; mgl@1371: *) mgl@1371: - echo "$as_me:$LINENO: result: no" >&5 mgl@1371: -echo "${ECHO_T}no" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: no" >&5 mgl@1371: +echo "${ECHO_T}no" >&6; } mgl@1371: ;; mgl@1371: esac mgl@1371: fi mgl@1371: @@ -11283,13 +12360,13 @@ mgl@1371: mgl@1371: mgl@1371: # Report which library types will actually be built mgl@1371: - echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 mgl@1371: -echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6 mgl@1371: - echo "$as_me:$LINENO: result: $can_build_shared" >&5 mgl@1371: -echo "${ECHO_T}$can_build_shared" >&6 mgl@1371: + { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 mgl@1371: +echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; } mgl@1371: + { echo "$as_me:$LINENO: result: $can_build_shared" >&5 mgl@1371: +echo "${ECHO_T}$can_build_shared" >&6; } mgl@1371: mgl@1371: - echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 mgl@1371: -echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6 mgl@1371: + { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 mgl@1371: +echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; } mgl@1371: test "$can_build_shared" = "no" && enable_shared=no mgl@1371: mgl@1371: # On AIX, shared libraries and static libraries use the same namespace, and mgl@1371: @@ -11309,15 +12386,15 @@ mgl@1371: fi mgl@1371: ;; mgl@1371: esac mgl@1371: - echo "$as_me:$LINENO: result: $enable_shared" >&5 mgl@1371: -echo "${ECHO_T}$enable_shared" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $enable_shared" >&5 mgl@1371: +echo "${ECHO_T}$enable_shared" >&6; } mgl@1371: mgl@1371: - echo "$as_me:$LINENO: checking whether to build static libraries" >&5 mgl@1371: -echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6 mgl@1371: + { echo "$as_me:$LINENO: checking whether to build static libraries" >&5 mgl@1371: +echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; } mgl@1371: # Make sure either enable_shared or enable_static is yes. mgl@1371: test "$enable_shared" = yes || enable_static=yes mgl@1371: - echo "$as_me:$LINENO: result: $enable_static" >&5 mgl@1371: -echo "${ECHO_T}$enable_static" >&6 mgl@1371: + { echo "$as_me:$LINENO: result: $enable_static" >&5 mgl@1371: +echo "${ECHO_T}$enable_static" >&6; } mgl@1371: mgl@1371: mgl@1371: mgl@1371: @@ -11343,7 +12420,7 @@ mgl@1371: mgl@1371: mgl@1371: mgl@1371: - ac_config_commands="$ac_config_commands libtool" mgl@1371: + ac_config_commands="$ac_config_commands libtool" mgl@1371: mgl@1371: mgl@1371: mgl@1371: @@ -11355,101 +12432,55 @@ mgl@1371: mgl@1371: if test -n "${sys_dir}"; then mgl@1371: case ${sys_dir} in mgl@1371: - a29khif) mgl@1371: - mgl@1371: -subdirs="$subdirs a29khif" mgl@1371: + a29khif) subdirs="$subdirs a29khif" mgl@1371: ;; mgl@1371: - arc) mgl@1371: - mgl@1371: -subdirs="$subdirs arc" mgl@1371: + arc) subdirs="$subdirs arc" mgl@1371: ;; mgl@1371: - arm) mgl@1371: - mgl@1371: -subdirs="$subdirs arm" mgl@1371: + arm) subdirs="$subdirs arm" mgl@1371: ;; mgl@1371: - d10v) mgl@1371: - mgl@1371: -subdirs="$subdirs d10v" mgl@1371: + avr32) subdirs="$subdirs avr32" mgl@1371: ;; mgl@1371: - decstation) mgl@1371: - mgl@1371: -subdirs="$subdirs decstation" mgl@1371: + d10v) subdirs="$subdirs d10v" mgl@1371: ;; mgl@1371: - h8300hms) mgl@1371: - mgl@1371: -subdirs="$subdirs h8300hms" mgl@1371: + decstation) subdirs="$subdirs decstation" mgl@1371: ;; mgl@1371: - h8500hms) mgl@1371: - mgl@1371: -subdirs="$subdirs h8500hms" mgl@1371: + h8300hms) subdirs="$subdirs h8300hms" mgl@1371: ;; mgl@1371: - linux) mgl@1371: - mgl@1371: -subdirs="$subdirs linux" mgl@1371: + h8500hms) subdirs="$subdirs h8500hms" mgl@1371: ;; mgl@1371: - m88kbug) mgl@1371: - mgl@1371: -subdirs="$subdirs m88kbug" mgl@1371: + linux) subdirs="$subdirs linux" mgl@1371: ;; mgl@1371: - mmixware) mgl@1371: - mgl@1371: -subdirs="$subdirs mmixware" mgl@1371: + m88kbug) subdirs="$subdirs m88kbug" mgl@1371: ;; mgl@1371: - netware) mgl@1371: - mgl@1371: -subdirs="$subdirs netware" mgl@1371: + mmixware) subdirs="$subdirs mmixware" mgl@1371: ;; mgl@1371: - rdos) mgl@1371: - mgl@1371: -subdirs="$subdirs rdos" mgl@1371: + netware) subdirs="$subdirs netware" mgl@1371: ;; mgl@1371: - rtems) mgl@1371: - mgl@1371: -subdirs="$subdirs rtems" mgl@1371: + rdos) subdirs="$subdirs rdos" mgl@1371: ;; mgl@1371: - sh) mgl@1371: - mgl@1371: -subdirs="$subdirs sh" mgl@1371: + rtems) subdirs="$subdirs rtems" mgl@1371: ;; mgl@1371: - sparc64) mgl@1371: - mgl@1371: -subdirs="$subdirs sparc64" mgl@1371: + sh) subdirs="$subdirs sh" mgl@1371: ;; mgl@1371: - sun4) mgl@1371: - mgl@1371: -subdirs="$subdirs sun4" mgl@1371: + sparc64) subdirs="$subdirs sparc64" mgl@1371: ;; mgl@1371: - sysmec) mgl@1371: - mgl@1371: -subdirs="$subdirs sysmec" mgl@1371: + sun4) subdirs="$subdirs sun4" mgl@1371: ;; mgl@1371: - sysnec810) mgl@1371: - mgl@1371: -subdirs="$subdirs sysnec810" mgl@1371: + sysmec) subdirs="$subdirs sysmec" mgl@1371: ;; mgl@1371: - sysnecv850) mgl@1371: - mgl@1371: -subdirs="$subdirs sysnecv850" mgl@1371: + sysnec810) subdirs="$subdirs sysnec810" mgl@1371: ;; mgl@1371: - sysvi386) mgl@1371: - mgl@1371: -subdirs="$subdirs sysvi386" mgl@1371: + sysnecv850) subdirs="$subdirs sysnecv850" mgl@1371: ;; mgl@1371: - sysvnecv70) mgl@1371: - mgl@1371: -subdirs="$subdirs sysvnecv70" mgl@1371: + sysvi386) subdirs="$subdirs sysvi386" mgl@1371: ;; mgl@1371: - tic80) mgl@1371: - mgl@1371: -subdirs="$subdirs tic80" mgl@1371: + sysvnecv70) subdirs="$subdirs sysvnecv70" mgl@1371: ;; mgl@1371: - w65) mgl@1371: - mgl@1371: -subdirs="$subdirs w65" mgl@1371: + tic80) subdirs="$subdirs tic80" mgl@1371: ;; mgl@1371: - z8ksim) mgl@1371: - mgl@1371: -subdirs="$subdirs z8ksim" mgl@1371: + w65) subdirs="$subdirs w65" mgl@1371: + ;; mgl@1371: + z8ksim) subdirs="$subdirs z8ksim" mgl@1371: ;; mgl@1371: esac; mgl@1371: fi mgl@1371: @@ -11471,7 +12502,7 @@ mgl@1371: fi mgl@1371: mgl@1371: mgl@1371: - ac_config_files="$ac_config_files Makefile" mgl@1371: +ac_config_files="$ac_config_files Makefile" mgl@1371: mgl@1371: cat >confcache <<\_ACEOF mgl@1371: # This file is a shell script that caches the results of configure mgl@1371: @@ -11491,39 +12522,58 @@ mgl@1371: mgl@1371: # The following way of writing the cache mishandles newlines in values, mgl@1371: # but we know of no workaround that is simple, portable, and efficient. mgl@1371: -# So, don't put newlines in cache variables' values. mgl@1371: +# So, we kill variables containing newlines. mgl@1371: # Ultrix sh set writes to stderr and can't be redirected directly, mgl@1371: # and sets the high bit in the cache file unless we assign to the vars. mgl@1371: -{ mgl@1371: +( mgl@1371: + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do mgl@1371: + eval ac_val=\$$ac_var mgl@1371: + case $ac_val in #( mgl@1371: + *${as_nl}*) mgl@1371: + case $ac_var in #( mgl@1371: + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 mgl@1371: +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; mgl@1371: + esac mgl@1371: + case $ac_var in #( mgl@1371: + _ | IFS | as_nl) ;; #( mgl@1371: + *) $as_unset $ac_var ;; mgl@1371: + esac ;; mgl@1371: + esac mgl@1371: + done mgl@1371: + mgl@1371: (set) 2>&1 | mgl@1371: - case `(ac_space=' '; set | grep ac_space) 2>&1` in mgl@1371: - *ac_space=\ *) mgl@1371: + case $as_nl`(ac_space=' '; set) 2>&1` in #( mgl@1371: + *${as_nl}ac_space=\ *) mgl@1371: # `set' does not quote correctly, so add quotes (double-quote mgl@1371: # substitution turns \\\\ into \\, and sed turns \\ into \). mgl@1371: sed -n \ mgl@1371: "s/'/'\\\\''/g; mgl@1371: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" mgl@1371: - ;; mgl@1371: + ;; #( mgl@1371: *) mgl@1371: # `set' quotes correctly as required by POSIX, so do not add quotes. mgl@1371: - sed -n \ mgl@1371: - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" mgl@1371: + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" mgl@1371: ;; mgl@1371: - esac; mgl@1371: -} | mgl@1371: + esac | mgl@1371: + sort mgl@1371: +) | mgl@1371: sed ' mgl@1371: + /^ac_cv_env_/b end mgl@1371: t clear mgl@1371: - : clear mgl@1371: + :clear mgl@1371: s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ mgl@1371: t end mgl@1371: - /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ mgl@1371: - : end' >>confcache mgl@1371: -if diff $cache_file confcache >/dev/null 2>&1; then :; else mgl@1371: - if test -w $cache_file; then mgl@1371: - test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" mgl@1371: + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ mgl@1371: + :end' >>confcache mgl@1371: +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else mgl@1371: + if test -w "$cache_file"; then mgl@1371: + test "x$cache_file" != "x/dev/null" && mgl@1371: + { echo "$as_me:$LINENO: updating cache $cache_file" >&5 mgl@1371: +echo "$as_me: updating cache $cache_file" >&6;} mgl@1371: cat confcache >$cache_file mgl@1371: else mgl@1371: - echo "not updating unwritable cache $cache_file" mgl@1371: + { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 mgl@1371: +echo "$as_me: not updating unwritable cache $cache_file" >&6;} mgl@1371: fi mgl@1371: fi mgl@1371: rm -f confcache mgl@1371: @@ -11532,63 +12582,48 @@ mgl@1371: # Let make expand exec_prefix. mgl@1371: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' mgl@1371: mgl@1371: -# VPATH may cause trouble with some makes, so we remove $(srcdir), mgl@1371: -# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and mgl@1371: -# trailing colons and then remove the whole line if VPATH becomes empty mgl@1371: -# (actually we leave an empty line to preserve line numbers). mgl@1371: -if test "x$srcdir" = x.; then mgl@1371: - ac_vpsub='/^[ ]*VPATH[ ]*=/{ mgl@1371: -s/:*\$(srcdir):*/:/; mgl@1371: -s/:*\${srcdir}:*/:/; mgl@1371: -s/:*@srcdir@:*/:/; mgl@1371: -s/^\([^=]*=[ ]*\):*/\1/; mgl@1371: -s/:*$//; mgl@1371: -s/^[^=]*=[ ]*$//; mgl@1371: -}' mgl@1371: -fi mgl@1371: - mgl@1371: # Transform confdefs.h into DEFS. mgl@1371: # Protect against shell expansion while executing Makefile rules. mgl@1371: # Protect against Makefile macro expansion. mgl@1371: # mgl@1371: # If the first sed substitution is executed (which looks for macros that mgl@1371: -# take arguments), then we branch to the quote section. Otherwise, mgl@1371: +# take arguments), then branch to the quote section. Otherwise, mgl@1371: # look for a macro that doesn't take arguments. mgl@1371: -cat >confdef2opt.sed <<\_ACEOF mgl@1371: +ac_script=' mgl@1371: t clear mgl@1371: -: clear mgl@1371: -s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g mgl@1371: +:clear mgl@1371: +s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g mgl@1371: t quote mgl@1371: -s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g mgl@1371: +s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g mgl@1371: t quote mgl@1371: -d mgl@1371: -: quote mgl@1371: -s,[ `~#$^&*(){}\\|;'"<>?],\\&,g mgl@1371: -s,\[,\\&,g mgl@1371: -s,\],\\&,g mgl@1371: -s,\$,$$,g mgl@1371: -p mgl@1371: -_ACEOF mgl@1371: -# We use echo to avoid assuming a particular line-breaking character. mgl@1371: -# The extra dot is to prevent the shell from consuming trailing mgl@1371: -# line-breaks from the sub-command output. A line-break within mgl@1371: -# single-quotes doesn't work because, if this script is created in a mgl@1371: -# platform that uses two characters for line-breaks (e.g., DOS), tr mgl@1371: -# would break. mgl@1371: -ac_LF_and_DOT=`echo; echo .` mgl@1371: -DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'` mgl@1371: -rm -f confdef2opt.sed mgl@1371: +b any mgl@1371: +:quote mgl@1371: +s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g mgl@1371: +s/\[/\\&/g mgl@1371: +s/\]/\\&/g mgl@1371: +s/\$/$$/g mgl@1371: +H mgl@1371: +:any mgl@1371: +${ mgl@1371: + g mgl@1371: + s/^\n// mgl@1371: + s/\n/ /g mgl@1371: + p mgl@1371: +} mgl@1371: +' mgl@1371: +DEFS=`sed -n "$ac_script" confdefs.h` mgl@1371: mgl@1371: mgl@1371: ac_libobjs= mgl@1371: ac_ltlibobjs= mgl@1371: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue mgl@1371: # 1. Remove the extension, and $U if already installed. mgl@1371: - ac_i=`echo "$ac_i" | mgl@1371: - sed 's/\$U\././;s/\.o$//;s/\.obj$//'` mgl@1371: - # 2. Add them. mgl@1371: - ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" mgl@1371: - ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' mgl@1371: + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' mgl@1371: + ac_i=`echo "$ac_i" | sed "$ac_script"` mgl@1371: + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR mgl@1371: + # will be set to the directory where LIBOBJS objects are built. mgl@1371: + ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" mgl@1371: + ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' mgl@1371: done mgl@1371: LIBOBJS=$ac_libobjs mgl@1371: mgl@1371: @@ -11703,17 +12738,45 @@ mgl@1371: ## M4sh Initialization. ## mgl@1371: ## --------------------- ## mgl@1371: mgl@1371: -# Be Bourne compatible mgl@1371: +# Be more Bourne compatible mgl@1371: +DUALCASE=1; export DUALCASE # for MKS sh mgl@1371: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then mgl@1371: emulate sh mgl@1371: NULLCMD=: mgl@1371: # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which mgl@1371: # is contrary to our usage. Disable this feature. mgl@1371: alias -g '${1+"$@"}'='"$@"' mgl@1371: -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then mgl@1371: - set -o posix mgl@1371: + setopt NO_GLOB_SUBST mgl@1371: +else mgl@1371: + case `(set -o) 2>/dev/null` in mgl@1371: + *posix*) set -o posix ;; mgl@1371: +esac mgl@1371: + mgl@1371: +fi mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: +# PATH needs CR mgl@1371: +# Avoid depending upon Character Ranges. mgl@1371: +as_cr_letters='abcdefghijklmnopqrstuvwxyz' mgl@1371: +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' mgl@1371: +as_cr_Letters=$as_cr_letters$as_cr_LETTERS mgl@1371: +as_cr_digits='0123456789' mgl@1371: +as_cr_alnum=$as_cr_Letters$as_cr_digits mgl@1371: + mgl@1371: +# The user is always right. mgl@1371: +if test "${PATH_SEPARATOR+set}" != set; then mgl@1371: + echo "#! /bin/sh" >conf$$.sh mgl@1371: + echo "exit 0" >>conf$$.sh mgl@1371: + chmod +x conf$$.sh mgl@1371: + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then mgl@1371: + PATH_SEPARATOR=';' mgl@1371: + else mgl@1371: + PATH_SEPARATOR=: mgl@1371: + fi mgl@1371: + rm -f conf$$.sh mgl@1371: fi mgl@1371: -DUALCASE=1; export DUALCASE # for MKS sh mgl@1371: mgl@1371: # Support unset when possible. mgl@1371: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then mgl@1371: @@ -11723,8 +12786,43 @@ mgl@1371: fi mgl@1371: mgl@1371: mgl@1371: +# IFS mgl@1371: +# We need space, tab and new line, in precisely that order. Quoting is mgl@1371: +# there to prevent editors from complaining about space-tab. mgl@1371: +# (If _AS_PATH_WALK were called with IFS unset, it would disable word mgl@1371: +# splitting by setting IFS to empty value.) mgl@1371: +as_nl=' mgl@1371: +' mgl@1371: +IFS=" "" $as_nl" mgl@1371: + mgl@1371: +# Find who we are. Look in the path if we contain no directory separator. mgl@1371: +case $0 in mgl@1371: + *[\\/]* ) as_myself=$0 ;; mgl@1371: + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR mgl@1371: +for as_dir in $PATH mgl@1371: +do mgl@1371: + IFS=$as_save_IFS mgl@1371: + test -z "$as_dir" && as_dir=. mgl@1371: + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break mgl@1371: +done mgl@1371: +IFS=$as_save_IFS mgl@1371: + mgl@1371: + ;; mgl@1371: +esac mgl@1371: +# We did not find ourselves, most probably we were run as `sh COMMAND' mgl@1371: +# in which case we are not to be found in the path. mgl@1371: +if test "x$as_myself" = x; then mgl@1371: + as_myself=$0 mgl@1371: +fi mgl@1371: +if test ! -f "$as_myself"; then mgl@1371: + echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 mgl@1371: + { (exit 1); exit 1; } mgl@1371: +fi mgl@1371: + mgl@1371: # Work around bugs in pre-3.0 UWIN ksh. mgl@1371: -$as_unset ENV MAIL MAILPATH mgl@1371: +for as_var in ENV MAIL MAILPATH mgl@1371: +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var mgl@1371: +done mgl@1371: PS1='$ ' mgl@1371: PS2='> ' mgl@1371: PS4='+ ' mgl@1371: @@ -11738,18 +12836,19 @@ mgl@1371: if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then mgl@1371: eval $as_var=C; export $as_var mgl@1371: else mgl@1371: - $as_unset $as_var mgl@1371: + ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var mgl@1371: fi mgl@1371: done mgl@1371: mgl@1371: # Required to use basename. mgl@1371: -if expr a : '\(a\)' >/dev/null 2>&1; then mgl@1371: +if expr a : '\(a\)' >/dev/null 2>&1 && mgl@1371: + test "X`expr 00001 : '.*\(...\)'`" = X001; then mgl@1371: as_expr=expr mgl@1371: else mgl@1371: as_expr=false mgl@1371: fi mgl@1371: mgl@1371: -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then mgl@1371: +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then mgl@1371: as_basename=basename mgl@1371: else mgl@1371: as_basename=false mgl@1371: @@ -11757,159 +12856,120 @@ mgl@1371: mgl@1371: mgl@1371: # Name of the executable. mgl@1371: -as_me=`$as_basename "$0" || mgl@1371: +as_me=`$as_basename -- "$0" || mgl@1371: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ mgl@1371: X"$0" : 'X\(//\)$' \| \ mgl@1371: - X"$0" : 'X\(/\)$' \| \ mgl@1371: - . : '\(.\)' 2>/dev/null || mgl@1371: + X"$0" : 'X\(/\)' \| . 2>/dev/null || mgl@1371: echo X/"$0" | mgl@1371: - sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } mgl@1371: - /^X\/\(\/\/\)$/{ s//\1/; q; } mgl@1371: - /^X\/\(\/\).*/{ s//\1/; q; } mgl@1371: - s/.*/./; q'` mgl@1371: - mgl@1371: - mgl@1371: -# PATH needs CR, and LINENO needs CR and PATH. mgl@1371: -# Avoid depending upon Character Ranges. mgl@1371: -as_cr_letters='abcdefghijklmnopqrstuvwxyz' mgl@1371: -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' mgl@1371: -as_cr_Letters=$as_cr_letters$as_cr_LETTERS mgl@1371: -as_cr_digits='0123456789' mgl@1371: -as_cr_alnum=$as_cr_Letters$as_cr_digits mgl@1371: - mgl@1371: -# The user is always right. mgl@1371: -if test "${PATH_SEPARATOR+set}" != set; then mgl@1371: - echo "#! /bin/sh" >conf$$.sh mgl@1371: - echo "exit 0" >>conf$$.sh mgl@1371: - chmod +x conf$$.sh mgl@1371: - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then mgl@1371: - PATH_SEPARATOR=';' mgl@1371: - else mgl@1371: - PATH_SEPARATOR=: mgl@1371: - fi mgl@1371: - rm -f conf$$.sh mgl@1371: -fi mgl@1371: + sed '/^.*\/\([^/][^/]*\)\/*$/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + /^X\/\(\/\/\)$/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + /^X\/\(\/\).*/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + s/.*/./; q'` mgl@1371: + mgl@1371: +# CDPATH. mgl@1371: +$as_unset CDPATH mgl@1371: mgl@1371: mgl@1371: - as_lineno_1=$LINENO mgl@1371: - as_lineno_2=$LINENO mgl@1371: - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` mgl@1371: - test "x$as_lineno_1" != "x$as_lineno_2" && mgl@1371: - test "x$as_lineno_3" = "x$as_lineno_2" || { mgl@1371: - # Find who we are. Look in the path if we contain no path at all mgl@1371: - # relative or not. mgl@1371: - case $0 in mgl@1371: - *[\\/]* ) as_myself=$0 ;; mgl@1371: - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR mgl@1371: -for as_dir in $PATH mgl@1371: -do mgl@1371: - IFS=$as_save_IFS mgl@1371: - test -z "$as_dir" && as_dir=. mgl@1371: - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break mgl@1371: -done mgl@1371: mgl@1371: - ;; mgl@1371: - esac mgl@1371: - # We did not find ourselves, most probably we were run as `sh COMMAND' mgl@1371: - # in which case we are not to be found in the path. mgl@1371: - if test "x$as_myself" = x; then mgl@1371: - as_myself=$0 mgl@1371: - fi mgl@1371: - if test ! -f "$as_myself"; then mgl@1371: - { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 mgl@1371: -echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} mgl@1371: - { (exit 1); exit 1; }; } mgl@1371: - fi mgl@1371: - case $CONFIG_SHELL in mgl@1371: - '') mgl@1371: - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR mgl@1371: -for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH mgl@1371: -do mgl@1371: - IFS=$as_save_IFS mgl@1371: - test -z "$as_dir" && as_dir=. mgl@1371: - for as_base in sh bash ksh sh5; do mgl@1371: - case $as_dir in mgl@1371: - /*) mgl@1371: - if ("$as_dir/$as_base" -c ' mgl@1371: as_lineno_1=$LINENO mgl@1371: as_lineno_2=$LINENO mgl@1371: - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` mgl@1371: test "x$as_lineno_1" != "x$as_lineno_2" && mgl@1371: - test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then mgl@1371: - $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } mgl@1371: - $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } mgl@1371: - CONFIG_SHELL=$as_dir/$as_base mgl@1371: - export CONFIG_SHELL mgl@1371: - exec "$CONFIG_SHELL" "$0" ${1+"$@"} mgl@1371: - fi;; mgl@1371: - esac mgl@1371: - done mgl@1371: -done mgl@1371: -;; mgl@1371: - esac mgl@1371: + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { mgl@1371: mgl@1371: # Create $as_me.lineno as a copy of $as_myself, but with $LINENO mgl@1371: # uniformly replaced by the line number. The first 'sed' inserts a mgl@1371: - # line-number line before each line; the second 'sed' does the real mgl@1371: - # work. The second script uses 'N' to pair each line-number line mgl@1371: - # with the numbered line, and appends trailing '-' during mgl@1371: - # substitution so that $LINENO is not a special case at line end. mgl@1371: + # line-number line after each line using $LINENO; the second 'sed' mgl@1371: + # does the real work. The second script uses 'N' to pair each mgl@1371: + # line-number line with the line containing $LINENO, and appends mgl@1371: + # trailing '-' during substitution so that $LINENO is not a special mgl@1371: + # case at line end. mgl@1371: # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the mgl@1371: - # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) mgl@1371: - sed '=' <$as_myself | mgl@1371: + # scripts with optimization help from Paolo Bonzini. Blame Lee mgl@1371: + # E. McMahon (1931-1989) for sed's syntax. :-) mgl@1371: + sed -n ' mgl@1371: + p mgl@1371: + /[$]LINENO/= mgl@1371: + ' <$as_myself | mgl@1371: sed ' mgl@1371: + s/[$]LINENO.*/&-/ mgl@1371: + t lineno mgl@1371: + b mgl@1371: + :lineno mgl@1371: N mgl@1371: - s,$,-, mgl@1371: - : loop mgl@1371: - s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, mgl@1371: + :loop mgl@1371: + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ mgl@1371: t loop mgl@1371: - s,-$,, mgl@1371: - s,^['$as_cr_digits']*\n,, mgl@1371: + s/-\n.*// mgl@1371: ' >$as_me.lineno && mgl@1371: - chmod +x $as_me.lineno || mgl@1371: - { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 mgl@1371: -echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} mgl@1371: + chmod +x "$as_me.lineno" || mgl@1371: + { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 mgl@1371: { (exit 1); exit 1; }; } mgl@1371: mgl@1371: # Don't try to exec as it changes $[0], causing all sort of problems mgl@1371: # (the dirname of $[0] is not the place where we might find the mgl@1371: - # original and so on. Autoconf is especially sensible to this). mgl@1371: - . ./$as_me.lineno mgl@1371: + # original and so on. Autoconf is especially sensitive to this). mgl@1371: + . "./$as_me.lineno" mgl@1371: # Exit status is that of the last command. mgl@1371: exit mgl@1371: } mgl@1371: mgl@1371: mgl@1371: -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in mgl@1371: - *c*,-n*) ECHO_N= ECHO_C=' mgl@1371: -' ECHO_T=' ' ;; mgl@1371: - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; mgl@1371: - *) ECHO_N= ECHO_C='\c' ECHO_T= ;; mgl@1371: +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then mgl@1371: + as_dirname=dirname mgl@1371: +else mgl@1371: + as_dirname=false mgl@1371: +fi mgl@1371: + mgl@1371: +ECHO_C= ECHO_N= ECHO_T= mgl@1371: +case `echo -n x` in mgl@1371: +-n*) mgl@1371: + case `echo 'x\c'` in mgl@1371: + *c*) ECHO_T=' ';; # ECHO_T is single tab character. mgl@1371: + *) ECHO_C='\c';; mgl@1371: + esac;; mgl@1371: +*) mgl@1371: + ECHO_N='-n';; mgl@1371: esac mgl@1371: mgl@1371: -if expr a : '\(a\)' >/dev/null 2>&1; then mgl@1371: +if expr a : '\(a\)' >/dev/null 2>&1 && mgl@1371: + test "X`expr 00001 : '.*\(...\)'`" = X001; then mgl@1371: as_expr=expr mgl@1371: else mgl@1371: as_expr=false mgl@1371: fi mgl@1371: mgl@1371: rm -f conf$$ conf$$.exe conf$$.file mgl@1371: +if test -d conf$$.dir; then mgl@1371: + rm -f conf$$.dir/conf$$.file mgl@1371: +else mgl@1371: + rm -f conf$$.dir mgl@1371: + mkdir conf$$.dir mgl@1371: +fi mgl@1371: echo >conf$$.file mgl@1371: if ln -s conf$$.file conf$$ 2>/dev/null; then mgl@1371: - # We could just check for DJGPP; but this test a) works b) is more generic mgl@1371: - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). mgl@1371: - if test -f conf$$.exe; then mgl@1371: - # Don't use ln at all; we don't have any links mgl@1371: + as_ln_s='ln -s' mgl@1371: + # ... but there are two gotchas: mgl@1371: + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. mgl@1371: + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. mgl@1371: + # In both cases, we have to default to `cp -p'. mgl@1371: + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || mgl@1371: as_ln_s='cp -p' mgl@1371: - else mgl@1371: - as_ln_s='ln -s' mgl@1371: - fi mgl@1371: elif ln conf$$.file conf$$ 2>/dev/null; then mgl@1371: as_ln_s=ln mgl@1371: else mgl@1371: as_ln_s='cp -p' mgl@1371: fi mgl@1371: -rm -f conf$$ conf$$.exe conf$$.file mgl@1371: +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file mgl@1371: +rmdir conf$$.dir 2>/dev/null mgl@1371: mgl@1371: if mkdir -p . 2>/dev/null; then mgl@1371: as_mkdir_p=: mgl@1371: @@ -11918,7 +12978,28 @@ mgl@1371: as_mkdir_p=false mgl@1371: fi mgl@1371: mgl@1371: -as_executable_p="test -f" mgl@1371: +if test -x / >/dev/null 2>&1; then mgl@1371: + as_test_x='test -x' mgl@1371: +else mgl@1371: + if ls -dL / >/dev/null 2>&1; then mgl@1371: + as_ls_L_option=L mgl@1371: + else mgl@1371: + as_ls_L_option= mgl@1371: + fi mgl@1371: + as_test_x=' mgl@1371: + eval sh -c '\'' mgl@1371: + if test -d "$1"; then mgl@1371: + test -d "$1/."; mgl@1371: + else mgl@1371: + case $1 in mgl@1371: + -*)set "./$1";; mgl@1371: + esac; mgl@1371: + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in mgl@1371: + ???[sx]*):;;*)false;;esac;fi mgl@1371: + '\'' sh mgl@1371: + ' mgl@1371: +fi mgl@1371: +as_executable_p=$as_test_x mgl@1371: mgl@1371: # Sed expression to map a string onto a valid CPP name. mgl@1371: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" mgl@1371: @@ -11927,31 +13008,14 @@ mgl@1371: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" mgl@1371: mgl@1371: mgl@1371: -# IFS mgl@1371: -# We need space, tab and new line, in precisely that order. mgl@1371: -as_nl=' mgl@1371: -' mgl@1371: -IFS=" $as_nl" mgl@1371: - mgl@1371: -# CDPATH. mgl@1371: -$as_unset CDPATH mgl@1371: - mgl@1371: exec 6>&1 mgl@1371: mgl@1371: -# Open the log real soon, to keep \$[0] and so on meaningful, and to mgl@1371: +# Save the log message, to keep $[0] and so on meaningful, and to mgl@1371: # report actual input values of CONFIG_FILES etc. instead of their mgl@1371: -# values after options handling. Logging --version etc. is OK. mgl@1371: -exec 5>>config.log mgl@1371: -{ mgl@1371: - echo mgl@1371: - sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX mgl@1371: -## Running $as_me. ## mgl@1371: -_ASBOX mgl@1371: -} >&5 mgl@1371: -cat >&5 <<_CSEOF mgl@1371: - mgl@1371: +# values after options handling. mgl@1371: +ac_log=" mgl@1371: This file was extended by newlib $as_me 1.17.0, which was mgl@1371: -generated by GNU Autoconf 2.59. Invocation command line was mgl@1371: +generated by GNU Autoconf 2.61. Invocation command line was mgl@1371: mgl@1371: CONFIG_FILES = $CONFIG_FILES mgl@1371: CONFIG_HEADERS = $CONFIG_HEADERS mgl@1371: @@ -11959,30 +13023,19 @@ mgl@1371: CONFIG_COMMANDS = $CONFIG_COMMANDS mgl@1371: $ $0 $@ mgl@1371: mgl@1371: -_CSEOF mgl@1371: -echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 mgl@1371: -echo >&5 mgl@1371: +on `(hostname || uname -n) 2>/dev/null | sed 1q` mgl@1371: +" mgl@1371: + mgl@1371: _ACEOF mgl@1371: mgl@1371: +cat >>$CONFIG_STATUS <<_ACEOF mgl@1371: # Files that config.status was made for. mgl@1371: -if test -n "$ac_config_files"; then mgl@1371: - echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS mgl@1371: -fi mgl@1371: - mgl@1371: -if test -n "$ac_config_headers"; then mgl@1371: - echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS mgl@1371: -fi mgl@1371: - mgl@1371: -if test -n "$ac_config_links"; then mgl@1371: - echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS mgl@1371: -fi mgl@1371: +config_files="$ac_config_files" mgl@1371: +config_commands="$ac_config_commands" mgl@1371: mgl@1371: -if test -n "$ac_config_commands"; then mgl@1371: - echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS mgl@1371: -fi mgl@1371: +_ACEOF mgl@1371: mgl@1371: cat >>$CONFIG_STATUS <<\_ACEOF mgl@1371: - mgl@1371: ac_cs_usage="\ mgl@1371: \`$as_me' instantiates files from templates according to the mgl@1371: current configuration. mgl@1371: @@ -11990,7 +13043,7 @@ mgl@1371: Usage: $0 [OPTIONS] [FILE]... mgl@1371: mgl@1371: -h, --help print this help, then exit mgl@1371: - -V, --version print version number, then exit mgl@1371: + -V, --version print version number and configuration settings, then exit mgl@1371: -q, --quiet do not print progress messages mgl@1371: -d, --debug don't remove temporary files mgl@1371: --recheck update $as_me by reconfiguring in the same conditions mgl@1371: @@ -12004,19 +13057,21 @@ mgl@1371: $config_commands mgl@1371: mgl@1371: Report bugs to ." mgl@1371: -_ACEOF mgl@1371: mgl@1371: +_ACEOF mgl@1371: cat >>$CONFIG_STATUS <<_ACEOF mgl@1371: ac_cs_version="\\ mgl@1371: newlib config.status 1.17.0 mgl@1371: -configured by $0, generated by GNU Autoconf 2.59, mgl@1371: - with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" mgl@1371: +configured by $0, generated by GNU Autoconf 2.61, mgl@1371: + with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" mgl@1371: mgl@1371: -Copyright (C) 2003 Free Software Foundation, Inc. mgl@1371: +Copyright (C) 2006 Free Software Foundation, Inc. mgl@1371: This config.status script is free software; the Free Software Foundation mgl@1371: gives unlimited permission to copy, distribute and modify it." mgl@1371: -srcdir=$srcdir mgl@1371: -INSTALL="$INSTALL" mgl@1371: + mgl@1371: +ac_pwd='$ac_pwd' mgl@1371: +srcdir='$srcdir' mgl@1371: +INSTALL='$INSTALL' mgl@1371: _ACEOF mgl@1371: mgl@1371: cat >>$CONFIG_STATUS <<\_ACEOF mgl@1371: @@ -12027,60 +13082,42 @@ mgl@1371: do mgl@1371: case $1 in mgl@1371: --*=*) mgl@1371: - ac_option=`expr "x$1" : 'x\([^=]*\)='` mgl@1371: - ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` mgl@1371: + ac_option=`expr "X$1" : 'X\([^=]*\)='` mgl@1371: + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` mgl@1371: ac_shift=: mgl@1371: ;; mgl@1371: - -*) mgl@1371: + *) mgl@1371: ac_option=$1 mgl@1371: ac_optarg=$2 mgl@1371: ac_shift=shift mgl@1371: ;; mgl@1371: - *) # This is not an option, so the user has probably given explicit mgl@1371: - # arguments. mgl@1371: - ac_option=$1 mgl@1371: - ac_need_defaults=false;; mgl@1371: esac mgl@1371: mgl@1371: case $ac_option in mgl@1371: # Handling of the options. mgl@1371: -_ACEOF mgl@1371: -cat >>$CONFIG_STATUS <<\_ACEOF mgl@1371: -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) mgl@1371: ac_cs_recheck=: ;; mgl@1371: - --version | --vers* | -V ) mgl@1371: - echo "$ac_cs_version"; exit 0 ;; mgl@1371: - --he | --h) mgl@1371: - # Conflict between --help and --header mgl@1371: - { { echo "$as_me:$LINENO: error: ambiguous option: $1 mgl@1371: -Try \`$0 --help' for more information." >&5 mgl@1371: -echo "$as_me: error: ambiguous option: $1 mgl@1371: -Try \`$0 --help' for more information." >&2;} mgl@1371: - { (exit 1); exit 1; }; };; mgl@1371: - --help | --hel | -h ) mgl@1371: - echo "$ac_cs_usage"; exit 0 ;; mgl@1371: - --debug | --d* | -d ) mgl@1371: + --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) mgl@1371: + echo "$ac_cs_version"; exit ;; mgl@1371: + --debug | --debu | --deb | --de | --d | -d ) mgl@1371: debug=: ;; mgl@1371: --file | --fil | --fi | --f ) mgl@1371: $ac_shift mgl@1371: CONFIG_FILES="$CONFIG_FILES $ac_optarg" mgl@1371: ac_need_defaults=false;; mgl@1371: - --header | --heade | --head | --hea ) mgl@1371: - $ac_shift mgl@1371: - CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" mgl@1371: - ac_need_defaults=false;; mgl@1371: + --he | --h | --help | --hel | -h ) mgl@1371: + echo "$ac_cs_usage"; exit ;; mgl@1371: -q | -quiet | --quiet | --quie | --qui | --qu | --q \ mgl@1371: | -silent | --silent | --silen | --sile | --sil | --si | --s) mgl@1371: ac_cs_silent=: ;; mgl@1371: mgl@1371: # This is an error. mgl@1371: - -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 mgl@1371: -Try \`$0 --help' for more information." >&5 mgl@1371: -echo "$as_me: error: unrecognized option: $1 mgl@1371: -Try \`$0 --help' for more information." >&2;} mgl@1371: + -*) { echo "$as_me: error: unrecognized option: $1 mgl@1371: +Try \`$0 --help' for more information." >&2 mgl@1371: { (exit 1); exit 1; }; } ;; mgl@1371: mgl@1371: - *) ac_config_targets="$ac_config_targets $1" ;; mgl@1371: + *) ac_config_targets="$ac_config_targets $1" mgl@1371: + ac_need_defaults=false ;; mgl@1371: mgl@1371: esac mgl@1371: shift mgl@1371: @@ -12096,17 +13133,28 @@ mgl@1371: _ACEOF mgl@1371: cat >>$CONFIG_STATUS <<_ACEOF mgl@1371: if \$ac_cs_recheck; then mgl@1371: - echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 mgl@1371: - exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion mgl@1371: + echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 mgl@1371: + CONFIG_SHELL=$SHELL mgl@1371: + export CONFIG_SHELL mgl@1371: + exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion mgl@1371: fi mgl@1371: mgl@1371: _ACEOF mgl@1371: +cat >>$CONFIG_STATUS <<\_ACEOF mgl@1371: +exec 5>>config.log mgl@1371: +{ mgl@1371: + echo mgl@1371: + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX mgl@1371: +## Running $as_me. ## mgl@1371: +_ASBOX mgl@1371: + echo "$ac_log" mgl@1371: +} >&5 mgl@1371: mgl@1371: +_ACEOF mgl@1371: cat >>$CONFIG_STATUS <<_ACEOF mgl@1371: # mgl@1371: -# INIT-COMMANDS section. mgl@1371: +# INIT-COMMANDS mgl@1371: # mgl@1371: - mgl@1371: AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" mgl@1371: mgl@1371: mgl@1371: @@ -12367,22 +13415,23 @@ mgl@1371: mgl@1371: _ACEOF mgl@1371: mgl@1371: - mgl@1371: - mgl@1371: cat >>$CONFIG_STATUS <<\_ACEOF mgl@1371: + mgl@1371: +# Handling of arguments. mgl@1371: for ac_config_target in $ac_config_targets mgl@1371: do mgl@1371: - case "$ac_config_target" in mgl@1371: - # Handling of arguments. mgl@1371: - "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; mgl@1371: - "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; mgl@1371: - "libtool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; mgl@1371: + case $ac_config_target in mgl@1371: + "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; mgl@1371: + "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; mgl@1371: + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; mgl@1371: + mgl@1371: *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 mgl@1371: echo "$as_me: error: invalid argument: $ac_config_target" >&2;} mgl@1371: { (exit 1); exit 1; }; };; mgl@1371: esac mgl@1371: done mgl@1371: mgl@1371: + mgl@1371: # If the user did not use the arguments to specify the items to instantiate, mgl@1371: # then the envvar interface is used. Set only those that are not. mgl@1371: # We use the long form for the default assignment because of an extremely mgl@1371: @@ -12393,397 +13442,493 @@ mgl@1371: fi mgl@1371: mgl@1371: # Have a temporary directory for convenience. Make it in the build tree mgl@1371: -# simply because there is no reason to put it here, and in addition, mgl@1371: +# simply because there is no reason against having it here, and in addition, mgl@1371: # creating and moving files from /tmp can sometimes cause problems. mgl@1371: -# Create a temporary directory, and hook for its removal unless debugging. mgl@1371: +# Hook for its removal unless debugging. mgl@1371: +# Note that there is a small window in which the directory will not be cleaned: mgl@1371: +# after its creation but before its name has been assigned to `$tmp'. mgl@1371: $debug || mgl@1371: { mgl@1371: - trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 mgl@1371: + tmp= mgl@1371: + trap 'exit_status=$? mgl@1371: + { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status mgl@1371: +' 0 mgl@1371: trap '{ (exit 1); exit 1; }' 1 2 13 15 mgl@1371: } mgl@1371: - mgl@1371: # Create a (secure) tmp directory for tmp files. mgl@1371: mgl@1371: { mgl@1371: - tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && mgl@1371: + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && mgl@1371: test -n "$tmp" && test -d "$tmp" mgl@1371: } || mgl@1371: { mgl@1371: - tmp=./confstat$$-$RANDOM mgl@1371: - (umask 077 && mkdir $tmp) mgl@1371: + tmp=./conf$$-$RANDOM mgl@1371: + (umask 077 && mkdir "$tmp") mgl@1371: } || mgl@1371: { mgl@1371: echo "$me: cannot create a temporary directory in ." >&2 mgl@1371: { (exit 1); exit 1; } mgl@1371: } mgl@1371: mgl@1371: -_ACEOF mgl@1371: - mgl@1371: -cat >>$CONFIG_STATUS <<_ACEOF mgl@1371: - mgl@1371: # mgl@1371: -# CONFIG_FILES section. mgl@1371: +# Set up the sed scripts for CONFIG_FILES section. mgl@1371: # mgl@1371: mgl@1371: # No need to generate the scripts if there are no CONFIG_FILES. mgl@1371: # This happens for instance when ./config.status config.h mgl@1371: -if test -n "\$CONFIG_FILES"; then mgl@1371: - # Protect against being on the right side of a sed subst in config.status. mgl@1371: - sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; mgl@1371: - s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF mgl@1371: -s,@SHELL@,$SHELL,;t t mgl@1371: -s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t mgl@1371: -s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t mgl@1371: -s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t mgl@1371: -s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t mgl@1371: -s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t mgl@1371: -s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t mgl@1371: -s,@exec_prefix@,$exec_prefix,;t t mgl@1371: -s,@prefix@,$prefix,;t t mgl@1371: -s,@program_transform_name@,$program_transform_name,;t t mgl@1371: -s,@bindir@,$bindir,;t t mgl@1371: -s,@sbindir@,$sbindir,;t t mgl@1371: -s,@libexecdir@,$libexecdir,;t t mgl@1371: -s,@datadir@,$datadir,;t t mgl@1371: -s,@sysconfdir@,$sysconfdir,;t t mgl@1371: -s,@sharedstatedir@,$sharedstatedir,;t t mgl@1371: -s,@localstatedir@,$localstatedir,;t t mgl@1371: -s,@libdir@,$libdir,;t t mgl@1371: -s,@includedir@,$includedir,;t t mgl@1371: -s,@oldincludedir@,$oldincludedir,;t t mgl@1371: -s,@infodir@,$infodir,;t t mgl@1371: -s,@mandir@,$mandir,;t t mgl@1371: -s,@build_alias@,$build_alias,;t t mgl@1371: -s,@host_alias@,$host_alias,;t t mgl@1371: -s,@target_alias@,$target_alias,;t t mgl@1371: -s,@DEFS@,$DEFS,;t t mgl@1371: -s,@ECHO_C@,$ECHO_C,;t t mgl@1371: -s,@ECHO_N@,$ECHO_N,;t t mgl@1371: -s,@ECHO_T@,$ECHO_T,;t t mgl@1371: -s,@LIBS@,$LIBS,;t t mgl@1371: -s,@MAY_SUPPLY_SYSCALLS_TRUE@,$MAY_SUPPLY_SYSCALLS_TRUE,;t t mgl@1371: -s,@MAY_SUPPLY_SYSCALLS_FALSE@,$MAY_SUPPLY_SYSCALLS_FALSE,;t t mgl@1371: -s,@newlib_basedir@,$newlib_basedir,;t t mgl@1371: -s,@build@,$build,;t t mgl@1371: -s,@build_cpu@,$build_cpu,;t t mgl@1371: -s,@build_vendor@,$build_vendor,;t t mgl@1371: -s,@build_os@,$build_os,;t t mgl@1371: -s,@host@,$host,;t t mgl@1371: -s,@host_cpu@,$host_cpu,;t t mgl@1371: -s,@host_vendor@,$host_vendor,;t t mgl@1371: -s,@host_os@,$host_os,;t t mgl@1371: -s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t mgl@1371: -s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t mgl@1371: -s,@INSTALL_DATA@,$INSTALL_DATA,;t t mgl@1371: -s,@CYGPATH_W@,$CYGPATH_W,;t t mgl@1371: -s,@PACKAGE@,$PACKAGE,;t t mgl@1371: -s,@VERSION@,$VERSION,;t t mgl@1371: -s,@ACLOCAL@,$ACLOCAL,;t t mgl@1371: -s,@AUTOCONF@,$AUTOCONF,;t t mgl@1371: -s,@AUTOMAKE@,$AUTOMAKE,;t t mgl@1371: -s,@AUTOHEADER@,$AUTOHEADER,;t t mgl@1371: -s,@MAKEINFO@,$MAKEINFO,;t t mgl@1371: -s,@install_sh@,$install_sh,;t t mgl@1371: -s,@STRIP@,$STRIP,;t t mgl@1371: -s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t mgl@1371: -s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t mgl@1371: -s,@mkdir_p@,$mkdir_p,;t t mgl@1371: -s,@AWK@,$AWK,;t t mgl@1371: -s,@SET_MAKE@,$SET_MAKE,;t t mgl@1371: -s,@am__leading_dot@,$am__leading_dot,;t t mgl@1371: -s,@AMTAR@,$AMTAR,;t t mgl@1371: -s,@am__tar@,$am__tar,;t t mgl@1371: -s,@am__untar@,$am__untar,;t t mgl@1371: -s,@CC@,$CC,;t t mgl@1371: -s,@DEPDIR@,$DEPDIR,;t t mgl@1371: -s,@am__include@,$am__include,;t t mgl@1371: -s,@am__quote@,$am__quote,;t t mgl@1371: -s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t mgl@1371: -s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t mgl@1371: -s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t mgl@1371: -s,@CCDEPMODE@,$CCDEPMODE,;t t mgl@1371: -s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t mgl@1371: -s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t mgl@1371: -s,@AS@,$AS,;t t mgl@1371: -s,@ac_ct_AS@,$ac_ct_AS,;t t mgl@1371: -s,@AR@,$AR,;t t mgl@1371: -s,@ac_ct_AR@,$ac_ct_AR,;t t mgl@1371: -s,@RANLIB@,$RANLIB,;t t mgl@1371: -s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t mgl@1371: -s,@READELF@,$READELF,;t t mgl@1371: -s,@ac_ct_READELF@,$ac_ct_READELF,;t t mgl@1371: -s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t mgl@1371: -s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t mgl@1371: -s,@MAINT@,$MAINT,;t t mgl@1371: -s,@CCAS@,$CCAS,;t t mgl@1371: -s,@CCASFLAGS@,$CCASFLAGS,;t t mgl@1371: -s,@NEWLIB_CFLAGS@,$NEWLIB_CFLAGS,;t t mgl@1371: -s,@LDFLAGS@,$LDFLAGS,;t t mgl@1371: -s,@ELIX_LEVEL_0_TRUE@,$ELIX_LEVEL_0_TRUE,;t t mgl@1371: -s,@ELIX_LEVEL_0_FALSE@,$ELIX_LEVEL_0_FALSE,;t t mgl@1371: -s,@ELIX_LEVEL_1_TRUE@,$ELIX_LEVEL_1_TRUE,;t t mgl@1371: -s,@ELIX_LEVEL_1_FALSE@,$ELIX_LEVEL_1_FALSE,;t t mgl@1371: -s,@ELIX_LEVEL_2_TRUE@,$ELIX_LEVEL_2_TRUE,;t t mgl@1371: -s,@ELIX_LEVEL_2_FALSE@,$ELIX_LEVEL_2_FALSE,;t t mgl@1371: -s,@ELIX_LEVEL_3_TRUE@,$ELIX_LEVEL_3_TRUE,;t t mgl@1371: -s,@ELIX_LEVEL_3_FALSE@,$ELIX_LEVEL_3_FALSE,;t t mgl@1371: -s,@ELIX_LEVEL_4_TRUE@,$ELIX_LEVEL_4_TRUE,;t t mgl@1371: -s,@ELIX_LEVEL_4_FALSE@,$ELIX_LEVEL_4_FALSE,;t t mgl@1371: -s,@USE_LIBTOOL_TRUE@,$USE_LIBTOOL_TRUE,;t t mgl@1371: -s,@USE_LIBTOOL_FALSE@,$USE_LIBTOOL_FALSE,;t t mgl@1371: -s,@OBJEXT@,$OBJEXT,;t t mgl@1371: -s,@oext@,$oext,;t t mgl@1371: -s,@aext@,$aext,;t t mgl@1371: -s,@lpfx@,$lpfx,;t t mgl@1371: -s,@libm_machine_dir@,$libm_machine_dir,;t t mgl@1371: -s,@machine_dir@,$machine_dir,;t t mgl@1371: -s,@sys_dir@,$sys_dir,;t t mgl@1371: -s,@SED@,$SED,;t t mgl@1371: -s,@DLLTOOL@,$DLLTOOL,;t t mgl@1371: -s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t mgl@1371: -s,@OBJDUMP@,$OBJDUMP,;t t mgl@1371: -s,@ac_ct_OBJDUMP@,$ac_ct_OBJDUMP,;t t mgl@1371: -s,@LIBTOOL@,$LIBTOOL,;t t mgl@1371: -s,@CFLAGS@,$CFLAGS,;t t mgl@1371: -s,@CPPFLAGS@,$CPPFLAGS,;t t mgl@1371: -s,@ac_ct_CC@,$ac_ct_CC,;t t mgl@1371: -s,@EXEEXT@,$EXEEXT,;t t mgl@1371: -s,@EGREP@,$EGREP,;t t mgl@1371: -s,@FGREP@,$FGREP,;t t mgl@1371: -s,@GREP@,$GREP,;t t mgl@1371: -s,@LD@,$LD,;t t mgl@1371: -s,@DUMPBIN@,$DUMPBIN,;t t mgl@1371: -s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t mgl@1371: -s,@NM@,$NM,;t t mgl@1371: -s,@LN_S@,$LN_S,;t t mgl@1371: -s,@lt_ECHO@,$lt_ECHO,;t t mgl@1371: -s,@DSYMUTIL@,$DSYMUTIL,;t t mgl@1371: -s,@ac_ct_DSYMUTIL@,$ac_ct_DSYMUTIL,;t t mgl@1371: -s,@NMEDIT@,$NMEDIT,;t t mgl@1371: -s,@ac_ct_NMEDIT@,$ac_ct_NMEDIT,;t t mgl@1371: -s,@LIPO@,$LIPO,;t t mgl@1371: -s,@ac_ct_LIPO@,$ac_ct_LIPO,;t t mgl@1371: -s,@OTOOL@,$OTOOL,;t t mgl@1371: -s,@ac_ct_OTOOL@,$ac_ct_OTOOL,;t t mgl@1371: -s,@OTOOL64@,$OTOOL64,;t t mgl@1371: -s,@ac_ct_OTOOL64@,$ac_ct_OTOOL64,;t t mgl@1371: -s,@CPP@,$CPP,;t t mgl@1371: -s,@subdirs@,$subdirs,;t t mgl@1371: -s,@CRT0@,$CRT0,;t t mgl@1371: -s,@HAVE_SYS_DIR_TRUE@,$HAVE_SYS_DIR_TRUE,;t t mgl@1371: -s,@HAVE_SYS_DIR_FALSE@,$HAVE_SYS_DIR_FALSE,;t t mgl@1371: -s,@LIBOBJS@,$LIBOBJS,;t t mgl@1371: -s,@LTLIBOBJS@,$LTLIBOBJS,;t t mgl@1371: -CEOF mgl@1371: - mgl@1371: -_ACEOF mgl@1371: - mgl@1371: - cat >>$CONFIG_STATUS <<\_ACEOF mgl@1371: - # Split the substitutions into bite-sized pieces for seds with mgl@1371: - # small command number limits, like on Digital OSF/1 and HP-UX. mgl@1371: - ac_max_sed_lines=48 mgl@1371: - ac_sed_frag=1 # Number of current file. mgl@1371: - ac_beg=1 # First line for current file. mgl@1371: - ac_end=$ac_max_sed_lines # Line after last line for current file. mgl@1371: - ac_more_lines=: mgl@1371: - ac_sed_cmds= mgl@1371: - while $ac_more_lines; do mgl@1371: - if test $ac_beg -gt 1; then mgl@1371: - sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag mgl@1371: - else mgl@1371: - sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag mgl@1371: - fi mgl@1371: - if test ! -s $tmp/subs.frag; then mgl@1371: - ac_more_lines=false mgl@1371: - else mgl@1371: - # The purpose of the label and of the branching condition is to mgl@1371: - # speed up the sed processing (if there are no `@' at all, there mgl@1371: - # is no need to browse any of the substitutions). mgl@1371: - # These are the two extra sed commands mentioned above. mgl@1371: - (echo ':t mgl@1371: - /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed mgl@1371: - if test -z "$ac_sed_cmds"; then mgl@1371: - ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" mgl@1371: - else mgl@1371: - ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" mgl@1371: - fi mgl@1371: - ac_sed_frag=`expr $ac_sed_frag + 1` mgl@1371: - ac_beg=$ac_end mgl@1371: - ac_end=`expr $ac_end + $ac_max_sed_lines` mgl@1371: - fi mgl@1371: - done mgl@1371: - if test -z "$ac_sed_cmds"; then mgl@1371: - ac_sed_cmds=cat mgl@1371: +if test -n "$CONFIG_FILES"; then mgl@1371: + mgl@1371: +_ACEOF mgl@1371: + mgl@1371: + mgl@1371: + mgl@1371: +ac_delim='%!_!# ' mgl@1371: +for ac_last_try in false false false false false :; do mgl@1371: + cat >conf$$subs.sed <<_ACEOF mgl@1371: +SHELL!$SHELL$ac_delim mgl@1371: +PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim mgl@1371: +PACKAGE_NAME!$PACKAGE_NAME$ac_delim mgl@1371: +PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim mgl@1371: +PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim mgl@1371: +PACKAGE_STRING!$PACKAGE_STRING$ac_delim mgl@1371: +PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim mgl@1371: +exec_prefix!$exec_prefix$ac_delim mgl@1371: +prefix!$prefix$ac_delim mgl@1371: +program_transform_name!$program_transform_name$ac_delim mgl@1371: +bindir!$bindir$ac_delim mgl@1371: +sbindir!$sbindir$ac_delim mgl@1371: +libexecdir!$libexecdir$ac_delim mgl@1371: +datarootdir!$datarootdir$ac_delim mgl@1371: +datadir!$datadir$ac_delim mgl@1371: +sysconfdir!$sysconfdir$ac_delim mgl@1371: +sharedstatedir!$sharedstatedir$ac_delim mgl@1371: +localstatedir!$localstatedir$ac_delim mgl@1371: +includedir!$includedir$ac_delim mgl@1371: +oldincludedir!$oldincludedir$ac_delim mgl@1371: +docdir!$docdir$ac_delim mgl@1371: +infodir!$infodir$ac_delim mgl@1371: +htmldir!$htmldir$ac_delim mgl@1371: +dvidir!$dvidir$ac_delim mgl@1371: +pdfdir!$pdfdir$ac_delim mgl@1371: +psdir!$psdir$ac_delim mgl@1371: +libdir!$libdir$ac_delim mgl@1371: +localedir!$localedir$ac_delim mgl@1371: +mandir!$mandir$ac_delim mgl@1371: +DEFS!$DEFS$ac_delim mgl@1371: +ECHO_C!$ECHO_C$ac_delim mgl@1371: +ECHO_N!$ECHO_N$ac_delim mgl@1371: +ECHO_T!$ECHO_T$ac_delim mgl@1371: +LIBS!$LIBS$ac_delim mgl@1371: +build_alias!$build_alias$ac_delim mgl@1371: +host_alias!$host_alias$ac_delim mgl@1371: +target_alias!$target_alias$ac_delim mgl@1371: +MAY_SUPPLY_SYSCALLS_TRUE!$MAY_SUPPLY_SYSCALLS_TRUE$ac_delim mgl@1371: +MAY_SUPPLY_SYSCALLS_FALSE!$MAY_SUPPLY_SYSCALLS_FALSE$ac_delim mgl@1371: +newlib_basedir!$newlib_basedir$ac_delim mgl@1371: +build!$build$ac_delim mgl@1371: +build_cpu!$build_cpu$ac_delim mgl@1371: +build_vendor!$build_vendor$ac_delim mgl@1371: +build_os!$build_os$ac_delim mgl@1371: +host!$host$ac_delim mgl@1371: +host_cpu!$host_cpu$ac_delim mgl@1371: +host_vendor!$host_vendor$ac_delim mgl@1371: +host_os!$host_os$ac_delim mgl@1371: +INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim mgl@1371: +INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim mgl@1371: +INSTALL_DATA!$INSTALL_DATA$ac_delim mgl@1371: +CYGPATH_W!$CYGPATH_W$ac_delim mgl@1371: +PACKAGE!$PACKAGE$ac_delim mgl@1371: +VERSION!$VERSION$ac_delim mgl@1371: +ACLOCAL!$ACLOCAL$ac_delim mgl@1371: +AUTOCONF!$AUTOCONF$ac_delim mgl@1371: +AUTOMAKE!$AUTOMAKE$ac_delim mgl@1371: +AUTOHEADER!$AUTOHEADER$ac_delim mgl@1371: +MAKEINFO!$MAKEINFO$ac_delim mgl@1371: +install_sh!$install_sh$ac_delim mgl@1371: +STRIP!$STRIP$ac_delim mgl@1371: +INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim mgl@1371: +mkdir_p!$mkdir_p$ac_delim mgl@1371: +AWK!$AWK$ac_delim mgl@1371: +SET_MAKE!$SET_MAKE$ac_delim mgl@1371: +am__leading_dot!$am__leading_dot$ac_delim mgl@1371: +AMTAR!$AMTAR$ac_delim mgl@1371: +am__tar!$am__tar$ac_delim mgl@1371: +am__untar!$am__untar$ac_delim mgl@1371: +CC!$CC$ac_delim mgl@1371: +DEPDIR!$DEPDIR$ac_delim mgl@1371: +am__include!$am__include$ac_delim mgl@1371: +am__quote!$am__quote$ac_delim mgl@1371: +AMDEP_TRUE!$AMDEP_TRUE$ac_delim mgl@1371: +AMDEP_FALSE!$AMDEP_FALSE$ac_delim mgl@1371: +AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim mgl@1371: +CCDEPMODE!$CCDEPMODE$ac_delim mgl@1371: +am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim mgl@1371: +am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim mgl@1371: +AS!$AS$ac_delim mgl@1371: +AR!$AR$ac_delim mgl@1371: +RANLIB!$RANLIB$ac_delim mgl@1371: +READELF!$READELF$ac_delim mgl@1371: +MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim mgl@1371: +MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim mgl@1371: +MAINT!$MAINT$ac_delim mgl@1371: +CCAS!$CCAS$ac_delim mgl@1371: +CCASFLAGS!$CCASFLAGS$ac_delim mgl@1371: +NEWLIB_CFLAGS!$NEWLIB_CFLAGS$ac_delim mgl@1371: +LDFLAGS!$LDFLAGS$ac_delim mgl@1371: +ELIX_LEVEL_0_TRUE!$ELIX_LEVEL_0_TRUE$ac_delim mgl@1371: +ELIX_LEVEL_0_FALSE!$ELIX_LEVEL_0_FALSE$ac_delim mgl@1371: +ELIX_LEVEL_1_TRUE!$ELIX_LEVEL_1_TRUE$ac_delim mgl@1371: +ELIX_LEVEL_1_FALSE!$ELIX_LEVEL_1_FALSE$ac_delim mgl@1371: +ELIX_LEVEL_2_TRUE!$ELIX_LEVEL_2_TRUE$ac_delim mgl@1371: +ELIX_LEVEL_2_FALSE!$ELIX_LEVEL_2_FALSE$ac_delim mgl@1371: +ELIX_LEVEL_3_TRUE!$ELIX_LEVEL_3_TRUE$ac_delim mgl@1371: +_ACEOF mgl@1371: + mgl@1371: + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then mgl@1371: + break mgl@1371: + elif $ac_last_try; then mgl@1371: + { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 mgl@1371: +echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} mgl@1371: + { (exit 1); exit 1; }; } mgl@1371: + else mgl@1371: + ac_delim="$ac_delim!$ac_delim _$ac_delim!! " mgl@1371: fi mgl@1371: -fi # test -n "$CONFIG_FILES" mgl@1371: +done mgl@1371: + mgl@1371: +ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` mgl@1371: +if test -n "$ac_eof"; then mgl@1371: + ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` mgl@1371: + ac_eof=`expr $ac_eof + 1` mgl@1371: +fi mgl@1371: + mgl@1371: +cat >>$CONFIG_STATUS <<_ACEOF mgl@1371: +cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof mgl@1371: +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b mgl@1371: +_ACEOF mgl@1371: +sed ' mgl@1371: +s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g mgl@1371: +s/^/s,@/; s/!/@,|#_!!_#|/ mgl@1371: +:n mgl@1371: +t n mgl@1371: +s/'"$ac_delim"'$/,g/; t mgl@1371: +s/$/\\/; p mgl@1371: +N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n mgl@1371: +' >>$CONFIG_STATUS >$CONFIG_STATUS <<_ACEOF mgl@1371: +CEOF$ac_eof mgl@1371: +_ACEOF mgl@1371: + mgl@1371: + mgl@1371: +ac_delim='%!_!# ' mgl@1371: +for ac_last_try in false false false false false :; do mgl@1371: + cat >conf$$subs.sed <<_ACEOF mgl@1371: +ELIX_LEVEL_3_FALSE!$ELIX_LEVEL_3_FALSE$ac_delim mgl@1371: +ELIX_LEVEL_4_TRUE!$ELIX_LEVEL_4_TRUE$ac_delim mgl@1371: +ELIX_LEVEL_4_FALSE!$ELIX_LEVEL_4_FALSE$ac_delim mgl@1371: +USE_LIBTOOL_TRUE!$USE_LIBTOOL_TRUE$ac_delim mgl@1371: +USE_LIBTOOL_FALSE!$USE_LIBTOOL_FALSE$ac_delim mgl@1371: +OBJEXT!$OBJEXT$ac_delim mgl@1371: +oext!$oext$ac_delim mgl@1371: +aext!$aext$ac_delim mgl@1371: +lpfx!$lpfx$ac_delim mgl@1371: +libm_machine_dir!$libm_machine_dir$ac_delim mgl@1371: +machine_dir!$machine_dir$ac_delim mgl@1371: +sys_dir!$sys_dir$ac_delim mgl@1371: +SED!$SED$ac_delim mgl@1371: +DLLTOOL!$DLLTOOL$ac_delim mgl@1371: +OBJDUMP!$OBJDUMP$ac_delim mgl@1371: +LIBTOOL!$LIBTOOL$ac_delim mgl@1371: +CFLAGS!$CFLAGS$ac_delim mgl@1371: +CPPFLAGS!$CPPFLAGS$ac_delim mgl@1371: +ac_ct_CC!$ac_ct_CC$ac_delim mgl@1371: +EXEEXT!$EXEEXT$ac_delim mgl@1371: +GREP!$GREP$ac_delim mgl@1371: +EGREP!$EGREP$ac_delim mgl@1371: +FGREP!$FGREP$ac_delim mgl@1371: +LD!$LD$ac_delim mgl@1371: +DUMPBIN!$DUMPBIN$ac_delim mgl@1371: +ac_ct_DUMPBIN!$ac_ct_DUMPBIN$ac_delim mgl@1371: +NM!$NM$ac_delim mgl@1371: +LN_S!$LN_S$ac_delim mgl@1371: +lt_ECHO!$lt_ECHO$ac_delim mgl@1371: +DSYMUTIL!$DSYMUTIL$ac_delim mgl@1371: +NMEDIT!$NMEDIT$ac_delim mgl@1371: +LIPO!$LIPO$ac_delim mgl@1371: +OTOOL!$OTOOL$ac_delim mgl@1371: +OTOOL64!$OTOOL64$ac_delim mgl@1371: +CPP!$CPP$ac_delim mgl@1371: +subdirs!$subdirs$ac_delim mgl@1371: +CRT0!$CRT0$ac_delim mgl@1371: +HAVE_SYS_DIR_TRUE!$HAVE_SYS_DIR_TRUE$ac_delim mgl@1371: +HAVE_SYS_DIR_FALSE!$HAVE_SYS_DIR_FALSE$ac_delim mgl@1371: +LIBOBJS!$LIBOBJS$ac_delim mgl@1371: +LTLIBOBJS!$LTLIBOBJS$ac_delim mgl@1371: +_ACEOF mgl@1371: + mgl@1371: + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 41; then mgl@1371: + break mgl@1371: + elif $ac_last_try; then mgl@1371: + { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 mgl@1371: +echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} mgl@1371: + { (exit 1); exit 1; }; } mgl@1371: + else mgl@1371: + ac_delim="$ac_delim!$ac_delim _$ac_delim!! " mgl@1371: + fi mgl@1371: +done mgl@1371: + mgl@1371: +ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` mgl@1371: +if test -n "$ac_eof"; then mgl@1371: + ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` mgl@1371: + ac_eof=`expr $ac_eof + 1` mgl@1371: +fi mgl@1371: mgl@1371: +cat >>$CONFIG_STATUS <<_ACEOF mgl@1371: +cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof mgl@1371: +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end mgl@1371: +_ACEOF mgl@1371: +sed ' mgl@1371: +s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g mgl@1371: +s/^/s,@/; s/!/@,|#_!!_#|/ mgl@1371: +:n mgl@1371: +t n mgl@1371: +s/'"$ac_delim"'$/,g/; t mgl@1371: +s/$/\\/; p mgl@1371: +N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n mgl@1371: +' >>$CONFIG_STATUS >$CONFIG_STATUS <<_ACEOF mgl@1371: +:end mgl@1371: +s/|#_!!_#|//g mgl@1371: +CEOF$ac_eof mgl@1371: _ACEOF mgl@1371: + mgl@1371: + mgl@1371: +# VPATH may cause trouble with some makes, so we remove $(srcdir), mgl@1371: +# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and mgl@1371: +# trailing colons and then remove the whole line if VPATH becomes empty mgl@1371: +# (actually we leave an empty line to preserve line numbers). mgl@1371: +if test "x$srcdir" = x.; then mgl@1371: + ac_vpsub='/^[ ]*VPATH[ ]*=/{ mgl@1371: +s/:*\$(srcdir):*/:/ mgl@1371: +s/:*\${srcdir}:*/:/ mgl@1371: +s/:*@srcdir@:*/:/ mgl@1371: +s/^\([^=]*=[ ]*\):*/\1/ mgl@1371: +s/:*$// mgl@1371: +s/^[^=]*=[ ]*$// mgl@1371: +}' mgl@1371: +fi mgl@1371: + mgl@1371: cat >>$CONFIG_STATUS <<\_ACEOF mgl@1371: -for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue mgl@1371: - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". mgl@1371: - case $ac_file in mgl@1371: - - | *:- | *:-:* ) # input from stdin mgl@1371: - cat >$tmp/stdin mgl@1371: - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` mgl@1371: - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; mgl@1371: - *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` mgl@1371: - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; mgl@1371: - * ) ac_file_in=$ac_file.in ;; mgl@1371: +fi # test -n "$CONFIG_FILES" mgl@1371: + mgl@1371: + mgl@1371: +for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS mgl@1371: +do mgl@1371: + case $ac_tag in mgl@1371: + :[FHLC]) ac_mode=$ac_tag; continue;; mgl@1371: + esac mgl@1371: + case $ac_mode$ac_tag in mgl@1371: + :[FHL]*:*);; mgl@1371: + :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 mgl@1371: +echo "$as_me: error: Invalid tag $ac_tag." >&2;} mgl@1371: + { (exit 1); exit 1; }; };; mgl@1371: + :[FH]-) ac_tag=-:-;; mgl@1371: + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; mgl@1371: + esac mgl@1371: + ac_save_IFS=$IFS mgl@1371: + IFS=: mgl@1371: + set x $ac_tag mgl@1371: + IFS=$ac_save_IFS mgl@1371: + shift mgl@1371: + ac_file=$1 mgl@1371: + shift mgl@1371: + mgl@1371: + case $ac_mode in mgl@1371: + :L) ac_source=$1;; mgl@1371: + :[FH]) mgl@1371: + ac_file_inputs= mgl@1371: + for ac_f mgl@1371: + do mgl@1371: + case $ac_f in mgl@1371: + -) ac_f="$tmp/stdin";; mgl@1371: + *) # Look for the file first in the build tree, then in the source tree mgl@1371: + # (if the path is not absolute). The absolute path cannot be DOS-style, mgl@1371: + # because $ac_f cannot contain `:'. mgl@1371: + test -f "$ac_f" || mgl@1371: + case $ac_f in mgl@1371: + [\\/$]*) false;; mgl@1371: + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; mgl@1371: + esac || mgl@1371: + { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 mgl@1371: +echo "$as_me: error: cannot find input file: $ac_f" >&2;} mgl@1371: + { (exit 1); exit 1; }; };; mgl@1371: + esac mgl@1371: + ac_file_inputs="$ac_file_inputs $ac_f" mgl@1371: + done mgl@1371: + mgl@1371: + # Let's still pretend it is `configure' which instantiates (i.e., don't mgl@1371: + # use $as_me), people would be surprised to read: mgl@1371: + # /* config.h. Generated by config.status. */ mgl@1371: + configure_input="Generated from "`IFS=: mgl@1371: + echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." mgl@1371: + if test x"$ac_file" != x-; then mgl@1371: + configure_input="$ac_file. $configure_input" mgl@1371: + { echo "$as_me:$LINENO: creating $ac_file" >&5 mgl@1371: +echo "$as_me: creating $ac_file" >&6;} mgl@1371: + fi mgl@1371: + mgl@1371: + case $ac_tag in mgl@1371: + *:-:* | *:-) cat >"$tmp/stdin";; mgl@1371: + esac mgl@1371: + ;; mgl@1371: esac mgl@1371: mgl@1371: - # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. mgl@1371: - ac_dir=`(dirname "$ac_file") 2>/dev/null || mgl@1371: + ac_dir=`$as_dirname -- "$ac_file" || mgl@1371: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ mgl@1371: X"$ac_file" : 'X\(//\)[^/]' \| \ mgl@1371: X"$ac_file" : 'X\(//\)$' \| \ mgl@1371: - X"$ac_file" : 'X\(/\)' \| \ mgl@1371: - . : '\(.\)' 2>/dev/null || mgl@1371: + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || mgl@1371: echo X"$ac_file" | mgl@1371: - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } mgl@1371: - /^X\(\/\/\)[^/].*/{ s//\1/; q; } mgl@1371: - /^X\(\/\/\)$/{ s//\1/; q; } mgl@1371: - /^X\(\/\).*/{ s//\1/; q; } mgl@1371: - s/.*/./; q'` mgl@1371: - { if $as_mkdir_p; then mgl@1371: - mkdir -p "$ac_dir" mgl@1371: - else mgl@1371: - as_dir="$ac_dir" mgl@1371: + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + /^X\(\/\/\)[^/].*/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + /^X\(\/\/\)$/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + /^X\(\/\).*/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + s/.*/./; q'` mgl@1371: + { as_dir="$ac_dir" mgl@1371: + case $as_dir in #( mgl@1371: + -*) as_dir=./$as_dir;; mgl@1371: + esac mgl@1371: + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { mgl@1371: as_dirs= mgl@1371: - while test ! -d "$as_dir"; do mgl@1371: - as_dirs="$as_dir $as_dirs" mgl@1371: - as_dir=`(dirname "$as_dir") 2>/dev/null || mgl@1371: + while :; do mgl@1371: + case $as_dir in #( mgl@1371: + *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( mgl@1371: + *) as_qdir=$as_dir;; mgl@1371: + esac mgl@1371: + as_dirs="'$as_qdir' $as_dirs" mgl@1371: + as_dir=`$as_dirname -- "$as_dir" || mgl@1371: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ mgl@1371: X"$as_dir" : 'X\(//\)[^/]' \| \ mgl@1371: X"$as_dir" : 'X\(//\)$' \| \ mgl@1371: - X"$as_dir" : 'X\(/\)' \| \ mgl@1371: - . : '\(.\)' 2>/dev/null || mgl@1371: + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || mgl@1371: echo X"$as_dir" | mgl@1371: - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } mgl@1371: - /^X\(\/\/\)[^/].*/{ s//\1/; q; } mgl@1371: - /^X\(\/\/\)$/{ s//\1/; q; } mgl@1371: - /^X\(\/\).*/{ s//\1/; q; } mgl@1371: - s/.*/./; q'` mgl@1371: + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + /^X\(\/\/\)[^/].*/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + /^X\(\/\/\)$/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + /^X\(\/\).*/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + s/.*/./; q'` mgl@1371: + test -d "$as_dir" && break mgl@1371: done mgl@1371: - test ! -n "$as_dirs" || mkdir $as_dirs mgl@1371: - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 mgl@1371: -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} mgl@1371: + test -z "$as_dirs" || eval "mkdir $as_dirs" mgl@1371: + } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 mgl@1371: +echo "$as_me: error: cannot create directory $as_dir" >&2;} mgl@1371: { (exit 1); exit 1; }; }; } mgl@1371: - mgl@1371: ac_builddir=. mgl@1371: mgl@1371: -if test "$ac_dir" != .; then mgl@1371: +case "$ac_dir" in mgl@1371: +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; mgl@1371: +*) mgl@1371: ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` mgl@1371: - # A "../" for each directory in $ac_dir_suffix. mgl@1371: - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` mgl@1371: -else mgl@1371: - ac_dir_suffix= ac_top_builddir= mgl@1371: -fi mgl@1371: + # A ".." for each directory in $ac_dir_suffix. mgl@1371: + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` mgl@1371: + case $ac_top_builddir_sub in mgl@1371: + "") ac_top_builddir_sub=. ac_top_build_prefix= ;; mgl@1371: + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; mgl@1371: + esac ;; mgl@1371: +esac mgl@1371: +ac_abs_top_builddir=$ac_pwd mgl@1371: +ac_abs_builddir=$ac_pwd$ac_dir_suffix mgl@1371: +# for backward compatibility: mgl@1371: +ac_top_builddir=$ac_top_build_prefix mgl@1371: mgl@1371: case $srcdir in mgl@1371: - .) # No --srcdir option. We are building in place. mgl@1371: + .) # We are building in place. mgl@1371: ac_srcdir=. mgl@1371: - if test -z "$ac_top_builddir"; then mgl@1371: - ac_top_srcdir=. mgl@1371: - else mgl@1371: - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` mgl@1371: - fi ;; mgl@1371: - [\\/]* | ?:[\\/]* ) # Absolute path. mgl@1371: + ac_top_srcdir=$ac_top_builddir_sub mgl@1371: + ac_abs_top_srcdir=$ac_pwd ;; mgl@1371: + [\\/]* | ?:[\\/]* ) # Absolute name. mgl@1371: ac_srcdir=$srcdir$ac_dir_suffix; mgl@1371: - ac_top_srcdir=$srcdir ;; mgl@1371: - *) # Relative path. mgl@1371: - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix mgl@1371: - ac_top_srcdir=$ac_top_builddir$srcdir ;; mgl@1371: -esac mgl@1371: + ac_top_srcdir=$srcdir mgl@1371: + ac_abs_top_srcdir=$srcdir ;; mgl@1371: + *) # Relative name. mgl@1371: + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix mgl@1371: + ac_top_srcdir=$ac_top_build_prefix$srcdir mgl@1371: + ac_abs_top_srcdir=$ac_pwd/$srcdir ;; mgl@1371: +esac mgl@1371: +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix mgl@1371: mgl@1371: -# Do not use `cd foo && pwd` to compute absolute paths, because mgl@1371: -# the directories may not exist. mgl@1371: -case `pwd` in mgl@1371: -.) ac_abs_builddir="$ac_dir";; mgl@1371: -*) mgl@1371: - case "$ac_dir" in mgl@1371: - .) ac_abs_builddir=`pwd`;; mgl@1371: - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; mgl@1371: - *) ac_abs_builddir=`pwd`/"$ac_dir";; mgl@1371: - esac;; mgl@1371: -esac mgl@1371: -case $ac_abs_builddir in mgl@1371: -.) ac_abs_top_builddir=${ac_top_builddir}.;; mgl@1371: -*) mgl@1371: - case ${ac_top_builddir}. in mgl@1371: - .) ac_abs_top_builddir=$ac_abs_builddir;; mgl@1371: - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; mgl@1371: - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; mgl@1371: - esac;; mgl@1371: -esac mgl@1371: -case $ac_abs_builddir in mgl@1371: -.) ac_abs_srcdir=$ac_srcdir;; mgl@1371: -*) mgl@1371: - case $ac_srcdir in mgl@1371: - .) ac_abs_srcdir=$ac_abs_builddir;; mgl@1371: - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; mgl@1371: - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; mgl@1371: - esac;; mgl@1371: -esac mgl@1371: -case $ac_abs_builddir in mgl@1371: -.) ac_abs_top_srcdir=$ac_top_srcdir;; mgl@1371: -*) mgl@1371: - case $ac_top_srcdir in mgl@1371: - .) ac_abs_top_srcdir=$ac_abs_builddir;; mgl@1371: - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; mgl@1371: - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; mgl@1371: - esac;; mgl@1371: -esac mgl@1371: mgl@1371: + case $ac_mode in mgl@1371: + :F) mgl@1371: + # mgl@1371: + # CONFIG_FILE mgl@1371: + # mgl@1371: mgl@1371: case $INSTALL in mgl@1371: [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; mgl@1371: - *) ac_INSTALL=$ac_top_builddir$INSTALL ;; mgl@1371: + *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; mgl@1371: esac mgl@1371: +_ACEOF mgl@1371: mgl@1371: - if test x"$ac_file" != x-; then mgl@1371: - { echo "$as_me:$LINENO: creating $ac_file" >&5 mgl@1371: -echo "$as_me: creating $ac_file" >&6;} mgl@1371: - rm -f "$ac_file" mgl@1371: - fi mgl@1371: - # Let's still pretend it is `configure' which instantiates (i.e., don't mgl@1371: - # use $as_me), people would be surprised to read: mgl@1371: - # /* config.h. Generated by config.status. */ mgl@1371: - if test x"$ac_file" = x-; then mgl@1371: - configure_input= mgl@1371: - else mgl@1371: - configure_input="$ac_file. " mgl@1371: - fi mgl@1371: - configure_input=$configure_input"Generated from `echo $ac_file_in | mgl@1371: - sed 's,.*/,,'` by configure." mgl@1371: - mgl@1371: - # First look for the input files in the build tree, otherwise in the mgl@1371: - # src tree. mgl@1371: - ac_file_inputs=`IFS=: mgl@1371: - for f in $ac_file_in; do mgl@1371: - case $f in mgl@1371: - -) echo $tmp/stdin ;; mgl@1371: - [\\/$]*) mgl@1371: - # Absolute (can't be DOS-style, as IFS=:) mgl@1371: - test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 mgl@1371: -echo "$as_me: error: cannot find input file: $f" >&2;} mgl@1371: - { (exit 1); exit 1; }; } mgl@1371: - echo "$f";; mgl@1371: - *) # Relative mgl@1371: - if test -f "$f"; then mgl@1371: - # Build tree mgl@1371: - echo "$f" mgl@1371: - elif test -f "$srcdir/$f"; then mgl@1371: - # Source tree mgl@1371: - echo "$srcdir/$f" mgl@1371: - else mgl@1371: - # /dev/null tree mgl@1371: - { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 mgl@1371: -echo "$as_me: error: cannot find input file: $f" >&2;} mgl@1371: - { (exit 1); exit 1; }; } mgl@1371: - fi;; mgl@1371: - esac mgl@1371: - done` || { (exit 1); exit 1; } mgl@1371: +cat >>$CONFIG_STATUS <<\_ACEOF mgl@1371: +# If the template does not know about datarootdir, expand it. mgl@1371: +# FIXME: This hack should be removed a few years after 2.60. mgl@1371: +ac_datarootdir_hack=; ac_datarootdir_seen= mgl@1371: + mgl@1371: +case `sed -n '/datarootdir/ { mgl@1371: + p mgl@1371: + q mgl@1371: +} mgl@1371: +/@datadir@/p mgl@1371: +/@docdir@/p mgl@1371: +/@infodir@/p mgl@1371: +/@localedir@/p mgl@1371: +/@mandir@/p mgl@1371: +' $ac_file_inputs` in mgl@1371: +*datarootdir*) ac_datarootdir_seen=yes;; mgl@1371: +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) mgl@1371: + { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 mgl@1371: +echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} mgl@1371: +_ACEOF mgl@1371: +cat >>$CONFIG_STATUS <<_ACEOF mgl@1371: + ac_datarootdir_hack=' mgl@1371: + s&@datadir@&$datadir&g mgl@1371: + s&@docdir@&$docdir&g mgl@1371: + s&@infodir@&$infodir&g mgl@1371: + s&@localedir@&$localedir&g mgl@1371: + s&@mandir@&$mandir&g mgl@1371: + s&\\\${datarootdir}&$datarootdir&g' ;; mgl@1371: +esac mgl@1371: _ACEOF mgl@1371: + mgl@1371: +# Neutralize VPATH when `$srcdir' = `.'. mgl@1371: +# Shell code in configure.ac might set extrasub. mgl@1371: +# FIXME: do we really want to maintain this feature? mgl@1371: cat >>$CONFIG_STATUS <<_ACEOF mgl@1371: sed "$ac_vpsub mgl@1371: $extrasub mgl@1371: @@ -12791,142 +13936,43 @@ mgl@1371: cat >>$CONFIG_STATUS <<\_ACEOF mgl@1371: :t mgl@1371: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b mgl@1371: -s,@configure_input@,$configure_input,;t t mgl@1371: -s,@srcdir@,$ac_srcdir,;t t mgl@1371: -s,@abs_srcdir@,$ac_abs_srcdir,;t t mgl@1371: -s,@top_srcdir@,$ac_top_srcdir,;t t mgl@1371: -s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t mgl@1371: -s,@builddir@,$ac_builddir,;t t mgl@1371: -s,@abs_builddir@,$ac_abs_builddir,;t t mgl@1371: -s,@top_builddir@,$ac_top_builddir,;t t mgl@1371: -s,@abs_top_builddir@,$ac_abs_top_builddir,;t t mgl@1371: -s,@INSTALL@,$ac_INSTALL,;t t mgl@1371: -" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out mgl@1371: - rm -f $tmp/stdin mgl@1371: - if test x"$ac_file" != x-; then mgl@1371: - mv $tmp/out $ac_file mgl@1371: - else mgl@1371: - cat $tmp/out mgl@1371: - rm -f $tmp/out mgl@1371: - fi mgl@1371: - mgl@1371: -done mgl@1371: -_ACEOF mgl@1371: -cat >>$CONFIG_STATUS <<\_ACEOF mgl@1371: - mgl@1371: -# mgl@1371: -# CONFIG_COMMANDS section. mgl@1371: -# mgl@1371: -for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue mgl@1371: - ac_dest=`echo "$ac_file" | sed 's,:.*,,'` mgl@1371: - ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` mgl@1371: - ac_dir=`(dirname "$ac_dest") 2>/dev/null || mgl@1371: -$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ mgl@1371: - X"$ac_dest" : 'X\(//\)[^/]' \| \ mgl@1371: - X"$ac_dest" : 'X\(//\)$' \| \ mgl@1371: - X"$ac_dest" : 'X\(/\)' \| \ mgl@1371: - . : '\(.\)' 2>/dev/null || mgl@1371: -echo X"$ac_dest" | mgl@1371: - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } mgl@1371: - /^X\(\/\/\)[^/].*/{ s//\1/; q; } mgl@1371: - /^X\(\/\/\)$/{ s//\1/; q; } mgl@1371: - /^X\(\/\).*/{ s//\1/; q; } mgl@1371: - s/.*/./; q'` mgl@1371: - { if $as_mkdir_p; then mgl@1371: - mkdir -p "$ac_dir" mgl@1371: - else mgl@1371: - as_dir="$ac_dir" mgl@1371: - as_dirs= mgl@1371: - while test ! -d "$as_dir"; do mgl@1371: - as_dirs="$as_dir $as_dirs" mgl@1371: - as_dir=`(dirname "$as_dir") 2>/dev/null || mgl@1371: -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ mgl@1371: - X"$as_dir" : 'X\(//\)[^/]' \| \ mgl@1371: - X"$as_dir" : 'X\(//\)$' \| \ mgl@1371: - X"$as_dir" : 'X\(/\)' \| \ mgl@1371: - . : '\(.\)' 2>/dev/null || mgl@1371: -echo X"$as_dir" | mgl@1371: - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } mgl@1371: - /^X\(\/\/\)[^/].*/{ s//\1/; q; } mgl@1371: - /^X\(\/\/\)$/{ s//\1/; q; } mgl@1371: - /^X\(\/\).*/{ s//\1/; q; } mgl@1371: - s/.*/./; q'` mgl@1371: - done mgl@1371: - test ! -n "$as_dirs" || mkdir $as_dirs mgl@1371: - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 mgl@1371: -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} mgl@1371: - { (exit 1); exit 1; }; }; } mgl@1371: +s&@configure_input@&$configure_input&;t t mgl@1371: +s&@top_builddir@&$ac_top_builddir_sub&;t t mgl@1371: +s&@srcdir@&$ac_srcdir&;t t mgl@1371: +s&@abs_srcdir@&$ac_abs_srcdir&;t t mgl@1371: +s&@top_srcdir@&$ac_top_srcdir&;t t mgl@1371: +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t mgl@1371: +s&@builddir@&$ac_builddir&;t t mgl@1371: +s&@abs_builddir@&$ac_abs_builddir&;t t mgl@1371: +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t mgl@1371: +s&@INSTALL@&$ac_INSTALL&;t t mgl@1371: +$ac_datarootdir_hack mgl@1371: +" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out mgl@1371: + mgl@1371: +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && mgl@1371: + { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && mgl@1371: + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && mgl@1371: + { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' mgl@1371: +which seems to be undefined. Please make sure it is defined." >&5 mgl@1371: +echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' mgl@1371: +which seems to be undefined. Please make sure it is defined." >&2;} mgl@1371: mgl@1371: - ac_builddir=. mgl@1371: - mgl@1371: -if test "$ac_dir" != .; then mgl@1371: - ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` mgl@1371: - # A "../" for each directory in $ac_dir_suffix. mgl@1371: - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` mgl@1371: -else mgl@1371: - ac_dir_suffix= ac_top_builddir= mgl@1371: -fi mgl@1371: + rm -f "$tmp/stdin" mgl@1371: + case $ac_file in mgl@1371: + -) cat "$tmp/out"; rm -f "$tmp/out";; mgl@1371: + *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; mgl@1371: + esac mgl@1371: + ;; mgl@1371: mgl@1371: -case $srcdir in mgl@1371: - .) # No --srcdir option. We are building in place. mgl@1371: - ac_srcdir=. mgl@1371: - if test -z "$ac_top_builddir"; then mgl@1371: - ac_top_srcdir=. mgl@1371: - else mgl@1371: - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` mgl@1371: - fi ;; mgl@1371: - [\\/]* | ?:[\\/]* ) # Absolute path. mgl@1371: - ac_srcdir=$srcdir$ac_dir_suffix; mgl@1371: - ac_top_srcdir=$srcdir ;; mgl@1371: - *) # Relative path. mgl@1371: - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix mgl@1371: - ac_top_srcdir=$ac_top_builddir$srcdir ;; mgl@1371: -esac mgl@1371: mgl@1371: -# Do not use `cd foo && pwd` to compute absolute paths, because mgl@1371: -# the directories may not exist. mgl@1371: -case `pwd` in mgl@1371: -.) ac_abs_builddir="$ac_dir";; mgl@1371: -*) mgl@1371: - case "$ac_dir" in mgl@1371: - .) ac_abs_builddir=`pwd`;; mgl@1371: - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; mgl@1371: - *) ac_abs_builddir=`pwd`/"$ac_dir";; mgl@1371: - esac;; mgl@1371: -esac mgl@1371: -case $ac_abs_builddir in mgl@1371: -.) ac_abs_top_builddir=${ac_top_builddir}.;; mgl@1371: -*) mgl@1371: - case ${ac_top_builddir}. in mgl@1371: - .) ac_abs_top_builddir=$ac_abs_builddir;; mgl@1371: - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; mgl@1371: - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; mgl@1371: - esac;; mgl@1371: -esac mgl@1371: -case $ac_abs_builddir in mgl@1371: -.) ac_abs_srcdir=$ac_srcdir;; mgl@1371: -*) mgl@1371: - case $ac_srcdir in mgl@1371: - .) ac_abs_srcdir=$ac_abs_builddir;; mgl@1371: - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; mgl@1371: - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; mgl@1371: - esac;; mgl@1371: -esac mgl@1371: -case $ac_abs_builddir in mgl@1371: -.) ac_abs_top_srcdir=$ac_top_srcdir;; mgl@1371: -*) mgl@1371: - case $ac_top_srcdir in mgl@1371: - .) ac_abs_top_srcdir=$ac_abs_builddir;; mgl@1371: - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; mgl@1371: - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; mgl@1371: - esac;; mgl@1371: -esac mgl@1371: + :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5 mgl@1371: +echo "$as_me: executing $ac_file commands" >&6;} mgl@1371: + ;; mgl@1371: + esac mgl@1371: mgl@1371: mgl@1371: - { echo "$as_me:$LINENO: executing $ac_dest commands" >&5 mgl@1371: -echo "$as_me: executing $ac_dest commands" >&6;} mgl@1371: - case $ac_dest in mgl@1371: - depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do mgl@1371: + case $ac_file$ac_mode in mgl@1371: + "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do mgl@1371: # Strip MF so we end up with the name of the file. mgl@1371: mf=`echo "$mf" | sed -e 's/:.*$//'` mgl@1371: # Check whether this is an Automake generated Makefile or not. mgl@1371: @@ -12936,18 +13982,29 @@ mgl@1371: # each Makefile.in and add a new line on top of each file to say so. mgl@1371: # So let's grep whole file. mgl@1371: if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then mgl@1371: - dirpart=`(dirname "$mf") 2>/dev/null || mgl@1371: + dirpart=`$as_dirname -- "$mf" || mgl@1371: $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ mgl@1371: X"$mf" : 'X\(//\)[^/]' \| \ mgl@1371: X"$mf" : 'X\(//\)$' \| \ mgl@1371: - X"$mf" : 'X\(/\)' \| \ mgl@1371: - . : '\(.\)' 2>/dev/null || mgl@1371: + X"$mf" : 'X\(/\)' \| . 2>/dev/null || mgl@1371: echo X"$mf" | mgl@1371: - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } mgl@1371: - /^X\(\/\/\)[^/].*/{ s//\1/; q; } mgl@1371: - /^X\(\/\/\)$/{ s//\1/; q; } mgl@1371: - /^X\(\/\).*/{ s//\1/; q; } mgl@1371: - s/.*/./; q'` mgl@1371: + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + /^X\(\/\/\)[^/].*/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + /^X\(\/\/\)$/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + /^X\(\/\).*/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + s/.*/./; q'` mgl@1371: else mgl@1371: continue mgl@1371: fi mgl@1371: @@ -12969,49 +14026,76 @@ mgl@1371: sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do mgl@1371: # Make sure the directory exists. mgl@1371: test -f "$dirpart/$file" && continue mgl@1371: - fdir=`(dirname "$file") 2>/dev/null || mgl@1371: + fdir=`$as_dirname -- "$file" || mgl@1371: $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ mgl@1371: X"$file" : 'X\(//\)[^/]' \| \ mgl@1371: X"$file" : 'X\(//\)$' \| \ mgl@1371: - X"$file" : 'X\(/\)' \| \ mgl@1371: - . : '\(.\)' 2>/dev/null || mgl@1371: + X"$file" : 'X\(/\)' \| . 2>/dev/null || mgl@1371: echo X"$file" | mgl@1371: - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } mgl@1371: - /^X\(\/\/\)[^/].*/{ s//\1/; q; } mgl@1371: - /^X\(\/\/\)$/{ s//\1/; q; } mgl@1371: - /^X\(\/\).*/{ s//\1/; q; } mgl@1371: - s/.*/./; q'` mgl@1371: - { if $as_mkdir_p; then mgl@1371: - mkdir -p $dirpart/$fdir mgl@1371: - else mgl@1371: - as_dir=$dirpart/$fdir mgl@1371: + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + /^X\(\/\/\)[^/].*/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + /^X\(\/\/\)$/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + /^X\(\/\).*/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + s/.*/./; q'` mgl@1371: + { as_dir=$dirpart/$fdir mgl@1371: + case $as_dir in #( mgl@1371: + -*) as_dir=./$as_dir;; mgl@1371: + esac mgl@1371: + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { mgl@1371: as_dirs= mgl@1371: - while test ! -d "$as_dir"; do mgl@1371: - as_dirs="$as_dir $as_dirs" mgl@1371: - as_dir=`(dirname "$as_dir") 2>/dev/null || mgl@1371: + while :; do mgl@1371: + case $as_dir in #( mgl@1371: + *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( mgl@1371: + *) as_qdir=$as_dir;; mgl@1371: + esac mgl@1371: + as_dirs="'$as_qdir' $as_dirs" mgl@1371: + as_dir=`$as_dirname -- "$as_dir" || mgl@1371: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ mgl@1371: X"$as_dir" : 'X\(//\)[^/]' \| \ mgl@1371: X"$as_dir" : 'X\(//\)$' \| \ mgl@1371: - X"$as_dir" : 'X\(/\)' \| \ mgl@1371: - . : '\(.\)' 2>/dev/null || mgl@1371: + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || mgl@1371: echo X"$as_dir" | mgl@1371: - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } mgl@1371: - /^X\(\/\/\)[^/].*/{ s//\1/; q; } mgl@1371: - /^X\(\/\/\)$/{ s//\1/; q; } mgl@1371: - /^X\(\/\).*/{ s//\1/; q; } mgl@1371: - s/.*/./; q'` mgl@1371: + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + /^X\(\/\/\)[^/].*/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + /^X\(\/\/\)$/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + /^X\(\/\).*/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + s/.*/./; q'` mgl@1371: + test -d "$as_dir" && break mgl@1371: done mgl@1371: - test ! -n "$as_dirs" || mkdir $as_dirs mgl@1371: - fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5 mgl@1371: -echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;} mgl@1371: + test -z "$as_dirs" || eval "mkdir $as_dirs" mgl@1371: + } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 mgl@1371: +echo "$as_me: error: cannot create directory $as_dir" >&2;} mgl@1371: { (exit 1); exit 1; }; }; } mgl@1371: - mgl@1371: # echo "creating $dirpart/$file" mgl@1371: echo '# dummy' > "$dirpart/$file" mgl@1371: done mgl@1371: done mgl@1371: ;; mgl@1371: - libtool ) mgl@1371: + "libtool":C) mgl@1371: mgl@1371: # See if we are running on zsh, and set the options which allow our mgl@1371: # commands through without removal of \ escapes. mgl@1371: @@ -13652,11 +14736,10 @@ mgl@1371: chmod +x "$ofile" mgl@1371: mgl@1371: ;; mgl@1371: + mgl@1371: esac mgl@1371: -done mgl@1371: -_ACEOF mgl@1371: +done # for ac_tag mgl@1371: mgl@1371: -cat >>$CONFIG_STATUS <<\_ACEOF mgl@1371: mgl@1371: { (exit 0); exit 0; } mgl@1371: _ACEOF mgl@1371: @@ -13686,7 +14769,7 @@ mgl@1371: fi mgl@1371: mgl@1371: # mgl@1371: -# CONFIG_SUBDIRS section, as fixed in confsubdir.m4. mgl@1371: +# CONFIG_SUBDIRS section. mgl@1371: # mgl@1371: if test "$no_recursion" != yes; then mgl@1371: mgl@1371: @@ -13733,7 +14816,12 @@ mgl@1371: case $ac_arg in mgl@1371: *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; mgl@1371: esac mgl@1371: - ac_sub_configure_args="$ac_arg $ac_sub_configure_args" mgl@1371: + ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args" mgl@1371: + mgl@1371: + # Pass --silent mgl@1371: + if test "$silent" = yes; then mgl@1371: + ac_sub_configure_args="--silent $ac_sub_configure_args" mgl@1371: + fi mgl@1371: mgl@1371: ac_popdir=`pwd` mgl@1371: for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue mgl@1371: @@ -13742,97 +14830,83 @@ mgl@1371: # parts of a large source tree are present. mgl@1371: test -d "$srcdir/$ac_dir" || continue mgl@1371: mgl@1371: - { echo "$as_me:$LINENO: configuring in $ac_dir" >&5 mgl@1371: -echo "$as_me: configuring in $ac_dir" >&6;} mgl@1371: - { if $as_mkdir_p; then mgl@1371: - mkdir -p "$ac_dir" mgl@1371: - else mgl@1371: - as_dir="$ac_dir" mgl@1371: + ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)" mgl@1371: + echo "$as_me:$LINENO: $ac_msg" >&5 mgl@1371: + echo "$ac_msg" >&6 mgl@1371: + { as_dir="$ac_dir" mgl@1371: + case $as_dir in #( mgl@1371: + -*) as_dir=./$as_dir;; mgl@1371: + esac mgl@1371: + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { mgl@1371: as_dirs= mgl@1371: - while test ! -d "$as_dir"; do mgl@1371: - as_dirs="$as_dir $as_dirs" mgl@1371: - as_dir=`(dirname "$as_dir") 2>/dev/null || mgl@1371: + while :; do mgl@1371: + case $as_dir in #( mgl@1371: + *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( mgl@1371: + *) as_qdir=$as_dir;; mgl@1371: + esac mgl@1371: + as_dirs="'$as_qdir' $as_dirs" mgl@1371: + as_dir=`$as_dirname -- "$as_dir" || mgl@1371: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ mgl@1371: X"$as_dir" : 'X\(//\)[^/]' \| \ mgl@1371: X"$as_dir" : 'X\(//\)$' \| \ mgl@1371: - X"$as_dir" : 'X\(/\)' \| \ mgl@1371: - . : '\(.\)' 2>/dev/null || mgl@1371: + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || mgl@1371: echo X"$as_dir" | mgl@1371: - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } mgl@1371: - /^X\(\/\/\)[^/].*/{ s//\1/; q; } mgl@1371: - /^X\(\/\/\)$/{ s//\1/; q; } mgl@1371: - /^X\(\/\).*/{ s//\1/; q; } mgl@1371: - s/.*/./; q'` mgl@1371: + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + /^X\(\/\/\)[^/].*/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + /^X\(\/\/\)$/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + /^X\(\/\).*/{ mgl@1371: + s//\1/ mgl@1371: + q mgl@1371: + } mgl@1371: + s/.*/./; q'` mgl@1371: + test -d "$as_dir" && break mgl@1371: done mgl@1371: - test ! -n "$as_dirs" || mkdir $as_dirs mgl@1371: - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 mgl@1371: -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} mgl@1371: + test -z "$as_dirs" || eval "mkdir $as_dirs" mgl@1371: + } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 mgl@1371: +echo "$as_me: error: cannot create directory $as_dir" >&2;} mgl@1371: { (exit 1); exit 1; }; }; } mgl@1371: - mgl@1371: ac_builddir=. mgl@1371: mgl@1371: -if test "$ac_dir" != .; then mgl@1371: +case "$ac_dir" in mgl@1371: +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; mgl@1371: +*) mgl@1371: ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` mgl@1371: - # A "../" for each directory in $ac_dir_suffix. mgl@1371: - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` mgl@1371: -else mgl@1371: - ac_dir_suffix= ac_top_builddir= mgl@1371: -fi mgl@1371: + # A ".." for each directory in $ac_dir_suffix. mgl@1371: + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` mgl@1371: + case $ac_top_builddir_sub in mgl@1371: + "") ac_top_builddir_sub=. ac_top_build_prefix= ;; mgl@1371: + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; mgl@1371: + esac ;; mgl@1371: +esac mgl@1371: +ac_abs_top_builddir=$ac_pwd mgl@1371: +ac_abs_builddir=$ac_pwd$ac_dir_suffix mgl@1371: +# for backward compatibility: mgl@1371: +ac_top_builddir=$ac_top_build_prefix mgl@1371: mgl@1371: case $srcdir in mgl@1371: - .) # No --srcdir option. We are building in place. mgl@1371: + .) # We are building in place. mgl@1371: ac_srcdir=. mgl@1371: - if test -z "$ac_top_builddir"; then mgl@1371: - ac_top_srcdir=. mgl@1371: - else mgl@1371: - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` mgl@1371: - fi ;; mgl@1371: - [\\/]* | ?:[\\/]* ) # Absolute path. mgl@1371: + ac_top_srcdir=$ac_top_builddir_sub mgl@1371: + ac_abs_top_srcdir=$ac_pwd ;; mgl@1371: + [\\/]* | ?:[\\/]* ) # Absolute name. mgl@1371: ac_srcdir=$srcdir$ac_dir_suffix; mgl@1371: - ac_top_srcdir=$srcdir ;; mgl@1371: - *) # Relative path. mgl@1371: - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix mgl@1371: - ac_top_srcdir=$ac_top_builddir$srcdir ;; mgl@1371: -esac mgl@1371: - mgl@1371: -# Do not use `cd foo && pwd` to compute absolute paths, because mgl@1371: -# the directories may not exist. mgl@1371: -case `pwd` in mgl@1371: -.) ac_abs_builddir="$ac_dir";; mgl@1371: -*) mgl@1371: - case "$ac_dir" in mgl@1371: - .) ac_abs_builddir=`pwd`;; mgl@1371: - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; mgl@1371: - *) ac_abs_builddir=`pwd`/"$ac_dir";; mgl@1371: - esac;; mgl@1371: -esac mgl@1371: -case $ac_abs_builddir in mgl@1371: -.) ac_abs_top_builddir=${ac_top_builddir}.;; mgl@1371: -*) mgl@1371: - case ${ac_top_builddir}. in mgl@1371: - .) ac_abs_top_builddir=$ac_abs_builddir;; mgl@1371: - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; mgl@1371: - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; mgl@1371: - esac;; mgl@1371: -esac mgl@1371: -case $ac_abs_builddir in mgl@1371: -.) ac_abs_srcdir=$ac_srcdir;; mgl@1371: -*) mgl@1371: - case $ac_srcdir in mgl@1371: - .) ac_abs_srcdir=$ac_abs_builddir;; mgl@1371: - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; mgl@1371: - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; mgl@1371: - esac;; mgl@1371: -esac mgl@1371: -case $ac_abs_builddir in mgl@1371: -.) ac_abs_top_srcdir=$ac_top_srcdir;; mgl@1371: -*) mgl@1371: - case $ac_top_srcdir in mgl@1371: - .) ac_abs_top_srcdir=$ac_abs_builddir;; mgl@1371: - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; mgl@1371: - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; mgl@1371: - esac;; mgl@1371: + ac_top_srcdir=$srcdir mgl@1371: + ac_abs_top_srcdir=$srcdir ;; mgl@1371: + *) # Relative name. mgl@1371: + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix mgl@1371: + ac_top_srcdir=$ac_top_build_prefix$srcdir mgl@1371: + ac_abs_top_srcdir=$ac_pwd/$srcdir ;; mgl@1371: esac mgl@1371: +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix mgl@1371: mgl@1371: mgl@1371: cd "$ac_dir" mgl@1371: @@ -13856,8 +14930,8 @@ mgl@1371: # Make the cache file name correct relative to the subdirectory. mgl@1371: case $cache_file in mgl@1371: [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;; mgl@1371: - *) # Relative path. mgl@1371: - ac_sub_cache_file=$ac_top_builddir$cache_file ;; mgl@1371: + *) # Relative name. mgl@1371: + ac_sub_cache_file=$ac_top_build_prefix$cache_file ;; mgl@1371: esac mgl@1371: mgl@1371: { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5 mgl@1371: diff -Naur newlib-1.17.0/newlib/libc/sys/configure.in newlib-1.17.0-new/newlib/libc/sys/configure.in mgl@1371: --- newlib-1.17.0/newlib/libc/sys/configure.in 2007-05-24 19:33:37.000000000 +0200 mgl@1371: +++ newlib-1.17.0-new/newlib/libc/sys/configure.in 2009-05-22 09:57:50.000000000 +0200 mgl@1371: @@ -24,6 +24,7 @@ mgl@1371: a29khif) AC_CONFIG_SUBDIRS(a29khif) ;; mgl@1371: arc) AC_CONFIG_SUBDIRS(arc) ;; mgl@1371: arm) AC_CONFIG_SUBDIRS(arm) ;; mgl@1371: + avr32) AC_CONFIG_SUBDIRS(avr32) ;; mgl@1371: d10v) AC_CONFIG_SUBDIRS(d10v) ;; mgl@1371: decstation) AC_CONFIG_SUBDIRS(decstation) ;; mgl@1371: h8300hms) AC_CONFIG_SUBDIRS(h8300hms) ;;