summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xrtems/build-4.11-targets.sh25
-rw-r--r--rtems/config/rtems-binutils-2.22-1.cfg15
-rw-r--r--rtems/config/rtems-gcc-4.6.3-newlib-1.20.0-1.cfg47
-rw-r--r--rtems/config/rtems-gdb-7.5-1.cfg15
-rw-r--r--rtems/config/rtems-tools-4.11.bset22
-rw-r--r--rtems/patches/binutils-2.22-rtems4.11-20120427.diff568
-rw-r--r--rtems/patches/gcc-core-4.6.3-rtems4.11-20120303.diff575
-rw-r--r--rtems/patches/gdb-7.5-rtems4.11-20121003.diff833
-rw-r--r--rtems/patches/newlib-1.20.0-rtems4.11-20121011.diff72159
9 files changed, 74259 insertions, 0 deletions
diff --git a/rtems/build-4.11-targets.sh b/rtems/build-4.11-targets.sh
new file mode 100755
index 0000000..4dc46af
--- /dev/null
+++ b/rtems/build-4.11-targets.sh
@@ -0,0 +1,25 @@
+#! /bin/sh
+
+if [ $# -ne 1 ]; then
+ echo "error: no prefix provided"
+ exit 1
+fi
+
+targets="arm avr bfin h8300 lm32 m32c m32r m68k mips powerpc sh sparc"
+
+log="rtems4.11-build-tools-results.txt"
+
+echo "RTEMS 4.11 Build Results $(date)" > ${log}
+
+for t in ${targets}
+do
+ ../source-builder/sb-set-builder --log=l-${t}.txt \
+ --prefix=$1 \
+ --target=${t}-rtems4.11 \
+ rtems-tools-4.11
+ if [ $? -eq 0 ]; then
+ echo "${t}-rtems4.11 passed" >> ${log}
+ else
+ echo "${t}-rtems4.11 FAILED" >> ${log}
+ fi
+done
diff --git a/rtems/config/rtems-binutils-2.22-1.cfg b/rtems/config/rtems-binutils-2.22-1.cfg
new file mode 100644
index 0000000..62db467
--- /dev/null
+++ b/rtems/config/rtems-binutils-2.22-1.cfg
@@ -0,0 +1,15 @@
+#
+# Binutils 2.22.
+#
+
+%include %{_configdir}/checks.cfg
+%include %{_configdir}/base.cfg
+
+%define binutils_version 2.22
+
+Patch0: binutils-2.22-rtems4.11-20120427.diff
+
+#
+# The binutils build instructions. We use 2.xx Release 1.
+#
+%include %{_configdir}/binutils-2-1.cfg
diff --git a/rtems/config/rtems-gcc-4.6.3-newlib-1.20.0-1.cfg b/rtems/config/rtems-gcc-4.6.3-newlib-1.20.0-1.cfg
new file mode 100644
index 0000000..a7838c8
--- /dev/null
+++ b/rtems/config/rtems-gcc-4.6.3-newlib-1.20.0-1.cfg
@@ -0,0 +1,47 @@
+#
+# GCC 4.6.3, Newlib 1.20.0
+#
+
+%include %{_configdir}/checks.cfg
+%include %{_configdir}/base.cfg
+
+%define gcc_version 4.6.3
+%define newlib_version 1.20.0
+%define mpfr_version 3.0.1
+%define mpc_version 0.8.2
+%define gmp_version 5.0.5
+
+%define with_threads 1
+%define with_plugin 0
+%define with_iconv 1
+
+#
+# AVR C++ does not work.
+# configure: error: unable to detect exception model
+#
+%if %{_target} == xavr-rtems4.11
+%define enable_cxx 0
+%endif
+
+#
+# M32C C++ does not work.
+# gcc-4.4.7/libstdc++-v3/src/mt_allocator.cc:76: error: cast from 'void*' to 'size_t' loses precision
+#
+%if %{_target} == xm32c-rtems4.11
+%define enable_cxx 0
+%endif
+
+%ifn %{defined enable_cxx}
+%define enable_cxx 1
+%endif
+
+#
+# The RTEMS 4.11 patches
+#
+Patch0: gcc-core-4.6.3-rtems4.11-20120303.diff
+Patch10: newlib-1.20.0-rtems4.11-20121011.diff
+
+#
+# The gcc/newlib build instructions. We use 4.4 Release 1.
+#
+%include %{_configdir}/gcc-4.6-1.cfg
diff --git a/rtems/config/rtems-gdb-7.5-1.cfg b/rtems/config/rtems-gdb-7.5-1.cfg
new file mode 100644
index 0000000..27e8b37
--- /dev/null
+++ b/rtems/config/rtems-gdb-7.5-1.cfg
@@ -0,0 +1,15 @@
+#
+# GDB 7.5.
+#
+
+%include %{_configdir}/checks.cfg
+%include %{_configdir}/base.cfg
+
+%define gdb_version 7.5
+
+Patch0: gdb-7.5-rtems4.11-20121003.diff
+
+#
+# The gdb build instructions. We use 7.xx Release 1.
+#
+%include %{_configdir}/gdb-7-1.cfg
diff --git a/rtems/config/rtems-tools-4.11.bset b/rtems/config/rtems-tools-4.11.bset
new file mode 100644
index 0000000..07d1f01
--- /dev/null
+++ b/rtems/config/rtems-tools-4.11.bset
@@ -0,0 +1,22 @@
+#
+# Tools Set for RTEMS 4.11
+#
+
+%define rtems_version 4.11
+
+%define release 1
+
+package: rtems-%{rtems_version}-%{_target}-%{release}
+
+#
+# Project custom message
+#
+%define gcc_version_message RTEMS %{rtems_version}-%{release},gcc-%{gcc_version}/newlib-%{newlib_version}
+
+#
+# Tools configuration.
+#
+rtems-binutils-2.22-1
+rtems-gcc-4.6.3-newlib-1.20.0-1
+rtems-gdb-7.5-1
+
diff --git a/rtems/patches/binutils-2.22-rtems4.11-20120427.diff b/rtems/patches/binutils-2.22-rtems4.11-20120427.diff
new file mode 100644
index 0000000..1331146
--- /dev/null
+++ b/rtems/patches/binutils-2.22-rtems4.11-20120427.diff
@@ -0,0 +1,568 @@
+diff -Naur binutils-2.22.orig/bfd/ChangeLog binutils-2.22/bfd/ChangeLog
+--- binutils-2.22.orig/bfd/ChangeLog 2011-11-21 12:55:49.000000000 +0100
++++ binutils-2.22/bfd/ChangeLog 2012-04-27 06:43:05.275941484 +0200
+@@ -1,3 +1,14 @@
++2012-04-27 Ralf Corsépius <ralf.corsepius@rtems.org>
++
++ Backport from mainline:
++
++ 2012-04-24 Alan Modra <amodra@gmail.com>
++ PR ld/13991
++ * bfd/elf-bfd.h (_bfd_elf_link_just_syms): Define as
++ _bfd_generic_link_just_syms.
++ * bfd/elflink.c (_bfd_elf_link_just_syms): Delete.
++ * bfd/linker.c (_bfd_generic_link_just_syms): Set sec_info_type.
++
+ 2011-11-21 Tristan Gingold <gingold@adacore.com>
+
+ * configure.in: Bump version to 2.22
+diff -Naur binutils-2.22.orig/bfd/elf-bfd.h binutils-2.22/bfd/elf-bfd.h
+--- binutils-2.22.orig/bfd/elf-bfd.h 2011-08-17 02:39:38.000000000 +0200
++++ binutils-2.22/bfd/elf-bfd.h 2012-04-27 06:43:05.275941484 +0200
+@@ -1807,8 +1807,7 @@
+ (bfd *, asection *, void *);
+ extern asection *_bfd_elf_check_kept_section
+ (asection *, struct bfd_link_info *);
+-extern void _bfd_elf_link_just_syms
+- (asection *, struct bfd_link_info *);
++#define _bfd_elf_link_just_syms _bfd_generic_link_just_syms
+ extern void _bfd_elf_copy_link_hash_symbol_type
+ (bfd *, struct bfd_link_hash_entry *, struct bfd_link_hash_entry *);
+ extern bfd_boolean _bfd_elf_size_group_sections
+diff -Naur binutils-2.22.orig/bfd/elflink.c binutils-2.22/bfd/elflink.c
+--- binutils-2.22.orig/bfd/elflink.c 2011-11-21 10:29:26.000000000 +0100
++++ binutils-2.22/bfd/elflink.c 2012-04-27 06:43:05.285941042 +0200
+@@ -1,6 +1,6 @@
+ /* ELF linking support for BFD.
+ Copyright 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
+- 2005, 2006, 2007, 2008, 2009, 2010, 2011
++ 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
+ Free Software Foundation, Inc.
+
+ This file is part of BFD, the Binary File Descriptor library.
+@@ -6644,17 +6644,6 @@
+ return TRUE;
+ }
+
+-/* Indicate that we are only retrieving symbol values from this
+- section. */
+-
+-void
+-_bfd_elf_link_just_syms (asection *sec, struct bfd_link_info *info)
+-{
+- if (is_elf_hash_table (info->hash))
+- sec->sec_info_type = ELF_INFO_TYPE_JUST_SYMS;
+- _bfd_generic_link_just_syms (sec, info);
+-}
+-
+ /* Make sure sec_info_type is cleared if sec_info is cleared too. */
+
+ static void
+diff -Naur binutils-2.22.orig/bfd/linker.c binutils-2.22/bfd/linker.c
+--- binutils-2.22.orig/bfd/linker.c 2011-09-16 03:15:19.000000000 +0200
++++ binutils-2.22/bfd/linker.c 2012-04-27 06:43:05.287940980 +0200
+@@ -1,6 +1,6 @@
+ /* linker.c -- BFD linker routines
+ Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+- 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
++ 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
+ Free Software Foundation, Inc.
+ Written by Steve Chamberlain and Ian Lance Taylor, Cygnus Support
+
+@@ -810,6 +810,7 @@
+ _bfd_generic_link_just_syms (asection *sec,
+ struct bfd_link_info *info ATTRIBUTE_UNUSED)
+ {
++ sec->sec_info_type = ELF_INFO_TYPE_JUST_SYMS;
+ sec->output_section = bfd_abs_section_ptr;
+ sec->output_offset = sec->vma;
+ }
+diff -Naur binutils-2.22.orig/binutils/ar.c binutils-2.22/binutils/ar.c
+--- binutils-2.22.orig/binutils/ar.c 2011-11-21 10:29:28.000000000 +0100
++++ binutils-2.22/binutils/ar.c 2012-04-27 06:43:05.288940951 +0200
+@@ -37,7 +37,6 @@
+ #include "filenames.h"
+ #include "binemul.h"
+ #include "plugin.h"
+-#include <sys/stat.h>
+
+ #ifdef __GO32___
+ #define EXT_NAME_LEN 3 /* Bufflen of addition to name if it's MS-DOS. */
+diff -Naur binutils-2.22.orig/binutils/bucomm.c binutils-2.22/binutils/bucomm.c
+--- binutils-2.22.orig/binutils/bucomm.c 2011-03-25 18:51:10.000000000 +0100
++++ binutils-2.22/binutils/bucomm.c 2012-04-27 06:43:05.289940923 +0200
+@@ -1,6 +1,6 @@
+ /* bucomm.c -- Bin Utils COMmon code.
+ Copyright 1991, 1992, 1993, 1994, 1995, 1997, 1998, 2000, 2001, 2002,
+- 2003, 2005, 2006, 2007, 2008, 2009, 2010, 2011
++ 2003, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
+ Free Software Foundation, Inc.
+
+ This file is part of GNU Binutils.
+@@ -29,7 +29,6 @@
+ #include "filenames.h"
+ #include "libbfd.h"
+
+-#include <sys/stat.h>
+ #include <time.h> /* ctime, maybe time_t */
+ #include <assert.h>
+ #include "bucomm.h"
+diff -Naur binutils-2.22.orig/binutils/budbg.h binutils-2.22/binutils/budbg.h
+--- binutils-2.22.orig/binutils/budbg.h 2009-09-02 09:22:31.000000000 +0200
++++ binutils-2.22/binutils/budbg.h 2012-04-27 06:43:05.289940923 +0200
+@@ -1,5 +1,5 @@
+ /* budbg.c -- Interfaces to the generic debugging information routines.
+- Copyright 1995, 1996, 2002, 2003, 2005, 2007, 2008
++ Copyright 1995, 1996, 2002, 2003, 2005, 2007, 2008, 2012
+ Free Software Foundation, Inc.
+ Written by Ian Lance Taylor <ian@cygnus.com>.
+
+@@ -23,8 +23,6 @@
+ #ifndef BUDBG_H
+ #define BUDBG_H
+
+-#include <stdio.h>
+-
+ /* Routine used to read generic debugging information. */
+
+ extern void *read_debugging_info (bfd *, asymbol **, long, bfd_boolean);
+diff -Naur binutils-2.22.orig/binutils/ChangeLog binutils-2.22/binutils/ChangeLog
+--- binutils-2.22.orig/binutils/ChangeLog 2011-11-21 10:29:28.000000000 +0100
++++ binutils-2.22/binutils/ChangeLog 2012-04-27 06:43:05.287940980 +0200
+@@ -1,3 +1,25 @@
++2012-02-09 Alan Modra <amodra@gmail.com>
++
++ * sysdep.h: Include sys/stat.h here.
++ * ar.c: Don't include headers already included by sysdep.h.
++ * bucomm.c: Likewise.
++ * budbg.h: Likewise.
++ * dlltool.h: Likewise.
++ * elfedit.c: Likewise.
++ * nlmconv.c: Likewise.
++ * objcopy.c: Likewise.
++ * objdump.c: Likewise.
++ * objdump.h: Likewise.
++ * readelf.c: Likewise.
++ * rename.c: Likewise.
++ * resrc.c: Likewise.
++ * strings.c: Likewise.
++ * windres.c: Likewise.
++ * od-xcoff.c: Likewise.
++ * dllwrap.c: Remove alloca pragma handled by sysdep.h, and
++ remove duplicate headers.
++ * dlltool.c: Likewise and ensure #include sysdep.h is first.
++
+ 2011-10-25 Alan Modra <amodra@gmail.com>
+
+ Apply mainline patches
+diff -Naur binutils-2.22.orig/binutils/dlltool.c binutils-2.22/binutils/dlltool.c
+--- binutils-2.22.orig/binutils/dlltool.c 2010-12-01 15:15:06.000000000 +0100
++++ binutils-2.22/binutils/dlltool.c 2012-04-27 06:43:05.290940897 +0200
+@@ -1,6 +1,6 @@
+ /* dlltool.c -- tool to generate stuff for PE style DLLs
+ Copyright 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
+- 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
++ 2005, 2006, 2007, 2008, 2009, 2011, 2012 Free Software Foundation, Inc.
+
+ This file is part of GNU Binutils.
+
+@@ -232,15 +232,6 @@
+
+ .idata$7 = dll name (eg: "kernel32.dll"). (.idata$6 for ppc). */
+
+-/* AIX requires this to be the first thing in the file. */
+-#ifndef __GNUC__
+-# ifdef _AIX
+- #pragma alloca
+-#endif
+-#endif
+-
+-#define show_allnames 0
+-
+ #include "sysdep.h"
+ #include "bfd.h"
+ #include "libiberty.h"
+@@ -252,8 +243,6 @@
+ #include "safe-ctype.h"
+
+ #include <time.h>
+-#include <sys/stat.h>
+-#include <stdarg.h>
+ #include <assert.h>
+
+ #ifdef DLLTOOL_ARM
+@@ -319,6 +308,8 @@
+ #endif /* defined (_WIN32) && ! defined (__CYGWIN32__) */
+ #endif /* ! HAVE_SYS_WAIT_H */
+
++#define show_allnames 0
++
+ /* ifunc and ihead data structures: ttk@cygnus.com 1997
+
+ When IMPORT declarations are encountered in a .def file the
+diff -Naur binutils-2.22.orig/binutils/dlltool.h binutils-2.22/binutils/dlltool.h
+--- binutils-2.22.orig/binutils/dlltool.h 2009-10-23 16:53:56.000000000 +0200
++++ binutils-2.22/binutils/dlltool.h 2012-04-27 06:43:05.291940872 +0200
+@@ -1,5 +1,6 @@
+ /* dlltool.h -- header file for dlltool
+- Copyright 1997, 1998, 2003, 2004, 2005, 2007 Free Software Foundation, Inc.
++ Copyright 1997, 1998, 2003, 2004, 2005, 2007, 2009, 2012
++ Free Software Foundation, Inc.
+
+ This file is part of GNU Binutils.
+
+@@ -18,9 +19,6 @@
+ Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
+ 02110-1301, USA. */
+
+-#include "ansidecl.h"
+-#include <stdio.h>
+-
+ extern void def_code (int);
+ extern void def_data (int);
+ extern void def_description (const char *);
+diff -Naur binutils-2.22.orig/binutils/dllwrap.c binutils-2.22/binutils/dllwrap.c
+--- binutils-2.22.orig/binutils/dllwrap.c 2010-07-15 09:58:47.000000000 +0200
++++ binutils-2.22/binutils/dllwrap.c 2012-04-27 06:43:05.291940872 +0200
+@@ -1,6 +1,6 @@
+ /* dllwrap.c -- wrapper for DLLTOOL and GCC to generate PE style DLLs
+- Copyright 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2007, 2009
+- Free Software Foundation, Inc.
++ Copyright 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2007, 2009,
++ 2011, 2012 Free Software Foundation, Inc.
+ Contributed by Mumit Khan (khan@xraylith.wisc.edu).
+
+ This file is part of GNU Binutils.
+@@ -20,13 +20,6 @@
+ Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
+ 02110-1301, USA. */
+
+-/* AIX requires this to be the first thing in the file. */
+-#ifndef __GNUC__
+-# ifdef _AIX
+- #pragma alloca
+-#endif
+-#endif
+-
+ #include "sysdep.h"
+ #include "bfd.h"
+ #include "libiberty.h"
+@@ -35,7 +28,6 @@
+ #include "bucomm.h"
+
+ #include <time.h>
+-#include <sys/stat.h>
+
+ #ifdef HAVE_SYS_WAIT_H
+ #include <sys/wait.h>
+diff -Naur binutils-2.22.orig/binutils/elfedit.c binutils-2.22/binutils/elfedit.c
+--- binutils-2.22.orig/binutils/elfedit.c 2011-07-22 22:22:34.000000000 +0200
++++ binutils-2.22/binutils/elfedit.c 2012-04-27 06:43:05.292940848 +0200
+@@ -1,5 +1,5 @@
+ /* elfedit.c -- Update the ELF header of an ELF format file
+- Copyright 2010
++ Copyright 2010, 2011, 2012
+ Free Software Foundation, Inc.
+
+ This file is part of GNU Binutils.
+@@ -19,10 +19,8 @@
+ Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
+ 02110-1301, USA. */
+
+-#include "config.h"
+ #include "sysdep.h"
+ #include <assert.h>
+-#include <sys/stat.h>
+
+ #if __GNUC__ >= 2
+ /* Define BFD64 here, even if our default architecture is 32 bit ELF
+diff -Naur binutils-2.22.orig/binutils/nlmconv.c binutils-2.22/binutils/nlmconv.c
+--- binutils-2.22.orig/binutils/nlmconv.c 2011-02-28 19:32:51.000000000 +0100
++++ binutils-2.22/binutils/nlmconv.c 2012-04-27 06:43:05.293940825 +0200
+@@ -1,6 +1,7 @@
+ /* nlmconv.c -- NLM conversion program
+ Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+- 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
++ 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2011, 2012
++ Free Software Foundation, Inc.
+
+ This file is part of GNU Binutils.
+
+@@ -42,8 +43,6 @@
+
+ #include "ansidecl.h"
+ #include <time.h>
+-#include <sys/stat.h>
+-#include <sys/file.h>
+ #include <assert.h>
+ #include "getopt.h"
+
+diff -Naur binutils-2.22.orig/binutils/objcopy.c binutils-2.22/binutils/objcopy.c
+--- binutils-2.22.orig/binutils/objcopy.c 2011-09-16 06:23:17.000000000 +0200
++++ binutils-2.22/binutils/objcopy.c 2012-04-27 06:43:05.294940804 +0200
+@@ -1,6 +1,6 @@
+ /* objcopy.c -- copy object file from input to output, optionally massaging it.
+ Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
+- 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
++ 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
+ Free Software Foundation, Inc.
+
+ This file is part of GNU Binutils.
+@@ -30,7 +30,6 @@
+ #include "filenames.h"
+ #include "fnmatch.h"
+ #include "elf-bfd.h"
+-#include <sys/stat.h>
+ #include "libbfd.h"
+ #include "coff/internal.h"
+ #include "libcoff.h"
+diff -Naur binutils-2.22.orig/binutils/objdump.c binutils-2.22/binutils/objdump.c
+--- binutils-2.22.orig/binutils/objdump.c 2011-05-16 14:22:12.000000000 +0200
++++ binutils-2.22/binutils/objdump.c 2012-04-27 06:43:05.295940784 +0200
+@@ -1,7 +1,7 @@
+ /* objdump.c -- dump information about an object file.
+ Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
+- 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
+- Free Software Foundation, Inc.
++ 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011,
++ 2012 Free Software Foundation, Inc.
+
+ This file is part of GNU Binutils.
+
+@@ -71,8 +71,6 @@
+ #include <sys/mman.h>
+ #endif
+
+-#include <sys/stat.h>
+-
+ /* Internal headers for the ELF .stab-dump code - sorry. */
+ #define BYTES_IN_WORD 32
+ #include "aout/aout64.h"
+diff -Naur binutils-2.22.orig/binutils/objdump.h binutils-2.22/binutils/objdump.h
+--- binutils-2.22.orig/binutils/objdump.h 2011-05-16 14:22:12.000000000 +0200
++++ binutils-2.22/binutils/objdump.h 2012-04-27 06:43:05.296940765 +0200
+@@ -1,5 +1,5 @@
+ /* objdump.h
+- Copyright 2011 Free Software Foundation, Inc.
++ Copyright 2011, 2012 Free Software Foundation, Inc.
+
+ This file is part of GNU Binutils.
+
+@@ -18,8 +18,6 @@
+ Foundation, 51 Franklin Street - Fifth Floor, Boston,
+ MA 02110-1301, USA. */
+
+-#include <stdio.h>
+-
+ struct objdump_private_option
+ {
+ /* Option name. */
+diff -Naur binutils-2.22.orig/binutils/od-xcoff.c binutils-2.22/binutils/od-xcoff.c
+--- binutils-2.22.orig/binutils/od-xcoff.c 2011-06-09 17:29:05.000000000 +0200
++++ binutils-2.22/binutils/od-xcoff.c 2012-04-27 06:43:05.297940754 +0200
+@@ -1,5 +1,5 @@
+ /* od-xcoff.c -- dump information about an xcoff object file.
+- Copyright 2011 Free Software Foundation, Inc.
++ Copyright 2011, 2012 Free Software Foundation, Inc.
+ Written by Tristan Gingold, Adacore.
+
+ This file is part of GNU Binutils.
+@@ -19,9 +19,9 @@
+ Foundation, 51 Franklin Street - Fifth Floor, Boston,
+ MA 02110-1301, USA. */
+
++#include "sysdep.h"
+ #include <stddef.h>
+ #include <time.h>
+-#include "sysdep.h"
+ #include "safe-ctype.h"
+ #include "bfd.h"
+ #include "objdump.h"
+diff -Naur binutils-2.22.orig/binutils/readelf.c binutils-2.22/binutils/readelf.c
+--- binutils-2.22.orig/binutils/readelf.c 2011-09-21 22:49:13.000000000 +0200
++++ binutils-2.22/binutils/readelf.c 2012-04-27 06:43:05.301940592 +0200
+@@ -42,10 +42,8 @@
+ ELF file than is provided by objdump. In particular it can display DWARF
+ debugging information which (at the moment) objdump cannot. */
+
+-#include "config.h"
+ #include "sysdep.h"
+ #include <assert.h>
+-#include <sys/stat.h>
+ #include <time.h>
+ #ifdef HAVE_ZLIB_H
+ #include <zlib.h>
+diff -Naur binutils-2.22.orig/binutils/rename.c binutils-2.22/binutils/rename.c
+--- binutils-2.22.orig/binutils/rename.c 2009-09-02 09:22:32.000000000 +0200
++++ binutils-2.22/binutils/rename.c 2012-04-27 06:43:05.302940554 +0200
+@@ -22,8 +22,6 @@
+ #include "bfd.h"
+ #include "bucomm.h"
+
+-#include <sys/stat.h>
+-
+ #ifdef HAVE_GOOD_UTIME_H
+ #include <utime.h>
+ #else /* ! HAVE_GOOD_UTIME_H */
+diff -Naur binutils-2.22.orig/binutils/resrc.c binutils-2.22/binutils/resrc.c
+--- binutils-2.22.orig/binutils/resrc.c 2010-11-17 04:35:50.000000000 +0100
++++ binutils-2.22/binutils/resrc.c 2012-04-27 06:43:05.303940522 +0200
+@@ -32,11 +32,6 @@
+ #include "windres.h"
+
+ #include <assert.h>
+-#include <errno.h>
+-#include <sys/stat.h>
+-#ifdef HAVE_UNISTD_H
+-#include <unistd.h>
+-#endif
+
+ #ifdef HAVE_SYS_WAIT_H
+ #include <sys/wait.h>
+diff -Naur binutils-2.22.orig/binutils/strings.c binutils-2.22/binutils/strings.c
+--- binutils-2.22.orig/binutils/strings.c 2011-03-25 18:09:08.000000000 +0100
++++ binutils-2.22/binutils/strings.c 2012-04-27 06:43:05.303940522 +0200
+@@ -1,6 +1,6 @@
+ /* strings -- print the strings of printable characters in files
+ Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
+- 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2011
++ 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2011, 2012
+ Free Software Foundation, Inc.
+
+ This program is free software; you can redistribute it and/or modify
+@@ -65,7 +65,6 @@
+ #include "getopt.h"
+ #include "libiberty.h"
+ #include "safe-ctype.h"
+-#include <sys/stat.h>
+ #include "bucomm.h"
+
+ #define STRING_ISGRAPHIC(c) \
+diff -Naur binutils-2.22.orig/binutils/sysdep.h binutils-2.22/binutils/sysdep.h
+--- binutils-2.22.orig/binutils/sysdep.h 2009-03-18 12:27:17.000000000 +0100
++++ binutils-2.22/binutils/sysdep.h 2012-04-27 06:43:05.304940492 +0200
+@@ -1,6 +1,6 @@
+ /* sysdep.h -- handle host dependencies for binutils
+ Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
+- 2001, 2002, 2003, 2005, 2006, 2007, 2008, 2009
++ 2001, 2002, 2003, 2005, 2006, 2007, 2008, 2009, 2012
+ Free Software Foundation, Inc.
+
+ This file is part of GNU Binutils.
+@@ -69,6 +69,10 @@
+ #endif
+ #endif
+
++#ifdef HAVE_SYS_STAT_H
++#include <sys/stat.h>
++#endif
++
+ #include "binary-io.h"
+
+ #if !HAVE_DECL_STPCPY
+diff -Naur binutils-2.22.orig/binutils/windres.c binutils-2.22/binutils/windres.c
+--- binutils-2.22.orig/binutils/windres.c 2011-06-02 15:43:18.000000000 +0200
++++ binutils-2.22/binutils/windres.c 2012-04-27 06:43:05.304940492 +0200
+@@ -1,6 +1,6 @@
+ /* windres.c -- a program to manipulate Windows resources
+ Copyright 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2007, 2008,
+- 2009, 2011 Free Software Foundation, Inc.
++ 2009, 2011, 2012 Free Software Foundation, Inc.
+ Written by Ian Lance Taylor, Cygnus Support.
+ Rewritten by Kai Tietz, Onevision.
+
+@@ -45,7 +45,6 @@
+ #include "safe-ctype.h"
+ #include "obstack.h"
+ #include "windres.h"
+-#include <sys/stat.h>
+
+ /* Used by resrc.c at least. */
+
+diff -Naur binutils-2.22.orig/gas/testsuite/ChangeLog binutils-2.22/gas/testsuite/ChangeLog
+--- binutils-2.22.orig/gas/testsuite/ChangeLog 2011-11-21 10:29:32.000000000 +0100
++++ binutils-2.22/gas/testsuite/ChangeLog 2012-04-27 06:43:05.305940465 +0200
+@@ -8,6 +8,12 @@
+ * gas/mips/relax-swap3.s: New test source.
+ * gas/mips/mips.exp: Run the new tests.
+
++2011-10-24 Julian Brown <julian@codesourcery.com>
++
++ * gas/m68k/all.exp (movem-offset): Add test.
++ * gas/m68k/movem-offset.s: New test.
++ * gas/m68k/movem-offset.d: New.
++
+ 2011-10-25 Alan Modra <amodra@gmail.com>
+
+ Apply mainline patches
+diff -Naur binutils-2.22.orig/gas/testsuite/gas/m68k/all.exp binutils-2.22/gas/testsuite/gas/m68k/all.exp
+--- binutils-2.22.orig/gas/testsuite/gas/m68k/all.exp 2011-09-07 22:56:09.000000000 +0200
++++ binutils-2.22/gas/testsuite/gas/m68k/all.exp 2012-04-27 06:43:05.305940465 +0200
+@@ -52,6 +52,8 @@
+ run_dump_test mcf-movsr
+ run_dump_test mode5
+ run_dump_test mode5 "{name {cf}} {as {-mcpu=5200}}"
++ run_dump_test movem-offset
++ run_dump_test movem-offset "{name {cf}} {as {-mcpu=5485}}"
+ run_dump_test mcf-mac
+ run_dump_test mcf-emac
+ run_dump_test mcf-coproc
+diff -Naur binutils-2.22.orig/gas/testsuite/gas/m68k/movem-offset.d binutils-2.22/gas/testsuite/gas/m68k/movem-offset.d
+--- binutils-2.22.orig/gas/testsuite/gas/m68k/movem-offset.d 1970-01-01 01:00:00.000000000 +0100
++++ binutils-2.22/gas/testsuite/gas/m68k/movem-offset.d 2012-04-27 06:43:05.306940440 +0200
+@@ -0,0 +1,14 @@
++#name: movem-offset
++#objdump: -d
++#as:
++
++.*: file format .*
++
++Disassembly of section \.text:
++
++0+ <.text>:
++ 0: 4cee 047c ffe8 moveml %fp@\(-24\),%d2-%d6/%a2
++ 6: 48ee 047c 0010 moveml %d2-%d6/%a2,%fp@\(16\)
++ c: 4cee 03ff ffe8 moveml %fp@\(-24\),%d0-%a1
++ 12: 48ee 03ff 0010 moveml %d0-%a1,%fp@\(16\)
++ \.\.\.
+diff -Naur binutils-2.22.orig/gas/testsuite/gas/m68k/movem-offset.s binutils-2.22/gas/testsuite/gas/m68k/movem-offset.s
+--- binutils-2.22.orig/gas/testsuite/gas/m68k/movem-offset.s 1970-01-01 01:00:00.000000000 +0100
++++ binutils-2.22/gas/testsuite/gas/m68k/movem-offset.s 2012-04-27 06:43:05.306940440 +0200
+@@ -0,0 +1,8 @@
++
++ | Check that non-zero displacements work for movem.
++ .text
++ movem.l -24(%a6),#1148
++ movem.l #1148,16(%a6)
++ movem.l -24(%a6),%d0-%d7/%a0-%a1
++ movem.l %d0-%d7/%a0-%a1,16(%a6)
++ .p2align 4
+diff -Naur binutils-2.22.orig/opcodes/ChangeLog binutils-2.22/opcodes/ChangeLog
+--- binutils-2.22.orig/opcodes/ChangeLog 2011-11-21 10:29:39.000000000 +0100
++++ binutils-2.22/opcodes/ChangeLog 2012-04-27 06:43:05.306940440 +0200
+@@ -1,3 +1,7 @@
++2011-10-24 Julian Brown <julian@codesourcery.com>
++
++ * m68k-opc.c (m68k_opcodes): Fix entries for ColdFire moveml.
++
+ 2011-10-27 Peter Bergner <bergner@vnet.ibm.com>
+
+ * ppc-opc.c (powerpc_opcodes) <drrndq, drrndq., dtstexq, dctqpq,
+diff -Naur binutils-2.22.orig/opcodes/m68k-opc.c binutils-2.22/opcodes/m68k-opc.c
+--- binutils-2.22.orig/opcodes/m68k-opc.c 2011-09-07 22:56:09.000000000 +0200
++++ binutils-2.22/opcodes/m68k-opc.c 2012-04-27 06:43:05.307940418 +0200
+@@ -1553,10 +1553,10 @@
+ {"moveml", 4, one(0044300), one(0177700), "#w>s", m68000up },
+ {"moveml", 4, one(0046300), one(0177700), "<sLw", m68000up },
+ {"moveml", 4, one(0046300), one(0177700), "<s#w", m68000up },
+-{"moveml", 4, one(0044320), one(0177770), "Lwys", mcfisa_a },
+-{"moveml", 4, one(0044320), one(0177770), "#wys", mcfisa_a },
+-{"moveml", 4, one(0046320), one(0177770), "ysLw", mcfisa_a },
+-{"moveml", 4, one(0046320), one(0177770), "ys#w", mcfisa_a },
++{"moveml", 4, one(0044300), one(0177700), "Lwys", mcfisa_a },
++{"moveml", 4, one(0044300), one(0177700), "#wys", mcfisa_a },
++{"moveml", 4, one(0046300), one(0177700), "ysLw", mcfisa_a },
++{"moveml", 4, one(0046300), one(0177700), "ys#w", mcfisa_a },
+
+ {"movepw", 2, one(0000410), one(0170770), "dsDd", m68000up },
+ {"movepw", 2, one(0000610), one(0170770), "Ddds", m68000up },
diff --git a/rtems/patches/gcc-core-4.6.3-rtems4.11-20120303.diff b/rtems/patches/gcc-core-4.6.3-rtems4.11-20120303.diff
new file mode 100644
index 0000000..a6107b9
--- /dev/null
+++ b/rtems/patches/gcc-core-4.6.3-rtems4.11-20120303.diff
@@ -0,0 +1,575 @@
+diff -Naur gcc-4.6.3.orig/gcc/ChangeLog.rtems gcc-4.6.3/gcc/ChangeLog.rtems
+--- gcc-4.6.3.orig/gcc/ChangeLog.rtems 1970-01-01 01:00:00.000000000 +0100
++++ gcc-4.6.3/gcc/ChangeLog.rtems 2012-03-03 05:24:15.031387570 +0100
+@@ -0,0 +1,94 @@
++2012-01-10 Ralf Corsépius <ralf.corsepius@rtems.org>
++
++ * config/h8300/h8300.h: Apply DJ Delorie's patch from
++ http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48231#c1.
++
++2011-10-28 Ralf Corsépius <ralf.corsepius@rtems.org>
++
++ * config/avr/rtems.h: Remove __USE_INIT_FINI__.
++
++2011-09-05 Ralf Corsépius <ralf.corsepius@rtems.org>
++
++ * config/lm32/t-rtems: New.
++ * config.gcc (lm32-*-rtems*): Add t-rtems.
++
++2011-07-15 Peter Dufault <dufault@hda.com>,
++ Sebastian Huber <sebastian.huber@embedded-brains.de>
++
++ * config/rs6000/rtems.h (SUBSUBTARGET_OVERRIDE_OPTIONS):
++ Extend rs6000_spe handling.
++
++2011-06-20 Ralf Corsépius <ralf.corsepius@rtems.org>
++
++ * sparc/t-rtems: Reflect introduction of sparc/t-crtin.
++
++2011-05-20 Sebastian Huber <sebastian.huber@embedded-brains.de>
++
++ * config.gcc (arm*-*-rtemseabi*): New target.
++ * config/arm/rtems-eabi.h: New.
++ * config/arm/t-rtems-eabi: New.
++
++2011-03-23 Joel Sherrill <joel.sherrill@oarcorp.com>
++
++ * config.gcc (sparc-*-rtems*, sparc64-*-rtems*):
++ Add sparc/t-rtems, crti.o crtn.o.
++ * config/sparc/t-rtems: New.
++
++2011-03-22 Ralf Corsépius <ralf.corsepius@rtems.org>
++
++ * config.gcc (sparc64-rtems*): Remove sysv.h from tm_file.
++
++2011-02-20 Ralf Corsépius <ralf.corsepius@rtems.org>
++
++ * config/rs6000/t-rtems: Add -mcpu=8540/-mfloat-gprs=double multilib.
++
++2011-02-20 Ralf Corsépius <ralf.corsepius@rtems.org>
++
++ * config/rs6000/t-rtems: Remove -mcpu=601 multilib.
++ * config/rs6000/t-rtems: Remove -Dmpc8260 multilib.
++ * config/rs6000/rtems.h: Allow --float-gprs=... to override grps on
++ E500 targets.
++
++2010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
++
++ * config.gcc (sparc64-*-rtems*): New target.
++ * config/sparc/sp64-rtemself.h: New file.
++
++2010-04-19 Ralf Corsépius <ralf.corsepius@rtems.org>
++
++ * ginclude/stddef.h: Define _MACHINE_ANSI_H_ if _X86_64_ANSI_H_ is
++ defined (Used by amd64-*-netbsdelf5.*).
++
++2010-04-18 Ralf Corsépius <ralf.corsepius@rtems.org>
++
++ * ginclude/stddef.h: Define _MACHINE_ANSI_H_ if _I386_ANSI_H_ is
++ defined (Used by i386-*-netbsdelf5.*).
++
++2010-03-15 Ralf Corsépius <ralf.corsepius@rtems.org>
++
++ Patch from Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>:
++ * config/arm/rtems-elf.h, config/arm/t-rtems: Add optional support
++ for vfp FPU model
++
++2009-11-04 Ralf Corsépius <ralf.corsepius@rtems.org>
++
++ * config/m32c/rtems.h, config/m68k/rtemself.h,
++ config/m68k/rtemself.h, config/sh/rtemself.h,
++ config/sparc/rtemself.h: Undef WCHAR_TYPE_SIZE, WCHAR_TYPE.
++ (Resets WCHAR_TYPE's to defaults. Prevents broken GCC tm_files
++ to interfere and cause wchar_t/wint_t incompatibilities).
++
++2009-10-15 Ralf Corsépius <ralf.corsepius@rtems.org>
++
++ * config/avr/t-rtems: Don't build _exit.
++
++ Ralf Corsépius <ralf.corsepius@rtems.org>
++
++ * config/rs6000/rtems.h: Support for custom RTEMS multilibs.
++ Support TARGET_E500.
++ * config/rs6000/t-rtems: Custom RTEMS multilibs.
++
++ Ralf Corsépius <ralf.corsepius@rtems.org>
++
++ * config/mips/elf.h: Remove NO_IMPLICIT_EXTERN_C.
++
+diff -Naur gcc-4.6.3.orig/gcc/config/arm/rtems-eabi.h gcc-4.6.3/gcc/config/arm/rtems-eabi.h
+--- gcc-4.6.3.orig/gcc/config/arm/rtems-eabi.h 1970-01-01 01:00:00.000000000 +0100
++++ gcc-4.6.3/gcc/config/arm/rtems-eabi.h 2012-03-03 05:20:50.021229856 +0100
+@@ -0,0 +1,33 @@
++/* Definitions for RTEMS based ARM systems using EABI
++ Copyright (C) 2011 Free Software Foundation, Inc.
++
++ This file is part of GCC.
++
++ GCC is free software; you can redistribute it and/or modify it
++ under the terms of the GNU General Public License as published
++ by the Free Software Foundation; either version 3, or (at your
++ option) any later version.
++
++ GCC is distributed in the hope that it will be useful, but WITHOUT
++ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
++ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
++ License for more details.
++
++ You should have received a copy of the GNU General Public License
++ along with GCC; see the file COPYING3. If not see
++ <http://www.gnu.org/licenses/>. */
++
++/* Run-time Target Specification. */
++#undef TARGET_VERSION
++#define TARGET_VERSION fputs (" (ARM/EABI RTEMS)", stderr);
++
++#define HAS_INIT_SECTION
++
++#undef TARGET_OS_CPP_BUILTINS
++#define TARGET_OS_CPP_BUILTINS() \
++ do { \
++ builtin_define ("__rtems__"); \
++ builtin_define ("__USE_INIT_FINI__"); \
++ builtin_assert ("system=rtems"); \
++ TARGET_BPABI_CPP_BUILTINS(); \
++ } while (0)
+diff -Naur gcc-4.6.3.orig/gcc/config/arm/rtems-elf.h gcc-4.6.3/gcc/config/arm/rtems-elf.h
+--- gcc-4.6.3.orig/gcc/config/arm/rtems-elf.h 2009-03-25 13:54:16.000000000 +0100
++++ gcc-4.6.3/gcc/config/arm/rtems-elf.h 2012-03-03 05:20:35.110998213 +0100
+@@ -36,7 +36,7 @@
+ */
+ #undef SUBTARGET_EXTRA_ASM_SPEC
+ #define SUBTARGET_EXTRA_ASM_SPEC "\
+- %{!mhard-float: %{!msoft-float:-mfpu=softfpa}}"
++ %{!mhard-float: %{!mfpu=vfp: %{!msoft-float:-mfpu=softfpa}}}"
+
+ /*
+ * The default includes --start-group and --end-group which conflicts
+diff -Naur gcc-4.6.3.orig/gcc/config/arm/t-rtems gcc-4.6.3/gcc/config/arm/t-rtems
+--- gcc-4.6.3.orig/gcc/config/arm/t-rtems 2004-11-23 06:30:32.000000000 +0100
++++ gcc-4.6.3/gcc/config/arm/t-rtems 2012-03-03 05:20:35.110998213 +0100
+@@ -5,6 +5,41 @@
+ MULTILIB_EXCEPTIONS =
+ MULTILIB_MATCHES = marm=mno-thumb
+
+-MULTILIB_OPTIONS += msoft-float/mhard-float
+-MULTILIB_DIRNAMES += soft fpu
+-MULTILIB_EXCEPTIONS += *mthumb/*mhard-float*
++MULTILIB_OPTIONS += mhard-float/mfloat-abi=softfp
++MULTILIB_DIRNAMES += fpu softfp
++MULTILIB_EXCEPTIONS += *mthumb*/*mhard-float* *mthumb*/*mfloat-abi=softfp*
++MULTILIB_MATCHES =
++
++MULTILIB_OPTIONS += mfpu=vfp
++MULTILIB_DIRNAMES += vfp
++MULTILIB_EXCEPTIONS += *mhard-float*/*mfpu=vfp* *marm*/*mfloat-abi=softfp*/*mfpu=fpa*
++MULTILIB_EXCLUSIONS += !mthumb/mfloat-abi=softfp/!mfpu=vfp
++
++# default float model is fpa, so don't create a explicit copy of it
++MULTILIB_EXCEPTIONS += *marm*/*mfpa*
++
++# permutations of the options which are useful (+) or make no sense (-),
++# defaults are in brackets:
++# + (arm/soft/fpa)
++# + (arm/soft)/vfp
++# - (arm)/softfp(/fpa)
++# + (arm)/softfp/vfp
++# + (arm)/hard-float(/fpa)
++# - (arm)/hard-float/vfp
++# + thumb/(soft/fpa)
++# + thumb/(soft/)vfp
++# - thumb/softfp/fpa
++# - thumb/softfp/vfp
++# - thumb/hard-float/fpa
++# - thumb/hard-float/vfp
++
++# subdirs to be used for multilibs and their respective options:
++#/thumb/vfp -> thumb/soft/vfp
++#/thumb/fpa -> thumb/soft/fpa
++#/thumb -> thumb/soft/fpa
++#/vfp -> arm/soft/vfp
++#/softfp/vfp -> arm/softfp/cfp
++#/fpu/fpa -> arm/hard/fpa
++#/fpu -> arm/hard/fpa
++#/fpa -> arm/soft/fpa
++#. -> arm/soft/fpa
+diff -Naur gcc-4.6.3.orig/gcc/config/arm/t-rtems-eabi gcc-4.6.3/gcc/config/arm/t-rtems-eabi
+--- gcc-4.6.3.orig/gcc/config/arm/t-rtems-eabi 1970-01-01 01:00:00.000000000 +0100
++++ gcc-4.6.3/gcc/config/arm/t-rtems-eabi 2012-03-03 05:20:35.112998362 +0100
+@@ -0,0 +1,6 @@
++# Custom RTEMS EABI multilibs
++
++MULTILIB_OPTIONS = mthumb march=armv6-m/march=armv7/march=armv7-m
++MULTILIB_DIRNAMES = thumb armv6-m armv7 armv7-m
++MULTILIB_EXCEPTIONS = march=armv6-m march=armv7 march=armv7-m
++MULTILIB_MATCHES = marm=mno-thumb
+diff -Naur gcc-4.6.3.orig/gcc/config/avr/rtems.h gcc-4.6.3/gcc/config/avr/rtems.h
+--- gcc-4.6.3.orig/gcc/config/avr/rtems.h 2007-08-02 12:49:31.000000000 +0200
++++ gcc-4.6.3/gcc/config/avr/rtems.h 2012-03-03 05:20:35.112998362 +0100
+@@ -23,6 +23,5 @@
+ #define TARGET_OS_CPP_BUILTINS() \
+ do { \
+ builtin_define ("__rtems__"); \
+- builtin_define ("__USE_INIT_FINI__"); \
+ builtin_assert ("system=rtems"); \
+ } while (0)
+diff -Naur gcc-4.6.3.orig/gcc/config/avr/t-rtems gcc-4.6.3/gcc/config/avr/t-rtems
+--- gcc-4.6.3.orig/gcc/config/avr/t-rtems 2004-11-23 04:44:03.000000000 +0100
++++ gcc-4.6.3/gcc/config/avr/t-rtems 2012-03-03 05:20:35.112998362 +0100
+@@ -1,3 +1,4 @@
+ # Multilibs for avr RTEMS targets.
+
+-# ATM, this is just a stub
++# RTEMS uses _exit from newlib
++LIB1ASMFUNCS := $(filter-out _exit,$(LIB1ASMFUNCS))
+diff -Naur gcc-4.6.3.orig/gcc/config/h8300/h8300.h gcc-4.6.3/gcc/config/h8300/h8300.h
+--- gcc-4.6.3.orig/gcc/config/h8300/h8300.h 2010-11-25 00:37:33.000000000 +0100
++++ gcc-4.6.3/gcc/config/h8300/h8300.h 2012-03-03 05:20:17.752732636 +0100
+@@ -133,6 +133,7 @@
+ #define INCOMING_FRAME_SP_OFFSET (POINTER_SIZE / 8)
+
+ #define DWARF_CIE_DATA_ALIGNMENT 2
++#define DWARF2_ADDR_SIZE 4
+
+ /* Define this if addresses of constant functions
+ shouldn't be put through pseudo regs where they can be cse'd.
+diff -Naur gcc-4.6.3.orig/gcc/config/lm32/t-rtems gcc-4.6.3/gcc/config/lm32/t-rtems
+--- gcc-4.6.3.orig/gcc/config/lm32/t-rtems 1970-01-01 01:00:00.000000000 +0100
++++ gcc-4.6.3/gcc/config/lm32/t-rtems 2012-03-03 05:20:17.753732670 +0100
+@@ -0,0 +1,21 @@
++# for multilib
++MULTILIB_OPTIONS = mmultiply-enabled mbarrel-shift-enabled
++MULTILIB_OPTIONS += mdivide-enabled msign-extend-enabled
++
++MULTILIB_EXCEPTIONS =
++# MULTILIB_EXCEPTIONS += mmultiply-enabled/mbarrel-shift-enabled/mdivide-enabled/msign-extend-enabled
++MULTILIB_EXCEPTIONS += mmultiply-enabled/mbarrel-shift-enabled/mdivide-enabled
++MULTILIB_EXCEPTIONS += mmultiply-enabled/mbarrel-shift-enabled/msign-extend-enabled
++#MULTILIB_EXCEPTIONS += mmultiply-enabled/mbarrel-shift-enabled
++MULTILIB_EXCEPTIONS += mmultiply-enabled/mdivide-enabled/msign-extend-enabled
++MULTILIB_EXCEPTIONS += mmultiply-enabled/mdivide-enabled
++MULTILIB_EXCEPTIONS += mmultiply-enabled/msign-extend-enabled
++# MULTILIB_EXCEPTIONS += mmultiply-enabled
++MULTILIB_EXCEPTIONS += mbarrel-shift-enabled/mdivide-enabled/msign-extend-enabled
++MULTILIB_EXCEPTIONS += mbarrel-shift-enabled/mdivide-enabled
++MULTILIB_EXCEPTIONS += mbarrel-shift-enabled/msign-extend-enabled
++# MULTILIB_EXCEPTIONS += mbarrel-shift-enabled
++MULTILIB_EXCEPTIONS += mdivide-enabled/msign-extend-enabled
++MULTILIB_EXCEPTIONS += mdivide-enabled
++MULTILIB_EXCEPTIONS += msign-extend-enabled
++# MULTILIB_EXCEPTIONS +=
+diff -Naur gcc-4.6.3.orig/gcc/config/m32c/rtems.h gcc-4.6.3/gcc/config/m32c/rtems.h
+--- gcc-4.6.3.orig/gcc/config/m32c/rtems.h 2008-12-01 17:34:42.000000000 +0100
++++ gcc-4.6.3/gcc/config/m32c/rtems.h 2012-03-03 05:20:17.754732701 +0100
+@@ -29,5 +29,9 @@
+ } \
+ while (0)
+
+-/* Use the default */
++/* Use the defaults */
+ #undef LINK_GCC_C_SEQUENCE_SPEC
++
++#undef WCHAR_TYPE
++
++#undef WCHAR_TYPE_SIZE
+diff -Naur gcc-4.6.3.orig/gcc/config/m68k/rtemself.h gcc-4.6.3/gcc/config/m68k/rtemself.h
+--- gcc-4.6.3.orig/gcc/config/m68k/rtemself.h 2007-08-02 12:49:31.000000000 +0200
++++ gcc-4.6.3/gcc/config/m68k/rtemself.h 2012-03-03 05:20:17.754732701 +0100
+@@ -31,3 +31,8 @@
+ builtin_assert ("system=rtems"); \
+ } \
+ while (0)
++
++/* Use the defaults */
++#undef WCHAR_TYPE
++
++#undef WCHAR_TYPE_SIZE
+diff -Naur gcc-4.6.3.orig/gcc/config/mips/elf.h gcc-4.6.3/gcc/config/mips/elf.h
+--- gcc-4.6.3.orig/gcc/config/mips/elf.h 2010-11-21 01:54:14.000000000 +0100
++++ gcc-4.6.3/gcc/config/mips/elf.h 2012-03-03 05:20:02.669501121 +0100
+@@ -47,5 +47,3 @@
+
+ #undef ENDFILE_SPEC
+ #define ENDFILE_SPEC "crtend%O%s crtn%O%s"
+-
+-#define NO_IMPLICIT_EXTERN_C 1
+diff -Naur gcc-4.6.3.orig/gcc/config/rs6000/rtems.h gcc-4.6.3/gcc/config/rs6000/rtems.h
+--- gcc-4.6.3.orig/gcc/config/rs6000/rtems.h 2007-08-02 12:49:31.000000000 +0200
++++ gcc-4.6.3/gcc/config/rs6000/rtems.h 2012-03-03 05:20:02.669501121 +0100
+@@ -49,8 +49,27 @@
+ %{mcpu=604: %{!Dppc*: %{!Dmpc*: -Dmpc604} } } \
+ %{mcpu=750: %{!Dppc*: %{!Dmpc*: -Dmpc750} } } \
+ %{mcpu=821: %{!Dppc*: %{!Dmpc*: -Dmpc821} } } \
+-%{mcpu=860: %{!Dppc*: %{!Dmpc*: -Dmpc860} } }"
++%{mcpu=860: %{!Dppc*: %{!Dmpc*: -Dmpc860} } } \
++%{mcpu=8540: %{!Dppc*: %{!Dmpc*: -Dppc8540} } }"
+
+ #undef SUBSUBTARGET_EXTRA_SPECS
+ #define SUBSUBTARGET_EXTRA_SPECS \
+ { "cpp_os_rtems", CPP_OS_RTEMS_SPEC }
++
++#undef SUBSUBTARGET_OVERRIDE_OPTIONS
++#define SUBSUBTARGET_OVERRIDE_OPTIONS \
++ do { \
++ if (TARGET_E500) \
++ { \
++ if (TARGET_HARD_FLOAT && !rs6000_explicit_options.float_gprs) \
++ rs6000_float_gprs = 1; \
++ if (rs6000_float_gprs != 0 && !rs6000_explicit_options.spe) \
++ rs6000_spe = 1; \
++ if (rs6000_spe && !rs6000_explicit_options.spe_abi) \
++ rs6000_spe_abi = 1; \
++ } \
++ } while(0)
++
++#undef WCHAR_TYPE
++
++#undef WCHAR_TYPE_SIZE
+diff -Naur gcc-4.6.3.orig/gcc/config/rs6000/t-rtems gcc-4.6.3/gcc/config/rs6000/t-rtems
+--- gcc-4.6.3.orig/gcc/config/rs6000/t-rtems 2009-04-21 21:03:23.000000000 +0200
++++ gcc-4.6.3/gcc/config/rs6000/t-rtems 2012-03-03 05:20:02.670501093 +0100
+@@ -19,14 +19,12 @@
+ # <http://www.gnu.org/licenses/>.
+
+ MULTILIB_OPTIONS = \
+-mcpu=403/mcpu=505/mcpu=601/mcpu=603e/mcpu=604/mcpu=860/mcpu=7400 \
+-Dmpc8260 \
+-msoft-float
++mcpu=403/mcpu=505/mcpu=603e/mcpu=604/mcpu=860/mcpu=7400/mcpu=8540 \
++msoft-float/mfloat-gprs=double
+
+ MULTILIB_DIRNAMES = \
+-m403 m505 m601 m603e m604 m860 m7400 \
+-mpc8260 \
+-nof
++m403 m505 m603e m604 m860 m7400 m8540 \
++nof gprsdouble
+
+ # MULTILIB_MATCHES = ${MULTILIB_MATCHES_FLOAT}
+ MULTILIB_MATCHES =
+@@ -47,6 +45,13 @@
+ # Map 750 to .
+ MULTILIB_MATCHES += mcpu?750=
+
++# Map 8548 to 8540
++MULTILIB_MATCHES += mcpu?8540=mcpu?8548
++
++# Map -mcpu=8540 -mfloat-gprs=single to -mcpu=8540
++# (mfloat-gprs=single is implicit default)
++MULTILIB_MATCHES += mcpu?8540=mcpu?8540/mfloat-gprs?single
++
+ # Soft-float only, default implies msoft-float
+ # NOTE: Must match with MULTILIB_MATCHES_FLOAT and MULTILIB_MATCHES
+ MULTILIB_SOFTFLOAT_ONLY = \
+@@ -62,6 +67,16 @@
+ MULTILIB_HARDFLOAT_ONLY = \
+ *mcpu=505/*msoft-float*
+
++# Targets which do not support gprs
++MULTILIB_NOGPRS = \
++mfloat-gprs=* \
++*mcpu=403/*mfloat-gprs=* \
++*mcpu=505/*mfloat-gprs=* \
++*mcpu=603e/*mfloat-gprs=* \
++*mcpu=604/*mfloat-gprs=* \
++*mcpu=860/*mfloat-gprs=* \
++*mcpu=7400/*mfloat-gprs=*
++
+ MULTILIB_EXCEPTIONS =
+
+ # Disallow -Dppc and -Dmpc without other options
+@@ -69,14 +84,8 @@
+
+ MULTILIB_EXCEPTIONS += \
+ ${MULTILIB_SOFTFLOAT_ONLY} \
+-${MULTILIB_HARDFLOAT_ONLY}
++${MULTILIB_HARDFLOAT_ONLY} \
++${MULTILIB_NOGPRS}
+
+ # Special rules
+ # Take out all variants we don't want
+-MULTILIB_EXCEPTIONS += *mcpu=403/Dmpc*
+-MULTILIB_EXCEPTIONS += *mcpu=505/Dmpc*
+-MULTILIB_EXCEPTIONS += *mcpu=601/Dmpc*
+-MULTILIB_EXCEPTIONS += *mcpu=604/Dmpc*
+-MULTILIB_EXCEPTIONS += *mcpu=750/Dmpc*
+-MULTILIB_EXCEPTIONS += *mcpu=860/Dmpc*
+-MULTILIB_EXCEPTIONS += *mcpu=7400/Dmpc*
+diff -Naur gcc-4.6.3.orig/gcc/config/sh/rtemself.h gcc-4.6.3/gcc/config/sh/rtemself.h
+--- gcc-4.6.3.orig/gcc/config/sh/rtemself.h 2007-08-02 12:49:31.000000000 +0200
++++ gcc-4.6.3/gcc/config/sh/rtemself.h 2012-03-03 05:19:46.591252722 +0100
+@@ -24,3 +24,8 @@
+ builtin_define( "__rtems__" ); \
+ builtin_assert( "system=rtems" ); \
+ } while (0)
++
++/* Use the defaults */
++#undef WCHAR_TYPE
++
++#undef WCHAR_TYPE_SIZE
+diff -Naur gcc-4.6.3.orig/gcc/config/sparc/rtemself.h gcc-4.6.3/gcc/config/sparc/rtemself.h
+--- gcc-4.6.3.orig/gcc/config/sparc/rtemself.h 2007-08-02 12:49:31.000000000 +0200
++++ gcc-4.6.3/gcc/config/sparc/rtemself.h 2012-03-03 05:19:32.784040118 +0100
+@@ -29,5 +29,9 @@
+ } \
+ while (0)
+
+-/* Use the default */
++/* Use the defaults */
+ #undef LINK_GCC_C_SEQUENCE_SPEC
++
++#undef WCHAR_TYPE
++
++#undef WCHAR_TYPE_SIZE
+diff -Naur gcc-4.6.3.orig/gcc/config/sparc/sp64-rtemself.h gcc-4.6.3/gcc/config/sparc/sp64-rtemself.h
+--- gcc-4.6.3.orig/gcc/config/sparc/sp64-rtemself.h 1970-01-01 01:00:00.000000000 +0100
++++ gcc-4.6.3/gcc/config/sparc/sp64-rtemself.h 2012-03-03 05:19:32.784040118 +0100
+@@ -0,0 +1,37 @@
++/* Definitions for rtems targeting a SPARC64 using ELF.
++ Copyright (C) 2010 Free Software Foundation, Inc.
++ Contributed by Joel Sherrill (joel@OARcorp.com).
++
++This file is part of GCC.
++
++GCC is free software; you can redistribute it and/or modify
++it under the terms of the GNU General Public License as published by
++the Free Software Foundation; either version 3, or (at your option)
++any later version.
++
++GCC is distributed in the hope that it will be useful,
++but WITHOUT ANY WARRANTY; without even the implied warranty of
++MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
++GNU General Public License for more details.
++
++You should have received a copy of the GNU General Public License
++along with GCC; see the file COPYING3. If not see
++<http://www.gnu.org/licenses/>. */
++
++/* Target OS builtins. */
++#undef TARGET_OS_CPP_BUILTINS
++#define TARGET_OS_CPP_BUILTINS() \
++ do \
++ { \
++ builtin_define ("__rtems__"); \
++ builtin_define ("__USE_INIT_FINI__"); \
++ builtin_assert ("system=rtems"); \
++ } \
++ while (0)
++
++/* Use the default */
++#undef LINK_GCC_C_SEQUENCE_SPEC
++
++/* we are not svr4 */
++#undef CPP_SUBTARGET_SPEC
++#define CPP_SUBTARGET_SPEC ""
+diff -Naur gcc-4.6.3.orig/gcc/config/sparc/t-rtems gcc-4.6.3/gcc/config/sparc/t-rtems
+--- gcc-4.6.3.orig/gcc/config/sparc/t-rtems 1970-01-01 01:00:00.000000000 +0100
++++ gcc-4.6.3/gcc/config/sparc/t-rtems 2012-03-03 05:17:40.846315822 +0100
+@@ -0,0 +1,18 @@
++# Copyright (C) 2011 Free Software Foundation, Inc.
++#
++# This file is part of GCC.
++#
++# GCC is free software; you can redistribute it and/or modify
++# it under the terms of the GNU General Public License as published by
++# the Free Software Foundation; either version 3, or (at your option)
++# any later version.
++#
++# GCC is distributed in the hope that it will be useful,
++# but WITHOUT ANY WARRANTY; without even the implied warranty of
++# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
++# GNU General Public License for more details.
++#
++# You should have received a copy of the GNU General Public License
++# along with GCC; see the file COPYING3. If not see
++# <http://www.gnu.org/licenses/>.
++#
+diff -Naur gcc-4.6.3.orig/gcc/config.gcc gcc-4.6.3/gcc/config.gcc
+--- gcc-4.6.3.orig/gcc/config.gcc 2011-07-22 18:44:50.000000000 +0200
++++ gcc-4.6.3/gcc/config.gcc 2012-03-03 05:17:40.847315868 +0100
+@@ -895,6 +895,17 @@
+ tm_file="${tm_file} arm/aout.h arm/arm.h"
+ tmake_file="${tmake_file} arm/t-arm-softfp soft-fp/t-softfp"
+ ;;
++arm*-*-rtemseabi*)
++ need_64bit_hwint=yes
++ default_use_cxa_atexit=yes
++ tm_file="dbxelf.h elfos.h arm/unknown-elf.h arm/elf.h arm/bpabi.h"
++ tm_file="${tm_file} ../../libgcc/config/arm/bpabi-lib.h"
++ tm_file="${tm_file} rtems.h arm/rtems-eabi.h newlib-stdint.h"
++ tm_file="${tm_file} arm/aout.h arm/arm.h"
++ tmake_file="arm/t-arm arm/t-arm-elf"
++ tmake_file="${tmake_file} arm/t-bpabi t-rtems arm/t-rtems-eabi"
++ tmake_file="${tmake_file} arm/t-arm-softfp soft-fp/t-softfp"
++ ;;
+ arm*-*-rtems*)
+ tm_file="dbxelf.h elfos.h arm/unknown-elf.h arm/elf.h arm/aout.h arm/arm.h arm/rtems-elf.h rtems.h newlib-stdint.h"
+ tmake_file="arm/t-arm arm/t-arm-elf t-rtems arm/t-rtems"
+@@ -1666,6 +1677,7 @@
+ tm_file="dbxelf.h elfos.h ${tm_file} lm32/rtems.h rtems.h newlib-stdint.h"
+ tmake_file="${tmake_file} lm32/t-lm32 lm32/t-fprules-softfp soft-fp/t-softfp"
+ tmake_file="${tmake_file} t-rtems"
++ tmake_file="${tmake_file} lm32/t-rtems"
+ ;;
+ lm32-*-uclinux*)
+ tm_file="dbxelf.h elfos.h ${tm_file} gnu-user.h linux.h lm32/uclinux-elf.h"
+@@ -2540,8 +2552,8 @@
+ ;;
+ sparc-*-rtems*)
+ tm_file="${tm_file} dbxelf.h elfos.h sparc/sysv4.h sparc/sp-elf.h sparc/rtemself.h rtems.h newlib-stdint.h"
+- tmake_file="sparc/t-elf sparc/t-crtin sparc/t-crtfm t-rtems"
+- extra_parts="crtbegin.o crtend.o"
++ tmake_file="sparc/t-elf sparc/t-crtin sparc/t-crtfm sparc/t-rtems t-rtems"
++ extra_parts="crtbegin.o crtend.o crtbegin.o crtend.o"
+ ;;
+ sparc-*-linux*)
+ tm_file="${tm_file} dbxelf.h elfos.h sparc/sysv4.h gnu-user.h linux.h glibc-stdint.h"
+@@ -2634,8 +2646,8 @@
+ sparc64-*-rtems*)
+ tm_file="${tm_file} dbxelf.h elfos.h newlib-stdint.h sparc/sysv4.h sparc/sp64-elf.h sparc/rtemself.h rtems.h"
+ extra_options="${extra_options} sparc/little-endian.opt"
+- tmake_file="${tmake_file} sparc/t-crtin sparc/t-crtfm t-rtems"
+- extra_parts="crtbegin.o crtend.o"
++ tmake_file="${tmake_file} sparc/t-crtin sparc/t-crtfm sparc/t-rtems t-rtems"
++ extra_parts="crtbegin.o crtend.o crtbegin.o crtend.o"
+ ;;
+ sparc64-*-linux*)
+ tm_file="sparc/biarch64.h ${tm_file} dbxelf.h elfos.h sparc/sysv4.h gnu-user.h linux.h glibc-stdint.h sparc/linux64.h"
+diff -Naur gcc-4.6.3.orig/gcc/ginclude/stddef.h gcc-4.6.3/gcc/ginclude/stddef.h
+--- gcc-4.6.3.orig/gcc/ginclude/stddef.h 2011-01-29 23:15:52.000000000 +0100
++++ gcc-4.6.3/gcc/ginclude/stddef.h 2012-03-03 05:17:21.301015027 +0100
+@@ -53,7 +53,13 @@
+ one less case to deal with in the following. */
+ #if defined (__BSD_NET2__) || defined (____386BSD____) || (defined (__FreeBSD__) && (__FreeBSD__ < 5)) || defined(__NetBSD__)
+ #include <machine/ansi.h>
++#if !defined(_MACHINE_ANSI_H_)
++#if defined(_I386_ANSI_H_) || defined(_X86_64_ANSI_H_)
++#define _MACHINE_ANSI_H_
+ #endif
++#endif
++#endif
++
+ /* On FreeBSD 5, machine/ansi.h does not exist anymore... */
+ #if defined (__FreeBSD__) && (__FreeBSD__ >= 5)
+ #include <sys/_types.h>
+diff -Naur gcc-4.6.3.orig/libgcc/ChangeLog.rtems gcc-4.6.3/libgcc/ChangeLog.rtems
+--- gcc-4.6.3.orig/libgcc/ChangeLog.rtems 1970-01-01 01:00:00.000000000 +0100
++++ gcc-4.6.3/libgcc/ChangeLog.rtems 2012-03-03 05:17:01.297706638 +0100
+@@ -0,0 +1,5 @@
++2010-08-17 Ralf Corsépius <ralf.corsepius@rtems.org>
++
++ 1669/Tools, GCC-BZ 44793
++ * config.host (powerpc-*-rtems*): Add tmake_file.
++ Add extra_parts.
+diff -Naur gcc-4.6.3.orig/libgcc/config.host gcc-4.6.3/libgcc/config.host
+--- gcc-4.6.3.orig/libgcc/config.host 2011-11-23 23:15:54.000000000 +0100
++++ gcc-4.6.3/libgcc/config.host 2012-03-03 05:17:01.297706638 +0100
+@@ -474,6 +474,8 @@
+ tmake_file="${tmake_file} rs6000/t-ppccomm"
+ ;;
+ powerpc-*-rtems*)
++ tmake_file="${tmake_file} rs6000/t-ppccomm t-softfp"
++ extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o"
+ ;;
+ powerpc-*-linux* | powerpc64-*-linux*)
+ tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-ldbl128 t-softfp"
diff --git a/rtems/patches/gdb-7.5-rtems4.11-20121003.diff b/rtems/patches/gdb-7.5-rtems4.11-20121003.diff
new file mode 100644
index 0000000..fa7aa93
--- /dev/null
+++ b/rtems/patches/gdb-7.5-rtems4.11-20121003.diff
@@ -0,0 +1,833 @@
+diff -Naur gdb-7.5.orig/gdb/ChangeLog gdb-7.5/gdb/ChangeLog
+--- gdb-7.5.orig/gdb/ChangeLog 2012-08-17 19:21:44.000000000 +0200
++++ gdb-7.5/gdb/ChangeLog 2012-10-03 05:13:35.925579962 +0200
+@@ -1,3 +1,9 @@
++2012-08-21 Pierre Muller <muller@ics.u-strasbg.fr>
++
++ * symfile.c (allocate_symtab): Use host_address_to_string
++ function instead of cast of pointer to long which is not
++ compatible with x86_64-w64-mingw32 build.
++
+ 2012-08-17 Joel Brobecker <brobecker@adacore.com>
+
+ * version.in: Update GDB version number to 7.5.
+diff -Naur gdb-7.5.orig/gdb/symfile.c gdb-7.5/gdb/symfile.c
+--- gdb-7.5.orig/gdb/symfile.c 2012-06-26 22:14:02.000000000 +0200
++++ gdb-7.5/gdb/symfile.c 2012-10-03 05:13:35.926579978 +0200
+@@ -2889,8 +2889,8 @@
+ last_objfile_name);
+ }
+ fprintf_unfiltered (gdb_stdlog,
+- "Created symtab 0x%lx for module %s.\n",
+- (long) symtab, filename);
++ "Created symtab %s for module %s.\n",
++ host_address_to_string (symtab), filename);
+ }
+
+ return (symtab);
+diff -Naur gdb-7.5.orig/libiberty/ChangeLog gdb-7.5/libiberty/ChangeLog
+--- gdb-7.5.orig/libiberty/ChangeLog 2012-07-14 01:39:45.000000000 +0200
++++ gdb-7.5/libiberty/ChangeLog 2012-10-03 05:13:35.932580071 +0200
+@@ -1,3 +1,8 @@
++2012-07-31 Mike Frysinger <vapier@gentoo.org>
++
++ * md5.c (md5_finish_ctx): Declare swap_bytes. Assign SWAP() output
++ to swap_bytes, and then call memcpy to move it to ctx->buffer.
++
+ 2012-07-13 Doug Evans <dje@google.com>
+
+ * filename_cmp.c (filename_hash, filename_eq): New functions.
+diff -Naur gdb-7.5.orig/libiberty/md5.c gdb-7.5/libiberty/md5.c
+--- gdb-7.5.orig/libiberty/md5.c 2011-09-23 22:01:11.000000000 +0200
++++ gdb-7.5/libiberty/md5.c 2012-10-03 05:13:35.933580087 +0200
+@@ -103,6 +103,7 @@
+ {
+ /* Take yet unprocessed bytes into account. */
+ md5_uint32 bytes = ctx->buflen;
++ md5_uint32 swap_bytes;
+ size_t pad;
+
+ /* Now count remaining bytes. */
+@@ -113,10 +114,13 @@
+ pad = bytes >= 56 ? 64 + 56 - bytes : 56 - bytes;
+ memcpy (&ctx->buffer[bytes], fillbuf, pad);
+
+- /* Put the 64-bit file length in *bits* at the end of the buffer. */
+- *(md5_uint32 *) &ctx->buffer[bytes + pad] = SWAP (ctx->total[0] << 3);
+- *(md5_uint32 *) &ctx->buffer[bytes + pad + 4] = SWAP ((ctx->total[1] << 3) |
+- (ctx->total[0] >> 29));
++ /* Put the 64-bit file length in *bits* at the end of the buffer.
++ Use memcpy to avoid aliasing problems. On most systems, this
++ will be optimized away to the same code. */
++ swap_bytes = SWAP (ctx->total[0] << 3);
++ memcpy (&ctx->buffer[bytes + pad], &swap_bytes, sizeof (swap_bytes));
++ swap_bytes = SWAP ((ctx->total[1] << 3) | (ctx->total[0] >> 29));
++ memcpy (&ctx->buffer[bytes + pad + 4], &swap_bytes, sizeof (swap_bytes));
+
+ /* Process last bytes. */
+ md5_process_block (ctx->buffer, bytes + pad + 8, ctx);
+diff -Naur gdb-7.5.orig/sim/ChangeLog gdb-7.5/sim/ChangeLog
+--- gdb-7.5.orig/sim/ChangeLog 2012-06-15 19:19:56.000000000 +0200
++++ gdb-7.5/sim/ChangeLog 2012-10-03 05:13:35.934580102 +0200
+@@ -1,3 +1,8 @@
++2012-07-19 Ralf Corsépius <ralf.corsepius@rtems.org>
++
++ * common/sim-events.c: Include <inttypes.h>.
++ Avoid bogus pointer to int casts.
++
+ 2012-06-15 Joel Brobecker <brobecker@adacore.com>
+
+ * configure: Regenerate.
+diff -Naur gdb-7.5.orig/sim/common/sim-events.c gdb-7.5/sim/common/sim-events.c
+--- gdb-7.5.orig/sim/common/sim-events.c 2012-01-04 09:28:06.000000000 +0100
++++ gdb-7.5/sim/common/sim-events.c 2012-10-03 05:13:35.935580117 +0200
+@@ -38,6 +38,8 @@
+ #include <stdlib.h>
+ #endif
+
++#include <inttypes.h>
++
+ #include <signal.h> /* For SIGPROCMASK et al. */
+
+ typedef enum {
+@@ -418,14 +420,14 @@
+ event = event->next, i++)
+ {
+ ETRACE ((_ETRACE,
+- "event time-from-event - time %ld, delta %ld - event %d, tag 0x%lx, time %ld, handler 0x%lx, data 0x%lx%s%s\n",
+- (long)current_time,
+- (long)events->time_from_event,
++ "event time-from-event - time %" PRId64 ", delta %" PRId64 " - event %d, tag 0x%p, time %" PRId64 ", handler 0x%p, data 0x%p%s%s\n",
++ current_time,
++ events->time_from_event,
+ i,
+- (long)event,
+- (long)event->time_of_event,
+- (long)event->handler,
+- (long)event->data,
++ event,
++ event->time_of_event,
++ event->handler,
++ event->data,
+ (event->trace != NULL) ? ", " : "",
+ (event->trace != NULL) ? event->trace : ""));
+ }
+@@ -525,12 +527,12 @@
+ new_event->trace = NULL;
+ insert_sim_event (sd, new_event, delta_time);
+ ETRACE ((_ETRACE,
+- "event scheduled at %ld - tag 0x%lx - time %ld, handler 0x%lx, data 0x%lx%s%s\n",
++ "event scheduled at %ld - tag 0x%p - time %ld, handler 0x%p, data 0x%p%s%s\n",
+ (long)sim_events_time (sd),
+- (long)new_event,
++ new_event,
+ (long)new_event->time_of_event,
+- (long)new_event->handler,
+- (long)new_event->data,
++ new_event->handler,
++ new_event->data,
+ (new_event->trace != NULL) ? ", " : "",
+ (new_event->trace != NULL) ? new_event->trace : ""));
+ return new_event;
+@@ -577,12 +579,12 @@
+ #endif
+
+ ETRACE ((_ETRACE,
+- "signal scheduled at %ld - tag 0x%lx - time %ld, handler 0x%lx, data 0x%lx\n",
+- (long)sim_events_time (sd),
+- (long)new_event,
+- (long)new_event->time_of_event,
+- (long)new_event->handler,
+- (long)new_event->data));
++ "signal scheduled at %" PRId64 " - tag 0x%p - time %" PRId64 ", handler 0x%p, data 0x%p\n",
++ sim_events_time (sd),
++ new_event,
++ new_event->time_of_event,
++ new_event->handler,
++ new_event->data));
+ }
+ #endif
+
+@@ -613,12 +615,12 @@
+ events->watchpoints = new_event;
+ events->work_pending = 1;
+ ETRACE ((_ETRACE,
+- "event watching clock at %ld - tag 0x%lx - wallclock %ld, handler 0x%lx, data 0x%lx\n",
+- (long)sim_events_time (sd),
+- (long)new_event,
+- (long)new_event->wallclock,
+- (long)new_event->handler,
+- (long)new_event->data));
++ "event watching clock at %" PRId64 " - tag 0x%p - wallclock %d, handler 0x%p, data 0x%p\n",
++ sim_events_time (sd),
++ new_event,
++ new_event->wallclock,
++ new_event->handler,
++ new_event->data));
+ return new_event;
+ }
+ #endif
+@@ -689,14 +691,14 @@
+ events->watchpoints = new_event;
+ events->work_pending = 1;
+ ETRACE ((_ETRACE,
+- "event watching host at %ld - tag 0x%lx - host-addr 0x%lx, 0x%lx..0x%lx, handler 0x%lx, data 0x%lx\n",
+- (long)sim_events_time (sd),
+- (long)new_event,
+- (long)new_event->host_addr,
+- (long)new_event->lb,
+- (long)new_event->ub,
+- (long)new_event->handler,
+- (long)new_event->data));
++ "event watching host at %" PRId64 " - tag 0x%p - host-addr 0x%p, 0x%x..0x%x, handler 0x%p, data 0x%p\n",
++ sim_events_time (sd),
++ new_event,
++ new_event->host_addr,
++ new_event->lb,
++ new_event->ub,
++ new_event->handler,
++ new_event->data));
+ return new_event;
+ }
+ #endif
+@@ -769,14 +771,14 @@
+ events->watchpoints = new_event;
+ events->work_pending = 1;
+ ETRACE ((_ETRACE,
+- "event watching host at %ld - tag 0x%lx - host-addr 0x%lx, 0x%lx..0x%lx, handler 0x%lx, data 0x%lx\n",
+- (long)sim_events_time (sd),
+- (long)new_event,
+- (long)new_event->host_addr,
+- (long)new_event->lb,
+- (long)new_event->ub,
+- (long)new_event->handler,
+- (long)new_event->data));
++ "event watching host at %" PRId64 " - tag 0x%p - host-addr 0x%p, 0x%x..0x%x, handler 0x%p, data 0x%p\n",
++ sim_events_time (sd),
++ new_event,
++ new_event->host_addr,
++ new_event->lb,
++ new_event->ub,
++ new_event->handler,
++ new_event->data));
+ return new_event;
+ }
+ #endif
+@@ -803,12 +805,12 @@
+ sim_event *dead = *ptr_to_current;
+ *ptr_to_current = dead->next;
+ ETRACE ((_ETRACE,
+- "event/watch descheduled at %ld - tag 0x%lx - time %ld, handler 0x%lx, data 0x%lx%s%s\n",
+- (long) sim_events_time (sd),
+- (long) event_to_remove,
+- (long) dead->time_of_event,
+- (long) dead->handler,
+- (long) dead->data,
++ "event/watch descheduled at %" PRId64 " - tag 0x%p - time %" PRId64 ", handler 0x%p, data 0x%p%s%s\n",
++ sim_events_time (sd),
++ event_to_remove,
++ dead->time_of_event,
++ dead->handler,
++ dead->data,
+ (dead->trace != NULL) ? ", " : "",
+ (dead->trace != NULL) ? dead->trace : ""));
+ sim_events_free (sd, dead);
+@@ -819,9 +821,9 @@
+ }
+ }
+ ETRACE ((_ETRACE,
+- "event/watch descheduled at %ld - tag 0x%lx - not found\n",
+- (long) sim_events_time (sd),
+- (long) event_to_remove));
++ "event/watch descheduled at %" PRId64 " - tag 0x%p - not found\n",
++ sim_events_time (sd),
++ event_to_remove));
+ }
+ #endif
+
+@@ -1146,11 +1148,11 @@
+ sim_event_handler *handler = to_do->handler;
+ void *data = to_do->data;
+ ETRACE ((_ETRACE,
+- "event issued at %ld - tag 0x%lx - handler 0x%lx, data 0x%lx%s%s\n",
+- (long) event_time,
+- (long) to_do,
+- (long) handler,
+- (long) data,
++ "event issued at %" PRId64 " - tag 0x%p - handler 0x%p, data 0x%p%s%s\n",
++ event_time,
++ to_do,
++ handler,
++ data,
+ (to_do->trace != NULL) ? ", " : "",
+ (to_do->trace != NULL) ? to_do->trace : ""));
+ sim_events_free (sd, to_do);
+@@ -1174,11 +1176,11 @@
+ events->queue = to_do->next;
+ update_time_from_event (sd);
+ ETRACE ((_ETRACE,
+- "event issued at %ld - tag 0x%lx - handler 0x%lx, data 0x%lx%s%s\n",
+- (long) event_time,
+- (long) to_do,
+- (long) handler,
+- (long) data,
++ "event issued at %" PRId64 " - tag 0x%p - handler 0x%p, data 0x%p%s%s\n",
++ event_time,
++ to_do,
++ handler,
++ data,
+ (to_do->trace != NULL) ? ", " : "",
+ (to_do->trace != NULL) ? to_do->trace : ""));
+ sim_events_free (sd, to_do);
+diff -Naur gdb-7.5.orig/sim/erc32/ChangeLog gdb-7.5/sim/erc32/ChangeLog
+--- gdb-7.5.orig/sim/erc32/ChangeLog 2012-06-15 19:20:30.000000000 +0200
++++ gdb-7.5/sim/erc32/ChangeLog 2012-10-03 05:13:35.935580117 +0200
+@@ -1,3 +1,18 @@
++2012-08-16 Ralf Corsépius <ralf.corsepius@rtems.org>
++
++ * func.c, sis.c: Include <inttypes.h>.
++ Apply PRI* macros to print 64 bit types.
++ * sis.h: Include <stdint.h>.
++ Derive 64 bit types from POSIX 64 types.
++ Don't define UINT64_MAX if already defined.
++
++2012-07-20 Ralf Corsépius <ralf.corsepius@rtems.org>
++
++ * Makefile.in, configure.ac: Backport from rtems-4.11-gdb-7.4.1.
++ Use system-readline. Fix EXEEXT handling.
++ * erc32.c: Backport from rtems-4.11-gdb-7.4.1.
++ * configure: Regenerate.
++
+ 2012-06-15 Joel Brobecker <brobecker@adacore.com>
+
+ * sys.h: Include "config.h".
+diff -Naur gdb-7.5.orig/sim/erc32/configure gdb-7.5/sim/erc32/configure
+--- gdb-7.5.orig/sim/erc32/configure 2012-06-15 19:20:00.000000000 +0200
++++ gdb-7.5/sim/erc32/configure 2012-10-03 05:13:35.938580164 +0200
+@@ -591,8 +591,9 @@
+ ac_subst_vars='LTLIBOBJS
+ LIBOBJS
+ cgen_breaks
++READLINE_CFLAGS
++READLINE_DEPS
+ READLINE
+-TERMCAP
+ REPORT_BUGS_TEXI
+ REPORT_BUGS_TO
+ PKGVERSION
+@@ -723,6 +724,7 @@
+ enable_sim_profile
+ with_pkgversion
+ with_bugurl
++with_system_readline
+ '
+ ac_precious_vars='build_alias
+ host_alias
+@@ -1365,6 +1367,7 @@
+ --with-zlib include zlib support (auto/yes/no) default=auto
+ --with-pkgversion=PKG Use PKG in the version string in place of "GDB"
+ --with-bugurl=URL Direct users to URL to report a bug
++ --with-system-readline use installed readline library
+
+ Some influential environment variables:
+ CC C compiler command
+@@ -4811,42 +4814,19 @@
+ done
+
+
+-# In the Cygwin environment, we need some additional flags.
+-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cygwin" >&5
+-$as_echo_n "checking for cygwin... " >&6; }
+-if test "${sim_cv_os_cygwin+set}" = set; then :
+- $as_echo_n "(cached) " >&6
+-else
+- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+-/* end confdefs.h. */
+
+-#ifdef __CYGWIN__
+-lose
+-#endif
+-_ACEOF
+-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+- $EGREP "lose" >/dev/null 2>&1; then :
+- sim_cv_os_cygwin=yes
+-else
+- sim_cv_os_cygwin=no
++# Check whether --with-system-readline was given.
++if test "${with_system_readline+set}" = set; then :
++ withval=$with_system_readline;
+ fi
+-rm -f conftest*
+
+-fi
+-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_cv_os_cygwin" >&5
+-$as_echo "$sim_cv_os_cygwin" >&6; }
+
+-if test x$sim_cv_os_cygwin = xyes; then
+- TERMCAP='`if test -r ../../libtermcap/libtermcap.a; then echo ../../libtermcap/libtermcap.a; else echo -ltermcap; fi` -luser32'
+-else
+- # Keep in sync with gdb's configure.ac list.
+- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing tgetent" >&5
+-$as_echo_n "checking for library containing tgetent... " >&6; }
+-if test "${ac_cv_search_tgetent+set}" = set; then :
+- $as_echo_n "(cached) " >&6
+-else
+- ac_func_search_save_LIBS=$LIBS
+-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
++if test "$with_system_readline" = yes; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline" >&5
++$as_echo_n "checking for readline... " >&6; }
++ save_LIBS="$LIBS"
++ LIBS="-lreadline $save_LIBS"
++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ /* end confdefs.h. */
+
+ /* Override any GCC internal prototype to avoid an error.
+@@ -4855,65 +4835,20 @@
+ #ifdef __cplusplus
+ extern "C"
+ #endif
+-char tgetent ();
++char add_history ();
+ int
+ main ()
+ {
+-return tgetent ();
++return add_history ();
+ ;
+ return 0;
+ }
+ _ACEOF
+-for ac_lib in '' termcap tinfo curses ncurses; do
+- if test -z "$ac_lib"; then
+- ac_res="none required"
+- else
+- ac_res=-l$ac_lib
+- LIBS="-l$ac_lib $ac_func_search_save_LIBS"
+- fi
+- if ac_fn_c_try_link "$LINENO"; then :
+- ac_cv_search_tgetent=$ac_res
+-fi
+-rm -f core conftest.err conftest.$ac_objext \
+- conftest$ac_exeext
+- if test "${ac_cv_search_tgetent+set}" = set; then :
+- break
+-fi
+-done
+-if test "${ac_cv_search_tgetent+set}" = set; then :
+-
+-else
+- ac_cv_search_tgetent=no
+-fi
+-rm conftest.$ac_ext
+-LIBS=$ac_func_search_save_LIBS
+-fi
+-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_tgetent" >&5
+-$as_echo "$ac_cv_search_tgetent" >&6; }
+-ac_res=$ac_cv_search_tgetent
+-if test "$ac_res" != no; then :
+- test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
+- TERMCAP=$ac_cv_search_tgetent
+-else
+- TERMCAP=""
+-fi
+-
+-fi
+-
+-
+-# We prefer the in-tree readline. Top-level dependencies make sure
+-# src/readline (if it's there) is configured before src/sim.
+-if test -r ../../readline/Makefile; then
+- READLINE=../../readline/libreadline.a
+-else
+- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
+-$as_echo_n "checking for readline in -lreadline... " >&6; }
+-if test "${ac_cv_lib_readline_readline+set}" = set; then :
+- $as_echo_n "(cached) " >&6
++if ac_fn_c_try_link "$LINENO"; then :
++ READLINE=-lreadline
+ else
+- ac_check_lib_save_LIBS=$LIBS
+-LIBS="-lreadline $TERMCAP $LIBS"
+-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
++ LIBS="-lreadline -lncurses $save_LIBS"
++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ /* end confdefs.h. */
+
+ /* Override any GCC internal prototype to avoid an error.
+@@ -4922,33 +4857,39 @@
+ #ifdef __cplusplus
+ extern "C"
+ #endif
+-char readline ();
++char add_history ();
+ int
+ main ()
+ {
+-return readline ();
++return add_history ();
+ ;
+ return 0;
+ }
+ _ACEOF
+ if ac_fn_c_try_link "$LINENO"; then :
+- ac_cv_lib_readline_readline=yes
++ READLINE="-lreadline -lncurses"
+ else
+- ac_cv_lib_readline_readline=no
++ as_fn_error "unable to detect readline" "$LINENO" 5
+ fi
+ rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+-LIBS=$ac_check_lib_save_LIBS
++
+ fi
+-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5
+-$as_echo "$ac_cv_lib_readline_readline" >&6; }
+-if test "x$ac_cv_lib_readline_readline" = x""yes; then :
+- READLINE=-lreadline
+-else
+- as_fn_error "the required \"readline\" library is missing" "$LINENO" 5
++rm -f core conftest.err conftest.$ac_objext \
++ conftest$ac_exeext conftest.$ac_ext
++ LIBS="$save_LIBS"
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READLINE" >&5
++$as_echo "$READLINE" >&6; }
++ READLINE_DEPS=
++ READLINE_CFLAGS=
++else
++ READLINE='../../readline/libreadline.a -lncurses'
++ READLINE_DEPS='$(READLINE)'
++ READLINE_CFLAGS='-I$(READLINE_SRC)/..'
+ fi
+
+-fi
++
++
+
+
+ ac_sources="$sim_link_files"
+diff -Naur gdb-7.5.orig/sim/erc32/configure.ac gdb-7.5/sim/erc32/configure.ac
+--- gdb-7.5.orig/sim/erc32/configure.ac 2011-12-31 08:06:47.000000000 +0100
++++ gdb-7.5/sim/erc32/configure.ac 2012-10-03 05:13:35.938580164 +0200
+@@ -7,29 +7,32 @@
+
+ AC_CHECK_HEADERS(stdlib.h)
+
+-# In the Cygwin environment, we need some additional flags.
+-AC_CACHE_CHECK([for cygwin], sim_cv_os_cygwin,
+-[AC_EGREP_CPP(lose, [
+-#ifdef __CYGWIN__
+-lose
+-#endif],[sim_cv_os_cygwin=yes],[sim_cv_os_cygwin=no])])
++AC_ARG_WITH([system-readline],
++ [AS_HELP_STRING([--with-system-readline],
++ [use installed readline library])])
+
+-if test x$sim_cv_os_cygwin = xyes; then
+- TERMCAP='`if test -r ../../libtermcap/libtermcap.a; then echo ../../libtermcap/libtermcap.a; else echo -ltermcap; fi` -luser32'
++if test "$with_system_readline" = yes; then
++ AC_MSG_CHECKING([for readline])
++ save_LIBS="$LIBS"
++ LIBS="-lreadline $save_LIBS"
++ AC_LINK_IFELSE([AC_LANG_CALL([],
++ [add_history])], [READLINE=-lreadline],
++ [ LIBS="-lreadline -lncurses $save_LIBS"
++ AC_LINK_IFELSE([AC_LANG_CALL([],
++ [add_history])], [READLINE="-lreadline -lncurses"],
++ [AC_MSG_ERROR([unable to detect readline])])
++ ])
++ LIBS="$save_LIBS"
++ AC_MSG_RESULT($READLINE)
++ READLINE_DEPS=
++ READLINE_CFLAGS=
+ else
+- # Keep in sync with gdb's configure.ac list.
+- AC_SEARCH_LIBS(tgetent, [termcap tinfo curses ncurses],
+- [TERMCAP=$ac_cv_search_tgetent], [TERMCAP=""])
+-fi
+-AC_SUBST(TERMCAP)
+-
+-# We prefer the in-tree readline. Top-level dependencies make sure
+-# src/readline (if it's there) is configured before src/sim.
+-if test -r ../../readline/Makefile; then
+- READLINE=../../readline/libreadline.a
+-else
+- AC_CHECK_LIB(readline, readline, READLINE=-lreadline,
+- AC_ERROR([the required "readline" library is missing]), $TERMCAP)
++ READLINE='../../readline/libreadline.a -lncurses'
++ READLINE_DEPS='$(READLINE)'
++ READLINE_CFLAGS='-I$(READLINE_SRC)/..'
+ fi
+ AC_SUBST(READLINE)
++AC_SUBST(READLINE_DEPS)
++AC_SUBST(READLINE_CFLAGS)
++
+ SIM_AC_OUTPUT
+diff -Naur gdb-7.5.orig/sim/erc32/erc32.c gdb-7.5/sim/erc32/erc32.c
+--- gdb-7.5.orig/sim/erc32/erc32.c 2010-05-11 16:18:20.000000000 +0200
++++ gdb-7.5/sim/erc32/erc32.c 2012-10-03 05:13:35.939580180 +0200
+@@ -414,7 +414,7 @@
+ if (rom8) mec_memcfg &= ~0x20000;
+ else mec_memcfg |= 0x20000;
+
+- mem_ramsz = (256 * 1024) << ((mec_memcfg >> 10) & 7);
++ mem_ramsz = (512 * 1024) << ((mec_memcfg >> 10) & 7);
+ mem_romsz = (128 * 1024) << ((mec_memcfg >> 18) & 7);
+
+ if (sparclite_board) {
+diff -Naur gdb-7.5.orig/sim/erc32/func.c gdb-7.5/sim/erc32/func.c
+--- gdb-7.5.orig/sim/erc32/func.c 2010-05-11 16:18:20.000000000 +0200
++++ gdb-7.5/sim/erc32/func.c 2012-10-03 05:13:35.939580180 +0200
+@@ -25,6 +25,7 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <ctype.h>
++#include <inttypes.h>
+ #include "sis.h"
+ #include "end.h"
+ #include <dis-asm.h>
+@@ -640,8 +641,8 @@
+ sregs->nbranch;
+ #endif
+
+- printf("\n Cycles : %9d\n\r", ebase.simtime - sregs->simstart);
+- printf(" Instructions : %9d\n", sregs->ninst);
++ printf("\n Cycles : %9" PRId64 "\n\r", ebase.simtime - sregs->simstart);
++ printf(" Instructions : %9" PRId64 "\n", sregs->ninst);
+
+ #ifdef STAT
+ printf(" integer : %9.2f %%\n", 100.0 * (float) iinst / (float) sregs->ninst);
+@@ -671,8 +672,8 @@
+ printf(" Processor utilisation : %5.2f %%\n", 100.0 * (1.0 - ((float) sregs->pwdtime / (float) stime)));
+ printf(" Real-time / simulator-time : 1/%.2f \n",
+ ((float) sregs->tottime) / ((float) (stime) / (sregs->freq * 1.0E6)));
+- printf(" Simulator performance : %d KIPS\n",sregs->ninst/tottime/1000);
+- printf(" Used time (sys + user) : %3d s\n\n", sregs->tottime);
++ printf(" Simulator performance : %" PRId64 " KIPS\n",sregs->ninst/tottime/1000);
++ printf(" Used time (sys + user) : %3" PRId64 " s\n\n", sregs->tottime);
+ }
+
+
+diff -Naur gdb-7.5.orig/sim/erc32/Makefile.in gdb-7.5/sim/erc32/Makefile.in
+--- gdb-7.5.orig/sim/erc32/Makefile.in 2012-01-04 09:28:09.000000000 +0100
++++ gdb-7.5/sim/erc32/Makefile.in 2012-10-03 05:13:35.936580132 +0200
+@@ -19,12 +19,12 @@
+
+ ## COMMON_PRE_CONFIG_FRAG
+
+-TERMCAP_LIB = @TERMCAP@
++# TERMCAP_LIB = -lncurses
+ READLINE_LIB = @READLINE@
+
+ SIM_OBJS = exec.o erc32.o func.o help.o float.o interf.o
+ SIM_EXTRA_LIBS = $(READLINE_LIB) $(TERMCAP_LIB) -lm
+-SIM_EXTRA_ALL = sis
++SIM_EXTRA_ALL = sis$(EXEEXT)
+ SIM_EXTRA_INSTALL = install-sis
+ SIM_EXTRA_CLEAN = clean-sis
+
+@@ -38,8 +38,8 @@
+ # `sis' doesn't need interf.o.
+ SIS_OFILES = exec.o erc32.o func.o help.o float.o
+
+-sis: sis.o $(SIS_OFILES) $(COMMON_OBJS) $(LIBDEPS)
+- $(CC) $(ALL_CFLAGS) -o sis \
++sis$(EXEEXT): sis.o $(SIS_OFILES) $(COMMON_OBJS) $(LIBDEPS)
++ $(CC) $(ALL_CFLAGS) -o sis$(EXEEXT) \
+ sis.o $(SIS_OFILES) $(COMMON_OBJS) $(EXTRA_LIBS)
+
+ # FIXME: This computes the build host's endianness, doesn't it?
+@@ -52,11 +52,11 @@
+
+ # Copy the files into directories where they will be run.
+ install-sis: installdirs
+- n=`echo sis | sed '$(program_transform_name)'`; \
+- $(INSTALL_PROGRAM) sis$(EXEEXT) $(DESTDIR)$(bindir)/$$n$(EXEEXT)
++ n=`echo sis$(EXEEXT) | sed '$(program_transform_name)'`; \
++ $(INSTALL_PROGRAM) sis$(EXEEXT) $(DESTDIR)$(bindir)/$$n
+
+ clean-sis:
+- rm -f sis end end.h
++ rm -f sis$(EXEEXT) end end.h
+
+ configure:
+ @echo "Rebuilding configure..."
+diff -Naur gdb-7.5.orig/sim/erc32/sis.c gdb-7.5/sim/erc32/sis.c
+--- gdb-7.5.orig/sim/erc32/sis.c 2010-05-11 16:18:20.000000000 +0200
++++ gdb-7.5/sim/erc32/sis.c 2012-10-03 05:13:35.940580196 +0200
+@@ -28,6 +28,7 @@
+ #endif
+ #include <stdio.h>
+ #include <time.h>
++#include <inttypes.h>
+ #include <sys/fcntl.h>
+ #include "sis.h"
+ #include <dis-asm.h>
+@@ -124,7 +125,7 @@
+ sregs->histind = 0;
+ }
+ if (dis) {
+- printf(" %8u ", ebase.simtime);
++ printf(" %8" PRIu64, ebase.simtime);
+ dis_mem(sregs->pc, 1, &dinfo);
+ }
+ }
+@@ -279,7 +280,7 @@
+ case CTRL_C:
+ printf("\b\bInterrupt!\n");
+ case TIME_OUT:
+- printf(" Stopped at time %d (%.3f ms)\n", ebase.simtime,
++ printf(" Stopped at time %" PRId64 " (%.3f ms)\n", ebase.simtime,
+ ((double) ebase.simtime / (double) sregs.freq) / 1000.0);
+ break;
+ case BPT_HIT:
+@@ -289,7 +290,7 @@
+ case ERROR:
+ printf("IU in error mode (%d)\n", sregs.trap);
+ stat = 0;
+- printf(" %8d ", ebase.simtime);
++ printf(" %8" PRId64, ebase.simtime);
+ dis_mem(sregs.pc, 1, &dinfo);
+ break;
+ default:
+diff -Naur gdb-7.5.orig/sim/erc32/sis.h gdb-7.5/sim/erc32/sis.h
+--- gdb-7.5.orig/sim/erc32/sis.h 2012-06-15 19:20:30.000000000 +0200
++++ gdb-7.5/sim/erc32/sis.h 2012-10-03 05:13:35.940580196 +0200
+@@ -22,6 +22,8 @@
+
+ #include "config.h"
+ #include "ansidecl.h"
++#include <stdint.h>
++
+ #include "gdb/callback.h"
+ #include "gdb/remote-sim.h"
+
+@@ -53,10 +55,12 @@
+ typedef double float64; /* 64-bit float */
+
+ /* FIXME: what about host compilers that don't support 64-bit ints? */
+-typedef unsigned long long uint64; /* 64-bit unsigned int */
+-typedef long long int64; /* 64-bit signed int */
++typedef uint64_t uint64; /* 64-bit unsigned int */
++typedef int64_t int64; /* 64-bit signed int */
+
++#ifndef UINT64_MAX
+ #define UINT64_MAX 18446744073709551615ULL
++#endif
+
+ struct pstate {
+
+diff -Naur gdb-7.5.orig/sim/microblaze/ChangeLog gdb-7.5/sim/microblaze/ChangeLog
+--- gdb-7.5.orig/sim/microblaze/ChangeLog 2012-06-15 19:20:04.000000000 +0200
++++ gdb-7.5/sim/microblaze/ChangeLog 2012-10-03 05:13:35.940580196 +0200
+@@ -1,3 +1,17 @@
++2012-10-02 Ralf Corsépius <ralf.corsepius@rtems.org>
++
++ * interp.c: Define SIGBUS, SIGTRAP, SIGQUIT on mingw32.
++ Extend comment on _POSIX/__MINGW32__.
++
++2012-10-02 Ralf Corsépius <ralf.corsepius@rtems.org>
++
++ Backport from rtems-4.11-gdb-7.4:
++
++ 2012-04-29 Ralf Corsépius <ralf.corsepius@rtems.org>
++
++ * interp.c: Don't include <sys/times.h>, <netinet/in.h>.
++ Define _POSIX on mingw32.
++
+ 2012-06-15 Joel Brobecker <brobecker@adacore.com>
+
+ * config.in, configure: Regenerate.
+diff -Naur gdb-7.5.orig/sim/microblaze/interp.c gdb-7.5/sim/microblaze/interp.c
+--- gdb-7.5.orig/sim/microblaze/interp.c 2012-06-06 23:50:03.000000000 +0200
++++ gdb-7.5/sim/microblaze/interp.c 2012-10-03 05:13:35.941580211 +0200
+@@ -19,11 +19,29 @@
+ 02110-1301, USA. */
+
+ #include "config.h"
++
++#ifdef __MINGW32__
++/* mingw-w64 defines the SIG* defines if _POSIX is defined */
++#define _POSIX
++#endif
++
+ #include <signal.h>
++
++#ifdef __MINGW32__
++#ifndef SIGTRAP
++#define SIGTRAP 5
++#endif
++#ifndef SIGBUS
++#define SIGBUS 10
++#endif
++#ifndef SIGQUIT
++#define SIGQUIT 3
++#endif
++#endif
++
+ #include "sysdep.h"
+-#include <sys/times.h>
+ #include <sys/param.h>
+-#include <netinet/in.h> /* for byte ordering macros */
++
+ #include "bfd.h"
+ #include "gdb/callback.h"
+ #include "libiberty.h"
+diff -Naur gdb-7.5.orig/sim/ppc/ChangeLog gdb-7.5/sim/ppc/ChangeLog
+--- gdb-7.5.orig/sim/ppc/ChangeLog 2012-06-15 19:20:07.000000000 +0200
++++ gdb-7.5/sim/ppc/ChangeLog 2012-10-03 05:13:35.942580226 +0200
+@@ -1,3 +1,10 @@
++2012-09-28 Ralf Corsépius <ralf.corsepius@rtems.org>
++
++ Backport from gcc-7.4-rtems4.11:
++
++ * device.c, device.h: Use (void) device_error.
++ * hw_glue.c: Use %zd to print sizes.
++
+ 2012-06-15 Joel Brobecker <brobecker@adacore.com>
+
+ * configure: Regenerate.
+diff -Naur gdb-7.5.orig/sim/ppc/device.c gdb-7.5/sim/ppc/device.c
+--- gdb-7.5.orig/sim/ppc/device.c 2011-02-14 06:14:27.000000000 +0100
++++ gdb-7.5/sim/ppc/device.c 2012-10-03 05:13:35.943580241 +0200
+@@ -1816,7 +1816,7 @@
+ /* I/O */
+
+ EXTERN_DEVICE\
+-(void volatile)
++(void)
+ device_error(device *me,
+ const char *fmt,
+ ...)
+diff -Naur gdb-7.5.orig/sim/ppc/device.h gdb-7.5/sim/ppc/device.h
+--- gdb-7.5.orig/sim/ppc/device.h 2001-12-14 01:22:12.000000000 +0100
++++ gdb-7.5/sim/ppc/device.h 2012-10-03 05:13:35.944580256 +0200
+@@ -727,7 +727,7 @@
+ */
+
+ EXTERN_DEVICE\
+-(void volatile) device_error
++(void) device_error
+ (device *me,
+ const char *fmt,
+ ...) __attribute__ ((format (printf, 2, 3)));
+diff -Naur gdb-7.5.orig/sim/ppc/hw_glue.c gdb-7.5/sim/ppc/hw_glue.c
+--- gdb-7.5.orig/sim/ppc/hw_glue.c 1999-04-16 03:35:09.000000000 +0200
++++ gdb-7.5/sim/ppc/hw_glue.c 2012-10-03 05:13:35.944580256 +0200
+@@ -194,13 +194,13 @@
+ if (glue->sizeof_output == 0)
+ device_error(me, "at least one reg property size must be nonzero");
+ if (glue->sizeof_output % sizeof(unsigned_word) != 0)
+- device_error(me, "reg property size must be %d aligned", sizeof(unsigned_word));
++ device_error(me, "reg property size must be %zd aligned", sizeof(unsigned_word));
+ /* and the address */
+ device_address_to_attach_address(device_parent(me),
+ &unit.address, &glue->space, &glue->address,
+ me);
+ if (glue->address % (sizeof(unsigned_word) * max_nr_interrupts) != 0)
+- device_error(me, "reg property address must be %d aligned",
++ device_error(me, "reg property address must be %zd aligned",
+ sizeof(unsigned_word) * max_nr_interrupts);
+ glue->nr_outputs = glue->sizeof_output / sizeof(unsigned_word);
+ glue->output = zalloc(glue->sizeof_output);
diff --git a/rtems/patches/newlib-1.20.0-rtems4.11-20121011.diff b/rtems/patches/newlib-1.20.0-rtems4.11-20121011.diff
new file mode 100644
index 0000000..f88877f
--- /dev/null
+++ b/rtems/patches/newlib-1.20.0-rtems4.11-20121011.diff
@@ -0,0 +1,72159 @@
+diff -Naur newlib-1.20.0.orig/ChangeLog newlib-1.20.0/ChangeLog
+--- newlib-1.20.0.orig/ChangeLog 2011-12-18 11:20:51.000000000 +0100
++++ newlib-1.20.0/ChangeLog 2012-10-15 10:31:19.479618818 +0200
+@@ -1,3 +1,280 @@
++2012-09-28 Ian Lance Taylor <iant@google.com>
++
++ * Makefile.def: Make all-target-libgo depend on
++ all-target-libbacktrace.
++ * Makefile.in: Rebuild.
++
++2012-09-26 Ian Lance Taylor <iant@google.com>
++
++ * Makefile.def: Make all-gcc depend on all-libbacktrace.
++ * Makefile.in: Rebuild.
++
++2012-09-06 Diego Novillo <dnovillo@google.com>
++
++ * configure.ac: Bump minimum GMP version to 4.2.3.
++ * configure: Re-generate.
++
++2012-09-05 Georg-Johann Lay <avr@gjlay.de>
++
++ PR target/54461
++ * configure.ac (noconfigdirs,target=avr-*-*): Add target-newlib,
++ target-libgloss if not configured --with-avrlibc=no.
++ * configure: Regenerate.
++
++2012-09-04 Jason Merrill <jason@redhat.com>
++
++ * configure.ac: Fix --enable-languages=all.
++
++2012-09-03 Richard Guenther <rguenther@suse.de>
++
++ PR bootstrap/54138
++ * configure.ac: Re-organize ISL / CLOOG checks to allow
++ disabling with either --without-isl or --without-cloog.
++ * configure: Regenerated.
++
++2012-09-03 Georg-Johann Lay <avr@gjlay.de>
++
++ * configure.ac (noconfigdirs,target=avr): Add target-libquadmath.
++ * configure: Regenerate.
++
++2012-09-21 Steve Ellcey <sellcey@mips.com>
++
++ * configure.ac: Add mips*-mti-elf* target.
++ * configure: Regenerate.
++
++2012-09-19 Ian Lance Taylor <iant@google.com>
++
++ * configure.ac (host_libs): Add libbacktrace.
++ (target_libraries): Add libbacktrace.
++ * Makefile.def (host_modules): Add libbacktrace.
++ (target_modules): Likewise.
++ * configure, Makefile.in: Rebuild.
++
++2012-09-15 Jiong Wang <jiwang@tilera.com>
++
++ * configure.ac (ENABLE_GOLD): support tilegx*
++ * configure: rebuild
++
++2012-09-14 David Edelsohn <dje.gcc@gmail.com>
++
++ PR target/38607
++ Merge upstream change.
++ * libtool.m4 (_LT_COMPILER_PIC): Add -fPIC to GCC and GXX for AIX.
++
++ * configure.ac: Add target-libquadmath to noconfigdirs for AIX.
++ Add libgomp*.o to compare_exclusions for AIX.
++ * configure: Regenerate.
++
++2012-08-26 H.J. Lu <hongjiu.lu@intel.com>
++
++ PR binutils/4970
++ * Makefile.def (host_modules): Rmove lib_path=.libs from bfd
++ and opcodes.
++ * Makefile.in: Regenerated.
++
++2012-08-14 Diego Novillo <dnovillo@google.com>
++
++ Merge from cxx-conversion branch.
++
++ * Makefile.tpl (STAGE[+id+]_CXXFLAGS): Remove
++ POSTSTAGE1_CONFIGURE_FLAGS.
++ * Makefile.in: Regenerate.
++ * configure.ac (ENABLE_BUILD_WITH_CXX): Remove. Update all users.
++ Force C++ when bootstrapping.
++ * configure: Regenerate.
++
++2012-07-06 Richard Guenther <rguenther@suse.de>
++
++ * Makefile.def (cloog): Pass $(HOST_GMPINC) and $(HOST_ISLINC)
++ as CPPFLAGS, pass path to built gmp as LDFLAGS, always use
++ --with-gmp=system.
++ * Makefile.in: Regenerated.
++ * configure: Likewise.
++
++2012-07-06 Richard Guenther <rguenther@suse.de>
++
++ * configure.ac (extra_isl_gmp_configure_flags): Initialize and subst.
++ * Makefile.def (isl): Use extra_isl_gmp_configure_flags and
++ supply V=1 as extra_make_flags.
++ * configure: Regenerated.
++ * Makefile.in: Likewise.
++
++2012-07-03 Richard Guenther <rguenther@suse.de>
++
++ * Makfile.def (isl): Remove not necessary extra_exports and
++ extra_make_flags.
++ (cloog): Use $$CPPFLAGS instead of ${CPPFLAGS}.
++ * Makefile.in: Regenerated.
++
++2012-07-03 Richard Guenther <rguenther@suse.de>
++
++ * Makefile.def (cloog): Add V=1 to extra_make_flags.
++ * configure.ac: If either the ISL or the CLooG check failed
++ do not try to build in-tree versions.
++ * Makefile.in: Regenerated.
++ * configure: Regenerated.
++
++2012-07-02 Richard Guenther <rguenther@suse.de>
++ Michael Matz <matz@suse.de>
++ Tobias Grosser <tobias@grosser.es>
++ Sebastian Pop <sebpop@gmail.com>
++
++ * Makefile.def: Add ISL host module, remove PPL host module.
++ Adjust ClooG host module to use the proper ISL.
++ * Makefile.tpl: Pass ISL include flags instead of PPL ones.
++ * configure.ac: Include config/isl.m4. Add ISL host library,
++ remove PPL. Remove PPL configury, add ISL configury, adjust
++ ClooG configury.
++ * Makefile.in: Regenerated.
++ * configure: Likewise.
++
++2012-07-02 Richard Guenther <rguenther@suse.de>
++
++ Merge from graphite branch
++ 2011-07-21 Tobias Grosser <tobias@grosser.es>
++
++ * configure: Regenerated.
++ * config/cloog.m4: Remove support for CLooG-ppl and CLooG-parma,
++ both cloog.org and legacy versions. The only supported version will
++ be CLooG with the isl backend.
++
++ 2011-07-21 Tobias Grosser <tobias@grosser.es>
++
++ * configure: Regenerated.
++ * configure.ac: Require cloog isl 0.17.0
++
++ 2011-07-21 Tobias Grosser <tobias@grosser.es>
++
++ * configure: Regenerated.
++ * config/cloog.m4: Do not define CLOOG_ORG
++
++2012-06-29 Steven Bosscher <steven@gcc.gnu.org>
++
++ * configure.ac: Skip C if explicitly selected.
++ * configure: Regenerate.
++
++2012-06-28 Christophe Lyon <christophe.lyon@st.com>
++
++ * configure.ac (CFLAGS_FOR_TARGET, CXXFLAGS_FOR_TARGET): Make sure
++ they contain -O2.
++ * configure: Regenerate.
++
++2012-06-20 Jason Merrill <jason@redhat.com>
++
++ * Makefile.tpl (check-target-libgomp-c++): New.
++ (check-target-libitm-c++): New.
++ * Makefile.def (c++): Add them.
++ * Makefile.in: Regenerate.
++
++2012-05-16 Olivier Hainque <hainque@adacore.com>
++
++ * Makefile.tpl (gcc-no-fixedincludes): Rename into ...
++ (gcc-install-no-fixedincludes): Now forwarder to local target in gcc/
++ (install-no-fixedincludes): Adjust accordingly.
++ * Makefile.in: Regenerate.
++
++2012-05-09 Nick Clifton <nickc@redhat.com>
++ Paul Smith <psmith@gnu.org>
++
++ PR bootstrap/50461
++ * configure.ac (mpfr-dir): When using in-tree MPFR sources
++ allow for the fact that from release v3.1.0 of MPFR the source
++ files were moved into a src sub-directory.
++ * configure: Regenerate.
++
++2012-05-07 Janne Blomqvist <jb@gcc.gnu.org>
++
++ * configure.ac: Bump minimum MPFR version to 2.4.0.
++ * configure: Regenerated.
++
++2012-05-01 Richard Henderson <rth@redhat.com>
++
++ * Makefile.def (libatomic): New target_module.
++ * configure.ac (target_libraries): Add libatomic.
++ (noconfigdirs): Check if libatomic is supported.
++ * Makefile.in, configure: Rebuild.
++
++2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
++
++ Merge upstream change
++ * libtool.m4 (_LT_ENABLE_LOCK): Support x32.
++
++2011-11-21 Andreas Tobler <andreast@fgznet.ch>
++
++ * libtool.m4: Additional FreeBSD 10 fixes.
++
++2012-06-28 Christophe Lyon <christophe.lyon@st.com>
++
++ * configure.ac (CFLAGS_FOR_TARGET, CXXFLAGS_FOR_TARGET): Make sure
++ they contain -O2.
++ * configure: Regenerate.
++
++2012-05-14 Catherine Moore <clm@codesourcery.com>
++
++ * NEWS: Mention PowerPC VLE port.
++
++2012-05-11 Mike Frysinger <vapier@gentoo.org>
++
++ * MAINTAINERS (config/): Move to intl/ section.
++ (compile; depcomp; install-sh; missing; ylwrap): Likewise.
++
++2012-05-09 Nick Clifton <nickc@redhat.com>
++ Paul Smith <psmith@gnu.org>
++
++ PR bootstrap/50461
++ * configure.ac (mpfr-dir): When using in-tree MPFR sources
++ allow for the fact that from release v3.1.0 of MPFR the source
++ files were moved into a src sub-directory.
++ * configure: Regenerate.
++
++2012-05-02 Roland McGrath <mcgrathr@google.com>
++
++ * configure.ac (ENABLE_GOLD): Consider *-*-nacl* targets ELF.
++ * configure: Regenerate.
++
++2012-04-25 Joel Brobecker <brobecker@adacore.com>
++
++ * config.sub: Update to 2012-04-18 version from official repo.
++
++2012-03-19 Tristan Gingold <gingold@adacore.com>
++
++ * configure.ac (ia64*-*-*vms*): Add support for ld.
++ * configure: Regenerate.
++
++2012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
++
++ * configure.ac (enable_libgomp): Remove *-*-irix6*.
++ (unsupported_languages): Remove mips-sgi-irix6.*.
++ (noconfigdirs): Don't add ${libgcj} for mips*-*-irix6*.
++ (with_stabs): Remove.
++ * configure: Regenerate.
++
++2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
++
++ * configure.ac (enable_libgomp): Remove *-*-osf*.
++ (with_stabs): Remove alpha*-*-osf*.
++ * configure: Regenerate.
++
++2012-03-09 Jeff Johnston <jjohnstn@redhat.com>
++
++ * COPYING.NEWLIB: Modify DJ Delorie license to include
++ modification rights in clause as permitted by DJ Delorie.
++ * COPYING.LIBGLOSS: Ditto.
++
++2012-03-09 Jeff Johnston <jjohnstn@redhat.com>
++
++ * COPYING.NEWLIB: Remove two unused licenses.
++
++2012-03-05 Tristan Gingold <gingold@adacore.com>
++
++ * configure.ac: Enable gdb and readline for ia64*-*-*vms*.
++ * configure: Regenerate.
++
++2012-02-21 Joern Rennecke <joern.rennecke@embecosm.com>
++
++ * COPYING.NEWLIB: Add Adapteva notice.
++ * COPYING.LIBGLOSS: Add Adapteva notice.
++
+ 2011-12-18 Eric Botcazou <ebotcazou@adacore.com>
+
+ * configure: Regenerate.
+@@ -54,7 +331,7 @@
+ 2011-09-09 Linas Vepstas <linasvepstas@gmail.com>
+ Ben Elliston <bje@gnu.org>
+
+- * config.sub (hexagon, hexagon-*): New.
++ * config.sub (hexagon, hexagon-*): New.
+
+ 2011-08-23 Roland McGrath <mcgrathr@google.com>
+
+@@ -543,11 +820,11 @@
+
+ * config.guess: Update to version 2011-02-02
+ * config.sub: Update to version 2011-02-24
+-
++
+ 2011-03-03 Sebastian Pop <sebastian.pop@amd.com>
+
+- * configure.ac: Adjust test of with_ppl.
+- * configure: Regenerated.
++ * configure.ac: Adjust test of with_ppl.
++ * configure: Regenerated.
+
+ 2011-03-02 Sebastian Pop <sebastian.pop@amd.com>
+
+@@ -1154,11 +1431,11 @@
+ * lt~obsolete.m4: Likewise.
+
+ 2010-01-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+- Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
++ Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
+
+ PR bootstrap/42424
+ * configure.ac: Include libtool m4 files.
+- (_LT_CHECK_OBJDIR): Call it.
++ (_LT_CHECK_OBJDIR): Call it.
+ (extra_mpc_mpfr_configure_flags, extra_mpc_gmp_configure_flags,
+ gmplibs, ppllibs, clooglibs): Use $lt_cv_objdir.
+
+@@ -1571,8 +1848,8 @@
+ 2009-06-03 Jerome Guitton <guitton@adacore.com>
+ Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+- * Makefile.tpl (all): Avoid a trailing backslash.
+- * Makefile.in: Regenerate.
++ * Makefile.tpl (all): Avoid a trailing backslash.
++ * Makefile.in: Regenerate.
+
+ 2009-06-03 Ben Elliston <bje@au.ibm.com>
+
+@@ -3735,7 +4012,7 @@
+ non-ported target libraries in noconfigdirs.
+ <cris-*, crisv32-*> Ditto, except for non-aout, non-elf,
+ non-linux-gnu. Remove libgcj_ex_libffi.
+- <lang_frag loop>: Set add_this_lang=no if the language is in
++ <lang_frag loop>: Set add_this_lang=no if the language is in
+ unsupported_languages.
+ * configure: Regenerate.
+
+@@ -5056,8 +5333,8 @@
+
+ 2003-12-21 Bernardo Innocenti <bernie@develer.com>
+
+- * configure.in (*-*-uclinux): Exclude newlib, libgloss and rda.
+- * configure: Regenerated.
++ * configure.in (*-*-uclinux): Exclude newlib, libgloss and rda.
++ * configure: Regenerated.
+
+ 2003-12-19 Nathanael Nerode <neroden@gcc.gnu.org>
+
+@@ -13146,8 +13423,8 @@
+
+ Sun May 9 17:47:57 1993 Rob Savoye (rob at darkstar.cygnus.com)
+
+- * Makefile.in: Use srcroot to find runtest rather than rootme.
+- Pass RUNTESTFLAGS and EXPECT down in BASE_FLAGS_TO_PASS.
++ * Makefile.in: Use srcroot to find runtest rather than rootme.
++ Pass RUNTESTFLAGS and EXPECT down in BASE_FLAGS_TO_PASS.
+
+ Fri May 7 14:55:59 1993 Ian Lance Taylor (ian@cygnus.com)
+
+diff -Naur newlib-1.20.0.orig/config/asmcfi.m4 newlib-1.20.0/config/asmcfi.m4
+--- newlib-1.20.0.orig/config/asmcfi.m4 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/config/asmcfi.m4 2012-10-15 10:31:19.505619237 +0200
+@@ -0,0 +1,15 @@
++;; Cribbed from libffi
++
++AC_DEFUN([GCC_AS_CFI_PSEUDO_OP],
++[AC_CACHE_CHECK([assembler .cfi pseudo-op support],
++ gcc_cv_as_cfi_pseudo_op, [
++ gcc_cv_as_cfi_pseudo_op=unknown
++ AC_TRY_COMPILE([asm (".cfi_startproc\n\t.cfi_endproc");],,
++ [gcc_cv_as_cfi_pseudo_op=yes],
++ [gcc_cv_as_cfi_pseudo_op=no])
++ ])
++ if test "x$gcc_cv_as_cfi_pseudo_op" = xyes; then
++ AC_DEFINE(HAVE_AS_CFI_PSEUDO_OP, 1,
++ [Define if your assembler supports .cfi_* directives.])
++ fi
++])
+diff -Naur newlib-1.20.0.orig/config/ChangeLog newlib-1.20.0/config/ChangeLog
+--- newlib-1.20.0.orig/config/ChangeLog 2011-12-19 14:20:23.000000000 +0100
++++ newlib-1.20.0/config/ChangeLog 2012-10-15 10:31:19.505619237 +0200
+@@ -1,5 +1,90 @@
++2012-09-19 Steve Ellcey <sellcey@mips.com>
++
++ * mt-sde: Change -mcode-xonly to -mcode-readable=pcrel.
++
++2012-09-03 Richard Guenther <rguenther@suse.de>
++
++ PR bootstrap/54138
++ * config/cloog.m4: Adjust for toplevel reorg.
++ * config/isl.m4: Adjust.
++
++2012-08-26 Art Haas <ahaas@impactweather.com>
++
++ * cloog.m4 (CLOOG_INIT_FLAGS): Use = instead of == in test.
++
++2012-07-04 Tristan Gingold <gingold@adacore.com>
++
++ * isl.m4 (ISL_CHECK_VERSION): Set to yes if cross-compiling.
++ Fix comments.
++
++2012-07-03 Richard Guenther <rguenther@suse.de>
++
++ * cloog.m4: Remove debugging print.
++
++2012-07-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
++
++ * isl.m4 (ISL_CHECK_VERSION): Add -lisl to LIBS, not LDFLAGS.
++
++2012-07-02 Richard Guenther <rguenther@suse.de>
++
++ * isl.m4 (_ISL_CHECK_CT_PROG): Omit main function header/footer.
++ Fix version test.
++
++2012-07-02 Richard Guenther <rguenther@suse.de>
++ Michael Matz <matz@suse.de>
++ Tobias Grosser <tobias@grosser.es>
++ Sebastian Pop <sebpop@gmail.com>
++
++ * cloog.m4: Set up to work against ISL only.
++ * isl.m4: New file.
++
++2012-05-29 Joseph Myers <joseph@codesourcery.com>
++
++ * mt-sde: Fix typos.
++ * stdint.m4: Fix typos.
++ * tcl.m4: Fix typos.
++
++2012-05-03 Olivier Hainque <hainque@adacore.com>
++
++ * mh-ppc-aix (LDFLAGS): Quote $(CC).
++
++2012-04-03 Tristan Gingold <gingold@adacore.com>
++
++ * mmap.m4: Use *vms* instead of vms*.
++
++2012-04-02 Tristan Gingold <gingold@adacore.com>
++
++ * math.m4 (GCC_CHECK_MATH_FUNC): Remove if-present
++ argument. Define the variable.
++
++2012-03-26 Tristan Gingold <gingold@adacore.com>
++
++ * math.m4: New file.
++
++2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
++
++ * weakref.m4 (GCC_CHECK_ELF_STYLE_WEAKREF): Remove
++ alpha*-dec-osf*.
++
++2012-01-22 Douglas B Rupp <rupp@gnat.com>
++
++ * config/mh-interix: Remove as unneeded.
++ * config/picflag.m4 (i[[34567]]86-*-interix3*):
++ Change triplet to i[[34567]]86-*-interix[[3-9]]*.
++
++2012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
++
++ PR bootstrap/51734
++ * picflag.m4: Remove s390 case statement.
++
++2011-12-20 Andreas Schwab <schwab@linux-m68k.org>
++
++ * warnings.m4 (ACX_PROG_CC_WARNING_OPTS): Avoid leading dash in
++ expr call.
++
+ 2011-12-19 Andreas Schwab <schwab@linux-m68k.org>
+
++ PR bootstrap/51388
+ * warnings.m4 (ACX_PROG_CC_WARNING_OPTS)
+ (ACX_PROG_CC_WARNING_ALMOST_PEDANTIC): Run the test without the
+ no- prefix.
+@@ -8,6 +93,14 @@
+
+ * acx.m4 (Test for GNAT): Update comment and add quotes in final test.
+
++2011-11-22 Iain Sandoe <iains@gcc.gnu.org>
++
++ * weakref.m4: New file.
++
++2011-11-09 Richard Henderson <rth@redhat.com>
++
++ * asmcfi.m4: New file.
++
+ 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ * mh-interix (LIBGCC2_DEBUG_CFLAGS): Remove.
+@@ -20,6 +113,15 @@
+
+ * elf.m4 (target_elf): Remove *-netware*.
+
++2011-07-06 Uros Bizjak <ubizjak@gmail.com>
++
++ * mt-alphaieee (GOCFLAGS_FOR_TARGET): Add -mieee.
++
++2011-06-15 Mike Stump <mikestump@comcast.net>
++
++ PR target/49461
++ * mh-darwin: Turn off -pie on darwin11 and later.
++
+ 2011-04-20 Eric Botcazou <ebotcazou@adacore.com>
+
+ * bootstrap-lto.mk: Remove obsolete requirement.
+diff -Naur newlib-1.20.0.orig/config/cloog.m4 newlib-1.20.0/config/cloog.m4
+--- newlib-1.20.0.orig/config/cloog.m4 2011-03-02 04:49:38.000000000 +0100
++++ newlib-1.20.0/config/cloog.m4 2012-10-15 10:31:19.505619237 +0200
+@@ -22,12 +22,6 @@
+ # Initialize clooglibs/clooginc according to the user input.
+ AC_DEFUN([CLOOG_INIT_FLAGS],
+ [
+- AC_ARG_WITH(cloog,
+- [AS_HELP_STRING(
+- [--with-cloog=PATH],
+- [Specify prefix directory for the installed CLooG-PPL package.
+- Equivalent to --with-cloog-include=PATH/include
+- plus --with-cloog-lib=PATH/lib])])
+ AC_ARG_WITH([cloog-include],
+ [AS_HELP_STRING(
+ [--with-cloog-include=PATH],
+@@ -37,17 +31,6 @@
+ [--with-cloog-lib=PATH],
+ [Specify the directory for the installed CLooG library])])
+
+- AC_ARG_ENABLE(cloog-backend,
+- [AS_HELP_STRING(
+- [--enable-cloog-backend[[=BACKEND]]],
+- [set the CLooG BACKEND used to either isl, ppl or ppl-legacy (default)])],
+- [ if test "x${enableval}" = "xisl"; then
+- cloog_backend=isl
+- elif test "x${enableval}" = "xppl"; then
+- cloog_backend=ppl
+- else
+- cloog_backend=ppl-legacy
+- fi], cloog_backend=ppl-legacy)
+ AC_ARG_ENABLE(cloog-version-check,
+ [AS_HELP_STRING(
+ [--disable-cloog-version-check],
+@@ -74,10 +57,16 @@
+ if test "x${with_cloog_lib}" != x; then
+ clooglibs="-L$with_cloog_lib"
+ fi
++ dnl If no --with-cloog flag was specified and there is in-tree ClooG
++ dnl source, set up flags to use that.
++ if test "x${clooginc}" = x && test "x${clooglibs}" = x \
++ && test -d ${srcdir}/cloog; then
++ clooglibs='-L$$r/$(HOST_SUBDIR)/cloog/'"$lt_cv_objdir"' '
++ clooginc='-I$$r/$(HOST_SUBDIR)/cloog/include -I$$s/cloog/include -I'${srcdir}'/cloog/include '
++ fi
+
+- dnl Flags needed for CLOOG
+- AC_SUBST(clooglibs)
+- AC_SUBST(clooginc)
++ clooginc="-DCLOOG_INT_GMP ${clooginc}"
++ clooglibs="${clooglibs} -lcloog-isl ${isllibs} -lisl"
+ ]
+ )
+
+@@ -100,163 +89,37 @@
+ ]
+ )
+
+-# _CLOOG_ORG_PROG_ISL ()
+-# ------------------
+-# Helper for detecting CLooG.org's ISL backend.
+-m4_define([_CLOOG_ORG_PROG_ISL],[AC_LANG_PROGRAM(
+- [#include "cloog/cloog.h" ],
+- [cloog_version ()])])
+-
+-# _CLOOG_ORG_PROG_PPL ()
+-# ------------------
+-# Helper for detecting CLooG.org's PPL backend.
+-m4_define([_CLOOG_ORG_PROG_PPL],[AC_LANG_PROGRAM(
+- [#include "cloog/cloog.h"
+- #include "cloog/ppl/cloog.h"],
+- [cloog_version ()])])
+-
+-# _CLOOG_PPL_LEGACY_PROG ()
+-# -------------------------
+-# Helper for detecting CLooG-Legacy (CLooG-PPL).
+-m4_define([_CLOOG_PPL_LEGACY_PROG], [AC_LANG_PROGRAM(
+- [#include "cloog/cloog.h"],
+- [#ifndef CLOOG_PPL_BACKEND
+- choke me
+- #endif ])])
+-
+-# CLOOG_FIND_FLAGS ()
+-# ------------------
+-# Detect the used CLooG-backend and set clooginc/clooglibs/cloog_org.
+-# Only look for the CLooG backend type specified in --enable-cloog-backend
+-AC_DEFUN([CLOOG_FIND_FLAGS],
+-[
+- AC_REQUIRE([CLOOG_INIT_FLAGS])
+-
+- _cloog_saved_CFLAGS=$CFLAGS
+- _cloog_saved_CPPFLAGS=$CPPFLAGS
+- _cloog_saved_LDFLAGS=$LDFLAGS
+- _cloog_saved_LIBS=$LIBS
+-
+- _cloogorginc="-DCLOOG_INT_GMP -DCLOOG_ORG"
+-
+- dnl clooglibs & clooginc may have been initialized by CLOOG_INIT_FLAGS.
+- CFLAGS="${CFLAGS} ${clooginc} ${gmpinc}"
+- CPPFLAGS="${CPPFLAGS} ${_cloogorginc}"
+- LDFLAGS="${LDFLAGS} ${clooglibs}"
+-
+- case $cloog_backend in
+- "ppl-legacy")
+- CFLAGS="${CFLAGS} ${pplinc}"
+- LDFLAGS="${LDFLAGS} ${ppllibs}"
+- AC_CACHE_CHECK([for installed CLooG PPL Legacy], [gcc_cv_cloog_type],
+- [LIBS="-lcloog ${_cloog_saved_LIBS}"
+- AC_LINK_IFELSE([_CLOOG_PPL_LEGACY_PROG], [gcc_cv_cloog_type="PPL Legacy"],
+- [gcc_cv_cloog_type=no])])
+- ;;
+- "isl")
+- AC_CACHE_CHECK([for installed CLooG ISL], [gcc_cv_cloog_type],
+- [LIBS="-lcloog-isl ${_cloog_saved_LIBS}"
+- AC_LINK_IFELSE([_CLOOG_ORG_PROG_ISL], [gcc_cv_cloog_type="ISL"],
+- [gcc_cv_cloog_type=no])])
+- ;;
+- "ppl")
+- CFLAGS="${CFLAGS} ${pplinc}"
+- LDFLAGS="${LDFLAGS} ${ppllibs}"
+- AC_CACHE_CHECK([for installed CLooG PPL], [gcc_cv_cloog_type],
+- [LIBS="-lcloog-ppl ${_cloog_saved_LIBS}"
+- AC_LINK_IFELSE([_CLOOG_ORG_PROG_PPL], [gcc_cv_cloog_type="PPL"],
+- [gcc_cv_cloog_type=no])])
+- ;;
+- *)
+- gcc_cv_cloog_type=""
+- esac
+-
+- case $gcc_cv_cloog_type in
+- "PPL Legacy")
+- clooginc="${clooginc}"
+- clooglibs="${clooglibs} -lcloog"
+- cloog_org=no
+- ;;
+- "ISL")
+- clooginc="${clooginc} ${_cloogorginc}"
+- clooglibs="${clooglibs} -lcloog-isl -lisl"
+- cloog_org=yes
+- ;;
+- "PPL")
+- clooginc="${clooginc} ${_cloogorginc}"
+- clooglibs="${clooglibs} -lcloog-ppl"
+- cloog_org=yes
+- ;;
+- *)
+- clooglibs=
+- clooginc=
+- cloog_org=
+- ;;
+- esac
+-
+- LIBS=$_cloog_saved_LIBS
+- CFLAGS=$_cloog_saved_CFLAGS
+- CPPFLAGS=$_cloog_saved_CPPFLAGS
+- LDFLAGS=$_cloog_saved_LDFLAGS
+-]
+-)
+-
+ # _CLOOG_CHECK_CT_PROG(MAJOR, MINOR, REVISION)
+ # --------------------------------------------
+ # Helper for verifying CLooG's compile time version.
+ m4_define([_CLOOG_CHECK_CT_PROG],[AC_LANG_PROGRAM(
+- [#include "cloog/cloog.h"],
++ [#include "cloog/version.h"],
+ [#if CLOOG_VERSION_MAJOR != $1 \
+ || CLOOG_VERSION_MINOR != $2 \
+ || CLOOG_VERSION_REVISION < $3
+ choke me
+ #endif])])
+
+-# _CLOOG_CHECK_RT_PROG ()
+-# -----------------------
+-# Helper for verifying that CLooG's compile time version
+-# matches the run time version.
+-m4_define([_CLOOG_CHECK_RT_PROG],[AC_LANG_PROGRAM(
+- [#include "cloog/cloog.h"],
+- [if ((cloog_version_major () != CLOOG_VERSION_MAJOR)
+- && (cloog_version_minor () != CLOOG_VERSION_MINOR)
+- && (cloog_version_revision () != CLOOG_VERSION_REVISION))
+- {
+- return 1;
+- }])])
+-
+ # CLOOG_CHECK_VERSION CLOOG_CHECK_VERSION (MAJOR, MINOR, REVISION)
+ # ----------------------------------------------------------------
+ # Test the found CLooG to be exact of version MAJOR.MINOR and at least
+ # REVISION.
+-# If we're using the old CLooG-PPL (Legacy), the old version check will
+-# be executed (Ignores the provided version information).
+ AC_DEFUN([CLOOG_CHECK_VERSION],
+ [
+- AC_REQUIRE([CLOOG_FIND_FLAGS])
++ AC_REQUIRE([CLOOG_INIT_FLAGS])
+
+ if test "${ENABLE_CLOOG_CHECK}" = yes ; then
+ _cloog_saved_CFLAGS=$CFLAGS
+ _cloog_saved_LDFLAGS=$LDFLAGS
+
+- CFLAGS="${_cloog_saved_CFLAGS} ${clooginc} ${pplinc} ${gmpinc}"
+- LDFLAGS="${_cloog_saved_LDFLAGS} ${clooglibs} ${ppllibs}"
++ CFLAGS="${_cloog_saved_CFLAGS} ${clooginc} ${islinc} ${gmpinc}"
++ LDFLAGS="${_cloog_saved_LDFLAGS} ${clooglibs} ${isllibs} ${gmplib}"
+
+- if test "${cloog_org}" = yes ; then
+- AC_CACHE_CHECK([for version $1.$2.$3 of CLooG],
+- [gcc_cv_cloog_ct_0_14_0],
+- [AC_COMPILE_IFELSE([_CLOOG_CHECK_CT_PROG($1,$2,$3)],
+- [gcc_cv_cloog_ct_0_14_0=yes],
+- [gcc_cv_cloog_ct_0_14_0=no])])
+- elif test "${cloog_org}" = no ; then
+- AC_CACHE_CHECK([for version 0.15.5 (or later revision) of CLooG],
+- [gcc_cv_cloog_ct_0_15_5],
+- [AC_COMPILE_IFELSE([_CLOOG_CHECK_CT_PROG(0,15,5)],
+- [AC_COMPILE_IFELSE([_CLOOG_CHECK_CT_PROG(0,15,9)],
+- [gcc_cv_cloog_ct_0_15_5=yes],
+- [gcc_cv_cloog_ct_0_15_5="buggy but acceptable"])],
+- [gcc_cv_cloog_ct_0_15_5=no])])
+- fi
++ AC_CACHE_CHECK([for version $1.$2.$3 of CLooG],
++ [gcc_cv_cloog],
++ [AC_COMPILE_IFELSE([_CLOOG_CHECK_CT_PROG($1,$2,$3)],
++ [gcc_cv_cloog=yes],
++ [gcc_cv_cloog=no])])
+
+ CFLAGS=$_cloog_saved_CFLAGS
+ LDFLAGS=$_cloog_saved_LDFLAGS
+@@ -272,9 +135,7 @@
+ [
+ CLOOG_REQUESTED([graphite_requested=yes], [graphite_requested=no])
+
+- if test "${gcc_cv_cloog_ct_0_14_0}" = no \
+- || test "${gcc_cv_cloog_rt_0_14_0}" = no \
+- || test "${gcc_cv_cloog_ct_0_15_5}" = no; then
++ if test "${gcc_cv_cloog}" = no ; then
+ clooglibs=
+ clooginc=
+ fi
+diff -Naur newlib-1.20.0.orig/config/isl.m4 newlib-1.20.0/config/isl.m4
+--- newlib-1.20.0.orig/config/isl.m4 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/config/isl.m4 2012-10-15 10:31:19.505619237 +0200
+@@ -0,0 +1,151 @@
++# This file is part of GCC.
++#
++# GCC is free software; you can redistribute it and/or modify it under
++# the terms of the GNU General Public License as published by the Free
++# Software Foundation; either version 3, or (at your option) any later
++# version.
++#
++# GCC is distributed in the hope that it will be useful, but WITHOUT
++# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
++# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
++# for more details.
++#
++# You should have received a copy of the GNU General Public License
++# along with GCC; see the file COPYING3. If not see
++# <http://www.gnu.org/licenses/>.
++#
++# Contributed by Richard Guenther <rguenther@suse.de>
++# Based on cloog.m4
++
++# ISL_INIT_FLAGS ()
++# -------------------------
++# Provide configure switches for ISL support.
++# Initialize isllibs/islinc according to the user input.
++AC_DEFUN([ISL_INIT_FLAGS],
++[
++ AC_ARG_WITH([isl-include],
++ [AS_HELP_STRING(
++ [--with-isl-include=PATH],
++ [Specify directory for installed ISL include files])])
++ AC_ARG_WITH([isl-lib],
++ [AS_HELP_STRING(
++ [--with-isl-lib=PATH],
++ [Specify the directory for the installed ISL library])])
++
++ AC_ARG_ENABLE(isl-version-check,
++ [AS_HELP_STRING(
++ [--disable-isl-version-check],
++ [disable check for ISL version])],
++ ENABLE_ISL_CHECK=$enableval,
++ ENABLE_ISL_CHECK=yes)
++
++ # Initialize isllibs and islinc.
++ case $with_isl in
++ no)
++ isllibs=
++ islinc=
++ ;;
++ "" | yes)
++ ;;
++ *)
++ isllibs="-L$with_isl/lib"
++ islinc="-I$with_isl/include"
++ ;;
++ esac
++ if test "x${with_isl_include}" != x ; then
++ islinc="-I$with_isl_include"
++ fi
++ if test "x${with_isl_lib}" != x; then
++ isllibs="-L$with_isl_lib"
++ fi
++ dnl If no --with-isl flag was specified and there is in-tree ISL
++ dnl source, set up flags to use that and skip any version tests
++ dnl as we cannot run them before building ISL.
++ if test "x${islinc}" = x && test "x${isllibs}" = x \
++ && test -d ${srcdir}/isl; then
++ isllibs='-L$$r/$(HOST_SUBDIR)/isl/'"$lt_cv_objdir"' '
++ islinc='-I$$r/$(HOST_SUBDIR)/isl/include -I$$s/isl/include'
++ ENABLE_ISL_CHECK=no
++ fi
++]
++)
++
++# ISL_REQUESTED (ACTION-IF-REQUESTED, ACTION-IF-NOT)
++# ----------------------------------------------------
++# Provide actions for failed ISL detection.
++AC_DEFUN([ISL_REQUESTED],
++[
++ AC_REQUIRE([ISL_INIT_FLAGS])
++
++ if test "x${with_isl}" = xno; then
++ $2
++ elif test "x${with_isl}" != x \
++ || test "x${with_isl_include}" != x \
++ || test "x${with_isl_lib}" != x ; then
++ $1
++ else
++ $2
++ fi
++]
++)
++
++# _ISL_CHECK_CT_PROG(MAJOR, MINOR)
++# --------------------------------------------
++# Helper for verifying ISL compile time version.
++m4_define([_ISL_CHECK_CT_PROG],[AC_LANG_PROGRAM(
++ [#include <isl/version.h>
++ #include <string.h>],
++ [if (strncmp (isl_version (), "isl-$1.$2", strlen ("isl-$1.$2")) != 0)
++ return 1;
++ ])])
++
++# ISL_CHECK_VERSION ISL_CHECK_VERSION (MAJOR, MINOR)
++# ----------------------------------------------------------------
++# Test the found ISL to be exact of version MAJOR.MINOR and at least
++# REVISION.
++AC_DEFUN([ISL_CHECK_VERSION],
++[
++ if test "${ENABLE_ISL_CHECK}" = yes ; then
++ _isl_saved_CFLAGS=$CFLAGS
++ _isl_saved_LDFLAGS=$LDFLAGS
++ _isl_saved_LIBS=$LIBS
++
++ CFLAGS="${_isl_saved_CFLAGS} ${islinc} ${gmpinc}"
++ LDFLAGS="${_isl_saved_LDFLAGS} ${isllibs}"
++ LIBS="${_isl_saved_LIBS} -lisl"
++ echo $CFLAGS
++
++ AC_CACHE_CHECK([for version $1.$2 of ISL],
++ [gcc_cv_isl],
++ [AC_RUN_IFELSE([_ISL_CHECK_CT_PROG($1,$2)],
++ [gcc_cv_isl=yes],
++ [gcc_cv_isl=no],
++ [gcc_cv_isl=yes])])
++
++ CFLAGS=$_isl_saved_CFLAGS
++ LDFLAGS=$_isl_saved_LDFLAGS
++ LIBS=$_isl_saved_LIBS
++ fi
++]
++)
++
++# ISL_IF_FAILED (ACTION-IF-FAILED)
++# ----------------------------------
++# Executes ACTION-IF-FAILED, if GRAPHITE was requested and
++# the checks failed.
++AC_DEFUN([ISL_IF_FAILED],
++[
++ ISL_REQUESTED([graphite_requested=yes], [graphite_requested=no])
++
++ if test "${gcc_cv_isl}" = no ; then
++ isllibs=
++ islinc=
++ fi
++
++ if test "${graphite_requested}" = yes \
++ && test "x${isllibs}" = x \
++ && test "x${islinc}" = x ; then
++ $1
++ fi
++]
++)
+diff -Naur newlib-1.20.0.orig/config/math.m4 newlib-1.20.0/config/math.m4
+--- newlib-1.20.0.orig/config/math.m4 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/config/math.m4 2012-10-15 10:31:19.505619237 +0200
+@@ -0,0 +1,50 @@
++dnl GCC_CHECK_LIBM
++dnl
++dnl Check whether -lm is available. This is a pre-requisite for
++dnl GCC_CHECK_MATH_FUNC so that it will link with -lm.
++AC_DEFUN([GCC_CHECK_LIBM],
++[AC_CHECK_LIB([m],[sin])])
++
++dnl GCC_CHECK_MATH_HEADERS
++dnl
++dnl Check for math.h and complex.h. This is a pre-requisite for
++dnl GCC_CHECK_MATH_FUNC so that it includes the right headers.
++dnl (Some systems, such as AIX or OpenVMS may define macro for math
++dnl functions).
++AC_DEFUN([GCC_CHECK_MATH_HEADERS],
++[AC_CHECK_HEADERS_ONCE(math.h complex.h)])
++
++dnl GCC_CHECK_MATH_FUNC([name])
++dnl
++dnl Check whether math function NAME is available on the system (by compiling
++dnl and linking a C program) and run define HAVE_name on success.
++dnl
++dnl Note that OpenVMS system insists on including complex.h before math.h
++AC_DEFUN([GCC_CHECK_MATH_FUNC],
++[
++ AC_REQUIRE([GCC_CHECK_LIBM])
++ AC_REQUIRE([GCC_CHECK_MATH_HEADERS])
++ AC_CACHE_CHECK([for $1], [gcc_cv_math_func_$1],
++ [AC_LINK_IFELSE([
++#ifdef HAVE_COMPLEX_H
++#include <complex.h>
++#endif
++#ifdef HAVE_MATH_H
++#include <math.h>
++#endif
++
++int (*ptr)() = (int (*)())$1;
++
++int
++main ()
++{
++ return 0;
++}
++],
++[gcc_cv_math_func_$1=yes],
++[gcc_cv_math_func_$1=no])])
++ if test $gcc_cv_math_func_$1 = yes; then
++ AC_DEFINE_UNQUOTED(AS_TR_CPP(HAVE_$1),[1],
++ [Define to 1 if you have the `$1' function.])
++ fi
++])
+diff -Naur newlib-1.20.0.orig/config/mh-darwin newlib-1.20.0/config/mh-darwin
+--- newlib-1.20.0.orig/config/mh-darwin 2010-11-19 23:06:27.000000000 +0100
++++ newlib-1.20.0/config/mh-darwin 2012-10-15 10:31:19.506619253 +0200
+@@ -1,5 +1,7 @@
+ # The -mdynamic-no-pic ensures that the compiler executable is built without
+ # position-independent-code -- the usual default on Darwin. This fix speeds
+ # compiles by 3-5%.
+-
+ BOOT_CFLAGS += -mdynamic-no-pic
++
++# Ensure we don't try and use -pie, as it is incompatible with pch.
++BOOT_LDFLAGS += `case ${host} in *-*-darwin[1][1-9]*) echo -Wl,-no_pie ;; esac;`
+diff -Naur newlib-1.20.0.orig/config/mh-interix newlib-1.20.0/config/mh-interix
+--- newlib-1.20.0.orig/config/mh-interix 2011-11-02 16:23:38.000000000 +0100
++++ newlib-1.20.0/config/mh-interix 1970-01-01 01:00:00.000000000 +0100
+@@ -1,2 +0,0 @@
+-# The shell may not be in /bin.
+-SHELL = sh
+diff -Naur newlib-1.20.0.orig/config/mh-ppc-aix newlib-1.20.0/config/mh-ppc-aix
+--- newlib-1.20.0.orig/config/mh-ppc-aix 2009-08-16 14:49:48.000000000 +0200
++++ newlib-1.20.0/config/mh-ppc-aix 2012-10-15 10:31:19.506619253 +0200
+@@ -5,4 +5,4 @@
+ # don't do it any more.
+ BOOT_ADAFLAGS = -gnatapg
+ BOOT_LDFLAGS = -Wl,-bbigtoc
+-LDFLAGS = `case $(CC) in *gcc*) echo -Wl,-bbigtoc ;; esac;`
++LDFLAGS = `case '$(CC)' in *gcc*) echo -Wl,-bbigtoc ;; esac;`
+diff -Naur newlib-1.20.0.orig/config/mmap.m4 newlib-1.20.0/config/mmap.m4
+--- newlib-1.20.0.orig/config/mmap.m4 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/config/mmap.m4 2012-10-15 10:31:19.506619253 +0200
+@@ -0,0 +1,97 @@
++dnl ----------------------------------------------------------------------
++dnl This whole bit snagged from gcc
++
++dnl
++dnl mmap(2) blacklisting. Some platforms provide the mmap library routine
++dnl but don't support all of the features we need from it.
++dnl
++AC_DEFUN([GCC_AC_FUNC_MMAP_BLACKLIST],
++[
++AC_CHECK_HEADER([sys/mman.h],
++ [gcc_header_sys_mman_h=yes], [gcc_header_sys_mman_h=no])
++AC_CHECK_FUNC([mmap], [gcc_func_mmap=yes], [gcc_func_mmap=no])
++if test "$gcc_header_sys_mman_h" != yes \
++ || test "$gcc_func_mmap" != yes; then
++ gcc_cv_func_mmap_file=no
++ gcc_cv_func_mmap_dev_zero=no
++ gcc_cv_func_mmap_anon=no
++else
++ AC_CACHE_CHECK([whether read-only mmap of a plain file works],
++ gcc_cv_func_mmap_file,
++ [# Add a system to this blacklist if
++ # mmap(0, stat_size, PROT_READ, MAP_PRIVATE, fd, 0) doesn't return a
++ # memory area containing the same data that you'd get if you applied
++ # read() to the same fd. The only system known to have a problem here
++ # is VMS, where text files have record structure.
++ case "$host_os" in
++ *vms* | ultrix*)
++ gcc_cv_func_mmap_file=no ;;
++ *)
++ gcc_cv_func_mmap_file=yes;;
++ esac])
++ AC_CACHE_CHECK([whether mmap from /dev/zero works],
++ gcc_cv_func_mmap_dev_zero,
++ [# Add a system to this blacklist if it has mmap() but /dev/zero
++ # does not exist, or if mmapping /dev/zero does not give anonymous
++ # zeroed pages with both the following properties:
++ # 1. If you map N consecutive pages in with one call, and then
++ # unmap any subset of those pages, the pages that were not
++ # explicitly unmapped remain accessible.
++ # 2. If you map two adjacent blocks of memory and then unmap them
++ # both at once, they must both go away.
++ # Systems known to be in this category are Windows (all variants),
++ # VMS, and Darwin.
++ case "$host_os" in
++ *vms* | cygwin* | pe | mingw* | darwin* | ultrix* | hpux10* | hpux11.00)
++ gcc_cv_func_mmap_dev_zero=no ;;
++ *)
++ gcc_cv_func_mmap_dev_zero=yes;;
++ esac])
++
++ # Unlike /dev/zero, the MAP_ANON(YMOUS) defines can be probed for.
++ AC_CACHE_CHECK([for MAP_ANON(YMOUS)], gcc_cv_decl_map_anon,
++ [AC_COMPILE_IFELSE([AC_LANG_PROGRAM(
++[#include <sys/types.h>
++#include <sys/mman.h>
++#include <unistd.h>
++
++#ifndef MAP_ANONYMOUS
++#define MAP_ANONYMOUS MAP_ANON
++#endif
++],
++[int n = MAP_ANONYMOUS;])],
++ gcc_cv_decl_map_anon=yes,
++ gcc_cv_decl_map_anon=no)])
++
++ if test $gcc_cv_decl_map_anon = no; then
++ gcc_cv_func_mmap_anon=no
++ else
++ AC_CACHE_CHECK([whether mmap with MAP_ANON(YMOUS) works],
++ gcc_cv_func_mmap_anon,
++ [# Add a system to this blacklist if it has mmap() and MAP_ANON or
++ # MAP_ANONYMOUS, but using mmap(..., MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
++ # doesn't give anonymous zeroed pages with the same properties listed
++ # above for use of /dev/zero.
++ # Systems known to be in this category are Windows, VMS, and SCO Unix.
++ case "$host_os" in
++ *vms* | cygwin* | pe | mingw* | sco* | udk* )
++ gcc_cv_func_mmap_anon=no ;;
++ *)
++ gcc_cv_func_mmap_anon=yes;;
++ esac])
++ fi
++fi
++
++if test $gcc_cv_func_mmap_file = yes; then
++ AC_DEFINE(HAVE_MMAP_FILE, 1,
++ [Define if read-only mmap of a plain file works.])
++fi
++if test $gcc_cv_func_mmap_dev_zero = yes; then
++ AC_DEFINE(HAVE_MMAP_DEV_ZERO, 1,
++ [Define if mmap of /dev/zero works.])
++fi
++if test $gcc_cv_func_mmap_anon = yes; then
++ AC_DEFINE(HAVE_MMAP_ANON, 1,
++ [Define if mmap with MAP_ANON(YMOUS) works.])
++fi
++])
+diff -Naur newlib-1.20.0.orig/config/mt-alphaieee newlib-1.20.0/config/mt-alphaieee
+--- newlib-1.20.0.orig/config/mt-alphaieee 2002-04-12 03:23:53.000000000 +0200
++++ newlib-1.20.0/config/mt-alphaieee 2012-10-15 10:31:19.508619284 +0200
+@@ -1,2 +1,3 @@
+ CFLAGS_FOR_TARGET += -mieee
+ CXXFLAGS_FOR_TARGET += -mieee
++GOCFLAGS_FOR_TARGET += -mieee
+diff -Naur newlib-1.20.0.orig/config/mt-sde newlib-1.20.0/config/mt-sde
+--- newlib-1.20.0.orig/config/mt-sde 2007-12-06 18:44:07.000000000 +0100
++++ newlib-1.20.0/config/mt-sde 2012-10-15 10:31:19.508619284 +0200
+@@ -1,10 +1,10 @@
+ # We default to building libraries optimised for size. We use
+ # -minterlink-mips16 so that the non-MIPS16 libraries can still be
+-# linked against partly-MIPS16 code. The -mcode-xonly option allows
++# linked against partly-MIPS16 code. The -mcode-readable=pcrel option allows
+ # MIPS16 libraries to run on Harvard-style split I/D memories, so long
+ # as they have the D-to-I redirect for PC-relative loads. -mno-gpopt
+ # has two purposes: it allows libraries to be used in situations where
+ # $gp != our _gp, and it allows them to be built with -G8 while
+-# retaining link compability with -G0 and -G4.
+-CFLAGS_FOR_TARGET += -Os -minterlink-mips16 -mcode-xonly -mno-gpopt
+-CXXFLAGS_FOR_TARGET += -Os -minterlink-mips16 -mcode-xonly -mno-gpopt
++# retaining link compatibility with -G0 and -G4.
++CFLAGS_FOR_TARGET += -Os -minterlink-mips16 -mcode-readable=pcrel -mno-gpopt
++CXXFLAGS_FOR_TARGET += -Os -minterlink-mips16 -mcode-readable=pcrel -mno-gpopt
+diff -Naur newlib-1.20.0.orig/config/picflag.m4 newlib-1.20.0/config/picflag.m4
+--- newlib-1.20.0.orig/config/picflag.m4 2011-08-22 19:51:24.000000000 +0200
++++ newlib-1.20.0/config/picflag.m4 2012-10-15 10:31:19.508619284 +0200
+@@ -19,7 +19,7 @@
+ ;;
+ i[[34567]]86-*-cygwin* | i[[34567]]86-*-mingw* | x86_64-*-mingw*)
+ ;;
+- i[[34567]]86-*-interix3*)
++ i[[34567]]86-*-interix[[3-9]]*)
+ # Interix 3.x gcc -fpic/-fPIC options generate broken code.
+ # Instead, we relocate shared libraries at runtime.
+ ;;
+@@ -51,9 +51,6 @@
+ m68k-*-*)
+ $1=-fpic
+ ;;
+- s390*-*-*)
+- $1=-fpic
+- ;;
+ # FIXME: Override -fPIC default in libgcc only?
+ sh-*-linux* | sh[[2346lbe]]*-*-linux*)
+ $1=-fpic
+diff -Naur newlib-1.20.0.orig/config/stdint.m4 newlib-1.20.0/config/stdint.m4
+--- newlib-1.20.0.orig/config/stdint.m4 2010-08-21 14:34:06.000000000 +0200
++++ newlib-1.20.0/config/stdint.m4 2012-10-15 10:31:19.508619284 +0200
+@@ -18,7 +18,7 @@
+ dnl existence of an include file <stdint.h> that defines a set of
+ dnl typedefs, especially uint8_t,int32_t,uintptr_t.
+ dnl Many older installations will not provide this file, but some will
+-dnl have the very same definitions in <inttypes.h>. In other enviroments
++dnl have the very same definitions in <inttypes.h>. In other environments
+ dnl we can use the inet-types in <sys/types.h> which would define the
+ dnl typedefs int8_t and u_int8_t respectivly.
+ dnl
+diff -Naur newlib-1.20.0.orig/config/tcl.m4 newlib-1.20.0/config/tcl.m4
+--- newlib-1.20.0.orig/config/tcl.m4 2009-02-03 00:18:05.000000000 +0100
++++ newlib-1.20.0/config/tcl.m4 2012-10-15 10:31:19.508619284 +0200
+@@ -290,7 +290,7 @@
+ elif test "`uname -s`" = "Darwin"; then
+ # If Tcl was built as a framework, attempt to use the libraries
+ # from the framework at the given location so that linking works
+- # against Tcl.framework installed in an arbitary location.
++ # against Tcl.framework installed in an arbitrary location.
+ case ${TCL_DEFS} in
+ *TCL_FRAMEWORK*)
+ if test -f "${TCL_BIN_DIR}/${TCL_LIB_FILE}"; then
+@@ -373,7 +373,7 @@
+ elif test "`uname -s`" = "Darwin"; then
+ # If Tk was built as a framework, attempt to use the libraries
+ # from the framework at the given location so that linking works
+- # against Tk.framework installed in an arbitary location.
++ # against Tk.framework installed in an arbitrary location.
+ case ${TK_DEFS} in
+ *TK_FRAMEWORK*)
+ if test -f "${TK_BIN_DIR}/${TK_LIB_FILE}"; then
+@@ -815,7 +815,7 @@
+ #
+ # Defines the following variable:
+ #
+-# MAN_FLAGS - The apropriate flags for installManPage
++# MAN_FLAGS - The appropriate flags for installManPage
+ # according to the user's selection.
+ #
+ #--------------------------------------------------------------------
+diff -Naur newlib-1.20.0.orig/config/warnings.m4 newlib-1.20.0/config/warnings.m4
+--- newlib-1.20.0.orig/config/warnings.m4 2011-12-19 14:20:23.000000000 +0100
++++ newlib-1.20.0/config/warnings.m4 2012-10-15 10:31:19.509619300 +0200
+@@ -32,7 +32,7 @@
+ # Do the check with the no- prefix removed since gcc silently
+ # accepts any -Wno-* option on purpose
+ case $real_option in
+- -Wno-*) option=-W`expr $real_option : '-Wno-\(.*\)'` ;;
++ -Wno-*) option=-W`expr x$real_option : 'x-Wno-\(.*\)'` ;;
+ *) option=$real_option ;;
+ esac
+ AS_VAR_PUSHDEF([acx_Woption], [acx_cv_prog_cc_warning_$option])
+diff -Naur newlib-1.20.0.orig/config/weakref.m4 newlib-1.20.0/config/weakref.m4
+--- newlib-1.20.0.orig/config/weakref.m4 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/config/weakref.m4 2012-10-15 10:31:19.509619300 +0200
+@@ -0,0 +1,47 @@
++
++dnl Check if the target supports weak.
++AC_DEFUN([GCC_CHECK_ATTRIBUTE_WEAK], [
++ AC_CACHE_CHECK([whether the target supports weak],
++ ac_cv_have_attribute_weak, [
++ weakref_m4_saved_CFLAGS="$CFLAGS"
++ CFLAGS="$CFLAGS -Werror"
++ AC_TRY_COMPILE([void __attribute__((weak)) foo(void) { }],
++ [], ac_cv_have_attribute_weak=yes,
++ ac_cv_have_attribute_weak=no)
++ CFLAGS="$weakref_m4_saved_CFLAGS"])
++ if test x"$ac_cv_have_attribute_weak" = xyes; then
++ AC_DEFINE(HAVE_ATTRIBUTE_WEAK, 1,
++ [Define to 1 if the target supports __attribute__((weak)).])
++ fi])
++
++dnl Check whether weak refs work like the ELF ones.
++dnl This means that the weak reference works without having to satify
++dnl linkage for the item.
++dnl There are targets (at least Darwin) where we have fully functional
++dnl weakrefs at runtime, but must supply the referenced item at link time.
++AC_DEFUN([GCC_CHECK_ELF_STYLE_WEAKREF], [
++ AC_CACHE_CHECK([whether weak refs work like ELF],
++ ac_cv_have_elf_style_weakref, [
++ weakref_m4_saved_CFLAGS="$CFLAGS"
++ case "${host}" in
++ *-apple-darwin*) CFLAGS="$CFLAGS -Wl,-undefined,dynamic_lookup" ;;
++ *) ;;
++ esac
++ AC_RUN_IFELSE([AC_LANG_SOURCE([[
++extern void fNotToBeFound(void) __attribute__((weak));
++int main ()
++{
++ if (fNotToBeFound)
++ return 1;
++ else
++ return 0;
++}
++]])], ac_cv_have_elf_style_weakref=yes, ac_cv_have_elf_style_weakref=no, [
++case "${host}" in
++ *-apple-darwin[[89]]*) ac_cv_have_elf_style_weakref=no ;;
++ *) ac_cv_have_elf_style_weakref=yes;;
++esac])CFLAGS="$weakref_m4_saved_CFLAGS"])
++if test x"$ac_cv_have_elf_style_weakref" = xyes; then
++ AC_DEFINE(HAVE_ELF_STYLE_WEAKREF, 1, [Define to 1 if target has a weakref that works like the ELF one.])
++fi])
++
+diff -Naur newlib-1.20.0.orig/config.sub newlib-1.20.0/config.sub
+--- newlib-1.20.0.orig/config.sub 2011-11-02 01:56:53.000000000 +0100
++++ newlib-1.20.0/config.sub 2012-10-15 10:31:19.505619237 +0200
+@@ -2,9 +2,9 @@
+ # Configuration validation subroutine script.
+ # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
+ # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
+-# 2011 Free Software Foundation, Inc.
++# 2011, 2012 Free Software Foundation, Inc.
+
+-timestamp='2011-10-29'
++timestamp='2012-04-18'
+
+ # This file is (in principle) common to ALL GNU software.
+ # The presence of a machine in this file suggests that SOME GNU software
+@@ -21,9 +21,7 @@
+ # GNU General Public License for more details.
+ #
+ # You should have received a copy of the GNU General Public License
+-# along with this program; if not, write to the Free Software
+-# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
+-# 02110-1301, USA.
++# along with this program; if not, see <http://www.gnu.org/licenses/>.
+ #
+ # As a special exception to the GNU General Public License, if you
+ # distribute this file as part of a program that contains a
+@@ -76,8 +74,8 @@
+ GNU config.sub ($timestamp)
+
+ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
+-2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free
+-Software Foundation, Inc.
++2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
++Free Software Foundation, Inc.
+
+ This is free software; see the source for copying conditions. There is NO
+ warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
+@@ -132,6 +130,10 @@
+ os=-$maybe_os
+ basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
+ ;;
++ android-linux)
++ os=-linux-android
++ basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown
++ ;;
+ *)
+ basic_machine=`echo $1 | sed 's/-[^-]*$//'`
+ if [ $basic_machine != $1 ]
+@@ -223,6 +225,12 @@
+ -isc*)
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
+ ;;
++ -lynx*178)
++ os=-lynxos178
++ ;;
++ -lynx*5)
++ os=-lynxos5
++ ;;
+ -lynx*)
+ os=-lynxos
+ ;;
+@@ -247,6 +255,7 @@
+ # Some are omitted here because they have special meanings below.
+ 1750a | 580 \
+ | a29k \
++ | aarch64 | aarch64_be \
+ | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
+ | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
+ | am33_2.0 \
+@@ -319,8 +328,7 @@
+ c6x)
+ basic_machine=tic6x-unknown
+ ;;
+- m6811 | m68hc11 | m6812 | m68hc12 | picochip)
+- # Motorola 68HC11/12.
++ m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | picochip)
+ basic_machine=$basic_machine-unknown
+ os=-none
+ ;;
+@@ -333,7 +341,10 @@
+ strongarm | thumb | xscale)
+ basic_machine=arm-unknown
+ ;;
+-
++ xgate)
++ basic_machine=$basic_machine-unknown
++ os=-none
++ ;;
+ xscaleeb)
+ basic_machine=armeb-unknown
+ ;;
+@@ -356,6 +367,7 @@
+ # Recognize the basic CPU types with company name.
+ 580-* \
+ | a29k-* \
++ | aarch64-* | aarch64_be-* \
+ | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
+ | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
+ | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
+@@ -719,7 +731,6 @@
+ i370-ibm* | ibm*)
+ basic_machine=i370-ibm
+ ;;
+-# I'm not sure what "Sysv32" means. Should this be sysv3.2?
+ i*86v32)
+ basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
+ os=-sysv32
+@@ -816,6 +827,10 @@
+ ms1-*)
+ basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
+ ;;
++ msys)
++ basic_machine=i386-pc
++ os=-msys
++ ;;
+ mvs)
+ basic_machine=i370-ibm
+ os=-mvs
+@@ -1343,7 +1358,7 @@
+ | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
+ | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
+ | -chorusos* | -chorusrdb* | -cegcc* \
+- | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
++ | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
+ | -mingw32* | -linux-gnu* | -linux-android* \
+ | -linux-newlib* | -linux-uclibc* \
+ | -uxpv* | -beos* | -mpeix* | -udk* \
+@@ -1555,9 +1570,6 @@
+ ;;
+ m68000-sun)
+ os=-sunos3
+- # This also exists in the configure program, but was not the
+- # default.
+- # os=-sunos4
+ ;;
+ m68*-cisco)
+ os=-aout
+diff -Naur newlib-1.20.0.orig/configure newlib-1.20.0/configure
+--- newlib-1.20.0.orig/configure 2011-12-18 11:20:51.000000000 +0100
++++ newlib-1.20.0/configure 2012-10-15 10:31:19.514619380 +0200
+@@ -556,7 +556,6 @@
+ ac_subst_vars='LTLIBOBJS
+ LIBOBJS
+ compare_exclusions
+-POSTSTAGE1_CONFIGURE_FLAGS
+ stage2_werror_flag
+ stage1_checking
+ stage1_cflags
+@@ -646,12 +645,12 @@
+ extra_host_libiberty_configure_flags
+ clooginc
+ clooglibs
+-pplinc
+-ppllibs
++islinc
+ poststage1_ldflags
+ poststage1_libs
+ stage1_libs
+ stage1_ldflags
++extra_isl_gmp_configure_flags
+ extra_mpc_mpfr_configure_flags
+ extra_mpc_gmp_configure_flags
+ extra_mpfr_configure_flags
+@@ -752,8 +751,6 @@
+ enable_libssp
+ enable_static_libjava
+ enable_bootstrap
+-enable_build_with_cxx
+-enable_build_poststage1_with_cxx
+ with_mpc
+ with_mpc_include
+ with_mpc_lib
+@@ -770,14 +767,13 @@
+ with_stage1_libs
+ with_boot_libs
+ with_boot_ldflags
+-with_ppl
+-with_ppl_include
+-with_ppl_lib
+-enable_ppl_version_check
+ with_cloog
++with_isl
++with_isl_include
++with_isl_lib
++enable_isl_version_check
+ with_cloog_include
+ with_cloog_lib
+-enable_cloog_backend
+ enable_cloog_version_check
+ enable_lto
+ enable_stage1_languages
+@@ -1471,14 +1467,8 @@
+ --enable-static-libjava[=ARG]
+ build static libjava [default=no]
+ --enable-bootstrap enable bootstrapping [yes if native build]
+- --enable-build-with-cxx build with C++ compiler instead of C compiler
+- --enable-build-poststage1-with-cxx
+- build stages 2 and 3 with C++, not C
+- --disable-ppl-version-check
+- disable check for PPL version
+- --enable-cloog-backend[=BACKEND]
+- set the CLooG BACKEND used to either isl, ppl or
+- ppl-legacy (default)
++ --disable-isl-version-check
++ disable check for ISL version
+ --disable-cloog-version-check
+ disable check for CLooG version
+ --enable-lto enable link time optimization support
+@@ -1530,16 +1520,16 @@
+ --with-boot-libs=LIBS libraries for stage2 and later
+ --with-boot-ldflags=FLAGS
+ linker flags for stage2 and later
+- --with-ppl=PATH specify prefix directory for the installed PPL
+- package. Equivalent to
+- --with-ppl-include=PATH/include plus
+- --with-ppl-lib=PATH/lib
+- --with-ppl-include=PATH specify directory for installed PPL include files
+- --with-ppl-lib=PATH specify directory for the installed PPL library
+- --with-cloog=PATH Specify prefix directory for the installed CLooG-PPL
++ --with-cloog=PATH Specify prefix directory for the installed CLooG-ISL
+ package. Equivalent to
+ --with-cloog-include=PATH/include plus
+ --with-cloog-lib=PATH/lib
++ --with-isl=PATH Specify prefix directory for the installed ISL
++ package. Equivalent to
++ --with-isl-include=PATH/include plus
++ --with-isl-lib=PATH/lib
++ --with-isl-include=PATH Specify directory for installed ISL include files
++ --with-isl-lib=PATH Specify the directory for the installed ISL library
+ --with-cloog-include=PATH
+ Specify directory for installed CLooG include files
+ --with-cloog-lib=PATH Specify the directory for the installed CLooG
+@@ -1820,6 +1810,48 @@
+ return $ac_retval
+
+ } # ac_fn_c_try_link
++
++# ac_fn_c_try_run LINENO
++# ----------------------
++# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
++# that executables *can* be run.
++ac_fn_c_try_run ()
++{
++ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
++ if { { ac_try="$ac_link"
++case "(($ac_try" in
++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
++ *) ac_try_echo=$ac_try;;
++esac
++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
++$as_echo "$ac_try_echo"; } >&5
++ (eval "$ac_link") 2>&5
++ ac_status=$?
++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
++ test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
++ { { case "(($ac_try" in
++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
++ *) ac_try_echo=$ac_try;;
++esac
++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
++$as_echo "$ac_try_echo"; } >&5
++ (eval "$ac_try") 2>&5
++ ac_status=$?
++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
++ test $ac_status = 0; }; }; then :
++ ac_retval=0
++else
++ $as_echo "$as_me: program exited with status $ac_status" >&5
++ $as_echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ ac_retval=$ac_status
++fi
++ rm -rf conftest.dSYM conftest_ipa8_conftest.oo
++ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
++ return $ac_retval
++
++} # ac_fn_c_try_run
+ cat >config.log <<_ACEOF
+ This file contains any messages produced by compilers while
+ running configure, to aid debugging if configure makes a mistake.
+@@ -2666,7 +2698,7 @@
+
+ # these libraries are used by various programs built for the host environment
+ #
+-host_libs="intl libiberty opcodes bfd readline tcl tk itcl libgui zlib libcpp libdecnumber gmp mpfr mpc ppl cloog libelf libiconv"
++host_libs="intl libiberty opcodes bfd readline tcl tk itcl libgui zlib libbacktrace libcpp libdecnumber gmp mpfr mpc isl cloog libelf libiconv"
+
+ # these tools are built for the host environment
+ # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
+@@ -2685,9 +2717,11 @@
+ # the host libraries and the host tools (which may be a cross compiler)
+ # Note that libiberty is not a target library.
+ target_libraries="target-libgcc \
++ target-libbacktrace \
+ target-libgloss \
+ target-newlib \
+ target-libgomp \
++ target-libatomic \
+ target-libitm \
+ target-libstdc++-v3 \
+ target-libmudflap \
+@@ -2882,7 +2916,7 @@
+ if test "$is_elf" = "yes"; then
+ # Check for target supported by gold.
+ case "${target}" in
+- i?86-*-* | x86_64-*-* | sparc*-*-* | powerpc*-*-* | arm*-*-*)
++ i?86-*-* | x86_64-*-* | sparc*-*-* | powerpc*-*-* | arm*-*-* | tilegx*-*-*)
+ configdirs="$configdirs gold"
+ if test x${ENABLE_GOLD} = xdefault; then
+ default_ld=gold
+@@ -3054,7 +3088,7 @@
+ ;;
+ *-*-netbsd* | *-*-freebsd* | *-*-openbsd* | *-*-dragonfly*)
+ ;;
+- *-*-solaris2* | *-*-irix6* | *-*-osf* | *-*-hpux11*)
++ *-*-solaris2* | *-*-hpux11*)
+ ;;
+ *-*-darwin* | *-*-aix*)
+ ;;
+@@ -3064,6 +3098,25 @@
+ esac
+ fi
+
++# Disable libatomic on unsupported systems.
++if test -d ${srcdir}/libatomic; then
++ if test x$enable_libatomic = x; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libatomic support" >&5
++$as_echo_n "checking for libatomic support... " >&6; }
++ if (srcdir=${srcdir}/libatomic; \
++ . ${srcdir}/configure.tgt; \
++ test -n "$UNSUPPORTED")
++ then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
++$as_echo "no" >&6; }
++ noconfigdirs="$noconfigdirs target-libatomic"
++ else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
++$as_echo "yes" >&6; }
++ fi
++ fi
++fi
++
+ # Disable libitm on unsupported systems.
+ if test -d ${srcdir}/libitm; then
+ if test x$enable_libitm = x; then
+@@ -3083,6 +3136,15 @@
+ fi
+ fi
+
++# Disable libquadmath for some systems.
++case "${target}" in
++ # libquadmath is unused on AIX and libquadmath build process use of
++ # LD_LIBRARY_PATH can break AIX bootstrap.
++ powerpc-*-aix* | rs6000-*-aix*)
++ noconfigdirs="$noconfigdirs target-libquadmath"
++ ;;
++esac
++
+ # Disable libssp for some systems.
+ case "${target}" in
+ avr-*-*)
+@@ -3093,11 +3155,20 @@
+ noconfigdirs="$noconfigdirs target-libssp"
+ ;;
+ rl78-*-*)
+- # Dereferencing -1 is a compile-time error
++ # libssp uses a misaligned load to trigger a fault, but the RL78
++ # doesn't fault for those - instead, it gives a build-time error
++ # for explicit misaligned loads.
+ noconfigdirs="$noconfigdirs target-libssp"
+ ;;
+ esac
+
++# Disable libquadmath for some systems.
++case "${target}" in
++ avr-*-*)
++ noconfigdirs="$noconfigdirs target-libquadmath"
++ ;;
++esac
++
+ # Disable libstdc++-v3 for some systems.
+ case "${target}" in
+ *-*-vxworks*)
+@@ -3143,7 +3214,7 @@
+ ;;
+ m68k-*-*)
+ ;;
+- mips-sgi-irix6.* | mips*-*-rtems*)
++ mips*-*-rtems*)
+ ;;
+ mips*-*-linux*)
+ ;;
+@@ -3259,13 +3330,6 @@
+ rs6000-*-aix*)
+ noconfigdirs="$noconfigdirs ${libgcj}"
+ ;;
+- mips*-*-irix6*)
+- # Linking libjava exceeds command-line length limits on at least
+- # IRIX 6.2, but not on IRIX 6.5.
+- # Also, boehm-gc won't build on IRIX 6.5, according to Jeffrey Oldham
+- # <oldham@codesourcery.com>
+- noconfigdirs="$noconfigdirs ${libgcj}"
+- ;;
+ *-*-lynxos*)
+ noconfigdirs="$noconfigdirs ${libgcj}"
+ ;;
+@@ -3445,15 +3509,19 @@
+ arm-*-riscix*)
+ noconfigdirs="$noconfigdirs ld target-libgloss"
+ ;;
++ avr-*-rtems*)
++ ;;
++ avr-*-*)
++ if test x${with_avrlibc} != xno; then
++ noconfigdirs="$noconfigdirs target-newlib target-libgloss"
++ fi
++ ;;
+ c4x-*-* | tic4x-*-*)
+ noconfigdirs="$noconfigdirs target-libgloss"
+ ;;
+ tic54x-*-*)
+ noconfigdirs="$noconfigdirs target-libgloss gdb"
+ ;;
+- cr16-*-*)
+- noconfigdirs="$noconfigdirs gdb"
+- ;;
+ d10v-*-*)
+ noconfigdirs="$noconfigdirs target-libgloss"
+ ;;
+@@ -3503,8 +3571,8 @@
+ noconfigdirs="$noconfigdirs libgui itcl ld"
+ ;;
+ ia64*-*-*vms*)
+- # No gdb or ld support yet.
+- noconfigdirs="$noconfigdirs readline libgui itcl gdb ld"
++ # No ld support yet.
++ noconfigdirs="$noconfigdirs libgui itcl ld"
+ ;;
+ i[3456789]86-w64-mingw*)
+ ;;
+@@ -3582,7 +3650,7 @@
+ microblaze*)
+ noconfigdirs="$noconfigdirs gprof"
+ ;;
+- mips*-sde-elf*)
++ mips*-sde-elf* | mips*-mti-elf*)
+ if test x$with_newlib = xyes; then
+ noconfigdirs="$noconfigdirs gprof"
+ fi
+@@ -3668,9 +3736,6 @@
+ *-mingw*)
+ host_makefile_frag="config/mh-mingw"
+ ;;
+- *-interix*)
+- host_makefile_frag="config/mh-interix"
+- ;;
+ hppa*-hp-hpux10*)
+ host_makefile_frag="config/mh-pa-hpux10"
+ ;;
+@@ -5061,24 +5126,6 @@
+ ;;
+ esac
+
+-# See if we are building gcc with C++.
+-# Check whether --enable-build-with-cxx was given.
+-if test "${enable_build_with_cxx+set}" = set; then :
+- enableval=$enable_build_with_cxx; ENABLE_BUILD_WITH_CXX=$enableval
+-else
+- ENABLE_BUILD_WITH_CXX=no
+-fi
+-
+-
+-# Build stage1 with C and build stages 2 and 3 with C++.
+-# Check whether --enable-build-poststage1-with-cxx was given.
+-if test "${enable_build_poststage1_with_cxx+set}" = set; then :
+- enableval=$enable_build_poststage1_with_cxx; ENABLE_BUILD_POSTSTAGE1_WITH_CXX=$enableval
+-else
+- ENABLE_BUILD_POSTSTAGE1_WITH_CXX=yes
+-fi
+-
+-
+ # Used for setting $lt_cv_objdir
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
+ $as_echo_n "checking for objdir... " >&6; }
+@@ -5195,9 +5242,16 @@
+ gmplibs="-L$with_mpfr_lib $gmplibs"
+ fi
+ if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x && test -d ${srcdir}/mpfr; then
+- gmplibs='-L$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir $gmplibs"
+- gmpinc='-I$$r/$(HOST_SUBDIR)/mpfr -I$$s/mpfr '"$gmpinc"
+- extra_mpc_mpfr_configure_flags='--with-mpfr-include=$$s/mpfr --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir"
++ # MPFR v3.1.0 moved the sources into a src sub-directory.
++ if test -d ${srcdir}/mpfr/src; then
++ gmplibs='-L$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir $gmplibs"
++ gmpinc='-I$$r/$(HOST_SUBDIR)/mpfr/src -I$$s/mpfr/src '"$gmpinc"
++ extra_mpc_mpfr_configure_flags='--with-mpfr-include=$$s/mpfr/src --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir"
++ else
++ gmplibs='-L$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir $gmplibs"
++ gmpinc='-I$$r/$(HOST_SUBDIR)/mpfr -I$$s/mpfr '"$gmpinc"
++ extra_mpc_mpfr_configure_flags='--with-mpfr-include=$$s/mpfr --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir"
++ fi
+ # Do not test the mpfr version. Assume that it is sufficient, since
+ # it is in the source tree, and the library has not been built yet
+ # but it would be included on the link line in the version check below
+@@ -5249,6 +5303,7 @@
+ gmpinc='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
+ extra_mpfr_configure_flags='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
+ extra_mpc_gmp_configure_flags='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
++ extra_isl_gmp_configure_flags='--with-gmp-builddir=$$r/$(HOST_SUBDIR)/gmp'
+ # Do not test the gmp version. Assume that it is sufficient, since
+ # it is in the source tree, and the library has not been built yet
+ # but it would be included on the link line in the version check below
+@@ -5273,7 +5328,7 @@
+
+ #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
+ #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
+- #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,2,0)
++ #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,2,3)
+ choke me
+ #endif
+
+@@ -5326,7 +5381,7 @@
+ main ()
+ {
+
+- #if MPFR_VERSION < MPFR_VERSION_NUM(2,3,1)
++ #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,0)
+ choke me
+ #endif
+
+@@ -5469,7 +5524,7 @@
+ # The library versions listed in the error message below should match
+ # the HARD-minimums enforced above.
+ if test x$have_gmp != xyes; then
+- as_fn_error "Building GCC requires GMP 4.2+, MPFR 2.3.1+ and MPC 0.8.0+.
++ as_fn_error "Building GCC requires GMP 4.2+, MPFR 2.4.0+ and MPC 0.8.0+.
+ Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
+ their locations. Source code for these libraries can be found at
+ their respective hosting sites as well as at
+@@ -5488,6 +5543,7 @@
+
+
+
++
+ # Allow host libstdc++ to be specified for static linking with PPL.
+
+ # Check whether --with-host-libstdcxx was given.
+@@ -5569,164 +5625,161 @@
+
+
+
+-# Check for PPL
+-ppllibs=
+-pplinc=
+-pwllib=
++# GCC GRAPHITE dependences, ISL and CLOOG which in turn requires ISL.
++# Basic setup is inlined here, actual checks are in config/cloog.m4 and
++# config/isl.m4
+
+
+-# Check whether --with-ppl was given.
+-if test "${with_ppl+set}" = set; then :
+- withval=$with_ppl;
++# Check whether --with-cloog was given.
++if test "${with_cloog+set}" = set; then :
++ withval=$with_cloog;
+ fi
+
+
+-# Check whether --with-ppl-include was given.
+-if test "${with_ppl_include+set}" = set; then :
+- withval=$with_ppl_include;
++# Check whether --with-isl was given.
++if test "${with_isl+set}" = set; then :
++ withval=$with_isl;
+ fi
+
+
+-# Check whether --with-ppl-lib was given.
+-if test "${with_ppl_lib+set}" = set; then :
+- withval=$with_ppl_lib;
+-fi
++# Treat either --without-cloog or --without-isl as a request to disable
++# GRAPHITE support and skip all following checks.
++if test "x$with_isl" != "xno" &&
++ test "x$with_cloog" != "xno"; then
++ # Check for ISL
+
+
+-# Check whether --enable-ppl-version-check was given.
+-if test "${enable_ppl_version_check+set}" = set; then :
+- enableval=$enable_ppl_version_check;
++# Check whether --with-isl-include was given.
++if test "${with_isl_include+set}" = set; then :
++ withval=$with_isl_include;
+ fi
+
+
+-case $with_ppl in
+- yes | no | "")
+- ;;
+- *)
+- ppllibs="-L$with_ppl/lib"
+- pplinc="-I$with_ppl/include $pplinc"
+- if test -d "$with_ppl/lib" && test -d "$with_ppl/include"; then
+- with_ppl=yes
+- else
+- as_fn_error "cannot find directories \"$with_ppl/lib\" or \"$with_ppl/include\"" "$LINENO" 5
+- fi
+- ;;
+-esac
+-
+-if test x"$with_ppl_include" != x; then
+- pplinc="-I$with_ppl_include $pplinc"
+- with_ppl=yes
++# Check whether --with-isl-lib was given.
++if test "${with_isl_lib+set}" = set; then :
++ withval=$with_isl_lib;
+ fi
+
+-if test "x$with_ppl_lib" != x; then
+- ppllibs="-L$with_ppl_lib"
+- with_ppl=yes
++
++ # Check whether --enable-isl-version-check was given.
++if test "${enable_isl_version_check+set}" = set; then :
++ enableval=$enable_isl_version_check; ENABLE_ISL_CHECK=$enableval
++else
++ ENABLE_ISL_CHECK=yes
+ fi
+
+-if test x"$with_ppl$with_ppl_include$with_ppl_lib" = x && test -d ${srcdir}/ppl; then
+- if test x"$enable_watchdog" = xyes; then
+- pwllib="-lpwl"
++
++ # Initialize isllibs and islinc.
++ case $with_isl in
++ no)
++ isllibs=
++ islinc=
++ ;;
++ "" | yes)
++ ;;
++ *)
++ isllibs="-L$with_isl/lib"
++ islinc="-I$with_isl/include"
++ ;;
++ esac
++ if test "x${with_isl_include}" != x ; then
++ islinc="-I$with_isl_include"
++ fi
++ if test "x${with_isl_lib}" != x; then
++ isllibs="-L$with_isl_lib"
++ fi
++ if test "x${islinc}" = x && test "x${isllibs}" = x \
++ && test -d ${srcdir}/isl; then
++ isllibs='-L$$r/$(HOST_SUBDIR)/isl/'"$lt_cv_objdir"' '
++ islinc='-I$$r/$(HOST_SUBDIR)/isl/include -I$$s/isl/include'
++ ENABLE_ISL_CHECK=no
+ fi
+- ppllibs='-L$$r/$(HOST_SUBDIR)/ppl/interfaces/C/'"$lt_cv_objdir"' -L$$r/$(HOST_SUBDIR)/ppl/src/'"$lt_cv_objdir"
+- pplinc='-I$$r/$(HOST_SUBDIR)/ppl/src -I$$r/$(HOST_SUBDIR)/ppl/interfaces/C '
+- enable_ppl_version_check=no
+- with_ppl=yes
+-fi
+
+-if test "x$with_ppl" != xno; then
+- if test "x$pwllib" = x; then
+- saved_LIBS="$LIBS"
+- LIBS="$LIBS $ppllibs -lstdc++ -lm"
+- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PWL_handle_timeout in -lpwl" >&5
+-$as_echo_n "checking for PWL_handle_timeout in -lpwl... " >&6; }
+-if test "${ac_cv_lib_pwl_PWL_handle_timeout+set}" = set; then :
++
++
++ if test "${ENABLE_ISL_CHECK}" = yes ; then
++ _isl_saved_CFLAGS=$CFLAGS
++ _isl_saved_LDFLAGS=$LDFLAGS
++ _isl_saved_LIBS=$LIBS
++
++ CFLAGS="${_isl_saved_CFLAGS} ${islinc} ${gmpinc}"
++ LDFLAGS="${_isl_saved_LDFLAGS} ${isllibs}"
++ LIBS="${_isl_saved_LIBS} -lisl"
++ echo $CFLAGS
++
++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.10 of ISL" >&5
++$as_echo_n "checking for version 0.10 of ISL... " >&6; }
++if test "${gcc_cv_isl+set}" = set; then :
+ $as_echo_n "(cached) " >&6
+ else
+- ac_check_lib_save_LIBS=$LIBS
+-LIBS="-lpwl $LIBS"
+-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
++ if test "$cross_compiling" = yes; then :
++ gcc_cv_isl=yes
++else
++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ /* end confdefs.h. */
+-
+-/* Override any GCC internal prototype to avoid an error.
+- Use char because int might match the return type of a GCC
+- builtin and then its argument prototype would still apply. */
+-#ifdef __cplusplus
+-extern "C"
+-#endif
+-char PWL_handle_timeout ();
++#include <isl/version.h>
++ #include <string.h>
+ int
+ main ()
+ {
+-return PWL_handle_timeout ();
++if (strncmp (isl_version (), "isl-0.10", strlen ("isl-0.10")) != 0)
++ return 1;
++
+ ;
+ return 0;
+ }
+ _ACEOF
+-if ac_fn_c_try_link "$LINENO"; then :
+- ac_cv_lib_pwl_PWL_handle_timeout=yes
++if ac_fn_c_try_run "$LINENO"; then :
++ gcc_cv_isl=yes
+ else
+- ac_cv_lib_pwl_PWL_handle_timeout=no
++ gcc_cv_isl=no
+ fi
+-rm -f core conftest.err conftest.$ac_objext \
+- conftest$ac_exeext conftest.$ac_ext
+-LIBS=$ac_check_lib_save_LIBS
++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
++ conftest.$ac_objext conftest.beam conftest.$ac_ext
+ fi
+-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pwl_PWL_handle_timeout" >&5
+-$as_echo "$ac_cv_lib_pwl_PWL_handle_timeout" >&6; }
+-if test "x$ac_cv_lib_pwl_PWL_handle_timeout" = x""yes; then :
+- pwllib="-lpwl"
++
+ fi
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_isl" >&5
++$as_echo "$gcc_cv_isl" >&6; }
+
+- LIBS="$saved_LIBS"
++ CFLAGS=$_isl_saved_CFLAGS
++ LDFLAGS=$_isl_saved_LDFLAGS
++ LIBS=$_isl_saved_LIBS
+ fi
+
+- ppllibs="$ppllibs -lppl_c -lppl $pwllib -lgmpxx"
+
+- if test "$enable_ppl_version_check" != no; then
+- saved_CFLAGS="$CFLAGS"
+- CFLAGS="$CFLAGS $pplinc $gmpinc"
+- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.11 (revision 0 or later) of PPL" >&5
+-$as_echo_n "checking for version 0.11 (revision 0 or later) of PPL... " >&6; }
+- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+-/* end confdefs.h. */
+-#include "ppl_c.h"
+-int
+-main ()
+-{
+
+- #if PPL_VERSION_MAJOR != 0 || PPL_VERSION_MINOR < 11
+- choke me
+- #endif
+
+- ;
+- return 0;
+-}
+-_ACEOF
+-if ac_fn_c_try_compile "$LINENO"; then :
+- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+-$as_echo "yes" >&6; }
+-else
+- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+-$as_echo "no" >&6; }; ppllibs= ; pplinc= ; with_ppl=no
+-fi
+-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+- CFLAGS="$saved_CFLAGS"
++
++
++ if test "x${with_isl}" = xno; then
++ graphite_requested=no
++ elif test "x${with_isl}" != x \
++ || test "x${with_isl_include}" != x \
++ || test "x${with_isl_lib}" != x ; then
++ graphite_requested=yes
++ else
++ graphite_requested=no
+ fi
+-fi
+
+-# Flags needed for PPL
+
+
++ if test "${gcc_cv_isl}" = no ; then
++ isllibs=
++ islinc=
++ fi
+
++ if test "${graphite_requested}" = yes \
++ && test "x${isllibs}" = x \
++ && test "x${islinc}" = x ; then
+
+-# Check for CLOOG
++ as_fn_error "Unable to find a usable ISL. See config.log for details." "$LINENO" 5
++ fi
+
+
+
+-# Check whether --with-cloog was given.
+-if test "${with_cloog+set}" = set; then :
+- withval=$with_cloog;
+-fi
++ if test "x$gcc_cv_isl" != "xno"; then
++ # Check for CLOOG
+
+
+ # Check whether --with-cloog-include was given.
+@@ -5741,19 +5794,6 @@
+ fi
+
+
+- # Check whether --enable-cloog-backend was given.
+-if test "${enable_cloog_backend+set}" = set; then :
+- enableval=$enable_cloog_backend; if test "x${enableval}" = "xisl"; then
+- cloog_backend=isl
+- elif test "x${enableval}" = "xppl"; then
+- cloog_backend=ppl
+- else
+- cloog_backend=ppl-legacy
+- fi
+-else
+- cloog_backend=ppl-legacy
+-fi
+-
+ # Check whether --enable-cloog-version-check was given.
+ if test "${enable_cloog_version_check+set}" = set; then :
+ enableval=$enable_cloog_version_check; ENABLE_CLOOG_CHECK=$enableval
+@@ -5781,177 +5821,14 @@
+ if test "x${with_cloog_lib}" != x; then
+ clooglibs="-L$with_cloog_lib"
+ fi
+-
+-
+-
+-
+-
+-if test "x$with_ppl" = "xno"; then
+-
+-
+-
+- if test "x${with_cloog}" = xno; then
+- graphite_requested=no
+- elif test "x${with_cloog}" != x \
+- || test "x${with_cloog_include}" != x \
+- || test "x${with_cloog_lib}" != x ; then
+- graphite_requested=yes
+- else
+- graphite_requested=no
+- fi
+-
+-
+- if test "${graphite_requested}" = yes; then
+- as_fn_error "Unable to find a usable PPL. See config.log for details." "$LINENO" 5
++ if test "x${clooginc}" = x && test "x${clooglibs}" = x \
++ && test -d ${srcdir}/cloog; then
++ clooglibs='-L$$r/$(HOST_SUBDIR)/cloog/'"$lt_cv_objdir"' '
++ clooginc='-I$$r/$(HOST_SUBDIR)/cloog/include -I$$s/cloog/include -I'${srcdir}'/cloog/include '
+ fi
+- with_cloog=no
+-fi
+-if test "x${with_cloog}" = x && test "x${with_cloog_include}" = x \
+- && test "x${with_cloog_lib}" = x && test -d ${srcdir}/cloog; then
+- clooglibs='-L$$r/$(HOST_SUBDIR)/cloog/'"$lt_cv_objdir"' '
+- clooginc='-I$$r/$(HOST_SUBDIR)/cloog/include -I$$s/cloog/include '
+-fi
+-if test "x$with_cloog" != "xno"; then
+
+-
+-
+- _cloog_saved_CFLAGS=$CFLAGS
+- _cloog_saved_CPPFLAGS=$CPPFLAGS
+- _cloog_saved_LDFLAGS=$LDFLAGS
+- _cloog_saved_LIBS=$LIBS
+-
+- _cloogorginc="-DCLOOG_INT_GMP -DCLOOG_ORG"
+-
+- CFLAGS="${CFLAGS} ${clooginc} ${gmpinc}"
+- CPPFLAGS="${CPPFLAGS} ${_cloogorginc}"
+- LDFLAGS="${LDFLAGS} ${clooglibs}"
+-
+- case $cloog_backend in
+- "ppl-legacy")
+- CFLAGS="${CFLAGS} ${pplinc}"
+- LDFLAGS="${LDFLAGS} ${ppllibs}"
+- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for installed CLooG PPL Legacy" >&5
+-$as_echo_n "checking for installed CLooG PPL Legacy... " >&6; }
+-if test "${gcc_cv_cloog_type+set}" = set; then :
+- $as_echo_n "(cached) " >&6
+-else
+- LIBS="-lcloog ${_cloog_saved_LIBS}"
+- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+-/* end confdefs.h. */
+-#include "cloog/cloog.h"
+-int
+-main ()
+-{
+-#ifndef CLOOG_PPL_BACKEND
+- choke me
+- #endif
+- ;
+- return 0;
+-}
+-_ACEOF
+-if ac_fn_c_try_link "$LINENO"; then :
+- gcc_cv_cloog_type="PPL Legacy"
+-else
+- gcc_cv_cloog_type=no
+-fi
+-rm -f core conftest.err conftest.$ac_objext \
+- conftest$ac_exeext conftest.$ac_ext
+-fi
+-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog_type" >&5
+-$as_echo "$gcc_cv_cloog_type" >&6; }
+- ;;
+- "isl")
+- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for installed CLooG ISL" >&5
+-$as_echo_n "checking for installed CLooG ISL... " >&6; }
+-if test "${gcc_cv_cloog_type+set}" = set; then :
+- $as_echo_n "(cached) " >&6
+-else
+- LIBS="-lcloog-isl ${_cloog_saved_LIBS}"
+- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+-/* end confdefs.h. */
+-#include "cloog/cloog.h"
+-int
+-main ()
+-{
+-cloog_version ()
+- ;
+- return 0;
+-}
+-_ACEOF
+-if ac_fn_c_try_link "$LINENO"; then :
+- gcc_cv_cloog_type="ISL"
+-else
+- gcc_cv_cloog_type=no
+-fi
+-rm -f core conftest.err conftest.$ac_objext \
+- conftest$ac_exeext conftest.$ac_ext
+-fi
+-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog_type" >&5
+-$as_echo "$gcc_cv_cloog_type" >&6; }
+- ;;
+- "ppl")
+- CFLAGS="${CFLAGS} ${pplinc}"
+- LDFLAGS="${LDFLAGS} ${ppllibs}"
+- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for installed CLooG PPL" >&5
+-$as_echo_n "checking for installed CLooG PPL... " >&6; }
+-if test "${gcc_cv_cloog_type+set}" = set; then :
+- $as_echo_n "(cached) " >&6
+-else
+- LIBS="-lcloog-ppl ${_cloog_saved_LIBS}"
+- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+-/* end confdefs.h. */
+-#include "cloog/cloog.h"
+- #include "cloog/ppl/cloog.h"
+-int
+-main ()
+-{
+-cloog_version ()
+- ;
+- return 0;
+-}
+-_ACEOF
+-if ac_fn_c_try_link "$LINENO"; then :
+- gcc_cv_cloog_type="PPL"
+-else
+- gcc_cv_cloog_type=no
+-fi
+-rm -f core conftest.err conftest.$ac_objext \
+- conftest$ac_exeext conftest.$ac_ext
+-fi
+-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog_type" >&5
+-$as_echo "$gcc_cv_cloog_type" >&6; }
+- ;;
+- *)
+- gcc_cv_cloog_type=""
+- esac
+-
+- case $gcc_cv_cloog_type in
+- "PPL Legacy")
+- clooginc="${clooginc}"
+- clooglibs="${clooglibs} -lcloog"
+- cloog_org=no
+- ;;
+- "ISL")
+- clooginc="${clooginc} ${_cloogorginc}"
+- clooglibs="${clooglibs} -lcloog-isl -lisl"
+- cloog_org=yes
+- ;;
+- "PPL")
+- clooginc="${clooginc} ${_cloogorginc}"
+- clooglibs="${clooglibs} -lcloog-ppl"
+- cloog_org=yes
+- ;;
+- *)
+- clooglibs=
+- clooginc=
+- cloog_org=
+- ;;
+- esac
+-
+- LIBS=$_cloog_saved_LIBS
+- CFLAGS=$_cloog_saved_CFLAGS
+- CPPFLAGS=$_cloog_saved_CPPFLAGS
+- LDFLAGS=$_cloog_saved_LDFLAGS
++ clooginc="-DCLOOG_INT_GMP ${clooginc}"
++ clooglibs="${clooglibs} -lcloog-isl ${isllibs} -lisl"
+
+
+
+@@ -5961,24 +5838,23 @@
+ _cloog_saved_CFLAGS=$CFLAGS
+ _cloog_saved_LDFLAGS=$LDFLAGS
+
+- CFLAGS="${_cloog_saved_CFLAGS} ${clooginc} ${pplinc} ${gmpinc}"
+- LDFLAGS="${_cloog_saved_LDFLAGS} ${clooglibs} ${ppllibs}"
++ CFLAGS="${_cloog_saved_CFLAGS} ${clooginc} ${islinc} ${gmpinc}"
++ LDFLAGS="${_cloog_saved_LDFLAGS} ${clooglibs} ${isllibs} ${gmplib}"
+
+- if test "${cloog_org}" = yes ; then
+- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.16.1 of CLooG" >&5
+-$as_echo_n "checking for version 0.16.1 of CLooG... " >&6; }
+-if test "${gcc_cv_cloog_ct_0_14_0+set}" = set; then :
++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.17.0 of CLooG" >&5
++$as_echo_n "checking for version 0.17.0 of CLooG... " >&6; }
++if test "${gcc_cv_cloog+set}" = set; then :
+ $as_echo_n "(cached) " >&6
+ else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ /* end confdefs.h. */
+-#include "cloog/cloog.h"
++#include "cloog/version.h"
+ int
+ main ()
+ {
+ #if CLOOG_VERSION_MAJOR != 0 \
+- || CLOOG_VERSION_MINOR != 16 \
+- || CLOOG_VERSION_REVISION < 1
++ || CLOOG_VERSION_MINOR != 17 \
++ || CLOOG_VERSION_REVISION < 0
+ choke me
+ #endif
+ ;
+@@ -5986,65 +5862,14 @@
+ }
+ _ACEOF
+ if ac_fn_c_try_compile "$LINENO"; then :
+- gcc_cv_cloog_ct_0_14_0=yes
++ gcc_cv_cloog=yes
+ else
+- gcc_cv_cloog_ct_0_14_0=no
++ gcc_cv_cloog=no
+ fi
+ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ fi
+-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog_ct_0_14_0" >&5
+-$as_echo "$gcc_cv_cloog_ct_0_14_0" >&6; }
+- elif test "${cloog_org}" = no ; then
+- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.15.5 (or later revision) of CLooG" >&5
+-$as_echo_n "checking for version 0.15.5 (or later revision) of CLooG... " >&6; }
+-if test "${gcc_cv_cloog_ct_0_15_5+set}" = set; then :
+- $as_echo_n "(cached) " >&6
+-else
+- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+-/* end confdefs.h. */
+-#include "cloog/cloog.h"
+-int
+-main ()
+-{
+-#if CLOOG_VERSION_MAJOR != 0 \
+- || CLOOG_VERSION_MINOR != 15 \
+- || CLOOG_VERSION_REVISION < 5
+- choke me
+- #endif
+- ;
+- return 0;
+-}
+-_ACEOF
+-if ac_fn_c_try_compile "$LINENO"; then :
+- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+-/* end confdefs.h. */
+-#include "cloog/cloog.h"
+-int
+-main ()
+-{
+-#if CLOOG_VERSION_MAJOR != 0 \
+- || CLOOG_VERSION_MINOR != 15 \
+- || CLOOG_VERSION_REVISION < 9
+- choke me
+- #endif
+- ;
+- return 0;
+-}
+-_ACEOF
+-if ac_fn_c_try_compile "$LINENO"; then :
+- gcc_cv_cloog_ct_0_15_5=yes
+-else
+- gcc_cv_cloog_ct_0_15_5="buggy but acceptable"
+-fi
+-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+-else
+- gcc_cv_cloog_ct_0_15_5=no
+-fi
+-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+-fi
+-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog_ct_0_15_5" >&5
+-$as_echo "$gcc_cv_cloog_ct_0_15_5" >&6; }
+- fi
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog" >&5
++$as_echo "$gcc_cv_cloog" >&6; }
+
+ CFLAGS=$_cloog_saved_CFLAGS
+ LDFLAGS=$_cloog_saved_LDFLAGS
+@@ -6068,9 +5893,7 @@
+
+
+
+- if test "${gcc_cv_cloog_ct_0_14_0}" = no \
+- || test "${gcc_cv_cloog_rt_0_14_0}" = no \
+- || test "${gcc_cv_cloog_ct_0_15_5}" = no; then
++ if test "${gcc_cv_cloog}" = no ; then
+ clooglibs=
+ clooginc=
+ fi
+@@ -6079,12 +5902,30 @@
+ && test "x${clooglibs}" = x \
+ && test "x${clooginc}" = x ; then
+
+- as_fn_error "Unable to find a usable CLooG. See config.log for details." "$LINENO" 5
++ as_fn_error "Unable to find a usable CLooG. See config.log for details." "$LINENO" 5
+ fi
+
+
++ fi
+ fi
+
++# If either the ISL or the CLooG check failed, disable builds of in-tree
++# variants of both
++if test "x$with_isl" = xno ||
++ test "x$with_cloog" = xno ||
++ test "x$gcc_cv_cloog" = xno ||
++ test "x$gcc_cv_isl" = xno; then
++ noconfigdirs="$noconfigdirs cloog isl"
++ islinc=
++ clooginc=
++ clooglibs=
++fi
++
++
++
++
++
++
+ # Check for LTO support.
+ # Check whether --enable-lto was given.
+ if test "${enable_lto+set}" = set; then :
+@@ -6145,7 +5986,7 @@
+
+
+
+-# By default, C is the only stage 1 language.
++# By default, C and C++ are the only stage 1 languages.
+ stage1_languages=,c,
+
+ # Target libraries that we bootstrap.
+@@ -6183,15 +6024,14 @@
+ ;;
+ esac
+
+- # If bootstrapping, then using --enable-build-with-cxx or
+- # --enable-build-poststage1-with-cxx requires enabling C++.
+- case ",$enable_languages,:,$ENABLE_BUILD_WITH_CXX,$ENABLE_BUILD_POSTSTAGE1_WITH_CXX,:$enable_bootstrap" in
+- *,c++,*:*:*) ;;
+- *:*,yes,*:yes)
++ # If bootstrapping, C++ must be enabled.
++ case ",$enable_languages,:$enable_bootstrap" in
++ *,c++,*:*) ;;
++ *:yes)
+ if test -f ${srcdir}/gcc/cp/config-lang.in; then
+ enable_languages="${enable_languages},c++"
+ else
+- as_fn_error "bootstrapping with --enable-build-with-cxx or --enable-build-poststage1-with-cxx requires c++ sources" "$LINENO" 5
++ as_fn_error "bootstrapping requires c++ sources" "$LINENO" 5
+ fi
+ ;;
+ esac
+@@ -6286,23 +6126,23 @@
+ fi
+
+ if test "$language" = "c++"; then
+- if test "$ENABLE_BUILD_WITH_CXX" = "yes" \
+- || test "$ENABLE_BUILD_POSTSTAGE1_WITH_CXX" = "yes"; then
+- boot_language=yes
+- fi
++ boot_language=yes
+ fi
+
++ add_this_lang=no
+ case ,${enable_languages}, in
+ *,${language},*)
+- # Language was explicitly selected; include it.
+- add_this_lang=yes
++ # Language was explicitly selected; include it
++ # unless it is C, which is enabled by default.
++ if test "$language" != "c"; then
++ add_this_lang=yes
++ fi
+ ;;
+ *,all,*)
+ # 'all' was selected, select it if it is a default language
+- add_this_lang=${build_by_default}
+- ;;
+- *)
+- add_this_lang=no
++ if test "$language" != "c"; then
++ add_this_lang=${build_by_default}
++ fi
+ ;;
+ esac
+
+@@ -6471,6 +6311,14 @@
+ ;;
+ esac
+
++# Disable libitm if we're not building C++
++case ,${enable_languages}, in
++ *,c++,*) ;;
++ *)
++ noconfigdirs="$noconfigdirs target-libitm"
++ ;;
++esac
++
+ # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
+ # $build_configdirs and $target_configdirs.
+ # If we have the source for $noconfigdirs entries, add them to $notsupp.
+@@ -6666,11 +6514,11 @@
+ CFLAGS_FOR_TARGET=$CFLAGS
+ case " $CFLAGS " in
+ *" -O2 "*) ;;
+- *) CFLAGS_FOR_TARGET="-O2 $CFLAGS" ;;
++ *) CFLAGS_FOR_TARGET="-O2 $CFLAGS_FOR_TARGET" ;;
+ esac
+ case " $CFLAGS " in
+ *" -g "* | *" -g3 "*) ;;
+- *) CFLAGS_FOR_TARGET="-g $CFLAGS" ;;
++ *) CFLAGS_FOR_TARGET="-g $CFLAGS_FOR_TARGET" ;;
+ esac
+ fi
+
+@@ -6679,11 +6527,11 @@
+ CXXFLAGS_FOR_TARGET=$CXXFLAGS
+ case " $CXXFLAGS " in
+ *" -O2 "*) ;;
+- *) CXXFLAGS_FOR_TARGET="-O2 $CXXFLAGS" ;;
++ *) CXXFLAGS_FOR_TARGET="-O2 $CXXFLAGS_FOR_TARGET" ;;
+ esac
+ case " $CXXFLAGS " in
+ *" -g "* | *" -g3 "*) ;;
+- *) CXXFLAGS_FOR_TARGET="-g $CXXFLAGS" ;;
++ *) CXXFLAGS_FOR_TARGET="-g $CXXFLAGS_FOR_TARGET" ;;
+ esac
+ fi
+
+@@ -6818,7 +6666,7 @@
+ spu-*-*)
+ target_makefile_frag="config/mt-spu"
+ ;;
+- mips*-sde-elf*)
++ mips*-sde-elf* | mips*-mti-elf*)
+ target_makefile_frag="config/mt-sde"
+ ;;
+ mipsisa*-*-elfoabi*)
+@@ -6837,10 +6685,6 @@
+ extra_arflags_for_target=" -X32_64"
+ extra_nmflags_for_target=" -B -X32_64"
+ ;;
+- *-*-darwin[3-9]*)
+- # ranlib before Darwin10 requires the -c flag to look at common symbols.
+- extra_ranlibflags_for_target=" -c"
+- ;;
+ esac
+
+ alphaieee_frag=/dev/null
+@@ -6873,18 +6717,6 @@
+ ;;
+ esac
+
+-# Default to using --with-stabs for certain targets.
+-if test x${with_stabs} = x ; then
+- case "${target}" in
+- mips*-*-irix[56]*)
+- ;;
+- mips*-*-* | alpha*-*-osf*)
+- with_stabs=yes;
+- extra_host_args="${extra_host_args} --with-stabs"
+- ;;
+- esac
+-fi
+-
+ # Some systems (e.g., one of the i386-aix systems the gas testers are
+ # using) don't handle "\$" correctly, so don't use it here.
+ tooldir='${exec_prefix}'/${target_noncanonical}
+@@ -7222,7 +7054,7 @@
+
+
+ case $lib in
+- mpc | mpfr | gmp | ppl | cloog)
++ mpc | mpfr | gmp | cloog)
+ # If we're processing --with-$lib, --with-$lib-include or
+ # --with-$lib-lib, for one of the libs above, and target is
+ # different from host, don't pass the current argument to any
+@@ -14385,43 +14217,6 @@
+ esac ;;
+ esac
+
+-# This is aimed to mimic bootstrap with a non-GCC compiler to catch problems.
+-if test "$GCC" = yes -a "$ENABLE_BUILD_WITH_CXX" != yes; then
+- saved_CFLAGS="$CFLAGS"
+-
+- # Pass -fkeep-inline-functions for stage 1 if the GCC version supports it.
+- CFLAGS="$CFLAGS -fkeep-inline-functions"
+- { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -fkeep-inline-functions is supported" >&5
+-$as_echo_n "checking whether -fkeep-inline-functions is supported... " >&6; }
+- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+-/* end confdefs.h. */
+-
+-#if (__GNUC__ < 3) \
+- || (__GNUC__ == 3 && (__GNUC_MINOR__ < 3 \
+- || (__GNUC_MINOR__ == 3 && __GNUC_PATCHLEVEL__ < 1)))
+-#error http://gcc.gnu.org/PR29382
+-#endif
+-
+-int
+-main ()
+-{
+-
+- ;
+- return 0;
+-}
+-_ACEOF
+-if ac_fn_c_try_compile "$LINENO"; then :
+- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+-$as_echo "yes" >&6; }; stage1_cflags="$stage1_cflags -fkeep-inline-functions"
+-else
+- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+-$as_echo "no" >&6; }
+-fi
+-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+-
+- CFLAGS="$saved_CFLAGS"
+-fi
+-
+
+
+ # Enable --enable-checking in stage1 of the compiler.
+@@ -14456,24 +14251,13 @@
+ esac
+
+
+-# If using ENABLE_BUILD_POSTSTAGE1_WITH_CXX, pass
+-# --enable-build-with-cxx after stage1.
+-if test "$ENABLE_BUILD_POSTSTAGE1_WITH_CXX" = "yes"; then
+- POSTSTAGE1_CONFIGURE_FLAGS=--enable-build-with-cxx
+-else
+- POSTSTAGE1_CONFIGURE_FLAGS=
+-fi
+-
+-
+ # Specify what files to not compare during bootstrap.
+
+ compare_exclusions="gcc/cc*-checksum\$(objext) | gcc/ada/*tools/*"
+ case "$target" in
+ hppa*64*-*-hpux*) ;;
+ hppa*-*-hpux*) compare_exclusions="gcc/cc*-checksum\$(objext) | */libgcc/lib2funcs* | gcc/ada/*tools/*" ;;
+-esac
+-case " $configdirs " in
+-*" ppl "*) compare_exclusions="$compare_exclusions | ppl/src/ppl-config.o" ;;
++ powerpc*-ibm-aix*) compare_exclusions="gcc/cc*-checksum\$(objext) | gcc/ada/*tools/* | *libgomp*\$(objext)" ;;
+ esac
+
+
+diff -Naur newlib-1.20.0.orig/configure.ac newlib-1.20.0/configure.ac
+--- newlib-1.20.0.orig/configure.ac 2011-11-09 19:57:28.000000000 +0100
++++ newlib-1.20.0/configure.ac 2012-10-15 10:31:19.516619414 +0200
+@@ -1,5 +1,5 @@
+ # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
+-# 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
++# 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
+ # Free Software Foundation, Inc.
+ #
+ # This file is free software; you can redistribute it and/or modify it
+@@ -28,6 +28,7 @@
+ m4_include([ltsugar.m4])
+ m4_include([ltversion.m4])
+ m4_include([lt~obsolete.m4])
++m4_include([config/isl.m4])
+ m4_include([config/cloog.m4])
+
+ AC_INIT(move-if-change)
+@@ -132,7 +133,7 @@
+
+ # these libraries are used by various programs built for the host environment
+ #
+-host_libs="intl libiberty opcodes bfd readline tcl tk itcl libgui zlib libcpp libdecnumber gmp mpfr mpc ppl cloog libelf libiconv"
++host_libs="intl libiberty opcodes bfd readline tcl tk itcl libgui zlib libbacktrace libcpp libdecnumber gmp mpfr mpc isl cloog libelf libiconv"
+
+ # these tools are built for the host environment
+ # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
+@@ -151,9 +152,11 @@
+ # the host libraries and the host tools (which may be a cross compiler)
+ # Note that libiberty is not a target library.
+ target_libraries="target-libgcc \
++ target-libbacktrace \
+ target-libgloss \
+ target-newlib \
+ target-libgomp \
++ target-libatomic \
+ target-libitm \
+ target-libstdc++-v3 \
+ target-libmudflap \
+@@ -326,7 +329,7 @@
+ if test "$is_elf" = "yes"; then
+ # Check for target supported by gold.
+ case "${target}" in
+- i?86-*-* | x86_64-*-* | sparc*-*-* | powerpc*-*-* | arm*-*-*)
++ i?86-*-* | x86_64-*-* | sparc*-*-* | powerpc*-*-* | arm*-*-* | tilegx*-*-*)
+ configdirs="$configdirs gold"
+ if test x${ENABLE_GOLD} = xdefault; then
+ default_ld=gold
+@@ -483,7 +486,7 @@
+ ;;
+ *-*-netbsd* | *-*-freebsd* | *-*-openbsd* | *-*-dragonfly*)
+ ;;
+- *-*-solaris2* | *-*-irix6* | *-*-osf* | *-*-hpux11*)
++ *-*-solaris2* | *-*-hpux11*)
+ ;;
+ *-*-darwin* | *-*-aix*)
+ ;;
+@@ -493,6 +496,22 @@
+ esac
+ fi
+
++# Disable libatomic on unsupported systems.
++if test -d ${srcdir}/libatomic; then
++ if test x$enable_libatomic = x; then
++ AC_MSG_CHECKING([for libatomic support])
++ if (srcdir=${srcdir}/libatomic; \
++ . ${srcdir}/configure.tgt; \
++ test -n "$UNSUPPORTED")
++ then
++ AC_MSG_RESULT([no])
++ noconfigdirs="$noconfigdirs target-libatomic"
++ else
++ AC_MSG_RESULT([yes])
++ fi
++ fi
++fi
++
+ # Disable libitm on unsupported systems.
+ if test -d ${srcdir}/libitm; then
+ if test x$enable_libitm = x; then
+@@ -509,6 +528,15 @@
+ fi
+ fi
+
++# Disable libquadmath for some systems.
++case "${target}" in
++ # libquadmath is unused on AIX and libquadmath build process use of
++ # LD_LIBRARY_PATH can break AIX bootstrap.
++ powerpc-*-aix* | rs6000-*-aix*)
++ noconfigdirs="$noconfigdirs target-libquadmath"
++ ;;
++esac
++
+ # Disable libssp for some systems.
+ case "${target}" in
+ avr-*-*)
+@@ -519,11 +547,20 @@
+ noconfigdirs="$noconfigdirs target-libssp"
+ ;;
+ rl78-*-*)
+- # Dereferencing -1 is a compile-time error
++ # libssp uses a misaligned load to trigger a fault, but the RL78
++ # doesn't fault for those - instead, it gives a build-time error
++ # for explicit misaligned loads.
+ noconfigdirs="$noconfigdirs target-libssp"
+ ;;
+ esac
+
++# Disable libquadmath for some systems.
++case "${target}" in
++ avr-*-*)
++ noconfigdirs="$noconfigdirs target-libquadmath"
++ ;;
++esac
++
+ # Disable libstdc++-v3 for some systems.
+ case "${target}" in
+ *-*-vxworks*)
+@@ -569,7 +606,7 @@
+ ;;
+ m68k-*-*)
+ ;;
+- mips-sgi-irix6.* | mips*-*-rtems*)
++ mips*-*-rtems*)
+ ;;
+ mips*-*-linux*)
+ ;;
+@@ -685,13 +722,6 @@
+ rs6000-*-aix*)
+ noconfigdirs="$noconfigdirs ${libgcj}"
+ ;;
+- mips*-*-irix6*)
+- # Linking libjava exceeds command-line length limits on at least
+- # IRIX 6.2, but not on IRIX 6.5.
+- # Also, boehm-gc won't build on IRIX 6.5, according to Jeffrey Oldham
+- # <oldham@codesourcery.com>
+- noconfigdirs="$noconfigdirs ${libgcj}"
+- ;;
+ *-*-lynxos*)
+ noconfigdirs="$noconfigdirs ${libgcj}"
+ ;;
+@@ -871,15 +901,19 @@
+ arm-*-riscix*)
+ noconfigdirs="$noconfigdirs ld target-libgloss"
+ ;;
++ avr-*-rtems*)
++ ;;
++ avr-*-*)
++ if test x${with_avrlibc} != xno; then
++ noconfigdirs="$noconfigdirs target-newlib target-libgloss"
++ fi
++ ;;
+ c4x-*-* | tic4x-*-*)
+ noconfigdirs="$noconfigdirs target-libgloss"
+ ;;
+ tic54x-*-*)
+ noconfigdirs="$noconfigdirs target-libgloss gdb"
+ ;;
+- cr16-*-*)
+- noconfigdirs="$noconfigdirs gdb"
+- ;;
+ d10v-*-*)
+ noconfigdirs="$noconfigdirs target-libgloss"
+ ;;
+@@ -929,8 +963,8 @@
+ noconfigdirs="$noconfigdirs libgui itcl ld"
+ ;;
+ ia64*-*-*vms*)
+- # No gdb or ld support yet.
+- noconfigdirs="$noconfigdirs readline libgui itcl gdb ld"
++ # No ld support yet.
++ noconfigdirs="$noconfigdirs libgui itcl ld"
+ ;;
+ i[[3456789]]86-w64-mingw*)
+ ;;
+@@ -1008,7 +1042,7 @@
+ microblaze*)
+ noconfigdirs="$noconfigdirs gprof"
+ ;;
+- mips*-sde-elf*)
++ mips*-sde-elf* | mips*-mti-elf*)
+ if test x$with_newlib = xyes; then
+ noconfigdirs="$noconfigdirs gprof"
+ fi
+@@ -1075,9 +1109,6 @@
+ *-mingw*)
+ host_makefile_frag="config/mh-mingw"
+ ;;
+- *-interix*)
+- host_makefile_frag="config/mh-interix"
+- ;;
+ hppa*-hp-hpux10*)
+ host_makefile_frag="config/mh-pa-hpux10"
+ ;;
+@@ -1197,20 +1228,6 @@
+ ;;
+ esac
+
+-# See if we are building gcc with C++.
+-AC_ARG_ENABLE(build-with-cxx,
+-[AS_HELP_STRING([--enable-build-with-cxx],
+- [build with C++ compiler instead of C compiler])],
+-ENABLE_BUILD_WITH_CXX=$enableval,
+-ENABLE_BUILD_WITH_CXX=no)
+-
+-# Build stage1 with C and build stages 2 and 3 with C++.
+-AC_ARG_ENABLE(build-poststage1-with-cxx,
+-[AS_HELP_STRING([--enable-build-poststage1-with-cxx],
+- [build stages 2 and 3 with C++, not C])],
+-ENABLE_BUILD_POSTSTAGE1_WITH_CXX=$enableval,
+-ENABLE_BUILD_POSTSTAGE1_WITH_CXX=yes)
+-
+ # Used for setting $lt_cv_objdir
+ _LT_CHECK_OBJDIR
+
+@@ -1283,9 +1300,16 @@
+ gmplibs="-L$with_mpfr_lib $gmplibs"
+ fi
+ if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x && test -d ${srcdir}/mpfr; then
+- gmplibs='-L$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir $gmplibs"
+- gmpinc='-I$$r/$(HOST_SUBDIR)/mpfr -I$$s/mpfr '"$gmpinc"
+- extra_mpc_mpfr_configure_flags='--with-mpfr-include=$$s/mpfr --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir"
++ # MPFR v3.1.0 moved the sources into a src sub-directory.
++ if test -d ${srcdir}/mpfr/src; then
++ gmplibs='-L$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir $gmplibs"
++ gmpinc='-I$$r/$(HOST_SUBDIR)/mpfr/src -I$$s/mpfr/src '"$gmpinc"
++ extra_mpc_mpfr_configure_flags='--with-mpfr-include=$$s/mpfr/src --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir"
++ else
++ gmplibs='-L$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir $gmplibs"
++ gmpinc='-I$$r/$(HOST_SUBDIR)/mpfr -I$$s/mpfr '"$gmpinc"
++ extra_mpc_mpfr_configure_flags='--with-mpfr-include=$$s/mpfr --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir"
++ fi
+ # Do not test the mpfr version. Assume that it is sufficient, since
+ # it is in the source tree, and the library has not been built yet
+ # but it would be included on the link line in the version check below
+@@ -1327,6 +1351,7 @@
+ gmpinc='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
+ extra_mpfr_configure_flags='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
+ extra_mpc_gmp_configure_flags='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
++ extra_isl_gmp_configure_flags='--with-gmp-builddir=$$r/$(HOST_SUBDIR)/gmp'
+ # Do not test the gmp version. Assume that it is sufficient, since
+ # it is in the source tree, and the library has not been built yet
+ # but it would be included on the link line in the version check below
+@@ -1343,7 +1368,7 @@
+ AC_TRY_COMPILE([#include "gmp.h"],[
+ #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
+ #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
+- #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,2,0)
++ #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,2,3)
+ choke me
+ #endif
+ ], [AC_TRY_COMPILE([#include <gmp.h>],[
+@@ -1361,7 +1386,7 @@
+ AC_MSG_CHECKING([for the correct version of mpfr.h])
+ AC_TRY_COMPILE([#include <gmp.h>
+ #include <mpfr.h>],[
+- #if MPFR_VERSION < MPFR_VERSION_NUM(2,3,1)
++ #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,0)
+ choke me
+ #endif
+ ], [AC_TRY_COMPILE([#include <gmp.h>
+@@ -1421,7 +1446,7 @@
+ # The library versions listed in the error message below should match
+ # the HARD-minimums enforced above.
+ if test x$have_gmp != xyes; then
+- AC_MSG_ERROR([Building GCC requires GMP 4.2+, MPFR 2.3.1+ and MPC 0.8.0+.
++ AC_MSG_ERROR([Building GCC requires GMP 4.2+, MPFR 2.4.0+ and MPC 0.8.0+.
+ Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
+ their locations. Source code for these libraries can be found at
+ their respective hosting sites as well as at
+@@ -1439,6 +1464,7 @@
+ AC_SUBST(extra_mpfr_configure_flags)
+ AC_SUBST(extra_mpc_gmp_configure_flags)
+ AC_SUBST(extra_mpc_mpfr_configure_flags)
++AC_SUBST(extra_isl_gmp_configure_flags)
+
+ # Allow host libstdc++ to be specified for static linking with PPL.
+ AC_ARG_WITH(host-libstdcxx,
+@@ -1504,118 +1530,70 @@
+ fi])
+ AC_SUBST(poststage1_ldflags)
+
+-# Check for PPL
+-ppllibs=
+-pplinc=
+-pwllib=
+-
+-AC_ARG_WITH(ppl,
+-[AS_HELP_STRING([--with-ppl=PATH],
+- [specify prefix directory for the installed PPL package.
+- Equivalent to --with-ppl-include=PATH/include
+- plus --with-ppl-lib=PATH/lib])])
+-AC_ARG_WITH(ppl-include,
+-[AS_HELP_STRING([--with-ppl-include=PATH],
+- [specify directory for installed PPL include files])])
+-AC_ARG_WITH(ppl-lib,
+-[AS_HELP_STRING([--with-ppl-lib=PATH],
+- [specify directory for the installed PPL library])])
+-
+-AC_ARG_ENABLE(ppl-version-check,
+-[AS_HELP_STRING([--disable-ppl-version-check],
+- [disable check for PPL version])])
+-
+-case $with_ppl in
+- yes | no | "")
+- ;;
+- *)
+- ppllibs="-L$with_ppl/lib"
+- pplinc="-I$with_ppl/include $pplinc"
+- if test -d "$with_ppl/lib" && test -d "$with_ppl/include"; then
+- with_ppl=yes
+- else
+- AC_MSG_ERROR([cannot find directories "$with_ppl/lib" or "$with_ppl/include"])
+- fi
+- ;;
+-esac
+-
+-if test x"$with_ppl_include" != x; then
+- pplinc="-I$with_ppl_include $pplinc"
+- with_ppl=yes
+-fi
+-
+-if test "x$with_ppl_lib" != x; then
+- ppllibs="-L$with_ppl_lib"
+- with_ppl=yes
+-fi
+-
+-if test x"$with_ppl$with_ppl_include$with_ppl_lib" = x && test -d ${srcdir}/ppl; then
+- if test x"$enable_watchdog" = xyes; then
+- pwllib="-lpwl"
+- fi
+- ppllibs='-L$$r/$(HOST_SUBDIR)/ppl/interfaces/C/'"$lt_cv_objdir"' -L$$r/$(HOST_SUBDIR)/ppl/src/'"$lt_cv_objdir"
+- pplinc='-I$$r/$(HOST_SUBDIR)/ppl/src -I$$r/$(HOST_SUBDIR)/ppl/interfaces/C '
+- enable_ppl_version_check=no
+- with_ppl=yes
+-fi
+-
+-if test "x$with_ppl" != xno; then
+- if test "x$pwllib" = x; then
+- saved_LIBS="$LIBS"
+- LIBS="$LIBS $ppllibs -lstdc++ -lm"
+- AC_CHECK_LIB(pwl, PWL_handle_timeout, [pwllib="-lpwl"])
+- LIBS="$saved_LIBS"
+- fi
+-
+- ppllibs="$ppllibs -lppl_c -lppl $pwllib -lgmpxx"
+-
+- if test "$enable_ppl_version_check" != no; then
+- saved_CFLAGS="$CFLAGS"
+- CFLAGS="$CFLAGS $pplinc $gmpinc"
+- AC_MSG_CHECKING([for version 0.11 (revision 0 or later) of PPL])
+- AC_TRY_COMPILE([#include "ppl_c.h"],[
+- #if PPL_VERSION_MAJOR != 0 || PPL_VERSION_MINOR < 11
+- choke me
+- #endif
+- ], [AC_MSG_RESULT([yes])], [AC_MSG_RESULT([no]); ppllibs= ; pplinc= ; with_ppl=no ])
+- CFLAGS="$saved_CFLAGS"
++# GCC GRAPHITE dependences, ISL and CLOOG which in turn requires ISL.
++# Basic setup is inlined here, actual checks are in config/cloog.m4 and
++# config/isl.m4
++
++AC_ARG_WITH(cloog,
++ [AS_HELP_STRING(
++ [--with-cloog=PATH],
++ [Specify prefix directory for the installed CLooG-ISL package.
++ Equivalent to --with-cloog-include=PATH/include
++ plus --with-cloog-lib=PATH/lib])])
++AC_ARG_WITH(isl,
++ [AS_HELP_STRING(
++ [--with-isl=PATH],
++ [Specify prefix directory for the installed ISL package.
++ Equivalent to --with-isl-include=PATH/include
++ plus --with-isl-lib=PATH/lib])])
++
++# Treat either --without-cloog or --without-isl as a request to disable
++# GRAPHITE support and skip all following checks.
++if test "x$with_isl" != "xno" &&
++ test "x$with_cloog" != "xno"; then
++ # Check for ISL
++ dnl Provide configure switches and initialize islinc & isllibs
++ dnl with user input.
++ ISL_INIT_FLAGS
++ dnl The minimal version of ISL required for Graphite.
++ ISL_CHECK_VERSION(0,10)
++ dnl Only execute fail-action, if ISL has been requested.
++ ISL_IF_FAILED([
++ AC_MSG_ERROR([Unable to find a usable ISL. See config.log for details.])])
++
++ if test "x$gcc_cv_isl" != "xno"; then
++ # Check for CLOOG
++ dnl Provide configure switches and initialize clooginc & clooglibs
++ dnl with user input.
++ CLOOG_INIT_FLAGS
++ dnl The minimal version of CLooG required for Graphite.
++ dnl
++ dnl If we use CLooG-Legacy, the provided version information is
++ dnl ignored.
++ CLOOG_CHECK_VERSION(0,17,0)
++
++ dnl Only execute fail-action, if CLooG has been requested.
++ CLOOG_IF_FAILED([
++ AC_MSG_ERROR([Unable to find a usable CLooG. See config.log for details.])])
+ fi
+ fi
+
+-# Flags needed for PPL
+-AC_SUBST(ppllibs)
+-AC_SUBST(pplinc)
+-
++# If either the ISL or the CLooG check failed, disable builds of in-tree
++# variants of both
++if test "x$with_isl" = xno ||
++ test "x$with_cloog" = xno ||
++ test "x$gcc_cv_cloog" = xno ||
++ test "x$gcc_cv_isl" = xno; then
++ noconfigdirs="$noconfigdirs cloog isl"
++ islinc=
++ clooginc=
++ clooglibs=
++fi
++
++AC_SUBST(islinc)
++AC_SUBST(clooglibs)
++AC_SUBST(clooginc)
+
+-# Check for CLOOG
+-
+-dnl Provide configure switches and initialize clooginc & clooglibs
+-dnl with user input.
+-CLOOG_INIT_FLAGS
+-if test "x$with_ppl" = "xno"; then
+- dnl Only execute fail-action, if CLooG has been requested.
+- CLOOG_REQUESTED([graphite_requested=yes], [graphite_requested=no])
+- if test "${graphite_requested}" = yes; then
+- AC_MSG_ERROR([Unable to find a usable PPL. See config.log for details.])
+- fi
+- with_cloog=no
+-fi
+-if test "x${with_cloog}" = x && test "x${with_cloog_include}" = x \
+- && test "x${with_cloog_lib}" = x && test -d ${srcdir}/cloog; then
+- clooglibs='-L$$r/$(HOST_SUBDIR)/cloog/'"$lt_cv_objdir"' '
+- clooginc='-I$$r/$(HOST_SUBDIR)/cloog/include -I$$s/cloog/include '
+-fi
+-if test "x$with_cloog" != "xno"; then
+- dnl The minimal version of CLooG required for Graphite.
+- dnl
+- dnl If we use CLooG-Legacy, the provided version information is
+- dnl ignored.
+- CLOOG_CHECK_VERSION(0,16,1)
+-
+- dnl Only execute fail-action, if CLooG has been requested.
+- CLOOG_IF_FAILED([
+- AC_MSG_ERROR([Unable to find a usable CLooG. See config.log for details.])])
+-fi
+
+ # Check for LTO support.
+ AC_ARG_ENABLE(lto,
+@@ -1654,7 +1632,7 @@
+ ])
+
+
+-# By default, C is the only stage 1 language.
++# By default, C and C++ are the only stage 1 languages.
+ stage1_languages=,c,
+
+ # Target libraries that we bootstrap.
+@@ -1692,15 +1670,14 @@
+ ;;
+ esac
+
+- # If bootstrapping, then using --enable-build-with-cxx or
+- # --enable-build-poststage1-with-cxx requires enabling C++.
+- case ",$enable_languages,:,$ENABLE_BUILD_WITH_CXX,$ENABLE_BUILD_POSTSTAGE1_WITH_CXX,:$enable_bootstrap" in
+- *,c++,*:*:*) ;;
+- *:*,yes,*:yes)
++ # If bootstrapping, C++ must be enabled.
++ case ",$enable_languages,:$enable_bootstrap" in
++ *,c++,*:*) ;;
++ *:yes)
+ if test -f ${srcdir}/gcc/cp/config-lang.in; then
+ enable_languages="${enable_languages},c++"
+ else
+- AC_MSG_ERROR([bootstrapping with --enable-build-with-cxx or --enable-build-poststage1-with-cxx requires c++ sources])
++ AC_MSG_ERROR([bootstrapping requires c++ sources])
+ fi
+ ;;
+ esac
+@@ -1795,23 +1772,23 @@
+ fi
+
+ if test "$language" = "c++"; then
+- if test "$ENABLE_BUILD_WITH_CXX" = "yes" \
+- || test "$ENABLE_BUILD_POSTSTAGE1_WITH_CXX" = "yes"; then
+- boot_language=yes
+- fi
++ boot_language=yes
+ fi
+
++ add_this_lang=no
+ case ,${enable_languages}, in
+ *,${language},*)
+- # Language was explicitly selected; include it.
+- add_this_lang=yes
++ # Language was explicitly selected; include it
++ # unless it is C, which is enabled by default.
++ if test "$language" != "c"; then
++ add_this_lang=yes
++ fi
+ ;;
+ *,all,*)
+ # 'all' was selected, select it if it is a default language
+- add_this_lang=${build_by_default}
+- ;;
+- *)
+- add_this_lang=no
++ if test "$language" != "c"; then
++ add_this_lang=${build_by_default}
++ fi
+ ;;
+ esac
+
+@@ -1980,6 +1957,14 @@
+ ;;
+ esac
+
++# Disable libitm if we're not building C++
++case ,${enable_languages}, in
++ *,c++,*) ;;
++ *)
++ noconfigdirs="$noconfigdirs target-libitm"
++ ;;
++esac
++
+ # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
+ # $build_configdirs and $target_configdirs.
+ # If we have the source for $noconfigdirs entries, add them to $notsupp.
+@@ -2124,11 +2109,11 @@
+ CFLAGS_FOR_TARGET=$CFLAGS
+ case " $CFLAGS " in
+ *" -O2 "*) ;;
+- *) CFLAGS_FOR_TARGET="-O2 $CFLAGS" ;;
++ *) CFLAGS_FOR_TARGET="-O2 $CFLAGS_FOR_TARGET" ;;
+ esac
+ case " $CFLAGS " in
+ *" -g "* | *" -g3 "*) ;;
+- *) CFLAGS_FOR_TARGET="-g $CFLAGS" ;;
++ *) CFLAGS_FOR_TARGET="-g $CFLAGS_FOR_TARGET" ;;
+ esac
+ fi
+ AC_SUBST(CFLAGS_FOR_TARGET)
+@@ -2137,11 +2122,11 @@
+ CXXFLAGS_FOR_TARGET=$CXXFLAGS
+ case " $CXXFLAGS " in
+ *" -O2 "*) ;;
+- *) CXXFLAGS_FOR_TARGET="-O2 $CXXFLAGS" ;;
++ *) CXXFLAGS_FOR_TARGET="-O2 $CXXFLAGS_FOR_TARGET" ;;
+ esac
+ case " $CXXFLAGS " in
+ *" -g "* | *" -g3 "*) ;;
+- *) CXXFLAGS_FOR_TARGET="-g $CXXFLAGS" ;;
++ *) CXXFLAGS_FOR_TARGET="-g $CXXFLAGS_FOR_TARGET" ;;
+ esac
+ fi
+ AC_SUBST(CXXFLAGS_FOR_TARGET)
+@@ -2276,7 +2261,7 @@
+ spu-*-*)
+ target_makefile_frag="config/mt-spu"
+ ;;
+- mips*-sde-elf*)
++ mips*-sde-elf* | mips*-mti-elf*)
+ target_makefile_frag="config/mt-sde"
+ ;;
+ mipsisa*-*-elfoabi*)
+@@ -2295,10 +2280,6 @@
+ extra_arflags_for_target=" -X32_64"
+ extra_nmflags_for_target=" -B -X32_64"
+ ;;
+- *-*-darwin[[3-9]]*)
+- # ranlib before Darwin10 requires the -c flag to look at common symbols.
+- extra_ranlibflags_for_target=" -c"
+- ;;
+ esac
+
+ alphaieee_frag=/dev/null
+@@ -2331,18 +2312,6 @@
+ ;;
+ esac
+
+-# Default to using --with-stabs for certain targets.
+-if test x${with_stabs} = x ; then
+- case "${target}" in
+- mips*-*-irix[[56]]*)
+- ;;
+- mips*-*-* | alpha*-*-osf*)
+- with_stabs=yes;
+- extra_host_args="${extra_host_args} --with-stabs"
+- ;;
+- esac
+-fi
+-
+ # Some systems (e.g., one of the i386-aix systems the gas testers are
+ # using) don't handle "\$" correctly, so don't use it here.
+ tooldir='${exec_prefix}'/${target_noncanonical}
+@@ -2676,7 +2645,7 @@
+ changequote([,])
+
+ case $lib in
+- mpc | mpfr | gmp | ppl | cloog)
++ mpc | mpfr | gmp | cloog)
+ # If we're processing --with-$lib, --with-$lib-include or
+ # --with-$lib-lib, for one of the libs above, and target is
+ # different from host, don't pass the current argument to any
+@@ -3193,26 +3162,6 @@
+ esac ;;
+ esac
+
+-# This is aimed to mimic bootstrap with a non-GCC compiler to catch problems.
+-if test "$GCC" = yes -a "$ENABLE_BUILD_WITH_CXX" != yes; then
+- saved_CFLAGS="$CFLAGS"
+-
+- # Pass -fkeep-inline-functions for stage 1 if the GCC version supports it.
+- CFLAGS="$CFLAGS -fkeep-inline-functions"
+- AC_MSG_CHECKING([whether -fkeep-inline-functions is supported])
+- AC_TRY_COMPILE([
+-#if (__GNUC__ < 3) \
+- || (__GNUC__ == 3 && (__GNUC_MINOR__ < 3 \
+- || (__GNUC_MINOR__ == 3 && __GNUC_PATCHLEVEL__ < 1)))
+-#error http://gcc.gnu.org/PR29382
+-#endif
+- ],,
+- [AC_MSG_RESULT([yes]); stage1_cflags="$stage1_cflags -fkeep-inline-functions"],
+- [AC_MSG_RESULT([no])])
+-
+- CFLAGS="$saved_CFLAGS"
+-fi
+-
+ AC_SUBST(stage1_cflags)
+
+ # Enable --enable-checking in stage1 of the compiler.
+@@ -3242,24 +3191,13 @@
+ esac
+ AC_SUBST(stage2_werror_flag)
+
+-# If using ENABLE_BUILD_POSTSTAGE1_WITH_CXX, pass
+-# --enable-build-with-cxx after stage1.
+-if test "$ENABLE_BUILD_POSTSTAGE1_WITH_CXX" = "yes"; then
+- POSTSTAGE1_CONFIGURE_FLAGS=--enable-build-with-cxx
+-else
+- POSTSTAGE1_CONFIGURE_FLAGS=
+-fi
+-AC_SUBST(POSTSTAGE1_CONFIGURE_FLAGS)
+-
+ # Specify what files to not compare during bootstrap.
+
+ compare_exclusions="gcc/cc*-checksum\$(objext) | gcc/ada/*tools/*"
+ case "$target" in
+ hppa*64*-*-hpux*) ;;
+ hppa*-*-hpux*) compare_exclusions="gcc/cc*-checksum\$(objext) | */libgcc/lib2funcs* | gcc/ada/*tools/*" ;;
+-esac
+-case " $configdirs " in
+-*" ppl "*) compare_exclusions="$compare_exclusions | ppl/src/ppl-config.o" ;;
++ powerpc*-ibm-aix*) compare_exclusions="gcc/cc*-checksum\$(objext) | gcc/ada/*tools/* | *libgomp*\$(objext)" ;;
+ esac
+ AC_SUBST(compare_exclusions)
+
+diff -Naur newlib-1.20.0.orig/COPYING.LIBGLOSS newlib-1.20.0/COPYING.LIBGLOSS
+--- newlib-1.20.0.orig/COPYING.LIBGLOSS 2011-12-15 23:59:14.000000000 +0100
++++ newlib-1.20.0/COPYING.LIBGLOSS 2012-10-15 10:31:19.475618752 +0200
+@@ -51,7 +51,7 @@
+ Copyright (C) 1993 DJ Delorie
+ All rights reserved.
+
+-Redistribution and use in source and binary forms is permitted
++Redistribution, modification, and use in source and binary forms is permitted
+ provided that the above copyright notice and following paragraph are
+ duplicated in all such forms.
+
+@@ -322,3 +322,29 @@
+ the executable file might be covered by the GNU General Public License.
+
+
++(17) - Adapteva, Inc. (epiphany-* targets)
++
++Copyright (c) 2011, Adapteva, Inc.
++All rights reserved.
++
++Redistribution and use in source and binary forms, with or without
++modification, are permitted provided that the following conditions are met:
++ * Redistributions of source code must retain the above copyright notice, this
++ list of conditions and the following disclaimer.
++ * Redistributions in binary form must reproduce the above copyright notice,
++ this list of conditions and the following disclaimer in the documentation
++ and/or other materials provided with the distribution.
++ * Neither the name of Adapteva nor the names of its contributors may be used
++ to endorse or promote products derived from this software without specific
++ prior written permission.
++
++THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
++ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
++WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
++DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
++FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
++DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
++SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
++CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
++OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
++OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+diff -Naur newlib-1.20.0.orig/COPYING.NEWLIB newlib-1.20.0/COPYING.NEWLIB
+--- newlib-1.20.0.orig/COPYING.NEWLIB 2010-12-02 21:05:11.000000000 +0100
++++ newlib-1.20.0/COPYING.NEWLIB 2012-10-15 10:31:19.475618752 +0200
+@@ -117,18 +117,9 @@
+ Austin, TX 78741
+ 800-292-9263
+
+-(5) C.W. Sandmann
++(5)
+
+-Copyright (C) 1993 C.W. Sandmann
+-
+-This file may be freely distributed as long as the author's name remains.
+-
+-(6) Eric Backus
+-
+-(C) Copyright 1992 Eric Backus
+-
+-This software may be used freely so long as this copyright notice is
+-left intact. There is no warrantee on this software.
++(6)
+
+ (7) Sun Microsystems
+
+@@ -416,7 +407,7 @@
+ Copyright (C) 1991 DJ Delorie
+ All rights reserved.
+
+-Redistribution and use in source and binary forms is permitted
++Redistribution, modification, and use in source and binary forms is permitted
+ provided that the above copyright notice and following paragraph are
+ duplicated in all such forms.
+
+@@ -877,3 +868,29 @@
+ the new terms are clearly indicated on the first page of each file where
+ they apply.
+
++(39) - Adapteva, Inc. (epiphany-* targets)
++
++Copyright (c) 2011, Adapteva, Inc.
++All rights reserved.
++
++Redistribution and use in source and binary forms, with or without
++modification, are permitted provided that the following conditions are met:
++ * Redistributions of source code must retain the above copyright notice, this
++ list of conditions and the following disclaimer.
++ * Redistributions in binary form must reproduce the above copyright notice,
++ this list of conditions and the following disclaimer in the documentation
++ and/or other materials provided with the distribution.
++ * Neither the name of Adapteva nor the names of its contributors may be used
++ to endorse or promote products derived from this software without specific
++ prior written permission.
++
++THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
++ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
++WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
++DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
++FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
++DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
++SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
++CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
++OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
++OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+diff -Naur newlib-1.20.0.orig/libgloss/aarch64/aclocal.m4 newlib-1.20.0/libgloss/aarch64/aclocal.m4
+--- newlib-1.20.0.orig/libgloss/aarch64/aclocal.m4 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/libgloss/aarch64/aclocal.m4 2012-10-15 10:31:19.520619476 +0200
+@@ -0,0 +1,404 @@
++# generated automatically by aclocal 1.11.1 -*- Autoconf -*-
++
++# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
++# 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
++# This file is free software; the Free Software Foundation
++# gives unlimited permission to copy and/or distribute it,
++# with or without modifications, as long as this notice is preserved.
++
++# This program is distributed in the hope that it will be useful,
++# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
++# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
++# PARTICULAR PURPOSE.
++
++# AM_CONDITIONAL -*- Autoconf -*-
++
++# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
++# Free Software Foundation, Inc.
++#
++# This file is free software; the Free Software Foundation
++# gives unlimited permission to copy and/or distribute it,
++# with or without modifications, as long as this notice is preserved.
++
++# serial 9
++
++# AM_CONDITIONAL(NAME, SHELL-CONDITION)
++# -------------------------------------
++# Define a conditional.
++AC_DEFUN([AM_CONDITIONAL],
++[AC_PREREQ(2.52)dnl
++ ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
++ [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
++AC_SUBST([$1_TRUE])dnl
++AC_SUBST([$1_FALSE])dnl
++_AM_SUBST_NOTMAKE([$1_TRUE])dnl
++_AM_SUBST_NOTMAKE([$1_FALSE])dnl
++m4_define([_AM_COND_VALUE_$1], [$2])dnl
++if $2; then
++ $1_TRUE=
++ $1_FALSE='#'
++else
++ $1_TRUE='#'
++ $1_FALSE=
++fi
++AC_CONFIG_COMMANDS_PRE(
++[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
++ AC_MSG_ERROR([[conditional "$1" was never defined.
++Usually this means the macro was only invoked conditionally.]])
++fi])])
++
++# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
++# Free Software Foundation, Inc.
++#
++# This file is free software; the Free Software Foundation
++# gives unlimited permission to copy and/or distribute it,
++# with or without modifications, as long as this notice is preserved.
++
++# serial 10
++
++# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
++# written in clear, in which case automake, when reading aclocal.m4,
++# will think it sees a *use*, and therefore will trigger all it's
++# C support machinery. Also note that it means that autoscan, seeing
++# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
++
++
++# _AM_DEPENDENCIES(NAME)
++# ----------------------
++# See how the compiler implements dependency checking.
++# NAME is "CC", "CXX", "GCJ", or "OBJC".
++# We try a few techniques and use that to set a single cache variable.
++#
++# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
++# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
++# dependency, and given that the user is not expected to run this macro,
++# just rely on AC_PROG_CC.
++AC_DEFUN([_AM_DEPENDENCIES],
++[AC_REQUIRE([AM_SET_DEPDIR])dnl
++AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
++AC_REQUIRE([AM_MAKE_INCLUDE])dnl
++AC_REQUIRE([AM_DEP_TRACK])dnl
++
++ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
++ [$1], CXX, [depcc="$CXX" am_compiler_list=],
++ [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
++ [$1], UPC, [depcc="$UPC" am_compiler_list=],
++ [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
++ [depcc="$$1" am_compiler_list=])
++
++AC_CACHE_CHECK([dependency style of $depcc],
++ [am_cv_$1_dependencies_compiler_type],
++[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
++ # We make a subdir and do the tests there. Otherwise we can end up
++ # making bogus files that we don't know about and never remove. For
++ # instance it was reported that on HP-UX the gcc test will end up
++ # making a dummy file named `D' -- because `-MD' means `put the output
++ # in D'.
++ mkdir conftest.dir
++ # Copy depcomp to subdir because otherwise we won't find it if we're
++ # using a relative directory.
++ cp "$am_depcomp" conftest.dir
++ cd conftest.dir
++ # We will build objects and dependencies in a subdirectory because
++ # it helps to detect inapplicable dependency modes. For instance
++ # both Tru64's cc and ICC support -MD to output dependencies as a
++ # side effect of compilation, but ICC will put the dependencies in
++ # the current directory while Tru64 will put them in the object
++ # directory.
++ mkdir sub
++
++ am_cv_$1_dependencies_compiler_type=none
++ if test "$am_compiler_list" = ""; then
++ am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
++ fi
++ am__universal=false
++ m4_case([$1], [CC],
++ [case " $depcc " in #(
++ *\ -arch\ *\ -arch\ *) am__universal=true ;;
++ esac],
++ [CXX],
++ [case " $depcc " in #(
++ *\ -arch\ *\ -arch\ *) am__universal=true ;;
++ esac])
++
++ for depmode in $am_compiler_list; do
++ # Setup a source with many dependencies, because some compilers
++ # like to wrap large dependency lists on column 80 (with \), and
++ # we should not choose a depcomp mode which is confused by this.
++ #
++ # We need to recreate these files for each test, as the compiler may
++ # overwrite some of them when testing with obscure command lines.
++ # This happens at least with the AIX C compiler.
++ : > sub/conftest.c
++ for i in 1 2 3 4 5 6; do
++ echo '#include "conftst'$i'.h"' >> sub/conftest.c
++ # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
++ # Solaris 8's {/usr,}/bin/sh.
++ touch sub/conftst$i.h
++ done
++ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
++
++ # We check with `-c' and `-o' for the sake of the "dashmstdout"
++ # mode. It turns out that the SunPro C++ compiler does not properly
++ # handle `-M -o', and we need to detect this. Also, some Intel
++ # versions had trouble with output in subdirs
++ am__obj=sub/conftest.${OBJEXT-o}
++ am__minus_obj="-o $am__obj"
++ case $depmode in
++ gcc)
++ # This depmode causes a compiler race in universal mode.
++ test "$am__universal" = false || continue
++ ;;
++ nosideeffect)
++ # after this tag, mechanisms are not by side-effect, so they'll
++ # only be used when explicitly requested
++ if test "x$enable_dependency_tracking" = xyes; then
++ continue
++ else
++ break
++ fi
++ ;;
++ msvisualcpp | msvcmsys)
++ # This compiler won't grok `-c -o', but also, the minuso test has
++ # not run yet. These depmodes are late enough in the game, and
++ # so weak that their functioning should not be impacted.
++ am__obj=conftest.${OBJEXT-o}
++ am__minus_obj=
++ ;;
++ none) break ;;
++ esac
++ if depmode=$depmode \
++ source=sub/conftest.c object=$am__obj \
++ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
++ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
++ >/dev/null 2>conftest.err &&
++ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
++ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
++ grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
++ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
++ # icc doesn't choke on unknown options, it will just issue warnings
++ # or remarks (even with -Werror). So we grep stderr for any message
++ # that says an option was ignored or not supported.
++ # When given -MP, icc 7.0 and 7.1 complain thusly:
++ # icc: Command line warning: ignoring option '-M'; no argument required
++ # The diagnosis changed in icc 8.0:
++ # icc: Command line remark: option '-MP' not supported
++ if (grep 'ignoring option' conftest.err ||
++ grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
++ am_cv_$1_dependencies_compiler_type=$depmode
++ break
++ fi
++ fi
++ done
++
++ cd ..
++ rm -rf conftest.dir
++else
++ am_cv_$1_dependencies_compiler_type=none
++fi
++])
++AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
++AM_CONDITIONAL([am__fastdep$1], [
++ test "x$enable_dependency_tracking" != xno \
++ && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
++])
++
++
++# AM_SET_DEPDIR
++# -------------
++# Choose a directory name for dependency files.
++# This macro is AC_REQUIREd in _AM_DEPENDENCIES
++AC_DEFUN([AM_SET_DEPDIR],
++[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
++AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
++])
++
++
++# AM_DEP_TRACK
++# ------------
++AC_DEFUN([AM_DEP_TRACK],
++[AC_ARG_ENABLE(dependency-tracking,
++[ --disable-dependency-tracking speeds up one-time build
++ --enable-dependency-tracking do not reject slow dependency extractors])
++if test "x$enable_dependency_tracking" != xno; then
++ am_depcomp="$ac_aux_dir/depcomp"
++ AMDEPBACKSLASH='\'
++fi
++AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
++AC_SUBST([AMDEPBACKSLASH])dnl
++_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
++])
++
++# Generate code to set up dependency tracking. -*- Autoconf -*-
++
++# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
++# Free Software Foundation, Inc.
++#
++# This file is free software; the Free Software Foundation
++# gives unlimited permission to copy and/or distribute it,
++# with or without modifications, as long as this notice is preserved.
++
++#serial 5
++
++# _AM_OUTPUT_DEPENDENCY_COMMANDS
++# ------------------------------
++AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
++[{
++ # Autoconf 2.62 quotes --file arguments for eval, but not when files
++ # are listed without --file. Let's play safe and only enable the eval
++ # if we detect the quoting.
++ case $CONFIG_FILES in
++ *\'*) eval set x "$CONFIG_FILES" ;;
++ *) set x $CONFIG_FILES ;;
++ esac
++ shift
++ for mf
++ do
++ # Strip MF so we end up with the name of the file.
++ mf=`echo "$mf" | sed -e 's/:.*$//'`
++ # Check whether this is an Automake generated Makefile or not.
++ # We used to match only the files named `Makefile.in', but
++ # some people rename them; so instead we look at the file content.
++ # Grep'ing the first line is not enough: some people post-process
++ # each Makefile.in and add a new line on top of each file to say so.
++ # Grep'ing the whole file is not good either: AIX grep has a line
++ # limit of 2048, but all sed's we know have understand at least 4000.
++ if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
++ dirpart=`AS_DIRNAME("$mf")`
++ else
++ continue
++ fi
++ # Extract the definition of DEPDIR, am__include, and am__quote
++ # from the Makefile without running `make'.
++ DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
++ test -z "$DEPDIR" && continue
++ am__include=`sed -n 's/^am__include = //p' < "$mf"`
++ test -z "am__include" && continue
++ am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
++ # When using ansi2knr, U may be empty or an underscore; expand it
++ U=`sed -n 's/^U = //p' < "$mf"`
++ # Find all dependency output files, they are included files with
++ # $(DEPDIR) in their names. We invoke sed twice because it is the
++ # simplest approach to changing $(DEPDIR) to its actual value in the
++ # expansion.
++ for file in `sed -n "
++ s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
++ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
++ # Make sure the directory exists.
++ test -f "$dirpart/$file" && continue
++ fdir=`AS_DIRNAME(["$file"])`
++ AS_MKDIR_P([$dirpart/$fdir])
++ # echo "creating $dirpart/$file"
++ echo '# dummy' > "$dirpart/$file"
++ done
++ done
++}
++])# _AM_OUTPUT_DEPENDENCY_COMMANDS
++
++
++# AM_OUTPUT_DEPENDENCY_COMMANDS
++# -----------------------------
++# This macro should only be invoked once -- use via AC_REQUIRE.
++#
++# This code is only required when automatic dependency tracking
++# is enabled. FIXME. This creates each `.P' file that we will
++# need in order to bootstrap the dependency handling code.
++AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
++[AC_CONFIG_COMMANDS([depfiles],
++ [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
++ [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
++])
++
++# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
++#
++# This file is free software; the Free Software Foundation
++# gives unlimited permission to copy and/or distribute it,
++# with or without modifications, as long as this notice is preserved.
++
++# serial 2
++
++# Check whether the underlying file-system supports filenames
++# with a leading dot. For instance MS-DOS doesn't.
++AC_DEFUN([AM_SET_LEADING_DOT],
++[rm -rf .tst 2>/dev/null
++mkdir .tst 2>/dev/null
++if test -d .tst; then
++ am__leading_dot=.
++else
++ am__leading_dot=_
++fi
++rmdir .tst 2>/dev/null
++AC_SUBST([am__leading_dot])])
++
++# Check to see how 'make' treats includes. -*- Autoconf -*-
++
++# Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc.
++#
++# This file is free software; the Free Software Foundation
++# gives unlimited permission to copy and/or distribute it,
++# with or without modifications, as long as this notice is preserved.
++
++# serial 4
++
++# AM_MAKE_INCLUDE()
++# -----------------
++# Check to see how make treats includes.
++AC_DEFUN([AM_MAKE_INCLUDE],
++[am_make=${MAKE-make}
++cat > confinc << 'END'
++am__doit:
++ @echo this is the am__doit target
++.PHONY: am__doit
++END
++# If we don't find an include directive, just comment out the code.
++AC_MSG_CHECKING([for style of include used by $am_make])
++am__include="#"
++am__quote=
++_am_result=none
++# First try GNU make style include.
++echo "include confinc" > confmf
++# Ignore all kinds of additional output from `make'.
++case `$am_make -s -f confmf 2> /dev/null` in #(
++*the\ am__doit\ target*)
++ am__include=include
++ am__quote=
++ _am_result=GNU
++ ;;
++esac
++# Now try BSD make style include.
++if test "$am__include" = "#"; then
++ echo '.include "confinc"' > confmf
++ case `$am_make -s -f confmf 2> /dev/null` in #(
++ *the\ am__doit\ target*)
++ am__include=.include
++ am__quote="\""
++ _am_result=BSD
++ ;;
++ esac
++fi
++AC_SUBST([am__include])
++AC_SUBST([am__quote])
++AC_MSG_RESULT([$_am_result])
++rm -f confinc confmf
++])
++
++# Copyright (C) 2006, 2008 Free Software Foundation, Inc.
++#
++# This file is free software; the Free Software Foundation
++# gives unlimited permission to copy and/or distribute it,
++# with or without modifications, as long as this notice is preserved.
++
++# serial 2
++
++# _AM_SUBST_NOTMAKE(VARIABLE)
++# ---------------------------
++# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
++# This macro is traced by Automake.
++AC_DEFUN([_AM_SUBST_NOTMAKE])
++
++# AM_SUBST_NOTMAKE(VARIABLE)
++# ---------------------------
++# Public sister of _AM_SUBST_NOTMAKE.
++AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
++
++m4_include([../acinclude.m4])
+diff -Naur newlib-1.20.0.orig/libgloss/aarch64/configure newlib-1.20.0/libgloss/aarch64/configure
+--- newlib-1.20.0.orig/libgloss/aarch64/configure 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/libgloss/aarch64/configure 2012-10-15 10:31:19.522619511 +0200
+@@ -0,0 +1,3894 @@
++#! /bin/sh
++# Guess values for system-dependent variables and create Makefiles.
++# Generated by GNU Autoconf 2.68.
++#
++#
++# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
++# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
++# Foundation, Inc.
++#
++#
++# This configure script is free software; the Free Software Foundation
++# gives unlimited permission to copy, distribute and modify it.
++## -------------------- ##
++## M4sh Initialization. ##
++## -------------------- ##
++
++# Be more Bourne compatible
++DUALCASE=1; export DUALCASE # for MKS sh
++if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
++ emulate sh
++ NULLCMD=:
++ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
++ # is contrary to our usage. Disable this feature.
++ alias -g '${1+"$@"}'='"$@"'
++ setopt NO_GLOB_SUBST
++else
++ case `(set -o) 2>/dev/null` in #(
++ *posix*) :
++ set -o posix ;; #(
++ *) :
++ ;;
++esac
++fi
++
++
++as_nl='
++'
++export as_nl
++# Printing a long string crashes Solaris 7 /usr/bin/printf.
++as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
++as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
++as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
++# Prefer a ksh shell builtin over an external printf program on Solaris,
++# but without wasting forks for bash or zsh.
++if test -z "$BASH_VERSION$ZSH_VERSION" \
++ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
++ as_echo='print -r --'
++ as_echo_n='print -rn --'
++elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
++ as_echo='printf %s\n'
++ as_echo_n='printf %s'
++else
++ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
++ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
++ as_echo_n='/usr/ucb/echo -n'
++ else
++ as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
++ as_echo_n_body='eval
++ arg=$1;
++ case $arg in #(
++ *"$as_nl"*)
++ expr "X$arg" : "X\\(.*\\)$as_nl";
++ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
++ esac;
++ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
++ '
++ export as_echo_n_body
++ as_echo_n='sh -c $as_echo_n_body as_echo'
++ fi
++ export as_echo_body
++ as_echo='sh -c $as_echo_body as_echo'
++fi
++
++# The user is always right.
++if test "${PATH_SEPARATOR+set}" != set; then
++ PATH_SEPARATOR=:
++ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
++ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
++ PATH_SEPARATOR=';'
++ }
++fi
++
++
++# IFS
++# We need space, tab and new line, in precisely that order. Quoting is
++# there to prevent editors from complaining about space-tab.
++# (If _AS_PATH_WALK were called with IFS unset, it would disable word
++# splitting by setting IFS to empty value.)
++IFS=" "" $as_nl"
++
++# Find who we are. Look in the path if we contain no directory separator.
++as_myself=
++case $0 in #((
++ *[\\/]* ) as_myself=$0 ;;
++ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
++ done
++IFS=$as_save_IFS
++
++ ;;
++esac
++# We did not find ourselves, most probably we were run as `sh COMMAND'
++# in which case we are not to be found in the path.
++if test "x$as_myself" = x; then
++ as_myself=$0
++fi
++if test ! -f "$as_myself"; then
++ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
++ exit 1
++fi
++
++# Unset variables that we do not need and which cause bugs (e.g. in
++# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
++# suppresses any "Segmentation fault" message there. '((' could
++# trigger a bug in pdksh 5.2.14.
++for as_var in BASH_ENV ENV MAIL MAILPATH
++do eval test x\${$as_var+set} = xset \
++ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
++done
++PS1='$ '
++PS2='> '
++PS4='+ '
++
++# NLS nuisances.
++LC_ALL=C
++export LC_ALL
++LANGUAGE=C
++export LANGUAGE
++
++# CDPATH.
++(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
++
++if test "x$CONFIG_SHELL" = x; then
++ as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
++ emulate sh
++ NULLCMD=:
++ # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
++ # is contrary to our usage. Disable this feature.
++ alias -g '\${1+\"\$@\"}'='\"\$@\"'
++ setopt NO_GLOB_SUBST
++else
++ case \`(set -o) 2>/dev/null\` in #(
++ *posix*) :
++ set -o posix ;; #(
++ *) :
++ ;;
++esac
++fi
++"
++ as_required="as_fn_return () { (exit \$1); }
++as_fn_success () { as_fn_return 0; }
++as_fn_failure () { as_fn_return 1; }
++as_fn_ret_success () { return 0; }
++as_fn_ret_failure () { return 1; }
++
++exitcode=0
++as_fn_success || { exitcode=1; echo as_fn_success failed.; }
++as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
++as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
++as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
++if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
++
++else
++ exitcode=1; echo positional parameters were not saved.
++fi
++test x\$exitcode = x0 || exit 1"
++ as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
++ as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
++ eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
++ test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
++ if (eval "$as_required") 2>/dev/null; then :
++ as_have_required=yes
++else
++ as_have_required=no
++fi
++ if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
++
++else
++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++as_found=false
++for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ as_found=:
++ case $as_dir in #(
++ /*)
++ for as_base in sh bash ksh sh5; do
++ # Try only shells that exist, to save several forks.
++ as_shell=$as_dir/$as_base
++ if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
++ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
++ CONFIG_SHELL=$as_shell as_have_required=yes
++ if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
++ break 2
++fi
++fi
++ done;;
++ esac
++ as_found=false
++done
++$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
++ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
++ CONFIG_SHELL=$SHELL as_have_required=yes
++fi; }
++IFS=$as_save_IFS
++
++
++ if test "x$CONFIG_SHELL" != x; then :
++ # We cannot yet assume a decent shell, so we have to provide a
++ # neutralization value for shells without unset; and this also
++ # works around shells that cannot unset nonexistent variables.
++ # Preserve -v and -x to the replacement shell.
++ BASH_ENV=/dev/null
++ ENV=/dev/null
++ (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
++ export CONFIG_SHELL
++ case $- in # ((((
++ *v*x* | *x*v* ) as_opts=-vx ;;
++ *v* ) as_opts=-v ;;
++ *x* ) as_opts=-x ;;
++ * ) as_opts= ;;
++ esac
++ exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
++fi
++
++ if test x$as_have_required = xno; then :
++ $as_echo "$0: This script requires a shell more modern than all"
++ $as_echo "$0: the shells that I found on your system."
++ if test x${ZSH_VERSION+set} = xset ; then
++ $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
++ $as_echo "$0: be upgraded to zsh 4.3.4 or later."
++ else
++ $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
++$0: including any error possibly output before this
++$0: message. Then install a modern shell, or manually run
++$0: the script under such a shell if you do have one."
++ fi
++ exit 1
++fi
++fi
++fi
++SHELL=${CONFIG_SHELL-/bin/sh}
++export SHELL
++# Unset more variables known to interfere with behavior of common tools.
++CLICOLOR_FORCE= GREP_OPTIONS=
++unset CLICOLOR_FORCE GREP_OPTIONS
++
++## --------------------- ##
++## M4sh Shell Functions. ##
++## --------------------- ##
++# as_fn_unset VAR
++# ---------------
++# Portably unset VAR.
++as_fn_unset ()
++{
++ { eval $1=; unset $1;}
++}
++as_unset=as_fn_unset
++
++# as_fn_set_status STATUS
++# -----------------------
++# Set $? to STATUS, without forking.
++as_fn_set_status ()
++{
++ return $1
++} # as_fn_set_status
++
++# as_fn_exit STATUS
++# -----------------
++# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
++as_fn_exit ()
++{
++ set +e
++ as_fn_set_status $1
++ exit $1
++} # as_fn_exit
++
++# as_fn_mkdir_p
++# -------------
++# Create "$as_dir" as a directory, including parents if necessary.
++as_fn_mkdir_p ()
++{
++
++ case $as_dir in #(
++ -*) as_dir=./$as_dir;;
++ esac
++ test -d "$as_dir" || eval $as_mkdir_p || {
++ as_dirs=
++ while :; do
++ case $as_dir in #(
++ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
++ *) as_qdir=$as_dir;;
++ esac
++ as_dirs="'$as_qdir' $as_dirs"
++ as_dir=`$as_dirname -- "$as_dir" ||
++$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
++ X"$as_dir" : 'X\(//\)[^/]' \| \
++ X"$as_dir" : 'X\(//\)$' \| \
++ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
++$as_echo X"$as_dir" |
++ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
++ s//\1/
++ q
++ }
++ /^X\(\/\/\)[^/].*/{
++ s//\1/
++ q
++ }
++ /^X\(\/\/\)$/{
++ s//\1/
++ q
++ }
++ /^X\(\/\).*/{
++ s//\1/
++ q
++ }
++ s/.*/./; q'`
++ test -d "$as_dir" && break
++ done
++ test -z "$as_dirs" || eval "mkdir $as_dirs"
++ } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
++
++
++} # as_fn_mkdir_p
++# as_fn_append VAR VALUE
++# ----------------------
++# Append the text in VALUE to the end of the definition contained in VAR. Take
++# advantage of any shell optimizations that allow amortized linear growth over
++# repeated appends, instead of the typical quadratic growth present in naive
++# implementations.
++if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
++ eval 'as_fn_append ()
++ {
++ eval $1+=\$2
++ }'
++else
++ as_fn_append ()
++ {
++ eval $1=\$$1\$2
++ }
++fi # as_fn_append
++
++# as_fn_arith ARG...
++# ------------------
++# Perform arithmetic evaluation on the ARGs, and store the result in the
++# global $as_val. Take advantage of shells that can avoid forks. The arguments
++# must be portable across $(()) and expr.
++if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
++ eval 'as_fn_arith ()
++ {
++ as_val=$(( $* ))
++ }'
++else
++ as_fn_arith ()
++ {
++ as_val=`expr "$@" || test $? -eq 1`
++ }
++fi # as_fn_arith
++
++
++# as_fn_error STATUS ERROR [LINENO LOG_FD]
++# ----------------------------------------
++# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
++# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
++# script with STATUS, using 1 if that was 0.
++as_fn_error ()
++{
++ as_status=$1; test $as_status -eq 0 && as_status=1
++ if test "$4"; then
++ as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
++ $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
++ fi
++ $as_echo "$as_me: error: $2" >&2
++ as_fn_exit $as_status
++} # as_fn_error
++
++if expr a : '\(a\)' >/dev/null 2>&1 &&
++ test "X`expr 00001 : '.*\(...\)'`" = X001; then
++ as_expr=expr
++else
++ as_expr=false
++fi
++
++if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
++ as_basename=basename
++else
++ as_basename=false
++fi
++
++if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
++ as_dirname=dirname
++else
++ as_dirname=false
++fi
++
++as_me=`$as_basename -- "$0" ||
++$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
++ X"$0" : 'X\(//\)$' \| \
++ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
++$as_echo X/"$0" |
++ sed '/^.*\/\([^/][^/]*\)\/*$/{
++ s//\1/
++ q
++ }
++ /^X\/\(\/\/\)$/{
++ s//\1/
++ q
++ }
++ /^X\/\(\/\).*/{
++ s//\1/
++ q
++ }
++ s/.*/./; q'`
++
++# Avoid depending upon Character Ranges.
++as_cr_letters='abcdefghijklmnopqrstuvwxyz'
++as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
++as_cr_Letters=$as_cr_letters$as_cr_LETTERS
++as_cr_digits='0123456789'
++as_cr_alnum=$as_cr_Letters$as_cr_digits
++
++
++ as_lineno_1=$LINENO as_lineno_1a=$LINENO
++ as_lineno_2=$LINENO as_lineno_2a=$LINENO
++ eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
++ test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
++ # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
++ sed -n '
++ p
++ /[$]LINENO/=
++ ' <$as_myself |
++ sed '
++ s/[$]LINENO.*/&-/
++ t lineno
++ b
++ :lineno
++ N
++ :loop
++ s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
++ t loop
++ s/-\n.*//
++ ' >$as_me.lineno &&
++ chmod +x "$as_me.lineno" ||
++ { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
++
++ # Don't try to exec as it changes $[0], causing all sort of problems
++ # (the dirname of $[0] is not the place where we might find the
++ # original and so on. Autoconf is especially sensitive to this).
++ . "./$as_me.lineno"
++ # Exit status is that of the last command.
++ exit
++}
++
++ECHO_C= ECHO_N= ECHO_T=
++case `echo -n x` in #(((((
++-n*)
++ case `echo 'xy\c'` in
++ *c*) ECHO_T=' ';; # ECHO_T is single tab character.
++ xy) ECHO_C='\c';;
++ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
++ ECHO_T=' ';;
++ esac;;
++*)
++ ECHO_N='-n';;
++esac
++
++rm -f conf$$ conf$$.exe conf$$.file
++if test -d conf$$.dir; then
++ rm -f conf$$.dir/conf$$.file
++else
++ rm -f conf$$.dir
++ mkdir conf$$.dir 2>/dev/null
++fi
++if (echo >conf$$.file) 2>/dev/null; then
++ if ln -s conf$$.file conf$$ 2>/dev/null; then
++ as_ln_s='ln -s'
++ # ... but there are two gotchas:
++ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
++ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
++ # In both cases, we have to default to `cp -p'.
++ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
++ as_ln_s='cp -p'
++ elif ln conf$$.file conf$$ 2>/dev/null; then
++ as_ln_s=ln
++ else
++ as_ln_s='cp -p'
++ fi
++else
++ as_ln_s='cp -p'
++fi
++rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
++rmdir conf$$.dir 2>/dev/null
++
++if mkdir -p . 2>/dev/null; then
++ as_mkdir_p='mkdir -p "$as_dir"'
++else
++ test -d ./-p && rmdir ./-p
++ as_mkdir_p=false
++fi
++
++if test -x / >/dev/null 2>&1; then
++ as_test_x='test -x'
++else
++ if ls -dL / >/dev/null 2>&1; then
++ as_ls_L_option=L
++ else
++ as_ls_L_option=
++ fi
++ as_test_x='
++ eval sh -c '\''
++ if test -d "$1"; then
++ test -d "$1/.";
++ else
++ case $1 in #(
++ -*)set "./$1";;
++ esac;
++ case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
++ ???[sx]*):;;*)false;;esac;fi
++ '\'' sh
++ '
++fi
++as_executable_p=$as_test_x
++
++# Sed expression to map a string onto a valid CPP name.
++as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
++
++# Sed expression to map a string onto a valid variable name.
++as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
++
++
++test -n "$DJDIR" || exec 7<&0 </dev/null
++exec 6>&1
++
++# Name of the host.
++# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
++# so uname gets run too.
++ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
++
++#
++# Initializations.
++#
++ac_default_prefix=/usr/local
++ac_clean_files=
++ac_config_libobj_dir=.
++LIBOBJS=
++cross_compiling=no
++subdirs=
++MFLAGS=
++MAKEFLAGS=
++
++# Identity of this package.
++PACKAGE_NAME=
++PACKAGE_TARNAME=
++PACKAGE_VERSION=
++PACKAGE_STRING=
++PACKAGE_BUGREPORT=
++PACKAGE_URL=
++
++ac_unique_file="crt0.S"
++ac_subst_vars='LTLIBOBJS
++LIBOBJS
++subdirs
++host_makefile_frag_path
++objtype
++CCASFLAGS
++CCAS
++RANLIB
++LD
++AR
++AS
++am__fastdepCC_FALSE
++am__fastdepCC_TRUE
++CCDEPMODE
++AMDEPBACKSLASH
++AMDEP_FALSE
++AMDEP_TRUE
++am__quote
++am__include
++DEPDIR
++am__leading_dot
++CC
++INSTALL_DATA
++INSTALL_SCRIPT
++INSTALL_PROGRAM
++target_os
++target_vendor
++target_cpu
++target
++host_os
++host_vendor
++host_cpu
++host
++build_os
++build_vendor
++build_cpu
++build
++target_alias
++host_alias
++build_alias
++LIBS
++ECHO_T
++ECHO_N
++ECHO_C
++DEFS
++mandir
++localedir
++libdir
++psdir
++pdfdir
++dvidir
++htmldir
++infodir
++docdir
++oldincludedir
++includedir
++localstatedir
++sharedstatedir
++sysconfdir
++datadir
++datarootdir
++libexecdir
++sbindir
++bindir
++program_transform_name
++prefix
++exec_prefix
++PACKAGE_URL
++PACKAGE_BUGREPORT
++PACKAGE_STRING
++PACKAGE_VERSION
++PACKAGE_TARNAME
++PACKAGE_NAME
++PATH_SEPARATOR
++SHELL'
++ac_subst_files='host_makefile_frag'
++ac_user_opts='
++enable_option_checking
++enable_dependency_tracking
++'
++ ac_precious_vars='build_alias
++host_alias
++target_alias
++CCAS
++CCASFLAGS'
++
++
++# Initialize some variables set by options.
++ac_init_help=
++ac_init_version=false
++ac_unrecognized_opts=
++ac_unrecognized_sep=
++# The variables have the same names as the options, with
++# dashes changed to underlines.
++cache_file=/dev/null
++exec_prefix=NONE
++no_create=
++no_recursion=
++prefix=NONE
++program_prefix=NONE
++program_suffix=NONE
++program_transform_name=s,x,x,
++silent=
++site=
++srcdir=
++verbose=
++x_includes=NONE
++x_libraries=NONE
++
++# Installation directory options.
++# These are left unexpanded so users can "make install exec_prefix=/foo"
++# and all the variables that are supposed to be based on exec_prefix
++# by default will actually change.
++# Use braces instead of parens because sh, perl, etc. also accept them.
++# (The list follows the same order as the GNU Coding Standards.)
++bindir='${exec_prefix}/bin'
++sbindir='${exec_prefix}/sbin'
++libexecdir='${exec_prefix}/libexec'
++datarootdir='${prefix}/share'
++datadir='${datarootdir}'
++sysconfdir='${prefix}/etc'
++sharedstatedir='${prefix}/com'
++localstatedir='${prefix}/var'
++includedir='${prefix}/include'
++oldincludedir='/usr/include'
++docdir='${datarootdir}/doc/${PACKAGE}'
++infodir='${datarootdir}/info'
++htmldir='${docdir}'
++dvidir='${docdir}'
++pdfdir='${docdir}'
++psdir='${docdir}'
++libdir='${exec_prefix}/lib'
++localedir='${datarootdir}/locale'
++mandir='${datarootdir}/man'
++
++ac_prev=
++ac_dashdash=
++for ac_option
++do
++ # If the previous option needs an argument, assign it.
++ if test -n "$ac_prev"; then
++ eval $ac_prev=\$ac_option
++ ac_prev=
++ continue
++ fi
++
++ case $ac_option in
++ *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
++ *=) ac_optarg= ;;
++ *) ac_optarg=yes ;;
++ esac
++
++ # Accept the important Cygnus configure options, so we can diagnose typos.
++
++ case $ac_dashdash$ac_option in
++ --)
++ ac_dashdash=yes ;;
++
++ -bindir | --bindir | --bindi | --bind | --bin | --bi)
++ ac_prev=bindir ;;
++ -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
++ bindir=$ac_optarg ;;
++
++ -build | --build | --buil | --bui | --bu)
++ ac_prev=build_alias ;;
++ -build=* | --build=* | --buil=* | --bui=* | --bu=*)
++ build_alias=$ac_optarg ;;
++
++ -cache-file | --cache-file | --cache-fil | --cache-fi \
++ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
++ ac_prev=cache_file ;;
++ -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
++ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
++ cache_file=$ac_optarg ;;
++
++ --config-cache | -C)
++ cache_file=config.cache ;;
++
++ -datadir | --datadir | --datadi | --datad)
++ ac_prev=datadir ;;
++ -datadir=* | --datadir=* | --datadi=* | --datad=*)
++ datadir=$ac_optarg ;;
++
++ -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
++ | --dataroo | --dataro | --datar)
++ ac_prev=datarootdir ;;
++ -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
++ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
++ datarootdir=$ac_optarg ;;
++
++ -disable-* | --disable-*)
++ ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
++ # Reject names that are not valid shell variable names.
++ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
++ as_fn_error $? "invalid feature name: $ac_useropt"
++ ac_useropt_orig=$ac_useropt
++ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
++ case $ac_user_opts in
++ *"
++"enable_$ac_useropt"
++"*) ;;
++ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
++ ac_unrecognized_sep=', ';;
++ esac
++ eval enable_$ac_useropt=no ;;
++
++ -docdir | --docdir | --docdi | --doc | --do)
++ ac_prev=docdir ;;
++ -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
++ docdir=$ac_optarg ;;
++
++ -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
++ ac_prev=dvidir ;;
++ -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
++ dvidir=$ac_optarg ;;
++
++ -enable-* | --enable-*)
++ ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
++ # Reject names that are not valid shell variable names.
++ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
++ as_fn_error $? "invalid feature name: $ac_useropt"
++ ac_useropt_orig=$ac_useropt
++ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
++ case $ac_user_opts in
++ *"
++"enable_$ac_useropt"
++"*) ;;
++ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
++ ac_unrecognized_sep=', ';;
++ esac
++ eval enable_$ac_useropt=\$ac_optarg ;;
++
++ -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
++ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
++ | --exec | --exe | --ex)
++ ac_prev=exec_prefix ;;
++ -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
++ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
++ | --exec=* | --exe=* | --ex=*)
++ exec_prefix=$ac_optarg ;;
++
++ -gas | --gas | --ga | --g)
++ # Obsolete; use --with-gas.
++ with_gas=yes ;;
++
++ -help | --help | --hel | --he | -h)
++ ac_init_help=long ;;
++ -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
++ ac_init_help=recursive ;;
++ -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
++ ac_init_help=short ;;
++
++ -host | --host | --hos | --ho)
++ ac_prev=host_alias ;;
++ -host=* | --host=* | --hos=* | --ho=*)
++ host_alias=$ac_optarg ;;
++
++ -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
++ ac_prev=htmldir ;;
++ -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
++ | --ht=*)
++ htmldir=$ac_optarg ;;
++
++ -includedir | --includedir | --includedi | --included | --include \
++ | --includ | --inclu | --incl | --inc)
++ ac_prev=includedir ;;
++ -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
++ | --includ=* | --inclu=* | --incl=* | --inc=*)
++ includedir=$ac_optarg ;;
++
++ -infodir | --infodir | --infodi | --infod | --info | --inf)
++ ac_prev=infodir ;;
++ -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
++ infodir=$ac_optarg ;;
++
++ -libdir | --libdir | --libdi | --libd)
++ ac_prev=libdir ;;
++ -libdir=* | --libdir=* | --libdi=* | --libd=*)
++ libdir=$ac_optarg ;;
++
++ -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
++ | --libexe | --libex | --libe)
++ ac_prev=libexecdir ;;
++ -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
++ | --libexe=* | --libex=* | --libe=*)
++ libexecdir=$ac_optarg ;;
++
++ -localedir | --localedir | --localedi | --localed | --locale)
++ ac_prev=localedir ;;
++ -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
++ localedir=$ac_optarg ;;
++
++ -localstatedir | --localstatedir | --localstatedi | --localstated \
++ | --localstate | --localstat | --localsta | --localst | --locals)
++ ac_prev=localstatedir ;;
++ -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
++ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
++ localstatedir=$ac_optarg ;;
++
++ -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
++ ac_prev=mandir ;;
++ -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
++ mandir=$ac_optarg ;;
++
++ -nfp | --nfp | --nf)
++ # Obsolete; use --without-fp.
++ with_fp=no ;;
++
++ -no-create | --no-create | --no-creat | --no-crea | --no-cre \
++ | --no-cr | --no-c | -n)
++ no_create=yes ;;
++
++ -no-recursion | --no-recursion | --no-recursio | --no-recursi \
++ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
++ no_recursion=yes ;;
++
++ -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
++ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
++ | --oldin | --oldi | --old | --ol | --o)
++ ac_prev=oldincludedir ;;
++ -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
++ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
++ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
++ oldincludedir=$ac_optarg ;;
++
++ -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
++ ac_prev=prefix ;;
++ -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
++ prefix=$ac_optarg ;;
++
++ -program-prefix | --program-prefix | --program-prefi | --program-pref \
++ | --program-pre | --program-pr | --program-p)
++ ac_prev=program_prefix ;;
++ -program-prefix=* | --program-prefix=* | --program-prefi=* \
++ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
++ program_prefix=$ac_optarg ;;
++
++ -program-suffix | --program-suffix | --program-suffi | --program-suff \
++ | --program-suf | --program-su | --program-s)
++ ac_prev=program_suffix ;;
++ -program-suffix=* | --program-suffix=* | --program-suffi=* \
++ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
++ program_suffix=$ac_optarg ;;
++
++ -program-transform-name | --program-transform-name \
++ | --program-transform-nam | --program-transform-na \
++ | --program-transform-n | --program-transform- \
++ | --program-transform | --program-transfor \
++ | --program-transfo | --program-transf \
++ | --program-trans | --program-tran \
++ | --progr-tra | --program-tr | --program-t)
++ ac_prev=program_transform_name ;;
++ -program-transform-name=* | --program-transform-name=* \
++ | --program-transform-nam=* | --program-transform-na=* \
++ | --program-transform-n=* | --program-transform-=* \
++ | --program-transform=* | --program-transfor=* \
++ | --program-transfo=* | --program-transf=* \
++ | --program-trans=* | --program-tran=* \
++ | --progr-tra=* | --program-tr=* | --program-t=*)
++ program_transform_name=$ac_optarg ;;
++
++ -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
++ ac_prev=pdfdir ;;
++ -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
++ pdfdir=$ac_optarg ;;
++
++ -psdir | --psdir | --psdi | --psd | --ps)
++ ac_prev=psdir ;;
++ -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
++ psdir=$ac_optarg ;;
++
++ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
++ | -silent | --silent | --silen | --sile | --sil)
++ silent=yes ;;
++
++ -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
++ ac_prev=sbindir ;;
++ -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
++ | --sbi=* | --sb=*)
++ sbindir=$ac_optarg ;;
++
++ -sharedstatedir | --sharedstatedir | --sharedstatedi \
++ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
++ | --sharedst | --shareds | --shared | --share | --shar \
++ | --sha | --sh)
++ ac_prev=sharedstatedir ;;
++ -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
++ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
++ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
++ | --sha=* | --sh=*)
++ sharedstatedir=$ac_optarg ;;
++
++ -site | --site | --sit)
++ ac_prev=site ;;
++ -site=* | --site=* | --sit=*)
++ site=$ac_optarg ;;
++
++ -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
++ ac_prev=srcdir ;;
++ -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
++ srcdir=$ac_optarg ;;
++
++ -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
++ | --syscon | --sysco | --sysc | --sys | --sy)
++ ac_prev=sysconfdir ;;
++ -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
++ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
++ sysconfdir=$ac_optarg ;;
++
++ -target | --target | --targe | --targ | --tar | --ta | --t)
++ ac_prev=target_alias ;;
++ -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
++ target_alias=$ac_optarg ;;
++
++ -v | -verbose | --verbose | --verbos | --verbo | --verb)
++ verbose=yes ;;
++
++ -version | --version | --versio | --versi | --vers | -V)
++ ac_init_version=: ;;
++
++ -with-* | --with-*)
++ ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
++ # Reject names that are not valid shell variable names.
++ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
++ as_fn_error $? "invalid package name: $ac_useropt"
++ ac_useropt_orig=$ac_useropt
++ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
++ case $ac_user_opts in
++ *"
++"with_$ac_useropt"
++"*) ;;
++ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
++ ac_unrecognized_sep=', ';;
++ esac
++ eval with_$ac_useropt=\$ac_optarg ;;
++
++ -without-* | --without-*)
++ ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
++ # Reject names that are not valid shell variable names.
++ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
++ as_fn_error $? "invalid package name: $ac_useropt"
++ ac_useropt_orig=$ac_useropt
++ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
++ case $ac_user_opts in
++ *"
++"with_$ac_useropt"
++"*) ;;
++ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
++ ac_unrecognized_sep=', ';;
++ esac
++ eval with_$ac_useropt=no ;;
++
++ --x)
++ # Obsolete; use --with-x.
++ with_x=yes ;;
++
++ -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
++ | --x-incl | --x-inc | --x-in | --x-i)
++ ac_prev=x_includes ;;
++ -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
++ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
++ x_includes=$ac_optarg ;;
++
++ -x-libraries | --x-libraries | --x-librarie | --x-librari \
++ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
++ ac_prev=x_libraries ;;
++ -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
++ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
++ x_libraries=$ac_optarg ;;
++
++ -*) as_fn_error $? "unrecognized option: \`$ac_option'
++Try \`$0 --help' for more information"
++ ;;
++
++ *=*)
++ ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
++ # Reject names that are not valid shell variable names.
++ case $ac_envvar in #(
++ '' | [0-9]* | *[!_$as_cr_alnum]* )
++ as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
++ esac
++ eval $ac_envvar=\$ac_optarg
++ export $ac_envvar ;;
++
++ *)
++ # FIXME: should be removed in autoconf 3.0.
++ $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
++ expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
++ $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
++ : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
++ ;;
++
++ esac
++done
++
++if test -n "$ac_prev"; then
++ ac_option=--`echo $ac_prev | sed 's/_/-/g'`
++ as_fn_error $? "missing argument to $ac_option"
++fi
++
++if test -n "$ac_unrecognized_opts"; then
++ case $enable_option_checking in
++ no) ;;
++ fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
++ *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
++ esac
++fi
++
++# Check all directory arguments for consistency.
++for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
++ datadir sysconfdir sharedstatedir localstatedir includedir \
++ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
++ libdir localedir mandir
++do
++ eval ac_val=\$$ac_var
++ # Remove trailing slashes.
++ case $ac_val in
++ */ )
++ ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
++ eval $ac_var=\$ac_val;;
++ esac
++ # Be sure to have absolute directory names.
++ case $ac_val in
++ [\\/$]* | ?:[\\/]* ) continue;;
++ NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
++ esac
++ as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
++done
++
++# There might be people who depend on the old broken behavior: `$host'
++# used to hold the argument of --host etc.
++# FIXME: To remove some day.
++build=$build_alias
++host=$host_alias
++target=$target_alias
++
++# FIXME: To remove some day.
++if test "x$host_alias" != x; then
++ if test "x$build_alias" = x; then
++ cross_compiling=maybe
++ $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
++ If a cross compiler is detected then cross compile mode will be used" >&2
++ elif test "x$build_alias" != "x$host_alias"; then
++ cross_compiling=yes
++ fi
++fi
++
++ac_tool_prefix=
++test -n "$host_alias" && ac_tool_prefix=$host_alias-
++
++test "$silent" = yes && exec 6>/dev/null
++
++
++ac_pwd=`pwd` && test -n "$ac_pwd" &&
++ac_ls_di=`ls -di .` &&
++ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
++ as_fn_error $? "working directory cannot be determined"
++test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
++ as_fn_error $? "pwd does not report name of working directory"
++
++
++# Find the source files, if location was not specified.
++if test -z "$srcdir"; then
++ ac_srcdir_defaulted=yes
++ # Try the directory containing this script, then the parent directory.
++ ac_confdir=`$as_dirname -- "$as_myself" ||
++$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
++ X"$as_myself" : 'X\(//\)[^/]' \| \
++ X"$as_myself" : 'X\(//\)$' \| \
++ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
++$as_echo X"$as_myself" |
++ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
++ s//\1/
++ q
++ }
++ /^X\(\/\/\)[^/].*/{
++ s//\1/
++ q
++ }
++ /^X\(\/\/\)$/{
++ s//\1/
++ q
++ }
++ /^X\(\/\).*/{
++ s//\1/
++ q
++ }
++ s/.*/./; q'`
++ srcdir=$ac_confdir
++ if test ! -r "$srcdir/$ac_unique_file"; then
++ srcdir=..
++ fi
++else
++ ac_srcdir_defaulted=no
++fi
++if test ! -r "$srcdir/$ac_unique_file"; then
++ test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
++ as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
++fi
++ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
++ac_abs_confdir=`(
++ cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
++ pwd)`
++# When building in place, set srcdir=.
++if test "$ac_abs_confdir" = "$ac_pwd"; then
++ srcdir=.
++fi
++# Remove unnecessary trailing slashes from srcdir.
++# Double slashes in file names in object file debugging info
++# mess up M-x gdb in Emacs.
++case $srcdir in
++*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
++esac
++for ac_var in $ac_precious_vars; do
++ eval ac_env_${ac_var}_set=\${${ac_var}+set}
++ eval ac_env_${ac_var}_value=\$${ac_var}
++ eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
++ eval ac_cv_env_${ac_var}_value=\$${ac_var}
++done
++
++#
++# Report the --help message.
++#
++if test "$ac_init_help" = "long"; then
++ # Omit some internal or obsolete options to make the list less imposing.
++ # This message is too long to be a string in the A/UX 3.1 sh.
++ cat <<_ACEOF
++\`configure' configures this package to adapt to many kinds of systems.
++
++Usage: $0 [OPTION]... [VAR=VALUE]...
++
++To assign environment variables (e.g., CC, CFLAGS...), specify them as
++VAR=VALUE. See below for descriptions of some of the useful variables.
++
++Defaults for the options are specified in brackets.
++
++Configuration:
++ -h, --help display this help and exit
++ --help=short display options specific to this package
++ --help=recursive display the short help of all the included packages
++ -V, --version display version information and exit
++ -q, --quiet, --silent do not print \`checking ...' messages
++ --cache-file=FILE cache test results in FILE [disabled]
++ -C, --config-cache alias for \`--cache-file=config.cache'
++ -n, --no-create do not create output files
++ --srcdir=DIR find the sources in DIR [configure dir or \`..']
++
++Installation directories:
++ --prefix=PREFIX install architecture-independent files in PREFIX
++ [$ac_default_prefix]
++ --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
++ [PREFIX]
++
++By default, \`make install' will install all the files in
++\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
++an installation prefix other than \`$ac_default_prefix' using \`--prefix',
++for instance \`--prefix=\$HOME'.
++
++For better control, use the options below.
++
++Fine tuning of the installation directories:
++ --bindir=DIR user executables [EPREFIX/bin]
++ --sbindir=DIR system admin executables [EPREFIX/sbin]
++ --libexecdir=DIR program executables [EPREFIX/libexec]
++ --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
++ --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
++ --localstatedir=DIR modifiable single-machine data [PREFIX/var]
++ --libdir=DIR object code libraries [EPREFIX/lib]
++ --includedir=DIR C header files [PREFIX/include]
++ --oldincludedir=DIR C header files for non-gcc [/usr/include]
++ --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
++ --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
++ --infodir=DIR info documentation [DATAROOTDIR/info]
++ --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
++ --mandir=DIR man documentation [DATAROOTDIR/man]
++ --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
++ --htmldir=DIR html documentation [DOCDIR]
++ --dvidir=DIR dvi documentation [DOCDIR]
++ --pdfdir=DIR pdf documentation [DOCDIR]
++ --psdir=DIR ps documentation [DOCDIR]
++_ACEOF
++
++ cat <<\_ACEOF
++
++Program names:
++ --program-prefix=PREFIX prepend PREFIX to installed program names
++ --program-suffix=SUFFIX append SUFFIX to installed program names
++ --program-transform-name=PROGRAM run sed PROGRAM on installed program names
++
++System types:
++ --build=BUILD configure for building on BUILD [guessed]
++ --host=HOST cross-compile to build programs to run on HOST [BUILD]
++ --target=TARGET configure for building compilers for TARGET [HOST]
++_ACEOF
++fi
++
++if test -n "$ac_init_help"; then
++
++ cat <<\_ACEOF
++
++Optional Features:
++ --disable-option-checking ignore unrecognized --enable/--with options
++ --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
++ --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
++ --disable-dependency-tracking speeds up one-time build
++ --enable-dependency-tracking do not reject slow dependency extractors
++
++Some influential environment variables:
++ CCAS assembler compiler command (defaults to CC)
++ CCASFLAGS assembler compiler flags (defaults to CFLAGS)
++
++Use these variables to override the choices made by `configure' or to help
++it to find libraries and programs with nonstandard names/locations.
++
++Report bugs to the package provider.
++_ACEOF
++ac_status=$?
++fi
++
++if test "$ac_init_help" = "recursive"; then
++ # If there are subdirs, report their specific --help.
++ for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
++ test -d "$ac_dir" ||
++ { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
++ continue
++ ac_builddir=.
++
++case "$ac_dir" in
++.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
++*)
++ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
++ # A ".." for each directory in $ac_dir_suffix.
++ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
++ case $ac_top_builddir_sub in
++ "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
++ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
++ esac ;;
++esac
++ac_abs_top_builddir=$ac_pwd
++ac_abs_builddir=$ac_pwd$ac_dir_suffix
++# for backward compatibility:
++ac_top_builddir=$ac_top_build_prefix
++
++case $srcdir in
++ .) # We are building in place.
++ ac_srcdir=.
++ ac_top_srcdir=$ac_top_builddir_sub
++ ac_abs_top_srcdir=$ac_pwd ;;
++ [\\/]* | ?:[\\/]* ) # Absolute name.
++ ac_srcdir=$srcdir$ac_dir_suffix;
++ ac_top_srcdir=$srcdir
++ ac_abs_top_srcdir=$srcdir ;;
++ *) # Relative name.
++ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
++ ac_top_srcdir=$ac_top_build_prefix$srcdir
++ ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
++esac
++ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
++
++ cd "$ac_dir" || { ac_status=$?; continue; }
++ # Check for guested configure.
++ if test -f "$ac_srcdir/configure.gnu"; then
++ echo &&
++ $SHELL "$ac_srcdir/configure.gnu" --help=recursive
++ elif test -f "$ac_srcdir/configure"; then
++ echo &&
++ $SHELL "$ac_srcdir/configure" --help=recursive
++ else
++ $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
++ fi || ac_status=$?
++ cd "$ac_pwd" || { ac_status=$?; break; }
++ done
++fi
++
++test -n "$ac_init_help" && exit $ac_status
++if $ac_init_version; then
++ cat <<\_ACEOF
++configure
++generated by GNU Autoconf 2.68
++
++Copyright (C) 2010 Free Software Foundation, Inc.
++This configure script is free software; the Free Software Foundation
++gives unlimited permission to copy, distribute and modify it.
++_ACEOF
++ exit
++fi
++
++## ------------------------ ##
++## Autoconf initialization. ##
++## ------------------------ ##
++
++# ac_fn_c_try_compile LINENO
++# --------------------------
++# Try to compile conftest.$ac_ext, and return whether this succeeded.
++ac_fn_c_try_compile ()
++{
++ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
++ rm -f conftest.$ac_objext
++ if { { ac_try="$ac_compile"
++case "(($ac_try" in
++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
++ *) ac_try_echo=$ac_try;;
++esac
++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
++$as_echo "$ac_try_echo"; } >&5
++ (eval "$ac_compile") 2>conftest.err
++ ac_status=$?
++ if test -s conftest.err; then
++ grep -v '^ *+' conftest.err >conftest.er1
++ cat conftest.er1 >&5
++ mv -f conftest.er1 conftest.err
++ fi
++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
++ test $ac_status = 0; } && {
++ test -z "$ac_c_werror_flag" ||
++ test ! -s conftest.err
++ } && test -s conftest.$ac_objext; then :
++ ac_retval=0
++else
++ $as_echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ ac_retval=1
++fi
++ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
++ as_fn_set_status $ac_retval
++
++} # ac_fn_c_try_compile
++cat >config.log <<_ACEOF
++This file contains any messages produced by compilers while
++running configure, to aid debugging if configure makes a mistake.
++
++It was created by $as_me, which was
++generated by GNU Autoconf 2.68. Invocation command line was
++
++ $ $0 $@
++
++_ACEOF
++exec 5>>config.log
++{
++cat <<_ASUNAME
++## --------- ##
++## Platform. ##
++## --------- ##
++
++hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
++uname -m = `(uname -m) 2>/dev/null || echo unknown`
++uname -r = `(uname -r) 2>/dev/null || echo unknown`
++uname -s = `(uname -s) 2>/dev/null || echo unknown`
++uname -v = `(uname -v) 2>/dev/null || echo unknown`
++
++/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
++/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
++
++/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
++/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
++/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
++/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
++/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
++/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
++/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
++
++_ASUNAME
++
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ $as_echo "PATH: $as_dir"
++ done
++IFS=$as_save_IFS
++
++} >&5
++
++cat >&5 <<_ACEOF
++
++
++## ----------- ##
++## Core tests. ##
++## ----------- ##
++
++_ACEOF
++
++
++# Keep a trace of the command line.
++# Strip out --no-create and --no-recursion so they do not pile up.
++# Strip out --silent because we don't want to record it for future runs.
++# Also quote any args containing shell meta-characters.
++# Make two passes to allow for proper duplicate-argument suppression.
++ac_configure_args=
++ac_configure_args0=
++ac_configure_args1=
++ac_must_keep_next=false
++for ac_pass in 1 2
++do
++ for ac_arg
++ do
++ case $ac_arg in
++ -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
++ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
++ | -silent | --silent | --silen | --sile | --sil)
++ continue ;;
++ *\'*)
++ ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
++ esac
++ case $ac_pass in
++ 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
++ 2)
++ as_fn_append ac_configure_args1 " '$ac_arg'"
++ if test $ac_must_keep_next = true; then
++ ac_must_keep_next=false # Got value, back to normal.
++ else
++ case $ac_arg in
++ *=* | --config-cache | -C | -disable-* | --disable-* \
++ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
++ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
++ | -with-* | --with-* | -without-* | --without-* | --x)
++ case "$ac_configure_args0 " in
++ "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
++ esac
++ ;;
++ -* ) ac_must_keep_next=true ;;
++ esac
++ fi
++ as_fn_append ac_configure_args " '$ac_arg'"
++ ;;
++ esac
++ done
++done
++{ ac_configure_args0=; unset ac_configure_args0;}
++{ ac_configure_args1=; unset ac_configure_args1;}
++
++# When interrupted or exit'd, cleanup temporary files, and complete
++# config.log. We remove comments because anyway the quotes in there
++# would cause problems or look ugly.
++# WARNING: Use '\'' to represent an apostrophe within the trap.
++# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
++trap 'exit_status=$?
++ # Save into config.log some information that might help in debugging.
++ {
++ echo
++
++ $as_echo "## ---------------- ##
++## Cache variables. ##
++## ---------------- ##"
++ echo
++ # The following way of writing the cache mishandles newlines in values,
++(
++ for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
++ eval ac_val=\$$ac_var
++ case $ac_val in #(
++ *${as_nl}*)
++ case $ac_var in #(
++ *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
++$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
++ esac
++ case $ac_var in #(
++ _ | IFS | as_nl) ;; #(
++ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
++ *) { eval $ac_var=; unset $ac_var;} ;;
++ esac ;;
++ esac
++ done
++ (set) 2>&1 |
++ case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
++ *${as_nl}ac_space=\ *)
++ sed -n \
++ "s/'\''/'\''\\\\'\'''\''/g;
++ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
++ ;; #(
++ *)
++ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
++ ;;
++ esac |
++ sort
++)
++ echo
++
++ $as_echo "## ----------------- ##
++## Output variables. ##
++## ----------------- ##"
++ echo
++ for ac_var in $ac_subst_vars
++ do
++ eval ac_val=\$$ac_var
++ case $ac_val in
++ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
++ esac
++ $as_echo "$ac_var='\''$ac_val'\''"
++ done | sort
++ echo
++
++ if test -n "$ac_subst_files"; then
++ $as_echo "## ------------------- ##
++## File substitutions. ##
++## ------------------- ##"
++ echo
++ for ac_var in $ac_subst_files
++ do
++ eval ac_val=\$$ac_var
++ case $ac_val in
++ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
++ esac
++ $as_echo "$ac_var='\''$ac_val'\''"
++ done | sort
++ echo
++ fi
++
++ if test -s confdefs.h; then
++ $as_echo "## ----------- ##
++## confdefs.h. ##
++## ----------- ##"
++ echo
++ cat confdefs.h
++ echo
++ fi
++ test "$ac_signal" != 0 &&
++ $as_echo "$as_me: caught signal $ac_signal"
++ $as_echo "$as_me: exit $exit_status"
++ } >&5
++ rm -f core *.core core.conftest.* &&
++ rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
++ exit $exit_status
++' 0
++for ac_signal in 1 2 13 15; do
++ trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
++done
++ac_signal=0
++
++# confdefs.h avoids OS command line length limits that DEFS can exceed.
++rm -f -r conftest* confdefs.h
++
++$as_echo "/* confdefs.h */" > confdefs.h
++
++# Predefined preprocessor variables.
++
++cat >>confdefs.h <<_ACEOF
++#define PACKAGE_NAME "$PACKAGE_NAME"
++_ACEOF
++
++cat >>confdefs.h <<_ACEOF
++#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
++_ACEOF
++
++cat >>confdefs.h <<_ACEOF
++#define PACKAGE_VERSION "$PACKAGE_VERSION"
++_ACEOF
++
++cat >>confdefs.h <<_ACEOF
++#define PACKAGE_STRING "$PACKAGE_STRING"
++_ACEOF
++
++cat >>confdefs.h <<_ACEOF
++#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
++_ACEOF
++
++cat >>confdefs.h <<_ACEOF
++#define PACKAGE_URL "$PACKAGE_URL"
++_ACEOF
++
++
++# Let the site file select an alternate cache file if it wants to.
++# Prefer an explicitly selected file to automatically selected ones.
++ac_site_file1=NONE
++ac_site_file2=NONE
++if test -n "$CONFIG_SITE"; then
++ # We do not want a PATH search for config.site.
++ case $CONFIG_SITE in #((
++ -*) ac_site_file1=./$CONFIG_SITE;;
++ */*) ac_site_file1=$CONFIG_SITE;;
++ *) ac_site_file1=./$CONFIG_SITE;;
++ esac
++elif test "x$prefix" != xNONE; then
++ ac_site_file1=$prefix/share/config.site
++ ac_site_file2=$prefix/etc/config.site
++else
++ ac_site_file1=$ac_default_prefix/share/config.site
++ ac_site_file2=$ac_default_prefix/etc/config.site
++fi
++for ac_site_file in "$ac_site_file1" "$ac_site_file2"
++do
++ test "x$ac_site_file" = xNONE && continue
++ if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
++$as_echo "$as_me: loading site script $ac_site_file" >&6;}
++ sed 's/^/| /' "$ac_site_file" >&5
++ . "$ac_site_file" \
++ || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
++$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
++as_fn_error $? "failed to load site script $ac_site_file
++See \`config.log' for more details" "$LINENO" 5; }
++ fi
++done
++
++if test -r "$cache_file"; then
++ # Some versions of bash will fail to source /dev/null (special files
++ # actually), so we avoid doing that. DJGPP emulates it as a regular file.
++ if test /dev/null != "$cache_file" && test -f "$cache_file"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
++$as_echo "$as_me: loading cache $cache_file" >&6;}
++ case $cache_file in
++ [\\/]* | ?:[\\/]* ) . "$cache_file";;
++ *) . "./$cache_file";;
++ esac
++ fi
++else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
++$as_echo "$as_me: creating cache $cache_file" >&6;}
++ >$cache_file
++fi
++
++# Check that the precious variables saved in the cache have kept the same
++# value.
++ac_cache_corrupted=false
++for ac_var in $ac_precious_vars; do
++ eval ac_old_set=\$ac_cv_env_${ac_var}_set
++ eval ac_new_set=\$ac_env_${ac_var}_set
++ eval ac_old_val=\$ac_cv_env_${ac_var}_value
++ eval ac_new_val=\$ac_env_${ac_var}_value
++ case $ac_old_set,$ac_new_set in
++ set,)
++ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
++$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
++ ac_cache_corrupted=: ;;
++ ,set)
++ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
++$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
++ ac_cache_corrupted=: ;;
++ ,);;
++ *)
++ if test "x$ac_old_val" != "x$ac_new_val"; then
++ # differences in whitespace do not lead to failure.
++ ac_old_val_w=`echo x $ac_old_val`
++ ac_new_val_w=`echo x $ac_new_val`
++ if test "$ac_old_val_w" != "$ac_new_val_w"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
++$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
++ ac_cache_corrupted=:
++ else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
++$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
++ eval $ac_var=\$ac_old_val
++ fi
++ { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
++$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
++ { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
++$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
++ fi;;
++ esac
++ # Pass precious variables to config.status.
++ if test "$ac_new_set" = set; then
++ case $ac_new_val in
++ *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
++ *) ac_arg=$ac_var=$ac_new_val ;;
++ esac
++ case " $ac_configure_args " in
++ *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
++ *) as_fn_append ac_configure_args " '$ac_arg'" ;;
++ esac
++ fi
++done
++if $ac_cache_corrupted; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
++$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
++ { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
++$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
++ as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
++fi
++## -------------------- ##
++## Main body of script. ##
++## -------------------- ##
++
++ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++
++
++
++if test "$srcdir" = "." ; then
++ if test "${with_target_subdir}" != "." ; then
++ libgloss_topdir="${srcdir}/${with_multisrctop}../../.."
++ else
++ libgloss_topdir="${srcdir}/${with_multisrctop}../.."
++ fi
++else
++ libgloss_topdir="${srcdir}/../.."
++fi
++ac_aux_dir=
++for ac_dir in $libgloss_topdir "$srcdir"/$libgloss_topdir; do
++ if test -f "$ac_dir/install-sh"; then
++ ac_aux_dir=$ac_dir
++ ac_install_sh="$ac_aux_dir/install-sh -c"
++ break
++ elif test -f "$ac_dir/install.sh"; then
++ ac_aux_dir=$ac_dir
++ ac_install_sh="$ac_aux_dir/install.sh -c"
++ break
++ elif test -f "$ac_dir/shtool"; then
++ ac_aux_dir=$ac_dir
++ ac_install_sh="$ac_aux_dir/shtool install -c"
++ break
++ fi
++done
++if test -z "$ac_aux_dir"; then
++ as_fn_error $? "cannot find install-sh, install.sh, or shtool in $libgloss_topdir \"$srcdir\"/$libgloss_topdir" "$LINENO" 5
++fi
++
++# These three variables are undocumented and unsupported,
++# and are intended to be withdrawn in a future Autoconf release.
++# They can cause serious problems if a builder's source tree is in a directory
++# whose full name contains unusual characters.
++ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
++ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
++ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
++
++
++
++# Make sure we can run config.sub.
++$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
++ as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
++
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
++$as_echo_n "checking build system type... " >&6; }
++if ${ac_cv_build+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ ac_build_alias=$build_alias
++test "x$ac_build_alias" = x &&
++ ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
++test "x$ac_build_alias" = x &&
++ as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
++ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
++ as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
++
++fi
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
++$as_echo "$ac_cv_build" >&6; }
++case $ac_cv_build in
++*-*-*) ;;
++*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
++esac
++build=$ac_cv_build
++ac_save_IFS=$IFS; IFS='-'
++set x $ac_cv_build
++shift
++build_cpu=$1
++build_vendor=$2
++shift; shift
++# Remember, the first character of IFS is used to create $*,
++# except with old shells:
++build_os=$*
++IFS=$ac_save_IFS
++case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
++
++
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
++$as_echo_n "checking host system type... " >&6; }
++if ${ac_cv_host+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ if test "x$host_alias" = x; then
++ ac_cv_host=$ac_cv_build
++else
++ ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
++ as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
++fi
++
++fi
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
++$as_echo "$ac_cv_host" >&6; }
++case $ac_cv_host in
++*-*-*) ;;
++*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
++esac
++host=$ac_cv_host
++ac_save_IFS=$IFS; IFS='-'
++set x $ac_cv_host
++shift
++host_cpu=$1
++host_vendor=$2
++shift; shift
++# Remember, the first character of IFS is used to create $*,
++# except with old shells:
++host_os=$*
++IFS=$ac_save_IFS
++case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
++
++
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
++$as_echo_n "checking target system type... " >&6; }
++if ${ac_cv_target+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ if test "x$target_alias" = x; then
++ ac_cv_target=$ac_cv_host
++else
++ ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
++ as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
++fi
++
++fi
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
++$as_echo "$ac_cv_target" >&6; }
++case $ac_cv_target in
++*-*-*) ;;
++*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
++esac
++target=$ac_cv_target
++ac_save_IFS=$IFS; IFS='-'
++set x $ac_cv_target
++shift
++target_cpu=$1
++target_vendor=$2
++shift; shift
++# Remember, the first character of IFS is used to create $*,
++# except with old shells:
++target_os=$*
++IFS=$ac_save_IFS
++case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
++
++
++# The aliases save the names the user supplied, while $host etc.
++# will get canonicalized.
++test -n "$target_alias" &&
++ test "$program_prefix$program_suffix$program_transform_name" = \
++ NONENONEs,x,x, &&
++ program_prefix=${target_alias}-
++
++test "$program_prefix" != NONE &&
++ program_transform_name="s&^&$program_prefix&;$program_transform_name"
++# Use a double $ so make ignores it.
++test "$program_suffix" != NONE &&
++ program_transform_name="s&\$&$program_suffix&;$program_transform_name"
++# Double any \ or $.
++# By default was `s,x,x', remove it if useless.
++ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
++program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
++
++
++# Find a good install program. We prefer a C program (faster),
++# so one script is as good as another. But avoid the broken or
++# incompatible versions:
++# SysV /etc/install, /usr/sbin/install
++# SunOS /usr/etc/install
++# IRIX /sbin/install
++# AIX /bin/install
++# AmigaOS /C/install, which installs bootblocks on floppy discs
++# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
++# AFS /usr/afsws/bin/install, which mishandles nonexistent args
++# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
++# OS/2's system install, which has a completely different semantic
++# ./install, which can be erroneously created by make from ./install.sh.
++# Reject install programs that cannot install multiple files.
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
++$as_echo_n "checking for a BSD-compatible install... " >&6; }
++if test -z "$INSTALL"; then
++if ${ac_cv_path_install+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ # Account for people who put trailing slashes in PATH elements.
++case $as_dir/ in #((
++ ./ | .// | /[cC]/* | \
++ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
++ ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
++ /usr/ucb/* ) ;;
++ *)
++ # OSF1 and SCO ODT 3.0 have their own names for install.
++ # Don't use installbsd from OSF since it installs stuff as root
++ # by default.
++ for ac_prog in ginstall scoinst install; do
++ for ac_exec_ext in '' $ac_executable_extensions; do
++ if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
++ if test $ac_prog = install &&
++ grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
++ # AIX install. It has an incompatible calling convention.
++ :
++ elif test $ac_prog = install &&
++ grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
++ # program-specific install script used by HP pwplus--don't use.
++ :
++ else
++ rm -rf conftest.one conftest.two conftest.dir
++ echo one > conftest.one
++ echo two > conftest.two
++ mkdir conftest.dir
++ if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
++ test -s conftest.one && test -s conftest.two &&
++ test -s conftest.dir/conftest.one &&
++ test -s conftest.dir/conftest.two
++ then
++ ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
++ break 3
++ fi
++ fi
++ fi
++ done
++ done
++ ;;
++esac
++
++ done
++IFS=$as_save_IFS
++
++rm -rf conftest.one conftest.two conftest.dir
++
++fi
++ if test "${ac_cv_path_install+set}" = set; then
++ INSTALL=$ac_cv_path_install
++ else
++ # As a last resort, use the slow shell script. Don't cache a
++ # value for INSTALL within a source directory, because that will
++ # break other packages using the cache if that directory is
++ # removed, or if the value is a relative name.
++ INSTALL=$ac_install_sh
++ fi
++fi
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
++$as_echo "$INSTALL" >&6; }
++
++# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
++# It thinks the first close brace ends the variable substitution.
++test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
++
++test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
++
++test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
++
++
++rm -rf .tst 2>/dev/null
++mkdir .tst 2>/dev/null
++if test -d .tst; then
++ am__leading_dot=.
++else
++ am__leading_dot=_
++fi
++rmdir .tst 2>/dev/null
++
++DEPDIR="${am__leading_dot}deps"
++
++ac_config_commands="$ac_config_commands depfiles"
++
++
++am_make=${MAKE-make}
++cat > confinc << 'END'
++am__doit:
++ @echo this is the am__doit target
++.PHONY: am__doit
++END
++# If we don't find an include directive, just comment out the code.
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
++$as_echo_n "checking for style of include used by $am_make... " >&6; }
++am__include="#"
++am__quote=
++_am_result=none
++# First try GNU make style include.
++echo "include confinc" > confmf
++# Ignore all kinds of additional output from `make'.
++case `$am_make -s -f confmf 2> /dev/null` in #(
++*the\ am__doit\ target*)
++ am__include=include
++ am__quote=
++ _am_result=GNU
++ ;;
++esac
++# Now try BSD make style include.
++if test "$am__include" = "#"; then
++ echo '.include "confinc"' > confmf
++ case `$am_make -s -f confmf 2> /dev/null` in #(
++ *the\ am__doit\ target*)
++ am__include=.include
++ am__quote="\""
++ _am_result=BSD
++ ;;
++ esac
++fi
++
++
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
++$as_echo "$_am_result" >&6; }
++rm -f confinc confmf
++
++# Check whether --enable-dependency-tracking was given.
++if test "${enable_dependency_tracking+set}" = set; then :
++ enableval=$enable_dependency_tracking;
++fi
++
++if test "x$enable_dependency_tracking" != xno; then
++ am_depcomp="$ac_aux_dir/depcomp"
++ AMDEPBACKSLASH='\'
++fi
++ if test "x$enable_dependency_tracking" != xno; then
++ AMDEP_TRUE=
++ AMDEP_FALSE='#'
++else
++ AMDEP_TRUE='#'
++ AMDEP_FALSE=
++fi
++
++
++# Extract the first word of "gcc", so it can be a program name with args.
++set dummy gcc; ac_word=$2
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
++$as_echo_n "checking for $ac_word... " >&6; }
++if ${ac_cv_prog_CC+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ if test -n "$CC"; then
++ ac_cv_prog_CC="$CC" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ for ac_exec_ext in '' $ac_executable_extensions; do
++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
++ ac_cv_prog_CC="gcc"
++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
++ break 2
++ fi
++done
++ done
++IFS=$as_save_IFS
++
++fi
++fi
++CC=$ac_cv_prog_CC
++if test -n "$CC"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
++$as_echo "$CC" >&6; }
++else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
++$as_echo "no" >&6; }
++fi
++
++
++
++depcc="$CC" am_compiler_list=
++
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
++$as_echo_n "checking dependency style of $depcc... " >&6; }
++if ${am_cv_CC_dependencies_compiler_type+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
++ # We make a subdir and do the tests there. Otherwise we can end up
++ # making bogus files that we don't know about and never remove. For
++ # instance it was reported that on HP-UX the gcc test will end up
++ # making a dummy file named `D' -- because `-MD' means `put the output
++ # in D'.
++ mkdir conftest.dir
++ # Copy depcomp to subdir because otherwise we won't find it if we're
++ # using a relative directory.
++ cp "$am_depcomp" conftest.dir
++ cd conftest.dir
++ # We will build objects and dependencies in a subdirectory because
++ # it helps to detect inapplicable dependency modes. For instance
++ # both Tru64's cc and ICC support -MD to output dependencies as a
++ # side effect of compilation, but ICC will put the dependencies in
++ # the current directory while Tru64 will put them in the object
++ # directory.
++ mkdir sub
++
++ am_cv_CC_dependencies_compiler_type=none
++ if test "$am_compiler_list" = ""; then
++ am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
++ fi
++ am__universal=false
++ case " $depcc " in #(
++ *\ -arch\ *\ -arch\ *) am__universal=true ;;
++ esac
++
++ for depmode in $am_compiler_list; do
++ # Setup a source with many dependencies, because some compilers
++ # like to wrap large dependency lists on column 80 (with \), and
++ # we should not choose a depcomp mode which is confused by this.
++ #
++ # We need to recreate these files for each test, as the compiler may
++ # overwrite some of them when testing with obscure command lines.
++ # This happens at least with the AIX C compiler.
++ : > sub/conftest.c
++ for i in 1 2 3 4 5 6; do
++ echo '#include "conftst'$i'.h"' >> sub/conftest.c
++ # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
++ # Solaris 8's {/usr,}/bin/sh.
++ touch sub/conftst$i.h
++ done
++ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
++
++ # We check with `-c' and `-o' for the sake of the "dashmstdout"
++ # mode. It turns out that the SunPro C++ compiler does not properly
++ # handle `-M -o', and we need to detect this. Also, some Intel
++ # versions had trouble with output in subdirs
++ am__obj=sub/conftest.${OBJEXT-o}
++ am__minus_obj="-o $am__obj"
++ case $depmode in
++ gcc)
++ # This depmode causes a compiler race in universal mode.
++ test "$am__universal" = false || continue
++ ;;
++ nosideeffect)
++ # after this tag, mechanisms are not by side-effect, so they'll
++ # only be used when explicitly requested
++ if test "x$enable_dependency_tracking" = xyes; then
++ continue
++ else
++ break
++ fi
++ ;;
++ msvisualcpp | msvcmsys)
++ # This compiler won't grok `-c -o', but also, the minuso test has
++ # not run yet. These depmodes are late enough in the game, and
++ # so weak that their functioning should not be impacted.
++ am__obj=conftest.${OBJEXT-o}
++ am__minus_obj=
++ ;;
++ none) break ;;
++ esac
++ if depmode=$depmode \
++ source=sub/conftest.c object=$am__obj \
++ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
++ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
++ >/dev/null 2>conftest.err &&
++ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
++ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
++ grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
++ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
++ # icc doesn't choke on unknown options, it will just issue warnings
++ # or remarks (even with -Werror). So we grep stderr for any message
++ # that says an option was ignored or not supported.
++ # When given -MP, icc 7.0 and 7.1 complain thusly:
++ # icc: Command line warning: ignoring option '-M'; no argument required
++ # The diagnosis changed in icc 8.0:
++ # icc: Command line remark: option '-MP' not supported
++ if (grep 'ignoring option' conftest.err ||
++ grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
++ am_cv_CC_dependencies_compiler_type=$depmode
++ break
++ fi
++ fi
++ done
++
++ cd ..
++ rm -rf conftest.dir
++else
++ am_cv_CC_dependencies_compiler_type=none
++fi
++
++fi
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
++$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
++CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
++
++ if
++ test "x$enable_dependency_tracking" != xno \
++ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
++ am__fastdepCC_TRUE=
++ am__fastdepCC_FALSE='#'
++else
++ am__fastdepCC_TRUE='#'
++ am__fastdepCC_FALSE=
++fi
++
++
++if test -z "$CC"; then
++ # Extract the first word of "cc", so it can be a program name with args.
++set dummy cc; ac_word=$2
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
++$as_echo_n "checking for $ac_word... " >&6; }
++if ${ac_cv_prog_CC+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ if test -n "$CC"; then
++ ac_cv_prog_CC="$CC" # Let the user override the test.
++else
++ ac_prog_rejected=no
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ for ac_exec_ext in '' $ac_executable_extensions; do
++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
++ if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
++ ac_prog_rejected=yes
++ continue
++ fi
++ ac_cv_prog_CC="cc"
++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
++ break 2
++ fi
++done
++ done
++IFS=$as_save_IFS
++
++if test $ac_prog_rejected = yes; then
++ # We found a bogon in the path, so make sure we never use it.
++ set dummy $ac_cv_prog_CC
++ shift
++ if test $# != 0; then
++ # We chose a different compiler from the bogus one.
++ # However, it has the same basename, so the bogon will be chosen
++ # first if we set CC to just the basename; use the full file name.
++ shift
++ ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
++ fi
++fi
++fi
++fi
++CC=$ac_cv_prog_CC
++if test -n "$CC"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
++$as_echo "$CC" >&6; }
++else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
++$as_echo "no" >&6; }
++fi
++
++
++ test -z "$CC" && as_fn_error $? "no acceptable cc found in \$PATH" "$LINENO" 5
++fi
++
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using GNU C" >&5
++$as_echo_n "checking whether we are using GNU C... " >&6; }
++if ${ac_cv_c_compiler_gnu+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ cat > conftest.c <<EOF
++#ifdef __GNUC__
++ yes;
++#endif
++EOF
++if { ac_try='${CC-cc} -E conftest.c'
++ { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
++ (eval $ac_try) 2>&5
++ ac_status=$?
++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
++ test $ac_status = 0; }; } | egrep yes >/dev/null 2>&1; then
++ ac_cv_c_compiler_gnu=yes
++else
++ ac_cv_c_compiler_gnu=no
++fi
++fi
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
++$as_echo "$ac_cv_c_compiler_gnu" >&6; }
++
++if test $ac_cv_c_compiler_gnu = yes; then
++ GCC=yes
++ ac_test_CFLAGS="${CFLAGS+set}"
++ ac_save_CFLAGS="$CFLAGS"
++ CFLAGS=
++ ac_test_CFLAGS=${CFLAGS+set}
++ac_save_CFLAGS=$CFLAGS
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
++$as_echo_n "checking whether $CC accepts -g... " >&6; }
++if ${ac_cv_prog_cc_g+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ ac_save_c_werror_flag=$ac_c_werror_flag
++ ac_c_werror_flag=yes
++ ac_cv_prog_cc_g=no
++ CFLAGS="-g"
++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
++/* end confdefs.h. */
++
++int
++main ()
++{
++
++ ;
++ return 0;
++}
++_ACEOF
++if ac_fn_c_try_compile "$LINENO"; then :
++ ac_cv_prog_cc_g=yes
++else
++ CFLAGS=""
++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
++/* end confdefs.h. */
++
++int
++main ()
++{
++
++ ;
++ return 0;
++}
++_ACEOF
++if ac_fn_c_try_compile "$LINENO"; then :
++
++else
++ ac_c_werror_flag=$ac_save_c_werror_flag
++ CFLAGS="-g"
++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
++/* end confdefs.h. */
++
++int
++main ()
++{
++
++ ;
++ return 0;
++}
++_ACEOF
++if ac_fn_c_try_compile "$LINENO"; then :
++ ac_cv_prog_cc_g=yes
++fi
++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
++ ac_c_werror_flag=$ac_save_c_werror_flag
++fi
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
++$as_echo "$ac_cv_prog_cc_g" >&6; }
++if test "$ac_test_CFLAGS" = set; then
++ CFLAGS=$ac_save_CFLAGS
++elif test $ac_cv_prog_cc_g = yes; then
++ if test "$GCC" = yes; then
++ CFLAGS="-g -O2"
++ else
++ CFLAGS="-g"
++ fi
++else
++ if test "$GCC" = yes; then
++ CFLAGS="-O2"
++ else
++ CFLAGS=
++ fi
++fi
++ if test "$ac_test_CFLAGS" = set; then
++ CFLAGS="$ac_save_CFLAGS"
++ elif test $ac_cv_prog_cc_g = yes; then
++ CFLAGS="-g -O2"
++ else
++ CFLAGS="-O2"
++ fi
++else
++ GCC=
++ test "${CFLAGS+set}" = set || CFLAGS="-g"
++fi
++
++AS=${AS-as}
++
++AR=${AR-ar}
++
++LD=${LD-ld}
++
++if test -n "$ac_tool_prefix"; then
++ # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
++set dummy ${ac_tool_prefix}ranlib; ac_word=$2
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
++$as_echo_n "checking for $ac_word... " >&6; }
++if ${ac_cv_prog_RANLIB+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ if test -n "$RANLIB"; then
++ ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ for ac_exec_ext in '' $ac_executable_extensions; do
++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
++ ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
++ break 2
++ fi
++done
++ done
++IFS=$as_save_IFS
++
++fi
++fi
++RANLIB=$ac_cv_prog_RANLIB
++if test -n "$RANLIB"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
++$as_echo "$RANLIB" >&6; }
++else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
++$as_echo "no" >&6; }
++fi
++
++
++fi
++if test -z "$ac_cv_prog_RANLIB"; then
++ ac_ct_RANLIB=$RANLIB
++ # Extract the first word of "ranlib", so it can be a program name with args.
++set dummy ranlib; ac_word=$2
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
++$as_echo_n "checking for $ac_word... " >&6; }
++if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ if test -n "$ac_ct_RANLIB"; then
++ ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ for ac_exec_ext in '' $ac_executable_extensions; do
++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
++ ac_cv_prog_ac_ct_RANLIB="ranlib"
++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
++ break 2
++ fi
++done
++ done
++IFS=$as_save_IFS
++
++fi
++fi
++ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
++if test -n "$ac_ct_RANLIB"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
++$as_echo "$ac_ct_RANLIB" >&6; }
++else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
++$as_echo "no" >&6; }
++fi
++
++ if test "x$ac_ct_RANLIB" = x; then
++ RANLIB=":"
++ else
++ case $cross_compiling:$ac_tool_warned in
++yes:)
++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
++$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
++ac_tool_warned=yes ;;
++esac
++ RANLIB=$ac_ct_RANLIB
++ fi
++else
++ RANLIB="$ac_cv_prog_RANLIB"
++fi
++
++# By default we simply use the C compiler to build assembly code.
++
++test "${CCAS+set}" = set || CCAS=$CC
++test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
++
++
++
++
++case "${target}" in
++ *-*-elf)
++ objtype=elf-
++ ;;
++esac
++
++
++
++host_makefile_frag=${srcdir}/../config/default.mh
++
++host_makefile_frag_path=$host_makefile_frag
++
++
++
++# Configure cpu init plug-ins
++if test -d "${srcdir}/cpu-init"; then
++ subdirs="${subdirs} cpu-init"
++ ac_config_files="$ac_config_files cpu-init/Makefile"
++
++
++fi
++
++ac_config_files="$ac_config_files Makefile"
++
++cat >confcache <<\_ACEOF
++# This file is a shell script that caches the results of configure
++# tests run on this system so they can be shared between configure
++# scripts and configure runs, see configure's option --config-cache.
++# It is not useful on other systems. If it contains results you don't
++# want to keep, you may remove or edit it.
++#
++# config.status only pays attention to the cache file if you give it
++# the --recheck option to rerun configure.
++#
++# `ac_cv_env_foo' variables (set or unset) will be overridden when
++# loading this file, other *unset* `ac_cv_foo' will be assigned the
++# following values.
++
++_ACEOF
++
++# The following way of writing the cache mishandles newlines in values,
++# but we know of no workaround that is simple, portable, and efficient.
++# So, we kill variables containing newlines.
++# Ultrix sh set writes to stderr and can't be redirected directly,
++# and sets the high bit in the cache file unless we assign to the vars.
++(
++ for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
++ eval ac_val=\$$ac_var
++ case $ac_val in #(
++ *${as_nl}*)
++ case $ac_var in #(
++ *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
++$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
++ esac
++ case $ac_var in #(
++ _ | IFS | as_nl) ;; #(
++ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
++ *) { eval $ac_var=; unset $ac_var;} ;;
++ esac ;;
++ esac
++ done
++
++ (set) 2>&1 |
++ case $as_nl`(ac_space=' '; set) 2>&1` in #(
++ *${as_nl}ac_space=\ *)
++ # `set' does not quote correctly, so add quotes: double-quote
++ # substitution turns \\\\ into \\, and sed turns \\ into \.
++ sed -n \
++ "s/'/'\\\\''/g;
++ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
++ ;; #(
++ *)
++ # `set' quotes correctly as required by POSIX, so do not add quotes.
++ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
++ ;;
++ esac |
++ sort
++) |
++ sed '
++ /^ac_cv_env_/b end
++ t clear
++ :clear
++ s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
++ t end
++ s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
++ :end' >>confcache
++if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
++ if test -w "$cache_file"; then
++ if test "x$cache_file" != "x/dev/null"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
++$as_echo "$as_me: updating cache $cache_file" >&6;}
++ if test ! -f "$cache_file" || test -h "$cache_file"; then
++ cat confcache >"$cache_file"
++ else
++ case $cache_file in #(
++ */* | ?:*)
++ mv -f confcache "$cache_file"$$ &&
++ mv -f "$cache_file"$$ "$cache_file" ;; #(
++ *)
++ mv -f confcache "$cache_file" ;;
++ esac
++ fi
++ fi
++ else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
++$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
++ fi
++fi
++rm -f confcache
++
++test "x$prefix" = xNONE && prefix=$ac_default_prefix
++# Let make expand exec_prefix.
++test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
++
++# Transform confdefs.h into DEFS.
++# Protect against shell expansion while executing Makefile rules.
++# Protect against Makefile macro expansion.
++#
++# If the first sed substitution is executed (which looks for macros that
++# take arguments), then branch to the quote section. Otherwise,
++# look for a macro that doesn't take arguments.
++ac_script='
++:mline
++/\\$/{
++ N
++ s,\\\n,,
++ b mline
++}
++t clear
++:clear
++s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
++t quote
++s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
++t quote
++b any
++:quote
++s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
++s/\[/\\&/g
++s/\]/\\&/g
++s/\$/$$/g
++H
++:any
++${
++ g
++ s/^\n//
++ s/\n/ /g
++ p
++}
++'
++DEFS=`sed -n "$ac_script" confdefs.h`
++
++
++ac_libobjs=
++ac_ltlibobjs=
++U=
++for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
++ # 1. Remove the extension, and $U if already installed.
++ ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
++ ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
++ # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
++ # will be set to the directory where LIBOBJS objects are built.
++ as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
++ as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
++done
++LIBOBJS=$ac_libobjs
++
++LTLIBOBJS=$ac_ltlibobjs
++
++
++if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
++ as_fn_error $? "conditional \"AMDEP\" was never defined.
++Usually this means the macro was only invoked conditionally." "$LINENO" 5
++fi
++if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
++ as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
++Usually this means the macro was only invoked conditionally." "$LINENO" 5
++fi
++
++: "${CONFIG_STATUS=./config.status}"
++ac_write_fail=0
++ac_clean_files_save=$ac_clean_files
++ac_clean_files="$ac_clean_files $CONFIG_STATUS"
++{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
++$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
++as_write_fail=0
++cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
++#! $SHELL
++# Generated by $as_me.
++# Run this file to recreate the current configuration.
++# Compiler output produced by configure, useful for debugging
++# configure, is in config.log if it exists.
++
++debug=false
++ac_cs_recheck=false
++ac_cs_silent=false
++
++SHELL=\${CONFIG_SHELL-$SHELL}
++export SHELL
++_ASEOF
++cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
++## -------------------- ##
++## M4sh Initialization. ##
++## -------------------- ##
++
++# Be more Bourne compatible
++DUALCASE=1; export DUALCASE # for MKS sh
++if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
++ emulate sh
++ NULLCMD=:
++ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
++ # is contrary to our usage. Disable this feature.
++ alias -g '${1+"$@"}'='"$@"'
++ setopt NO_GLOB_SUBST
++else
++ case `(set -o) 2>/dev/null` in #(
++ *posix*) :
++ set -o posix ;; #(
++ *) :
++ ;;
++esac
++fi
++
++
++as_nl='
++'
++export as_nl
++# Printing a long string crashes Solaris 7 /usr/bin/printf.
++as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
++as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
++as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
++# Prefer a ksh shell builtin over an external printf program on Solaris,
++# but without wasting forks for bash or zsh.
++if test -z "$BASH_VERSION$ZSH_VERSION" \
++ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
++ as_echo='print -r --'
++ as_echo_n='print -rn --'
++elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
++ as_echo='printf %s\n'
++ as_echo_n='printf %s'
++else
++ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
++ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
++ as_echo_n='/usr/ucb/echo -n'
++ else
++ as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
++ as_echo_n_body='eval
++ arg=$1;
++ case $arg in #(
++ *"$as_nl"*)
++ expr "X$arg" : "X\\(.*\\)$as_nl";
++ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
++ esac;
++ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
++ '
++ export as_echo_n_body
++ as_echo_n='sh -c $as_echo_n_body as_echo'
++ fi
++ export as_echo_body
++ as_echo='sh -c $as_echo_body as_echo'
++fi
++
++# The user is always right.
++if test "${PATH_SEPARATOR+set}" != set; then
++ PATH_SEPARATOR=:
++ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
++ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
++ PATH_SEPARATOR=';'
++ }
++fi
++
++
++# IFS
++# We need space, tab and new line, in precisely that order. Quoting is
++# there to prevent editors from complaining about space-tab.
++# (If _AS_PATH_WALK were called with IFS unset, it would disable word
++# splitting by setting IFS to empty value.)
++IFS=" "" $as_nl"
++
++# Find who we are. Look in the path if we contain no directory separator.
++as_myself=
++case $0 in #((
++ *[\\/]* ) as_myself=$0 ;;
++ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
++ done
++IFS=$as_save_IFS
++
++ ;;
++esac
++# We did not find ourselves, most probably we were run as `sh COMMAND'
++# in which case we are not to be found in the path.
++if test "x$as_myself" = x; then
++ as_myself=$0
++fi
++if test ! -f "$as_myself"; then
++ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
++ exit 1
++fi
++
++# Unset variables that we do not need and which cause bugs (e.g. in
++# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
++# suppresses any "Segmentation fault" message there. '((' could
++# trigger a bug in pdksh 5.2.14.
++for as_var in BASH_ENV ENV MAIL MAILPATH
++do eval test x\${$as_var+set} = xset \
++ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
++done
++PS1='$ '
++PS2='> '
++PS4='+ '
++
++# NLS nuisances.
++LC_ALL=C
++export LC_ALL
++LANGUAGE=C
++export LANGUAGE
++
++# CDPATH.
++(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
++
++
++# as_fn_error STATUS ERROR [LINENO LOG_FD]
++# ----------------------------------------
++# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
++# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
++# script with STATUS, using 1 if that was 0.
++as_fn_error ()
++{
++ as_status=$1; test $as_status -eq 0 && as_status=1
++ if test "$4"; then
++ as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
++ $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
++ fi
++ $as_echo "$as_me: error: $2" >&2
++ as_fn_exit $as_status
++} # as_fn_error
++
++
++# as_fn_set_status STATUS
++# -----------------------
++# Set $? to STATUS, without forking.
++as_fn_set_status ()
++{
++ return $1
++} # as_fn_set_status
++
++# as_fn_exit STATUS
++# -----------------
++# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
++as_fn_exit ()
++{
++ set +e
++ as_fn_set_status $1
++ exit $1
++} # as_fn_exit
++
++# as_fn_unset VAR
++# ---------------
++# Portably unset VAR.
++as_fn_unset ()
++{
++ { eval $1=; unset $1;}
++}
++as_unset=as_fn_unset
++# as_fn_append VAR VALUE
++# ----------------------
++# Append the text in VALUE to the end of the definition contained in VAR. Take
++# advantage of any shell optimizations that allow amortized linear growth over
++# repeated appends, instead of the typical quadratic growth present in naive
++# implementations.
++if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
++ eval 'as_fn_append ()
++ {
++ eval $1+=\$2
++ }'
++else
++ as_fn_append ()
++ {
++ eval $1=\$$1\$2
++ }
++fi # as_fn_append
++
++# as_fn_arith ARG...
++# ------------------
++# Perform arithmetic evaluation on the ARGs, and store the result in the
++# global $as_val. Take advantage of shells that can avoid forks. The arguments
++# must be portable across $(()) and expr.
++if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
++ eval 'as_fn_arith ()
++ {
++ as_val=$(( $* ))
++ }'
++else
++ as_fn_arith ()
++ {
++ as_val=`expr "$@" || test $? -eq 1`
++ }
++fi # as_fn_arith
++
++
++if expr a : '\(a\)' >/dev/null 2>&1 &&
++ test "X`expr 00001 : '.*\(...\)'`" = X001; then
++ as_expr=expr
++else
++ as_expr=false
++fi
++
++if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
++ as_basename=basename
++else
++ as_basename=false
++fi
++
++if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
++ as_dirname=dirname
++else
++ as_dirname=false
++fi
++
++as_me=`$as_basename -- "$0" ||
++$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
++ X"$0" : 'X\(//\)$' \| \
++ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
++$as_echo X/"$0" |
++ sed '/^.*\/\([^/][^/]*\)\/*$/{
++ s//\1/
++ q
++ }
++ /^X\/\(\/\/\)$/{
++ s//\1/
++ q
++ }
++ /^X\/\(\/\).*/{
++ s//\1/
++ q
++ }
++ s/.*/./; q'`
++
++# Avoid depending upon Character Ranges.
++as_cr_letters='abcdefghijklmnopqrstuvwxyz'
++as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
++as_cr_Letters=$as_cr_letters$as_cr_LETTERS
++as_cr_digits='0123456789'
++as_cr_alnum=$as_cr_Letters$as_cr_digits
++
++ECHO_C= ECHO_N= ECHO_T=
++case `echo -n x` in #(((((
++-n*)
++ case `echo 'xy\c'` in
++ *c*) ECHO_T=' ';; # ECHO_T is single tab character.
++ xy) ECHO_C='\c';;
++ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
++ ECHO_T=' ';;
++ esac;;
++*)
++ ECHO_N='-n';;
++esac
++
++rm -f conf$$ conf$$.exe conf$$.file
++if test -d conf$$.dir; then
++ rm -f conf$$.dir/conf$$.file
++else
++ rm -f conf$$.dir
++ mkdir conf$$.dir 2>/dev/null
++fi
++if (echo >conf$$.file) 2>/dev/null; then
++ if ln -s conf$$.file conf$$ 2>/dev/null; then
++ as_ln_s='ln -s'
++ # ... but there are two gotchas:
++ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
++ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
++ # In both cases, we have to default to `cp -p'.
++ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
++ as_ln_s='cp -p'
++ elif ln conf$$.file conf$$ 2>/dev/null; then
++ as_ln_s=ln
++ else
++ as_ln_s='cp -p'
++ fi
++else
++ as_ln_s='cp -p'
++fi
++rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
++rmdir conf$$.dir 2>/dev/null
++
++
++# as_fn_mkdir_p
++# -------------
++# Create "$as_dir" as a directory, including parents if necessary.
++as_fn_mkdir_p ()
++{
++
++ case $as_dir in #(
++ -*) as_dir=./$as_dir;;
++ esac
++ test -d "$as_dir" || eval $as_mkdir_p || {
++ as_dirs=
++ while :; do
++ case $as_dir in #(
++ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
++ *) as_qdir=$as_dir;;
++ esac
++ as_dirs="'$as_qdir' $as_dirs"
++ as_dir=`$as_dirname -- "$as_dir" ||
++$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
++ X"$as_dir" : 'X\(//\)[^/]' \| \
++ X"$as_dir" : 'X\(//\)$' \| \
++ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
++$as_echo X"$as_dir" |
++ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
++ s//\1/
++ q
++ }
++ /^X\(\/\/\)[^/].*/{
++ s//\1/
++ q
++ }
++ /^X\(\/\/\)$/{
++ s//\1/
++ q
++ }
++ /^X\(\/\).*/{
++ s//\1/
++ q
++ }
++ s/.*/./; q'`
++ test -d "$as_dir" && break
++ done
++ test -z "$as_dirs" || eval "mkdir $as_dirs"
++ } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
++
++
++} # as_fn_mkdir_p
++if mkdir -p . 2>/dev/null; then
++ as_mkdir_p='mkdir -p "$as_dir"'
++else
++ test -d ./-p && rmdir ./-p
++ as_mkdir_p=false
++fi
++
++if test -x / >/dev/null 2>&1; then
++ as_test_x='test -x'
++else
++ if ls -dL / >/dev/null 2>&1; then
++ as_ls_L_option=L
++ else
++ as_ls_L_option=
++ fi
++ as_test_x='
++ eval sh -c '\''
++ if test -d "$1"; then
++ test -d "$1/.";
++ else
++ case $1 in #(
++ -*)set "./$1";;
++ esac;
++ case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
++ ???[sx]*):;;*)false;;esac;fi
++ '\'' sh
++ '
++fi
++as_executable_p=$as_test_x
++
++# Sed expression to map a string onto a valid CPP name.
++as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
++
++# Sed expression to map a string onto a valid variable name.
++as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
++
++
++exec 6>&1
++## ----------------------------------- ##
++## Main body of $CONFIG_STATUS script. ##
++## ----------------------------------- ##
++_ASEOF
++test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
++
++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
++# Save the log message, to keep $0 and so on meaningful, and to
++# report actual input values of CONFIG_FILES etc. instead of their
++# values after options handling.
++ac_log="
++This file was extended by $as_me, which was
++generated by GNU Autoconf 2.68. Invocation command line was
++
++ CONFIG_FILES = $CONFIG_FILES
++ CONFIG_HEADERS = $CONFIG_HEADERS
++ CONFIG_LINKS = $CONFIG_LINKS
++ CONFIG_COMMANDS = $CONFIG_COMMANDS
++ $ $0 $@
++
++on `(hostname || uname -n) 2>/dev/null | sed 1q`
++"
++
++_ACEOF
++
++case $ac_config_files in *"
++"*) set x $ac_config_files; shift; ac_config_files=$*;;
++esac
++
++
++
++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
++# Files that config.status was made for.
++config_files="$ac_config_files"
++config_commands="$ac_config_commands"
++
++_ACEOF
++
++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
++ac_cs_usage="\
++\`$as_me' instantiates files and other configuration actions
++from templates according to the current configuration. Unless the files
++and actions are specified as TAGs, all are instantiated by default.
++
++Usage: $0 [OPTION]... [TAG]...
++
++ -h, --help print this help, then exit
++ -V, --version print version number and configuration settings, then exit
++ --config print configuration, then exit
++ -q, --quiet, --silent
++ do not print progress messages
++ -d, --debug don't remove temporary files
++ --recheck update $as_me by reconfiguring in the same conditions
++ --file=FILE[:TEMPLATE]
++ instantiate the configuration file FILE
++
++Configuration files:
++$config_files
++
++Configuration commands:
++$config_commands
++
++Report bugs to the package provider."
++
++_ACEOF
++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
++ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
++ac_cs_version="\\
++config.status
++configured by $0, generated by GNU Autoconf 2.68,
++ with options \\"\$ac_cs_config\\"
++
++Copyright (C) 2010 Free Software Foundation, Inc.
++This config.status script is free software; the Free Software Foundation
++gives unlimited permission to copy, distribute and modify it."
++
++ac_pwd='$ac_pwd'
++srcdir='$srcdir'
++INSTALL='$INSTALL'
++test -n "\$AWK" || AWK=awk
++_ACEOF
++
++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
++# The default lists apply if the user does not specify any file.
++ac_need_defaults=:
++while test $# != 0
++do
++ case $1 in
++ --*=?*)
++ ac_option=`expr "X$1" : 'X\([^=]*\)='`
++ ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
++ ac_shift=:
++ ;;
++ --*=)
++ ac_option=`expr "X$1" : 'X\([^=]*\)='`
++ ac_optarg=
++ ac_shift=:
++ ;;
++ *)
++ ac_option=$1
++ ac_optarg=$2
++ ac_shift=shift
++ ;;
++ esac
++
++ case $ac_option in
++ # Handling of the options.
++ -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
++ ac_cs_recheck=: ;;
++ --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
++ $as_echo "$ac_cs_version"; exit ;;
++ --config | --confi | --conf | --con | --co | --c )
++ $as_echo "$ac_cs_config"; exit ;;
++ --debug | --debu | --deb | --de | --d | -d )
++ debug=: ;;
++ --file | --fil | --fi | --f )
++ $ac_shift
++ case $ac_optarg in
++ *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
++ '') as_fn_error $? "missing file argument" ;;
++ esac
++ as_fn_append CONFIG_FILES " '$ac_optarg'"
++ ac_need_defaults=false;;
++ --he | --h | --help | --hel | -h )
++ $as_echo "$ac_cs_usage"; exit ;;
++ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
++ | -silent | --silent | --silen | --sile | --sil | --si | --s)
++ ac_cs_silent=: ;;
++
++ # This is an error.
++ -*) as_fn_error $? "unrecognized option: \`$1'
++Try \`$0 --help' for more information." ;;
++
++ *) as_fn_append ac_config_targets " $1"
++ ac_need_defaults=false ;;
++
++ esac
++ shift
++done
++
++ac_configure_extra_args=
++
++if $ac_cs_silent; then
++ exec 6>/dev/null
++ ac_configure_extra_args="$ac_configure_extra_args --silent"
++fi
++
++_ACEOF
++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
++if \$ac_cs_recheck; then
++ set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
++ shift
++ \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
++ CONFIG_SHELL='$SHELL'
++ export CONFIG_SHELL
++ exec "\$@"
++fi
++
++_ACEOF
++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
++exec 5>>config.log
++{
++ echo
++ sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
++## Running $as_me. ##
++_ASBOX
++ $as_echo "$ac_log"
++} >&5
++
++_ACEOF
++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
++#
++# INIT-COMMANDS
++#
++AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
++srcdir=${srcdir}
++ target=${target}
++ with_multisubdir=${with_multisubdir}
++ ac_configure_args="${ac_configure_args} --enable-multilib"
++ CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
++ libgloss_topdir=${libgloss_topdir}
++
++srcdir=${srcdir}
++target=${target}
++with_multisubdir=${with_multisubdir}
++ac_configure_args="${ac_configure_args} --enable-multilib"
++CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
++libgloss_topdir=${libgloss_topdir}
++
++
++_ACEOF
++
++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
++
++# Handling of arguments.
++for ac_config_target in $ac_config_targets
++do
++ case $ac_config_target in
++ "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
++ "cpu-init/Makefile") CONFIG_FILES="$CONFIG_FILES cpu-init/Makefile" ;;
++ "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
++
++ *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
++ esac
++done
++
++
++# If the user did not use the arguments to specify the items to instantiate,
++# then the envvar interface is used. Set only those that are not.
++# We use the long form for the default assignment because of an extremely
++# bizarre bug on SunOS 4.1.3.
++if $ac_need_defaults; then
++ test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
++ test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
++fi
++
++# Have a temporary directory for convenience. Make it in the build tree
++# simply because there is no reason against having it here, and in addition,
++# creating and moving files from /tmp can sometimes cause problems.
++# Hook for its removal unless debugging.
++# Note that there is a small window in which the directory will not be cleaned:
++# after its creation but before its name has been assigned to `$tmp'.
++$debug ||
++{
++ tmp= ac_tmp=
++ trap 'exit_status=$?
++ : "${ac_tmp:=$tmp}"
++ { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
++' 0
++ trap 'as_fn_exit 1' 1 2 13 15
++}
++# Create a (secure) tmp directory for tmp files.
++
++{
++ tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
++ test -d "$tmp"
++} ||
++{
++ tmp=./conf$$-$RANDOM
++ (umask 077 && mkdir "$tmp")
++} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
++ac_tmp=$tmp
++
++# Set up the scripts for CONFIG_FILES section.
++# No need to generate them if there are no CONFIG_FILES.
++# This happens for instance with `./config.status config.h'.
++if test -n "$CONFIG_FILES"; then
++
++if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
++ ac_cs_awk_getline=:
++ ac_cs_awk_pipe_init=
++ ac_cs_awk_read_file='
++ while ((getline aline < (F[key])) > 0)
++ print(aline)
++ close(F[key])'
++ ac_cs_awk_pipe_fini=
++else
++ ac_cs_awk_getline=false
++ ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
++ ac_cs_awk_read_file='
++ print "|#_!!_#|"
++ print "cat " F[key] " &&"
++ '$ac_cs_awk_pipe_init
++ # The final `:' finishes the AND list.
++ ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
++fi
++ac_cr=`echo X | tr X '\015'`
++# On cygwin, bash can eat \r inside `` if the user requested igncr.
++# But we know of no other shell where ac_cr would be empty at this
++# point, so we can use a bashism as a fallback.
++if test "x$ac_cr" = x; then
++ eval ac_cr=\$\'\\r\'
++fi
++ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
++if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
++ ac_cs_awk_cr='\\r'
++else
++ ac_cs_awk_cr=$ac_cr
++fi
++
++echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
++_ACEOF
++
++# Create commands to substitute file output variables.
++{
++ echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
++ echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
++ echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
++ echo "_ACAWK" &&
++ echo "_ACEOF"
++} >conf$$files.sh &&
++. ./conf$$files.sh ||
++ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
++rm -f conf$$files.sh
++
++{
++ echo "cat >conf$$subs.awk <<_ACEOF" &&
++ echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
++ echo "_ACEOF"
++} >conf$$subs.sh ||
++ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
++ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
++ac_delim='%!_!# '
++for ac_last_try in false false false false false :; do
++ . ./conf$$subs.sh ||
++ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
++
++ ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
++ if test $ac_delim_n = $ac_delim_num; then
++ break
++ elif $ac_last_try; then
++ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
++ else
++ ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
++ fi
++done
++rm -f conf$$subs.sh
++
++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
++cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
++_ACEOF
++sed -n '
++h
++s/^/S["/; s/!.*/"]=/
++p
++g
++s/^[^!]*!//
++:repl
++t repl
++s/'"$ac_delim"'$//
++t delim
++:nl
++h
++s/\(.\{148\}\)..*/\1/
++t more1
++s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
++p
++n
++b repl
++:more1
++s/["\\]/\\&/g; s/^/"/; s/$/"\\/
++p
++g
++s/.\{148\}//
++t nl
++:delim
++h
++s/\(.\{148\}\)..*/\1/
++t more2
++s/["\\]/\\&/g; s/^/"/; s/$/"/
++p
++b
++:more2
++s/["\\]/\\&/g; s/^/"/; s/$/"\\/
++p
++g
++s/.\{148\}//
++t delim
++' <conf$$subs.awk | sed '
++/^[^""]/{
++ N
++ s/\n//
++}
++' >>$CONFIG_STATUS || ac_write_fail=1
++rm -f conf$$subs.awk
++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
++_ACAWK
++cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
++ for (key in S) S_is_set[key] = 1
++ FS = ""
++ \$ac_cs_awk_pipe_init
++}
++{
++ line = $ 0
++ nfields = split(line, field, "@")
++ substed = 0
++ len = length(field[1])
++ for (i = 2; i < nfields; i++) {
++ key = field[i]
++ keylen = length(key)
++ if (S_is_set[key]) {
++ value = S[key]
++ line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
++ len += length(value) + length(field[++i])
++ substed = 1
++ } else
++ len += 1 + keylen
++ }
++ if (nfields == 3 && !substed) {
++ key = field[2]
++ if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
++ \$ac_cs_awk_read_file
++ next
++ }
++ }
++ print line
++}
++\$ac_cs_awk_pipe_fini
++_ACAWK
++_ACEOF
++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
++if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
++ sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
++else
++ cat
++fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
++ || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
++_ACEOF
++
++# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
++# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
++# trailing colons and then remove the whole line if VPATH becomes empty
++# (actually we leave an empty line to preserve line numbers).
++if test "x$srcdir" = x.; then
++ ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
++h
++s///
++s/^/:/
++s/[ ]*$/:/
++s/:\$(srcdir):/:/g
++s/:\${srcdir}:/:/g
++s/:@srcdir@:/:/g
++s/^:*//
++s/:*$//
++x
++s/\(=[ ]*\).*/\1/
++G
++s/\n//
++s/^[^=]*=[ ]*$//
++}'
++fi
++
++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
++fi # test -n "$CONFIG_FILES"
++
++
++eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
++shift
++for ac_tag
++do
++ case $ac_tag in
++ :[FHLC]) ac_mode=$ac_tag; continue;;
++ esac
++ case $ac_mode$ac_tag in
++ :[FHL]*:*);;
++ :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
++ :[FH]-) ac_tag=-:-;;
++ :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
++ esac
++ ac_save_IFS=$IFS
++ IFS=:
++ set x $ac_tag
++ IFS=$ac_save_IFS
++ shift
++ ac_file=$1
++ shift
++
++ case $ac_mode in
++ :L) ac_source=$1;;
++ :[FH])
++ ac_file_inputs=
++ for ac_f
++ do
++ case $ac_f in
++ -) ac_f="$ac_tmp/stdin";;
++ *) # Look for the file first in the build tree, then in the source tree
++ # (if the path is not absolute). The absolute path cannot be DOS-style,
++ # because $ac_f cannot contain `:'.
++ test -f "$ac_f" ||
++ case $ac_f in
++ [\\/$]*) false;;
++ *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
++ esac ||
++ as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
++ esac
++ case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
++ as_fn_append ac_file_inputs " '$ac_f'"
++ done
++
++ # Let's still pretend it is `configure' which instantiates (i.e., don't
++ # use $as_me), people would be surprised to read:
++ # /* config.h. Generated by config.status. */
++ configure_input='Generated from '`
++ $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
++ `' by configure.'
++ if test x"$ac_file" != x-; then
++ configure_input="$ac_file. $configure_input"
++ { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
++$as_echo "$as_me: creating $ac_file" >&6;}
++ fi
++ # Neutralize special characters interpreted by sed in replacement strings.
++ case $configure_input in #(
++ *\&* | *\|* | *\\* )
++ ac_sed_conf_input=`$as_echo "$configure_input" |
++ sed 's/[\\\\&|]/\\\\&/g'`;; #(
++ *) ac_sed_conf_input=$configure_input;;
++ esac
++
++ case $ac_tag in
++ *:-:* | *:-) cat >"$ac_tmp/stdin" \
++ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
++ esac
++ ;;
++ esac
++
++ ac_dir=`$as_dirname -- "$ac_file" ||
++$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
++ X"$ac_file" : 'X\(//\)[^/]' \| \
++ X"$ac_file" : 'X\(//\)$' \| \
++ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
++$as_echo X"$ac_file" |
++ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
++ s//\1/
++ q
++ }
++ /^X\(\/\/\)[^/].*/{
++ s//\1/
++ q
++ }
++ /^X\(\/\/\)$/{
++ s//\1/
++ q
++ }
++ /^X\(\/\).*/{
++ s//\1/
++ q
++ }
++ s/.*/./; q'`
++ as_dir="$ac_dir"; as_fn_mkdir_p
++ ac_builddir=.
++
++case "$ac_dir" in
++.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
++*)
++ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
++ # A ".." for each directory in $ac_dir_suffix.
++ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
++ case $ac_top_builddir_sub in
++ "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
++ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
++ esac ;;
++esac
++ac_abs_top_builddir=$ac_pwd
++ac_abs_builddir=$ac_pwd$ac_dir_suffix
++# for backward compatibility:
++ac_top_builddir=$ac_top_build_prefix
++
++case $srcdir in
++ .) # We are building in place.
++ ac_srcdir=.
++ ac_top_srcdir=$ac_top_builddir_sub
++ ac_abs_top_srcdir=$ac_pwd ;;
++ [\\/]* | ?:[\\/]* ) # Absolute name.
++ ac_srcdir=$srcdir$ac_dir_suffix;
++ ac_top_srcdir=$srcdir
++ ac_abs_top_srcdir=$srcdir ;;
++ *) # Relative name.
++ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
++ ac_top_srcdir=$ac_top_build_prefix$srcdir
++ ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
++esac
++ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
++
++
++ case $ac_mode in
++ :F)
++ #
++ # CONFIG_FILE
++ #
++
++ case $INSTALL in
++ [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
++ *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
++ esac
++_ACEOF
++
++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
++# If the template does not know about datarootdir, expand it.
++# FIXME: This hack should be removed a few years after 2.60.
++ac_datarootdir_hack=; ac_datarootdir_seen=
++ac_sed_dataroot='
++/datarootdir/ {
++ p
++ q
++}
++/@datadir@/p
++/@docdir@/p
++/@infodir@/p
++/@localedir@/p
++/@mandir@/p'
++case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
++*datarootdir*) ac_datarootdir_seen=yes;;
++*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
++$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
++_ACEOF
++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
++ ac_datarootdir_hack='
++ s&@datadir@&$datadir&g
++ s&@docdir@&$docdir&g
++ s&@infodir@&$infodir&g
++ s&@localedir@&$localedir&g
++ s&@mandir@&$mandir&g
++ s&\\\${datarootdir}&$datarootdir&g' ;;
++esac
++_ACEOF
++
++# Neutralize VPATH when `$srcdir' = `.'.
++# Shell code in configure.ac might set extrasub.
++# FIXME: do we really want to maintain this feature?
++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
++ac_sed_extra="$ac_vpsub
++$extrasub
++_ACEOF
++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
++:t
++/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
++s|@configure_input@|$ac_sed_conf_input|;t t
++s&@top_builddir@&$ac_top_builddir_sub&;t t
++s&@top_build_prefix@&$ac_top_build_prefix&;t t
++s&@srcdir@&$ac_srcdir&;t t
++s&@abs_srcdir@&$ac_abs_srcdir&;t t
++s&@top_srcdir@&$ac_top_srcdir&;t t
++s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
++s&@builddir@&$ac_builddir&;t t
++s&@abs_builddir@&$ac_abs_builddir&;t t
++s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
++s&@INSTALL@&$ac_INSTALL&;t t
++$ac_datarootdir_hack
++"
++eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
++if $ac_cs_awk_getline; then
++ $AWK -f "$ac_tmp/subs.awk"
++else
++ $AWK -f "$ac_tmp/subs.awk" | $SHELL
++fi \
++ >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
++
++test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
++ { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
++ { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
++ "$ac_tmp/out"`; test -z "$ac_out"; } &&
++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
++which seems to be undefined. Please make sure it is defined" >&5
++$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
++which seems to be undefined. Please make sure it is defined" >&2;}
++
++ rm -f "$ac_tmp/stdin"
++ case $ac_file in
++ -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
++ *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
++ esac \
++ || as_fn_error $? "could not create $ac_file" "$LINENO" 5
++ ;;
++
++
++ :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
++$as_echo "$as_me: executing $ac_file commands" >&6;}
++ ;;
++ esac
++
++
++ case $ac_file$ac_mode in
++ "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
++ # Autoconf 2.62 quotes --file arguments for eval, but not when files
++ # are listed without --file. Let's play safe and only enable the eval
++ # if we detect the quoting.
++ case $CONFIG_FILES in
++ *\'*) eval set x "$CONFIG_FILES" ;;
++ *) set x $CONFIG_FILES ;;
++ esac
++ shift
++ for mf
++ do
++ # Strip MF so we end up with the name of the file.
++ mf=`echo "$mf" | sed -e 's/:.*$//'`
++ # Check whether this is an Automake generated Makefile or not.
++ # We used to match only the files named `Makefile.in', but
++ # some people rename them; so instead we look at the file content.
++ # Grep'ing the first line is not enough: some people post-process
++ # each Makefile.in and add a new line on top of each file to say so.
++ # Grep'ing the whole file is not good either: AIX grep has a line
++ # limit of 2048, but all sed's we know have understand at least 4000.
++ if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
++ dirpart=`$as_dirname -- "$mf" ||
++$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
++ X"$mf" : 'X\(//\)[^/]' \| \
++ X"$mf" : 'X\(//\)$' \| \
++ X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
++$as_echo X"$mf" |
++ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
++ s//\1/
++ q
++ }
++ /^X\(\/\/\)[^/].*/{
++ s//\1/
++ q
++ }
++ /^X\(\/\/\)$/{
++ s//\1/
++ q
++ }
++ /^X\(\/\).*/{
++ s//\1/
++ q
++ }
++ s/.*/./; q'`
++ else
++ continue
++ fi
++ # Extract the definition of DEPDIR, am__include, and am__quote
++ # from the Makefile without running `make'.
++ DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
++ test -z "$DEPDIR" && continue
++ am__include=`sed -n 's/^am__include = //p' < "$mf"`
++ test -z "am__include" && continue
++ am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
++ # When using ansi2knr, U may be empty or an underscore; expand it
++ U=`sed -n 's/^U = //p' < "$mf"`
++ # Find all dependency output files, they are included files with
++ # $(DEPDIR) in their names. We invoke sed twice because it is the
++ # simplest approach to changing $(DEPDIR) to its actual value in the
++ # expansion.
++ for file in `sed -n "
++ s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
++ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
++ # Make sure the directory exists.
++ test -f "$dirpart/$file" && continue
++ fdir=`$as_dirname -- "$file" ||
++$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
++ X"$file" : 'X\(//\)[^/]' \| \
++ X"$file" : 'X\(//\)$' \| \
++ X"$file" : 'X\(/\)' \| . 2>/dev/null ||
++$as_echo X"$file" |
++ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
++ s//\1/
++ q
++ }
++ /^X\(\/\/\)[^/].*/{
++ s//\1/
++ q
++ }
++ /^X\(\/\/\)$/{
++ s//\1/
++ q
++ }
++ /^X\(\/\).*/{
++ s//\1/
++ q
++ }
++ s/.*/./; q'`
++ as_dir=$dirpart/$fdir; as_fn_mkdir_p
++ # echo "creating $dirpart/$file"
++ echo '# dummy' > "$dirpart/$file"
++ done
++ done
++}
++ ;;
++ "cpu-init/Makefile":F) . ${libgloss_topdir}/config-ml.in ;;
++ "Makefile":F) . ${libgloss_topdir}/config-ml.in ;;
++
++ esac
++done # for ac_tag
++
++
++as_fn_exit 0
++_ACEOF
++ac_clean_files=$ac_clean_files_save
++
++test $ac_write_fail = 0 ||
++ as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
++
++
++# configure is writing to config.log, and then calls config.status.
++# config.status does its own redirection, appending to config.log.
++# Unfortunately, on DOS this fails, as config.log is still kept open
++# by configure, so config.status won't be able to write to it; its
++# output is simply discarded. So we exec the FD to /dev/null,
++# effectively closing config.log, so it can be properly (re)opened and
++# appended to by config.status. When coming back to configure, we
++# need to make the FD available again.
++if test "$no_create" != yes; then
++ ac_cs_success=:
++ ac_config_status_args=
++ test "$silent" = yes &&
++ ac_config_status_args="$ac_config_status_args --quiet"
++ exec 5>/dev/null
++ $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
++ exec 5>>config.log
++ # Use ||, not &&, to avoid exiting from the if with $? = 1, which
++ # would make configure fail if this is the last instruction.
++ $ac_cs_success || as_fn_exit 1
++fi
++if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
++$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
++fi
++
+diff -Naur newlib-1.20.0.orig/libgloss/aarch64/configure.in newlib-1.20.0/libgloss/aarch64/configure.in
+--- newlib-1.20.0.orig/libgloss/aarch64/configure.in 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/libgloss/aarch64/configure.in 2012-10-15 10:31:19.522619511 +0200
+@@ -0,0 +1,73 @@
++dnl Process this file with autoconf to produce a configure script.
++AC_PREREQ(2.59)
++AC_INIT(crt0.S)
++
++if test "$srcdir" = "." ; then
++ if test "${with_target_subdir}" != "." ; then
++ libgloss_topdir="${srcdir}/${with_multisrctop}../../.."
++ else
++ libgloss_topdir="${srcdir}/${with_multisrctop}../.."
++ fi
++else
++ libgloss_topdir="${srcdir}/../.."
++fi
++AC_CONFIG_AUX_DIR($libgloss_topdir)
++
++AC_CANONICAL_SYSTEM
++AC_ARG_PROGRAM
++
++AC_PROG_INSTALL
++
++LIB_AC_PROG_CC
++AS=${AS-as}
++AC_SUBST(AS)
++AR=${AR-ar}
++AC_SUBST(AR)
++LD=${LD-ld}
++AC_SUBST(LD)
++AC_PROG_RANLIB
++LIB_AM_PROG_AS
++
++case "${target}" in
++ *-*-elf)
++ objtype=elf-
++ ;;
++esac
++
++AC_SUBST(objtype)
++
++host_makefile_frag=${srcdir}/../config/default.mh
++
++dnl We have to assign the same value to other variables because autoconf
++dnl doesn't provide a mechanism to substitute a replacement keyword with
++dnl arbitrary data or pathnames.
++dnl
++host_makefile_frag_path=$host_makefile_frag
++AC_SUBST(host_makefile_frag_path)
++AC_SUBST_FILE(host_makefile_frag)
++
++# Configure cpu init plug-ins
++if test -d "${srcdir}/cpu-init"; then
++ subdirs="${subdirs} cpu-init"
++ AC_CONFIG_FILES(cpu-init/Makefile,
++ . ${libgloss_topdir}/config-ml.in,
++ srcdir=${srcdir}
++ target=${target}
++ with_multisubdir=${with_multisubdir}
++ ac_configure_args="${ac_configure_args} --enable-multilib"
++ CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
++ libgloss_topdir=${libgloss_topdir}
++ )
++ AC_SUBST(subdirs)
++fi
++
++AC_CONFIG_FILES(Makefile,
++. ${libgloss_topdir}/config-ml.in,
++srcdir=${srcdir}
++target=${target}
++with_multisubdir=${with_multisubdir}
++ac_configure_args="${ac_configure_args} --enable-multilib"
++CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
++libgloss_topdir=${libgloss_topdir}
++)
++AC_OUTPUT
+diff -Naur newlib-1.20.0.orig/libgloss/aarch64/cpu-init/Makefile.in newlib-1.20.0/libgloss/aarch64/cpu-init/Makefile.in
+--- newlib-1.20.0.orig/libgloss/aarch64/cpu-init/Makefile.in 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/libgloss/aarch64/cpu-init/Makefile.in 2012-10-15 10:31:19.523619528 +0200
+@@ -0,0 +1,110 @@
++# Copyright (c) 2012 ARM Ltd. All rights reserved.
++#
++# Redistribution and use in source and binary forms, with or without
++# modification, are permitted provided that the following conditions
++# are met:
++# 1. Redistributions of source code must retain the above copyright
++# notice, this list of conditions and the following disclaimer.
++# 2. Redistributions in binary form must reproduce the above copyright
++# notice, this list of conditions and the following disclaimer in the
++# documentation and/or other materials provided with the distribution.
++# 3. The name of the company may not be used to endorse or promote
++# products derived from this software without specific prior written
++# permission.
++#
++# THIS SOFTWARE IS PROVIDED BY ARM LTD ``AS IS'' AND ANY EXPRESS OR IMPLIED
++# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
++# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
++# IN NO EVENT SHALL ARM LTD BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
++# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
++# TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
++# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
++# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
++# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
++# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
++
++DESTDIR =
++VPATH = @srcdir@ @srcdir@/.. @srcdir@/../..
++srcdir = @srcdir@
++objdir = .
++srcroot = $(srcdir)/../../..
++objroot = $(objdir)/../../..
++
++prefix = @prefix@
++exec_prefix = @exec_prefix@
++
++host_alias = @host_alias@
++target_alias = @target_alias@
++
++bindir = @bindir@
++libdir = @libdir@
++tooldir = $(exec_prefix)/$(target_alias)
++
++objtype = @objtype@
++
++INSTALL = @INSTALL@
++INSTALL_PROGRAM = @INSTALL_PROGRAM@
++INSTALL_DATA = @INSTALL_DATA@
++
++# Multilib support variables.
++# TOP is used instead of MULTI{BUILD,SRC}TOP.
++MULTISRCTOP =
++MULTIBUILDTOP =
++MULTIDIRS =
++MULTISUBDIR =
++MULTIDO = true
++MULTICLEAN = true
++
++SHELL = /bin/sh
++
++CC = @CC@
++
++AS = @AS@
++AR = @AR@
++LD = @LD@
++RANLIB = @RANLIB@
++
++CPU_INIT_OBJS = rdimon-aem-el3.o
++CPU_INIT_INSTALL = install-cpu-init
++
++CFLAGS = -g
++
++# Host specific makefile fragment comes in here.
++@host_makefile_frag@
++
++.PHONY: all
++all: ${CPU_INIT_OBJS}
++
++#
++# here's where we build the test programs for each target
++#
++.PHONY: test
++test:
++
++# Static pattern rule for assembling cpu init files to object files.
++${CPU_INIT_OBJS}: %.o: %.S
++ $(CC) $(CFLAGS_FOR_TARGET) $(INCLUDES) -DARM_RDI_MONITOR -o $@ -c $<
++
++clean mostlyclean:
++ rm -f a.out core *.i *.o *-test *.srec *.dis *.x
++
++distclean maintainer-clean realclean: clean
++ rm -f Makefile *~
++
++.PHONY: install info install-info clean-info
++install: ${CPU_INIT_INSTALL}
++
++install-cpu-init:
++ test -d $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/cpu-init || mkdir $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/cpu-init
++ set -e; for x in ${CPU_INIT_OBJS}; do ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/cpu-init/$$x; done
++
++doc:
++info:
++install-info:
++clean-info:
++
++Makefile: Makefile.in ../config.status @host_makefile_frag_path@
++ $(SHELL) ../config.status --file cpu-init/Makefile
++
++../config.status: ../configure
++ $(SHELL) ../config.status --recheck
+diff -Naur newlib-1.20.0.orig/libgloss/aarch64/cpu-init/rdimon-aem-el3.S newlib-1.20.0/libgloss/aarch64/cpu-init/rdimon-aem-el3.S
+--- newlib-1.20.0.orig/libgloss/aarch64/cpu-init/rdimon-aem-el3.S 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/libgloss/aarch64/cpu-init/rdimon-aem-el3.S 2012-10-15 10:31:19.523619528 +0200
+@@ -0,0 +1,167 @@
++/* Copyright (c) 2009, 2010, 2011, 2012 ARM Ltd. All rights reserved.
++
++ Redistribution and use in source and binary forms, with or without
++ modification, are permitted provided that the following conditions
++ are met:
++ 1. Redistributions of source code must retain the above copyright
++ notice, this list of conditions and the following disclaimer.
++ 2. Redistributions in binary form must reproduce the above copyright
++ notice, this list of conditions and the following disclaimer in the
++ documentation and/or other materials provided with the distribution.
++ 3. The name of the company may not be used to endorse or promote
++ products derived from this software without specific prior written
++ permission.
++
++ THIS SOFTWARE IS PROVIDED BY ARM LTD ``AS IS'' AND ANY EXPRESS OR IMPLIED
++ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
++ MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
++ IN NO EVENT SHALL ARM LTD BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
++ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
++ TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
++ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
++ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
++ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
++ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
++
++#include "newlib.h"
++#include "svc.h"
++
++/* ANSI concatenation macros. */
++#define CONCAT(a, b) CONCAT2(a, b)
++#define CONCAT2(a, b) a ## b
++
++#ifdef __USER_LABEL_PREFIX__
++#define FUNCTION( name ) CONCAT (__USER_LABEL_PREFIX__, name)
++#else
++#error __USER_LABEL_PREFIX is not defined
++#endif
++
++
++ .text
++ .align 2
++_init_vectors:
++ /* Installs a table of exception vectors to catch and handle all
++ exceptions by terminating the process with a diagnostic. */
++ adr x0, vectors
++ msr vbar_el3, x0
++ msr vbar_el2, x0
++ msr vbar_el1, x0
++ ret
++
++curr_sp0_sync:
++curr_sp0_irq:
++curr_sp0_fiq:
++curr_sp0_serror:
++curr_spx_sync:
++curr_spx_irq:
++curr_spx_fiq:
++curr_spx_serror:
++lower_a64_sync:
++lower_a64_irq:
++lower_a64_fiq:
++lower_a64_serror:
++lower_a32_sync:
++lower_a32_irq:
++lower_a32_fiq:
++lower_a32_serror:
++ mov x0, 2
++ adr x1, .LC3
++ mov x2, 26
++ bl FUNCTION (write)
++ mov x0, 126
++ b FUNCTION (exit) /* Cannot return. */
++.LC3:
++ .string "Terminated by exception.\n"
++
++ .macro ventry label
++ .align 7
++ b \label
++ .endm
++
++ .align 7
++
++ /* AArch64 Exception Model -- 3.5.5 Exception Vectors. */
++
++vectors:
++ /* Current EL with SP0. */
++ ventry curr_sp0_sync /* Synchronous */
++ ventry curr_sp0_irq /* Irq/vIRQ */
++ ventry curr_sp0_fiq /* Fiq/vFIQ */
++ ventry curr_sp0_serror /* SError/VSError */
++
++ /* Current EL with SPx. */
++ ventry curr_spx_sync /* Synchronous */
++ ventry curr_spx_irq /* IRQ/vIRQ */
++ ventry curr_spx_fiq /* FIQ/vFIQ */
++ ventry curr_spx_serror /* SError/VSError */
++
++ /* Lower EL using AArch64. */
++ ventry lower_a64_sync /* Synchronous */
++ ventry lower_a64_irq /* IRQ/vIRQ */
++ ventry lower_a64_fiq /* FIQ/vFIQ */
++ ventry lower_a64_serror /* SError/VSError */
++
++ /* Lower EL using AArch32. */
++ ventry lower_a32_sync /* Synchronous */
++ ventry lower_a32_irq /* IRQ/vIRQ */
++ ventry lower_a32_fiq /* FIQ/vFIQ */
++ ventry lower_a32_serror /* SError/VSError */
++
++
++ .text
++ .align 2
++_flat_map:
++ /* Page table setup (identity mapping). */
++ adrp x0, ttb
++ add x0, x0, :lo12:ttb
++ msr ttbr0_el3, x0
++ adr x1, . /* phys address */
++ bic x1, x1, #(1 << 30) - 1 /* 1GB block alignment */
++ add x2, x0, x1, lsr #(30 - 3) /* offset in level 1 page
++ table */
++ mov x3, #0x401 /* page table attributes
++ (AF, block) */
++ orr x1, x1, x3
++ mov x3, #(1 << 30) /* 1GB block */
++ str x1, [x2], #8 /* 1st GB */
++ add x1, x1, x3
++ str x1, [x2] /* 2nd GB */
++
++ /* Setup/enable the MMU. */
++
++ /* RES1, RES1, 40-bit PA, 39-bit VA, inner/outer cacheable WB */
++ ldr x0, =(1 << 31) | (1 << 23) | (2 << 16) | 25 | (3 << 10) | (3 << 8)
++ msr tcr_el3, x0
++
++ mov x0, #0xee /* Inner/outer cacheable WB */
++ msr mair_el3, x0
++ isb
++
++ mrs x0, sctlr_el3
++ ldr x1, =0x100d /* bits I(12) SA(3) C(2) M(0) */
++ bic x0, x0, #2 /* clear bit A(1) */
++ orr x0, x0, x1 /* set bits */
++
++ msr sctlr_el3, x0
++ isb
++ ret
++
++ .data
++ .align 12
++ttb:
++ .space 4096, 0
++
++
++ .text
++ .align 2
++ .global FUNCTION (_cpu_init_hook)
++ .type FUNCTION (_cpu_init_hook), %function
++FUNCTION (_cpu_init_hook):
++ sub sp, sp, #16
++ str x30, [sp, xzr]
++ bl _init_vectors
++ bl _flat_map
++ ldr x30, [sp, xzr]
++ add sp, sp, #16
++ ret
++ .size FUNCTION (_cpu_init_hook), .-FUNCTION (_cpu_init_hook)
+diff -Naur newlib-1.20.0.orig/libgloss/aarch64/crt0.S newlib-1.20.0/libgloss/aarch64/crt0.S
+--- newlib-1.20.0.orig/libgloss/aarch64/crt0.S 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/libgloss/aarch64/crt0.S 2012-10-15 10:31:19.523619528 +0200
+@@ -0,0 +1,203 @@
++/* Copyright (c) 2009, 2010, 2011, 2012 ARM Ltd. All rights reserved.
++
++ Redistribution and use in source and binary forms, with or without
++ modification, are permitted provided that the following conditions
++ are met:
++ 1. Redistributions of source code must retain the above copyright
++ notice, this list of conditions and the following disclaimer.
++ 2. Redistributions in binary form must reproduce the above copyright
++ notice, this list of conditions and the following disclaimer in the
++ documentation and/or other materials provided with the distribution.
++ 3. The name of the company may not be used to endorse or promote
++ products derived from this software without specific prior written
++ permission.
++
++ THIS SOFTWARE IS PROVIDED BY ARM LTD ``AS IS'' AND ANY EXPRESS OR IMPLIED
++ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
++ MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
++ IN NO EVENT SHALL ARM LTD BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
++ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
++ TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
++ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
++ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
++ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
++ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
++
++#include "newlib.h"
++#include "svc.h"
++
++/* ANSI concatenation macros. */
++#define CONCAT(a, b) CONCAT2(a, b)
++#define CONCAT2(a, b) a ## b
++
++#ifdef __USER_LABEL_PREFIX__
++#define FUNCTION( name ) CONCAT (__USER_LABEL_PREFIX__, name)
++#else
++#error __USER_LABEL_PREFIX is not defined
++#endif
++
++#ifdef HAVE_INITFINI_ARRAY
++#define _init __libc_init_array
++#define _fini __libc_fini_array
++#endif
++
++ .text
++.macro FUNC_START name
++ .global \name
++\name:
++.endm
++
++ .align 2
++
++ FUNC_START _mainCRTStartup
++ FUNC_START _start
++ FUNC_START start
++
++/* Start by setting up a stack */
++
++ /* Issue Angel SVC to read memory info.
++
++ ptr to ptr to 4 words to receive data. */
++ adr x1, .LC0
++ mov w0, #AngelSVC_Reason_HeapInfo
++ AngelSVCAsm AngelSVC
++
++ /* Initialise the stack pointer */
++
++ /* We currently choose to use the heap_limit field rather than
++ stack_base because the AEM validation model
++ returns sane values in the heap fields, but 0 in the stack
++ fields. Note on the VE AEM model it is necessary to pass
++ command line options to the AEM in order to define the values
++ exposed here in the HeapInfo Angel call. */
++ ldr x0, .LC0 /* point at returned values */
++ ldr x0, [x0, #8] /* get heap_limit */
++
++ /* Ensure quad-word stack alignment. */
++ and x0, x0, #~15
++ mov sp, x0
++
++ /* Setup an initial dummy frame with saved fp=0 and saved lr=0 */
++ mov x29, 0
++ stp x29, x29, [sp, #-16]!
++ mov x29, sp
++
++ /* Initialize exception vector table, flatmap, etc. */
++ bl FUNCTION (_cpu_init_hook)
++
++ /* Zero the memory in the .bss section. */
++ ldr x0, .LC1 /* First arg: start of memory block */
++ mov w1, #0 /* Second arg: fill value */
++ ldr x2, .LC2
++ sub x2, x2, x0 /* Third arg: length of block */
++ bl FUNCTION (memset)
++
++ /* Need to set up standard file handles */
++ bl FUNCTION (initialise_monitor_handles)
++
++ /* .init and .fini sections are used to create constructors
++ and destructors. Here we call the _init function and arrange
++ for _fini to be called at program exit. */
++ ldr x0, .Lfini
++ bl FUNCTION (atexit)
++
++ bl FUNCTION (_init)
++
++ /* Fetch and parse the command line. */
++ adr x1, .Lcmdline /* Command line descriptor. */
++ mov w0, #AngelSVC_Reason_GetCmdLine
++ AngelSVCAsm AngelSVC
++ ldr x8, .Lcmdline
++
++ mov x0, #0 /* argc */
++ mov x1, sp /* argv */
++ ldr x2, .Lenvp /* envp */
++
++ /* Put NULL at end of argv array. */
++ str x0, [x1, #-8]!
++
++ /* Skip leading blanks. */
++.Lnext: ldrb w3, [x8], #1
++ cbz w3, .Lendstr
++ cmp w3, #' '
++ b.eq .Lnext
++
++ mov w4, #' ' /* Terminator is space. */
++
++ /* See whether we are scanning a quoted string by checking for
++ opening quote (" or '). */
++ subs w9, w3, #'\"'
++ sub x8, x8, #1 /* Backup if no match. */
++ ccmp w9, #('\'' - '\"'), 0x4 /* FLG_Z */, ne
++ csel w4, w3, w4, eq /* Terminator = quote if match. */
++ cinc x8, x8, eq
++
++ /* Push arg pointer to argv, and bump argc. */
++ str x8, [x1, #-8]!
++ add x0, x0, #1
++
++ /* Find end of arg string. */
++1: ldrb w3, [x8], #1
++ cbz w3, .Lendstr
++ cmp w4, w3 /* Reached terminator? */
++ b.ne 1b
++
++ /* Terminate the arg string with NUL char. */
++ mov w4, #0
++ strb w4, [x8, #-1]
++ b .Lnext
++
++ /* Reverse argv array. */
++.Lendstr:
++ add x3, x1, #0 /* sp = &argv[0] */
++ add x4, x1, w0, uxtw #3 /* ep = &argv[argc] */
++ cmp x4, x3
++ b.lo 2f
++1: ldr x5, [x4, #-8] /* x5 = ep[-1] */
++ ldr x6, [x3] /* x6 = *sp */
++ str x6, [x4, #-8]! /* *--ep = x6 */
++ str x5, [x3], #8 /* *sp++ = x5 */
++ cmp x4, x3
++ b.hi 1b
++2:
++ /* Move sp to the 16B boundary below argv. */
++ and x4, x1, ~15
++ mov sp, x4
++
++ bl FUNCTION (main)
++
++ b FUNCTION (exit) /* Cannot return. */
++
++/* Function initializing exception vector table, flatmap, etc.
++ Declared as weak symbol so that user can override this definition
++ by linking in their own version of the function. */
++ .weak FUNCTION (_cpu_init_hook)
++FUNCTION (_cpu_init_hook):
++ ret
++
++ .align 3
++.LC0:
++ .dword HeapBase
++.LC1:
++ .dword __bss_start__
++.LC2:
++ .dword __bss_end__
++.Lfini:
++ .dword FUNCTION(_fini)
++.Lenvp:
++ .dword env
++.Lcmdline:
++ .dword CommandLine
++ .dword 255
++
++/* Workspace for Angel calls. */
++ .data
++ .align 3
++/* Data returned by monitor SVC. */
++ .global __stack_base__
++HeapBase: .dword 0
++HeapLimit: .dword 0
++__stack_base__: .dword 0
++StackLimit: .dword 0
++env: .dword 0 /* Dummy environment array */
++CommandLine: .space 256,0 /* Maximum length of 255 chars handled. */
+diff -Naur newlib-1.20.0.orig/libgloss/aarch64/elf-rdimon.specs newlib-1.20.0/libgloss/aarch64/elf-rdimon.specs
+--- newlib-1.20.0.orig/libgloss/aarch64/elf-rdimon.specs 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/libgloss/aarch64/elf-rdimon.specs 2012-10-15 10:31:19.524619544 +0200
+@@ -0,0 +1,7 @@
++%rename lib libc
++
++*libgloss:
++-lrdimon
++
++*lib:
++--start-group %(libc) %(libgloss) --end-group
+diff -Naur newlib-1.20.0.orig/libgloss/aarch64/_exit.c newlib-1.20.0/libgloss/aarch64/_exit.c
+--- newlib-1.20.0.orig/libgloss/aarch64/_exit.c 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/libgloss/aarch64/_exit.c 2012-10-15 10:31:19.519619460 +0200
+@@ -0,0 +1,41 @@
++/* Copyright (c) 2009, 2010, 2011, 2012 ARM Ltd. All rights reserved.
++
++ Redistribution and use in source and binary forms, with or without
++ modification, are permitted provided that the following conditions
++ are met:
++ 1. Redistributions of source code must retain the above copyright
++ notice, this list of conditions and the following disclaimer.
++ 2. Redistributions in binary form must reproduce the above copyright
++ notice, this list of conditions and the following disclaimer in the
++ documentation and/or other materials provided with the distribution.
++ 3. The name of the company may not be used to endorse or promote
++ products derived from this software without specific prior written
++ permission.
++
++ THIS SOFTWARE IS PROVIDED BY ARM LTD ``AS IS'' AND ANY EXPRESS OR IMPLIED
++ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
++ MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
++ IN NO EVENT SHALL ARM LTD BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
++ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
++ TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
++ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
++ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
++ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
++ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
++
++#include <_ansi.h>
++#include "svc.h"
++
++void _exit _PARAMS ((int));
++
++__attribute__ ((noreturn)) void
++_exit (int status)
++{
++ while (1)
++ {
++ param_block_t block[2];
++ block[0] = ADP_Stopped_ApplicationExit;
++ block[1] = status;
++ do_AngelSVC (AngelSVC_Reason_ReportException, block);
++ }
++}
+diff -Naur newlib-1.20.0.orig/libgloss/aarch64/_kill.c newlib-1.20.0/libgloss/aarch64/_kill.c
+--- newlib-1.20.0.orig/libgloss/aarch64/_kill.c 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/libgloss/aarch64/_kill.c 2012-10-15 10:31:19.519619460 +0200
+@@ -0,0 +1,49 @@
++/* Copyright (c) 2009, 2010, 2011, 2012 ARM Ltd. All rights reserved.
++
++ Redistribution and use in source and binary forms, with or without
++ modification, are permitted provided that the following conditions
++ are met:
++ 1. Redistributions of source code must retain the above copyright
++ notice, this list of conditions and the following disclaimer.
++ 2. Redistributions in binary form must reproduce the above copyright
++ notice, this list of conditions and the following disclaimer in the
++ documentation and/or other materials provided with the distribution.
++ 3. The name of the company may not be used to endorse or promote
++ products derived from this software without specific prior written
++ permission.
++
++ THIS SOFTWARE IS PROVIDED BY ARM LTD ``AS IS'' AND ANY EXPRESS OR IMPLIED
++ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
++ MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
++ IN NO EVENT SHALL ARM LTD BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
++ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
++ TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
++ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
++ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
++ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
++ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
++
++#include <_ansi.h>
++#include <signal.h>
++#include <errno.h>
++#include "svc.h"
++
++int _kill _PARAMS ((int, int));
++
++int
++_kill (int pid, int sig)
++{
++ param_block_t block[2];
++
++ if (pid == 0)
++ return 0;
++ if (pid != 1 && pid != -1)
++ {
++ errno = ESRCH;
++ return -1;
++ }
++
++ block[0] = ADP_Stopped_RunTimeError;
++ block[1] = sig;
++ return do_AngelSVC (AngelSVC_Reason_ReportException, block);
++}
+diff -Naur newlib-1.20.0.orig/libgloss/aarch64/libcfunc.c newlib-1.20.0/libgloss/aarch64/libcfunc.c
+--- newlib-1.20.0.orig/libgloss/aarch64/libcfunc.c 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/libgloss/aarch64/libcfunc.c 2012-10-15 10:31:19.524619544 +0200
+@@ -0,0 +1,91 @@
++/* Copyright (c) 2009, 2010, 2011, 2012 ARM Ltd. All rights reserved.
++
++ Redistribution and use in source and binary forms, with or without
++ modification, are permitted provided that the following conditions
++ are met:
++ 1. Redistributions of source code must retain the above copyright
++ notice, this list of conditions and the following disclaimer.
++ 2. Redistributions in binary form must reproduce the above copyright
++ notice, this list of conditions and the following disclaimer in the
++ documentation and/or other materials provided with the distribution.
++ 3. The name of the company may not be used to endorse or promote
++ products derived from this software without specific prior written
++ permission.
++
++ THIS SOFTWARE IS PROVIDED BY ARM LTD ``AS IS'' AND ANY EXPRESS OR IMPLIED
++ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
++ MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
++ IN NO EVENT SHALL ARM LTD BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
++ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
++ TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
++ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
++ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
++ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
++ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
++
++/* Support files for GNU libc. Files in the C namespace go here.
++ Files in the system namespace (ie those that start with an underscore)
++ go in syscalls.c.
++
++ Note: These functions are in a seperate file so that OS providers can
++ overrride the system call stubs (defined in syscalls.c) without having
++ to provide libc funcitons as well. */
++
++#include "svc.h"
++
++#include <errno.h>
++#include <sys/types.h>
++#include <time.h>
++#include <unistd.h>
++
++
++extern clock_t _clock (void);
++extern int _isatty (int);
++
++unsigned __attribute__((weak))
++alarm (unsigned seconds)
++{
++ (void) seconds;
++ return 0;
++}
++
++clock_t __attribute__((weak))
++clock (void)
++{
++ return _clock ();
++}
++
++int __attribute__((weak))
++isatty (int fildes)
++{
++ return _isatty (fildes);
++}
++
++int __attribute__((weak))
++pause (void)
++{
++ errno = ENOSYS;
++ return -1;
++}
++
++unsigned __attribute__((weak))
++sleep (unsigned seconds)
++{
++ clock_t t0 = _clock ();
++ clock_t dt = seconds * CLOCKS_PER_SEC;
++
++ while (_clock () - t0 < dt)
++ ;
++ return 0;
++}
++
++int __attribute__((weak))
++usleep (useconds_t useconds)
++{
++ clock_t t0 = _clock ();
++ clock_t dt = useconds / (1000000 / CLOCKS_PER_SEC);
++
++ while (_clock () - t0 < dt)
++ ;
++ return 0;
++}
+diff -Naur newlib-1.20.0.orig/libgloss/aarch64/Makefile.in newlib-1.20.0/libgloss/aarch64/Makefile.in
+--- newlib-1.20.0.orig/libgloss/aarch64/Makefile.in 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/libgloss/aarch64/Makefile.in 2012-10-15 10:31:19.519619460 +0200
+@@ -0,0 +1,181 @@
++# Copyright (c) 2012 ARM Ltd. All rights reserved.
++#
++# Redistribution and use in source and binary forms, with or without
++# modification, are permitted provided that the following conditions
++# are met:
++# 1. Redistributions of source code must retain the above copyright
++# notice, this list of conditions and the following disclaimer.
++# 2. Redistributions in binary form must reproduce the above copyright
++# notice, this list of conditions and the following disclaimer in the
++# documentation and/or other materials provided with the distribution.
++# 3. The name of the company may not be used to endorse or promote
++# products derived from this software without specific prior written
++# permission.
++#
++# THIS SOFTWARE IS PROVIDED BY ARM LTD ``AS IS'' AND ANY EXPRESS OR IMPLIED
++# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
++# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
++# IN NO EVENT SHALL ARM LTD BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
++# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
++# TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
++# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
++# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
++# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
++# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
++
++DESTDIR =
++VPATH = @srcdir@ @srcdir@/..
++srcdir = @srcdir@
++objdir = .
++srcroot = $(srcdir)/../..
++objroot = $(objdir)/../..
++
++prefix = @prefix@
++exec_prefix = @exec_prefix@
++
++host_alias = @host_alias@
++target_alias = @target_alias@
++
++bindir = @bindir@
++libdir = @libdir@
++tooldir = $(exec_prefix)/$(target_alias)
++
++objtype = @objtype@
++
++INSTALL = @INSTALL@
++INSTALL_PROGRAM = @INSTALL_PROGRAM@
++INSTALL_DATA = @INSTALL_DATA@
++
++# Multilib support variables.
++# TOP is used instead of MULTI{BUILD,SRC}TOP.
++MULTISRCTOP =
++MULTIBUILDTOP =
++MULTIDIRS =
++MULTISUBDIR =
++MULTIDO = true
++MULTICLEAN = true
++
++SHELL = /bin/sh
++
++CC = @CC@
++
++AS = @AS@
++AR = @AR@
++LD = @LD@
++RANLIB = @RANLIB@
++
++SUBDIRS = @subdirs@
++
++OBJDUMP = `if [ -f ${objroot}/../binutils/objdump ] ; \
++ then echo ${objroot}/../binutils/objdump ; \
++ else t='$(program_transform_name)'; echo objdump | sed -e $$t ; fi`
++OBJCOPY = `if [ -f ${objroot}/../binutils/objcopy ] ; \
++ then echo ${objroot}/../binutils/objcopy ; \
++ else t='$(program_transform_name)'; echo objcopy | sed -e $$t ; fi`
++
++OBJS = syscalls.o libcfunc.o _exit.o _kill.o
++CRT0 = crt0.o
++CRT0_INSTALL = install-crt0
++
++CRT0_INSTALL = install-crt0
++RDIMON_CRT0 = rdimon-crt0.o
++RDIMON_BSP = librdimon.a
++RDIMON_OBJS = $(patsubst %,rdimon-%,$(OBJS))
++RDIMON_SCRIPTS = rdimon.specs
++RDIMON_INSTALL = install-rdimon
++
++CFLAGS = -g
++
++# Host specific makefile fragment comes in here.
++@host_makefile_frag@
++
++#
++# build a test program for each target board. Just trying to get
++# it to link is a good test, so we ignore all the errors for now.
++#
++all: ${CRT0} ${RDIMON_CRT0} ${RDIMON_BSP}
++ @rootpre=`pwd`/; export rootpre; \
++ srcrootpre=`cd $(srcdir); pwd`/; export srcrootpre; \
++ for dir in .. ${SUBDIRS}; do \
++ if [ x$$dir != x.. ]; then \
++ if [ -d $$dir ]; then \
++ (cd $$dir; $(MAKE) $(FLAGS_TO_PASS)); \
++ else true; fi; \
++ else true; fi; \
++ done
++
++#
++# here's where we build the test programs for each target
++#
++.PHONY: test
++test:
++
++#
++crt0.o: crt0.S
++rdimon-crt0.o: crt0.S
++ $(CC) $(CFLAGS_FOR_TARGET) $(INCLUDES) -DARM_RDI_MONITOR -o $@ -c $<
++
++#rdimon-trap.o: trap.S
++# $(CC) $(CFLAGS_FOR_TARGET) $(INCLUDES) -DARM_RDI_MONITOR -o $@ -c $<
++
++rdimon-_exit.o: _exit.c
++ $(CC) $(CFLAGS_FOR_TARGET) $(INCLUDES) -DARM_RDI_MONITOR -o $@ -c $<
++
++rdimon-_kill.o: _kill.c
++ $(CC) $(CFLAGS_FOR_TARGET) $(INCLUDES) -DARM_RDI_MONITOR -o $@ -c $<
++
++rdimon-syscalls.o: syscalls.c
++ $(CC) $(CFLAGS_FOR_TARGET) $(INCLUDES) -DARM_RDI_MONITOR -o $@ -c $<
++
++rdimon-libcfunc.o: libcfunc.c
++ $(CC) $(CFLAGS_FOR_TARGET) $(INCLUDES) -DARM_RDI_MONITOR -o $@ -c $<
++
++$(RDIMON_BSP): $(RDIMON_OBJS)
++ ${AR} ${ARFLAGS} $@ $^
++ ${RANLIB} $@
++
++clean mostlyclean:
++ rm -f a.out core *.i *.o *-test *.srec *.dis *.x $(SIM_BSP)
++ @rootpre=`pwd`/; export rootpre; \
++ srcrootpre=`cd $(srcdir); pwd`/; export srcrootpre; \
++ for dir in .. ${SUBDIRS}; do \
++ if [ x$$dir != x.. ]; then \
++ if [ -d $$dir ]; then \
++ (cd $$dir; $(MAKE) $(FLAGS_TO_PASS) clean); \
++ else true; fi; \
++ else true; fi; \
++ done
++
++distclean maintainer-clean realclean: clean
++ rm -f Makefile config.status *~
++
++.PHONY: install info install-info clean-info
++install: ${CRT0_INSTALL} ${RDIMON_INSTALL}
++ @rootpre=`pwd`/; export rootpre; \
++ srcrootpre=`cd $(srcdir); pwd`/; export srcrootpre; \
++ for dir in .. ${SUBDIRS}; do \
++ if [ x$$dir != x.. ]; then \
++ if [ -d $$dir ]; then \
++ (cd $$dir; $(MAKE) $(FLAGS_TO_PASS) install); \
++ else true; fi; \
++ else true; fi; \
++ done
++
++install-crt0:
++ ${INSTALL_DATA} ${CRT0} $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x
++
++install-rdimon:
++ set -e; for x in ${RDIMON_CRT0} ${RDIMON_BSP}; do ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done
++ set -e; for x in ${RDIMON_SCRIPTS}; do ${INSTALL_DATA} ${srcdir}/${objtype}$$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done
++
++
++doc:
++info:
++install-info:
++clean-info:
++
++Makefile: Makefile.in config.status @host_makefile_frag_path@
++ $(SHELL) config.status
++
++config.status: configure
++ $(SHELL) config.status --recheck
+diff -Naur newlib-1.20.0.orig/libgloss/aarch64/svc.h newlib-1.20.0/libgloss/aarch64/svc.h
+--- newlib-1.20.0.orig/libgloss/aarch64/svc.h 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/libgloss/aarch64/svc.h 2012-10-15 10:31:19.524619544 +0200
+@@ -0,0 +1,75 @@
++/* Copyright (c) 2009, 2010, 2011, 2012 ARM Ltd. All rights reserved.
++
++ Redistribution and use in source and binary forms, with or without
++ modification, are permitted provided that the following conditions
++ are met:
++ 1. Redistributions of source code must retain the above copyright
++ notice, this list of conditions and the following disclaimer.
++ 2. Redistributions in binary form must reproduce the above copyright
++ notice, this list of conditions and the following disclaimer in the
++ documentation and/or other materials provided with the distribution.
++ 3. The name of the company may not be used to endorse or promote
++ products derived from this software without specific prior written
++ permission.
++
++ THIS SOFTWARE IS PROVIDED BY ARM LTD ``AS IS'' AND ANY EXPRESS OR IMPLIED
++ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
++ MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
++ IN NO EVENT SHALL ARM LTD BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
++ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
++ TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
++ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
++ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
++ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
++ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
++
++/* Now the SWI numbers and reason codes for RDI (Angel) monitors. */
++#define AngelSVC 0xF000
++#define AngelSVCInsn "hlt"
++#define AngelSVCAsm hlt
++
++/* The reason codes: */
++#define AngelSVC_Reason_Open 0x01
++#define AngelSVC_Reason_Close 0x02
++#define AngelSVC_Reason_WriteC 0x03
++#define AngelSVC_Reason_Write0 0x04
++#define AngelSVC_Reason_Write 0x05
++#define AngelSVC_Reason_Read 0x06
++#define AngelSVC_Reason_ReadC 0x07
++#define AngelSVC_Reason_IsTTY 0x09
++#define AngelSVC_Reason_Seek 0x0A
++#define AngelSVC_Reason_FLen 0x0C
++#define AngelSVC_Reason_TmpNam 0x0D
++#define AngelSVC_Reason_Remove 0x0E
++#define AngelSVC_Reason_Rename 0x0F
++#define AngelSVC_Reason_Clock 0x10
++#define AngelSVC_Reason_Time 0x11
++#define AngelSVC_Reason_System 0x12
++#define AngelSVC_Reason_Errno 0x13
++#define AngelSVC_Reason_GetCmdLine 0x15
++#define AngelSVC_Reason_HeapInfo 0x16
++#define AngelSVC_Reason_EnterSVC 0x17
++#define AngelSVC_Reason_ReportException 0x18
++#define AngelSVC_Reason_SyncCacheRange 0x19
++#define AngelSVC_Reason_Elapsed 0x30
++#define ADP_Stopped_ApplicationExit ((2 << 16) + 38)
++#define ADP_Stopped_RunTimeError ((2 << 16) + 35)
++
++#if defined(ARM_RDI_MONITOR) && !defined(__ASSEMBLER__)
++
++/* Type of each entry in a parameter block. */
++typedef long long param_block_t;
++
++static inline long long
++do_AngelSVC (int reason, param_block_t * arg)
++{
++ long long value;
++ asm volatile ("mov w0, %w1; mov x1, %2; " AngelSVCInsn " %3; mov %0, x0"
++ : "=r" (value) /* Outputs */
++ : "r" (reason), "r" (arg), "n" (AngelSVC) /* Inputs */
++ : "x0", "x1", "x2", "x3", "x17", "x30", "memory", "cc"
++ /* Clobbers x0 and x1, and lr if in supervisor mode */);
++ return value;
++}
++
++#endif
+diff -Naur newlib-1.20.0.orig/libgloss/aarch64/syscalls.c newlib-1.20.0/libgloss/aarch64/syscalls.c
+--- newlib-1.20.0.orig/libgloss/aarch64/syscalls.c 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/libgloss/aarch64/syscalls.c 2012-10-15 10:31:19.525619559 +0200
+@@ -0,0 +1,751 @@
++/* Copyright (c) 2009, 2010, 2011, 2012 ARM Ltd. All rights reserved.
++
++ Redistribution and use in source and binary forms, with or without
++ modification, are permitted provided that the following conditions
++ are met:
++ 1. Redistributions of source code must retain the above copyright
++ notice, this list of conditions and the following disclaimer.
++ 2. Redistributions in binary form must reproduce the above copyright
++ notice, this list of conditions and the following disclaimer in the
++ documentation and/or other materials provided with the distribution.
++ 3. The name of the company may not be used to endorse or promote
++ products derived from this software without specific prior written
++ permission.
++
++ THIS SOFTWARE IS PROVIDED BY ARM LTD ``AS IS'' AND ANY EXPRESS OR IMPLIED
++ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
++ MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
++ IN NO EVENT SHALL ARM LTD BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
++ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
++ TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
++ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
++ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
++ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
++ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
++
++/* Support files for GNU libc. Files in the system namespace go here.
++ Files in the C namespace (ie those that do not start with an
++ underscore) go in .c. */
++
++#include <_ansi.h>
++#include <sys/types.h>
++#include <sys/stat.h>
++#include <sys/fcntl.h>
++#include <stdio.h>
++#include <string.h>
++#include <time.h>
++#include <sys/time.h>
++#include <sys/times.h>
++#include <errno.h>
++#include <reent.h>
++#include <unistd.h>
++#include <sys/wait.h>
++#include "svc.h"
++
++/* Forward prototypes. */
++int _system _PARAMS ((const char *));
++int _rename _PARAMS ((const char *, const char *));
++int _isatty _PARAMS ((int));
++clock_t _times _PARAMS ((struct tms *));
++int _gettimeofday _PARAMS ((struct timeval *, void *));
++int _unlink _PARAMS ((const char *));
++int _link _PARAMS ((void));
++int _stat _PARAMS ((const char *, struct stat *));
++int _fstat _PARAMS ((int, struct stat *));
++int _swistat _PARAMS ((int fd, struct stat * st));
++caddr_t _sbrk _PARAMS ((int));
++int _getpid _PARAMS ((int));
++int _close _PARAMS ((int));
++clock_t _clock _PARAMS ((void));
++int _swiclose _PARAMS ((int));
++int _open _PARAMS ((const char *, int, ...));
++int _swiopen _PARAMS ((const char *, int));
++int _write _PARAMS ((int, char *, int));
++int _swiwrite _PARAMS ((int, char *, int));
++int _lseek _PARAMS ((int, int, int));
++int _swilseek _PARAMS ((int, int, int));
++int _read _PARAMS ((int, char *, int));
++int _swiread _PARAMS ((int, char *, int));
++void initialise_monitor_handles _PARAMS ((void));
++
++static int checkerror _PARAMS ((int));
++static int error _PARAMS ((int));
++static int get_errno _PARAMS ((void));
++
++/* Struct used to keep track of the file position, just so we
++ can implement fseek(fh,x,SEEK_CUR). */
++struct fdent
++{
++ int handle;
++ int flags;
++ ino_t ino;
++ int pos;
++};
++
++#define MAX_OPEN_FILES 20
++
++/* User file descriptors (fd) are integer indexes into
++ the openfiles[] array. Error checking is done by using
++ findslot().
++
++ This openfiles array is manipulated directly by only
++ these 5 functions:
++
++ findslot() - Translate entry.
++ newslot() - Find empty entry.
++ initilise_monitor_handles() - Initialize entries.
++ _swiopen() - Initialize entry.
++ _close() - Handle stdout == stderr case.
++
++ Every other function must use findslot(). */
++
++static struct fdent openfiles[MAX_OPEN_FILES];
++
++static struct fdent *findslot _PARAMS ((int));
++static int newslot _PARAMS ((void));
++
++/* Register name faking - works in collusion with the linker. */
++register char * stack_ptr asm ("sp");
++
++
++/* following is copied from libc/stdio/local.h to check std streams */
++extern void _EXFUN (__sinit, (struct _reent *));
++#define CHECK_INIT(ptr) \
++ do \
++ { \
++ if ((ptr) && !(ptr)->__sdidinit) \
++ __sinit (ptr); \
++ } \
++ while (0)
++
++static int monitor_stdin;
++static int monitor_stdout;
++static int monitor_stderr;
++
++/* Return a pointer to the structure associated with
++ the user file descriptor fd. */
++static struct fdent *
++findslot (int fd)
++{
++ CHECK_INIT (_REENT);
++
++ /* User file descriptor is out of range. */
++ if ((unsigned int) fd >= MAX_OPEN_FILES)
++ return NULL;
++
++ /* User file descriptor is open? */
++ if (openfiles[fd].handle == -1)
++ return NULL;
++
++ /* Valid. */
++ return &openfiles[fd];
++}
++
++/* Return the next lowest numbered free file
++ structure, or -1 if we can't find one. */
++static int
++newslot (void)
++{
++ int i;
++
++ for (i = 0; i < MAX_OPEN_FILES; i++)
++ if (openfiles[i].handle == -1)
++ break;
++
++ if (i == MAX_OPEN_FILES)
++ return -1;
++
++ return i;
++}
++
++void
++initialise_monitor_handles (void)
++{
++ int i;
++
++ /* Open the standard file descriptors by opening the special
++ * teletype device, ":tt", read-only to obtain a descritpor for
++ * standard input and write-only to obtain a descriptor for standard
++ * output. Finally, open ":tt" in append mode to obtain a descriptor
++ * for standard error. Since this is a write mode, most kernels will
++ * probably return the same value as for standard output, but the
++ * kernel can differentiate the two using the mode flag and return a
++ * different descriptor for standard error.
++ */
++
++ param_block_t block[3];
++
++ block[0] = (param_block_t) ":tt";
++ block[2] = 3; /* length of filename */
++ block[1] = 0; /* mode "r" */
++ monitor_stdin = do_AngelSVC (AngelSVC_Reason_Open, block);
++
++ block[0] = (param_block_t) ":tt";
++ block[2] = 3; /* length of filename */
++ block[1] = 4; /* mode "w" */
++ monitor_stdout = do_AngelSVC (AngelSVC_Reason_Open, block);
++
++ block[0] = (param_block_t) ":tt";
++ block[2] = 3; /* length of filename */
++ block[1] = 8; /* mode "a" */
++ monitor_stderr = do_AngelSVC (AngelSVC_Reason_Open, block);
++
++ /* If we failed to open stderr, redirect to stdout. */
++ if (monitor_stderr == -1)
++ monitor_stderr = monitor_stdout;
++
++ for (i = 0; i < MAX_OPEN_FILES; i++)
++ openfiles[i].handle = -1;
++
++ openfiles[0].handle = monitor_stdin;
++ openfiles[0].flags = _FREAD;
++ openfiles[0].pos = 0;
++ openfiles[1].handle = monitor_stdout;
++ openfiles[0].flags = _FWRITE;
++ openfiles[1].pos = 0;
++ openfiles[2].handle = monitor_stderr;
++ openfiles[0].flags = _FWRITE;
++ openfiles[2].pos = 0;
++}
++
++static int
++get_errno (void)
++{
++ return do_AngelSVC (AngelSVC_Reason_Errno, NULL);
++}
++
++/* Set errno and return result. */
++static int
++error (int result)
++{
++ errno = get_errno ();
++ return result;
++}
++
++/* Check the return and set errno appropriately. */
++static int
++checkerror (int result)
++{
++ if (result == -1)
++ return error (-1);
++ return result;
++}
++
++/* fh, is a valid internal file handle.
++ ptr, is a null terminated string.
++ len, is the length in bytes to read.
++ Returns the number of bytes *not* written. */
++int
++_swiread (int fh, char *ptr, int len)
++{
++ param_block_t block[3];
++
++ block[0] = fh;
++ block[1] = (param_block_t) ptr;
++ block[2] = len;
++
++ return checkerror (do_AngelSVC (AngelSVC_Reason_Read, block));
++}
++
++/* fd, is a valid user file handle.
++ Translates the return of _swiread into
++ bytes read. */
++int
++_read (int fd, char *ptr, int len)
++{
++ int res;
++ struct fdent *pfd;
++
++ pfd = findslot (fd);
++ if (pfd == NULL)
++ {
++ errno = EBADF;
++ return -1;
++ }
++
++ res = _swiread (pfd->handle, ptr, len);
++
++ if (res == -1)
++ return res;
++
++ pfd->pos += len - res;
++
++ /* res == len is not an error,
++ at least if we want feof() to work. */
++ return len - res;
++}
++
++/* fd, is a user file descriptor. */
++int
++_swilseek (int fd, int ptr, int dir)
++{
++ int res;
++ struct fdent *pfd;
++
++ /* Valid file descriptor? */
++ pfd = findslot (fd);
++ if (pfd == NULL)
++ {
++ errno = EBADF;
++ return -1;
++ }
++
++ /* Valid whence? */
++ if ((dir != SEEK_CUR) && (dir != SEEK_SET) && (dir != SEEK_END))
++ {
++ errno = EINVAL;
++ return -1;
++ }
++
++ /* Convert SEEK_CUR to SEEK_SET */
++ if (dir == SEEK_CUR)
++ {
++ ptr = pfd->pos + ptr;
++ /* The resulting file offset would be negative. */
++ if (ptr < 0)
++ {
++ errno = EINVAL;
++ if ((pfd->pos > 0) && (ptr > 0))
++ errno = EOVERFLOW;
++ return -1;
++ }
++ dir = SEEK_SET;
++ }
++
++ param_block_t block[2];
++ if (dir == SEEK_END)
++ {
++ block[0] = pfd->handle;
++ res = checkerror (do_AngelSVC (AngelSVC_Reason_FLen, block));
++ if (res == -1)
++ return -1;
++ ptr += res;
++ }
++
++ /* This code only does absolute seeks. */
++ block[0] = pfd->handle;
++ block[1] = ptr;
++ res = checkerror (do_AngelSVC (AngelSVC_Reason_Seek, block));
++ /* At this point ptr is the current file position. */
++ if (res >= 0)
++ {
++ pfd->pos = ptr;
++ return ptr;
++ }
++ else
++ return -1;
++}
++
++_lseek (int fd, int ptr, int dir)
++{
++ return _swilseek (fd, ptr, dir);
++}
++
++/* fh, is a valid internal file handle.
++ Returns the number of bytes *not* written. */
++int
++_swiwrite (int fh, char *ptr, int len)
++{
++ param_block_t block[3];
++
++ block[0] = fh;
++ block[1] = (param_block_t) ptr;
++ block[2] = len;
++
++ return checkerror (do_AngelSVC (AngelSVC_Reason_Write, block));
++}
++
++/* fd, is a user file descriptor. */
++int
++_write (int fd, char *ptr, int len)
++{
++ int res;
++ struct fdent *pfd;
++
++ pfd = findslot (fd);
++ if (pfd == NULL)
++ {
++ errno = EBADF;
++ return -1;
++ }
++
++ res = _swiwrite (pfd->handle, ptr, len);
++
++ /* Clearly an error. */
++ if (res < 0)
++ return -1;
++
++ pfd->pos += len - res;
++
++ /* We wrote 0 bytes?
++ Retrieve errno just in case. */
++ if ((len - res) == 0)
++ return error (0);
++
++ return (len - res);
++}
++
++int
++_swiopen (const char *path, int flags)
++{
++ int aflags = 0, fh;
++ param_block_t block[3];
++ static ino_t ino = 1;
++ int fd;
++
++ if (path == NULL)
++ {
++ errno = ENOENT;
++ return -1;
++ }
++
++ fd = newslot ();
++
++ if (fd == -1)
++ {
++ errno = EMFILE;
++ return -1;
++ }
++
++ /* It is an error to open a file that already exists. */
++ if ((flags & O_CREAT) && (flags & O_EXCL))
++ {
++ struct stat st;
++ int res;
++ res = _stat (path, &st);
++ if (res != -1)
++ {
++ errno = EEXIST;
++ return -1;
++ }
++ }
++
++ /* The flags are Unix-style, so we need to convert them. */
++#ifdef O_BINARY
++ if (flags & O_BINARY)
++ aflags |= 1;
++#endif
++
++ /* In O_RDONLY we expect aflags == 0. */
++
++ if (flags & O_RDWR)
++ aflags |= 2;
++
++ if ((flags & O_CREAT) || (flags & O_TRUNC) || (flags & O_WRONLY))
++ aflags |= 4;
++
++ if (flags & O_APPEND)
++ {
++ /* Can't ask for w AND a; means just 'a'. */
++ aflags &= ~4;
++ aflags |= 8;
++ }
++
++ block[0] = (param_block_t) path;
++ block[2] = strlen (path);
++ block[1] = aflags;
++
++ fh = do_AngelSVC (AngelSVC_Reason_Open, block);
++
++ /* Return a user file descriptor or an error. */
++ if (fh >= 0)
++ {
++ openfiles[fd].handle = fh;
++ openfiles[fd].flags = flags + 1;
++ openfiles[fd].ino = ino++;
++ openfiles[fd].pos = 0;
++ return fd;
++ }
++ else
++ return error (fh);
++}
++
++int
++_open (const char *path, int flags, ...)
++{
++ return _swiopen (path, flags);
++}
++
++/* fh, is a valid internal file handle. */
++int
++_swiclose (int fh)
++{
++ param_block_t param[1];
++ param[0] = fh;
++ return checkerror (do_AngelSVC (AngelSVC_Reason_Close, param));
++}
++
++/* fd, is a user file descriptor. */
++int
++_close (int fd)
++{
++ int res;
++ struct fdent *pfd;
++
++ pfd = findslot (fd);
++ if (pfd == NULL)
++ {
++ errno = EBADF;
++ return -1;
++ }
++
++ /* Handle stderr == stdout. */
++ if ((fd == 1 || fd == 2) && (openfiles[1].handle == openfiles[2].handle))
++ {
++ pfd->handle = -1;
++ return 0;
++ }
++
++ /* Attempt to close the handle. */
++ res = _swiclose (pfd->handle);
++
++ /* Reclaim handle? */
++ if (res == 0)
++ pfd->handle = -1;
++
++ return res;
++}
++
++int __attribute__((weak))
++_getpid (int n __attribute__ ((unused)))
++{
++ return 1;
++}
++
++caddr_t
++_sbrk (int incr)
++{
++ extern char end asm ("end"); /* Defined by the linker. */
++ static char *heap_end;
++ char *prev_heap_end;
++
++ if (heap_end == NULL)
++ heap_end = &end;
++
++ prev_heap_end = heap_end;
++
++ if (heap_end + incr > stack_ptr)
++ {
++ /* Some of the libstdc++-v3 tests rely upon detecting
++ out of memory errors, so do not abort here. */
++ errno = ENOMEM;
++ return (caddr_t) - 1;
++ }
++
++ heap_end += incr;
++
++ return (caddr_t) prev_heap_end;
++}
++
++int
++_swistat (int fd, struct stat *st)
++{
++ struct fdent *pfd;
++ param_block_t param[1];
++ int res;
++
++ pfd = findslot (fd);
++ if (pfd == NULL)
++ {
++ errno = EBADF;
++ return -1;
++ }
++
++ param[0] = pfd->handle;
++ res = do_AngelSVC (AngelSVC_Reason_IsTTY, param);
++ if (res != 0 && res != 1)
++ return error (-1);
++
++ memset (st, 0, sizeof (*st));
++
++ if (res)
++ {
++ /* This is a tty. */
++ st->st_mode |= S_IFCHR;
++ }
++ else
++ {
++ /* This is a file, return the file length. */
++ st->st_mode |= S_IFREG;
++ res = checkerror (do_AngelSVC (AngelSVC_Reason_FLen, param));
++ if (res == -1)
++ return -1;
++ st->st_size = res;
++ st->st_blksize = 1024;
++ st->st_blocks = (res + 1023) / 1024;
++ }
++
++ /* Deduce permissions based on mode in which file opened. */
++ st->st_mode |= S_IRUSR | S_IRGRP | S_IROTH;
++ if (pfd->flags & _FWRITE)
++ st->st_mode |= S_IWUSR | S_IWGRP | S_IWOTH;
++
++ st->st_ino = pfd->ino;
++ st->st_nlink = 1;
++ return 0;
++}
++
++int __attribute__((weak))
++_fstat (int fd, struct stat * st)
++{
++ return _swistat (fd, st);
++}
++
++int __attribute__((weak))
++_stat (const char *fname, struct stat *st)
++{
++ int fd, res;
++ /* The best we can do is try to open the file readonly.
++ If it exists, then we can guess a few things about it. */
++ if ((fd = _open (fname, O_RDONLY)) == -1)
++ return -1;
++ res = _swistat (fd, st);
++ /* Not interested in the error. */
++ _close (fd);
++ return res;
++}
++
++int __attribute__((weak))
++_link (void)
++{
++ errno = ENOSYS;
++ return -1;
++}
++
++int
++_unlink (const char *path)
++{
++ int res;
++ param_block_t block[2];
++ block[0] = (param_block_t) path;
++ block[1] = strlen (path);
++ res = do_AngelSVC (AngelSVC_Reason_Remove, block);
++ if (res == -1)
++ return error (res);
++ return 0;
++}
++
++int
++_gettimeofday (struct timeval *tp, void *tzvp)
++{
++ struct timezone *tzp = tzvp;
++ if (tp)
++ {
++ /* Ask the host for the seconds since the Unix epoch. */
++ tp->tv_sec = do_AngelSVC (AngelSVC_Reason_Time, NULL);
++ tp->tv_usec = 0;
++ }
++
++ /* Return fixed data for the timezone. */
++ if (tzp)
++ {
++ tzp->tz_minuteswest = 0;
++ tzp->tz_dsttime = 0;
++ }
++
++ return 0;
++}
++
++/* Return a clock that ticks at 100Hz. */
++clock_t
++_clock (void)
++{
++ clock_t timeval;
++
++ timeval = do_AngelSVC (AngelSVC_Reason_Clock, NULL);
++ return timeval;
++}
++
++/* Return a clock that ticks at 100Hz. */
++clock_t
++_times (struct tms * tp)
++{
++ clock_t timeval = _clock ();
++
++ if (tp)
++ {
++ tp->tms_utime = timeval; /* user time */
++ tp->tms_stime = 0; /* system time */
++ tp->tms_cutime = 0; /* user time, children */
++ tp->tms_cstime = 0; /* system time, children */
++ }
++
++ return timeval;
++};
++
++
++int
++_isatty (int fd)
++{
++ struct fdent *pfd;
++ param_block_t param[1];
++ int res;
++
++ /* Return 1 if fd is an open file descriptor referring to a terminal;
++ otherwise 0 is returned, and errno is set to indicate the error. */
++
++ pfd = findslot (fd);
++ if (pfd == NULL)
++ {
++ errno = EBADF;
++ return 0;
++ }
++
++ param[0] = pfd->handle;
++ res = do_AngelSVC (AngelSVC_Reason_IsTTY, param);
++
++ if (res != 1)
++ return error (0);
++ return res;
++}
++
++int
++_system (const char *s)
++{
++ param_block_t block[2];
++ int e;
++
++ /* Hmmm. The ARM debug interface specification doesn't say whether
++ SYS_SYSTEM does the right thing with a null argument, or assign any
++ meaning to its return value. Try to do something reasonable.... */
++ if (!s)
++ return 1; /* maybe there is a shell available? we can hope. :-P */
++ block[0] = (param_block_t) s;
++ block[1] = strlen (s);
++ e = checkerror (do_AngelSVC (AngelSVC_Reason_System, block));
++ if ((e >= 0) && (e < 256))
++ {
++ /* We have to convert e, an exit status to the encoded status of
++ the command. To avoid hard coding the exit status, we simply
++ loop until we find the right position. */
++ int exit_code;
++
++ for (exit_code = e; e && WEXITSTATUS (e) != exit_code; e <<= 1)
++ continue;
++ }
++ return e;
++}
++
++int
++_rename (const char *oldpath, const char *newpath)
++{
++ param_block_t block[4];
++ block[0] = (param_block_t) oldpath;
++ block[1] = strlen (oldpath);
++ block[2] = (param_block_t) newpath;
++ block[3] = strlen (newpath);
++ return checkerror (do_AngelSVC (AngelSVC_Reason_Rename, block)) ? -1 : 0;
++}
++
++/* Returns the number of elapsed target ticks since the support code
++ started execution. Returns -1 and sets errno on error. */
++long
++__aarch64_angel_elapsed (void)
++{
++ int result;
++ param_block_t block[2];
++ result = checkerror (do_AngelSVC (AngelSVC_Reason_Elapsed, block));
++ if (result == -1)
++ return result;
++ return block[0];
++}
+diff -Naur newlib-1.20.0.orig/libgloss/arm/linux-crt0.c newlib-1.20.0/libgloss/arm/linux-crt0.c
+--- newlib-1.20.0.orig/libgloss/arm/linux-crt0.c 2011-07-13 17:06:21.000000000 +0200
++++ newlib-1.20.0/libgloss/arm/linux-crt0.c 2012-10-15 10:31:19.525619559 +0200
+@@ -18,8 +18,10 @@
+ ".global _start\n"
+ ".type _start, %function\n"
+ "_start:\n"
+- "\tadr r0, _start_thumb+1\n"
++ "\tldr r0, .LC0\n"
+ "\tbx r0\n"
++ ".LC0:\n"
++ "\t.word _start_thumb\n"
+ ".size _start, .-_start\n");
+
+ __attribute__((naked, used))
+diff -Naur newlib-1.20.0.orig/libgloss/arm/redboot-crt0.S newlib-1.20.0/libgloss/arm/redboot-crt0.S
+--- newlib-1.20.0.orig/libgloss/arm/redboot-crt0.S 2011-07-13 17:06:21.000000000 +0200
++++ newlib-1.20.0/libgloss/arm/redboot-crt0.S 2012-10-15 10:31:19.525619559 +0200
+@@ -97,7 +97,7 @@
+
+ movs a1, #0
+ ldr a2, .LC3
+- mov a3, a2
++ movs a3, a2
+ bl SYM_NAME(main)
+ 1: bl SYM_NAME(exit)
+ b 1b
+diff -Naur newlib-1.20.0.orig/libgloss/bfin/_exit.c newlib-1.20.0/libgloss/bfin/_exit.c
+--- newlib-1.20.0.orig/libgloss/bfin/_exit.c 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/libgloss/bfin/_exit.c 2012-10-15 10:31:19.526619574 +0200
+@@ -0,0 +1,25 @@
++/*
++ * C library support files for the Blackfin processor
++ *
++ * Copyright (C) 2012 Analog Devices, Inc.
++ *
++ * The authors hereby grant permission to use, copy, modify, distribute,
++ * and license this software and its documentation for any purpose, provided
++ * that existing copyright notices are retained in all copies and that this
++ * notice is included verbatim in any distributions. No written agreement,
++ * license, or royalty fee is required for any of the authorized uses.
++ * Modifications to this software may be copyrighted by their authors
++ * and need not follow the licensing terms described here, provided that
++ * the new terms are clearly indicated on the first page of each file where
++ * they apply.
++ */
++
++#include <_ansi.h>
++
++_VOID
++_DEFUN (_exit, (rc),
++ int rc)
++{
++ while (1)
++ asm volatile ("EXCPT 0;");
++}
+diff -Naur newlib-1.20.0.orig/libgloss/bfin/include/sys/anomaly_macros_rtl.h newlib-1.20.0/libgloss/bfin/include/sys/anomaly_macros_rtl.h
+--- newlib-1.20.0.orig/libgloss/bfin/include/sys/anomaly_macros_rtl.h 2010-10-18 01:52:49.000000000 +0200
++++ newlib-1.20.0/libgloss/bfin/include/sys/anomaly_macros_rtl.h 2012-10-15 10:31:19.526619574 +0200
+@@ -12,7 +12,7 @@
+
+ /************************************************************************
+ *
+- * anomaly_macros_rtl.h : $Revision: 1.3 $
++ * anomaly_macros_rtl.h : $Revision$
+ *
+ * (c) Copyright 2005-2009 Analog Devices, Inc. All rights reserved.
+ *
+diff -Naur newlib-1.20.0.orig/libgloss/bfin/Makefile.in newlib-1.20.0/libgloss/bfin/Makefile.in
+--- newlib-1.20.0.orig/libgloss/bfin/Makefile.in 2011-12-18 19:41:20.000000000 +0100
++++ newlib-1.20.0/libgloss/bfin/Makefile.in 2012-10-15 10:31:19.525619559 +0200
+@@ -74,7 +74,7 @@
+ BOARD_BSP = libbfinbsp.a
+ BOARD_CRT0S = basiccrt.o basiccrts.o
+ BOARD_CRT0S += basiccrt561.o basiccrt561s.o basiccrt561b.o
+-BOARD_OBJS = clear_cache_range.o
++BOARD_OBJS = clear_cache_range.o _exit.o
+ BOARD_TEST =
+ BOARD_INSTALL = install-board
+
+diff -Naur newlib-1.20.0.orig/libgloss/ChangeLog newlib-1.20.0/libgloss/ChangeLog
+--- newlib-1.20.0.orig/libgloss/ChangeLog 2011-12-18 19:41:20.000000000 +0100
++++ newlib-1.20.0/libgloss/ChangeLog 2012-10-15 10:31:19.518619445 +0200
+@@ -1,4 +1,110 @@
+-2011-12-18 Mike Frysinger <vapier@gentoo.org>
++2012-10-03 DJ Delorie <dj@redhat.com>
++
++ * rl78/crt0.S (_interrupt_vector_table): Convert from CPP macros
++ to GAS macros, to avoid dependence on the line separation
++ character.
++
++2012-10-01 DJ Delorie <dj@redhat.com>
++
++ * v850/sbrk.c (_sbrk): Change heap_start to be an array of
++ undefined size, to avoid problems when compiled with -msda=4.
++
++2012-09-26 Ian Bolton <ian.bolton@arm.com>
++ Jim MacArthur <jim.macarthur@arm.com>
++ Marcus Shawcroft <marcus.shawcroft@arm.com>
++ Nigel Stephens <nigel.stephens@arm.com>
++ Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
++ Richard Earnshaw <rearnsha@arm.com>
++ Sofiane Naci <sofiane.naci@arm.com>
++ Tejas Belagod <tejas.belagod@arm.com>
++ Yufeng Zhang <yufeng.zhang@arm.com>
++
++ * aarch64/Makefile.in: New file.
++ * aarch64/_exit.c: New file.
++ * aarch64/_kill.c: New file.
++ * aarch64/aclocal.m4: Generated.
++ * aarch64/configure: Generated.
++ * aarch64/configure.in: New file.
++ * aarch64/cpu-init/Makefile.in: New file.
++ * aarch64/cpu-init/rdimon-aem-el3.S: New file.
++ * aarch64/crt0.S: New file.
++ * aarch64/elf-rdimon.specs: New file.
++ * aarch64/libcfunc.c: New file.
++ * aarch64/svc.h: New file.
++ * aarch64/syscalls.c: New file.
++ * configure.in: Add AArch64.
++ * configure: Re-generated.
++
++2012-09-13 Anthony Green <green@moxielogic.com>
++
++ * moxie/moxie-elf-common.ld: Add bi-endian support.
++
++2012-08-30 DJ Delorie <dj@redhat.com>
++
++ * rx/rx.ld: Add W_* sections to .rodata.
++ * rx/rx-sim.ld: Likewise.
++
++2012-08-30 Kaushik Phatak <kaushik.phatak@kpitcummins.com>
++
++ * cr16/sys/syscall.h: New file.
++
++2012-05-02 Greta Yorsh <Greta.Yorsh@arm.com>
++
++ * arm/redboot-crt0.S (__change_mode): Replace mov with movs.
++
++2012-03-23 Mike Frysinger <vapier@gentoo.org>
++
++ * cris/Makefile.in (install-lin): Add $(DESTDIR) before ${tooldir}.
++
++2012-03-12 Mike Frysinger <vapier@gentoo.org>
++
++ * libnosys/Makefile.in (NEWLIB_CFLAGS, NEWLIB_LDFLAGS,
++ INCLUDES, CFLAGS_FOR_TARGET, LDFLAGS_FOR_TARGET,
++ AR_FLAGS, .c.o, .C.o, .s.o, .S.o, .c.s): Delete and replace
++ with @host_makefile_frag@.
++
++2012-03-12 Mike Frysinger <vapier@gentoo.org>
++
++ * config/default.mh (AR_FLAGS): Set to rc.
++
++2012-03-09 Jeff Johnston <jjohnstn@redhat.com>
++
++ * epiphany/access.c: Add modification rights to clause as
++ permitted by DJ Delorie.
++ * iq2000/access.c: Ditto.
++ * mn10200/access.c: Ditto.
++ * mn10300/access.c: Ditto.
++ * mt/access.c: Ditto.
++ * v850/access.c: Ditto.
++
++2012-03-02 Bin Cheng <bin.cheng@arm.com>
++
++ * configure.in: Accept "arm*" target spec instead of just "arm".
++ * configure: Regenerated.
++ * libnosys/configure.in: Likewise.
++ (libc_symbol_prefix): Renamed to libc_cv_symbol_prefix.
++ * libnosys/configure: Regenerated (using autoconf v2.68).
++
++2012-02-21 Jeremy Bennett <jeremy.bennett@embecosm.com>
++ Alan Lehotsky <apl@alum.mit.edu>
++ Joern Rennecke <joern.rennecke@embecosm.com>
++
++ * configure.in: Add Epiphany support.
++ * configure: Regenerate.
++ * epiphany: New directory.
++ * libgloss/README: Add Epiphany entry.
++
++2012-01-23 Stuart Henderson <stuart.henderson@analog.com>
++
++ * bfin/_exit.c: New file.
++ * bfin/Makefile.in (BOARD_OBJS): Add _exit.o.
++
++2012-01-17 Bin Cheng <bin.cheng@arm.com>
++
++ * arm/linux-crt0.c: Use ldr instead of adr to get address of
++ _start_thumb.
++
++2011-12-18 Steve Kilbane <stephen.kilbane@analog.com>
+
+ * bfin/clear_cache_range.c: New file.
+ * bfin/Makefile.in (SIM_OBJS): Add clear_cache_range.o.
+diff -Naur newlib-1.20.0.orig/libgloss/config/default.mh newlib-1.20.0/libgloss/config/default.mh
+--- newlib-1.20.0.orig/libgloss/config/default.mh 2000-03-17 23:48:49.000000000 +0100
++++ newlib-1.20.0/libgloss/config/default.mh 2012-10-15 10:31:19.526619574 +0200
+@@ -6,7 +6,7 @@
+ # options are passed; they're passed in $(CFLAGS).
+ CFLAGS_FOR_TARGET = -O2 -g ${MULTILIB} ${INCLUDES} ${NEWLIB_CFLAGS}
+ LDFLAGS_FOR_TARGET = ${MULTILIB} ${NEWLIB_LDFLAGS}
+-AR_FLAGS = qc
++AR_FLAGS = rc
+
+ .c.o:
+ $(CC) $(CFLAGS_FOR_TARGET) -O2 $(INCLUDES) -c $(CFLAGS) $<
+diff -Naur newlib-1.20.0.orig/libgloss/configure newlib-1.20.0/libgloss/configure
+--- newlib-1.20.0.orig/libgloss/configure 2011-12-15 23:58:40.000000000 +0100
++++ newlib-1.20.0/libgloss/configure 2012-10-15 10:31:19.528619607 +0200
+@@ -665,6 +665,8 @@
+ CCAS
+ CCASFLAGS'
+ ac_subdirs_all='doc
++aarch64
++epiphany
+ i386
+ m32r
+ m68hc11
+@@ -2390,6 +2392,16 @@
+ config_libnosys=true
+
+ case "${target}" in
++ aarch64*-*-*)
++ subdirs="$subdirs aarch64"
++
++ config_testsuite=true
++ ;;
++ epiphany-*-*)
++ subdirs="$subdirs epiphany"
++
++ config_testsuite=true
++ ;;
+ i[3456]86-*-elf* | i[3456]86-*-coff*)
+ subdirs="$subdirs i386"
+
+@@ -2422,7 +2434,7 @@
+ subdirs="$subdirs sparc"
+
+ ;;
+- sh*-*-pe | mips*-*-pe | *arm-wince-pe)
++ sh*-*-pe | mips*-*-pe | *arm*-wince-pe)
+ subdirs="$subdirs wince"
+
+ ;;
+@@ -2518,7 +2530,7 @@
+ subdirs="$subdirs rx"
+
+ ;;
+- arm*-*-elf | arm*-*-coff | arm-*-*)
++ arm*-*-elf | arm*-*-coff | arm*-*-*)
+ subdirs="$subdirs arm"
+
+ ;;
+diff -Naur newlib-1.20.0.orig/libgloss/configure.in newlib-1.20.0/libgloss/configure.in
+--- newlib-1.20.0.orig/libgloss/configure.in 2011-12-15 23:58:40.000000000 +0100
++++ newlib-1.20.0/libgloss/configure.in 2012-10-15 10:31:19.528619607 +0200
+@@ -34,6 +34,14 @@
+ config_libnosys=true
+
+ case "${target}" in
++ aarch64*-*-*)
++ AC_CONFIG_SUBDIRS(aarch64)
++ config_testsuite=true
++ ;;
++ epiphany-*-*)
++ AC_CONFIG_SUBDIRS(epiphany)
++ config_testsuite=true
++ ;;
+ i[[3456]]86-*-elf* | i[[3456]]86-*-coff*)
+ AC_CONFIG_SUBDIRS([i386])
+ ;;
+@@ -58,7 +66,7 @@
+ sparclet-*-aout* | sparc-*-elf* | sparc64-*-elf* | sparc86x-*-* | sparclite-*-*)
+ AC_CONFIG_SUBDIRS([sparc])
+ ;;
+- sh*-*-pe | mips*-*-pe | *arm-wince-pe)
++ sh*-*-pe | mips*-*-pe | *arm*-wince-pe)
+ AC_CONFIG_SUBDIRS([wince])
+ ;;
+ mips*-*-*)
+@@ -130,7 +138,7 @@
+ rx*-*-elf)
+ AC_CONFIG_SUBDIRS([rx])
+ ;;
+- arm*-*-elf | arm*-*-coff | arm-*-*)
++ arm*-*-elf | arm*-*-coff | arm*-*-*)
+ AC_CONFIG_SUBDIRS([arm])
+ ;;
+ spu-*-elf)
+diff -Naur newlib-1.20.0.orig/libgloss/cr16/sys/syscall.h newlib-1.20.0/libgloss/cr16/sys/syscall.h
+--- newlib-1.20.0.orig/libgloss/cr16/sys/syscall.h 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/libgloss/cr16/sys/syscall.h 2012-10-15 10:31:19.528619607 +0200
+@@ -0,0 +1,41 @@
++/* cr16 syscall.h file. This is used only by the simulator. These numbers
++ match the syscalls used by the sim port which are different from linux
++ system calls.
++ This will allow correct generation of sim/common/nltvals.def */
++
++
++#ifndef _SYS_SYSCALL_H_
++#define _SYS_SYSCALL_H_
++
++/* Note: This file may be included by assembler source. */
++
++#define SYS_fork 2
++#define SYS_wait4 7
++#define SYS_create 8
++#define SYS_link 9
++#define SYS_execv 11
++#define SYS_chdir 12
++#define SYS_mknod 14
++#define SYS_chmod 15
++#define SYS_chown 16
++#define SYS_getpid 20
++#define SYS_isatty 21
++#define SYS_fstat 22
++#define SYS_ARG 24
++#define SYS_stat 38
++#define SYS_pipe 42
++#define SYS_execve 59
++#define SYS_kill 60
++#define SYS_utime 201
++#define SYS_wait 202
++#define SYS_time 0x300
++#define SYS_open 0x401
++#define SYS_close 0x402
++#define SYS_read 0x403
++#define SYS_write 0x404
++#define SYS_lseek 0x405
++#define SYS_rename 0x406
++#define SYS_unlink 0x407
++#define SYS_exit 0x410
++
++#endif
+diff -Naur newlib-1.20.0.orig/libgloss/cris/Makefile.in newlib-1.20.0/libgloss/cris/Makefile.in
+--- newlib-1.20.0.orig/libgloss/cris/Makefile.in 2007-12-01 14:14:07.000000000 +0100
++++ newlib-1.20.0/libgloss/cris/Makefile.in 2012-10-15 10:31:19.529619624 +0200
+@@ -228,7 +228,7 @@
+ *) \
+ set -e; \
+ for x in ${LIN_BSP} ${LIN_SCRIPTS} ${LIN_EXTRA}; do \
+- ${INSTALL_DATA} $$x ${tooldir}/lib${MULTISUBDIR}/$$x; \
++ ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; \
+ done;; \
+ esac
+
+diff -Naur newlib-1.20.0.orig/libgloss/epiphany/access.c newlib-1.20.0/libgloss/epiphany/access.c
+--- newlib-1.20.0.orig/libgloss/epiphany/access.c 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/libgloss/epiphany/access.c 2012-10-15 10:31:19.531619656 +0200
+@@ -0,0 +1,32 @@
++/* This is file ACCESS.C */
++/*
++ * Copyright (C) 1993 DJ Delorie
++ * All rights reserved.
++ *
++ * Redistribution, modification, and use in source and binary forms is permitted
++ * provided that the above copyright notice and following paragraph are
++ * duplicated in all such forms.
++ *
++ * This file is distributed WITHOUT ANY WARRANTY; without even the implied
++ * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
++ */
++
++#include <fcntl.h>
++#include <sys/stat.h>
++#include <unistd.h>
++
++int access(const char *fn, int flags)
++{
++ struct stat s;
++ if (stat(fn, &s))
++ return -1;
++ if (s.st_mode & S_IFDIR)
++ return 0;
++ if (flags & W_OK)
++ {
++ if (s.st_mode & S_IWRITE)
++ return 0;
++ return -1;
++ }
++ return 0;
++}
+diff -Naur newlib-1.20.0.orig/libgloss/epiphany/aclocal.m4 newlib-1.20.0/libgloss/epiphany/aclocal.m4
+--- newlib-1.20.0.orig/libgloss/epiphany/aclocal.m4 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/libgloss/epiphany/aclocal.m4 2012-10-15 10:31:19.531619656 +0200
+@@ -0,0 +1,404 @@
++# generated automatically by aclocal 1.11.1 -*- Autoconf -*-
++
++# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
++# 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
++# This file is free software; the Free Software Foundation
++# gives unlimited permission to copy and/or distribute it,
++# with or without modifications, as long as this notice is preserved.
++
++# This program is distributed in the hope that it will be useful,
++# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
++# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
++# PARTICULAR PURPOSE.
++
++# AM_CONDITIONAL -*- Autoconf -*-
++
++# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
++# Free Software Foundation, Inc.
++#
++# This file is free software; the Free Software Foundation
++# gives unlimited permission to copy and/or distribute it,
++# with or without modifications, as long as this notice is preserved.
++
++# serial 9
++
++# AM_CONDITIONAL(NAME, SHELL-CONDITION)
++# -------------------------------------
++# Define a conditional.
++AC_DEFUN([AM_CONDITIONAL],
++[AC_PREREQ(2.52)dnl
++ ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
++ [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
++AC_SUBST([$1_TRUE])dnl
++AC_SUBST([$1_FALSE])dnl
++_AM_SUBST_NOTMAKE([$1_TRUE])dnl
++_AM_SUBST_NOTMAKE([$1_FALSE])dnl
++m4_define([_AM_COND_VALUE_$1], [$2])dnl
++if $2; then
++ $1_TRUE=
++ $1_FALSE='#'
++else
++ $1_TRUE='#'
++ $1_FALSE=
++fi
++AC_CONFIG_COMMANDS_PRE(
++[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
++ AC_MSG_ERROR([[conditional "$1" was never defined.
++Usually this means the macro was only invoked conditionally.]])
++fi])])
++
++# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
++# Free Software Foundation, Inc.
++#
++# This file is free software; the Free Software Foundation
++# gives unlimited permission to copy and/or distribute it,
++# with or without modifications, as long as this notice is preserved.
++
++# serial 10
++
++# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
++# written in clear, in which case automake, when reading aclocal.m4,
++# will think it sees a *use*, and therefore will trigger all it's
++# C support machinery. Also note that it means that autoscan, seeing
++# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
++
++
++# _AM_DEPENDENCIES(NAME)
++# ----------------------
++# See how the compiler implements dependency checking.
++# NAME is "CC", "CXX", "GCJ", or "OBJC".
++# We try a few techniques and use that to set a single cache variable.
++#
++# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
++# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
++# dependency, and given that the user is not expected to run this macro,
++# just rely on AC_PROG_CC.
++AC_DEFUN([_AM_DEPENDENCIES],
++[AC_REQUIRE([AM_SET_DEPDIR])dnl
++AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
++AC_REQUIRE([AM_MAKE_INCLUDE])dnl
++AC_REQUIRE([AM_DEP_TRACK])dnl
++
++ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
++ [$1], CXX, [depcc="$CXX" am_compiler_list=],
++ [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
++ [$1], UPC, [depcc="$UPC" am_compiler_list=],
++ [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
++ [depcc="$$1" am_compiler_list=])
++
++AC_CACHE_CHECK([dependency style of $depcc],
++ [am_cv_$1_dependencies_compiler_type],
++[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
++ # We make a subdir and do the tests there. Otherwise we can end up
++ # making bogus files that we don't know about and never remove. For
++ # instance it was reported that on HP-UX the gcc test will end up
++ # making a dummy file named `D' -- because `-MD' means `put the output
++ # in D'.
++ mkdir conftest.dir
++ # Copy depcomp to subdir because otherwise we won't find it if we're
++ # using a relative directory.
++ cp "$am_depcomp" conftest.dir
++ cd conftest.dir
++ # We will build objects and dependencies in a subdirectory because
++ # it helps to detect inapplicable dependency modes. For instance
++ # both Tru64's cc and ICC support -MD to output dependencies as a
++ # side effect of compilation, but ICC will put the dependencies in
++ # the current directory while Tru64 will put them in the object
++ # directory.
++ mkdir sub
++
++ am_cv_$1_dependencies_compiler_type=none
++ if test "$am_compiler_list" = ""; then
++ am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
++ fi
++ am__universal=false
++ m4_case([$1], [CC],
++ [case " $depcc " in #(
++ *\ -arch\ *\ -arch\ *) am__universal=true ;;
++ esac],
++ [CXX],
++ [case " $depcc " in #(
++ *\ -arch\ *\ -arch\ *) am__universal=true ;;
++ esac])
++
++ for depmode in $am_compiler_list; do
++ # Setup a source with many dependencies, because some compilers
++ # like to wrap large dependency lists on column 80 (with \), and
++ # we should not choose a depcomp mode which is confused by this.
++ #
++ # We need to recreate these files for each test, as the compiler may
++ # overwrite some of them when testing with obscure command lines.
++ # This happens at least with the AIX C compiler.
++ : > sub/conftest.c
++ for i in 1 2 3 4 5 6; do
++ echo '#include "conftst'$i'.h"' >> sub/conftest.c
++ # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
++ # Solaris 8's {/usr,}/bin/sh.
++ touch sub/conftst$i.h
++ done
++ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
++
++ # We check with `-c' and `-o' for the sake of the "dashmstdout"
++ # mode. It turns out that the SunPro C++ compiler does not properly
++ # handle `-M -o', and we need to detect this. Also, some Intel
++ # versions had trouble with output in subdirs
++ am__obj=sub/conftest.${OBJEXT-o}
++ am__minus_obj="-o $am__obj"
++ case $depmode in
++ gcc)
++ # This depmode causes a compiler race in universal mode.
++ test "$am__universal" = false || continue
++ ;;
++ nosideeffect)
++ # after this tag, mechanisms are not by side-effect, so they'll
++ # only be used when explicitly requested
++ if test "x$enable_dependency_tracking" = xyes; then
++ continue
++ else
++ break
++ fi
++ ;;
++ msvisualcpp | msvcmsys)
++ # This compiler won't grok `-c -o', but also, the minuso test has
++ # not run yet. These depmodes are late enough in the game, and
++ # so weak that their functioning should not be impacted.
++ am__obj=conftest.${OBJEXT-o}
++ am__minus_obj=
++ ;;
++ none) break ;;
++ esac
++ if depmode=$depmode \
++ source=sub/conftest.c object=$am__obj \
++ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
++ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
++ >/dev/null 2>conftest.err &&
++ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
++ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
++ grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
++ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
++ # icc doesn't choke on unknown options, it will just issue warnings
++ # or remarks (even with -Werror). So we grep stderr for any message
++ # that says an option was ignored or not supported.
++ # When given -MP, icc 7.0 and 7.1 complain thusly:
++ # icc: Command line warning: ignoring option '-M'; no argument required
++ # The diagnosis changed in icc 8.0:
++ # icc: Command line remark: option '-MP' not supported
++ if (grep 'ignoring option' conftest.err ||
++ grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
++ am_cv_$1_dependencies_compiler_type=$depmode
++ break
++ fi
++ fi
++ done
++
++ cd ..
++ rm -rf conftest.dir
++else
++ am_cv_$1_dependencies_compiler_type=none
++fi
++])
++AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
++AM_CONDITIONAL([am__fastdep$1], [
++ test "x$enable_dependency_tracking" != xno \
++ && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
++])
++
++
++# AM_SET_DEPDIR
++# -------------
++# Choose a directory name for dependency files.
++# This macro is AC_REQUIREd in _AM_DEPENDENCIES
++AC_DEFUN([AM_SET_DEPDIR],
++[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
++AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
++])
++
++
++# AM_DEP_TRACK
++# ------------
++AC_DEFUN([AM_DEP_TRACK],
++[AC_ARG_ENABLE(dependency-tracking,
++[ --disable-dependency-tracking speeds up one-time build
++ --enable-dependency-tracking do not reject slow dependency extractors])
++if test "x$enable_dependency_tracking" != xno; then
++ am_depcomp="$ac_aux_dir/depcomp"
++ AMDEPBACKSLASH='\'
++fi
++AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
++AC_SUBST([AMDEPBACKSLASH])dnl
++_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
++])
++
++# Generate code to set up dependency tracking. -*- Autoconf -*-
++
++# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
++# Free Software Foundation, Inc.
++#
++# This file is free software; the Free Software Foundation
++# gives unlimited permission to copy and/or distribute it,
++# with or without modifications, as long as this notice is preserved.
++
++#serial 5
++
++# _AM_OUTPUT_DEPENDENCY_COMMANDS
++# ------------------------------
++AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
++[{
++ # Autoconf 2.62 quotes --file arguments for eval, but not when files
++ # are listed without --file. Let's play safe and only enable the eval
++ # if we detect the quoting.
++ case $CONFIG_FILES in
++ *\'*) eval set x "$CONFIG_FILES" ;;
++ *) set x $CONFIG_FILES ;;
++ esac
++ shift
++ for mf
++ do
++ # Strip MF so we end up with the name of the file.
++ mf=`echo "$mf" | sed -e 's/:.*$//'`
++ # Check whether this is an Automake generated Makefile or not.
++ # We used to match only the files named `Makefile.in', but
++ # some people rename them; so instead we look at the file content.
++ # Grep'ing the first line is not enough: some people post-process
++ # each Makefile.in and add a new line on top of each file to say so.
++ # Grep'ing the whole file is not good either: AIX grep has a line
++ # limit of 2048, but all sed's we know have understand at least 4000.
++ if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
++ dirpart=`AS_DIRNAME("$mf")`
++ else
++ continue
++ fi
++ # Extract the definition of DEPDIR, am__include, and am__quote
++ # from the Makefile without running `make'.
++ DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
++ test -z "$DEPDIR" && continue
++ am__include=`sed -n 's/^am__include = //p' < "$mf"`
++ test -z "am__include" && continue
++ am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
++ # When using ansi2knr, U may be empty or an underscore; expand it
++ U=`sed -n 's/^U = //p' < "$mf"`
++ # Find all dependency output files, they are included files with
++ # $(DEPDIR) in their names. We invoke sed twice because it is the
++ # simplest approach to changing $(DEPDIR) to its actual value in the
++ # expansion.
++ for file in `sed -n "
++ s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
++ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
++ # Make sure the directory exists.
++ test -f "$dirpart/$file" && continue
++ fdir=`AS_DIRNAME(["$file"])`
++ AS_MKDIR_P([$dirpart/$fdir])
++ # echo "creating $dirpart/$file"
++ echo '# dummy' > "$dirpart/$file"
++ done
++ done
++}
++])# _AM_OUTPUT_DEPENDENCY_COMMANDS
++
++
++# AM_OUTPUT_DEPENDENCY_COMMANDS
++# -----------------------------
++# This macro should only be invoked once -- use via AC_REQUIRE.
++#
++# This code is only required when automatic dependency tracking
++# is enabled. FIXME. This creates each `.P' file that we will
++# need in order to bootstrap the dependency handling code.
++AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
++[AC_CONFIG_COMMANDS([depfiles],
++ [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
++ [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
++])
++
++# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
++#
++# This file is free software; the Free Software Foundation
++# gives unlimited permission to copy and/or distribute it,
++# with or without modifications, as long as this notice is preserved.
++
++# serial 2
++
++# Check whether the underlying file-system supports filenames
++# with a leading dot. For instance MS-DOS doesn't.
++AC_DEFUN([AM_SET_LEADING_DOT],
++[rm -rf .tst 2>/dev/null
++mkdir .tst 2>/dev/null
++if test -d .tst; then
++ am__leading_dot=.
++else
++ am__leading_dot=_
++fi
++rmdir .tst 2>/dev/null
++AC_SUBST([am__leading_dot])])
++
++# Check to see how 'make' treats includes. -*- Autoconf -*-
++
++# Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc.
++#
++# This file is free software; the Free Software Foundation
++# gives unlimited permission to copy and/or distribute it,
++# with or without modifications, as long as this notice is preserved.
++
++# serial 4
++
++# AM_MAKE_INCLUDE()
++# -----------------
++# Check to see how make treats includes.
++AC_DEFUN([AM_MAKE_INCLUDE],
++[am_make=${MAKE-make}
++cat > confinc << 'END'
++am__doit:
++ @echo this is the am__doit target
++.PHONY: am__doit
++END
++# If we don't find an include directive, just comment out the code.
++AC_MSG_CHECKING([for style of include used by $am_make])
++am__include="#"
++am__quote=
++_am_result=none
++# First try GNU make style include.
++echo "include confinc" > confmf
++# Ignore all kinds of additional output from `make'.
++case `$am_make -s -f confmf 2> /dev/null` in #(
++*the\ am__doit\ target*)
++ am__include=include
++ am__quote=
++ _am_result=GNU
++ ;;
++esac
++# Now try BSD make style include.
++if test "$am__include" = "#"; then
++ echo '.include "confinc"' > confmf
++ case `$am_make -s -f confmf 2> /dev/null` in #(
++ *the\ am__doit\ target*)
++ am__include=.include
++ am__quote="\""
++ _am_result=BSD
++ ;;
++ esac
++fi
++AC_SUBST([am__include])
++AC_SUBST([am__quote])
++AC_MSG_RESULT([$_am_result])
++rm -f confinc confmf
++])
++
++# Copyright (C) 2006, 2008 Free Software Foundation, Inc.
++#
++# This file is free software; the Free Software Foundation
++# gives unlimited permission to copy and/or distribute it,
++# with or without modifications, as long as this notice is preserved.
++
++# serial 2
++
++# _AM_SUBST_NOTMAKE(VARIABLE)
++# ---------------------------
++# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
++# This macro is traced by Automake.
++AC_DEFUN([_AM_SUBST_NOTMAKE])
++
++# AM_SUBST_NOTMAKE(VARIABLE)
++# ---------------------------
++# Public sister of _AM_SUBST_NOTMAKE.
++AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
++
++m4_include([../acinclude.m4])
+diff -Naur newlib-1.20.0.orig/libgloss/epiphany/close.c newlib-1.20.0/libgloss/epiphany/close.c
+--- newlib-1.20.0.orig/libgloss/epiphany/close.c 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/libgloss/epiphany/close.c 2012-10-15 10:31:19.531619656 +0200
+@@ -0,0 +1,52 @@
++/* EPIPHANY implementation of _close ()
++
++ Copyright (c) 2011, 2012 Adapteva, Inc.
++ All rights reserved.
++
++ Contributor Jeremy Bennett <jeremy.bennett@embecosm.com> for Adapteva Inc
++
++ Redistribution and use in source and binary forms, with or without
++ modification, are permitted provided that the following conditions are met:
++ * Redistributions of source code must retain the above copyright notice,
++ this list of conditions and the following disclaimer.
++ * Redistributions in binary form must reproduce the above copyright
++ notice, this list of conditions and the following disclaimer in the
++ documentation and/or other materials provided with the distribution.
++ * Neither the name of Adapteva nor the names of its contributors may be
++ used to endorse or promote products derived from this software without
++ specific prior written permission.
++
++ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
++ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
++ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
++ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
++ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
++ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
++ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
++ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
++ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
++ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
++ POSSIBILITY OF SUCH DAMAGE. */
++
++
++#include <errno.h>
++#include "epiphany-syscalls.h"
++
++/* ------------------------------------------------------------------------- */
++/*!Close an open file
++
++ When run with the simulator, asm_close () uses the host close routine,
++ otherwise it is up to the hardware to provide a suitable BSP
++ implementation. In either case it returns 0 on success or -1 on failure,
++ and updates errno on failure.
++
++ @param[in] filedes The file descriptor to close
++
++ @return 0 on success, -1 on failure with an error code in errno. */
++/* ------------------------------------------------------------------------- */
++int __attribute__ ((section ("libgloss_epiphany")))
++_close (int fildes)
++{
++ return asm_close (fildes);
++
++} /* _close () */
+diff -Naur newlib-1.20.0.orig/libgloss/epiphany/config.h.in newlib-1.20.0/libgloss/epiphany/config.h.in
+--- newlib-1.20.0.orig/libgloss/epiphany/config.h.in 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/libgloss/epiphany/config.h.in 2012-10-15 10:31:19.531619656 +0200
+@@ -0,0 +1,31 @@
++/* config.h.in. Generated from configure.in by autoheader. */
++
++/* .pushsection/.popsection directives allowed */
++#undef HAVE_ASM_POPSECTION_DIRECTIVE
++
++/* .previous directive allowed */
++#undef HAVE_ASM_PREVIOUS_DIRECTIVE
++
++/* Using ELF format */
++#undef HAVE_ELF
++
++/* Using GNU ld */
++#undef HAVE_GNU_LD
++
++/* Define to the address where bug reports for this package should be sent. */
++#undef PACKAGE_BUGREPORT
++
++/* Define to the full name of this package. */
++#undef PACKAGE_NAME
++
++/* Define to the full name and version of this package. */
++#undef PACKAGE_STRING
++
++/* Define to the one symbol short name of this package. */
++#undef PACKAGE_TARNAME
++
++/* Define to the version of this package. */
++#undef PACKAGE_VERSION
++
++/* symbol prefix */
++#undef __SYMBOL_PREFIX
+diff -Naur newlib-1.20.0.orig/libgloss/epiphany/configure newlib-1.20.0/libgloss/epiphany/configure
+--- newlib-1.20.0.orig/libgloss/epiphany/configure 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/libgloss/epiphany/configure 2012-10-15 10:31:19.533619686 +0200
+@@ -0,0 +1,4061 @@
++#! /bin/sh
++# Guess values for system-dependent variables and create Makefiles.
++# Generated by GNU Autoconf 2.68 for libepiphany 0.0.1.
++#
++#
++# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
++# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
++# Foundation, Inc.
++#
++#
++# This configure script is free software; the Free Software Foundation
++# gives unlimited permission to copy, distribute and modify it.
++## -------------------- ##
++## M4sh Initialization. ##
++## -------------------- ##
++
++# Be more Bourne compatible
++DUALCASE=1; export DUALCASE # for MKS sh
++if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
++ emulate sh
++ NULLCMD=:
++ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
++ # is contrary to our usage. Disable this feature.
++ alias -g '${1+"$@"}'='"$@"'
++ setopt NO_GLOB_SUBST
++else
++ case `(set -o) 2>/dev/null` in #(
++ *posix*) :
++ set -o posix ;; #(
++ *) :
++ ;;
++esac
++fi
++
++
++as_nl='
++'
++export as_nl
++# Printing a long string crashes Solaris 7 /usr/bin/printf.
++as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
++as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
++as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
++# Prefer a ksh shell builtin over an external printf program on Solaris,
++# but without wasting forks for bash or zsh.
++if test -z "$BASH_VERSION$ZSH_VERSION" \
++ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
++ as_echo='print -r --'
++ as_echo_n='print -rn --'
++elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
++ as_echo='printf %s\n'
++ as_echo_n='printf %s'
++else
++ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
++ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
++ as_echo_n='/usr/ucb/echo -n'
++ else
++ as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
++ as_echo_n_body='eval
++ arg=$1;
++ case $arg in #(
++ *"$as_nl"*)
++ expr "X$arg" : "X\\(.*\\)$as_nl";
++ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
++ esac;
++ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
++ '
++ export as_echo_n_body
++ as_echo_n='sh -c $as_echo_n_body as_echo'
++ fi
++ export as_echo_body
++ as_echo='sh -c $as_echo_body as_echo'
++fi
++
++# The user is always right.
++if test "${PATH_SEPARATOR+set}" != set; then
++ PATH_SEPARATOR=:
++ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
++ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
++ PATH_SEPARATOR=';'
++ }
++fi
++
++
++# IFS
++# We need space, tab and new line, in precisely that order. Quoting is
++# there to prevent editors from complaining about space-tab.
++# (If _AS_PATH_WALK were called with IFS unset, it would disable word
++# splitting by setting IFS to empty value.)
++IFS=" "" $as_nl"
++
++# Find who we are. Look in the path if we contain no directory separator.
++as_myself=
++case $0 in #((
++ *[\\/]* ) as_myself=$0 ;;
++ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
++ done
++IFS=$as_save_IFS
++
++ ;;
++esac
++# We did not find ourselves, most probably we were run as `sh COMMAND'
++# in which case we are not to be found in the path.
++if test "x$as_myself" = x; then
++ as_myself=$0
++fi
++if test ! -f "$as_myself"; then
++ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
++ exit 1
++fi
++
++# Unset variables that we do not need and which cause bugs (e.g. in
++# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
++# suppresses any "Segmentation fault" message there. '((' could
++# trigger a bug in pdksh 5.2.14.
++for as_var in BASH_ENV ENV MAIL MAILPATH
++do eval test x\${$as_var+set} = xset \
++ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
++done
++PS1='$ '
++PS2='> '
++PS4='+ '
++
++# NLS nuisances.
++LC_ALL=C
++export LC_ALL
++LANGUAGE=C
++export LANGUAGE
++
++# CDPATH.
++(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
++
++if test "x$CONFIG_SHELL" = x; then
++ as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
++ emulate sh
++ NULLCMD=:
++ # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
++ # is contrary to our usage. Disable this feature.
++ alias -g '\${1+\"\$@\"}'='\"\$@\"'
++ setopt NO_GLOB_SUBST
++else
++ case \`(set -o) 2>/dev/null\` in #(
++ *posix*) :
++ set -o posix ;; #(
++ *) :
++ ;;
++esac
++fi
++"
++ as_required="as_fn_return () { (exit \$1); }
++as_fn_success () { as_fn_return 0; }
++as_fn_failure () { as_fn_return 1; }
++as_fn_ret_success () { return 0; }
++as_fn_ret_failure () { return 1; }
++
++exitcode=0
++as_fn_success || { exitcode=1; echo as_fn_success failed.; }
++as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
++as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
++as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
++if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
++
++else
++ exitcode=1; echo positional parameters were not saved.
++fi
++test x\$exitcode = x0 || exit 1"
++ as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
++ as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
++ eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
++ test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
++ if (eval "$as_required") 2>/dev/null; then :
++ as_have_required=yes
++else
++ as_have_required=no
++fi
++ if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
++
++else
++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++as_found=false
++for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ as_found=:
++ case $as_dir in #(
++ /*)
++ for as_base in sh bash ksh sh5; do
++ # Try only shells that exist, to save several forks.
++ as_shell=$as_dir/$as_base
++ if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
++ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
++ CONFIG_SHELL=$as_shell as_have_required=yes
++ if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
++ break 2
++fi
++fi
++ done;;
++ esac
++ as_found=false
++done
++$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
++ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
++ CONFIG_SHELL=$SHELL as_have_required=yes
++fi; }
++IFS=$as_save_IFS
++
++
++ if test "x$CONFIG_SHELL" != x; then :
++ # We cannot yet assume a decent shell, so we have to provide a
++ # neutralization value for shells without unset; and this also
++ # works around shells that cannot unset nonexistent variables.
++ # Preserve -v and -x to the replacement shell.
++ BASH_ENV=/dev/null
++ ENV=/dev/null
++ (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
++ export CONFIG_SHELL
++ case $- in # ((((
++ *v*x* | *x*v* ) as_opts=-vx ;;
++ *v* ) as_opts=-v ;;
++ *x* ) as_opts=-x ;;
++ * ) as_opts= ;;
++ esac
++ exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
++fi
++
++ if test x$as_have_required = xno; then :
++ $as_echo "$0: This script requires a shell more modern than all"
++ $as_echo "$0: the shells that I found on your system."
++ if test x${ZSH_VERSION+set} = xset ; then
++ $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
++ $as_echo "$0: be upgraded to zsh 4.3.4 or later."
++ else
++ $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
++$0: including any error possibly output before this
++$0: message. Then install a modern shell, or manually run
++$0: the script under such a shell if you do have one."
++ fi
++ exit 1
++fi
++fi
++fi
++SHELL=${CONFIG_SHELL-/bin/sh}
++export SHELL
++# Unset more variables known to interfere with behavior of common tools.
++CLICOLOR_FORCE= GREP_OPTIONS=
++unset CLICOLOR_FORCE GREP_OPTIONS
++
++## --------------------- ##
++## M4sh Shell Functions. ##
++## --------------------- ##
++# as_fn_unset VAR
++# ---------------
++# Portably unset VAR.
++as_fn_unset ()
++{
++ { eval $1=; unset $1;}
++}
++as_unset=as_fn_unset
++
++# as_fn_set_status STATUS
++# -----------------------
++# Set $? to STATUS, without forking.
++as_fn_set_status ()
++{
++ return $1
++} # as_fn_set_status
++
++# as_fn_exit STATUS
++# -----------------
++# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
++as_fn_exit ()
++{
++ set +e
++ as_fn_set_status $1
++ exit $1
++} # as_fn_exit
++
++# as_fn_mkdir_p
++# -------------
++# Create "$as_dir" as a directory, including parents if necessary.
++as_fn_mkdir_p ()
++{
++
++ case $as_dir in #(
++ -*) as_dir=./$as_dir;;
++ esac
++ test -d "$as_dir" || eval $as_mkdir_p || {
++ as_dirs=
++ while :; do
++ case $as_dir in #(
++ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
++ *) as_qdir=$as_dir;;
++ esac
++ as_dirs="'$as_qdir' $as_dirs"
++ as_dir=`$as_dirname -- "$as_dir" ||
++$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
++ X"$as_dir" : 'X\(//\)[^/]' \| \
++ X"$as_dir" : 'X\(//\)$' \| \
++ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
++$as_echo X"$as_dir" |
++ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
++ s//\1/
++ q
++ }
++ /^X\(\/\/\)[^/].*/{
++ s//\1/
++ q
++ }
++ /^X\(\/\/\)$/{
++ s//\1/
++ q
++ }
++ /^X\(\/\).*/{
++ s//\1/
++ q
++ }
++ s/.*/./; q'`
++ test -d "$as_dir" && break
++ done
++ test -z "$as_dirs" || eval "mkdir $as_dirs"
++ } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
++
++
++} # as_fn_mkdir_p
++# as_fn_append VAR VALUE
++# ----------------------
++# Append the text in VALUE to the end of the definition contained in VAR. Take
++# advantage of any shell optimizations that allow amortized linear growth over
++# repeated appends, instead of the typical quadratic growth present in naive
++# implementations.
++if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
++ eval 'as_fn_append ()
++ {
++ eval $1+=\$2
++ }'
++else
++ as_fn_append ()
++ {
++ eval $1=\$$1\$2
++ }
++fi # as_fn_append
++
++# as_fn_arith ARG...
++# ------------------
++# Perform arithmetic evaluation on the ARGs, and store the result in the
++# global $as_val. Take advantage of shells that can avoid forks. The arguments
++# must be portable across $(()) and expr.
++if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
++ eval 'as_fn_arith ()
++ {
++ as_val=$(( $* ))
++ }'
++else
++ as_fn_arith ()
++ {
++ as_val=`expr "$@" || test $? -eq 1`
++ }
++fi # as_fn_arith
++
++
++# as_fn_error STATUS ERROR [LINENO LOG_FD]
++# ----------------------------------------
++# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
++# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
++# script with STATUS, using 1 if that was 0.
++as_fn_error ()
++{
++ as_status=$1; test $as_status -eq 0 && as_status=1
++ if test "$4"; then
++ as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
++ $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
++ fi
++ $as_echo "$as_me: error: $2" >&2
++ as_fn_exit $as_status
++} # as_fn_error
++
++if expr a : '\(a\)' >/dev/null 2>&1 &&
++ test "X`expr 00001 : '.*\(...\)'`" = X001; then
++ as_expr=expr
++else
++ as_expr=false
++fi
++
++if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
++ as_basename=basename
++else
++ as_basename=false
++fi
++
++if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
++ as_dirname=dirname
++else
++ as_dirname=false
++fi
++
++as_me=`$as_basename -- "$0" ||
++$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
++ X"$0" : 'X\(//\)$' \| \
++ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
++$as_echo X/"$0" |
++ sed '/^.*\/\([^/][^/]*\)\/*$/{
++ s//\1/
++ q
++ }
++ /^X\/\(\/\/\)$/{
++ s//\1/
++ q
++ }
++ /^X\/\(\/\).*/{
++ s//\1/
++ q
++ }
++ s/.*/./; q'`
++
++# Avoid depending upon Character Ranges.
++as_cr_letters='abcdefghijklmnopqrstuvwxyz'
++as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
++as_cr_Letters=$as_cr_letters$as_cr_LETTERS
++as_cr_digits='0123456789'
++as_cr_alnum=$as_cr_Letters$as_cr_digits
++
++
++ as_lineno_1=$LINENO as_lineno_1a=$LINENO
++ as_lineno_2=$LINENO as_lineno_2a=$LINENO
++ eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
++ test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
++ # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
++ sed -n '
++ p
++ /[$]LINENO/=
++ ' <$as_myself |
++ sed '
++ s/[$]LINENO.*/&-/
++ t lineno
++ b
++ :lineno
++ N
++ :loop
++ s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
++ t loop
++ s/-\n.*//
++ ' >$as_me.lineno &&
++ chmod +x "$as_me.lineno" ||
++ { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
++
++ # Don't try to exec as it changes $[0], causing all sort of problems
++ # (the dirname of $[0] is not the place where we might find the
++ # original and so on. Autoconf is especially sensitive to this).
++ . "./$as_me.lineno"
++ # Exit status is that of the last command.
++ exit
++}
++
++ECHO_C= ECHO_N= ECHO_T=
++case `echo -n x` in #(((((
++-n*)
++ case `echo 'xy\c'` in
++ *c*) ECHO_T=' ';; # ECHO_T is single tab character.
++ xy) ECHO_C='\c';;
++ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
++ ECHO_T=' ';;
++ esac;;
++*)
++ ECHO_N='-n';;
++esac
++
++rm -f conf$$ conf$$.exe conf$$.file
++if test -d conf$$.dir; then
++ rm -f conf$$.dir/conf$$.file
++else
++ rm -f conf$$.dir
++ mkdir conf$$.dir 2>/dev/null
++fi
++if (echo >conf$$.file) 2>/dev/null; then
++ if ln -s conf$$.file conf$$ 2>/dev/null; then
++ as_ln_s='ln -s'
++ # ... but there are two gotchas:
++ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
++ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
++ # In both cases, we have to default to `cp -p'.
++ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
++ as_ln_s='cp -p'
++ elif ln conf$$.file conf$$ 2>/dev/null; then
++ as_ln_s=ln
++ else
++ as_ln_s='cp -p'
++ fi
++else
++ as_ln_s='cp -p'
++fi
++rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
++rmdir conf$$.dir 2>/dev/null
++
++if mkdir -p . 2>/dev/null; then
++ as_mkdir_p='mkdir -p "$as_dir"'
++else
++ test -d ./-p && rmdir ./-p
++ as_mkdir_p=false
++fi
++
++if test -x / >/dev/null 2>&1; then
++ as_test_x='test -x'
++else
++ if ls -dL / >/dev/null 2>&1; then
++ as_ls_L_option=L
++ else
++ as_ls_L_option=
++ fi
++ as_test_x='
++ eval sh -c '\''
++ if test -d "$1"; then
++ test -d "$1/.";
++ else
++ case $1 in #(
++ -*)set "./$1";;
++ esac;
++ case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
++ ???[sx]*):;;*)false;;esac;fi
++ '\'' sh
++ '
++fi
++as_executable_p=$as_test_x
++
++# Sed expression to map a string onto a valid CPP name.
++as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
++
++# Sed expression to map a string onto a valid variable name.
++as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
++
++
++test -n "$DJDIR" || exec 7<&0 </dev/null
++exec 6>&1
++
++# Name of the host.
++# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
++# so uname gets run too.
++ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
++
++#
++# Initializations.
++#
++ac_default_prefix=/usr/local
++ac_clean_files=
++ac_config_libobj_dir=.
++LIBOBJS=
++cross_compiling=no
++subdirs=
++MFLAGS=
++MAKEFLAGS=
++
++# Identity of this package.
++PACKAGE_NAME='libepiphany'
++PACKAGE_TARNAME='libepiphany'
++PACKAGE_VERSION='0.0.1'
++PACKAGE_STRING='libepiphany 0.0.1'
++PACKAGE_BUGREPORT=''
++PACKAGE_URL=''
++
++ac_subst_vars='LTLIBOBJS
++LIBOBJS
++host_makefile_frag_path
++CCASFLAGS
++CCAS
++RANLIB
++LD
++AR
++AS
++am__fastdepCC_FALSE
++am__fastdepCC_TRUE
++CCDEPMODE
++AMDEPBACKSLASH
++AMDEP_FALSE
++AMDEP_TRUE
++am__quote
++am__include
++DEPDIR
++am__leading_dot
++CC
++INSTALL_DATA
++INSTALL_SCRIPT
++INSTALL_PROGRAM
++target_os
++target_vendor
++target_cpu
++target
++host_os
++host_vendor
++host_cpu
++host
++build_os
++build_vendor
++build_cpu
++build
++target_alias
++host_alias
++build_alias
++LIBS
++ECHO_T
++ECHO_N
++ECHO_C
++DEFS
++mandir
++localedir
++libdir
++psdir
++pdfdir
++dvidir
++htmldir
++infodir
++docdir
++oldincludedir
++includedir
++localstatedir
++sharedstatedir
++sysconfdir
++datadir
++datarootdir
++libexecdir
++sbindir
++bindir
++program_transform_name
++prefix
++exec_prefix
++PACKAGE_URL
++PACKAGE_BUGREPORT
++PACKAGE_STRING
++PACKAGE_VERSION
++PACKAGE_TARNAME
++PACKAGE_NAME
++PATH_SEPARATOR
++SHELL'
++ac_subst_files='host_makefile_frag'
++ac_user_opts='
++enable_option_checking
++enable_dependency_tracking
++'
++ ac_precious_vars='build_alias
++host_alias
++target_alias
++CCAS
++CCASFLAGS'
++
++
++# Initialize some variables set by options.
++ac_init_help=
++ac_init_version=false
++ac_unrecognized_opts=
++ac_unrecognized_sep=
++# The variables have the same names as the options, with
++# dashes changed to underlines.
++cache_file=/dev/null
++exec_prefix=NONE
++no_create=
++no_recursion=
++prefix=NONE
++program_prefix=NONE
++program_suffix=NONE
++program_transform_name=s,x,x,
++silent=
++site=
++srcdir=
++verbose=
++x_includes=NONE
++x_libraries=NONE
++
++# Installation directory options.
++# These are left unexpanded so users can "make install exec_prefix=/foo"
++# and all the variables that are supposed to be based on exec_prefix
++# by default will actually change.
++# Use braces instead of parens because sh, perl, etc. also accept them.
++# (The list follows the same order as the GNU Coding Standards.)
++bindir='${exec_prefix}/bin'
++sbindir='${exec_prefix}/sbin'
++libexecdir='${exec_prefix}/libexec'
++datarootdir='${prefix}/share'
++datadir='${datarootdir}'
++sysconfdir='${prefix}/etc'
++sharedstatedir='${prefix}/com'
++localstatedir='${prefix}/var'
++includedir='${prefix}/include'
++oldincludedir='/usr/include'
++docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
++infodir='${datarootdir}/info'
++htmldir='${docdir}'
++dvidir='${docdir}'
++pdfdir='${docdir}'
++psdir='${docdir}'
++libdir='${exec_prefix}/lib'
++localedir='${datarootdir}/locale'
++mandir='${datarootdir}/man'
++
++ac_prev=
++ac_dashdash=
++for ac_option
++do
++ # If the previous option needs an argument, assign it.
++ if test -n "$ac_prev"; then
++ eval $ac_prev=\$ac_option
++ ac_prev=
++ continue
++ fi
++
++ case $ac_option in
++ *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
++ *=) ac_optarg= ;;
++ *) ac_optarg=yes ;;
++ esac
++
++ # Accept the important Cygnus configure options, so we can diagnose typos.
++
++ case $ac_dashdash$ac_option in
++ --)
++ ac_dashdash=yes ;;
++
++ -bindir | --bindir | --bindi | --bind | --bin | --bi)
++ ac_prev=bindir ;;
++ -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
++ bindir=$ac_optarg ;;
++
++ -build | --build | --buil | --bui | --bu)
++ ac_prev=build_alias ;;
++ -build=* | --build=* | --buil=* | --bui=* | --bu=*)
++ build_alias=$ac_optarg ;;
++
++ -cache-file | --cache-file | --cache-fil | --cache-fi \
++ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
++ ac_prev=cache_file ;;
++ -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
++ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
++ cache_file=$ac_optarg ;;
++
++ --config-cache | -C)
++ cache_file=config.cache ;;
++
++ -datadir | --datadir | --datadi | --datad)
++ ac_prev=datadir ;;
++ -datadir=* | --datadir=* | --datadi=* | --datad=*)
++ datadir=$ac_optarg ;;
++
++ -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
++ | --dataroo | --dataro | --datar)
++ ac_prev=datarootdir ;;
++ -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
++ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
++ datarootdir=$ac_optarg ;;
++
++ -disable-* | --disable-*)
++ ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
++ # Reject names that are not valid shell variable names.
++ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
++ as_fn_error $? "invalid feature name: $ac_useropt"
++ ac_useropt_orig=$ac_useropt
++ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
++ case $ac_user_opts in
++ *"
++"enable_$ac_useropt"
++"*) ;;
++ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
++ ac_unrecognized_sep=', ';;
++ esac
++ eval enable_$ac_useropt=no ;;
++
++ -docdir | --docdir | --docdi | --doc | --do)
++ ac_prev=docdir ;;
++ -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
++ docdir=$ac_optarg ;;
++
++ -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
++ ac_prev=dvidir ;;
++ -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
++ dvidir=$ac_optarg ;;
++
++ -enable-* | --enable-*)
++ ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
++ # Reject names that are not valid shell variable names.
++ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
++ as_fn_error $? "invalid feature name: $ac_useropt"
++ ac_useropt_orig=$ac_useropt
++ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
++ case $ac_user_opts in
++ *"
++"enable_$ac_useropt"
++"*) ;;
++ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
++ ac_unrecognized_sep=', ';;
++ esac
++ eval enable_$ac_useropt=\$ac_optarg ;;
++
++ -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
++ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
++ | --exec | --exe | --ex)
++ ac_prev=exec_prefix ;;
++ -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
++ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
++ | --exec=* | --exe=* | --ex=*)
++ exec_prefix=$ac_optarg ;;
++
++ -gas | --gas | --ga | --g)
++ # Obsolete; use --with-gas.
++ with_gas=yes ;;
++
++ -help | --help | --hel | --he | -h)
++ ac_init_help=long ;;
++ -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
++ ac_init_help=recursive ;;
++ -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
++ ac_init_help=short ;;
++
++ -host | --host | --hos | --ho)
++ ac_prev=host_alias ;;
++ -host=* | --host=* | --hos=* | --ho=*)
++ host_alias=$ac_optarg ;;
++
++ -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
++ ac_prev=htmldir ;;
++ -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
++ | --ht=*)
++ htmldir=$ac_optarg ;;
++
++ -includedir | --includedir | --includedi | --included | --include \
++ | --includ | --inclu | --incl | --inc)
++ ac_prev=includedir ;;
++ -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
++ | --includ=* | --inclu=* | --incl=* | --inc=*)
++ includedir=$ac_optarg ;;
++
++ -infodir | --infodir | --infodi | --infod | --info | --inf)
++ ac_prev=infodir ;;
++ -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
++ infodir=$ac_optarg ;;
++
++ -libdir | --libdir | --libdi | --libd)
++ ac_prev=libdir ;;
++ -libdir=* | --libdir=* | --libdi=* | --libd=*)
++ libdir=$ac_optarg ;;
++
++ -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
++ | --libexe | --libex | --libe)
++ ac_prev=libexecdir ;;
++ -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
++ | --libexe=* | --libex=* | --libe=*)
++ libexecdir=$ac_optarg ;;
++
++ -localedir | --localedir | --localedi | --localed | --locale)
++ ac_prev=localedir ;;
++ -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
++ localedir=$ac_optarg ;;
++
++ -localstatedir | --localstatedir | --localstatedi | --localstated \
++ | --localstate | --localstat | --localsta | --localst | --locals)
++ ac_prev=localstatedir ;;
++ -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
++ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
++ localstatedir=$ac_optarg ;;
++
++ -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
++ ac_prev=mandir ;;
++ -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
++ mandir=$ac_optarg ;;
++
++ -nfp | --nfp | --nf)
++ # Obsolete; use --without-fp.
++ with_fp=no ;;
++
++ -no-create | --no-create | --no-creat | --no-crea | --no-cre \
++ | --no-cr | --no-c | -n)
++ no_create=yes ;;
++
++ -no-recursion | --no-recursion | --no-recursio | --no-recursi \
++ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
++ no_recursion=yes ;;
++
++ -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
++ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
++ | --oldin | --oldi | --old | --ol | --o)
++ ac_prev=oldincludedir ;;
++ -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
++ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
++ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
++ oldincludedir=$ac_optarg ;;
++
++ -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
++ ac_prev=prefix ;;
++ -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
++ prefix=$ac_optarg ;;
++
++ -program-prefix | --program-prefix | --program-prefi | --program-pref \
++ | --program-pre | --program-pr | --program-p)
++ ac_prev=program_prefix ;;
++ -program-prefix=* | --program-prefix=* | --program-prefi=* \
++ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
++ program_prefix=$ac_optarg ;;
++
++ -program-suffix | --program-suffix | --program-suffi | --program-suff \
++ | --program-suf | --program-su | --program-s)
++ ac_prev=program_suffix ;;
++ -program-suffix=* | --program-suffix=* | --program-suffi=* \
++ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
++ program_suffix=$ac_optarg ;;
++
++ -program-transform-name | --program-transform-name \
++ | --program-transform-nam | --program-transform-na \
++ | --program-transform-n | --program-transform- \
++ | --program-transform | --program-transfor \
++ | --program-transfo | --program-transf \
++ | --program-trans | --program-tran \
++ | --progr-tra | --program-tr | --program-t)
++ ac_prev=program_transform_name ;;
++ -program-transform-name=* | --program-transform-name=* \
++ | --program-transform-nam=* | --program-transform-na=* \
++ | --program-transform-n=* | --program-transform-=* \
++ | --program-transform=* | --program-transfor=* \
++ | --program-transfo=* | --program-transf=* \
++ | --program-trans=* | --program-tran=* \
++ | --progr-tra=* | --program-tr=* | --program-t=*)
++ program_transform_name=$ac_optarg ;;
++
++ -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
++ ac_prev=pdfdir ;;
++ -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
++ pdfdir=$ac_optarg ;;
++
++ -psdir | --psdir | --psdi | --psd | --ps)
++ ac_prev=psdir ;;
++ -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
++ psdir=$ac_optarg ;;
++
++ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
++ | -silent | --silent | --silen | --sile | --sil)
++ silent=yes ;;
++
++ -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
++ ac_prev=sbindir ;;
++ -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
++ | --sbi=* | --sb=*)
++ sbindir=$ac_optarg ;;
++
++ -sharedstatedir | --sharedstatedir | --sharedstatedi \
++ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
++ | --sharedst | --shareds | --shared | --share | --shar \
++ | --sha | --sh)
++ ac_prev=sharedstatedir ;;
++ -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
++ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
++ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
++ | --sha=* | --sh=*)
++ sharedstatedir=$ac_optarg ;;
++
++ -site | --site | --sit)
++ ac_prev=site ;;
++ -site=* | --site=* | --sit=*)
++ site=$ac_optarg ;;
++
++ -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
++ ac_prev=srcdir ;;
++ -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
++ srcdir=$ac_optarg ;;
++
++ -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
++ | --syscon | --sysco | --sysc | --sys | --sy)
++ ac_prev=sysconfdir ;;
++ -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
++ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
++ sysconfdir=$ac_optarg ;;
++
++ -target | --target | --targe | --targ | --tar | --ta | --t)
++ ac_prev=target_alias ;;
++ -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
++ target_alias=$ac_optarg ;;
++
++ -v | -verbose | --verbose | --verbos | --verbo | --verb)
++ verbose=yes ;;
++
++ -version | --version | --versio | --versi | --vers | -V)
++ ac_init_version=: ;;
++
++ -with-* | --with-*)
++ ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
++ # Reject names that are not valid shell variable names.
++ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
++ as_fn_error $? "invalid package name: $ac_useropt"
++ ac_useropt_orig=$ac_useropt
++ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
++ case $ac_user_opts in
++ *"
++"with_$ac_useropt"
++"*) ;;
++ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
++ ac_unrecognized_sep=', ';;
++ esac
++ eval with_$ac_useropt=\$ac_optarg ;;
++
++ -without-* | --without-*)
++ ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
++ # Reject names that are not valid shell variable names.
++ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
++ as_fn_error $? "invalid package name: $ac_useropt"
++ ac_useropt_orig=$ac_useropt
++ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
++ case $ac_user_opts in
++ *"
++"with_$ac_useropt"
++"*) ;;
++ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
++ ac_unrecognized_sep=', ';;
++ esac
++ eval with_$ac_useropt=no ;;
++
++ --x)
++ # Obsolete; use --with-x.
++ with_x=yes ;;
++
++ -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
++ | --x-incl | --x-inc | --x-in | --x-i)
++ ac_prev=x_includes ;;
++ -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
++ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
++ x_includes=$ac_optarg ;;
++
++ -x-libraries | --x-libraries | --x-librarie | --x-librari \
++ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
++ ac_prev=x_libraries ;;
++ -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
++ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
++ x_libraries=$ac_optarg ;;
++
++ -*) as_fn_error $? "unrecognized option: \`$ac_option'
++Try \`$0 --help' for more information"
++ ;;
++
++ *=*)
++ ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
++ # Reject names that are not valid shell variable names.
++ case $ac_envvar in #(
++ '' | [0-9]* | *[!_$as_cr_alnum]* )
++ as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
++ esac
++ eval $ac_envvar=\$ac_optarg
++ export $ac_envvar ;;
++
++ *)
++ # FIXME: should be removed in autoconf 3.0.
++ $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
++ expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
++ $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
++ : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
++ ;;
++
++ esac
++done
++
++if test -n "$ac_prev"; then
++ ac_option=--`echo $ac_prev | sed 's/_/-/g'`
++ as_fn_error $? "missing argument to $ac_option"
++fi
++
++if test -n "$ac_unrecognized_opts"; then
++ case $enable_option_checking in
++ no) ;;
++ fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
++ *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
++ esac
++fi
++
++# Check all directory arguments for consistency.
++for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
++ datadir sysconfdir sharedstatedir localstatedir includedir \
++ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
++ libdir localedir mandir
++do
++ eval ac_val=\$$ac_var
++ # Remove trailing slashes.
++ case $ac_val in
++ */ )
++ ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
++ eval $ac_var=\$ac_val;;
++ esac
++ # Be sure to have absolute directory names.
++ case $ac_val in
++ [\\/$]* | ?:[\\/]* ) continue;;
++ NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
++ esac
++ as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
++done
++
++# There might be people who depend on the old broken behavior: `$host'
++# used to hold the argument of --host etc.
++# FIXME: To remove some day.
++build=$build_alias
++host=$host_alias
++target=$target_alias
++
++# FIXME: To remove some day.
++if test "x$host_alias" != x; then
++ if test "x$build_alias" = x; then
++ cross_compiling=maybe
++ $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
++ If a cross compiler is detected then cross compile mode will be used" >&2
++ elif test "x$build_alias" != "x$host_alias"; then
++ cross_compiling=yes
++ fi
++fi
++
++ac_tool_prefix=
++test -n "$host_alias" && ac_tool_prefix=$host_alias-
++
++test "$silent" = yes && exec 6>/dev/null
++
++
++ac_pwd=`pwd` && test -n "$ac_pwd" &&
++ac_ls_di=`ls -di .` &&
++ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
++ as_fn_error $? "working directory cannot be determined"
++test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
++ as_fn_error $? "pwd does not report name of working directory"
++
++
++# Find the source files, if location was not specified.
++if test -z "$srcdir"; then
++ ac_srcdir_defaulted=yes
++ # Try the directory containing this script, then the parent directory.
++ ac_confdir=`$as_dirname -- "$as_myself" ||
++$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
++ X"$as_myself" : 'X\(//\)[^/]' \| \
++ X"$as_myself" : 'X\(//\)$' \| \
++ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
++$as_echo X"$as_myself" |
++ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
++ s//\1/
++ q
++ }
++ /^X\(\/\/\)[^/].*/{
++ s//\1/
++ q
++ }
++ /^X\(\/\/\)$/{
++ s//\1/
++ q
++ }
++ /^X\(\/\).*/{
++ s//\1/
++ q
++ }
++ s/.*/./; q'`
++ srcdir=$ac_confdir
++ if test ! -r "$srcdir/$ac_unique_file"; then
++ srcdir=..
++ fi
++else
++ ac_srcdir_defaulted=no
++fi
++if test ! -r "$srcdir/$ac_unique_file"; then
++ test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
++ as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
++fi
++ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
++ac_abs_confdir=`(
++ cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
++ pwd)`
++# When building in place, set srcdir=.
++if test "$ac_abs_confdir" = "$ac_pwd"; then
++ srcdir=.
++fi
++# Remove unnecessary trailing slashes from srcdir.
++# Double slashes in file names in object file debugging info
++# mess up M-x gdb in Emacs.
++case $srcdir in
++*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
++esac
++for ac_var in $ac_precious_vars; do
++ eval ac_env_${ac_var}_set=\${${ac_var}+set}
++ eval ac_env_${ac_var}_value=\$${ac_var}
++ eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
++ eval ac_cv_env_${ac_var}_value=\$${ac_var}
++done
++
++#
++# Report the --help message.
++#
++if test "$ac_init_help" = "long"; then
++ # Omit some internal or obsolete options to make the list less imposing.
++ # This message is too long to be a string in the A/UX 3.1 sh.
++ cat <<_ACEOF
++\`configure' configures libepiphany 0.0.1 to adapt to many kinds of systems.
++
++Usage: $0 [OPTION]... [VAR=VALUE]...
++
++To assign environment variables (e.g., CC, CFLAGS...), specify them as
++VAR=VALUE. See below for descriptions of some of the useful variables.
++
++Defaults for the options are specified in brackets.
++
++Configuration:
++ -h, --help display this help and exit
++ --help=short display options specific to this package
++ --help=recursive display the short help of all the included packages
++ -V, --version display version information and exit
++ -q, --quiet, --silent do not print \`checking ...' messages
++ --cache-file=FILE cache test results in FILE [disabled]
++ -C, --config-cache alias for \`--cache-file=config.cache'
++ -n, --no-create do not create output files
++ --srcdir=DIR find the sources in DIR [configure dir or \`..']
++
++Installation directories:
++ --prefix=PREFIX install architecture-independent files in PREFIX
++ [$ac_default_prefix]
++ --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
++ [PREFIX]
++
++By default, \`make install' will install all the files in
++\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
++an installation prefix other than \`$ac_default_prefix' using \`--prefix',
++for instance \`--prefix=\$HOME'.
++
++For better control, use the options below.
++
++Fine tuning of the installation directories:
++ --bindir=DIR user executables [EPREFIX/bin]
++ --sbindir=DIR system admin executables [EPREFIX/sbin]
++ --libexecdir=DIR program executables [EPREFIX/libexec]
++ --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
++ --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
++ --localstatedir=DIR modifiable single-machine data [PREFIX/var]
++ --libdir=DIR object code libraries [EPREFIX/lib]
++ --includedir=DIR C header files [PREFIX/include]
++ --oldincludedir=DIR C header files for non-gcc [/usr/include]
++ --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
++ --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
++ --infodir=DIR info documentation [DATAROOTDIR/info]
++ --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
++ --mandir=DIR man documentation [DATAROOTDIR/man]
++ --docdir=DIR documentation root [DATAROOTDIR/doc/libepiphany]
++ --htmldir=DIR html documentation [DOCDIR]
++ --dvidir=DIR dvi documentation [DOCDIR]
++ --pdfdir=DIR pdf documentation [DOCDIR]
++ --psdir=DIR ps documentation [DOCDIR]
++_ACEOF
++
++ cat <<\_ACEOF
++
++Program names:
++ --program-prefix=PREFIX prepend PREFIX to installed program names
++ --program-suffix=SUFFIX append SUFFIX to installed program names
++ --program-transform-name=PROGRAM run sed PROGRAM on installed program names
++
++System types:
++ --build=BUILD configure for building on BUILD [guessed]
++ --host=HOST cross-compile to build programs to run on HOST [BUILD]
++ --target=TARGET configure for building compilers for TARGET [HOST]
++_ACEOF
++fi
++
++if test -n "$ac_init_help"; then
++ case $ac_init_help in
++ short | recursive ) echo "Configuration of libepiphany 0.0.1:";;
++ esac
++ cat <<\_ACEOF
++
++Optional Features:
++ --disable-option-checking ignore unrecognized --enable/--with options
++ --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
++ --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
++ --disable-dependency-tracking speeds up one-time build
++ --enable-dependency-tracking do not reject slow dependency extractors
++
++Some influential environment variables:
++ CCAS assembler compiler command (defaults to CC)
++ CCASFLAGS assembler compiler flags (defaults to CFLAGS)
++
++Use these variables to override the choices made by `configure' or to help
++it to find libraries and programs with nonstandard names/locations.
++
++Report bugs to the package provider.
++_ACEOF
++ac_status=$?
++fi
++
++if test "$ac_init_help" = "recursive"; then
++ # If there are subdirs, report their specific --help.
++ for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
++ test -d "$ac_dir" ||
++ { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
++ continue
++ ac_builddir=.
++
++case "$ac_dir" in
++.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
++*)
++ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
++ # A ".." for each directory in $ac_dir_suffix.
++ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
++ case $ac_top_builddir_sub in
++ "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
++ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
++ esac ;;
++esac
++ac_abs_top_builddir=$ac_pwd
++ac_abs_builddir=$ac_pwd$ac_dir_suffix
++# for backward compatibility:
++ac_top_builddir=$ac_top_build_prefix
++
++case $srcdir in
++ .) # We are building in place.
++ ac_srcdir=.
++ ac_top_srcdir=$ac_top_builddir_sub
++ ac_abs_top_srcdir=$ac_pwd ;;
++ [\\/]* | ?:[\\/]* ) # Absolute name.
++ ac_srcdir=$srcdir$ac_dir_suffix;
++ ac_top_srcdir=$srcdir
++ ac_abs_top_srcdir=$srcdir ;;
++ *) # Relative name.
++ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
++ ac_top_srcdir=$ac_top_build_prefix$srcdir
++ ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
++esac
++ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
++
++ cd "$ac_dir" || { ac_status=$?; continue; }
++ # Check for guested configure.
++ if test -f "$ac_srcdir/configure.gnu"; then
++ echo &&
++ $SHELL "$ac_srcdir/configure.gnu" --help=recursive
++ elif test -f "$ac_srcdir/configure"; then
++ echo &&
++ $SHELL "$ac_srcdir/configure" --help=recursive
++ else
++ $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
++ fi || ac_status=$?
++ cd "$ac_pwd" || { ac_status=$?; break; }
++ done
++fi
++
++test -n "$ac_init_help" && exit $ac_status
++if $ac_init_version; then
++ cat <<\_ACEOF
++libepiphany configure 0.0.1
++generated by GNU Autoconf 2.68
++
++Copyright (C) 2010 Free Software Foundation, Inc.
++This configure script is free software; the Free Software Foundation
++gives unlimited permission to copy, distribute and modify it.
++_ACEOF
++ exit
++fi
++
++## ------------------------ ##
++## Autoconf initialization. ##
++## ------------------------ ##
++
++# ac_fn_c_try_compile LINENO
++# --------------------------
++# Try to compile conftest.$ac_ext, and return whether this succeeded.
++ac_fn_c_try_compile ()
++{
++ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
++ rm -f conftest.$ac_objext
++ if { { ac_try="$ac_compile"
++case "(($ac_try" in
++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
++ *) ac_try_echo=$ac_try;;
++esac
++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
++$as_echo "$ac_try_echo"; } >&5
++ (eval "$ac_compile") 2>conftest.err
++ ac_status=$?
++ if test -s conftest.err; then
++ grep -v '^ *+' conftest.err >conftest.er1
++ cat conftest.er1 >&5
++ mv -f conftest.er1 conftest.err
++ fi
++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
++ test $ac_status = 0; } && {
++ test -z "$ac_c_werror_flag" ||
++ test ! -s conftest.err
++ } && test -s conftest.$ac_objext; then :
++ ac_retval=0
++else
++ $as_echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ ac_retval=1
++fi
++ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
++ as_fn_set_status $ac_retval
++
++} # ac_fn_c_try_compile
++cat >config.log <<_ACEOF
++This file contains any messages produced by compilers while
++running configure, to aid debugging if configure makes a mistake.
++
++It was created by libepiphany $as_me 0.0.1, which was
++generated by GNU Autoconf 2.68. Invocation command line was
++
++ $ $0 $@
++
++_ACEOF
++exec 5>>config.log
++{
++cat <<_ASUNAME
++## --------- ##
++## Platform. ##
++## --------- ##
++
++hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
++uname -m = `(uname -m) 2>/dev/null || echo unknown`
++uname -r = `(uname -r) 2>/dev/null || echo unknown`
++uname -s = `(uname -s) 2>/dev/null || echo unknown`
++uname -v = `(uname -v) 2>/dev/null || echo unknown`
++
++/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
++/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
++
++/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
++/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
++/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
++/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
++/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
++/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
++/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
++
++_ASUNAME
++
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ $as_echo "PATH: $as_dir"
++ done
++IFS=$as_save_IFS
++
++} >&5
++
++cat >&5 <<_ACEOF
++
++
++## ----------- ##
++## Core tests. ##
++## ----------- ##
++
++_ACEOF
++
++
++# Keep a trace of the command line.
++# Strip out --no-create and --no-recursion so they do not pile up.
++# Strip out --silent because we don't want to record it for future runs.
++# Also quote any args containing shell meta-characters.
++# Make two passes to allow for proper duplicate-argument suppression.
++ac_configure_args=
++ac_configure_args0=
++ac_configure_args1=
++ac_must_keep_next=false
++for ac_pass in 1 2
++do
++ for ac_arg
++ do
++ case $ac_arg in
++ -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
++ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
++ | -silent | --silent | --silen | --sile | --sil)
++ continue ;;
++ *\'*)
++ ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
++ esac
++ case $ac_pass in
++ 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
++ 2)
++ as_fn_append ac_configure_args1 " '$ac_arg'"
++ if test $ac_must_keep_next = true; then
++ ac_must_keep_next=false # Got value, back to normal.
++ else
++ case $ac_arg in
++ *=* | --config-cache | -C | -disable-* | --disable-* \
++ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
++ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
++ | -with-* | --with-* | -without-* | --without-* | --x)
++ case "$ac_configure_args0 " in
++ "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
++ esac
++ ;;
++ -* ) ac_must_keep_next=true ;;
++ esac
++ fi
++ as_fn_append ac_configure_args " '$ac_arg'"
++ ;;
++ esac
++ done
++done
++{ ac_configure_args0=; unset ac_configure_args0;}
++{ ac_configure_args1=; unset ac_configure_args1;}
++
++# When interrupted or exit'd, cleanup temporary files, and complete
++# config.log. We remove comments because anyway the quotes in there
++# would cause problems or look ugly.
++# WARNING: Use '\'' to represent an apostrophe within the trap.
++# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
++trap 'exit_status=$?
++ # Save into config.log some information that might help in debugging.
++ {
++ echo
++
++ $as_echo "## ---------------- ##
++## Cache variables. ##
++## ---------------- ##"
++ echo
++ # The following way of writing the cache mishandles newlines in values,
++(
++ for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
++ eval ac_val=\$$ac_var
++ case $ac_val in #(
++ *${as_nl}*)
++ case $ac_var in #(
++ *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
++$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
++ esac
++ case $ac_var in #(
++ _ | IFS | as_nl) ;; #(
++ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
++ *) { eval $ac_var=; unset $ac_var;} ;;
++ esac ;;
++ esac
++ done
++ (set) 2>&1 |
++ case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
++ *${as_nl}ac_space=\ *)
++ sed -n \
++ "s/'\''/'\''\\\\'\'''\''/g;
++ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
++ ;; #(
++ *)
++ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
++ ;;
++ esac |
++ sort
++)
++ echo
++
++ $as_echo "## ----------------- ##
++## Output variables. ##
++## ----------------- ##"
++ echo
++ for ac_var in $ac_subst_vars
++ do
++ eval ac_val=\$$ac_var
++ case $ac_val in
++ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
++ esac
++ $as_echo "$ac_var='\''$ac_val'\''"
++ done | sort
++ echo
++
++ if test -n "$ac_subst_files"; then
++ $as_echo "## ------------------- ##
++## File substitutions. ##
++## ------------------- ##"
++ echo
++ for ac_var in $ac_subst_files
++ do
++ eval ac_val=\$$ac_var
++ case $ac_val in
++ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
++ esac
++ $as_echo "$ac_var='\''$ac_val'\''"
++ done | sort
++ echo
++ fi
++
++ if test -s confdefs.h; then
++ $as_echo "## ----------- ##
++## confdefs.h. ##
++## ----------- ##"
++ echo
++ cat confdefs.h
++ echo
++ fi
++ test "$ac_signal" != 0 &&
++ $as_echo "$as_me: caught signal $ac_signal"
++ $as_echo "$as_me: exit $exit_status"
++ } >&5
++ rm -f core *.core core.conftest.* &&
++ rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
++ exit $exit_status
++' 0
++for ac_signal in 1 2 13 15; do
++ trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
++done
++ac_signal=0
++
++# confdefs.h avoids OS command line length limits that DEFS can exceed.
++rm -f -r conftest* confdefs.h
++
++$as_echo "/* confdefs.h */" > confdefs.h
++
++# Predefined preprocessor variables.
++
++cat >>confdefs.h <<_ACEOF
++#define PACKAGE_NAME "$PACKAGE_NAME"
++_ACEOF
++
++cat >>confdefs.h <<_ACEOF
++#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
++_ACEOF
++
++cat >>confdefs.h <<_ACEOF
++#define PACKAGE_VERSION "$PACKAGE_VERSION"
++_ACEOF
++
++cat >>confdefs.h <<_ACEOF
++#define PACKAGE_STRING "$PACKAGE_STRING"
++_ACEOF
++
++cat >>confdefs.h <<_ACEOF
++#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
++_ACEOF
++
++cat >>confdefs.h <<_ACEOF
++#define PACKAGE_URL "$PACKAGE_URL"
++_ACEOF
++
++
++# Let the site file select an alternate cache file if it wants to.
++# Prefer an explicitly selected file to automatically selected ones.
++ac_site_file1=NONE
++ac_site_file2=NONE
++if test -n "$CONFIG_SITE"; then
++ # We do not want a PATH search for config.site.
++ case $CONFIG_SITE in #((
++ -*) ac_site_file1=./$CONFIG_SITE;;
++ */*) ac_site_file1=$CONFIG_SITE;;
++ *) ac_site_file1=./$CONFIG_SITE;;
++ esac
++elif test "x$prefix" != xNONE; then
++ ac_site_file1=$prefix/share/config.site
++ ac_site_file2=$prefix/etc/config.site
++else
++ ac_site_file1=$ac_default_prefix/share/config.site
++ ac_site_file2=$ac_default_prefix/etc/config.site
++fi
++for ac_site_file in "$ac_site_file1" "$ac_site_file2"
++do
++ test "x$ac_site_file" = xNONE && continue
++ if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
++$as_echo "$as_me: loading site script $ac_site_file" >&6;}
++ sed 's/^/| /' "$ac_site_file" >&5
++ . "$ac_site_file" \
++ || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
++$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
++as_fn_error $? "failed to load site script $ac_site_file
++See \`config.log' for more details" "$LINENO" 5; }
++ fi
++done
++
++if test -r "$cache_file"; then
++ # Some versions of bash will fail to source /dev/null (special files
++ # actually), so we avoid doing that. DJGPP emulates it as a regular file.
++ if test /dev/null != "$cache_file" && test -f "$cache_file"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
++$as_echo "$as_me: loading cache $cache_file" >&6;}
++ case $cache_file in
++ [\\/]* | ?:[\\/]* ) . "$cache_file";;
++ *) . "./$cache_file";;
++ esac
++ fi
++else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
++$as_echo "$as_me: creating cache $cache_file" >&6;}
++ >$cache_file
++fi
++
++# Check that the precious variables saved in the cache have kept the same
++# value.
++ac_cache_corrupted=false
++for ac_var in $ac_precious_vars; do
++ eval ac_old_set=\$ac_cv_env_${ac_var}_set
++ eval ac_new_set=\$ac_env_${ac_var}_set
++ eval ac_old_val=\$ac_cv_env_${ac_var}_value
++ eval ac_new_val=\$ac_env_${ac_var}_value
++ case $ac_old_set,$ac_new_set in
++ set,)
++ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
++$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
++ ac_cache_corrupted=: ;;
++ ,set)
++ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
++$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
++ ac_cache_corrupted=: ;;
++ ,);;
++ *)
++ if test "x$ac_old_val" != "x$ac_new_val"; then
++ # differences in whitespace do not lead to failure.
++ ac_old_val_w=`echo x $ac_old_val`
++ ac_new_val_w=`echo x $ac_new_val`
++ if test "$ac_old_val_w" != "$ac_new_val_w"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
++$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
++ ac_cache_corrupted=:
++ else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
++$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
++ eval $ac_var=\$ac_old_val
++ fi
++ { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
++$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
++ { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
++$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
++ fi;;
++ esac
++ # Pass precious variables to config.status.
++ if test "$ac_new_set" = set; then
++ case $ac_new_val in
++ *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
++ *) ac_arg=$ac_var=$ac_new_val ;;
++ esac
++ case " $ac_configure_args " in
++ *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
++ *) as_fn_append ac_configure_args " '$ac_arg'" ;;
++ esac
++ fi
++done
++if $ac_cache_corrupted; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
++$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
++ { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
++$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
++ as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
++fi
++## -------------------- ##
++## Main body of script. ##
++## -------------------- ##
++
++ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++
++
++ac_config_headers="$ac_config_headers config.h"
++
++
++# No shared libraries allowed
++if test "${enable_shared}" = "yes" ; then
++ echo "Shared libraries not supported for cross compiling, ignored"
++fi
++
++# Where are the auxillary tools (confg.sub etc)?
++if test "$srcdir" = "." ; then
++ if test "${with_target_subdir}" != "." ; then
++ libgloss_topdir="${srcdir}/${with_multisrctop}../../.."
++ else
++ libgloss_topdir="${srcdir}/${with_multisrctop}../.."
++ fi
++else
++ libgloss_topdir="${srcdir}/../.."
++fi
++ac_aux_dir=
++for ac_dir in $libgloss_topdir "$srcdir"/$libgloss_topdir; do
++ if test -f "$ac_dir/install-sh"; then
++ ac_aux_dir=$ac_dir
++ ac_install_sh="$ac_aux_dir/install-sh -c"
++ break
++ elif test -f "$ac_dir/install.sh"; then
++ ac_aux_dir=$ac_dir
++ ac_install_sh="$ac_aux_dir/install.sh -c"
++ break
++ elif test -f "$ac_dir/shtool"; then
++ ac_aux_dir=$ac_dir
++ ac_install_sh="$ac_aux_dir/shtool install -c"
++ break
++ fi
++done
++if test -z "$ac_aux_dir"; then
++ as_fn_error $? "cannot find install-sh, install.sh, or shtool in $libgloss_topdir \"$srcdir\"/$libgloss_topdir" "$LINENO" 5
++fi
++
++# These three variables are undocumented and unsupported,
++# and are intended to be withdrawn in a future Autoconf release.
++# They can cause serious problems if a builder's source tree is in a directory
++# whose full name contains unusual characters.
++ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
++ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
++ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
++
++
++
++# Make sure we can run config.sub.
++$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
++ as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
++
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
++$as_echo_n "checking build system type... " >&6; }
++if ${ac_cv_build+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ ac_build_alias=$build_alias
++test "x$ac_build_alias" = x &&
++ ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
++test "x$ac_build_alias" = x &&
++ as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
++ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
++ as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
++
++fi
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
++$as_echo "$ac_cv_build" >&6; }
++case $ac_cv_build in
++*-*-*) ;;
++*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
++esac
++build=$ac_cv_build
++ac_save_IFS=$IFS; IFS='-'
++set x $ac_cv_build
++shift
++build_cpu=$1
++build_vendor=$2
++shift; shift
++# Remember, the first character of IFS is used to create $*,
++# except with old shells:
++build_os=$*
++IFS=$ac_save_IFS
++case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
++
++
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
++$as_echo_n "checking host system type... " >&6; }
++if ${ac_cv_host+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ if test "x$host_alias" = x; then
++ ac_cv_host=$ac_cv_build
++else
++ ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
++ as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
++fi
++
++fi
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
++$as_echo "$ac_cv_host" >&6; }
++case $ac_cv_host in
++*-*-*) ;;
++*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
++esac
++host=$ac_cv_host
++ac_save_IFS=$IFS; IFS='-'
++set x $ac_cv_host
++shift
++host_cpu=$1
++host_vendor=$2
++shift; shift
++# Remember, the first character of IFS is used to create $*,
++# except with old shells:
++host_os=$*
++IFS=$ac_save_IFS
++case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
++
++
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
++$as_echo_n "checking target system type... " >&6; }
++if ${ac_cv_target+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ if test "x$target_alias" = x; then
++ ac_cv_target=$ac_cv_host
++else
++ ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
++ as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
++fi
++
++fi
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
++$as_echo "$ac_cv_target" >&6; }
++case $ac_cv_target in
++*-*-*) ;;
++*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
++esac
++target=$ac_cv_target
++ac_save_IFS=$IFS; IFS='-'
++set x $ac_cv_target
++shift
++target_cpu=$1
++target_vendor=$2
++shift; shift
++# Remember, the first character of IFS is used to create $*,
++# except with old shells:
++target_os=$*
++IFS=$ac_save_IFS
++case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
++
++
++# The aliases save the names the user supplied, while $host etc.
++# will get canonicalized.
++test -n "$target_alias" &&
++ test "$program_prefix$program_suffix$program_transform_name" = \
++ NONENONEs,x,x, &&
++ program_prefix=${target_alias}-
++
++test "$program_prefix" != NONE &&
++ program_transform_name="s&^&$program_prefix&;$program_transform_name"
++# Use a double $ so make ignores it.
++test "$program_suffix" != NONE &&
++ program_transform_name="s&\$&$program_suffix&;$program_transform_name"
++# Double any \ or $.
++# By default was `s,x,x', remove it if useless.
++ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
++program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
++
++
++# Find a good install program. We prefer a C program (faster),
++# so one script is as good as another. But avoid the broken or
++# incompatible versions:
++# SysV /etc/install, /usr/sbin/install
++# SunOS /usr/etc/install
++# IRIX /sbin/install
++# AIX /bin/install
++# AmigaOS /C/install, which installs bootblocks on floppy discs
++# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
++# AFS /usr/afsws/bin/install, which mishandles nonexistent args
++# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
++# OS/2's system install, which has a completely different semantic
++# ./install, which can be erroneously created by make from ./install.sh.
++# Reject install programs that cannot install multiple files.
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
++$as_echo_n "checking for a BSD-compatible install... " >&6; }
++if test -z "$INSTALL"; then
++if ${ac_cv_path_install+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ # Account for people who put trailing slashes in PATH elements.
++case $as_dir/ in #((
++ ./ | .// | /[cC]/* | \
++ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
++ ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
++ /usr/ucb/* ) ;;
++ *)
++ # OSF1 and SCO ODT 3.0 have their own names for install.
++ # Don't use installbsd from OSF since it installs stuff as root
++ # by default.
++ for ac_prog in ginstall scoinst install; do
++ for ac_exec_ext in '' $ac_executable_extensions; do
++ if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
++ if test $ac_prog = install &&
++ grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
++ # AIX install. It has an incompatible calling convention.
++ :
++ elif test $ac_prog = install &&
++ grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
++ # program-specific install script used by HP pwplus--don't use.
++ :
++ else
++ rm -rf conftest.one conftest.two conftest.dir
++ echo one > conftest.one
++ echo two > conftest.two
++ mkdir conftest.dir
++ if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
++ test -s conftest.one && test -s conftest.two &&
++ test -s conftest.dir/conftest.one &&
++ test -s conftest.dir/conftest.two
++ then
++ ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
++ break 3
++ fi
++ fi
++ fi
++ done
++ done
++ ;;
++esac
++
++ done
++IFS=$as_save_IFS
++
++rm -rf conftest.one conftest.two conftest.dir
++
++fi
++ if test "${ac_cv_path_install+set}" = set; then
++ INSTALL=$ac_cv_path_install
++ else
++ # As a last resort, use the slow shell script. Don't cache a
++ # value for INSTALL within a source directory, because that will
++ # break other packages using the cache if that directory is
++ # removed, or if the value is a relative name.
++ INSTALL=$ac_install_sh
++ fi
++fi
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
++$as_echo "$INSTALL" >&6; }
++
++# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
++# It thinks the first close brace ends the variable substitution.
++test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
++
++test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
++
++test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
++
++
++
++$as_echo "#define HAVE_GNU_LD 1" >>confdefs.h
++
++
++# We always use ELF, define various useful associated things.
++
++$as_echo "#define HAVE_ELF 1" >>confdefs.h
++
++
++# Assembler directives (the assembler handles them, whether it does anything
++# useful with them is another matter...
++
++$as_echo "#define HAVE_ASM_PREVIOUS_DIRECTIVE 1" >>confdefs.h
++
++
++$as_echo "#define HAVE_ASM_POPSECTION_DIRECTIVE 1" >>confdefs.h
++
++
++# Section attributes in C don't currently work
++#AC_DEFINE(HAVE_SECTION_ATTRIBUTES, 1, [support for section attributes])
++
++# Sort out what the symbol prefix is (we could just fix it as '_', but let the
++# script work it out.
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for symbol prefix" >&5
++$as_echo_n "checking for symbol prefix... " >&6; }
++if ${libc_symbol_prefix+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ cat > conftest.c <<\EOF
++foo () { }
++EOF
++libc_symbol_prefix=none
++if { ac_try='${CC-cc} -S conftest.c -o - | fgrep "\$foo" > /dev/null'
++ { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
++ (eval $ac_try) 2>&5
++ ac_status=$?
++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
++ test $ac_status = 0; }; };
++then
++ libc_symbol_prefix='$'
++else
++ if { ac_try='${CC-cc} -S conftest.c -o - | fgrep "_foo" > /dev/null'
++ { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
++ (eval $ac_try) 2>&5
++ ac_status=$?
++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
++ test $ac_status = 0; }; };
++ then
++ libc_symbol_prefix=_
++ fi
++fi
++rm -f conftest*
++fi
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_symbol_prefix" >&5
++$as_echo "$libc_symbol_prefix" >&6; }
++if test $libc_symbol_prefix != none; then
++
++cat >>confdefs.h <<_ACEOF
++#define __SYMBOL_PREFIX "$libc_symbol_prefix"
++_ACEOF
++
++else
++
++$as_echo "#define __SYMBOL_PREFIX \"\"" >>confdefs.h
++
++fi
++
++# Standard stuff copied from libnosys. For this we'll need to an aclocal.m4
++rm -rf .tst 2>/dev/null
++mkdir .tst 2>/dev/null
++if test -d .tst; then
++ am__leading_dot=.
++else
++ am__leading_dot=_
++fi
++rmdir .tst 2>/dev/null
++
++DEPDIR="${am__leading_dot}deps"
++
++ac_config_commands="$ac_config_commands depfiles"
++
++
++am_make=${MAKE-make}
++cat > confinc << 'END'
++am__doit:
++ @echo this is the am__doit target
++.PHONY: am__doit
++END
++# If we don't find an include directive, just comment out the code.
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
++$as_echo_n "checking for style of include used by $am_make... " >&6; }
++am__include="#"
++am__quote=
++_am_result=none
++# First try GNU make style include.
++echo "include confinc" > confmf
++# Ignore all kinds of additional output from `make'.
++case `$am_make -s -f confmf 2> /dev/null` in #(
++*the\ am__doit\ target*)
++ am__include=include
++ am__quote=
++ _am_result=GNU
++ ;;
++esac
++# Now try BSD make style include.
++if test "$am__include" = "#"; then
++ echo '.include "confinc"' > confmf
++ case `$am_make -s -f confmf 2> /dev/null` in #(
++ *the\ am__doit\ target*)
++ am__include=.include
++ am__quote="\""
++ _am_result=BSD
++ ;;
++ esac
++fi
++
++
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
++$as_echo "$_am_result" >&6; }
++rm -f confinc confmf
++
++# Check whether --enable-dependency-tracking was given.
++if test "${enable_dependency_tracking+set}" = set; then :
++ enableval=$enable_dependency_tracking;
++fi
++
++if test "x$enable_dependency_tracking" != xno; then
++ am_depcomp="$ac_aux_dir/depcomp"
++ AMDEPBACKSLASH='\'
++fi
++ if test "x$enable_dependency_tracking" != xno; then
++ AMDEP_TRUE=
++ AMDEP_FALSE='#'
++else
++ AMDEP_TRUE='#'
++ AMDEP_FALSE=
++fi
++
++
++# Extract the first word of "gcc", so it can be a program name with args.
++set dummy gcc; ac_word=$2
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
++$as_echo_n "checking for $ac_word... " >&6; }
++if ${ac_cv_prog_CC+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ if test -n "$CC"; then
++ ac_cv_prog_CC="$CC" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ for ac_exec_ext in '' $ac_executable_extensions; do
++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
++ ac_cv_prog_CC="gcc"
++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
++ break 2
++ fi
++done
++ done
++IFS=$as_save_IFS
++
++fi
++fi
++CC=$ac_cv_prog_CC
++if test -n "$CC"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
++$as_echo "$CC" >&6; }
++else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
++$as_echo "no" >&6; }
++fi
++
++
++
++depcc="$CC" am_compiler_list=
++
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
++$as_echo_n "checking dependency style of $depcc... " >&6; }
++if ${am_cv_CC_dependencies_compiler_type+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
++ # We make a subdir and do the tests there. Otherwise we can end up
++ # making bogus files that we don't know about and never remove. For
++ # instance it was reported that on HP-UX the gcc test will end up
++ # making a dummy file named `D' -- because `-MD' means `put the output
++ # in D'.
++ mkdir conftest.dir
++ # Copy depcomp to subdir because otherwise we won't find it if we're
++ # using a relative directory.
++ cp "$am_depcomp" conftest.dir
++ cd conftest.dir
++ # We will build objects and dependencies in a subdirectory because
++ # it helps to detect inapplicable dependency modes. For instance
++ # both Tru64's cc and ICC support -MD to output dependencies as a
++ # side effect of compilation, but ICC will put the dependencies in
++ # the current directory while Tru64 will put them in the object
++ # directory.
++ mkdir sub
++
++ am_cv_CC_dependencies_compiler_type=none
++ if test "$am_compiler_list" = ""; then
++ am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
++ fi
++ am__universal=false
++ case " $depcc " in #(
++ *\ -arch\ *\ -arch\ *) am__universal=true ;;
++ esac
++
++ for depmode in $am_compiler_list; do
++ # Setup a source with many dependencies, because some compilers
++ # like to wrap large dependency lists on column 80 (with \), and
++ # we should not choose a depcomp mode which is confused by this.
++ #
++ # We need to recreate these files for each test, as the compiler may
++ # overwrite some of them when testing with obscure command lines.
++ # This happens at least with the AIX C compiler.
++ : > sub/conftest.c
++ for i in 1 2 3 4 5 6; do
++ echo '#include "conftst'$i'.h"' >> sub/conftest.c
++ # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
++ # Solaris 8's {/usr,}/bin/sh.
++ touch sub/conftst$i.h
++ done
++ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
++
++ # We check with `-c' and `-o' for the sake of the "dashmstdout"
++ # mode. It turns out that the SunPro C++ compiler does not properly
++ # handle `-M -o', and we need to detect this. Also, some Intel
++ # versions had trouble with output in subdirs
++ am__obj=sub/conftest.${OBJEXT-o}
++ am__minus_obj="-o $am__obj"
++ case $depmode in
++ gcc)
++ # This depmode causes a compiler race in universal mode.
++ test "$am__universal" = false || continue
++ ;;
++ nosideeffect)
++ # after this tag, mechanisms are not by side-effect, so they'll
++ # only be used when explicitly requested
++ if test "x$enable_dependency_tracking" = xyes; then
++ continue
++ else
++ break
++ fi
++ ;;
++ msvisualcpp | msvcmsys)
++ # This compiler won't grok `-c -o', but also, the minuso test has
++ # not run yet. These depmodes are late enough in the game, and
++ # so weak that their functioning should not be impacted.
++ am__obj=conftest.${OBJEXT-o}
++ am__minus_obj=
++ ;;
++ none) break ;;
++ esac
++ if depmode=$depmode \
++ source=sub/conftest.c object=$am__obj \
++ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
++ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
++ >/dev/null 2>conftest.err &&
++ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
++ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
++ grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
++ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
++ # icc doesn't choke on unknown options, it will just issue warnings
++ # or remarks (even with -Werror). So we grep stderr for any message
++ # that says an option was ignored or not supported.
++ # When given -MP, icc 7.0 and 7.1 complain thusly:
++ # icc: Command line warning: ignoring option '-M'; no argument required
++ # The diagnosis changed in icc 8.0:
++ # icc: Command line remark: option '-MP' not supported
++ if (grep 'ignoring option' conftest.err ||
++ grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
++ am_cv_CC_dependencies_compiler_type=$depmode
++ break
++ fi
++ fi
++ done
++
++ cd ..
++ rm -rf conftest.dir
++else
++ am_cv_CC_dependencies_compiler_type=none
++fi
++
++fi
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
++$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
++CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
++
++ if
++ test "x$enable_dependency_tracking" != xno \
++ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
++ am__fastdepCC_TRUE=
++ am__fastdepCC_FALSE='#'
++else
++ am__fastdepCC_TRUE='#'
++ am__fastdepCC_FALSE=
++fi
++
++
++if test -z "$CC"; then
++ # Extract the first word of "cc", so it can be a program name with args.
++set dummy cc; ac_word=$2
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
++$as_echo_n "checking for $ac_word... " >&6; }
++if ${ac_cv_prog_CC+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ if test -n "$CC"; then
++ ac_cv_prog_CC="$CC" # Let the user override the test.
++else
++ ac_prog_rejected=no
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ for ac_exec_ext in '' $ac_executable_extensions; do
++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
++ if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
++ ac_prog_rejected=yes
++ continue
++ fi
++ ac_cv_prog_CC="cc"
++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
++ break 2
++ fi
++done
++ done
++IFS=$as_save_IFS
++
++if test $ac_prog_rejected = yes; then
++ # We found a bogon in the path, so make sure we never use it.
++ set dummy $ac_cv_prog_CC
++ shift
++ if test $# != 0; then
++ # We chose a different compiler from the bogus one.
++ # However, it has the same basename, so the bogon will be chosen
++ # first if we set CC to just the basename; use the full file name.
++ shift
++ ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
++ fi
++fi
++fi
++fi
++CC=$ac_cv_prog_CC
++if test -n "$CC"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
++$as_echo "$CC" >&6; }
++else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
++$as_echo "no" >&6; }
++fi
++
++
++ test -z "$CC" && as_fn_error $? "no acceptable cc found in \$PATH" "$LINENO" 5
++fi
++
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using GNU C" >&5
++$as_echo_n "checking whether we are using GNU C... " >&6; }
++if ${ac_cv_c_compiler_gnu+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ cat > conftest.c <<EOF
++#ifdef __GNUC__
++ yes;
++#endif
++EOF
++if { ac_try='${CC-cc} -E conftest.c'
++ { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
++ (eval $ac_try) 2>&5
++ ac_status=$?
++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
++ test $ac_status = 0; }; } | egrep yes >/dev/null 2>&1; then
++ ac_cv_c_compiler_gnu=yes
++else
++ ac_cv_c_compiler_gnu=no
++fi
++fi
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
++$as_echo "$ac_cv_c_compiler_gnu" >&6; }
++
++if test $ac_cv_c_compiler_gnu = yes; then
++ GCC=yes
++ ac_test_CFLAGS="${CFLAGS+set}"
++ ac_save_CFLAGS="$CFLAGS"
++ CFLAGS=
++ ac_test_CFLAGS=${CFLAGS+set}
++ac_save_CFLAGS=$CFLAGS
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
++$as_echo_n "checking whether $CC accepts -g... " >&6; }
++if ${ac_cv_prog_cc_g+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ ac_save_c_werror_flag=$ac_c_werror_flag
++ ac_c_werror_flag=yes
++ ac_cv_prog_cc_g=no
++ CFLAGS="-g"
++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
++/* end confdefs.h. */
++
++int
++main ()
++{
++
++ ;
++ return 0;
++}
++_ACEOF
++if ac_fn_c_try_compile "$LINENO"; then :
++ ac_cv_prog_cc_g=yes
++else
++ CFLAGS=""
++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
++/* end confdefs.h. */
++
++int
++main ()
++{
++
++ ;
++ return 0;
++}
++_ACEOF
++if ac_fn_c_try_compile "$LINENO"; then :
++
++else
++ ac_c_werror_flag=$ac_save_c_werror_flag
++ CFLAGS="-g"
++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
++/* end confdefs.h. */
++
++int
++main ()
++{
++
++ ;
++ return 0;
++}
++_ACEOF
++if ac_fn_c_try_compile "$LINENO"; then :
++ ac_cv_prog_cc_g=yes
++fi
++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
++ ac_c_werror_flag=$ac_save_c_werror_flag
++fi
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
++$as_echo "$ac_cv_prog_cc_g" >&6; }
++if test "$ac_test_CFLAGS" = set; then
++ CFLAGS=$ac_save_CFLAGS
++elif test $ac_cv_prog_cc_g = yes; then
++ if test "$GCC" = yes; then
++ CFLAGS="-g -O2"
++ else
++ CFLAGS="-g"
++ fi
++else
++ if test "$GCC" = yes; then
++ CFLAGS="-O2"
++ else
++ CFLAGS=
++ fi
++fi
++ if test "$ac_test_CFLAGS" = set; then
++ CFLAGS="$ac_save_CFLAGS"
++ elif test $ac_cv_prog_cc_g = yes; then
++ CFLAGS="-g -O2"
++ else
++ CFLAGS="-O2"
++ fi
++else
++ GCC=
++ test "${CFLAGS+set}" = set || CFLAGS="-g"
++fi
++
++AS=${AS-as}
++
++AR=${AR-ar}
++
++LD=${LD-ld}
++
++if test -n "$ac_tool_prefix"; then
++ # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
++set dummy ${ac_tool_prefix}ranlib; ac_word=$2
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
++$as_echo_n "checking for $ac_word... " >&6; }
++if ${ac_cv_prog_RANLIB+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ if test -n "$RANLIB"; then
++ ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ for ac_exec_ext in '' $ac_executable_extensions; do
++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
++ ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
++ break 2
++ fi
++done
++ done
++IFS=$as_save_IFS
++
++fi
++fi
++RANLIB=$ac_cv_prog_RANLIB
++if test -n "$RANLIB"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
++$as_echo "$RANLIB" >&6; }
++else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
++$as_echo "no" >&6; }
++fi
++
++
++fi
++if test -z "$ac_cv_prog_RANLIB"; then
++ ac_ct_RANLIB=$RANLIB
++ # Extract the first word of "ranlib", so it can be a program name with args.
++set dummy ranlib; ac_word=$2
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
++$as_echo_n "checking for $ac_word... " >&6; }
++if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ if test -n "$ac_ct_RANLIB"; then
++ ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ for ac_exec_ext in '' $ac_executable_extensions; do
++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
++ ac_cv_prog_ac_ct_RANLIB="ranlib"
++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
++ break 2
++ fi
++done
++ done
++IFS=$as_save_IFS
++
++fi
++fi
++ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
++if test -n "$ac_ct_RANLIB"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
++$as_echo "$ac_ct_RANLIB" >&6; }
++else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
++$as_echo "no" >&6; }
++fi
++
++ if test "x$ac_ct_RANLIB" = x; then
++ RANLIB=":"
++ else
++ case $cross_compiling:$ac_tool_warned in
++yes:)
++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
++$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
++ac_tool_warned=yes ;;
++esac
++ RANLIB=$ac_ct_RANLIB
++ fi
++else
++ RANLIB="$ac_cv_prog_RANLIB"
++fi
++
++# By default we simply use the C compiler to build assembly code.
++
++test "${CCAS+set}" = set || CCAS=$CC
++test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
++
++
++
++
++host_makefile_frag=${srcdir}/../config/default.mh
++
++host_makefile_frag_path=$host_makefile_frag
++
++
++
++ac_config_files="$ac_config_files Makefile"
++
++cat >confcache <<\_ACEOF
++# This file is a shell script that caches the results of configure
++# tests run on this system so they can be shared between configure
++# scripts and configure runs, see configure's option --config-cache.
++# It is not useful on other systems. If it contains results you don't
++# want to keep, you may remove or edit it.
++#
++# config.status only pays attention to the cache file if you give it
++# the --recheck option to rerun configure.
++#
++# `ac_cv_env_foo' variables (set or unset) will be overridden when
++# loading this file, other *unset* `ac_cv_foo' will be assigned the
++# following values.
++
++_ACEOF
++
++# The following way of writing the cache mishandles newlines in values,
++# but we know of no workaround that is simple, portable, and efficient.
++# So, we kill variables containing newlines.
++# Ultrix sh set writes to stderr and can't be redirected directly,
++# and sets the high bit in the cache file unless we assign to the vars.
++(
++ for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
++ eval ac_val=\$$ac_var
++ case $ac_val in #(
++ *${as_nl}*)
++ case $ac_var in #(
++ *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
++$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
++ esac
++ case $ac_var in #(
++ _ | IFS | as_nl) ;; #(
++ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
++ *) { eval $ac_var=; unset $ac_var;} ;;
++ esac ;;
++ esac
++ done
++
++ (set) 2>&1 |
++ case $as_nl`(ac_space=' '; set) 2>&1` in #(
++ *${as_nl}ac_space=\ *)
++ # `set' does not quote correctly, so add quotes: double-quote
++ # substitution turns \\\\ into \\, and sed turns \\ into \.
++ sed -n \
++ "s/'/'\\\\''/g;
++ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
++ ;; #(
++ *)
++ # `set' quotes correctly as required by POSIX, so do not add quotes.
++ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
++ ;;
++ esac |
++ sort
++) |
++ sed '
++ /^ac_cv_env_/b end
++ t clear
++ :clear
++ s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
++ t end
++ s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
++ :end' >>confcache
++if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
++ if test -w "$cache_file"; then
++ if test "x$cache_file" != "x/dev/null"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
++$as_echo "$as_me: updating cache $cache_file" >&6;}
++ if test ! -f "$cache_file" || test -h "$cache_file"; then
++ cat confcache >"$cache_file"
++ else
++ case $cache_file in #(
++ */* | ?:*)
++ mv -f confcache "$cache_file"$$ &&
++ mv -f "$cache_file"$$ "$cache_file" ;; #(
++ *)
++ mv -f confcache "$cache_file" ;;
++ esac
++ fi
++ fi
++ else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
++$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
++ fi
++fi
++rm -f confcache
++
++test "x$prefix" = xNONE && prefix=$ac_default_prefix
++# Let make expand exec_prefix.
++test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
++
++DEFS=-DHAVE_CONFIG_H
++
++ac_libobjs=
++ac_ltlibobjs=
++U=
++for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
++ # 1. Remove the extension, and $U if already installed.
++ ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
++ ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
++ # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
++ # will be set to the directory where LIBOBJS objects are built.
++ as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
++ as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
++done
++LIBOBJS=$ac_libobjs
++
++LTLIBOBJS=$ac_ltlibobjs
++
++
++if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
++ as_fn_error $? "conditional \"AMDEP\" was never defined.
++Usually this means the macro was only invoked conditionally." "$LINENO" 5
++fi
++if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
++ as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
++Usually this means the macro was only invoked conditionally." "$LINENO" 5
++fi
++
++: "${CONFIG_STATUS=./config.status}"
++ac_write_fail=0
++ac_clean_files_save=$ac_clean_files
++ac_clean_files="$ac_clean_files $CONFIG_STATUS"
++{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
++$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
++as_write_fail=0
++cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
++#! $SHELL
++# Generated by $as_me.
++# Run this file to recreate the current configuration.
++# Compiler output produced by configure, useful for debugging
++# configure, is in config.log if it exists.
++
++debug=false
++ac_cs_recheck=false
++ac_cs_silent=false
++
++SHELL=\${CONFIG_SHELL-$SHELL}
++export SHELL
++_ASEOF
++cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
++## -------------------- ##
++## M4sh Initialization. ##
++## -------------------- ##
++
++# Be more Bourne compatible
++DUALCASE=1; export DUALCASE # for MKS sh
++if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
++ emulate sh
++ NULLCMD=:
++ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
++ # is contrary to our usage. Disable this feature.
++ alias -g '${1+"$@"}'='"$@"'
++ setopt NO_GLOB_SUBST
++else
++ case `(set -o) 2>/dev/null` in #(
++ *posix*) :
++ set -o posix ;; #(
++ *) :
++ ;;
++esac
++fi
++
++
++as_nl='
++'
++export as_nl
++# Printing a long string crashes Solaris 7 /usr/bin/printf.
++as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
++as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
++as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
++# Prefer a ksh shell builtin over an external printf program on Solaris,
++# but without wasting forks for bash or zsh.
++if test -z "$BASH_VERSION$ZSH_VERSION" \
++ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
++ as_echo='print -r --'
++ as_echo_n='print -rn --'
++elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
++ as_echo='printf %s\n'
++ as_echo_n='printf %s'
++else
++ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
++ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
++ as_echo_n='/usr/ucb/echo -n'
++ else
++ as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
++ as_echo_n_body='eval
++ arg=$1;
++ case $arg in #(
++ *"$as_nl"*)
++ expr "X$arg" : "X\\(.*\\)$as_nl";
++ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
++ esac;
++ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
++ '
++ export as_echo_n_body
++ as_echo_n='sh -c $as_echo_n_body as_echo'
++ fi
++ export as_echo_body
++ as_echo='sh -c $as_echo_body as_echo'
++fi
++
++# The user is always right.
++if test "${PATH_SEPARATOR+set}" != set; then
++ PATH_SEPARATOR=:
++ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
++ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
++ PATH_SEPARATOR=';'
++ }
++fi
++
++
++# IFS
++# We need space, tab and new line, in precisely that order. Quoting is
++# there to prevent editors from complaining about space-tab.
++# (If _AS_PATH_WALK were called with IFS unset, it would disable word
++# splitting by setting IFS to empty value.)
++IFS=" "" $as_nl"
++
++# Find who we are. Look in the path if we contain no directory separator.
++as_myself=
++case $0 in #((
++ *[\\/]* ) as_myself=$0 ;;
++ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
++ done
++IFS=$as_save_IFS
++
++ ;;
++esac
++# We did not find ourselves, most probably we were run as `sh COMMAND'
++# in which case we are not to be found in the path.
++if test "x$as_myself" = x; then
++ as_myself=$0
++fi
++if test ! -f "$as_myself"; then
++ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
++ exit 1
++fi
++
++# Unset variables that we do not need and which cause bugs (e.g. in
++# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
++# suppresses any "Segmentation fault" message there. '((' could
++# trigger a bug in pdksh 5.2.14.
++for as_var in BASH_ENV ENV MAIL MAILPATH
++do eval test x\${$as_var+set} = xset \
++ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
++done
++PS1='$ '
++PS2='> '
++PS4='+ '
++
++# NLS nuisances.
++LC_ALL=C
++export LC_ALL
++LANGUAGE=C
++export LANGUAGE
++
++# CDPATH.
++(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
++
++
++# as_fn_error STATUS ERROR [LINENO LOG_FD]
++# ----------------------------------------
++# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
++# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
++# script with STATUS, using 1 if that was 0.
++as_fn_error ()
++{
++ as_status=$1; test $as_status -eq 0 && as_status=1
++ if test "$4"; then
++ as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
++ $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
++ fi
++ $as_echo "$as_me: error: $2" >&2
++ as_fn_exit $as_status
++} # as_fn_error
++
++
++# as_fn_set_status STATUS
++# -----------------------
++# Set $? to STATUS, without forking.
++as_fn_set_status ()
++{
++ return $1
++} # as_fn_set_status
++
++# as_fn_exit STATUS
++# -----------------
++# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
++as_fn_exit ()
++{
++ set +e
++ as_fn_set_status $1
++ exit $1
++} # as_fn_exit
++
++# as_fn_unset VAR
++# ---------------
++# Portably unset VAR.
++as_fn_unset ()
++{
++ { eval $1=; unset $1;}
++}
++as_unset=as_fn_unset
++# as_fn_append VAR VALUE
++# ----------------------
++# Append the text in VALUE to the end of the definition contained in VAR. Take
++# advantage of any shell optimizations that allow amortized linear growth over
++# repeated appends, instead of the typical quadratic growth present in naive
++# implementations.
++if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
++ eval 'as_fn_append ()
++ {
++ eval $1+=\$2
++ }'
++else
++ as_fn_append ()
++ {
++ eval $1=\$$1\$2
++ }
++fi # as_fn_append
++
++# as_fn_arith ARG...
++# ------------------
++# Perform arithmetic evaluation on the ARGs, and store the result in the
++# global $as_val. Take advantage of shells that can avoid forks. The arguments
++# must be portable across $(()) and expr.
++if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
++ eval 'as_fn_arith ()
++ {
++ as_val=$(( $* ))
++ }'
++else
++ as_fn_arith ()
++ {
++ as_val=`expr "$@" || test $? -eq 1`
++ }
++fi # as_fn_arith
++
++
++if expr a : '\(a\)' >/dev/null 2>&1 &&
++ test "X`expr 00001 : '.*\(...\)'`" = X001; then
++ as_expr=expr
++else
++ as_expr=false
++fi
++
++if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
++ as_basename=basename
++else
++ as_basename=false
++fi
++
++if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
++ as_dirname=dirname
++else
++ as_dirname=false
++fi
++
++as_me=`$as_basename -- "$0" ||
++$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
++ X"$0" : 'X\(//\)$' \| \
++ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
++$as_echo X/"$0" |
++ sed '/^.*\/\([^/][^/]*\)\/*$/{
++ s//\1/
++ q
++ }
++ /^X\/\(\/\/\)$/{
++ s//\1/
++ q
++ }
++ /^X\/\(\/\).*/{
++ s//\1/
++ q
++ }
++ s/.*/./; q'`
++
++# Avoid depending upon Character Ranges.
++as_cr_letters='abcdefghijklmnopqrstuvwxyz'
++as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
++as_cr_Letters=$as_cr_letters$as_cr_LETTERS
++as_cr_digits='0123456789'
++as_cr_alnum=$as_cr_Letters$as_cr_digits
++
++ECHO_C= ECHO_N= ECHO_T=
++case `echo -n x` in #(((((
++-n*)
++ case `echo 'xy\c'` in
++ *c*) ECHO_T=' ';; # ECHO_T is single tab character.
++ xy) ECHO_C='\c';;
++ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
++ ECHO_T=' ';;
++ esac;;
++*)
++ ECHO_N='-n';;
++esac
++
++rm -f conf$$ conf$$.exe conf$$.file
++if test -d conf$$.dir; then
++ rm -f conf$$.dir/conf$$.file
++else
++ rm -f conf$$.dir
++ mkdir conf$$.dir 2>/dev/null
++fi
++if (echo >conf$$.file) 2>/dev/null; then
++ if ln -s conf$$.file conf$$ 2>/dev/null; then
++ as_ln_s='ln -s'
++ # ... but there are two gotchas:
++ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
++ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
++ # In both cases, we have to default to `cp -p'.
++ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
++ as_ln_s='cp -p'
++ elif ln conf$$.file conf$$ 2>/dev/null; then
++ as_ln_s=ln
++ else
++ as_ln_s='cp -p'
++ fi
++else
++ as_ln_s='cp -p'
++fi
++rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
++rmdir conf$$.dir 2>/dev/null
++
++
++# as_fn_mkdir_p
++# -------------
++# Create "$as_dir" as a directory, including parents if necessary.
++as_fn_mkdir_p ()
++{
++
++ case $as_dir in #(
++ -*) as_dir=./$as_dir;;
++ esac
++ test -d "$as_dir" || eval $as_mkdir_p || {
++ as_dirs=
++ while :; do
++ case $as_dir in #(
++ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
++ *) as_qdir=$as_dir;;
++ esac
++ as_dirs="'$as_qdir' $as_dirs"
++ as_dir=`$as_dirname -- "$as_dir" ||
++$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
++ X"$as_dir" : 'X\(//\)[^/]' \| \
++ X"$as_dir" : 'X\(//\)$' \| \
++ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
++$as_echo X"$as_dir" |
++ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
++ s//\1/
++ q
++ }
++ /^X\(\/\/\)[^/].*/{
++ s//\1/
++ q
++ }
++ /^X\(\/\/\)$/{
++ s//\1/
++ q
++ }
++ /^X\(\/\).*/{
++ s//\1/
++ q
++ }
++ s/.*/./; q'`
++ test -d "$as_dir" && break
++ done
++ test -z "$as_dirs" || eval "mkdir $as_dirs"
++ } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
++
++
++} # as_fn_mkdir_p
++if mkdir -p . 2>/dev/null; then
++ as_mkdir_p='mkdir -p "$as_dir"'
++else
++ test -d ./-p && rmdir ./-p
++ as_mkdir_p=false
++fi
++
++if test -x / >/dev/null 2>&1; then
++ as_test_x='test -x'
++else
++ if ls -dL / >/dev/null 2>&1; then
++ as_ls_L_option=L
++ else
++ as_ls_L_option=
++ fi
++ as_test_x='
++ eval sh -c '\''
++ if test -d "$1"; then
++ test -d "$1/.";
++ else
++ case $1 in #(
++ -*)set "./$1";;
++ esac;
++ case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
++ ???[sx]*):;;*)false;;esac;fi
++ '\'' sh
++ '
++fi
++as_executable_p=$as_test_x
++
++# Sed expression to map a string onto a valid CPP name.
++as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
++
++# Sed expression to map a string onto a valid variable name.
++as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
++
++
++exec 6>&1
++## ----------------------------------- ##
++## Main body of $CONFIG_STATUS script. ##
++## ----------------------------------- ##
++_ASEOF
++test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
++
++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
++# Save the log message, to keep $0 and so on meaningful, and to
++# report actual input values of CONFIG_FILES etc. instead of their
++# values after options handling.
++ac_log="
++This file was extended by libepiphany $as_me 0.0.1, which was
++generated by GNU Autoconf 2.68. Invocation command line was
++
++ CONFIG_FILES = $CONFIG_FILES
++ CONFIG_HEADERS = $CONFIG_HEADERS
++ CONFIG_LINKS = $CONFIG_LINKS
++ CONFIG_COMMANDS = $CONFIG_COMMANDS
++ $ $0 $@
++
++on `(hostname || uname -n) 2>/dev/null | sed 1q`
++"
++
++_ACEOF
++
++case $ac_config_files in *"
++"*) set x $ac_config_files; shift; ac_config_files=$*;;
++esac
++
++case $ac_config_headers in *"
++"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
++esac
++
++
++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
++# Files that config.status was made for.
++config_files="$ac_config_files"
++config_headers="$ac_config_headers"
++config_commands="$ac_config_commands"
++
++_ACEOF
++
++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
++ac_cs_usage="\
++\`$as_me' instantiates files and other configuration actions
++from templates according to the current configuration. Unless the files
++and actions are specified as TAGs, all are instantiated by default.
++
++Usage: $0 [OPTION]... [TAG]...
++
++ -h, --help print this help, then exit
++ -V, --version print version number and configuration settings, then exit
++ --config print configuration, then exit
++ -q, --quiet, --silent
++ do not print progress messages
++ -d, --debug don't remove temporary files
++ --recheck update $as_me by reconfiguring in the same conditions
++ --file=FILE[:TEMPLATE]
++ instantiate the configuration file FILE
++ --header=FILE[:TEMPLATE]
++ instantiate the configuration header FILE
++
++Configuration files:
++$config_files
++
++Configuration headers:
++$config_headers
++
++Configuration commands:
++$config_commands
++
++Report bugs to the package provider."
++
++_ACEOF
++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
++ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
++ac_cs_version="\\
++libepiphany config.status 0.0.1
++configured by $0, generated by GNU Autoconf 2.68,
++ with options \\"\$ac_cs_config\\"
++
++Copyright (C) 2010 Free Software Foundation, Inc.
++This config.status script is free software; the Free Software Foundation
++gives unlimited permission to copy, distribute and modify it."
++
++ac_pwd='$ac_pwd'
++srcdir='$srcdir'
++INSTALL='$INSTALL'
++test -n "\$AWK" || AWK=awk
++_ACEOF
++
++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
++# The default lists apply if the user does not specify any file.
++ac_need_defaults=:
++while test $# != 0
++do
++ case $1 in
++ --*=?*)
++ ac_option=`expr "X$1" : 'X\([^=]*\)='`
++ ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
++ ac_shift=:
++ ;;
++ --*=)
++ ac_option=`expr "X$1" : 'X\([^=]*\)='`
++ ac_optarg=
++ ac_shift=:
++ ;;
++ *)
++ ac_option=$1
++ ac_optarg=$2
++ ac_shift=shift
++ ;;
++ esac
++
++ case $ac_option in
++ # Handling of the options.
++ -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
++ ac_cs_recheck=: ;;
++ --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
++ $as_echo "$ac_cs_version"; exit ;;
++ --config | --confi | --conf | --con | --co | --c )
++ $as_echo "$ac_cs_config"; exit ;;
++ --debug | --debu | --deb | --de | --d | -d )
++ debug=: ;;
++ --file | --fil | --fi | --f )
++ $ac_shift
++ case $ac_optarg in
++ *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
++ '') as_fn_error $? "missing file argument" ;;
++ esac
++ as_fn_append CONFIG_FILES " '$ac_optarg'"
++ ac_need_defaults=false;;
++ --header | --heade | --head | --hea )
++ $ac_shift
++ case $ac_optarg in
++ *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
++ esac
++ as_fn_append CONFIG_HEADERS " '$ac_optarg'"
++ ac_need_defaults=false;;
++ --he | --h)
++ # Conflict between --help and --header
++ as_fn_error $? "ambiguous option: \`$1'
++Try \`$0 --help' for more information.";;
++ --help | --hel | -h )
++ $as_echo "$ac_cs_usage"; exit ;;
++ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
++ | -silent | --silent | --silen | --sile | --sil | --si | --s)
++ ac_cs_silent=: ;;
++
++ # This is an error.
++ -*) as_fn_error $? "unrecognized option: \`$1'
++Try \`$0 --help' for more information." ;;
++
++ *) as_fn_append ac_config_targets " $1"
++ ac_need_defaults=false ;;
++
++ esac
++ shift
++done
++
++ac_configure_extra_args=
++
++if $ac_cs_silent; then
++ exec 6>/dev/null
++ ac_configure_extra_args="$ac_configure_extra_args --silent"
++fi
++
++_ACEOF
++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
++if \$ac_cs_recheck; then
++ set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
++ shift
++ \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
++ CONFIG_SHELL='$SHELL'
++ export CONFIG_SHELL
++ exec "\$@"
++fi
++
++_ACEOF
++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
++exec 5>>config.log
++{
++ echo
++ sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
++## Running $as_me. ##
++_ASBOX
++ $as_echo "$ac_log"
++} >&5
++
++_ACEOF
++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
++#
++# INIT-COMMANDS
++#
++AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
++srcdir=${srcdir}
++target=${target}
++with_multisubdir=${with_multisubdir}
++ac_configure_args="${ac_configure_args} --enable-multilib"
++CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
++libgloss_topdir=${libgloss_topdir}
++
++
++_ACEOF
++
++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
++
++# Handling of arguments.
++for ac_config_target in $ac_config_targets
++do
++ case $ac_config_target in
++ "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
++ "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
++ "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
++
++ *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
++ esac
++done
++
++
++# If the user did not use the arguments to specify the items to instantiate,
++# then the envvar interface is used. Set only those that are not.
++# We use the long form for the default assignment because of an extremely
++# bizarre bug on SunOS 4.1.3.
++if $ac_need_defaults; then
++ test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
++ test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
++ test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
++fi
++
++# Have a temporary directory for convenience. Make it in the build tree
++# simply because there is no reason against having it here, and in addition,
++# creating and moving files from /tmp can sometimes cause problems.
++# Hook for its removal unless debugging.
++# Note that there is a small window in which the directory will not be cleaned:
++# after its creation but before its name has been assigned to `$tmp'.
++$debug ||
++{
++ tmp= ac_tmp=
++ trap 'exit_status=$?
++ : "${ac_tmp:=$tmp}"
++ { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
++' 0
++ trap 'as_fn_exit 1' 1 2 13 15
++}
++# Create a (secure) tmp directory for tmp files.
++
++{
++ tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
++ test -d "$tmp"
++} ||
++{
++ tmp=./conf$$-$RANDOM
++ (umask 077 && mkdir "$tmp")
++} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
++ac_tmp=$tmp
++
++# Set up the scripts for CONFIG_FILES section.
++# No need to generate them if there are no CONFIG_FILES.
++# This happens for instance with `./config.status config.h'.
++if test -n "$CONFIG_FILES"; then
++
++if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
++ ac_cs_awk_getline=:
++ ac_cs_awk_pipe_init=
++ ac_cs_awk_read_file='
++ while ((getline aline < (F[key])) > 0)
++ print(aline)
++ close(F[key])'
++ ac_cs_awk_pipe_fini=
++else
++ ac_cs_awk_getline=false
++ ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
++ ac_cs_awk_read_file='
++ print "|#_!!_#|"
++ print "cat " F[key] " &&"
++ '$ac_cs_awk_pipe_init
++ # The final `:' finishes the AND list.
++ ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
++fi
++ac_cr=`echo X | tr X '\015'`
++# On cygwin, bash can eat \r inside `` if the user requested igncr.
++# But we know of no other shell where ac_cr would be empty at this
++# point, so we can use a bashism as a fallback.
++if test "x$ac_cr" = x; then
++ eval ac_cr=\$\'\\r\'
++fi
++ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
++if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
++ ac_cs_awk_cr='\\r'
++else
++ ac_cs_awk_cr=$ac_cr
++fi
++
++echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
++_ACEOF
++
++# Create commands to substitute file output variables.
++{
++ echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
++ echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
++ echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
++ echo "_ACAWK" &&
++ echo "_ACEOF"
++} >conf$$files.sh &&
++. ./conf$$files.sh ||
++ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
++rm -f conf$$files.sh
++
++{
++ echo "cat >conf$$subs.awk <<_ACEOF" &&
++ echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
++ echo "_ACEOF"
++} >conf$$subs.sh ||
++ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
++ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
++ac_delim='%!_!# '
++for ac_last_try in false false false false false :; do
++ . ./conf$$subs.sh ||
++ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
++
++ ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
++ if test $ac_delim_n = $ac_delim_num; then
++ break
++ elif $ac_last_try; then
++ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
++ else
++ ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
++ fi
++done
++rm -f conf$$subs.sh
++
++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
++cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
++_ACEOF
++sed -n '
++h
++s/^/S["/; s/!.*/"]=/
++p
++g
++s/^[^!]*!//
++:repl
++t repl
++s/'"$ac_delim"'$//
++t delim
++:nl
++h
++s/\(.\{148\}\)..*/\1/
++t more1
++s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
++p
++n
++b repl
++:more1
++s/["\\]/\\&/g; s/^/"/; s/$/"\\/
++p
++g
++s/.\{148\}//
++t nl
++:delim
++h
++s/\(.\{148\}\)..*/\1/
++t more2
++s/["\\]/\\&/g; s/^/"/; s/$/"/
++p
++b
++:more2
++s/["\\]/\\&/g; s/^/"/; s/$/"\\/
++p
++g
++s/.\{148\}//
++t delim
++' <conf$$subs.awk | sed '
++/^[^""]/{
++ N
++ s/\n//
++}
++' >>$CONFIG_STATUS || ac_write_fail=1
++rm -f conf$$subs.awk
++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
++_ACAWK
++cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
++ for (key in S) S_is_set[key] = 1
++ FS = ""
++ \$ac_cs_awk_pipe_init
++}
++{
++ line = $ 0
++ nfields = split(line, field, "@")
++ substed = 0
++ len = length(field[1])
++ for (i = 2; i < nfields; i++) {
++ key = field[i]
++ keylen = length(key)
++ if (S_is_set[key]) {
++ value = S[key]
++ line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
++ len += length(value) + length(field[++i])
++ substed = 1
++ } else
++ len += 1 + keylen
++ }
++ if (nfields == 3 && !substed) {
++ key = field[2]
++ if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
++ \$ac_cs_awk_read_file
++ next
++ }
++ }
++ print line
++}
++\$ac_cs_awk_pipe_fini
++_ACAWK
++_ACEOF
++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
++if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
++ sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
++else
++ cat
++fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
++ || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
++_ACEOF
++
++# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
++# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
++# trailing colons and then remove the whole line if VPATH becomes empty
++# (actually we leave an empty line to preserve line numbers).
++if test "x$srcdir" = x.; then
++ ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
++h
++s///
++s/^/:/
++s/[ ]*$/:/
++s/:\$(srcdir):/:/g
++s/:\${srcdir}:/:/g
++s/:@srcdir@:/:/g
++s/^:*//
++s/:*$//
++x
++s/\(=[ ]*\).*/\1/
++G
++s/\n//
++s/^[^=]*=[ ]*$//
++}'
++fi
++
++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
++fi # test -n "$CONFIG_FILES"
++
++# Set up the scripts for CONFIG_HEADERS section.
++# No need to generate them if there are no CONFIG_HEADERS.
++# This happens for instance with `./config.status Makefile'.
++if test -n "$CONFIG_HEADERS"; then
++cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
++BEGIN {
++_ACEOF
++
++# Transform confdefs.h into an awk script `defines.awk', embedded as
++# here-document in config.status, that substitutes the proper values into
++# config.h.in to produce config.h.
++
++# Create a delimiter string that does not exist in confdefs.h, to ease
++# handling of long lines.
++ac_delim='%!_!# '
++for ac_last_try in false false :; do
++ ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
++ if test -z "$ac_tt"; then
++ break
++ elif $ac_last_try; then
++ as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
++ else
++ ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
++ fi
++done
++
++# For the awk script, D is an array of macro values keyed by name,
++# likewise P contains macro parameters if any. Preserve backslash
++# newline sequences.
++
++ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
++sed -n '
++s/.\{148\}/&'"$ac_delim"'/g
++t rset
++:rset
++s/^[ ]*#[ ]*define[ ][ ]*/ /
++t def
++d
++:def
++s/\\$//
++t bsnl
++s/["\\]/\\&/g
++s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
++D["\1"]=" \3"/p
++s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
++d
++:bsnl
++s/["\\]/\\&/g
++s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
++D["\1"]=" \3\\\\\\n"\\/p
++t cont
++s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
++t cont
++d
++:cont
++n
++s/.\{148\}/&'"$ac_delim"'/g
++t clear
++:clear
++s/\\$//
++t bsnlc
++s/["\\]/\\&/g; s/^/"/; s/$/"/p
++d
++:bsnlc
++s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
++b cont
++' <confdefs.h | sed '
++s/'"$ac_delim"'/"\\\
++"/g' >>$CONFIG_STATUS || ac_write_fail=1
++
++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
++ for (key in D) D_is_set[key] = 1
++ FS = ""
++}
++/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
++ line = \$ 0
++ split(line, arg, " ")
++ if (arg[1] == "#") {
++ defundef = arg[2]
++ mac1 = arg[3]
++ } else {
++ defundef = substr(arg[1], 2)
++ mac1 = arg[2]
++ }
++ split(mac1, mac2, "(") #)
++ macro = mac2[1]
++ prefix = substr(line, 1, index(line, defundef) - 1)
++ if (D_is_set[macro]) {
++ # Preserve the white space surrounding the "#".
++ print prefix "define", macro P[macro] D[macro]
++ next
++ } else {
++ # Replace #undef with comments. This is necessary, for example,
++ # in the case of _POSIX_SOURCE, which is predefined and required
++ # on some systems where configure will not decide to define it.
++ if (defundef == "undef") {
++ print "/*", prefix defundef, macro, "*/"
++ next
++ }
++ }
++}
++{ print }
++_ACAWK
++_ACEOF
++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
++ as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
++fi # test -n "$CONFIG_HEADERS"
++
++
++eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
++shift
++for ac_tag
++do
++ case $ac_tag in
++ :[FHLC]) ac_mode=$ac_tag; continue;;
++ esac
++ case $ac_mode$ac_tag in
++ :[FHL]*:*);;
++ :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
++ :[FH]-) ac_tag=-:-;;
++ :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
++ esac
++ ac_save_IFS=$IFS
++ IFS=:
++ set x $ac_tag
++ IFS=$ac_save_IFS
++ shift
++ ac_file=$1
++ shift
++
++ case $ac_mode in
++ :L) ac_source=$1;;
++ :[FH])
++ ac_file_inputs=
++ for ac_f
++ do
++ case $ac_f in
++ -) ac_f="$ac_tmp/stdin";;
++ *) # Look for the file first in the build tree, then in the source tree
++ # (if the path is not absolute). The absolute path cannot be DOS-style,
++ # because $ac_f cannot contain `:'.
++ test -f "$ac_f" ||
++ case $ac_f in
++ [\\/$]*) false;;
++ *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
++ esac ||
++ as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
++ esac
++ case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
++ as_fn_append ac_file_inputs " '$ac_f'"
++ done
++
++ # Let's still pretend it is `configure' which instantiates (i.e., don't
++ # use $as_me), people would be surprised to read:
++ # /* config.h. Generated by config.status. */
++ configure_input='Generated from '`
++ $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
++ `' by configure.'
++ if test x"$ac_file" != x-; then
++ configure_input="$ac_file. $configure_input"
++ { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
++$as_echo "$as_me: creating $ac_file" >&6;}
++ fi
++ # Neutralize special characters interpreted by sed in replacement strings.
++ case $configure_input in #(
++ *\&* | *\|* | *\\* )
++ ac_sed_conf_input=`$as_echo "$configure_input" |
++ sed 's/[\\\\&|]/\\\\&/g'`;; #(
++ *) ac_sed_conf_input=$configure_input;;
++ esac
++
++ case $ac_tag in
++ *:-:* | *:-) cat >"$ac_tmp/stdin" \
++ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
++ esac
++ ;;
++ esac
++
++ ac_dir=`$as_dirname -- "$ac_file" ||
++$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
++ X"$ac_file" : 'X\(//\)[^/]' \| \
++ X"$ac_file" : 'X\(//\)$' \| \
++ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
++$as_echo X"$ac_file" |
++ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
++ s//\1/
++ q
++ }
++ /^X\(\/\/\)[^/].*/{
++ s//\1/
++ q
++ }
++ /^X\(\/\/\)$/{
++ s//\1/
++ q
++ }
++ /^X\(\/\).*/{
++ s//\1/
++ q
++ }
++ s/.*/./; q'`
++ as_dir="$ac_dir"; as_fn_mkdir_p
++ ac_builddir=.
++
++case "$ac_dir" in
++.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
++*)
++ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
++ # A ".." for each directory in $ac_dir_suffix.
++ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
++ case $ac_top_builddir_sub in
++ "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
++ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
++ esac ;;
++esac
++ac_abs_top_builddir=$ac_pwd
++ac_abs_builddir=$ac_pwd$ac_dir_suffix
++# for backward compatibility:
++ac_top_builddir=$ac_top_build_prefix
++
++case $srcdir in
++ .) # We are building in place.
++ ac_srcdir=.
++ ac_top_srcdir=$ac_top_builddir_sub
++ ac_abs_top_srcdir=$ac_pwd ;;
++ [\\/]* | ?:[\\/]* ) # Absolute name.
++ ac_srcdir=$srcdir$ac_dir_suffix;
++ ac_top_srcdir=$srcdir
++ ac_abs_top_srcdir=$srcdir ;;
++ *) # Relative name.
++ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
++ ac_top_srcdir=$ac_top_build_prefix$srcdir
++ ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
++esac
++ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
++
++
++ case $ac_mode in
++ :F)
++ #
++ # CONFIG_FILE
++ #
++
++ case $INSTALL in
++ [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
++ *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
++ esac
++_ACEOF
++
++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
++# If the template does not know about datarootdir, expand it.
++# FIXME: This hack should be removed a few years after 2.60.
++ac_datarootdir_hack=; ac_datarootdir_seen=
++ac_sed_dataroot='
++/datarootdir/ {
++ p
++ q
++}
++/@datadir@/p
++/@docdir@/p
++/@infodir@/p
++/@localedir@/p
++/@mandir@/p'
++case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
++*datarootdir*) ac_datarootdir_seen=yes;;
++*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
++$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
++_ACEOF
++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
++ ac_datarootdir_hack='
++ s&@datadir@&$datadir&g
++ s&@docdir@&$docdir&g
++ s&@infodir@&$infodir&g
++ s&@localedir@&$localedir&g
++ s&@mandir@&$mandir&g
++ s&\\\${datarootdir}&$datarootdir&g' ;;
++esac
++_ACEOF
++
++# Neutralize VPATH when `$srcdir' = `.'.
++# Shell code in configure.ac might set extrasub.
++# FIXME: do we really want to maintain this feature?
++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
++ac_sed_extra="$ac_vpsub
++$extrasub
++_ACEOF
++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
++:t
++/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
++s|@configure_input@|$ac_sed_conf_input|;t t
++s&@top_builddir@&$ac_top_builddir_sub&;t t
++s&@top_build_prefix@&$ac_top_build_prefix&;t t
++s&@srcdir@&$ac_srcdir&;t t
++s&@abs_srcdir@&$ac_abs_srcdir&;t t
++s&@top_srcdir@&$ac_top_srcdir&;t t
++s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
++s&@builddir@&$ac_builddir&;t t
++s&@abs_builddir@&$ac_abs_builddir&;t t
++s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
++s&@INSTALL@&$ac_INSTALL&;t t
++$ac_datarootdir_hack
++"
++eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
++if $ac_cs_awk_getline; then
++ $AWK -f "$ac_tmp/subs.awk"
++else
++ $AWK -f "$ac_tmp/subs.awk" | $SHELL
++fi \
++ >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
++
++test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
++ { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
++ { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
++ "$ac_tmp/out"`; test -z "$ac_out"; } &&
++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
++which seems to be undefined. Please make sure it is defined" >&5
++$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
++which seems to be undefined. Please make sure it is defined" >&2;}
++
++ rm -f "$ac_tmp/stdin"
++ case $ac_file in
++ -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
++ *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
++ esac \
++ || as_fn_error $? "could not create $ac_file" "$LINENO" 5
++ ;;
++ :H)
++ #
++ # CONFIG_HEADER
++ #
++ if test x"$ac_file" != x-; then
++ {
++ $as_echo "/* $configure_input */" \
++ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
++ } >"$ac_tmp/config.h" \
++ || as_fn_error $? "could not create $ac_file" "$LINENO" 5
++ if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
++$as_echo "$as_me: $ac_file is unchanged" >&6;}
++ else
++ rm -f "$ac_file"
++ mv "$ac_tmp/config.h" "$ac_file" \
++ || as_fn_error $? "could not create $ac_file" "$LINENO" 5
++ fi
++ else
++ $as_echo "/* $configure_input */" \
++ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
++ || as_fn_error $? "could not create -" "$LINENO" 5
++ fi
++ ;;
++
++ :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
++$as_echo "$as_me: executing $ac_file commands" >&6;}
++ ;;
++ esac
++
++
++ case $ac_file$ac_mode in
++ "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
++ # Autoconf 2.62 quotes --file arguments for eval, but not when files
++ # are listed without --file. Let's play safe and only enable the eval
++ # if we detect the quoting.
++ case $CONFIG_FILES in
++ *\'*) eval set x "$CONFIG_FILES" ;;
++ *) set x $CONFIG_FILES ;;
++ esac
++ shift
++ for mf
++ do
++ # Strip MF so we end up with the name of the file.
++ mf=`echo "$mf" | sed -e 's/:.*$//'`
++ # Check whether this is an Automake generated Makefile or not.
++ # We used to match only the files named `Makefile.in', but
++ # some people rename them; so instead we look at the file content.
++ # Grep'ing the first line is not enough: some people post-process
++ # each Makefile.in and add a new line on top of each file to say so.
++ # Grep'ing the whole file is not good either: AIX grep has a line
++ # limit of 2048, but all sed's we know have understand at least 4000.
++ if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
++ dirpart=`$as_dirname -- "$mf" ||
++$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
++ X"$mf" : 'X\(//\)[^/]' \| \
++ X"$mf" : 'X\(//\)$' \| \
++ X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
++$as_echo X"$mf" |
++ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
++ s//\1/
++ q
++ }
++ /^X\(\/\/\)[^/].*/{
++ s//\1/
++ q
++ }
++ /^X\(\/\/\)$/{
++ s//\1/
++ q
++ }
++ /^X\(\/\).*/{
++ s//\1/
++ q
++ }
++ s/.*/./; q'`
++ else
++ continue
++ fi
++ # Extract the definition of DEPDIR, am__include, and am__quote
++ # from the Makefile without running `make'.
++ DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
++ test -z "$DEPDIR" && continue
++ am__include=`sed -n 's/^am__include = //p' < "$mf"`
++ test -z "am__include" && continue
++ am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
++ # When using ansi2knr, U may be empty or an underscore; expand it
++ U=`sed -n 's/^U = //p' < "$mf"`
++ # Find all dependency output files, they are included files with
++ # $(DEPDIR) in their names. We invoke sed twice because it is the
++ # simplest approach to changing $(DEPDIR) to its actual value in the
++ # expansion.
++ for file in `sed -n "
++ s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
++ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
++ # Make sure the directory exists.
++ test -f "$dirpart/$file" && continue
++ fdir=`$as_dirname -- "$file" ||
++$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
++ X"$file" : 'X\(//\)[^/]' \| \
++ X"$file" : 'X\(//\)$' \| \
++ X"$file" : 'X\(/\)' \| . 2>/dev/null ||
++$as_echo X"$file" |
++ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
++ s//\1/
++ q
++ }
++ /^X\(\/\/\)[^/].*/{
++ s//\1/
++ q
++ }
++ /^X\(\/\/\)$/{
++ s//\1/
++ q
++ }
++ /^X\(\/\).*/{
++ s//\1/
++ q
++ }
++ s/.*/./; q'`
++ as_dir=$dirpart/$fdir; as_fn_mkdir_p
++ # echo "creating $dirpart/$file"
++ echo '# dummy' > "$dirpart/$file"
++ done
++ done
++}
++ ;;
++ "Makefile":F) ac_file=Makefile . ${libgloss_topdir}/config-ml.in ;;
++
++ esac
++done # for ac_tag
++
++
++as_fn_exit 0
++_ACEOF
++ac_clean_files=$ac_clean_files_save
++
++test $ac_write_fail = 0 ||
++ as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
++
++
++# configure is writing to config.log, and then calls config.status.
++# config.status does its own redirection, appending to config.log.
++# Unfortunately, on DOS this fails, as config.log is still kept open
++# by configure, so config.status won't be able to write to it; its
++# output is simply discarded. So we exec the FD to /dev/null,
++# effectively closing config.log, so it can be properly (re)opened and
++# appended to by config.status. When coming back to configure, we
++# need to make the FD available again.
++if test "$no_create" != yes; then
++ ac_cs_success=:
++ ac_config_status_args=
++ test "$silent" = yes &&
++ ac_config_status_args="$ac_config_status_args --quiet"
++ exec 5>/dev/null
++ $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
++ exec 5>>config.log
++ # Use ||, not &&, to avoid exiting from the if with $? = 1, which
++ # would make configure fail if this is the last instruction.
++ $ac_cs_success || as_fn_exit 1
++fi
++if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
++$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
++fi
++
+diff -Naur newlib-1.20.0.orig/libgloss/epiphany/configure.in newlib-1.20.0/libgloss/epiphany/configure.in
+--- newlib-1.20.0.orig/libgloss/epiphany/configure.in 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/libgloss/epiphany/configure.in 2012-10-15 10:31:19.534619702 +0200
+@@ -0,0 +1,127 @@
++# Makefile for libgloss/epiphany
++
++# Copyright (c) 2011, Adapteva, Inc.
++# All rights reserved.
++
++# Contributor Jeremy Bennett <jeremy.bennett@embecosm.com> for Adapteva Inc
++
++# Redistribution and use in source and binary forms, with or without
++# modification, are permitted provided that the following conditions are met:
++# * Redistributions of source code must retain the above copyright notice,
++# this list of conditions and the following disclaimer.
++# * Redistributions in binary form must reproduce the above copyright
++# notice, this list of conditions and the following disclaimer in the
++# documentation and/or other materials provided with the distribution.
++# * Neither the name of Adapteva nor the names of its contributors may be
++# used to endorse or promote products derived from this software without
++# specific prior written permission.
++
++# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
++# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
++# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
++# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
++# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
++# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
++# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
++# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
++# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
++# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
++# POSSIBILITY OF SUCH DAMAGE. */
++
++# Process this file with autoconf to produce a configure script
++
++AC_PREREQ(2.59)
++AC_INIT(libepiphany,0.0.1)
++AC_CONFIG_HEADER(config.h)
++
++# No shared libraries allowed
++if test "${enable_shared}" = "yes" ; then
++ echo "Shared libraries not supported for cross compiling, ignored"
++fi
++
++# Where are the auxillary tools (confg.sub etc)?
++if test "$srcdir" = "." ; then
++ if test "${with_target_subdir}" != "." ; then
++ libgloss_topdir="${srcdir}/${with_multisrctop}../../.."
++ else
++ libgloss_topdir="${srcdir}/${with_multisrctop}../.."
++ fi
++else
++ libgloss_topdir="${srcdir}/../.."
++fi
++AC_CONFIG_AUX_DIR($libgloss_topdir)
++
++AC_CANONICAL_SYSTEM
++AC_ARG_PROGRAM
++
++AC_PROG_INSTALL
++
++AC_DEFINE(HAVE_GNU_LD, 1, [Using GNU ld])
++
++# We always use ELF, define various useful associated things.
++AC_DEFINE(HAVE_ELF, 1, [Using ELF format])
++
++# Assembler directives (the assembler handles them, whether it does anything
++# useful with them is another matter...
++AC_DEFINE(HAVE_ASM_PREVIOUS_DIRECTIVE, 1, [.previous directive allowed])
++AC_DEFINE(HAVE_ASM_POPSECTION_DIRECTIVE, 1,
++ [.pushsection/.popsection directives allowed])
++
++# Section attributes in C don't currently work
++#AC_DEFINE(HAVE_SECTION_ATTRIBUTES, 1, [support for section attributes])
++
++# Sort out what the symbol prefix is (we could just fix it as '_', but let the
++# script work it out.
++AC_CACHE_CHECK([for symbol prefix], libc_symbol_prefix, [dnl
++cat > conftest.c <<\EOF
++foo () { }
++EOF
++dnl
++libc_symbol_prefix=none
++if AC_TRY_COMMAND([${CC-cc} -S conftest.c -o - | fgrep "\$foo" > /dev/null]);
++then
++ libc_symbol_prefix='$'
++else
++ if AC_TRY_COMMAND([${CC-cc} -S conftest.c -o - | fgrep "_foo" > /dev/null]);
++ then
++ libc_symbol_prefix=_
++ fi
++fi
++rm -f conftest* ])
++if test $libc_symbol_prefix != none; then
++ AC_DEFINE_UNQUOTED(__SYMBOL_PREFIX, "$libc_symbol_prefix", [symbol prefix])
++else
++ AC_DEFINE(__SYMBOL_PREFIX, "", [symbol prefix])
++fi
++
++# Standard stuff copied from libnosys. For this we'll need to an aclocal.m4
++LIB_AC_PROG_CC
++AS=${AS-as}
++AC_SUBST(AS)
++AR=${AR-ar}
++AC_SUBST(AR)
++LD=${LD-ld}
++AC_SUBST(LD)
++AC_PROG_RANLIB
++LIB_AM_PROG_AS
++
++host_makefile_frag=${srcdir}/../config/default.mh
++
++dnl We have to assign the same value to other variables because autoconf
++dnl doesn't provide a mechanism to substitute a replacement keyword with
++dnl arbitrary data or pathnames.
++dnl
++host_makefile_frag_path=$host_makefile_frag
++AC_SUBST(host_makefile_frag_path)
++AC_SUBST_FILE(host_makefile_frag)
++
++AC_CONFIG_FILES(Makefile,
++ac_file=Makefile . ${libgloss_topdir}/config-ml.in,
++srcdir=${srcdir}
++target=${target}
++with_multisubdir=${with_multisubdir}
++ac_configure_args="${ac_configure_args} --enable-multilib"
++CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
++libgloss_topdir=${libgloss_topdir}
++)
++AC_OUTPUT
+diff -Naur newlib-1.20.0.orig/libgloss/epiphany/crt0.S newlib-1.20.0/libgloss/epiphany/crt0.S
+--- newlib-1.20.0.orig/libgloss/epiphany/crt0.S 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/libgloss/epiphany/crt0.S 2012-10-15 10:31:19.534619702 +0200
+@@ -0,0 +1,166 @@
++# C Startup for EPIPHANY
++
++# Copyright (c) 2011, Adapteva, Inc.
++# All rights reserved.
++
++# Redistribution and use in source and binary forms, with or without
++# modification, are permitted provided that the following conditions are met:
++# * Redistributions of source code must retain the above copyright notice,
++# this list of conditions and the following disclaimer.
++# * Redistributions in binary form must reproduce the above copyright
++# notice, this list of conditions and the following disclaimer in the
++# documentation and/or other materials provided with the distribution.
++# * Neither the name of Adapteva nor the names of its contributors may be
++# used to endorse or promote products derived from this software without
++# specific prior written permission.
++
++# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
++# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
++# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
++# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
++# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
++# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
++# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
++# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
++# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
++# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
++# POSSIBILITY OF SUCH DAMAGE.
++
++
++.section IVT,"a",@progbits ;
++ .global _start;
++ .type _start, %function;
++_start:
++ .balign 4 ;
++ b .normal_start
++
++ .balign 4 ; 0x4
++ b .sw_exception_v
++
++ .balign 4 ; 0x8
++ b .page_miss_v;
++
++ .balign 4 ; 0xc
++ b .timer0_expired_v
++
++ .balign 4 ; 0x10
++ b .timer1_expired_v
++
++ .balign 4 ; 0x14
++ b .message_v
++
++ .balign 4 ; 0x18
++ b .dma0_v
++
++ .balign 4 ; 0x1c
++ b .dma1_v
++
++ .balign 4 ; 0x20
++ b .wand_v
++
++ .balign 4 ; 0x24
++ b .soft_v
++
++.size _start, .-_start
++
++.section RESERVED_CRT0,"a",@progbits ;
++
++.global .normal_start;
++.balign 4
++.type .normal_start, %function
++.normal_start:
++ mov r3,%low(_external_start)
++ movt r3,%high(_external_start)
++ jalr r3
++.size .normal_start, .-.normal_start
++
++
++
++
++.section .text;
++ .org 0x0000 ; Relative to start of text section
++ .global _external_start
++ .type _external_start, %function
++_external_start:
++
++ .align 4
++
++ ;; Initialise the stack pointer and frame pointer. Hopefully __stack
++ ;; is somewhere meaningful.
++ mov sp,%low(___stack)
++ movt sp,%high(___stack)
++ mov fp,sp
++
++ ;; Zero the data space
++ mov r0,%low(___bss_start)
++ movt r0,%high(___bss_start)
++ mov r1,%low(_end)
++ movt r1,%high(_end)
++ mov r2,#0
++ mov r3,#0
++.L0_init_:
++ strd r2,[r0],+#1
++ sub r5,r1,r0
++ bne .L0_init_
++
++ ;; Setup destructors to be called from exit if main never returns
++#if 0
++ mov r0,%low(fini)
++ movt r0,%high(fini)
++ mov r2,%low(_atexit)
++ movt r2,%high(_atexit)
++ jalr r2
++#else
++ ; calling atexit drags in malloc, so instead poke the function
++ ; address directly into the reent structure
++ mov r2,%low(__impure_ptr)
++ movt r2,%high(__impure_ptr)
++ ldr r2,[r2]
++ mov r1,%low(fini)
++ movt r1,%high(fini)
++#ifdef __STRUCT_ALIGN_64__
++#error
++ add r2,r2,need_to_find_out; &_GLOBAL_REENT->atexit0
++ str r2, [r2,-1];??or -2?; _GLOBAL_REENT->atexit
++ mov r0, 1
++ str r0, [r2,1] ; _GLOBAL_REENT->atexit0._ind
++ str r1, [r2,2] ; _GLOBAL_REENT->atexit0._fns[0]
++#else /* !__STRUCT_ALIGN_64__ */
++ add r0,r2,0x14c ; &_GLOBAL_REENT->atexit0
++ str r0, [r0,-1] ; _GLOBAL_REENT->atexit
++ mov r0, 1
++ strd r0, [r2,0x2a] ; _GLOBAL_REENT->atexit0._ind
++#endif /* !__STRUCT_ALIGN_64__ */
++#endif /* !0 */
++ ;; Call global and static constructors
++ mov r2,%low(init)
++ movt r2,%high(init)
++ jalr r2
++
++
++ ;;return from reset ISR
++ mov R0,%low(RDS)
++ movt R0,%high(RDS)
++ movts iret,r0
++ rti
++RDS:
++
++ ;; Initialise argc, argv and envp to empty and call main
++ mov r0,#0
++ mov r1,#0
++ mov r2,#0
++ mov r3,%low(_main)
++ movt r3,%high(_main)
++ jalr r3
++ ;;bl _main
++
++ ;; Call exit
++ mov r3,%low(_exit)
++ movt r3,%high(_exit)
++ jalr r3
++ ;;bl _exit
++
++ ;; Should never reach here
++ idle
++
++.size _external_start, .-_external_start
+diff -Naur newlib-1.20.0.orig/libgloss/epiphany/environ.c newlib-1.20.0/libgloss/epiphany/environ.c
+--- newlib-1.20.0.orig/libgloss/epiphany/environ.c 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/libgloss/epiphany/environ.c 2012-10-15 10:31:19.534619702 +0200
+@@ -0,0 +1,37 @@
++/* EPIPHANY implementation of the environ vector
++
++ Copyright (c) 2011, Adapteva, Inc.
++ All rights reserved.
++
++ Contributor Jeremy Bennett <jeremy.bennett@embecosm.com> for Adapteva Inc
++
++ Redistribution and use in source and binary forms, with or without
++ modification, are permitted provided that the following conditions are met:
++ * Redistributions of source code must retain the above copyright notice,
++ this list of conditions and the following disclaimer.
++ * Redistributions in binary form must reproduce the above copyright
++ notice, this list of conditions and the following disclaimer in the
++ documentation and/or other materials provided with the distribution.
++ * Neither the name of Adapteva nor the names of its contributors may be
++ used to endorse or promote products derived from this software without
++ specific prior written permission.
++
++ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
++ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
++ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
++ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
++ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
++ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
++ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
++ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
++ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
++ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
++ POSSIBILITY OF SUCH DAMAGE. */
++
++
++/*!The empty list is suitable as a minimal implementation of the
++ environment. */
++char *__env[1] = { 0 };
++
++/*!Environment as a pointer to a pointer rather than a pointer to an array. */
++char **environ = __env;
+diff -Naur newlib-1.20.0.orig/libgloss/epiphany/epiphany-config.h newlib-1.20.0/libgloss/epiphany/epiphany-config.h
+--- newlib-1.20.0.orig/libgloss/epiphany/epiphany-config.h 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/libgloss/epiphany/epiphany-config.h 2012-10-15 10:31:19.535619719 +0200
+@@ -0,0 +1,67 @@
++/* EPIPHANY builtin and configuration functions ()
++
++ Copyright (c) 2011, Adapteva, Inc.
++ All rights reserved.
++
++ Redistribution and use in source and binary forms, with or without
++ modification, are permitted provided that the following conditions are met:
++ * Redistributions of source code must retain the above copyright notice,
++ this list of conditions and the following disclaimer.
++ * Redistributions in binary form must reproduce the above copyright
++ notice, this list of conditions and the following disclaimer in the
++ documentation and/or other materials provided with the distribution.
++ * Neither the name of Adapteva nor the names of its contributors may be
++ used to endorse or promote products derived from this software without
++ specific prior written permission.
++
++ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
++ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
++ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
++ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
++ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
++ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
++ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
++ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
++ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
++ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
++ POSSIBILITY OF SUCH DAMAGE. */
++
++
++#ifndef _EPIPHANY_CONFIG_H
++#define _EPIPHANY_CONFIG_H
++
++
++extern unsigned _stack_start_;
++extern unsigned _heap_start_;
++extern unsigned _heap_end_;
++extern unsigned _CORE_NUM_;
++
++
++
++
++
++enum ECORE_SIGNALS {
++#ifndef SIG_DFL
++ SIG_DFL=0,
++#endif
++#ifndef SIG_DFL
++ SIG_IGN=1,
++#endif
++ SIG_RESET=3,
++ SIG_SW_EXCEPTION=4,
++ SIG_PAGE_MISS=5,
++ SIG_TIMER0=6,
++ SIG_TIMER1=7,
++ SIG_MESSAGE=8,
++ SIG_DMA0=9,
++ SIG_DMA1=10,
++ SIG_WAND=11,
++ SIG_USR1=12
++#ifndef SIG_ERR
++ , SIG_ERR=-1
++#endif
++};
++
++
++
++#endif
+diff -Naur newlib-1.20.0.orig/libgloss/epiphany/epiphany-ivthandlers.S newlib-1.20.0/libgloss/epiphany/epiphany-ivthandlers.S
+--- newlib-1.20.0.orig/libgloss/epiphany/epiphany-ivthandlers.S 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/libgloss/epiphany/epiphany-ivthandlers.S 2012-10-15 10:31:19.535619719 +0200
+@@ -0,0 +1,192 @@
++# EPIPHANY implementation of wrappers over user C ISR ()
++
++# Copyright (c) 2011, Adapteva, Inc.
++# All rights reserved.
++
++# Redistribution and use in source and binary forms, with or without
++# modification, are permitted provided that the following conditions are met:
++# * Redistributions of source code must retain the above copyright notice,
++# this list of conditions and the following disclaimer.
++# * Redistributions in binary form must reproduce the above copyright
++# notice, this list of conditions and the following disclaimer in the
++# documentation and/or other materials provided with the distribution.
++# * Neither the name of Adapteva nor the names of its contributors may be
++# used to endorse or promote products derived from this software without
++# specific prior written permission.
++
++# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
++# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
++# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
++# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
++# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
++# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
++# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
++# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
++# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
++# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
++# POSSIBILITY OF SUCH DAMAGE.
++
++.section RESERVED_CRT0,"a",@progbits ;
++.set sw_exception_v_n, 1
++.set page_miss_v_n, 2
++.set timer0_expired_v_n, 3;
++.set timer1_expired_v_n, 4;
++.set message_v_n, 5;
++.set dma0_v_n, 6;
++.set dma1_v_n, 7;
++.set wand_v_n, 8;
++.set soft_v_n, 9
++
++// preserve isr-mods to ACTIVE, GID, KERNEL, WAND, & EXCAUSE bits in the status reg
++.set status_mask, 0x0007000f;
++// for the wand isr, preserve isr-mods to ACTIVE, GID, KERNEL, & EXCAUSE, but
++// clear the WAND bit.
++.set wand_status_mask, 0x00070007;
++
++//IVT wrappers
++
++.global _DEFAULT_ISR_CALLBACK;
++.balign 4
++.type _DEFAULT_ISR_CALLBACK, %function
++_DEFAULT_ISR_CALLBACK:
++ rts
++.size _DEFAULT_ISR_CALLBACK, .-_DEFAULT_ISR_CALLBACK
++
++
++.global _DEFAULT_ISR_CALLBACK_FOR_sw_exception_v;
++.balign 4
++.type _DEFAULT_ISR_CALLBACK_FOR_sw_exception_v, %function
++_DEFAULT_ISR_CALLBACK_FOR_sw_exception_v:
++ trap 5;; FAIL
++.size _DEFAULT_ISR_CALLBACK_FOR_sw_exception_v, .-_DEFAULT_ISR_CALLBACK_FOR_sw_exception_v
++
++
++.set NUMBER_ENTRIES_IN_IVT, 8
++.global _ISR_VECTOR;
++.balign 4
++.type _ISR_VECTOR, %object
++_ISR_VECTOR:
++ .word _DEFAULT_ISR_CALLBACK_FOR_sw_exception_v; reset
++ .word _DEFAULT_ISR_CALLBACK_FOR_sw_exception_v; sw_exception
++ .word _DEFAULT_ISR_CALLBACK_FOR_sw_exception_v; page_miss
++ .rept NUMBER_ENTRIES_IN_IVT
++ .word _DEFAULT_ISR_CALLBACK
++ .endr
++.size _ISR_VECTOR, .-_ISR_VECTOR
++
++.macro IVT_ENTRY_CALL entry_v_
++ ;; assuming we have valid frame poiter
++
++ str fp, [sp],-0x10
++ str r0, [sp,+0xf]
++ str r1, [sp,+0xe]
++ mov r0, \entry_v_
++.if \entry_v_ == wand_v_n
++ mov r1, %low(wand_status_mask) ; this mask will exclude WAND, so it will
++ movt r1, %high(wand_status_mask) ; be forcibly cleared
++.else
++ mov r1, %low(status_mask)
++ movt r1, %high(status_mask)
++.endif
++ str r1, [sp,0x9] ; save the status register isr-preserve mask on the stack
++ b __dispatcher
++.endm
++
++.global __dispatcher;
++.balign 4
++.type __dispatcher, %function
++__dispatcher:
++ str lr, [sp,+0xd]
++ movfs.l r1,status
++ str r1, [sp,+0xc]
++ movfs.l r1,iret
++ str r1, [sp,+0xb]
++ str r2, [sp,+0xa]
++ str r3, [sp,+0x8]
++
++ mov fp,sp
++
++ //TODO allow nesting
++ //gie
++
++ lsl r2, r0, 2
++ mov r1, %low(_ISR_VECTOR)
++ add r2, r2, r1
++ ldr r1, [r2,0] ;; r1 = _ISR_VECTOR[entry_v]
++ mov r2, 3
++ add r0, r0, r2 ;; r0 = signum
++ jalr r1
++
++ mov sp,fp
++
++ //gid
++
++ // preserve isr-modifications to some of the bits in the status register,
++ // but restore the rest to pre-interrupt values.
++ // status = (status[post_isr] & status_mask) | (status[pre_isr] & ~status_mask)
++
++ ldr.l r2, [sp, 9] ; fetch the status register isr preserve mask from the stack
++ movfs r1, status
++ and r1, r1, r2; (status[post_isr] & status_mask)
++
++ ldr r0, [sp,+0xc]
++ mov r2, %low(~status_mask)
++ movt r2, %high(~status_mask)
++ and r0, r0, r2; (status[pre_isr] & ~status_mask)
++
++ orr r0, r0, r1 ; combine pre_isr & post_isr status bits
++ movts.l status, r0
++
++ ldr r0, [sp,+0xb]
++ movts.l iret,r0
++
++ ldr lr,[sp,+0xd];
++ ldr r1,[sp,+0xe]
++ ldr r0,[sp,+0xf]
++ ldr r2,[sp,+0xa]
++ ldr r3,[sp,+0x8]
++ ldr fp,[sp],+0x10
++ ldr fp,[sp,0]
++ rti
++.size __dispatcher, .-__dispatcher
++
++
++.global .sw_exception_v;
++.type .sw_exception_v, %function
++.sw_exception_v:
++ IVT_ENTRY_CALL sw_exception_v_n;
++.size .sw_exception_v, .-.sw_exception_v
++
++.global .page_miss_v;
++.type .page_miss_v, %function
++.page_miss_v:
++ IVT_ENTRY_CALL page_miss_v_n;
++.size .page_miss_v, .-.page_miss_v
++
++.global .timer0_expired_v;
++.timer0_expired_v:
++ IVT_ENTRY_CALL timer0_expired_v_n;
++
++.global .timer1_expired_v;
++.timer1_expired_v:
++ IVT_ENTRY_CALL timer1_expired_v_n;
++
++.global .message_v;
++.message_v:
++ IVT_ENTRY_CALL message_v_n;
++
++.global .dma0_v;
++.dma0_v:
++ IVT_ENTRY_CALL dma0_v_n;
++
++.global .dma1_v;
++.dma1_v:
++ IVT_ENTRY_CALL dma1_v_n;
++
++.global .wand_v;
++.wand_v:
++ IVT_ENTRY_CALL wand_v_n;
++
++.global .soft_v;
++.soft_v:
++ IVT_ENTRY_CALL soft_v_n;
+diff -Naur newlib-1.20.0.orig/libgloss/epiphany/epiphany-syscalls.c newlib-1.20.0/libgloss/epiphany/epiphany-syscalls.c
+--- newlib-1.20.0.orig/libgloss/epiphany/epiphany-syscalls.c 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/libgloss/epiphany/epiphany-syscalls.c 2012-10-15 10:31:19.535619719 +0200
+@@ -0,0 +1,271 @@
++/* Adapteva epiphany-core implementation of stdio support functions ()
++
++ Copyright (c) 2011, 2012 Adapteva, Inc.
++ All rights reserved.
++
++ Redistribution and use in source and binary forms, with or without
++ modification, are permitted provided that the following conditions are met:
++ * Redistributions of source code must retain the above copyright notice,
++ this list of conditions and the following disclaimer.
++ * Redistributions in binary form must reproduce the above copyright
++ notice, this list of conditions and the following disclaimer in the
++ documentation and/or other materials provided with the distribution.
++ * Neither the name of Adapteva nor the names of its contributors may be
++ used to endorse or promote products derived from this software without
++ specific prior written permission.
++
++ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
++ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
++ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
++ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
++ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
++ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
++ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
++ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
++ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
++ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
++ POSSIBILITY OF SUCH DAMAGE. */
++
++#include <errno.h>
++
++/* simple include interface to EPIPHANY trap instruction. */
++
++/*
++ * The simulator uses a trap instruction to escape to the simulator to do file i/o
++ */
++
++/* trapcode r0 r1 r2 */
++#define TRAP_write 0 /* channel addr len */
++#define TRAP_read 1 /* channel addr len */
++#define TRAP_open 2 /* filepath mode */
++#define TRAP_exit 3 /* status */
++#define TRAP_pass 4 /* - */
++#define TRAP_fail 5 /* - */
++#define TRAP_close 6 /* channel */
++#define TRAP_other 7 /* subcode r1 r2 */
++
++
++#include "epiphany-syscalls.h"
++
++
++/* prototypical inline asm */
++int __attribute__ ((section ("libgloss_epiphany"))) asm_write (int CHAN, void* ADDR, int LEN)
++{
++ register int chan asm("r0") = CHAN;
++ register void* addr asm("r1") = ADDR;
++ register int len asm("r2") = LEN;
++ register int result asm("r0");
++ register int error asm("r3");
++ asm ("trap 0" : "=r" (result), "=r" (error) :
++ "r" (chan), "r" (addr), "r" (len));
++ if (error)
++ errno = error;
++ return result;
++}
++
++int __attribute__ ((section ("libgloss_epiphany"))) asm_read(int CHAN, void *ADDR, int LEN)
++{
++ register int chan asm("r0") = CHAN;
++ register void* addr asm("r1") = ADDR;
++ register int len asm("r2") = LEN;
++ register int result asm("r0");
++ register int error asm("r3");
++ asm ("trap 1" : "=r" (result), "=r" (error) :
++ "r" (chan), "r" (addr), "r" (len));
++ if (error)
++ errno = error;
++ return result;
++}
++
++
++int __attribute__ ((section ("libgloss_epiphany")))
++asm_open(const char* FILE, int FLAGS, int MODE)
++{
++ register const char* file asm("r0") = FILE;
++ register int flags asm("r1") = FLAGS;
++ register int result asm("r0");
++ register int error asm("r3");
++ asm ("trap 2" : "=r" (result), "=r" (error) : "r" (file), "r" (flags));
++ if (error)
++ errno = error;
++ return result;
++}
++
++void __attribute__ ((section ("libgloss_epiphany"))) asm_exit(int STATUS)
++{
++ register int status asm("r0") = STATUS;
++ asm("trap 3" :: "r" (status));
++}
++
++int __attribute__ ((section ("libgloss_epiphany"))) asm_close(int CHAN)
++{
++ register int chan asm("r0") = CHAN;
++ register int result asm("r0");
++ register int error asm("r3");
++ asm ("trap 6" : "=r" (result), "=r" (error) : "r" (chan));
++ if (error)
++ errno = error;
++ return result;
++}
++
++int __attribute__ ((section ("libgloss_epiphany"))) asm_syscall(void *P1,void *P2, void *P3, int SUBFUN)
++{
++ register void* p1 asm("r0") = (void*)P1;
++ register void* p2 asm("r1") = (void*)P2;
++ register void* p3 asm("r2") = (void*)P3;
++ register int result asm("r0");
++ register int subfun asm("r3") = SUBFUN;
++ register int error asm("r3");
++ asm ("trap 7" : "=r" (result), "=r" (error) :
++ "r" (p1), "r" (p2), "r" (p3), "r" (subfun));
++ if (error)
++ errno = error;
++ return result;
++}
++
++/*
++ * Signal functions implementation
++ *
++ */
++
++#include "epiphany-config.h"
++
++
++#define HW_RESET 0
++#define SW_EXCEPTION_IVT_N 1
++#define PAGE_MISS_IVT_N 2
++#define TIMER0_IVT_N 3
++#define TIMER1_IVT_N 4
++#define MESSAGE_IVT_N 5
++#define DMA0_IVT_N 6
++#define DMA1_IVT_N 7
++#define WAND_IVT_N 8
++#define USR_SOFT_IVT_N 9
++
++
++typedef void (*sighandler_t)(int);
++extern sighandler_t ISR_VECTOR[];
++extern void DEFAULT_ISR_CALLBACK();
++
++sighandler_t __attribute__ ((section ("libgloss_epiphany"))) signal(int signum, sighandler_t handler) {
++ switch( signum )
++ {
++ case SIG_DFL /* see signal.h */:
++ //the default is ignore
++ break;
++ case SIG_IGN /* see signal.h */ :
++ DEFAULT_ISR_CALLBACK();
++ break;
++ case SIG_ERR :
++ asm("trap 5");
++ break;
++ case SIG_RESET:
++ ISR_VECTOR[HW_RESET] = handler;
++ break;
++ case SIG_SW_EXCEPTION:
++ ISR_VECTOR[SW_EXCEPTION_IVT_N] = handler;
++ break;
++ case SIG_PAGE_MISS:
++ ISR_VECTOR[PAGE_MISS_IVT_N] = handler;
++ break;
++ case SIG_TIMER0:
++ ISR_VECTOR[TIMER0_IVT_N] = handler;
++ break;
++ case SIG_TIMER1:
++ ISR_VECTOR[TIMER1_IVT_N] = handler;
++ break;
++ case SIG_MESSAGE:
++ ISR_VECTOR[MESSAGE_IVT_N] = handler;
++ break;
++ case SIG_DMA0:
++ ISR_VECTOR[DMA0_IVT_N] = handler;
++ break;
++ case SIG_DMA1:
++ ISR_VECTOR[DMA1_IVT_N] = handler;
++ break;
++ case SIG_WAND:
++ ISR_VECTOR[WAND_IVT_N] = handler;
++ break;
++
++ case SIG_USR1:
++ ISR_VECTOR[USR_SOFT_IVT_N] = handler;
++ break;
++ default:
++ //do nothing
++ return 0;
++ }
++
++ return 0;
++}
++
++//int e_raise(int signum) __attribute__ ((optimize("O0")));
++
++int __attribute__ ((section ("libgloss_epiphany"))) e_raise(int signum) {
++
++ //register int imask asm("r4") = 0 ;
++ volatile register int ilatst /*asm("r5") */= signum;
++
++ switch( signum )
++ {
++ case SIG_DFL /* see signal.h */:
++ //the default is ignore
++ return 0;
++ case SIG_IGN /* see signal.h */ :
++ //do nothing
++ return 0;
++ case SIG_ERR :
++
++ return 0;
++ case SIG_RESET:
++ //imask = 1 << HW_RESET;
++ ilatst = 1 << HW_RESET;
++ break;
++
++ case SIG_SW_EXCEPTION:
++ //imask = 1 << SW_EXCEPTION_IVT_N;
++ ilatst = 1 << SW_EXCEPTION_IVT_N;
++ break;
++ case SIG_PAGE_MISS:
++ //imask = 1 << PAGE_MISS_IVT_N;
++ ilatst = 1 << PAGE_MISS_IVT_N;
++ break;
++ case SIG_TIMER0:
++ //imask = 1 << TIMER0_IVT_N;
++ ilatst = 1 << TIMER0_IVT_N;
++ break;
++ case SIG_TIMER1:
++ //imask = 1 << TIMER1_IVT_N;
++ ilatst = 1 << TIMER1_IVT_N;
++ break;
++ case SIG_MESSAGE:
++ //imask = 1 << MESSAGE_IVT_N;
++ ilatst = 1 << MESSAGE_IVT_N;
++ break;
++ case SIG_DMA0:
++ //imask = 1 << DMA0_IVT_N;
++ ilatst = 1 << DMA0_IVT_N;
++ break;
++ case SIG_DMA1:
++ //imask = 1 << DMA1_IVT_N;
++ ilatst = 1 << DMA1_IVT_N;
++ break;
++ case SIG_WAND:
++ __asm__ __volatile__ ("wand");
++ //ilatst = 1 << WAND_IVT_N;
++ //break;
++ return;
++
++ case SIG_USR1:
++ ilatst = 1 << USR_SOFT_IVT_N;
++ break;
++
++ default:
++ //do nothing
++ return 0;
++ }
++ //asm("movts imask, r4;");
++ //asm("movts ilatst, r5;");
++ __asm__ __volatile__ ("movts ilatst, %0" : "=r" (ilatst) : "r" (ilatst));
++ return 0;
++
++}
+diff -Naur newlib-1.20.0.orig/libgloss/epiphany/epiphany-syscalls.h newlib-1.20.0/libgloss/epiphany/epiphany-syscalls.h
+--- newlib-1.20.0.orig/libgloss/epiphany/epiphany-syscalls.h 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/libgloss/epiphany/epiphany-syscalls.h 2012-10-15 10:31:19.535619719 +0200
+@@ -0,0 +1,39 @@
++/* Adapteva e-core implementation of stdio support functions ()
++
++ Copyright (c) 2011, Adapteva, Inc.
++ All rights reserved.
++
++ Redistribution and use in source and binary forms, with or without
++ modification, are permitted provided that the following conditions are met:
++ * Redistributions of source code must retain the above copyright notice,
++ this list of conditions and the following disclaimer.
++ * Redistributions in binary form must reproduce the above copyright
++ notice, this list of conditions and the following disclaimer in the
++ documentation and/or other materials provided with the distribution.
++ * Neither the name of Adapteva nor the names of its contributors may be
++ used to endorse or promote products derived from this software without
++ specific prior written permission.
++
++ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
++ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
++ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
++ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
++ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
++ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
++ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
++ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
++ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
++ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
++ POSSIBILITY OF SUCH DAMAGE. */
++
++#ifndef __EPIPHANY_SIM_H_
++#define __EPIPHANY_SIM_H_
++
++int asm_write (int CHAN, void* ADDR, int LEN);
++int asm_read(int CHAN, void *ADDR, int LEN);
++int asm_open(const char* FILE, int FLAGS, int MODE);
++void asm_exit(int STATUS);
++int asm_close(int CHAN);
++int asm_syscall(void *P1, void *P2, void *P3, int SUBFUN);
++
++#endif
+diff -Naur newlib-1.20.0.orig/libgloss/epiphany/execve.c newlib-1.20.0/libgloss/epiphany/execve.c
+--- newlib-1.20.0.orig/libgloss/epiphany/execve.c 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/libgloss/epiphany/execve.c 2012-10-15 10:31:19.536619737 +0200
+@@ -0,0 +1,56 @@
++/* EPIPHANY implementation of _execve ()
++
++ Copyright (c) 2011, 2012 Adapteva, Inc.
++ All rights reserved.
++
++ Contributor Jeremy Bennett <jeremy.bennett@embecosm.com> for Adapteva Inc
++
++ Redistribution and use in source and binary forms, with or without
++ modification, are permitted provided that the following conditions are met:
++ * Redistributions of source code must retain the above copyright notice,
++ this list of conditions and the following disclaimer.
++ * Redistributions in binary form must reproduce the above copyright
++ notice, this list of conditions and the following disclaimer in the
++ documentation and/or other materials provided with the distribution.
++ * Neither the name of Adapteva nor the names of its contributors may be
++ used to endorse or promote products derived from this software without
++ specific prior written permission.
++
++ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
++ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
++ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
++ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
++ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
++ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
++ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
++ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
++ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
++ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
++ POSSIBILITY OF SUCH DAMAGE. */
++
++
++#include <errno.h>
++#include <sys/types.h>
++
++
++/* ------------------------------------------------------------------------- */
++/*!Transfer control to a new process.
++
++ This is a minimal implementation, which always fails (there are no
++ processes)!
++
++ @todo Is this a permissible errno?
++
++ @param[in] filename The file to execute
++ @param[in] argv Null terminated list of args to the program
++ @param[in] envp Null terminated list of environment value pairs
++
++ @return 0 on success, -1 on failure with an error code in errno. */
++/* ------------------------------------------------------------------------- */
++int __attribute__ ((section ("libgloss_epiphany")))
++_execve (const char *filename, char * const argv[], char * const envp[])
++{
++ errno = ENOSYS; /* We don't do processes */
++ return -1;
++
++} /* _execve () */
+diff -Naur newlib-1.20.0.orig/libgloss/epiphany/_exit.c newlib-1.20.0/libgloss/epiphany/_exit.c
+--- newlib-1.20.0.orig/libgloss/epiphany/_exit.c 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/libgloss/epiphany/_exit.c 2012-10-15 10:31:19.531619656 +0200
+@@ -0,0 +1,46 @@
++/* EPIPHANY implementation of _exit ()
++
++ Copyright (c) 2011, Adapteva, Inc.
++ All rights reserved.
++
++ Contributor Jeremy Bennett <jeremy.bennett@embecosm.com> for Adapteva Inc
++
++ Redistribution and use in source and binary forms, with or without
++ modification, are permitted provided that the following conditions are met:
++ * Redistributions of source code must retain the above copyright notice,
++ this list of conditions and the following disclaimer.
++ * Redistributions in binary form must reproduce the above copyright
++ notice, this list of conditions and the following disclaimer in the
++ documentation and/or other materials provided with the distribution.
++ * Neither the name of Adapteva nor the names of its contributors may be
++ used to endorse or promote products derived from this software without
++ specific prior written permission.
++
++ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
++ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
++ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
++ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
++ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
++ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
++ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
++ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
++ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
++ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
++ POSSIBILITY OF SUCH DAMAGE. */
++/* ------------------------------------------------------------------------- */
++#include "epiphany-syscalls.h"
++/* ------------------------------------------------------------------------- */
++
++
++/* ------------------------------------------------------------------------- */
++/*!Exit from execution
++
++ This is the interface to the CGEN simulation.
++
++ @param[in] rc The return code */
++/* ------------------------------------------------------------------------- */
++void __attribute__ ((section ("libgloss_epiphany")))
++_exit (int rc)
++{
++ asm_exit (rc);
++} /* _exit () */
+diff -Naur newlib-1.20.0.orig/libgloss/epiphany/_exit.S newlib-1.20.0/libgloss/epiphany/_exit.S
+--- newlib-1.20.0.orig/libgloss/epiphany/_exit.S 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/libgloss/epiphany/_exit.S 2012-10-15 10:31:19.529619624 +0200
+@@ -0,0 +1,35 @@
++# EPIPHANY implementation of _exit ()
++
++# Copyright (c) 2011, Adapteva, Inc.
++# All rights reserved.
++
++# Contributor Joern Rennecke <joern.rennecke@embecosm.com> for Adapteva Inc
++
++# Redistribution and use in source and binary forms, with or without
++# modification, are permitted provided that the following conditions are met:
++# * Redistributions of source code must retain the above copyright notice,
++# this list of conditions and the following disclaimer.
++# * Redistributions in binary form must reproduce the above copyright
++# notice, this list of conditions and the following disclaimer in the
++# documentation and/or other materials provided with the distribution.
++# * Neither the name of Adapteva nor the names of its contributors may be
++# used to endorse or promote products derived from this software without
++# specific prior written permission.
++
++# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
++# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
++# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
++# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
++# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
++# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
++# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
++# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
++# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
++# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
++# POSSIBILITY OF SUCH DAMAGE. */
++
++ .section .text
++ .global __exit
++__exit:
++ trap #3 ; exit
++ b __exit
+diff -Naur newlib-1.20.0.orig/libgloss/epiphany/fork.c newlib-1.20.0/libgloss/epiphany/fork.c
+--- newlib-1.20.0.orig/libgloss/epiphany/fork.c 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/libgloss/epiphany/fork.c 2012-10-15 10:31:19.536619737 +0200
+@@ -0,0 +1,52 @@
++/* EPIPHANY implementation of _fork ()
++
++ Copyright (c) 2011, 2012 Adapteva, Inc.
++ All rights reserved.
++
++ Contributor Jeremy Bennett <jeremy.bennett@embecosm.com> for Adapteva Inc
++
++ Redistribution and use in source and binary forms, with or without
++ modification, are permitted provided that the following conditions are met:
++ * Redistributions of source code must retain the above copyright notice,
++ this list of conditions and the following disclaimer.
++ * Redistributions in binary form must reproduce the above copyright
++ notice, this list of conditions and the following disclaimer in the
++ documentation and/or other materials provided with the distribution.
++ * Neither the name of Adapteva nor the names of its contributors may be
++ used to endorse or promote products derived from this software without
++ specific prior written permission.
++
++ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
++ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
++ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
++ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
++ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
++ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
++ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
++ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
++ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
++ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
++ POSSIBILITY OF SUCH DAMAGE. */
++
++
++#include <errno.h>
++#include <sys/types.h>
++
++/* ------------------------------------------------------------------------- */
++/*!Create a new process
++
++ This is a minimal implementation, which always fails, since we have no
++ processes.
++
++ @todo Is this a permissible errno?
++
++ @return pid of the child (returning the parent), 0 (returning in the
++ parent) on success, -1 on failure with an error code in errno. */
++/* ------------------------------------------------------------------------- */
++pid_t __attribute__ ((section ("libgloss_epiphany")))
++_fork (void)
++{
++ errno = ENOSYS;
++ return -1;
++
++} /* _fork () */
+diff -Naur newlib-1.20.0.orig/libgloss/epiphany/fstat.c newlib-1.20.0/libgloss/epiphany/fstat.c
+--- newlib-1.20.0.orig/libgloss/epiphany/fstat.c 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/libgloss/epiphany/fstat.c 2012-10-15 10:31:19.536619737 +0200
+@@ -0,0 +1,49 @@
++/* EPIPHANY implementation of _fstat ()
++
++ Copyright (c) 2011, Adapteva, Inc.
++ All rights reserved.
++
++ Contributor Jeremy Bennett <jeremy.bennett@embecosm.com> for Adapteva Inc
++
++ Redistribution and use in source and binary forms, with or without
++ modification, are permitted provided that the following conditions are met:
++ * Redistributions of source code must retain the above copyright notice,
++ this list of conditions and the following disclaimer.
++ * Redistributions in binary form must reproduce the above copyright
++ notice, this list of conditions and the following disclaimer in the
++ documentation and/or other materials provided with the distribution.
++ * Neither the name of Adapteva nor the names of its contributors may be
++ used to endorse or promote products derived from this software without
++ specific prior written permission.
++
++ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
++ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
++ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
++ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
++ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
++ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
++ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
++ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
++ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
++ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
++ POSSIBILITY OF SUCH DAMAGE. */
++
++
++#include <sys/stat.h>
++#include <syscall.h>
++
++
++/* ------------------------------------------------------------------------- */
++/*!Status of an open file
++
++ @param[in] fildes File descriptor for which status is sought
++ @param[out] st Structure for the status information
++
++ @return 0 on success, -1 on failure with an error code in errno. */
++/* ------------------------------------------------------------------------- */
++int __attribute__ ((section ("libgloss_epiphany")))
++_fstat (int fildes, struct stat *st)
++{
++ return asm_syscall (fildes, st, NULL, SYS_fstat);
++
++} /* _fstat () */
+diff -Naur newlib-1.20.0.orig/libgloss/epiphany/getpid.c newlib-1.20.0/libgloss/epiphany/getpid.c
+--- newlib-1.20.0.orig/libgloss/epiphany/getpid.c 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/libgloss/epiphany/getpid.c 2012-10-15 10:31:19.536619737 +0200
+@@ -0,0 +1,47 @@
++/* EPIPHANY implementation of _getpid ()
++
++ Copyright (c) 2011, Adapteva, Inc.
++ All rights reserved.
++
++ Contributor Jeremy Bennett <jeremy.bennett@embecosm.com> for Adapteva Inc
++
++ Redistribution and use in source and binary forms, with or without
++ modification, are permitted provided that the following conditions are met:
++ * Redistributions of source code must retain the above copyright notice,
++ this list of conditions and the following disclaimer.
++ * Redistributions in binary form must reproduce the above copyright
++ notice, this list of conditions and the following disclaimer in the
++ documentation and/or other materials provided with the distribution.
++ * Neither the name of Adapteva nor the names of its contributors may be
++ used to endorse or promote products derived from this software without
++ specific prior written permission.
++
++ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
++ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
++ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
++ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
++ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
++ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
++ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
++ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
++ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
++ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
++ POSSIBILITY OF SUCH DAMAGE. */
++
++#include <sys/types.h>
++
++/* ------------------------------------------------------------------------- */
++/*!Get the process ID
++
++ A minimal implementation is best advised to return 1, the number of the
++ only process. This means the code will work for programs which generate
++ filenames based on the PID.
++
++ @return the PID. This function never fails. */
++/* ------------------------------------------------------------------------- */
++pid_t __attribute__ ((section ("libgloss_epiphany")))
++_getpid (void)
++{
++ return 1;
++
++} /* _getpid () */
+diff -Naur newlib-1.20.0.orig/libgloss/epiphany/gettimeofday.c newlib-1.20.0/libgloss/epiphany/gettimeofday.c
+--- newlib-1.20.0.orig/libgloss/epiphany/gettimeofday.c 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/libgloss/epiphany/gettimeofday.c 2012-10-15 10:31:19.537619754 +0200
+@@ -0,0 +1,39 @@
++/* EPIPHANY implementation of _stat ()
++
++ Copyright (c) 2011, 2012 Adapteva, Inc.
++ All rights reserved.
++
++ Contributor Joern Rennecke <joern.rennecke@embecosm.com> for Adapteva Inc.
++
++ Redistribution and use in source and binary forms, with or without
++ modification, are permitted provided that the following conditions are met:
++ * Redistributions of source code must retain the above copyright notice,
++ this list of conditions and the following disclaimer.
++ * Redistributions in binary form must reproduce the above copyright
++ notice, this list of conditions and the following disclaimer in the
++ documentation and/or other materials provided with the distribution.
++ * Neither the name of Adapteva nor the names of its contributors may be
++ used to endorse or promote products derived from this software without
++ specific prior written permission.
++
++ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
++ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
++ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
++ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
++ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
++ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
++ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
++ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
++ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
++ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
++ POSSIBILITY OF SUCH DAMAGE. */
++
++#include <errno.h>
++#include <sys/time.h>
++#include "syscall.h"
++
++int
++_gettimeofday (struct timeval *tp, void *tzp)
++{
++ return asm_syscall (tp, tzp, NULL, SYS_gettimeofday);
++}
+diff -Naur newlib-1.20.0.orig/libgloss/epiphany/_isatty.c newlib-1.20.0/libgloss/epiphany/_isatty.c
+--- newlib-1.20.0.orig/libgloss/epiphany/_isatty.c 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/libgloss/epiphany/_isatty.c 2012-10-15 10:31:19.531619656 +0200
+@@ -0,0 +1,35 @@
++/* isatty.c
++
++ Copyright (c) 1994-2009 Red Hat, Inc. All rights reserved.
++ Copyright (c) 2012 Adapteva, Inc.
++
++ This copyrighted material is made available to anyone wishing to use,
++ modify, copy, or redistribute it subject to the terms and conditions
++ of the BSD License. This program is distributed in the hope that
++ it will be useful, but WITHOUT ANY WARRANTY expressed or implied,
++ including the implied warranties of MERCHANTABILITY or FITNESS FOR
++ A PARTICULAR PURPOSE. A copy of this license is available at
++ http://www.opensource.org/licenses. Any Red Hat trademarks that are
++ incorporated in the source code or documentation are not subject to
++ the BSD License and may only be used or replicated with the express
++ permission of Red Hat, Inc. */
++
++/* Dumb implementation so programs will at least run. */
++
++#include <sys/stat.h>
++#include <errno.h>
++
++int
++_DEFUN(_isatty, (fd), int fd)
++{
++ struct stat buf;
++
++ if (_fstat (fd, &buf) < 0) {
++ errno = EBADF;
++ return 0;
++ }
++ if (S_ISCHR (buf.st_mode))
++ return 1;
++ errno = ENOTTY;
++ return 0;
++}
+diff -Naur newlib-1.20.0.orig/libgloss/epiphany/kill.c newlib-1.20.0/libgloss/epiphany/kill.c
+--- newlib-1.20.0.orig/libgloss/epiphany/kill.c 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/libgloss/epiphany/kill.c 2012-10-15 10:31:19.537619754 +0200
+@@ -0,0 +1,52 @@
++/* EPIPHANY implementation of _kill ()
++
++ Copyright (c) 2011, 2012 Adapteva, Inc.
++ All rights reserved.
++
++ Contributor Jeremy Bennett <jeremy.bennett@embecosm.com> for Adapteva Inc
++
++ Redistribution and use in source and binary forms, with or without
++ modification, are permitted provided that the following conditions are met:
++ * Redistributions of source code must retain the above copyright notice,
++ this list of conditions and the following disclaimer.
++ * Redistributions in binary form must reproduce the above copyright
++ notice, this list of conditions and the following disclaimer in the
++ documentation and/or other materials provided with the distribution.
++ * Neither the name of Adapteva nor the names of its contributors may be
++ used to endorse or promote products derived from this software without
++ specific prior written permission.
++
++ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
++ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
++ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
++ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
++ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
++ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
++ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
++ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
++ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
++ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
++ POSSIBILITY OF SUCH DAMAGE. */
++
++
++#include <errno.h>
++#include <sys/types.h>
++
++
++/* ------------------------------------------------------------------------- */
++/*!Send a signal
++
++ This is a minimal implementation, just call the internal rise
++
++ @param[in] pid The process that should receive the signal
++ @param[in] sig The signal to send
++
++ @return 0 on success, -1 on failure with an error code in errno. */
++/* ------------------------------------------------------------------------- */
++extern int e_raise(int signum);
++int __attribute__ ((section ("libgloss_epiphany")))
++_kill (pid_t pid, int sig)
++{
++ //errno = EINVAL;
++ return e_raise(sig);
++} /* _kill () */
+diff -Naur newlib-1.20.0.orig/libgloss/epiphany/link.c newlib-1.20.0/libgloss/epiphany/link.c
+--- newlib-1.20.0.orig/libgloss/epiphany/link.c 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/libgloss/epiphany/link.c 2012-10-15 10:31:19.537619754 +0200
+@@ -0,0 +1,53 @@
++/* EPIPHANY implementation of _link ()
++
++ Copyright (c) 2011, Adapteva, Inc.
++ All rights reserved.
++
++ Contributor Jeremy Bennett <jeremy.bennett@embecosm.com> for Adapteva Inc
++
++ Redistribution and use in source and binary forms, with or without
++ modification, are permitted provided that the following conditions are met:
++ * Redistributions of source code must retain the above copyright notice,
++ this list of conditions and the following disclaimer.
++ * Redistributions in binary form must reproduce the above copyright
++ notice, this list of conditions and the following disclaimer in the
++ documentation and/or other materials provided with the distribution.
++ * Neither the name of Adapteva nor the names of its contributors may be
++ used to endorse or promote products derived from this software without
++ specific prior written permission.
++
++ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
++ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
++ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
++ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
++ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
++ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
++ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
++ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
++ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
++ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
++ POSSIBILITY OF SUCH DAMAGE. */
++
++
++#include <unistd.h>
++#include <syscall.h>
++
++
++/* ------------------------------------------------------------------------- */
++/*!Establish a new name for an existing file.
++
++ Call an assembly function which will generate a system call trap. Either
++ the simulator host file system or the hardware BSP must provide the
++ functionality.
++
++ @param[in] old The existing file name
++ @param[in] new The new file name
++
++ @return 0 on success, -1 on failure with an error code in errno. */
++/* ------------------------------------------------------------------------- */
++int __attribute__ ((section ("libgloss_epiphany")))
++_link (const char *old, const char *new)
++{
++ return asm_syscall (old, new, NULL, SYS_link);
++
++} /* _link () */
+diff -Naur newlib-1.20.0.orig/libgloss/epiphany/lseek.c newlib-1.20.0/libgloss/epiphany/lseek.c
+--- newlib-1.20.0.orig/libgloss/epiphany/lseek.c 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/libgloss/epiphany/lseek.c 2012-10-15 10:31:19.537619754 +0200
+@@ -0,0 +1,47 @@
++/* EPIPHANY implementation of _lseek ()
++
++ Copyright (c) 2011, Adapteva, Inc.
++ All rights reserved.
++
++ Contributor Jeremy Bennett <jeremy.bennett@embecosm.com> for Adapteva Inc
++
++ Redistribution and use in source and binary forms, with or without
++ modification, are permitted provided that the following conditions are met:
++ * Redistributions of source code must retain the above copyright notice,
++ this list of conditions and the following disclaimer.
++ * Redistributions in binary form must reproduce the above copyright
++ notice, this list of conditions and the following disclaimer in the
++ documentation and/or other materials provided with the distribution.
++ * Neither the name of Adapteva nor the names of its contributors may be
++ used to endorse or promote products derived from this software without
++ specific prior written permission.
++
++ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
++ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
++ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
++ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
++ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
++ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
++ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
++ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
++ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
++ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
++ POSSIBILITY OF SUCH DAMAGE. */
++
++#include <syscall.h>
++#include <sys/types.h>
++
++/* ------------------------------------------------------------------------- */
++/*!Set a position in a file
++
++ @param[in] fildes The file descriptor on which to seek
++ @param[in] offset The desired offset
++ @param[in] whence Where the offset is measured from
++
++ @return 0 on success, -1 on failure with an error code in errno. */
++/* ------------------------------------------------------------------------- */
++off_t __attribute__ ((section ("libgloss_epiphany")))
++_lseek (int fildes, off_t offset, int whence)
++{
++ return asm_syscall (fildes, offset, whence, SYS_lseek);
++} /* _lseek () */
+diff -Naur newlib-1.20.0.orig/libgloss/epiphany/Makefile.in newlib-1.20.0/libgloss/epiphany/Makefile.in
+--- newlib-1.20.0.orig/libgloss/epiphany/Makefile.in 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/libgloss/epiphany/Makefile.in 2012-10-15 10:31:19.529619624 +0200
+@@ -0,0 +1,197 @@
++# Makefile for libgloss/epiphany
++
++# Copyright (c) 2011, 2012 Adapteva, Inc.
++# All rights reserved.
++
++# Contributor Jeremy Bennett <jeremy.bennett@embecosm.com> for Adapteva Inc
++
++# Redistribution and use in source and binary forms, with or without
++# modification, are permitted provided that the following conditions are met:
++# * Redistributions of source code must retain the above copyright notice,
++# this list of conditions and the following disclaimer.
++# * Redistributions in binary form must reproduce the above copyright
++# notice, this list of conditions and the following disclaimer in the
++# documentation and/or other materials provided with the distribution.
++# * Neither the name of Adapteva nor the names of its contributors may be
++# used to endorse or promote products derived from this software without
++# specific prior written permission.
++
++# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
++# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
++# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
++# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
++# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
++# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
++# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
++# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
++# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
++# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
++# POSSIBILITY OF SUCH DAMAGE.
++
++# Standard proforma copied from libnosys
++DESTDIR =
++VPATH = @srcdir@
++srcdir = @srcdir@
++objdir = .
++srcroot = $(srcdir)/../..
++objroot = $(objdir)/../..
++
++prefix = @prefix@
++exec_prefix = @exec_prefix@
++
++host_alias = @host_alias@
++target_alias = @target_alias@
++program_transform_name = @program_transform_name@
++
++bindir = @bindir@
++libdir = @libdir@
++tooldir = $(exec_prefix)/$(target_alias)
++
++# Multilib support variables.
++# TOP is used instead of MULTI{BUILD,SRC}TOP.
++MULTIDIRS =
++MULTISUBDIR =
++MULTIDO = true
++MULTICLEAN = true
++
++INSTALL = @INSTALL@
++INSTALL_PROGRAM = @INSTALL_PROGRAM@
++INSTALL_DATA = @INSTALL_DATA@
++
++SHELL = /bin/sh
++
++CC = @CC@
++
++#AS = @AS@
++AS = `if [ -f ${objroot}/../gas/as-new ] ; \
++ then echo ${objroot}/../gas/as-new ; \
++ else echo as ; fi`
++
++AR = @AR@
++
++#LD = @LD@
++LD = `if [ -f ${objroot}/../ld/ld-new ] ; \
++ then echo ${objroot}/../ld/ld-new ; \
++ else echo ld ; fi`
++
++RANLIB = @RANLIB@
++
++OBJDUMP = `if [ -f ${objroot}/../binutils/objdump ] ; \
++ then echo ${objroot}/../binutils/objdump ; \
++ else t='$(program_transform_name)'; echo objdump | sed -e $$t ; fi`
++OBJCOPY = `if [ -f ${objroot}/../binutils/objcopy ] ; \
++ then echo ${objroot}/../binutils/objcopy ; \
++ else t='$(program_transform_name)'; echo objcopy | sed -e $$t ; fi`
++
++GCC_LDFLAGS = `if [ -d ${objroot}/../gcc ] ; \
++ then echo -L${objroot}/../gcc ; fi`
++
++NEWLIB_CFLAGS = `if [ -d ${objroot}/newlib ]; then echo -I${objroot}/newlib/targ-include -I${srcroot}/newlib/libc/include; fi`
++NEWLIB_LDFLAGS = `if [ -d ${objroot}/newlib ]; then echo -B${objroot}/newlib/ -L${objroot}/newlib/; fi`
++
++INCLUDES = -I. -I$(srcdir)/.. -I$(srcdir)/../../newlib/libc/machine/epiphany
++
++# Note that when building the library, ${MULTILIB} is not the way multilib
++# options are passed; they're passed in $(CFLAGS).
++CFLAGS_FOR_TARGET = ${MULTILIB} ${INCLUDES} ${NEWLIB_CFLAGS}
++LDFLAGS_FOR_TARGET = ${MULTILIB} ${NEWLIB_LDFLAGS}
++AR_FLAGS = qc
++
++.c.o:
++ $(CC) $(CFLAGS_FOR_TARGET) -O2 $(INCLUDES) -c $(CFLAGS) $<
++
++.C.o:
++ $(CC) $(CFLAGS_FOR_TARGET) -O2 $(INCLUDES) -c $(CFLAGS) $<
++.S.o:
++ $(CC) $(CFLAGS_FOR_TARGET) $(INCLUDES) -c $(CFLAGS) $<
++.s.o:
++ $(AS) $(ASFLAGS_FOR_TARGET) $(INCLUDES) $(ASFLAGS) -o $*.o $<
++
++#
++# GCC knows to run the preprocessor on .S files before it assembles them.
++#
++.S.o:
++ $(CC) $(CFLAGS_FOR_TARGET) $(INCLUDES) $(CFLAGS) -c $<
++
++#
++# this is a bogus target that'll produce an assembler from the
++# C source with the right compiler options. this is so we can
++# track down code generation or debug symbol bugs.
++#
++.c.s:
++ $(CC) $(CFLAGS_FOR_TARGET) -S $(INCLUDES) $(CFLAGS) $<
++
++# EPIPHANY specific stuff
++
++# Object files needed for all libraries
++COMMON_OBJS = access.o \
++ close.o \
++ environ.o \
++ execve.o \
++ fork.o \
++ fstat.o \
++ getpid.o \
++ gettimeofday.o \
++ _isatty.o \
++ kill.o \
++ link.o \
++ lseek.o \
++ open.o \
++ read.o \
++ sbrk.o \
++ stat.o \
++ times.o \
++ unlink.o \
++ wait.o \
++ write.o \
++ _exit.o \
++ epiphany-syscalls.o \
++ epiphany-ivthandlers.o
++
++UNUSED_OBJS = chown.o \
++ errno.o \
++ gettod.o \
++ readlink.o \
++ symlink.o
++
++# Object files specific to particular targets.
++SIMOBJS = $(COMMON_OBJS)
++
++OUTPUTS = libepiphany.a crt0.o
++
++all: $(OUTPUTS)
++
++#
++# here's where we build the library for each target
++#
++
++libepiphany.a: $(SIMOBJS)
++ ${AR} ${ARFLAGS} $@ $(SIMOBJS)
++ ${RANLIB} $@
++
++_exit.o: _exit.S
++ $(CC) $(CFLAGS_FOR_TARGET) $(INCLUDES) $(CFLAGS) -c $<
++
++doc:
++
++clean mostlyclean:
++ rm -f $(OUTPUTS) *.i *~ *.o *-test *.srec *.dis *.map *.x
++
++distclean maintainer-clean realclean: clean
++ rm -f Makefile config.status $(OUTPUTS)
++
++.PHONY: install info install-info clean-info
++install:
++ @for outputs in ${OUTPUTS}; do\
++ mkdir -p $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}; \
++ $(INSTALL_PROGRAM) $${outputs} $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}; \
++ done
++info:
++install-info:
++clean-info:
++
++Makefile: Makefile.in config.status @host_makefile_frag_path@
++ $(SHELL) config.status
++
++config.status: configure
++ $(SHELL) config.status --recheck
+diff -Naur newlib-1.20.0.orig/libgloss/epiphany/open.c newlib-1.20.0/libgloss/epiphany/open.c
+--- newlib-1.20.0.orig/libgloss/epiphany/open.c 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/libgloss/epiphany/open.c 2012-10-15 10:31:19.538619770 +0200
+@@ -0,0 +1,49 @@
++/* EPIPHANY implementation of _open ()
++
++ Copyright (c) 2011, 2012 Adapteva, Inc.
++ All rights reserved.
++
++ Contributor Jeremy Bennett <jeremy.bennett@embecosm.com> for Adapteva Inc
++
++ Redistribution and use in source and binary forms, with or without
++ modification, are permitted provided that the following conditions are met:
++ * Redistributions of source code must retain the above copyright notice,
++ this list of conditions and the following disclaimer.
++ * Redistributions in binary form must reproduce the above copyright
++ notice, this list of conditions and the following disclaimer in the
++ documentation and/or other materials provided with the distribution.
++ * Neither the name of Adapteva nor the names of its contributors may be
++ used to endorse or promote products derived from this software without
++ specific prior written permission.
++
++ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
++ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
++ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
++ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
++ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
++ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
++ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
++ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
++ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
++ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
++ POSSIBILITY OF SUCH DAMAGE. */
++
++
++#include <sys/types.h>
++#include "epiphany-syscalls.h"
++#include "syscall.h"
++
++/* ------------------------------------------------------------------------- */
++/*!Open a file
++
++ @param[in] file The name of the file to open
++ @param[in] flags The flags definining how the file should be opened
++ @param[in] mode The permissions to be used in the new file
++
++ @return 0 on success, -1 on failure with an error code in errno. */
++/* ------------------------------------------------------------------------- */
++int __attribute__ ((section ("libgloss_epiphany")))
++_open (const char *file, int flags, mode_t mode)
++{
++ return asm_open (file, flags, mode);
++} /* _open () */
+diff -Naur newlib-1.20.0.orig/libgloss/epiphany/read.c newlib-1.20.0/libgloss/epiphany/read.c
+--- newlib-1.20.0.orig/libgloss/epiphany/read.c 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/libgloss/epiphany/read.c 2012-10-15 10:31:19.538619770 +0200
+@@ -0,0 +1,49 @@
++/* EPIPHANY implementation of _read ()
++
++ Copyright (c) 2011, 2012 Adapteva, Inc.
++ All rights reserved.
++
++ Contributor Jeremy Bennett <jeremy.bennett@embecosm.com> for Adapteva Inc
++
++ Redistribution and use in source and binary forms, with or without
++ modification, are permitted provided that the following conditions are met:
++ * Redistributions of source code must retain the above copyright notice,
++ this list of conditions and the following disclaimer.
++ * Redistributions in binary form must reproduce the above copyright
++ notice, this list of conditions and the following disclaimer in the
++ documentation and/or other materials provided with the distribution.
++ * Neither the name of Adapteva nor the names of its contributors may be
++ used to endorse or promote products derived from this software without
++ specific prior written permission.
++
++ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
++ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
++ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
++ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
++ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
++ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
++ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
++ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
++ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
++ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
++ POSSIBILITY OF SUCH DAMAGE. */
++
++#include <sys/types.h>
++#include "epiphany-syscalls.h"
++#include "syscall.h"
++
++/* ------------------------------------------------------------------------- */
++/*!Read a file
++
++ @param[in] fildes The descriptor of the file from which to read
++ @param[in] ptr Buffer for the read data
++ @param[in] len Maximum number of bytes to read
++
++ @return Number of bytes read on success, -1 on failure with an error code
++ in errno. */
++/* ------------------------------------------------------------------------- */
++ssize_t __attribute__ ((section ("libgloss_epiphany")))
++_read (int fildes, void *ptr, size_t len)
++{
++ return asm_read (fildes, ptr, len);
++} /* _read () */
+diff -Naur newlib-1.20.0.orig/libgloss/epiphany/sbrk.c newlib-1.20.0/libgloss/epiphany/sbrk.c
+--- newlib-1.20.0.orig/libgloss/epiphany/sbrk.c 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/libgloss/epiphany/sbrk.c 2012-10-15 10:31:19.538619770 +0200
+@@ -0,0 +1,165 @@
++/* EPIPHANY implementation of _sbrk ()
++
++ Copyright (c) 2011, Adapteva, Inc.
++ All rights reserved.
++
++ Contributor Jeremy Bennett <jeremy.bennett@embecosm.com> for Adapteva Inc
++
++ Redistribution and use in source and binary forms, with or without
++ modification, are permitted provided that the following conditions are met:
++ * Redistributions of source code must retain the above copyright notice,
++ this list of conditions and the following disclaimer.
++ * Redistributions in binary form must reproduce the above copyright
++ notice, this list of conditions and the following disclaimer in the
++ documentation and/or other materials provided with the distribution.
++ * Neither the name of Adapteva nor the names of its contributors may be
++ used to endorse or promote products derived from this software without
++ specific prior written permission.
++
++ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
++ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
++ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
++ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
++ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
++ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
++ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
++ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
++ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
++ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
++ POSSIBILITY OF SUCH DAMAGE. */
++/* ------------------------------------------------------------------------- */
++/* This implementation is suitable for use with the Verilator simulation of
++ the EPIPHANY.
++
++ Commenting suitable for processing by Doxygen is provided throughout. */
++/* ------------------------------------------------------------------------- */
++#include <sys/types.h>
++#include <errno.h>
++#include <stddef.h>
++
++/* ------------------------------------------------------------------------- */
++/*!Increase program data space
++
++ This is a minimal implementation. Assuming the heap is growing upwards
++ from __heap_start towards __heap_end.
++ See linker file for definition.
++
++ @param[in] incr The number of bytes to increment the stack by.
++
++ @return A pointer to the start of the new block of memory */
++/* ------------------------------------------------------------------------- */
++void *
++_sbrk (int incr)
++{
++ extern char __heap_start;//set by linker
++ extern char __heap_end;//set by linker
++
++ static char *heap_end; /* Previous end of heap or 0 if none */
++ char *prev_heap_end;
++
++ if (0 == heap_end) {
++ heap_end = &__heap_start; /* Initialize first time round */
++ }
++
++ prev_heap_end = heap_end;
++ heap_end += incr;
++ //check
++ if( heap_end < (&__heap_end)) {
++
++ } else {
++ errno = ENOMEM;
++ return (char*)-1;
++ }
++ return (void *) prev_heap_end;
++
++} /* _sbrk () */
++
++
++
++///* sbrk support */
++//
++///* The current plan is to have one sbrk handler for all cpus.
++// Hence use `asm' for each global variable here to avoid the cpu prefix.
++// We can't intrude on the user's namespace (another reason to use asm). */
++//
++//#include <sys/types.h>
++///*#include <sys/syscall.h>*/
++//#include <errno.h>
++//#include <stddef.h>
++//
++///* These variables are publicly accessible for debugging purposes.
++// The user is also free to set sbrk_size to something different.
++// See mem-layout.c. */
++//
++//extern int sbrk_size asm ("sbrk_size");
++//
++//caddr_t sbrk_start asm ("sbrk_start");
++//caddr_t sbrk_loc asm ("sbrk_loc");
++//extern char end; /* Defined by linker. */
++//
++///*caddr_t _sbrk_r (struct _reent *, size_t) asm ("__sbrk_r");*/
++//
++//
++///* This symbol can be defined with the --defsym linker option. */
++//extern char __heap_end __attribute__((weak));
++//
++//
++///* FIXME: We need a semaphore here. */
++//
++//caddr_t
++//_sbrk_r (struct _reent *r, size_t nbytes)
++//{
++// extern char end; /* Defined by linker. */
++// static char *heap_end; /* Previous end of heap or 0 if none */
++// char *prev_heap_end;
++// register char* stack asm("sp");
++//
++// if (0 == heap_end)
++// {
++// heap_end = &end; /* Initialize first time round */
++// }
++//
++// prev_heap_end = heap_end;
++//
++// if (stack < (prev_heap_end+nbytes)) {
++// /* heap would overlap the current stack depth.
++// * Future: use sbrk() system call to make simulator grow memory beyond
++// * the stack and allocate that
++// */
++// errno = ENOMEM;
++// return (char*)-1;
++// }
++//
++// heap_end += nbytes;
++//
++// return (caddr_t) prev_heap_end;
++//
++//} /* _sbrk () */
++
++
++//caddr_t
++//_sbrk_r (struct _reent *r, size_t nbytes)
++//{
++// caddr_t result;
++//
++// void *heap_end;
++//
++// heap_end = &__heap_end;
++// if (!heap_end)
++// heap_end = sbrk_start + sbrk_size;
++// if (
++// /* Ensure we don't underflow. */
++// sbrk_loc + nbytes < sbrk_start
++// /* Ensure we don't overflow. */
++// || sbrk_loc + nbytes > (caddr_t)heap_end)
++// {
++// errno = ENOMEM;
++// return ((caddr_t) -1);
++// }
++//
++// if (0 == sbrk_loc)
++// sbrk_loc = &end; /* Initialize first time round */
++// result = sbrk_loc;
++// sbrk_loc += nbytes;
++// return result;
++//}
+diff -Naur newlib-1.20.0.orig/libgloss/epiphany/stat.c newlib-1.20.0/libgloss/epiphany/stat.c
+--- newlib-1.20.0.orig/libgloss/epiphany/stat.c 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/libgloss/epiphany/stat.c 2012-10-15 10:31:19.538619770 +0200
+@@ -0,0 +1,48 @@
++/* EPIPHANY implementation of _stat ()
++
++ Copyright (c) 2011, Adapteva, Inc.
++ All rights reserved.
++
++ Contributor Jeremy Bennett <jeremy.bennett@embecosm.com> for Adapteva Inc
++
++ Redistribution and use in source and binary forms, with or without
++ modification, are permitted provided that the following conditions are met:
++ * Redistributions of source code must retain the above copyright notice,
++ this list of conditions and the following disclaimer.
++ * Redistributions in binary form must reproduce the above copyright
++ notice, this list of conditions and the following disclaimer in the
++ documentation and/or other materials provided with the distribution.
++ * Neither the name of Adapteva nor the names of its contributors may be
++ used to endorse or promote products derived from this software without
++ specific prior written permission.
++
++ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
++ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
++ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
++ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
++ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
++ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
++ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
++ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
++ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
++ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
++ POSSIBILITY OF SUCH DAMAGE. */
++
++
++#include <sys/stat.h>
++#include <syscall.h>
++
++
++/* ------------------------------------------------------------------------- */
++/*!Status of a file (by name)
++
++ @param[in] file Name of the file for which status is sought
++ @param[out] st Structure for the status information
++
++ @return 0 on success, -1 on failure with an error code in errno. */
++/* ------------------------------------------------------------------------- */
++int __attribute__ ((section ("libgloss_epiphany")))
++_stat (const char *file, struct stat *st)
++{
++ return asm_syscall (file, st, NULL, SYS_stat);
++} /* _stat () */
+diff -Naur newlib-1.20.0.orig/libgloss/epiphany/times.c newlib-1.20.0/libgloss/epiphany/times.c
+--- newlib-1.20.0.orig/libgloss/epiphany/times.c 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/libgloss/epiphany/times.c 2012-10-15 10:31:19.539619785 +0200
+@@ -0,0 +1,53 @@
++/* EPIPHANY implementation of _times ()
++
++ Copyright (c) 2011, 2012 Adapteva, Inc.
++ All rights reserved.
++
++ Contributor Jeremy Bennett <jeremy.bennett@embecosm.com> for Adapteva Inc
++
++ Redistribution and use in source and binary forms, with or without
++ modification, are permitted provided that the following conditions are met:
++ * Redistributions of source code must retain the above copyright notice,
++ this list of conditions and the following disclaimer.
++ * Redistributions in binary form must reproduce the above copyright
++ notice, this list of conditions and the following disclaimer in the
++ documentation and/or other materials provided with the distribution.
++ * Neither the name of Adapteva nor the names of its contributors may be
++ used to endorse or promote products derived from this software without
++ specific prior written permission.
++
++ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
++ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
++ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
++ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
++ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
++ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
++ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
++ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
++ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
++ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
++ POSSIBILITY OF SUCH DAMAGE. */
++
++
++#include <errno.h>
++#include <sys/times.h>
++
++
++/* ------------------------------------------------------------------------- */
++/*!Get timing information for current process
++
++ This is a minimal implementation, which always fails
++
++ @todo Is this a permissible errno?
++
++ @param[out] buf Buffer for timing information
++
++ @return 0 on success, -1 on failure with an error code in errno. */
++/* ------------------------------------------------------------------------- */
++clock_t __attribute__ ((section ("libgloss_epiphany")))
++_times (struct tms *buf)
++{
++ errno = ENOSYS;
++ return -1;
++
++} /* _times () */
+diff -Naur newlib-1.20.0.orig/libgloss/epiphany/unlink.c newlib-1.20.0/libgloss/epiphany/unlink.c
+--- newlib-1.20.0.orig/libgloss/epiphany/unlink.c 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/libgloss/epiphany/unlink.c 2012-10-15 10:31:19.539619785 +0200
+@@ -0,0 +1,53 @@
++/* EPIPHANY implementation of _unlink ()
++
++ Copyright (c) 2011, Adapteva, Inc.
++ All rights reserved.
++
++ Contributor Jeremy Bennett <jeremy.bennett@embecosm.com> for Adapteva Inc
++
++ Redistribution and use in source and binary forms, with or without
++ modification, are permitted provided that the following conditions are met:
++ * Redistributions of source code must retain the above copyright notice,
++ this list of conditions and the following disclaimer.
++ * Redistributions in binary form must reproduce the above copyright
++ notice, this list of conditions and the following disclaimer in the
++ documentation and/or other materials provided with the distribution.
++ * Neither the name of Adapteva nor the names of its contributors may be
++ used to endorse or promote products derived from this software without
++ specific prior written permission.
++
++ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
++ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
++ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
++ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
++ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
++ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
++ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
++ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
++ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
++ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
++ POSSIBILITY OF SUCH DAMAGE. */
++
++
++#include <unistd.h>
++#include <syscall.h>
++
++
++/* ------------------------------------------------------------------------- */
++/*!Remove a file
++
++ Call an assembly function which will generate a system call trap. Either
++ the simulator host file system or the hardware BSP must provide the
++ functionality.
++
++ @param[in] name Name of file to remove
++
++ @return 0 on success, -1 on failure with an error code in errno. */
++/* ------------------------------------------------------------------------- */
++int __attribute__ ((section ("libgloss_epiphany")))
++_unlink (const char *name)
++{
++ return asm_syscall (name, NULL, NULL, SYS_unlink);
++
++
++} /* _unlink () */
+diff -Naur newlib-1.20.0.orig/libgloss/epiphany/wait.c newlib-1.20.0/libgloss/epiphany/wait.c
+--- newlib-1.20.0.orig/libgloss/epiphany/wait.c 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/libgloss/epiphany/wait.c 2012-10-15 10:31:19.539619785 +0200
+@@ -0,0 +1,52 @@
++/* EPIPHANY implementation of _wait ()
++
++ Copyright (c) 2011, 2012 Adapteva, Inc.
++ All rights reserved.
++
++ Contributor Jeremy Bennett <jeremy.bennett@embecosm.com> for Adapteva Inc
++
++ Redistribution and use in source and binary forms, with or without
++ modification, are permitted provided that the following conditions are met:
++ * Redistributions of source code must retain the above copyright notice,
++ this list of conditions and the following disclaimer.
++ * Redistributions in binary form must reproduce the above copyright
++ notice, this list of conditions and the following disclaimer in the
++ documentation and/or other materials provided with the distribution.
++ * Neither the name of Adapteva nor the names of its contributors may be
++ used to endorse or promote products derived from this software without
++ specific prior written permission.
++
++ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
++ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
++ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
++ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
++ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
++ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
++ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
++ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
++ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
++ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
++ POSSIBILITY OF SUCH DAMAGE. */
++
++
++#include <errno.h>
++#include <sys/types.h>
++
++
++/* ------------------------------------------------------------------------- */
++/*!Wait for a child process
++
++ This is a minimal implementation, which always fails, since we have only
++ one process.
++
++ @param[out] status Status information about the file waited for.
++
++ @return 0 on success, -1 on failure with an error code in errno. */
++/* ------------------------------------------------------------------------- */
++pid_t __attribute__ ((section ("libgloss_epiphany")))
++_wait (int *status)
++{
++ errno = ENOSYS;
++ return -1;
++
++} /* _wait () */
+diff -Naur newlib-1.20.0.orig/libgloss/epiphany/write.c newlib-1.20.0/libgloss/epiphany/write.c
+--- newlib-1.20.0.orig/libgloss/epiphany/write.c 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/libgloss/epiphany/write.c 2012-10-15 10:31:19.539619785 +0200
+@@ -0,0 +1,52 @@
++/* EPIPHANY implementation of _write ()
++
++ Copyright (c) 2011, 2012 Adapteva, Inc.
++ All rights reserved.
++
++ Contributor Jeremy Bennett <jeremy.bennett@embecosm.com> for Adapteva Inc
++
++ Redistribution and use in source and binary forms, with or without
++ modification, are permitted provided that the following conditions are met:
++ * Redistributions of source code must retain the above copyright notice,
++ this list of conditions and the following disclaimer.
++ * Redistributions in binary form must reproduce the above copyright
++ notice, this list of conditions and the following disclaimer in the
++ documentation and/or other materials provided with the distribution.
++ * Neither the name of Adapteva nor the names of its contributors may be
++ used to endorse or promote products derived from this software without
++ specific prior written permission.
++
++ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
++ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
++ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
++ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
++ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
++ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
++ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
++ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
++ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
++ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
++ POSSIBILITY OF SUCH DAMAGE. */
++
++#include <sys/types.h>
++#include "epiphany-syscalls.h"
++#include "syscall.h"
++
++
++/* ------------------------------------------------------------------------- */
++/*!Write to a file
++
++ CGEN simulator file output.
++
++ @param[in] fildes File descriptor to write to
++ @param[in] ptr Buffer of data to write
++ @param[in] len Number of bytes to write
++
++ @return Number of bytes written on success, -1 on failure with an error
++ code in errno. */
++/* ------------------------------------------------------------------------- */
++ssize_t __attribute__ ((section ("libgloss_epiphany")))
++_write (int file, const void *ptr, size_t len)
++{
++ return asm_write (file, ptr, len);
++} /* _write () */
+diff -Naur newlib-1.20.0.orig/libgloss/hp74x/pa_stub.c newlib-1.20.0/libgloss/hp74x/pa_stub.c
+--- newlib-1.20.0.orig/libgloss/hp74x/pa_stub.c 2000-03-17 23:48:50.000000000 +0100
++++ newlib-1.20.0/libgloss/hp74x/pa_stub.c 2012-10-15 10:31:19.540619800 +0200
+@@ -2,7 +2,7 @@
+ *******************************************************************************
+ *
+ * File: pa_stub.c
+-* RCS: $Header: /cvs/src/src/libgloss/hp74x/pa_stub.c,v 1.1 2000/03/17 22:48:50 ranjith Exp $
++* RCS: $Header$
+ * Description: main routines for PA RISC monitor stub
+ * Author: Robert Quist
+ * Created: Mon Nov 1 10:00:36 1993
+diff -Naur newlib-1.20.0.orig/libgloss/iq2000/access.c newlib-1.20.0/libgloss/iq2000/access.c
+--- newlib-1.20.0.orig/libgloss/iq2000/access.c 2003-06-06 18:07:57.000000000 +0200
++++ newlib-1.20.0/libgloss/iq2000/access.c 2012-10-15 10:31:19.540619800 +0200
+@@ -3,7 +3,7 @@
+ * Copyright (C) 1993 DJ Delorie
+ * All rights reserved.
+ *
+- * Redistribution and use in source and binary forms is permitted
++ * Redistribution, modification, and use in source and binary forms is permitted
+ * provided that the above copyright notice and following paragraph are
+ * duplicated in all such forms.
+ *
+diff -Naur newlib-1.20.0.orig/libgloss/libnosys/configure newlib-1.20.0/libgloss/libnosys/configure
+--- newlib-1.20.0.orig/libgloss/libnosys/configure 2011-06-14 15:40:46.000000000 +0200
++++ newlib-1.20.0/libgloss/libnosys/configure 2012-10-15 10:31:19.543619848 +0200
+@@ -1,18 +1,22 @@
+ #! /bin/sh
+ # Guess values for system-dependent variables and create Makefiles.
+-# Generated by GNU Autoconf 2.63.
++# Generated by GNU Autoconf 2.68.
++#
+ #
+ # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
+-# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
++# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
++# Foundation, Inc.
++#
++#
+ # This configure script is free software; the Free Software Foundation
+ # gives unlimited permission to copy, distribute and modify it.
+-## --------------------- ##
+-## M4sh Initialization. ##
+-## --------------------- ##
++## -------------------- ##
++## M4sh Initialization. ##
++## -------------------- ##
+
+ # Be more Bourne compatible
+ DUALCASE=1; export DUALCASE # for MKS sh
+-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
++if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
+ emulate sh
+ NULLCMD=:
+ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
+@@ -20,23 +24,15 @@
+ alias -g '${1+"$@"}'='"$@"'
+ setopt NO_GLOB_SUBST
+ else
+- case `(set -o) 2>/dev/null` in
+- *posix*) set -o posix ;;
++ case `(set -o) 2>/dev/null` in #(
++ *posix*) :
++ set -o posix ;; #(
++ *) :
++ ;;
+ esac
+-
+ fi
+
+
+-
+-
+-# PATH needs CR
+-# Avoid depending upon Character Ranges.
+-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
+-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
+-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
+-as_cr_digits='0123456789'
+-as_cr_alnum=$as_cr_Letters$as_cr_digits
+-
+ as_nl='
+ '
+ export as_nl
+@@ -44,7 +40,13 @@
+ as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
+ as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
+ as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
+-if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
++# Prefer a ksh shell builtin over an external printf program on Solaris,
++# but without wasting forks for bash or zsh.
++if test -z "$BASH_VERSION$ZSH_VERSION" \
++ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
++ as_echo='print -r --'
++ as_echo_n='print -rn --'
++elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
+ as_echo='printf %s\n'
+ as_echo_n='printf %s'
+ else
+@@ -55,7 +57,7 @@
+ as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
+ as_echo_n_body='eval
+ arg=$1;
+- case $arg in
++ case $arg in #(
+ *"$as_nl"*)
+ expr "X$arg" : "X\\(.*\\)$as_nl";
+ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
+@@ -78,13 +80,6 @@
+ }
+ fi
+
+-# Support unset when possible.
+-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
+- as_unset=unset
+-else
+- as_unset=false
+-fi
+-
+
+ # IFS
+ # We need space, tab and new line, in precisely that order. Quoting is
+@@ -94,15 +89,16 @@
+ IFS=" "" $as_nl"
+
+ # Find who we are. Look in the path if we contain no directory separator.
+-case $0 in
++as_myself=
++case $0 in #((
+ *[\\/]* ) as_myself=$0 ;;
+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+ for as_dir in $PATH
+ do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
+-done
++ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
++ done
+ IFS=$as_save_IFS
+
+ ;;
+@@ -114,12 +110,16 @@
+ fi
+ if test ! -f "$as_myself"; then
+ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
+- { (exit 1); exit 1; }
++ exit 1
+ fi
+
+-# Work around bugs in pre-3.0 UWIN ksh.
+-for as_var in ENV MAIL MAILPATH
+-do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
++# Unset variables that we do not need and which cause bugs (e.g. in
++# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
++# suppresses any "Segmentation fault" message there. '((' could
++# trigger a bug in pdksh 5.2.14.
++for as_var in BASH_ENV ENV MAIL MAILPATH
++do eval test x\${$as_var+set} = xset \
++ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
+ done
+ PS1='$ '
+ PS2='> '
+@@ -131,330 +131,305 @@
+ LANGUAGE=C
+ export LANGUAGE
+
+-# Required to use basename.
+-if expr a : '\(a\)' >/dev/null 2>&1 &&
+- test "X`expr 00001 : '.*\(...\)'`" = X001; then
+- as_expr=expr
+-else
+- as_expr=false
+-fi
+-
+-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
+- as_basename=basename
+-else
+- as_basename=false
+-fi
+-
+-
+-# Name of the executable.
+-as_me=`$as_basename -- "$0" ||
+-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
+- X"$0" : 'X\(//\)$' \| \
+- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
+-$as_echo X/"$0" |
+- sed '/^.*\/\([^/][^/]*\)\/*$/{
+- s//\1/
+- q
+- }
+- /^X\/\(\/\/\)$/{
+- s//\1/
+- q
+- }
+- /^X\/\(\/\).*/{
+- s//\1/
+- q
+- }
+- s/.*/./; q'`
+-
+ # CDPATH.
+-$as_unset CDPATH
+-
++(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
+
+ if test "x$CONFIG_SHELL" = x; then
+- if (eval ":") 2>/dev/null; then
+- as_have_required=yes
++ as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
++ emulate sh
++ NULLCMD=:
++ # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
++ # is contrary to our usage. Disable this feature.
++ alias -g '\${1+\"\$@\"}'='\"\$@\"'
++ setopt NO_GLOB_SUBST
+ else
+- as_have_required=no
++ case \`(set -o) 2>/dev/null\` in #(
++ *posix*) :
++ set -o posix ;; #(
++ *) :
++ ;;
++esac
+ fi
+-
+- if test $as_have_required = yes && (eval ":
+-(as_func_return () {
+- (exit \$1)
+-}
+-as_func_success () {
+- as_func_return 0
+-}
+-as_func_failure () {
+- as_func_return 1
+-}
+-as_func_ret_success () {
+- return 0
+-}
+-as_func_ret_failure () {
+- return 1
+-}
++"
++ as_required="as_fn_return () { (exit \$1); }
++as_fn_success () { as_fn_return 0; }
++as_fn_failure () { as_fn_return 1; }
++as_fn_ret_success () { return 0; }
++as_fn_ret_failure () { return 1; }
+
+ exitcode=0
+-if as_func_success; then
+- :
+-else
+- exitcode=1
+- echo as_func_success failed.
+-fi
++as_fn_success || { exitcode=1; echo as_fn_success failed.; }
++as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
++as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
++as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
++if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
+
+-if as_func_failure; then
+- exitcode=1
+- echo as_func_failure succeeded.
+-fi
+-
+-if as_func_ret_success; then
+- :
+ else
+- exitcode=1
+- echo as_func_ret_success failed.
+-fi
+-
+-if as_func_ret_failure; then
+- exitcode=1
+- echo as_func_ret_failure succeeded.
+-fi
+-
+-if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
+- :
++ exitcode=1; echo positional parameters were not saved.
++fi
++test x\$exitcode = x0 || exit 1"
++ as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
++ as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
++ eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
++ test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
++ if (eval "$as_required") 2>/dev/null; then :
++ as_have_required=yes
+ else
+- exitcode=1
+- echo positional parameters were not saved.
++ as_have_required=no
+ fi
++ if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
+
+-test \$exitcode = 0) || { (exit 1); exit 1; }
+-
+-(
+- as_lineno_1=\$LINENO
+- as_lineno_2=\$LINENO
+- test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
+- test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
+-") 2> /dev/null; then
+- :
+ else
+- as_candidate_shells=
+- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++as_found=false
+ for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
+ do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+- case $as_dir in
++ as_found=:
++ case $as_dir in #(
+ /*)
+ for as_base in sh bash ksh sh5; do
+- as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
++ # Try only shells that exist, to save several forks.
++ as_shell=$as_dir/$as_base
++ if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
++ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
++ CONFIG_SHELL=$as_shell as_have_required=yes
++ if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
++ break 2
++fi
++fi
+ done;;
+ esac
++ as_found=false
+ done
++$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
++ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
++ CONFIG_SHELL=$SHELL as_have_required=yes
++fi; }
+ IFS=$as_save_IFS
+
+
+- for as_shell in $as_candidate_shells $SHELL; do
+- # Try only shells that exist, to save several forks.
+- if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
+- { ("$as_shell") 2> /dev/null <<\_ASEOF
+-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
+- emulate sh
+- NULLCMD=:
+- # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
+- # is contrary to our usage. Disable this feature.
+- alias -g '${1+"$@"}'='"$@"'
+- setopt NO_GLOB_SUBST
+-else
+- case `(set -o) 2>/dev/null` in
+- *posix*) set -o posix ;;
+-esac
+-
+-fi
+-
+-
+-:
+-_ASEOF
+-}; then
+- CONFIG_SHELL=$as_shell
+- as_have_required=yes
+- if { "$as_shell" 2> /dev/null <<\_ASEOF
+-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
+- emulate sh
+- NULLCMD=:
+- # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
+- # is contrary to our usage. Disable this feature.
+- alias -g '${1+"$@"}'='"$@"'
+- setopt NO_GLOB_SUBST
+-else
+- case `(set -o) 2>/dev/null` in
+- *posix*) set -o posix ;;
+-esac
+-
+-fi
+-
+-
+-:
+-(as_func_return () {
+- (exit $1)
+-}
+-as_func_success () {
+- as_func_return 0
+-}
+-as_func_failure () {
+- as_func_return 1
+-}
+-as_func_ret_success () {
+- return 0
+-}
+-as_func_ret_failure () {
+- return 1
+-}
+-
+-exitcode=0
+-if as_func_success; then
+- :
+-else
+- exitcode=1
+- echo as_func_success failed.
+-fi
+-
+-if as_func_failure; then
+- exitcode=1
+- echo as_func_failure succeeded.
+-fi
+-
+-if as_func_ret_success; then
+- :
+-else
+- exitcode=1
+- echo as_func_ret_success failed.
+-fi
+-
+-if as_func_ret_failure; then
+- exitcode=1
+- echo as_func_ret_failure succeeded.
++ if test "x$CONFIG_SHELL" != x; then :
++ # We cannot yet assume a decent shell, so we have to provide a
++ # neutralization value for shells without unset; and this also
++ # works around shells that cannot unset nonexistent variables.
++ # Preserve -v and -x to the replacement shell.
++ BASH_ENV=/dev/null
++ ENV=/dev/null
++ (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
++ export CONFIG_SHELL
++ case $- in # ((((
++ *v*x* | *x*v* ) as_opts=-vx ;;
++ *v* ) as_opts=-v ;;
++ *x* ) as_opts=-x ;;
++ * ) as_opts= ;;
++ esac
++ exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
+ fi
+
+-if ( set x; as_func_ret_success y && test x = "$1" ); then
+- :
+-else
+- exitcode=1
+- echo positional parameters were not saved.
++ if test x$as_have_required = xno; then :
++ $as_echo "$0: This script requires a shell more modern than all"
++ $as_echo "$0: the shells that I found on your system."
++ if test x${ZSH_VERSION+set} = xset ; then
++ $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
++ $as_echo "$0: be upgraded to zsh 4.3.4 or later."
++ else
++ $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
++$0: including any error possibly output before this
++$0: message. Then install a modern shell, or manually run
++$0: the script under such a shell if you do have one."
++ fi
++ exit 1
+ fi
+-
+-test $exitcode = 0) || { (exit 1); exit 1; }
+-
+-(
+- as_lineno_1=$LINENO
+- as_lineno_2=$LINENO
+- test "x$as_lineno_1" != "x$as_lineno_2" &&
+- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
+-
+-_ASEOF
+-}; then
+- break
+ fi
+-
+ fi
++SHELL=${CONFIG_SHELL-/bin/sh}
++export SHELL
++# Unset more variables known to interfere with behavior of common tools.
++CLICOLOR_FORCE= GREP_OPTIONS=
++unset CLICOLOR_FORCE GREP_OPTIONS
+
+- done
+-
+- if test "x$CONFIG_SHELL" != x; then
+- for as_var in BASH_ENV ENV
+- do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
+- done
+- export CONFIG_SHELL
+- exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
+-fi
++## --------------------- ##
++## M4sh Shell Functions. ##
++## --------------------- ##
++# as_fn_unset VAR
++# ---------------
++# Portably unset VAR.
++as_fn_unset ()
++{
++ { eval $1=; unset $1;}
++}
++as_unset=as_fn_unset
+
++# as_fn_set_status STATUS
++# -----------------------
++# Set $? to STATUS, without forking.
++as_fn_set_status ()
++{
++ return $1
++} # as_fn_set_status
+
+- if test $as_have_required = no; then
+- echo This script requires a shell more modern than all the
+- echo shells that I found on your system. Please install a
+- echo modern shell, or manually run the script under such a
+- echo shell if you do have one.
+- { (exit 1); exit 1; }
+-fi
++# as_fn_exit STATUS
++# -----------------
++# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
++as_fn_exit ()
++{
++ set +e
++ as_fn_set_status $1
++ exit $1
++} # as_fn_exit
++
++# as_fn_mkdir_p
++# -------------
++# Create "$as_dir" as a directory, including parents if necessary.
++as_fn_mkdir_p ()
++{
+
++ case $as_dir in #(
++ -*) as_dir=./$as_dir;;
++ esac
++ test -d "$as_dir" || eval $as_mkdir_p || {
++ as_dirs=
++ while :; do
++ case $as_dir in #(
++ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
++ *) as_qdir=$as_dir;;
++ esac
++ as_dirs="'$as_qdir' $as_dirs"
++ as_dir=`$as_dirname -- "$as_dir" ||
++$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
++ X"$as_dir" : 'X\(//\)[^/]' \| \
++ X"$as_dir" : 'X\(//\)$' \| \
++ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
++$as_echo X"$as_dir" |
++ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
++ s//\1/
++ q
++ }
++ /^X\(\/\/\)[^/].*/{
++ s//\1/
++ q
++ }
++ /^X\(\/\/\)$/{
++ s//\1/
++ q
++ }
++ /^X\(\/\).*/{
++ s//\1/
++ q
++ }
++ s/.*/./; q'`
++ test -d "$as_dir" && break
++ done
++ test -z "$as_dirs" || eval "mkdir $as_dirs"
++ } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
+
+-fi
+
+-fi
++} # as_fn_mkdir_p
++# as_fn_append VAR VALUE
++# ----------------------
++# Append the text in VALUE to the end of the definition contained in VAR. Take
++# advantage of any shell optimizations that allow amortized linear growth over
++# repeated appends, instead of the typical quadratic growth present in naive
++# implementations.
++if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
++ eval 'as_fn_append ()
++ {
++ eval $1+=\$2
++ }'
++else
++ as_fn_append ()
++ {
++ eval $1=\$$1\$2
++ }
++fi # as_fn_append
+
++# as_fn_arith ARG...
++# ------------------
++# Perform arithmetic evaluation on the ARGs, and store the result in the
++# global $as_val. Take advantage of shells that can avoid forks. The arguments
++# must be portable across $(()) and expr.
++if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
++ eval 'as_fn_arith ()
++ {
++ as_val=$(( $* ))
++ }'
++else
++ as_fn_arith ()
++ {
++ as_val=`expr "$@" || test $? -eq 1`
++ }
++fi # as_fn_arith
+
+
+-(eval "as_func_return () {
+- (exit \$1)
+-}
+-as_func_success () {
+- as_func_return 0
+-}
+-as_func_failure () {
+- as_func_return 1
+-}
+-as_func_ret_success () {
+- return 0
+-}
+-as_func_ret_failure () {
+- return 1
+-}
++# as_fn_error STATUS ERROR [LINENO LOG_FD]
++# ----------------------------------------
++# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
++# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
++# script with STATUS, using 1 if that was 0.
++as_fn_error ()
++{
++ as_status=$1; test $as_status -eq 0 && as_status=1
++ if test "$4"; then
++ as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
++ $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
++ fi
++ $as_echo "$as_me: error: $2" >&2
++ as_fn_exit $as_status
++} # as_fn_error
+
+-exitcode=0
+-if as_func_success; then
+- :
++if expr a : '\(a\)' >/dev/null 2>&1 &&
++ test "X`expr 00001 : '.*\(...\)'`" = X001; then
++ as_expr=expr
+ else
+- exitcode=1
+- echo as_func_success failed.
+-fi
+-
+-if as_func_failure; then
+- exitcode=1
+- echo as_func_failure succeeded.
++ as_expr=false
+ fi
+
+-if as_func_ret_success; then
+- :
++if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
++ as_basename=basename
+ else
+- exitcode=1
+- echo as_func_ret_success failed.
+-fi
+-
+-if as_func_ret_failure; then
+- exitcode=1
+- echo as_func_ret_failure succeeded.
++ as_basename=false
+ fi
+
+-if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
+- :
++if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
++ as_dirname=dirname
+ else
+- exitcode=1
+- echo positional parameters were not saved.
++ as_dirname=false
+ fi
+
+-test \$exitcode = 0") || {
+- echo No shell found that supports shell functions.
+- echo Please tell bug-autoconf@gnu.org about your system,
+- echo including any error possibly output before this message.
+- echo This can help us improve future autoconf versions.
+- echo Configuration will now proceed without shell functions.
+-}
++as_me=`$as_basename -- "$0" ||
++$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
++ X"$0" : 'X\(//\)$' \| \
++ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
++$as_echo X/"$0" |
++ sed '/^.*\/\([^/][^/]*\)\/*$/{
++ s//\1/
++ q
++ }
++ /^X\/\(\/\/\)$/{
++ s//\1/
++ q
++ }
++ /^X\/\(\/\).*/{
++ s//\1/
++ q
++ }
++ s/.*/./; q'`
+
++# Avoid depending upon Character Ranges.
++as_cr_letters='abcdefghijklmnopqrstuvwxyz'
++as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
++as_cr_Letters=$as_cr_letters$as_cr_LETTERS
++as_cr_digits='0123456789'
++as_cr_alnum=$as_cr_Letters$as_cr_digits
+
+
+- as_lineno_1=$LINENO
+- as_lineno_2=$LINENO
+- test "x$as_lineno_1" != "x$as_lineno_2" &&
+- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
+-
+- # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
+- # uniformly replaced by the line number. The first 'sed' inserts a
+- # line-number line after each line using $LINENO; the second 'sed'
+- # does the real work. The second script uses 'N' to pair each
+- # line-number line with the line containing $LINENO, and appends
+- # trailing '-' during substitution so that $LINENO is not a special
+- # case at line end.
+- # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
+- # scripts with optimization help from Paolo Bonzini. Blame Lee
+- # E. McMahon (1931-1989) for sed's syntax. :-)
++ as_lineno_1=$LINENO as_lineno_1a=$LINENO
++ as_lineno_2=$LINENO as_lineno_2a=$LINENO
++ eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
++ test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
++ # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
+ sed -n '
+ p
+ /[$]LINENO/=
+@@ -471,8 +446,7 @@
+ s/-\n.*//
+ ' >$as_me.lineno &&
+ chmod +x "$as_me.lineno" ||
+- { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
+- { (exit 1); exit 1; }; }
++ { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
+
+ # Don't try to exec as it changes $[0], causing all sort of problems
+ # (the dirname of $[0] is not the place where we might find the
+@@ -482,29 +456,18 @@
+ exit
+ }
+
+-
+-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
+- as_dirname=dirname
+-else
+- as_dirname=false
+-fi
+-
+ ECHO_C= ECHO_N= ECHO_T=
+-case `echo -n x` in
++case `echo -n x` in #(((((
+ -n*)
+- case `echo 'x\c'` in
++ case `echo 'xy\c'` in
+ *c*) ECHO_T=' ';; # ECHO_T is single tab character.
+- *) ECHO_C='\c';;
++ xy) ECHO_C='\c';;
++ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
++ ECHO_T=' ';;
+ esac;;
+ *)
+ ECHO_N='-n';;
+ esac
+-if expr a : '\(a\)' >/dev/null 2>&1 &&
+- test "X`expr 00001 : '.*\(...\)'`" = X001; then
+- as_expr=expr
+-else
+- as_expr=false
+-fi
+
+ rm -f conf$$ conf$$.exe conf$$.file
+ if test -d conf$$.dir; then
+@@ -534,7 +497,7 @@
+ rmdir conf$$.dir 2>/dev/null
+
+ if mkdir -p . 2>/dev/null; then
+- as_mkdir_p=:
++ as_mkdir_p='mkdir -p "$as_dir"'
+ else
+ test -d ./-p && rmdir ./-p
+ as_mkdir_p=false
+@@ -553,10 +516,10 @@
+ if test -d "$1"; then
+ test -d "$1/.";
+ else
+- case $1 in
++ case $1 in #(
+ -*)set "./$1";;
+ esac;
+- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
++ case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
+ ???[sx]*):;;*)false;;esac;fi
+ '\'' sh
+ '
+@@ -570,11 +533,11 @@
+ as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
+
+
+-
+-exec 7<&0 </dev/null 6>&1
++test -n "$DJDIR" || exec 7<&0 </dev/null
++exec 6>&1
+
+ # Name of the host.
+-# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
++# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
+ # so uname gets run too.
+ ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
+
+@@ -589,7 +552,6 @@
+ subdirs=
+ MFLAGS=
+ MAKEFLAGS=
+-SHELL=${CONFIG_SHELL-/bin/sh}
+
+ # Identity of this package.
+ PACKAGE_NAME=
+@@ -597,6 +559,7 @@
+ PACKAGE_VERSION=
+ PACKAGE_STRING=
+ PACKAGE_BUGREPORT=
++PACKAGE_URL=
+
+ ac_unique_file="close.c"
+ ac_subst_vars='LTLIBOBJS
+@@ -664,6 +627,7 @@
+ program_transform_name
+ prefix
+ exec_prefix
++PACKAGE_URL
+ PACKAGE_BUGREPORT
+ PACKAGE_STRING
+ PACKAGE_VERSION
+@@ -743,8 +707,9 @@
+ fi
+
+ case $ac_option in
+- *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
+- *) ac_optarg=yes ;;
++ *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
++ *=) ac_optarg= ;;
++ *) ac_optarg=yes ;;
+ esac
+
+ # Accept the important Cygnus configure options, so we can diagnose typos.
+@@ -789,8 +754,7 @@
+ ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
+ # Reject names that are not valid shell variable names.
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
+- { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
+- { (exit 1); exit 1; }; }
++ as_fn_error $? "invalid feature name: $ac_useropt"
+ ac_useropt_orig=$ac_useropt
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
+ case $ac_user_opts in
+@@ -816,8 +780,7 @@
+ ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
+ # Reject names that are not valid shell variable names.
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
+- { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
+- { (exit 1); exit 1; }; }
++ as_fn_error $? "invalid feature name: $ac_useropt"
+ ac_useropt_orig=$ac_useropt
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
+ case $ac_user_opts in
+@@ -1021,8 +984,7 @@
+ ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
+ # Reject names that are not valid shell variable names.
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
+- { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
+- { (exit 1); exit 1; }; }
++ as_fn_error $? "invalid package name: $ac_useropt"
+ ac_useropt_orig=$ac_useropt
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
+ case $ac_user_opts in
+@@ -1038,8 +1000,7 @@
+ ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
+ # Reject names that are not valid shell variable names.
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
+- { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
+- { (exit 1); exit 1; }; }
++ as_fn_error $? "invalid package name: $ac_useropt"
+ ac_useropt_orig=$ac_useropt
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
+ case $ac_user_opts in
+@@ -1069,17 +1030,17 @@
+ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
+ x_libraries=$ac_optarg ;;
+
+- -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
+-Try \`$0 --help' for more information." >&2
+- { (exit 1); exit 1; }; }
++ -*) as_fn_error $? "unrecognized option: \`$ac_option'
++Try \`$0 --help' for more information"
+ ;;
+
+ *=*)
+ ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
+ # Reject names that are not valid shell variable names.
+- expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
+- { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
+- { (exit 1); exit 1; }; }
++ case $ac_envvar in #(
++ '' | [0-9]* | *[!_$as_cr_alnum]* )
++ as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
++ esac
+ eval $ac_envvar=\$ac_optarg
+ export $ac_envvar ;;
+
+@@ -1088,7 +1049,7 @@
+ $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
+ expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
+ $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
+- : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
++ : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
+ ;;
+
+ esac
+@@ -1096,15 +1057,13 @@
+
+ if test -n "$ac_prev"; then
+ ac_option=--`echo $ac_prev | sed 's/_/-/g'`
+- { $as_echo "$as_me: error: missing argument to $ac_option" >&2
+- { (exit 1); exit 1; }; }
++ as_fn_error $? "missing argument to $ac_option"
+ fi
+
+ if test -n "$ac_unrecognized_opts"; then
+ case $enable_option_checking in
+ no) ;;
+- fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
+- { (exit 1); exit 1; }; } ;;
++ fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
+ *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
+ esac
+ fi
+@@ -1127,8 +1086,7 @@
+ [\\/$]* | ?:[\\/]* ) continue;;
+ NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
+ esac
+- { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
+- { (exit 1); exit 1; }; }
++ as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
+ done
+
+ # There might be people who depend on the old broken behavior: `$host'
+@@ -1142,8 +1100,8 @@
+ if test "x$host_alias" != x; then
+ if test "x$build_alias" = x; then
+ cross_compiling=maybe
+- $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
+- If a cross compiler is detected then cross compile mode will be used." >&2
++ $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
++ If a cross compiler is detected then cross compile mode will be used" >&2
+ elif test "x$build_alias" != "x$host_alias"; then
+ cross_compiling=yes
+ fi
+@@ -1158,11 +1116,9 @@
+ ac_pwd=`pwd` && test -n "$ac_pwd" &&
+ ac_ls_di=`ls -di .` &&
+ ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
+- { $as_echo "$as_me: error: working directory cannot be determined" >&2
+- { (exit 1); exit 1; }; }
++ as_fn_error $? "working directory cannot be determined"
+ test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
+- { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
+- { (exit 1); exit 1; }; }
++ as_fn_error $? "pwd does not report name of working directory"
+
+
+ # Find the source files, if location was not specified.
+@@ -1201,13 +1157,11 @@
+ fi
+ if test ! -r "$srcdir/$ac_unique_file"; then
+ test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
+- { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
+- { (exit 1); exit 1; }; }
++ as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
+ fi
+ ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
+ ac_abs_confdir=`(
+- cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
+- { (exit 1); exit 1; }; }
++ cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
+ pwd)`
+ # When building in place, set srcdir=.
+ if test "$ac_abs_confdir" = "$ac_pwd"; then
+@@ -1247,7 +1201,7 @@
+ --help=short display options specific to this package
+ --help=recursive display the short help of all the included packages
+ -V, --version display version information and exit
+- -q, --quiet, --silent do not print \`checking...' messages
++ -q, --quiet, --silent do not print \`checking ...' messages
+ --cache-file=FILE cache test results in FILE [disabled]
+ -C, --config-cache alias for \`--cache-file=config.cache'
+ -n, --no-create do not create output files
+@@ -1320,6 +1274,7 @@
+ Use these variables to override the choices made by `configure' or to help
+ it to find libraries and programs with nonstandard names/locations.
+
++Report bugs to the package provider.
+ _ACEOF
+ ac_status=$?
+ fi
+@@ -1383,21 +1338,62 @@
+ if $ac_init_version; then
+ cat <<\_ACEOF
+ configure
+-generated by GNU Autoconf 2.63
++generated by GNU Autoconf 2.68
+
+-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
+-2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
++Copyright (C) 2010 Free Software Foundation, Inc.
+ This configure script is free software; the Free Software Foundation
+ gives unlimited permission to copy, distribute and modify it.
+ _ACEOF
+ exit
+ fi
++
++## ------------------------ ##
++## Autoconf initialization. ##
++## ------------------------ ##
++
++# ac_fn_c_try_compile LINENO
++# --------------------------
++# Try to compile conftest.$ac_ext, and return whether this succeeded.
++ac_fn_c_try_compile ()
++{
++ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
++ rm -f conftest.$ac_objext
++ if { { ac_try="$ac_compile"
++case "(($ac_try" in
++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
++ *) ac_try_echo=$ac_try;;
++esac
++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
++$as_echo "$ac_try_echo"; } >&5
++ (eval "$ac_compile") 2>conftest.err
++ ac_status=$?
++ if test -s conftest.err; then
++ grep -v '^ *+' conftest.err >conftest.er1
++ cat conftest.er1 >&5
++ mv -f conftest.er1 conftest.err
++ fi
++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
++ test $ac_status = 0; } && {
++ test -z "$ac_c_werror_flag" ||
++ test ! -s conftest.err
++ } && test -s conftest.$ac_objext; then :
++ ac_retval=0
++else
++ $as_echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ ac_retval=1
++fi
++ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
++ as_fn_set_status $ac_retval
++
++} # ac_fn_c_try_compile
+ cat >config.log <<_ACEOF
+ This file contains any messages produced by compilers while
+ running configure, to aid debugging if configure makes a mistake.
+
+ It was created by $as_me, which was
+-generated by GNU Autoconf 2.63. Invocation command line was
++generated by GNU Autoconf 2.68. Invocation command line was
+
+ $ $0 $@
+
+@@ -1433,8 +1429,8 @@
+ do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+- $as_echo "PATH: $as_dir"
+-done
++ $as_echo "PATH: $as_dir"
++ done
+ IFS=$as_save_IFS
+
+ } >&5
+@@ -1471,9 +1467,9 @@
+ ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
+ esac
+ case $ac_pass in
+- 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
++ 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
+ 2)
+- ac_configure_args1="$ac_configure_args1 '$ac_arg'"
++ as_fn_append ac_configure_args1 " '$ac_arg'"
+ if test $ac_must_keep_next = true; then
+ ac_must_keep_next=false # Got value, back to normal.
+ else
+@@ -1489,13 +1485,13 @@
+ -* ) ac_must_keep_next=true ;;
+ esac
+ fi
+- ac_configure_args="$ac_configure_args '$ac_arg'"
++ as_fn_append ac_configure_args " '$ac_arg'"
+ ;;
+ esac
+ done
+ done
+-$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
+-$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
++{ ac_configure_args0=; unset ac_configure_args0;}
++{ ac_configure_args1=; unset ac_configure_args1;}
+
+ # When interrupted or exit'd, cleanup temporary files, and complete
+ # config.log. We remove comments because anyway the quotes in there
+@@ -1507,11 +1503,9 @@
+ {
+ echo
+
+- cat <<\_ASBOX
+-## ---------------- ##
++ $as_echo "## ---------------- ##
+ ## Cache variables. ##
+-## ---------------- ##
+-_ASBOX
++## ---------------- ##"
+ echo
+ # The following way of writing the cache mishandles newlines in values,
+ (
+@@ -1520,13 +1514,13 @@
+ case $ac_val in #(
+ *${as_nl}*)
+ case $ac_var in #(
+- *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
++ *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
+ $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
+ esac
+ case $ac_var in #(
+ _ | IFS | as_nl) ;; #(
+ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
+- *) $as_unset $ac_var ;;
++ *) { eval $ac_var=; unset $ac_var;} ;;
+ esac ;;
+ esac
+ done
+@@ -1545,11 +1539,9 @@
+ )
+ echo
+
+- cat <<\_ASBOX
+-## ----------------- ##
++ $as_echo "## ----------------- ##
+ ## Output variables. ##
+-## ----------------- ##
+-_ASBOX
++## ----------------- ##"
+ echo
+ for ac_var in $ac_subst_vars
+ do
+@@ -1562,11 +1554,9 @@
+ echo
+
+ if test -n "$ac_subst_files"; then
+- cat <<\_ASBOX
+-## ------------------- ##
++ $as_echo "## ------------------- ##
+ ## File substitutions. ##
+-## ------------------- ##
+-_ASBOX
++## ------------------- ##"
+ echo
+ for ac_var in $ac_subst_files
+ do
+@@ -1580,11 +1570,9 @@
+ fi
+
+ if test -s confdefs.h; then
+- cat <<\_ASBOX
+-## ----------- ##
++ $as_echo "## ----------- ##
+ ## confdefs.h. ##
+-## ----------- ##
+-_ASBOX
++## ----------- ##"
+ echo
+ cat confdefs.h
+ echo
+@@ -1598,46 +1586,53 @@
+ exit $exit_status
+ ' 0
+ for ac_signal in 1 2 13 15; do
+- trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
++ trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
+ done
+ ac_signal=0
+
+ # confdefs.h avoids OS command line length limits that DEFS can exceed.
+ rm -f -r conftest* confdefs.h
+
++$as_echo "/* confdefs.h */" > confdefs.h
++
+ # Predefined preprocessor variables.
+
+ cat >>confdefs.h <<_ACEOF
+ #define PACKAGE_NAME "$PACKAGE_NAME"
+ _ACEOF
+
+-
+ cat >>confdefs.h <<_ACEOF
+ #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
+ _ACEOF
+
+-
+ cat >>confdefs.h <<_ACEOF
+ #define PACKAGE_VERSION "$PACKAGE_VERSION"
+ _ACEOF
+
+-
+ cat >>confdefs.h <<_ACEOF
+ #define PACKAGE_STRING "$PACKAGE_STRING"
+ _ACEOF
+
+-
+ cat >>confdefs.h <<_ACEOF
+ #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
+ _ACEOF
+
++cat >>confdefs.h <<_ACEOF
++#define PACKAGE_URL "$PACKAGE_URL"
++_ACEOF
++
+
+ # Let the site file select an alternate cache file if it wants to.
+ # Prefer an explicitly selected file to automatically selected ones.
+ ac_site_file1=NONE
+ ac_site_file2=NONE
+ if test -n "$CONFIG_SITE"; then
+- ac_site_file1=$CONFIG_SITE
++ # We do not want a PATH search for config.site.
++ case $CONFIG_SITE in #((
++ -*) ac_site_file1=./$CONFIG_SITE;;
++ */*) ac_site_file1=$CONFIG_SITE;;
++ *) ac_site_file1=./$CONFIG_SITE;;
++ esac
+ elif test "x$prefix" != xNONE; then
+ ac_site_file1=$prefix/share/config.site
+ ac_site_file2=$prefix/etc/config.site
+@@ -1648,19 +1643,23 @@
+ for ac_site_file in "$ac_site_file1" "$ac_site_file2"
+ do
+ test "x$ac_site_file" = xNONE && continue
+- if test -r "$ac_site_file"; then
+- { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
++ if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
+ $as_echo "$as_me: loading site script $ac_site_file" >&6;}
+ sed 's/^/| /' "$ac_site_file" >&5
+- . "$ac_site_file"
++ . "$ac_site_file" \
++ || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
++$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
++as_fn_error $? "failed to load site script $ac_site_file
++See \`config.log' for more details" "$LINENO" 5; }
+ fi
+ done
+
+ if test -r "$cache_file"; then
+- # Some versions of bash will fail to source /dev/null (special
+- # files actually), so we avoid doing that.
+- if test -f "$cache_file"; then
+- { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
++ # Some versions of bash will fail to source /dev/null (special files
++ # actually), so we avoid doing that. DJGPP emulates it as a regular file.
++ if test /dev/null != "$cache_file" && test -f "$cache_file"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
+ $as_echo "$as_me: loading cache $cache_file" >&6;}
+ case $cache_file in
+ [\\/]* | ?:[\\/]* ) . "$cache_file";;
+@@ -1668,7 +1667,7 @@
+ esac
+ fi
+ else
+- { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
++ { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
+ $as_echo "$as_me: creating cache $cache_file" >&6;}
+ >$cache_file
+ fi
+@@ -1683,11 +1682,11 @@
+ eval ac_new_val=\$ac_env_${ac_var}_value
+ case $ac_old_set,$ac_new_set in
+ set,)
+- { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
++ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
+ $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
+ ac_cache_corrupted=: ;;
+ ,set)
+- { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
++ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
+ $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
+ ac_cache_corrupted=: ;;
+ ,);;
+@@ -1697,17 +1696,17 @@
+ ac_old_val_w=`echo x $ac_old_val`
+ ac_new_val_w=`echo x $ac_new_val`
+ if test "$ac_old_val_w" != "$ac_new_val_w"; then
+- { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
++ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
+ $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
+ ac_cache_corrupted=:
+ else
+- { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
++ { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
+ $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
+ eval $ac_var=\$ac_old_val
+ fi
+- { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
++ { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
+ $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
+- { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
++ { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
+ $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
+ fi;;
+ esac
+@@ -1719,35 +1718,20 @@
+ esac
+ case " $ac_configure_args " in
+ *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
+- *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
++ *) as_fn_append ac_configure_args " '$ac_arg'" ;;
+ esac
+ fi
+ done
+ if $ac_cache_corrupted; then
+- { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
++ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+ $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+- { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
++ { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
+ $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
+- { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
+-$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
+- { (exit 1); exit 1; }; }
++ as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
+ fi
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-
++## -------------------- ##
++## Main body of script. ##
++## -------------------- ##
+
+ ac_ext=c
+ ac_cpp='$CPP $CPPFLAGS'
+@@ -1789,9 +1773,7 @@
+ fi
+ done
+ if test -z "$ac_aux_dir"; then
+- { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $libgloss_topdir \"$srcdir\"/$libgloss_topdir" >&5
+-$as_echo "$as_me: error: cannot find install-sh or install.sh in $libgloss_topdir \"$srcdir\"/$libgloss_topdir" >&2;}
+- { (exit 1); exit 1; }; }
++ as_fn_error $? "cannot find install-sh, install.sh, or shtool in $libgloss_topdir \"$srcdir\"/$libgloss_topdir" "$LINENO" 5
+ fi
+
+ # These three variables are undocumented and unsupported,
+@@ -1806,35 +1788,27 @@
+
+ # Make sure we can run config.sub.
+ $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
+- { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
+-$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
+- { (exit 1); exit 1; }; }
++ as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
+
+-{ $as_echo "$as_me:$LINENO: checking build system type" >&5
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
+ $as_echo_n "checking build system type... " >&6; }
+-if test "${ac_cv_build+set}" = set; then
++if ${ac_cv_build+:} false; then :
+ $as_echo_n "(cached) " >&6
+ else
+ ac_build_alias=$build_alias
+ test "x$ac_build_alias" = x &&
+ ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
+ test "x$ac_build_alias" = x &&
+- { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
+-$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
+- { (exit 1); exit 1; }; }
++ as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
+ ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
+- { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
+-$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
+- { (exit 1); exit 1; }; }
++ as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
+
+ fi
+-{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
+ $as_echo "$ac_cv_build" >&6; }
+ case $ac_cv_build in
+ *-*-*) ;;
+-*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
+-$as_echo "$as_me: error: invalid value of canonical build" >&2;}
+- { (exit 1); exit 1; }; };;
++*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
+ esac
+ build=$ac_cv_build
+ ac_save_IFS=$IFS; IFS='-'
+@@ -1850,28 +1824,24 @@
+ case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
+
+
+-{ $as_echo "$as_me:$LINENO: checking host system type" >&5
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
+ $as_echo_n "checking host system type... " >&6; }
+-if test "${ac_cv_host+set}" = set; then
++if ${ac_cv_host+:} false; then :
+ $as_echo_n "(cached) " >&6
+ else
+ if test "x$host_alias" = x; then
+ ac_cv_host=$ac_cv_build
+ else
+ ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
+- { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
+-$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
+- { (exit 1); exit 1; }; }
++ as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
+ fi
+
+ fi
+-{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
+ $as_echo "$ac_cv_host" >&6; }
+ case $ac_cv_host in
+ *-*-*) ;;
+-*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
+-$as_echo "$as_me: error: invalid value of canonical host" >&2;}
+- { (exit 1); exit 1; }; };;
++*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
+ esac
+ host=$ac_cv_host
+ ac_save_IFS=$IFS; IFS='-'
+@@ -1887,28 +1857,24 @@
+ case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
+
+
+-{ $as_echo "$as_me:$LINENO: checking target system type" >&5
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
+ $as_echo_n "checking target system type... " >&6; }
+-if test "${ac_cv_target+set}" = set; then
++if ${ac_cv_target+:} false; then :
+ $as_echo_n "(cached) " >&6
+ else
+ if test "x$target_alias" = x; then
+ ac_cv_target=$ac_cv_host
+ else
+ ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
+- { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
+-$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
+- { (exit 1); exit 1; }; }
++ as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
+ fi
+
+ fi
+-{ $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
+ $as_echo "$ac_cv_target" >&6; }
+ case $ac_cv_target in
+ *-*-*) ;;
+-*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
+-$as_echo "$as_me: error: invalid value of canonical target" >&2;}
+- { (exit 1); exit 1; }; };;
++*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
+ esac
+ target=$ac_cv_target
+ ac_save_IFS=$IFS; IFS='-'
+@@ -1930,6 +1896,7 @@
+ test "$program_prefix$program_suffix$program_transform_name" = \
+ NONENONEs,x,x, &&
+ program_prefix=${target_alias}-
++
+ test "$program_prefix" != NONE &&
+ program_transform_name="s&^&$program_prefix&;$program_transform_name"
+ # Use a double $ so make ignores it.
+@@ -1955,10 +1922,10 @@
+ # OS/2's system install, which has a completely different semantic
+ # ./install, which can be erroneously created by make from ./install.sh.
+ # Reject install programs that cannot install multiple files.
+-{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
+ $as_echo_n "checking for a BSD-compatible install... " >&6; }
+ if test -z "$INSTALL"; then
+-if test "${ac_cv_path_install+set}" = set; then
++if ${ac_cv_path_install+:} false; then :
+ $as_echo_n "(cached) " >&6
+ else
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+@@ -1966,11 +1933,11 @@
+ do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+- # Account for people who put trailing slashes in PATH elements.
+-case $as_dir/ in
+- ./ | .// | /cC/* | \
++ # Account for people who put trailing slashes in PATH elements.
++case $as_dir/ in #((
++ ./ | .// | /[cC]/* | \
+ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
+- ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
++ ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
+ /usr/ucb/* ) ;;
+ *)
+ # OSF1 and SCO ODT 3.0 have their own names for install.
+@@ -2007,7 +1974,7 @@
+ ;;
+ esac
+
+-done
++ done
+ IFS=$as_save_IFS
+
+ rm -rf conftest.one conftest.two conftest.dir
+@@ -2023,7 +1990,7 @@
+ INSTALL=$ac_install_sh
+ fi
+ fi
+-{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
+ $as_echo "$INSTALL" >&6; }
+
+ # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
+@@ -2035,9 +2002,7 @@
+ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
+
+
+-cat >>confdefs.h <<\_ACEOF
+-#define HAVE_GNU_LD 1
+-_ACEOF
++$as_echo "#define HAVE_GNU_LD 1" >>confdefs.h
+
+ case "${target}" in
+ *-*-cygwin*)
+@@ -2046,9 +2011,7 @@
+ ;;
+ arc-*-*)
+ ;;
+- arm-*-pe)
+- ;;
+- arm-*-*)
++ arm*-*-*)
+ ;;
+ bfin-*-*)
+ ;;
+@@ -2085,23 +2048,19 @@
+ z8k-*-*)
+ ;;
+ *)
+- cat >>confdefs.h <<\_ACEOF
+-#define MISSING_SYSCALL_NAMES 1
+-_ACEOF
++ $as_echo "#define MISSING_SYSCALL_NAMES 1" >>confdefs.h
+
+ ;;
+ esac
+
+ case "${target}" in
+ *-*-elf)
+- cat >>confdefs.h <<\_ACEOF
+-#define HAVE_ELF 1
+-_ACEOF
++ $as_echo "#define HAVE_ELF 1" >>confdefs.h
+
+
+- { $as_echo "$as_me:$LINENO: checking for .previous assembler directive" >&5
++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for .previous assembler directive" >&5
+ $as_echo_n "checking for .previous assembler directive... " >&6; }
+-if test "${libc_cv_asm_previous_directive+set}" = set; then
++if ${libc_cv_asm_previous_directive+:} false; then :
+ $as_echo_n "(cached) " >&6
+ else
+ libc_cv_asm_previous_directive=no
+@@ -2110,28 +2069,26 @@
+ .previous
+ EOF
+ if { ac_try='${CC-cc} -c $CFLAGS conftest.s 1>&5'
+- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++ { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+- (exit $ac_status); }; }; then
++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
++ test $ac_status = 0; }; }; then
+ libc_cv_asm_previous_directive=yes
+ fi
+ rm -f conftest*
+ fi
+-{ $as_echo "$as_me:$LINENO: result: $libc_cv_asm_previous_directive" >&5
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_asm_previous_directive" >&5
+ $as_echo "$libc_cv_asm_previous_directive" >&6; }
+
+ if test "x${libc_cv_asm_previous_directive}" = "xyes"; then
+- cat >>confdefs.h <<\_ACEOF
+-#define HAVE_ASM_PREVIOUS_DIRECTIVE 1
+-_ACEOF
++ $as_echo "#define HAVE_ASM_PREVIOUS_DIRECTIVE 1" >>confdefs.h
+
+ fi
+
+- { $as_echo "$as_me:$LINENO: checking for .popsection assembler directive" >&5
++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for .popsection assembler directive" >&5
+ $as_echo_n "checking for .popsection assembler directive... " >&6; }
+-if test "${libc_cv_asm_popsection_directive+set}" = set; then
++if ${libc_cv_asm_popsection_directive+:} false; then :
+ $as_echo_n "(cached) " >&6
+ else
+ libc_cv_asm_popsection_directive=no
+@@ -2140,28 +2097,26 @@
+ .popsection
+ EOF
+ if { ac_try='${CC-cc} -c $CFLAGS conftest.s 1>&5'
+- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++ { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+- (exit $ac_status); }; }; then
++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
++ test $ac_status = 0; }; }; then
+ libc_cv_asm_popsection_directive=yes
+ fi
+ rm -f conftest*
+ fi
+-{ $as_echo "$as_me:$LINENO: result: $libc_cv_asm_popsection_directive" >&5
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_asm_popsection_directive" >&5
+ $as_echo "$libc_cv_asm_popsection_directive" >&6; }
+
+ if test "x${libc_cv_asm_popsection_directive}" = "xyes"; then
+- cat >>confdefs.h <<\_ACEOF
+-#define HAVE_ASM_POPSECTION_DIRECTIVE 1
+-_ACEOF
++ $as_echo "#define HAVE_ASM_POPSECTION_DIRECTIVE 1" >>confdefs.h
+
+ fi
+
+- { $as_echo "$as_me:$LINENO: checking for section attributes" >&5
++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for section attributes" >&5
+ $as_echo_n "checking for section attributes... " >&6; }
+-if test "${libc_cv_section_attributes+set}" = set; then
++if ${libc_cv_section_attributes+:} false; then :
+ $as_echo_n "(cached) " >&6
+ else
+ libc_cv_section_attributes=no
+@@ -2170,67 +2125,63 @@
+ int main() {}
+ EOF
+ if { ac_try='${CC-cc} -c $CFLAGS conftest.c 1>&5'
+- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++ { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+- (exit $ac_status); }; }; then
++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
++ test $ac_status = 0; }; }; then
+ libc_cv_section_attributes=yes
+ fi
+ rm -f conftest*
+ fi
+-{ $as_echo "$as_me:$LINENO: result: $libc_cv_section_attributes" >&5
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_section_attributes" >&5
+ $as_echo "$libc_cv_section_attributes" >&6; }
+ if test "x${libc_cv_section_attributes}" = "xyes"; then
+- cat >>confdefs.h <<\_ACEOF
+-#define HAVE_SECTION_ATTRIBUTES 1
+-_ACEOF
++ $as_echo "#define HAVE_SECTION_ATTRIBUTES 1" >>confdefs.h
+
+ fi
+ ;;
+ esac
+
+-{ $as_echo "$as_me:$LINENO: checking for symbol prefix" >&5
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for symbol prefix" >&5
+ $as_echo_n "checking for symbol prefix... " >&6; }
+-if test "${libc_symbol_prefix+set}" = set; then
++if ${libc_cv_symbol_prefix+:} false; then :
+ $as_echo_n "(cached) " >&6
+ else
+ cat > conftest.c <<\EOF
+ foo () { }
+ EOF
+-libc_symbol_prefix=none
++libc_cv_symbol_prefix=none
+ if { ac_try='${CC-cc} -S conftest.c -o - | fgrep "\$foo" > /dev/null'
+- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++ { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+- (exit $ac_status); }; };
++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
++ test $ac_status = 0; }; };
+ then
+- libc_symbol_prefix='$'
++ libc_cv_symbol_prefix='$'
+ else
+ if { ac_try='${CC-cc} -S conftest.c -o - | fgrep "_foo" > /dev/null'
+- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++ { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+- (exit $ac_status); }; };
++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
++ test $ac_status = 0; }; };
+ then
+- libc_symbol_prefix=_
++ libc_cv_symbol_prefix=_
+ fi
+ fi
+ rm -f conftest*
+ fi
+-{ $as_echo "$as_me:$LINENO: result: $libc_symbol_prefix" >&5
+-$as_echo "$libc_symbol_prefix" >&6; }
+-if test $libc_symbol_prefix != none; then
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_symbol_prefix" >&5
++$as_echo "$libc_cv_symbol_prefix" >&6; }
++if test $libc_cv_symbol_prefix != none; then
+ cat >>confdefs.h <<_ACEOF
+-#define __SYMBOL_PREFIX "$libc_symbol_prefix"
++#define __SYMBOL_PREFIX "$libc_cv_symbol_prefix"
+ _ACEOF
+
+ else
+- cat >>confdefs.h <<\_ACEOF
+-#define __SYMBOL_PREFIX ""
+-_ACEOF
++ $as_echo "#define __SYMBOL_PREFIX \"\"" >>confdefs.h
+
+ fi
+
+@@ -2255,7 +2206,7 @@
+ .PHONY: am__doit
+ END
+ # If we don't find an include directive, just comment out the code.
+-{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
+ $as_echo_n "checking for style of include used by $am_make... " >&6; }
+ am__include="#"
+ am__quote=
+@@ -2283,12 +2234,12 @@
+ fi
+
+
+-{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
+ $as_echo "$_am_result" >&6; }
+ rm -f confinc confmf
+
+ # Check whether --enable-dependency-tracking was given.
+-if test "${enable_dependency_tracking+set}" = set; then
++if test "${enable_dependency_tracking+set}" = set; then :
+ enableval=$enable_dependency_tracking;
+ fi
+
+@@ -2310,9 +2261,9 @@
+
+ # Extract the first word of "gcc", so it can be a program name with args.
+ set dummy gcc; ac_word=$2
+-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+ $as_echo_n "checking for $ac_word... " >&6; }
+-if test "${ac_cv_prog_CC+set}" = set; then
++if ${ac_cv_prog_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+ else
+ if test -n "$CC"; then
+@@ -2323,24 +2274,24 @@
+ do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+- for ac_exec_ext in '' $ac_executable_extensions; do
++ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_CC="gcc"
+- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+ done
+-done
++ done
+ IFS=$as_save_IFS
+
+ fi
+ fi
+ CC=$ac_cv_prog_CC
+ if test -n "$CC"; then
+- { $as_echo "$as_me:$LINENO: result: $CC" >&5
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
+ $as_echo "$CC" >&6; }
+ else
+- { $as_echo "$as_me:$LINENO: result: no" >&5
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+ $as_echo "no" >&6; }
+ fi
+
+@@ -2348,9 +2299,9 @@
+
+ depcc="$CC" am_compiler_list=
+
+-{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
+ $as_echo_n "checking dependency style of $depcc... " >&6; }
+-if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
++if ${am_cv_CC_dependencies_compiler_type+:} false; then :
+ $as_echo_n "(cached) " >&6
+ else
+ if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
+@@ -2438,7 +2389,7 @@
+ fi
+
+ fi
+-{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
+ $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
+ CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
+
+@@ -2458,9 +2409,9 @@
+ if test -z "$CC"; then
+ # Extract the first word of "cc", so it can be a program name with args.
+ set dummy cc; ac_word=$2
+-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+ $as_echo_n "checking for $ac_word... " >&6; }
+-if test "${ac_cv_prog_CC+set}" = set; then
++if ${ac_cv_prog_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+ else
+ if test -n "$CC"; then
+@@ -2472,18 +2423,18 @@
+ do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+- for ac_exec_ext in '' $ac_executable_extensions; do
++ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
+ ac_prog_rejected=yes
+ continue
+ fi
+ ac_cv_prog_CC="cc"
+- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+ done
+-done
++ done
+ IFS=$as_save_IFS
+
+ if test $ac_prog_rejected = yes; then
+@@ -2502,22 +2453,20 @@
+ fi
+ CC=$ac_cv_prog_CC
+ if test -n "$CC"; then
+- { $as_echo "$as_me:$LINENO: result: $CC" >&5
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
+ $as_echo "$CC" >&6; }
+ else
+- { $as_echo "$as_me:$LINENO: result: no" >&5
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+ $as_echo "no" >&6; }
+ fi
+
+
+- test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5
+-$as_echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
+- { (exit 1); exit 1; }; }
++ test -z "$CC" && as_fn_error $? "no acceptable cc found in \$PATH" "$LINENO" 5
+ fi
+
+-{ $as_echo "$as_me:$LINENO: checking whether we are using GNU C" >&5
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using GNU C" >&5
+ $as_echo_n "checking whether we are using GNU C... " >&6; }
+-if test "${ac_cv_c_compiler_gnu+set}" = set; then
++if ${ac_cv_c_compiler_gnu+:} false; then :
+ $as_echo_n "(cached) " >&6
+ else
+ cat > conftest.c <<EOF
+@@ -2526,17 +2475,17 @@
+ #endif
+ EOF
+ if { ac_try='${CC-cc} -E conftest.c'
+- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++ { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+- (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
++ test $ac_status = 0; }; } | egrep yes >/dev/null 2>&1; then
+ ac_cv_c_compiler_gnu=yes
+ else
+ ac_cv_c_compiler_gnu=no
+ fi
+ fi
+-{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
+ $as_echo "$ac_cv_c_compiler_gnu" >&6; }
+
+ if test $ac_cv_c_compiler_gnu = yes; then
+@@ -2546,20 +2495,16 @@
+ CFLAGS=
+ ac_test_CFLAGS=${CFLAGS+set}
+ ac_save_CFLAGS=$CFLAGS
+-{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
+ $as_echo_n "checking whether $CC accepts -g... " >&6; }
+-if test "${ac_cv_prog_cc_g+set}" = set; then
++if ${ac_cv_prog_cc_g+:} false; then :
+ $as_echo_n "(cached) " >&6
+ else
+ ac_save_c_werror_flag=$ac_c_werror_flag
+ ac_c_werror_flag=yes
+ ac_cv_prog_cc_g=no
+ CFLAGS="-g"
+- cat >conftest.$ac_ext <<_ACEOF
+-/* confdefs.h. */
+-_ACEOF
+-cat confdefs.h >>conftest.$ac_ext
+-cat >>conftest.$ac_ext <<_ACEOF
++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ /* end confdefs.h. */
+
+ int
+@@ -2570,75 +2515,11 @@
+ return 0;
+ }
+ _ACEOF
+-rm -f conftest.$ac_objext
+-if { (ac_try="$ac_compile"
+-case "(($ac_try" in
+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+- *) ac_try_echo=$ac_try;;
+-esac
+-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+-$as_echo "$ac_try_echo") >&5
+- (eval "$ac_compile") 2>conftest.er1
+- ac_status=$?
+- grep -v '^ *+' conftest.er1 >conftest.err
+- rm -f conftest.er1
+- cat conftest.err >&5
+- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+- (exit $ac_status); } && {
+- test -z "$ac_c_werror_flag" ||
+- test ! -s conftest.err
+- } && test -s conftest.$ac_objext; then
+- ac_cv_prog_cc_g=yes
+-else
+- $as_echo "$as_me: failed program was:" >&5
+-sed 's/^/| /' conftest.$ac_ext >&5
+-
+- CFLAGS=""
+- cat >conftest.$ac_ext <<_ACEOF
+-/* confdefs.h. */
+-_ACEOF
+-cat confdefs.h >>conftest.$ac_ext
+-cat >>conftest.$ac_ext <<_ACEOF
+-/* end confdefs.h. */
+-
+-int
+-main ()
+-{
+-
+- ;
+- return 0;
+-}
+-_ACEOF
+-rm -f conftest.$ac_objext
+-if { (ac_try="$ac_compile"
+-case "(($ac_try" in
+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+- *) ac_try_echo=$ac_try;;
+-esac
+-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+-$as_echo "$ac_try_echo") >&5
+- (eval "$ac_compile") 2>conftest.er1
+- ac_status=$?
+- grep -v '^ *+' conftest.er1 >conftest.err
+- rm -f conftest.er1
+- cat conftest.err >&5
+- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+- (exit $ac_status); } && {
+- test -z "$ac_c_werror_flag" ||
+- test ! -s conftest.err
+- } && test -s conftest.$ac_objext; then
+- :
+-else
+- $as_echo "$as_me: failed program was:" >&5
+-sed 's/^/| /' conftest.$ac_ext >&5
+-
+- ac_c_werror_flag=$ac_save_c_werror_flag
+- CFLAGS="-g"
+- cat >conftest.$ac_ext <<_ACEOF
+-/* confdefs.h. */
+-_ACEOF
+-cat confdefs.h >>conftest.$ac_ext
+-cat >>conftest.$ac_ext <<_ACEOF
++if ac_fn_c_try_compile "$LINENO"; then :
++ ac_cv_prog_cc_g=yes
++else
++ CFLAGS=""
++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ /* end confdefs.h. */
+
+ int
+@@ -2649,42 +2530,33 @@
+ return 0;
+ }
+ _ACEOF
+-rm -f conftest.$ac_objext
+-if { (ac_try="$ac_compile"
+-case "(($ac_try" in
+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+- *) ac_try_echo=$ac_try;;
+-esac
+-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+-$as_echo "$ac_try_echo") >&5
+- (eval "$ac_compile") 2>conftest.er1
+- ac_status=$?
+- grep -v '^ *+' conftest.er1 >conftest.err
+- rm -f conftest.er1
+- cat conftest.err >&5
+- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+- (exit $ac_status); } && {
+- test -z "$ac_c_werror_flag" ||
+- test ! -s conftest.err
+- } && test -s conftest.$ac_objext; then
+- ac_cv_prog_cc_g=yes
++if ac_fn_c_try_compile "$LINENO"; then :
++
+ else
+- $as_echo "$as_me: failed program was:" >&5
+-sed 's/^/| /' conftest.$ac_ext >&5
++ ac_c_werror_flag=$ac_save_c_werror_flag
++ CFLAGS="-g"
++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
++/* end confdefs.h. */
+
++int
++main ()
++{
+
++ ;
++ return 0;
++}
++_ACEOF
++if ac_fn_c_try_compile "$LINENO"; then :
++ ac_cv_prog_cc_g=yes
+ fi
+-
+ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ fi
+-
+ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ fi
+-
+ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ ac_c_werror_flag=$ac_save_c_werror_flag
+ fi
+-{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
+ $as_echo "$ac_cv_prog_cc_g" >&6; }
+ if test "$ac_test_CFLAGS" = set; then
+ CFLAGS=$ac_save_CFLAGS
+@@ -2722,9 +2594,9 @@
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
+ set dummy ${ac_tool_prefix}ranlib; ac_word=$2
+-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+ $as_echo_n "checking for $ac_word... " >&6; }
+-if test "${ac_cv_prog_RANLIB+set}" = set; then
++if ${ac_cv_prog_RANLIB+:} false; then :
+ $as_echo_n "(cached) " >&6
+ else
+ if test -n "$RANLIB"; then
+@@ -2735,24 +2607,24 @@
+ do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+- for ac_exec_ext in '' $ac_executable_extensions; do
++ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
+- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+ done
+-done
++ done
+ IFS=$as_save_IFS
+
+ fi
+ fi
+ RANLIB=$ac_cv_prog_RANLIB
+ if test -n "$RANLIB"; then
+- { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
+ $as_echo "$RANLIB" >&6; }
+ else
+- { $as_echo "$as_me:$LINENO: result: no" >&5
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+ $as_echo "no" >&6; }
+ fi
+
+@@ -2762,9 +2634,9 @@
+ ac_ct_RANLIB=$RANLIB
+ # Extract the first word of "ranlib", so it can be a program name with args.
+ set dummy ranlib; ac_word=$2
+-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+ $as_echo_n "checking for $ac_word... " >&6; }
+-if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
++if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
+ $as_echo_n "(cached) " >&6
+ else
+ if test -n "$ac_ct_RANLIB"; then
+@@ -2775,24 +2647,24 @@
+ do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+- for ac_exec_ext in '' $ac_executable_extensions; do
++ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_ac_ct_RANLIB="ranlib"
+- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+ done
+-done
++ done
+ IFS=$as_save_IFS
+
+ fi
+ fi
+ ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
+ if test -n "$ac_ct_RANLIB"; then
+- { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
+ $as_echo "$ac_ct_RANLIB" >&6; }
+ else
+- { $as_echo "$as_me:$LINENO: result: no" >&5
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+ $as_echo "no" >&6; }
+ fi
+
+@@ -2801,7 +2673,7 @@
+ else
+ case $cross_compiling:$ac_tool_warned in
+ yes:)
+-{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+ $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ ac_tool_warned=yes ;;
+ esac
+@@ -2854,13 +2726,13 @@
+ case $ac_val in #(
+ *${as_nl}*)
+ case $ac_var in #(
+- *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
++ *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
+ $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
+ esac
+ case $ac_var in #(
+ _ | IFS | as_nl) ;; #(
+ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
+- *) $as_unset $ac_var ;;
++ *) { eval $ac_var=; unset $ac_var;} ;;
+ esac ;;
+ esac
+ done
+@@ -2868,8 +2740,8 @@
+ (set) 2>&1 |
+ case $as_nl`(ac_space=' '; set) 2>&1` in #(
+ *${as_nl}ac_space=\ *)
+- # `set' does not quote correctly, so add quotes (double-quote
+- # substitution turns \\\\ into \\, and sed turns \\ into \).
++ # `set' does not quote correctly, so add quotes: double-quote
++ # substitution turns \\\\ into \\, and sed turns \\ into \.
+ sed -n \
+ "s/'/'\\\\''/g;
+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
+@@ -2891,12 +2763,23 @@
+ :end' >>confcache
+ if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
+ if test -w "$cache_file"; then
+- test "x$cache_file" != "x/dev/null" &&
+- { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
++ if test "x$cache_file" != "x/dev/null"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
+ $as_echo "$as_me: updating cache $cache_file" >&6;}
+- cat confcache >$cache_file
++ if test ! -f "$cache_file" || test -h "$cache_file"; then
++ cat confcache >"$cache_file"
++ else
++ case $cache_file in #(
++ */* | ?:*)
++ mv -f confcache "$cache_file"$$ &&
++ mv -f "$cache_file"$$ "$cache_file" ;; #(
++ *)
++ mv -f confcache "$cache_file" ;;
++ esac
++ fi
++ fi
+ else
+- { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
++ { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
+ $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
+ fi
+ fi
+@@ -2910,14 +2793,15 @@
+
+ ac_libobjs=
+ ac_ltlibobjs=
++U=
+ for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
+ # 1. Remove the extension, and $U if already installed.
+ ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
+ ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
+ # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
+ # will be set to the directory where LIBOBJS objects are built.
+- ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
+- ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
++ as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
++ as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
+ done
+ LIBOBJS=$ac_libobjs
+
+@@ -2925,27 +2809,22 @@
+
+
+ if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
+- { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
+-Usually this means the macro was only invoked conditionally." >&5
+-$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
+-Usually this means the macro was only invoked conditionally." >&2;}
+- { (exit 1); exit 1; }; }
++ as_fn_error $? "conditional \"AMDEP\" was never defined.
++Usually this means the macro was only invoked conditionally." "$LINENO" 5
+ fi
+ if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
+- { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
+-Usually this means the macro was only invoked conditionally." >&5
+-$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
+-Usually this means the macro was only invoked conditionally." >&2;}
+- { (exit 1); exit 1; }; }
++ as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
++Usually this means the macro was only invoked conditionally." "$LINENO" 5
+ fi
+
+-: ${CONFIG_STATUS=./config.status}
++: "${CONFIG_STATUS=./config.status}"
+ ac_write_fail=0
+ ac_clean_files_save=$ac_clean_files
+ ac_clean_files="$ac_clean_files $CONFIG_STATUS"
+-{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
++{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
+ $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
+-cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
++as_write_fail=0
++cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
+ #! $SHELL
+ # Generated by $as_me.
+ # Run this file to recreate the current configuration.
+@@ -2955,17 +2834,18 @@
+ debug=false
+ ac_cs_recheck=false
+ ac_cs_silent=false
+-SHELL=\${CONFIG_SHELL-$SHELL}
+-_ACEOF
+
+-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+-## --------------------- ##
+-## M4sh Initialization. ##
+-## --------------------- ##
++SHELL=\${CONFIG_SHELL-$SHELL}
++export SHELL
++_ASEOF
++cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
++## -------------------- ##
++## M4sh Initialization. ##
++## -------------------- ##
+
+ # Be more Bourne compatible
+ DUALCASE=1; export DUALCASE # for MKS sh
+-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
++if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
+ emulate sh
+ NULLCMD=:
+ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
+@@ -2973,23 +2853,15 @@
+ alias -g '${1+"$@"}'='"$@"'
+ setopt NO_GLOB_SUBST
+ else
+- case `(set -o) 2>/dev/null` in
+- *posix*) set -o posix ;;
++ case `(set -o) 2>/dev/null` in #(
++ *posix*) :
++ set -o posix ;; #(
++ *) :
++ ;;
+ esac
+-
+ fi
+
+
+-
+-
+-# PATH needs CR
+-# Avoid depending upon Character Ranges.
+-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
+-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
+-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
+-as_cr_digits='0123456789'
+-as_cr_alnum=$as_cr_Letters$as_cr_digits
+-
+ as_nl='
+ '
+ export as_nl
+@@ -2997,7 +2869,13 @@
+ as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
+ as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
+ as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
+-if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
++# Prefer a ksh shell builtin over an external printf program on Solaris,
++# but without wasting forks for bash or zsh.
++if test -z "$BASH_VERSION$ZSH_VERSION" \
++ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
++ as_echo='print -r --'
++ as_echo_n='print -rn --'
++elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
+ as_echo='printf %s\n'
+ as_echo_n='printf %s'
+ else
+@@ -3008,7 +2886,7 @@
+ as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
+ as_echo_n_body='eval
+ arg=$1;
+- case $arg in
++ case $arg in #(
+ *"$as_nl"*)
+ expr "X$arg" : "X\\(.*\\)$as_nl";
+ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
+@@ -3031,13 +2909,6 @@
+ }
+ fi
+
+-# Support unset when possible.
+-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
+- as_unset=unset
+-else
+- as_unset=false
+-fi
+-
+
+ # IFS
+ # We need space, tab and new line, in precisely that order. Quoting is
+@@ -3047,15 +2918,16 @@
+ IFS=" "" $as_nl"
+
+ # Find who we are. Look in the path if we contain no directory separator.
+-case $0 in
++as_myself=
++case $0 in #((
+ *[\\/]* ) as_myself=$0 ;;
+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+ for as_dir in $PATH
+ do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
+-done
++ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
++ done
+ IFS=$as_save_IFS
+
+ ;;
+@@ -3067,12 +2939,16 @@
+ fi
+ if test ! -f "$as_myself"; then
+ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
+- { (exit 1); exit 1; }
++ exit 1
+ fi
+
+-# Work around bugs in pre-3.0 UWIN ksh.
+-for as_var in ENV MAIL MAILPATH
+-do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
++# Unset variables that we do not need and which cause bugs (e.g. in
++# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
++# suppresses any "Segmentation fault" message there. '((' could
++# trigger a bug in pdksh 5.2.14.
++for as_var in BASH_ENV ENV MAIL MAILPATH
++do eval test x\${$as_var+set} = xset \
++ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
+ done
+ PS1='$ '
+ PS2='> '
+@@ -3084,7 +2960,89 @@
+ LANGUAGE=C
+ export LANGUAGE
+
+-# Required to use basename.
++# CDPATH.
++(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
++
++
++# as_fn_error STATUS ERROR [LINENO LOG_FD]
++# ----------------------------------------
++# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
++# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
++# script with STATUS, using 1 if that was 0.
++as_fn_error ()
++{
++ as_status=$1; test $as_status -eq 0 && as_status=1
++ if test "$4"; then
++ as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
++ $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
++ fi
++ $as_echo "$as_me: error: $2" >&2
++ as_fn_exit $as_status
++} # as_fn_error
++
++
++# as_fn_set_status STATUS
++# -----------------------
++# Set $? to STATUS, without forking.
++as_fn_set_status ()
++{
++ return $1
++} # as_fn_set_status
++
++# as_fn_exit STATUS
++# -----------------
++# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
++as_fn_exit ()
++{
++ set +e
++ as_fn_set_status $1
++ exit $1
++} # as_fn_exit
++
++# as_fn_unset VAR
++# ---------------
++# Portably unset VAR.
++as_fn_unset ()
++{
++ { eval $1=; unset $1;}
++}
++as_unset=as_fn_unset
++# as_fn_append VAR VALUE
++# ----------------------
++# Append the text in VALUE to the end of the definition contained in VAR. Take
++# advantage of any shell optimizations that allow amortized linear growth over
++# repeated appends, instead of the typical quadratic growth present in naive
++# implementations.
++if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
++ eval 'as_fn_append ()
++ {
++ eval $1+=\$2
++ }'
++else
++ as_fn_append ()
++ {
++ eval $1=\$$1\$2
++ }
++fi # as_fn_append
++
++# as_fn_arith ARG...
++# ------------------
++# Perform arithmetic evaluation on the ARGs, and store the result in the
++# global $as_val. Take advantage of shells that can avoid forks. The arguments
++# must be portable across $(()) and expr.
++if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
++ eval 'as_fn_arith ()
++ {
++ as_val=$(( $* ))
++ }'
++else
++ as_fn_arith ()
++ {
++ as_val=`expr "$@" || test $? -eq 1`
++ }
++fi # as_fn_arith
++
++
+ if expr a : '\(a\)' >/dev/null 2>&1 &&
+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
+ as_expr=expr
+@@ -3098,8 +3056,12 @@
+ as_basename=false
+ fi
+
++if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
++ as_dirname=dirname
++else
++ as_dirname=false
++fi
+
+-# Name of the executable.
+ as_me=`$as_basename -- "$0" ||
+ $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
+ X"$0" : 'X\(//\)$' \| \
+@@ -3119,76 +3081,25 @@
+ }
+ s/.*/./; q'`
+
+-# CDPATH.
+-$as_unset CDPATH
+-
+-
+-
+- as_lineno_1=$LINENO
+- as_lineno_2=$LINENO
+- test "x$as_lineno_1" != "x$as_lineno_2" &&
+- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
+-
+- # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
+- # uniformly replaced by the line number. The first 'sed' inserts a
+- # line-number line after each line using $LINENO; the second 'sed'
+- # does the real work. The second script uses 'N' to pair each
+- # line-number line with the line containing $LINENO, and appends
+- # trailing '-' during substitution so that $LINENO is not a special
+- # case at line end.
+- # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
+- # scripts with optimization help from Paolo Bonzini. Blame Lee
+- # E. McMahon (1931-1989) for sed's syntax. :-)
+- sed -n '
+- p
+- /[$]LINENO/=
+- ' <$as_myself |
+- sed '
+- s/[$]LINENO.*/&-/
+- t lineno
+- b
+- :lineno
+- N
+- :loop
+- s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
+- t loop
+- s/-\n.*//
+- ' >$as_me.lineno &&
+- chmod +x "$as_me.lineno" ||
+- { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
+- { (exit 1); exit 1; }; }
+-
+- # Don't try to exec as it changes $[0], causing all sort of problems
+- # (the dirname of $[0] is not the place where we might find the
+- # original and so on. Autoconf is especially sensitive to this).
+- . "./$as_me.lineno"
+- # Exit status is that of the last command.
+- exit
+-}
+-
+-
+-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
+- as_dirname=dirname
+-else
+- as_dirname=false
+-fi
++# Avoid depending upon Character Ranges.
++as_cr_letters='abcdefghijklmnopqrstuvwxyz'
++as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
++as_cr_Letters=$as_cr_letters$as_cr_LETTERS
++as_cr_digits='0123456789'
++as_cr_alnum=$as_cr_Letters$as_cr_digits
+
+ ECHO_C= ECHO_N= ECHO_T=
+-case `echo -n x` in
++case `echo -n x` in #(((((
+ -n*)
+- case `echo 'x\c'` in
++ case `echo 'xy\c'` in
+ *c*) ECHO_T=' ';; # ECHO_T is single tab character.
+- *) ECHO_C='\c';;
++ xy) ECHO_C='\c';;
++ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
++ ECHO_T=' ';;
+ esac;;
+ *)
+ ECHO_N='-n';;
+ esac
+-if expr a : '\(a\)' >/dev/null 2>&1 &&
+- test "X`expr 00001 : '.*\(...\)'`" = X001; then
+- as_expr=expr
+-else
+- as_expr=false
+-fi
+
+ rm -f conf$$ conf$$.exe conf$$.file
+ if test -d conf$$.dir; then
+@@ -3217,8 +3128,56 @@
+ rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
+ rmdir conf$$.dir 2>/dev/null
+
++
++# as_fn_mkdir_p
++# -------------
++# Create "$as_dir" as a directory, including parents if necessary.
++as_fn_mkdir_p ()
++{
++
++ case $as_dir in #(
++ -*) as_dir=./$as_dir;;
++ esac
++ test -d "$as_dir" || eval $as_mkdir_p || {
++ as_dirs=
++ while :; do
++ case $as_dir in #(
++ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
++ *) as_qdir=$as_dir;;
++ esac
++ as_dirs="'$as_qdir' $as_dirs"
++ as_dir=`$as_dirname -- "$as_dir" ||
++$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
++ X"$as_dir" : 'X\(//\)[^/]' \| \
++ X"$as_dir" : 'X\(//\)$' \| \
++ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
++$as_echo X"$as_dir" |
++ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
++ s//\1/
++ q
++ }
++ /^X\(\/\/\)[^/].*/{
++ s//\1/
++ q
++ }
++ /^X\(\/\/\)$/{
++ s//\1/
++ q
++ }
++ /^X\(\/\).*/{
++ s//\1/
++ q
++ }
++ s/.*/./; q'`
++ test -d "$as_dir" && break
++ done
++ test -z "$as_dirs" || eval "mkdir $as_dirs"
++ } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
++
++
++} # as_fn_mkdir_p
+ if mkdir -p . 2>/dev/null; then
+- as_mkdir_p=:
++ as_mkdir_p='mkdir -p "$as_dir"'
+ else
+ test -d ./-p && rmdir ./-p
+ as_mkdir_p=false
+@@ -3237,10 +3196,10 @@
+ if test -d "$1"; then
+ test -d "$1/.";
+ else
+- case $1 in
++ case $1 in #(
+ -*)set "./$1";;
+ esac;
+- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
++ case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
+ ???[sx]*):;;*)false;;esac;fi
+ '\'' sh
+ '
+@@ -3255,13 +3214,19 @@
+
+
+ exec 6>&1
++## ----------------------------------- ##
++## Main body of $CONFIG_STATUS script. ##
++## ----------------------------------- ##
++_ASEOF
++test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
+
+-# Save the log message, to keep $[0] and so on meaningful, and to
++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
++# Save the log message, to keep $0 and so on meaningful, and to
+ # report actual input values of CONFIG_FILES etc. instead of their
+ # values after options handling.
+ ac_log="
+ This file was extended by $as_me, which was
+-generated by GNU Autoconf 2.63. Invocation command line was
++generated by GNU Autoconf 2.68. Invocation command line was
+
+ CONFIG_FILES = $CONFIG_FILES
+ CONFIG_HEADERS = $CONFIG_HEADERS
+@@ -3293,13 +3258,15 @@
+
+ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+ ac_cs_usage="\
+-\`$as_me' instantiates files from templates according to the
+-current configuration.
++\`$as_me' instantiates files and other configuration actions
++from templates according to the current configuration. Unless the files
++and actions are specified as TAGs, all are instantiated by default.
+
+-Usage: $0 [OPTION]... [FILE]...
++Usage: $0 [OPTION]... [TAG]...
+
+ -h, --help print this help, then exit
+ -V, --version print version number and configuration settings, then exit
++ --config print configuration, then exit
+ -q, --quiet, --silent
+ do not print progress messages
+ -d, --debug don't remove temporary files
+@@ -3318,16 +3285,17 @@
+ Configuration commands:
+ $config_commands
+
+-Report bugs to <bug-autoconf@gnu.org>."
++Report bugs to the package provider."
+
+ _ACEOF
+ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
++ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
+ ac_cs_version="\\
+ config.status
+-configured by $0, generated by GNU Autoconf 2.63,
+- with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
++configured by $0, generated by GNU Autoconf 2.68,
++ with options \\"\$ac_cs_config\\"
+
+-Copyright (C) 2008 Free Software Foundation, Inc.
++Copyright (C) 2010 Free Software Foundation, Inc.
+ This config.status script is free software; the Free Software Foundation
+ gives unlimited permission to copy, distribute and modify it."
+
+@@ -3343,11 +3311,16 @@
+ while test $# != 0
+ do
+ case $1 in
+- --*=*)
++ --*=?*)
+ ac_option=`expr "X$1" : 'X\([^=]*\)='`
+ ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
+ ac_shift=:
+ ;;
++ --*=)
++ ac_option=`expr "X$1" : 'X\([^=]*\)='`
++ ac_optarg=
++ ac_shift=:
++ ;;
+ *)
+ ac_option=$1
+ ac_optarg=$2
+@@ -3361,27 +3334,29 @@
+ ac_cs_recheck=: ;;
+ --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
+ $as_echo "$ac_cs_version"; exit ;;
++ --config | --confi | --conf | --con | --co | --c )
++ $as_echo "$ac_cs_config"; exit ;;
+ --debug | --debu | --deb | --de | --d | -d )
+ debug=: ;;
+ --file | --fil | --fi | --f )
+ $ac_shift
+ case $ac_optarg in
+ *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
++ '') as_fn_error $? "missing file argument" ;;
+ esac
+- CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
++ as_fn_append CONFIG_FILES " '$ac_optarg'"
+ ac_need_defaults=false;;
+ --header | --heade | --head | --hea )
+ $ac_shift
+ case $ac_optarg in
+ *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
+ esac
+- CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
++ as_fn_append CONFIG_HEADERS " '$ac_optarg'"
+ ac_need_defaults=false;;
+ --he | --h)
+ # Conflict between --help and --header
+- { $as_echo "$as_me: error: ambiguous option: $1
+-Try \`$0 --help' for more information." >&2
+- { (exit 1); exit 1; }; };;
++ as_fn_error $? "ambiguous option: \`$1'
++Try \`$0 --help' for more information.";;
+ --help | --hel | -h )
+ $as_echo "$ac_cs_usage"; exit ;;
+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
+@@ -3389,11 +3364,10 @@
+ ac_cs_silent=: ;;
+
+ # This is an error.
+- -*) { $as_echo "$as_me: error: unrecognized option: $1
+-Try \`$0 --help' for more information." >&2
+- { (exit 1); exit 1; }; } ;;
++ -*) as_fn_error $? "unrecognized option: \`$1'
++Try \`$0 --help' for more information." ;;
+
+- *) ac_config_targets="$ac_config_targets $1"
++ *) as_fn_append ac_config_targets " $1"
+ ac_need_defaults=false ;;
+
+ esac
+@@ -3455,9 +3429,7 @@
+ "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
+ "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
+
+- *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
+-$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
+- { (exit 1); exit 1; }; };;
++ *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
+ esac
+ done
+
+@@ -3480,26 +3452,24 @@
+ # after its creation but before its name has been assigned to `$tmp'.
+ $debug ||
+ {
+- tmp=
++ tmp= ac_tmp=
+ trap 'exit_status=$?
+- { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
++ : "${ac_tmp:=$tmp}"
++ { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
+ ' 0
+- trap '{ (exit 1); exit 1; }' 1 2 13 15
++ trap 'as_fn_exit 1' 1 2 13 15
+ }
+ # Create a (secure) tmp directory for tmp files.
+
+ {
+ tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
+- test -n "$tmp" && test -d "$tmp"
++ test -d "$tmp"
+ } ||
+ {
+ tmp=./conf$$-$RANDOM
+ (umask 077 && mkdir "$tmp")
+-} ||
+-{
+- $as_echo "$as_me: cannot create a temporary directory in ." >&2
+- { (exit 1); exit 1; }
+-}
++} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
++ac_tmp=$tmp
+
+ # Set up the scripts for CONFIG_FILES section.
+ # No need to generate them if there are no CONFIG_FILES.
+@@ -3524,7 +3494,13 @@
+ # The final `:' finishes the AND list.
+ ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
+ fi
+-ac_cr=' '
++ac_cr=`echo X | tr X '\015'`
++# On cygwin, bash can eat \r inside `` if the user requested igncr.
++# But we know of no other shell where ac_cr would be empty at this
++# point, so we can use a bashism as a fallback.
++if test "x$ac_cr" = x; then
++ eval ac_cr=\$\'\\r\'
++fi
+ ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
+ if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
+ ac_cs_awk_cr='\\r'
+@@ -3532,21 +3508,19 @@
+ ac_cs_awk_cr=$ac_cr
+ fi
+
+-echo 'BEGIN {' >"$tmp/subs1.awk" &&
++echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
+ _ACEOF
+
+ # Create commands to substitute file output variables.
+ {
+ echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
+- echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
++ echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
+ echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
+ echo "_ACAWK" &&
+ echo "_ACEOF"
+ } >conf$$files.sh &&
+ . ./conf$$files.sh ||
+- { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
+-$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
+- { (exit 1); exit 1; }; }
++ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
+ rm -f conf$$files.sh
+
+ {
+@@ -3554,24 +3528,18 @@
+ echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
+ echo "_ACEOF"
+ } >conf$$subs.sh ||
+- { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
+-$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
+- { (exit 1); exit 1; }; }
+-ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
++ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
++ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
+ ac_delim='%!_!# '
+ for ac_last_try in false false false false false :; do
+ . ./conf$$subs.sh ||
+- { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
+-$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
+- { (exit 1); exit 1; }; }
++ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
+
+ ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
+ if test $ac_delim_n = $ac_delim_num; then
+ break
+ elif $ac_last_try; then
+- { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
+-$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
+- { (exit 1); exit 1; }; }
++ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
+ else
+ ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
+ fi
+@@ -3579,7 +3547,7 @@
+ rm -f conf$$subs.sh
+
+ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+-cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
++cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
+ _ACEOF
+ sed -n '
+ h
+@@ -3593,7 +3561,7 @@
+ t delim
+ :nl
+ h
+-s/\(.\{148\}\).*/\1/
++s/\(.\{148\}\)..*/\1/
+ t more1
+ s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
+ p
+@@ -3607,7 +3575,7 @@
+ t nl
+ :delim
+ h
+-s/\(.\{148\}\).*/\1/
++s/\(.\{148\}\)..*/\1/
+ t more2
+ s/["\\]/\\&/g; s/^/"/; s/$/"/
+ p
+@@ -3627,7 +3595,7 @@
+ rm -f conf$$subs.awk
+ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+ _ACAWK
+-cat >>"\$tmp/subs1.awk" <<_ACAWK &&
++cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
+ for (key in S) S_is_set[key] = 1
+ FS = ""
+ \$ac_cs_awk_pipe_init
+@@ -3665,23 +3633,29 @@
+ sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
+ else
+ cat
+-fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
+- || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
+-$as_echo "$as_me: error: could not setup config files machinery" >&2;}
+- { (exit 1); exit 1; }; }
++fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
++ || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
+ _ACEOF
+
+-# VPATH may cause trouble with some makes, so we remove $(srcdir),
+-# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
++# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
++# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
+ # trailing colons and then remove the whole line if VPATH becomes empty
+ # (actually we leave an empty line to preserve line numbers).
+ if test "x$srcdir" = x.; then
+- ac_vpsub='/^[ ]*VPATH[ ]*=/{
+-s/:*\$(srcdir):*/:/
+-s/:*\${srcdir}:*/:/
+-s/:*@srcdir@:*/:/
+-s/^\([^=]*=[ ]*\):*/\1/
++ ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
++h
++s///
++s/^/:/
++s/[ ]*$/:/
++s/:\$(srcdir):/:/g
++s/:\${srcdir}:/:/g
++s/:@srcdir@:/:/g
++s/^:*//
+ s/:*$//
++x
++s/\(=[ ]*\).*/\1/
++G
++s/\n//
+ s/^[^=]*=[ ]*$//
+ }'
+ fi
+@@ -3693,7 +3667,7 @@
+ # No need to generate them if there are no CONFIG_HEADERS.
+ # This happens for instance with `./config.status Makefile'.
+ if test -n "$CONFIG_HEADERS"; then
+-cat >"$tmp/defines.awk" <<\_ACAWK ||
++cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
+ BEGIN {
+ _ACEOF
+
+@@ -3705,13 +3679,11 @@
+ # handling of long lines.
+ ac_delim='%!_!# '
+ for ac_last_try in false false :; do
+- ac_t=`sed -n "/$ac_delim/p" confdefs.h`
+- if test -z "$ac_t"; then
++ ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
++ if test -z "$ac_tt"; then
+ break
+ elif $ac_last_try; then
+- { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
+-$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
+- { (exit 1); exit 1; }; }
++ as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
+ else
+ ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
+ fi
+@@ -3796,9 +3768,7 @@
+ _ACAWK
+ _ACEOF
+ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+- { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
+-$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
+- { (exit 1); exit 1; }; }
++ as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
+ fi # test -n "$CONFIG_HEADERS"
+
+
+@@ -3811,9 +3781,7 @@
+ esac
+ case $ac_mode$ac_tag in
+ :[FHL]*:*);;
+- :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
+-$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
+- { (exit 1); exit 1; }; };;
++ :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
+ :[FH]-) ac_tag=-:-;;
+ :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
+ esac
+@@ -3832,7 +3800,7 @@
+ for ac_f
+ do
+ case $ac_f in
+- -) ac_f="$tmp/stdin";;
++ -) ac_f="$ac_tmp/stdin";;
+ *) # Look for the file first in the build tree, then in the source tree
+ # (if the path is not absolute). The absolute path cannot be DOS-style,
+ # because $ac_f cannot contain `:'.
+@@ -3841,12 +3809,10 @@
+ [\\/$]*) false;;
+ *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
+ esac ||
+- { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
+-$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
+- { (exit 1); exit 1; }; };;
++ as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
+ esac
+ case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
+- ac_file_inputs="$ac_file_inputs '$ac_f'"
++ as_fn_append ac_file_inputs " '$ac_f'"
+ done
+
+ # Let's still pretend it is `configure' which instantiates (i.e., don't
+@@ -3857,7 +3823,7 @@
+ `' by configure.'
+ if test x"$ac_file" != x-; then
+ configure_input="$ac_file. $configure_input"
+- { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
++ { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
+ $as_echo "$as_me: creating $ac_file" >&6;}
+ fi
+ # Neutralize special characters interpreted by sed in replacement strings.
+@@ -3869,10 +3835,8 @@
+ esac
+
+ case $ac_tag in
+- *:-:* | *:-) cat >"$tmp/stdin" \
+- || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
+-$as_echo "$as_me: error: could not create $ac_file" >&2;}
+- { (exit 1); exit 1; }; } ;;
++ *:-:* | *:-) cat >"$ac_tmp/stdin" \
++ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
+ esac
+ ;;
+ esac
+@@ -3900,47 +3864,7 @@
+ q
+ }
+ s/.*/./; q'`
+- { as_dir="$ac_dir"
+- case $as_dir in #(
+- -*) as_dir=./$as_dir;;
+- esac
+- test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
+- as_dirs=
+- while :; do
+- case $as_dir in #(
+- *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
+- *) as_qdir=$as_dir;;
+- esac
+- as_dirs="'$as_qdir' $as_dirs"
+- as_dir=`$as_dirname -- "$as_dir" ||
+-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+- X"$as_dir" : 'X\(//\)[^/]' \| \
+- X"$as_dir" : 'X\(//\)$' \| \
+- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
+-$as_echo X"$as_dir" |
+- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+- s//\1/
+- q
+- }
+- /^X\(\/\/\)[^/].*/{
+- s//\1/
+- q
+- }
+- /^X\(\/\/\)$/{
+- s//\1/
+- q
+- }
+- /^X\(\/\).*/{
+- s//\1/
+- q
+- }
+- s/.*/./; q'`
+- test -d "$as_dir" && break
+- done
+- test -z "$as_dirs" || eval "mkdir $as_dirs"
+- } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
+-$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
+- { (exit 1); exit 1; }; }; }
++ as_dir="$ac_dir"; as_fn_mkdir_p
+ ac_builddir=.
+
+ case "$ac_dir" in
+@@ -3992,7 +3916,6 @@
+ # If the template does not know about datarootdir, expand it.
+ # FIXME: This hack should be removed a few years after 2.60.
+ ac_datarootdir_hack=; ac_datarootdir_seen=
+-
+ ac_sed_dataroot='
+ /datarootdir/ {
+ p
+@@ -4002,12 +3925,11 @@
+ /@docdir@/p
+ /@infodir@/p
+ /@localedir@/p
+-/@mandir@/p
+-'
++/@mandir@/p'
+ case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
+ *datarootdir*) ac_datarootdir_seen=yes;;
+ *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
+- { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
+ $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
+ _ACEOF
+ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+@@ -4017,7 +3939,7 @@
+ s&@infodir@&$infodir&g
+ s&@localedir@&$localedir&g
+ s&@mandir@&$mandir&g
+- s&\\\${datarootdir}&$datarootdir&g' ;;
++ s&\\\${datarootdir}&$datarootdir&g' ;;
+ esac
+ _ACEOF
+
+@@ -4046,30 +3968,27 @@
+ "
+ eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
+ if $ac_cs_awk_getline; then
+- $AWK -f "$tmp/subs.awk"
++ $AWK -f "$ac_tmp/subs.awk"
+ else
+- $AWK -f "$tmp/subs.awk" | $SHELL
+-fi >$tmp/out \
+- || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
+-$as_echo "$as_me: error: could not create $ac_file" >&2;}
+- { (exit 1); exit 1; }; }
++ $AWK -f "$ac_tmp/subs.awk" | $SHELL
++fi \
++ >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
+
+ test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
+- { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
+- { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
+- { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
+-which seems to be undefined. Please make sure it is defined." >&5
++ { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
++ { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
++ "$ac_tmp/out"`; test -z "$ac_out"; } &&
++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
++which seems to be undefined. Please make sure it is defined" >&5
+ $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
+-which seems to be undefined. Please make sure it is defined." >&2;}
++which seems to be undefined. Please make sure it is defined" >&2;}
+
+- rm -f "$tmp/stdin"
++ rm -f "$ac_tmp/stdin"
+ case $ac_file in
+- -) cat "$tmp/out" && rm -f "$tmp/out";;
+- *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
++ -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
++ *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
+ esac \
+- || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
+-$as_echo "$as_me: error: could not create $ac_file" >&2;}
+- { (exit 1); exit 1; }; }
++ || as_fn_error $? "could not create $ac_file" "$LINENO" 5
+ ;;
+ :H)
+ #
+@@ -4078,31 +3997,25 @@
+ if test x"$ac_file" != x-; then
+ {
+ $as_echo "/* $configure_input */" \
+- && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
+- } >"$tmp/config.h" \
+- || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
+-$as_echo "$as_me: error: could not create $ac_file" >&2;}
+- { (exit 1); exit 1; }; }
+- if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
+- { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
++ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
++ } >"$ac_tmp/config.h" \
++ || as_fn_error $? "could not create $ac_file" "$LINENO" 5
++ if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
+ $as_echo "$as_me: $ac_file is unchanged" >&6;}
+ else
+ rm -f "$ac_file"
+- mv "$tmp/config.h" "$ac_file" \
+- || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
+-$as_echo "$as_me: error: could not create $ac_file" >&2;}
+- { (exit 1); exit 1; }; }
++ mv "$ac_tmp/config.h" "$ac_file" \
++ || as_fn_error $? "could not create $ac_file" "$LINENO" 5
+ fi
+ else
+ $as_echo "/* $configure_input */" \
+- && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
+- || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
+-$as_echo "$as_me: error: could not create -" >&2;}
+- { (exit 1); exit 1; }; }
++ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
++ || as_fn_error $? "could not create -" "$LINENO" 5
+ fi
+ ;;
+
+- :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
++ :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
+ $as_echo "$as_me: executing $ac_file commands" >&6;}
+ ;;
+ esac
+@@ -4186,47 +4099,7 @@
+ q
+ }
+ s/.*/./; q'`
+- { as_dir=$dirpart/$fdir
+- case $as_dir in #(
+- -*) as_dir=./$as_dir;;
+- esac
+- test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
+- as_dirs=
+- while :; do
+- case $as_dir in #(
+- *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
+- *) as_qdir=$as_dir;;
+- esac
+- as_dirs="'$as_qdir' $as_dirs"
+- as_dir=`$as_dirname -- "$as_dir" ||
+-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+- X"$as_dir" : 'X\(//\)[^/]' \| \
+- X"$as_dir" : 'X\(//\)$' \| \
+- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
+-$as_echo X"$as_dir" |
+- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+- s//\1/
+- q
+- }
+- /^X\(\/\/\)[^/].*/{
+- s//\1/
+- q
+- }
+- /^X\(\/\/\)$/{
+- s//\1/
+- q
+- }
+- /^X\(\/\).*/{
+- s//\1/
+- q
+- }
+- s/.*/./; q'`
+- test -d "$as_dir" && break
+- done
+- test -z "$as_dirs" || eval "mkdir $as_dirs"
+- } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
+-$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
+- { (exit 1); exit 1; }; }; }
++ as_dir=$dirpart/$fdir; as_fn_mkdir_p
+ # echo "creating $dirpart/$file"
+ echo '# dummy' > "$dirpart/$file"
+ done
+@@ -4238,15 +4111,12 @@
+ done # for ac_tag
+
+
+-{ (exit 0); exit 0; }
++as_fn_exit 0
+ _ACEOF
+-chmod +x $CONFIG_STATUS
+ ac_clean_files=$ac_clean_files_save
+
+ test $ac_write_fail = 0 ||
+- { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
+-$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
+- { (exit 1); exit 1; }; }
++ as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
+
+
+ # configure is writing to config.log, and then calls config.status.
+@@ -4267,10 +4137,10 @@
+ exec 5>>config.log
+ # Use ||, not &&, to avoid exiting from the if with $? = 1, which
+ # would make configure fail if this is the last instruction.
+- $ac_cs_success || { (exit 1); exit 1; }
++ $ac_cs_success || as_fn_exit 1
+ fi
+ if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
+- { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
+ $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
+ fi
+
+diff -Naur newlib-1.20.0.orig/libgloss/libnosys/configure.in newlib-1.20.0/libgloss/libnosys/configure.in
+--- newlib-1.20.0.orig/libgloss/libnosys/configure.in 2011-06-14 15:40:46.000000000 +0200
++++ newlib-1.20.0/libgloss/libnosys/configure.in 2012-10-15 10:31:19.544619866 +0200
+@@ -45,9 +45,7 @@
+ ;;
+ arc-*-*)
+ ;;
+- arm-*-pe)
+- ;;
+- arm-*-*)
++ arm*-*-*)
+ ;;
+ bfin-*-*)
+ ;;
+@@ -142,24 +140,24 @@
+ ;;
+ esac
+
+-AC_CACHE_CHECK([for symbol prefix], libc_symbol_prefix, [dnl
++AC_CACHE_CHECK([for symbol prefix], libc_cv_symbol_prefix, [dnl
+ cat > conftest.c <<\EOF
+ foo () { }
+ EOF
+ dnl
+-libc_symbol_prefix=none
++libc_cv_symbol_prefix=none
+ if AC_TRY_COMMAND([${CC-cc} -S conftest.c -o - | fgrep "\$foo" > /dev/null]);
+ then
+- libc_symbol_prefix='$'
++ libc_cv_symbol_prefix='$'
+ else
+ if AC_TRY_COMMAND([${CC-cc} -S conftest.c -o - | fgrep "_foo" > /dev/null]);
+ then
+- libc_symbol_prefix=_
++ libc_cv_symbol_prefix=_
+ fi
+ fi
+ rm -f conftest* ])
+-if test $libc_symbol_prefix != none; then
+- AC_DEFINE_UNQUOTED(__SYMBOL_PREFIX, "$libc_symbol_prefix")
++if test $libc_cv_symbol_prefix != none; then
++ AC_DEFINE_UNQUOTED(__SYMBOL_PREFIX, "$libc_cv_symbol_prefix")
+ else
+ AC_DEFINE(__SYMBOL_PREFIX, "")
+ fi
+diff -Naur newlib-1.20.0.orig/libgloss/libnosys/Makefile.in newlib-1.20.0/libgloss/libnosys/Makefile.in
+--- newlib-1.20.0.orig/libgloss/libnosys/Makefile.in 2011-11-08 16:56:49.000000000 +0100
++++ newlib-1.20.0/libgloss/libnosys/Makefile.in 2012-10-15 10:31:19.540619800 +0200
+@@ -78,37 +78,8 @@
+
+ OUTPUTS = libnosys.a
+
+-NEWLIB_CFLAGS = `if [ -d ${objroot}/newlib ]; then echo -I${objroot}/newlib/targ-include -I${srcroot}/newlib/libc/include; fi`
+-NEWLIB_LDFLAGS = `if [ -d ${objroot}/newlib ]; then echo -B${objroot}/newlib/ -L${objroot}/newlib/; fi`
+-
+-INCLUDES = -I. -I$(srcdir)/..
+-# Note that when building the library, ${MULTILIB} is not the way multilib
+-# options are passed; they're passed in $(CFLAGS).
+-CFLAGS_FOR_TARGET = ${MULTILIB} ${INCLUDES} ${NEWLIB_CFLAGS}
+-LDFLAGS_FOR_TARGET = ${MULTILIB} ${NEWLIB_LDFLAGS}
+-AR_FLAGS = qc
+-
+-.c.o:
+- $(CC) $(CFLAGS_FOR_TARGET) -O2 $(INCLUDES) -c $(CFLAGS) $<
+-
+-.C.o:
+- $(CC) $(CFLAGS_FOR_TARGET) -O2 $(INCLUDES) -c $(CFLAGS) $<
+-.s.o:
+- $(AS) $(ASFLAGS_FOR_TARGET) $(INCLUDES) $(ASFLAGS) -o $*.o $<
+-
+-#
+-# GCC knows to run the preprocessor on .S files before it assembles them.
+-#
+-.S.o:
+- $(CC) $(CFLAGS_FOR_TARGET) $(INCLUDES) $(CFLAGS) -c $<
+-
+-#
+-# this is a bogus target that'll produce an assembler from the
+-# C source with the right compiler options. this is so we can
+-# track down code generation or debug symbol bugs.
+-#
+-.c.s:
+- $(CC) $(CFLAGS_FOR_TARGET) -S $(INCLUDES) $(CFLAGS) $<
++# Host specific makefile fragment comes in here.
++@host_makefile_frag@
+
+ all: ${OUTPUTS}
+
+diff -Naur newlib-1.20.0.orig/libgloss/m68k/fido.h newlib-1.20.0/libgloss/m68k/fido.h
+--- newlib-1.20.0.orig/libgloss/m68k/fido.h 2006-12-18 22:48:18.000000000 +0100
++++ newlib-1.20.0/libgloss/m68k/fido.h 2012-10-15 10:31:19.544619866 +0200
+@@ -11,9 +11,9 @@
+ * Wed, 1 June 2005 David L. Deis [DD]
+ *
+ * @par CVS-Info:
+- * $Revision: 1.2 $
+- * $Author: jjohnstn $
+- * $Date: 2006/12/18 21:48:18 $
++ * $Revision$
++ * $Author$
++ * $Date$
+ *
+ * @par Description:
+ * Contains board-specific and onchip memory-mapped register and internal
+diff -Naur newlib-1.20.0.orig/libgloss/mips/configure newlib-1.20.0/libgloss/mips/configure
+--- newlib-1.20.0.orig/libgloss/mips/configure 2008-04-04 23:52:00.000000000 +0200
++++ newlib-1.20.0/libgloss/mips/configure 2012-10-15 10:31:19.547619914 +0200
+@@ -1,60 +1,81 @@
+ #! /bin/sh
+ # Guess values for system-dependent variables and create Makefiles.
+-# Generated by GNU Autoconf 2.61.
++# Generated by GNU Autoconf 2.64.
+ #
+ # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
+-# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
++# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
++# Foundation, Inc.
++#
+ # This configure script is free software; the Free Software Foundation
+ # gives unlimited permission to copy, distribute and modify it.
+-## --------------------- ##
+-## M4sh Initialization. ##
+-## --------------------- ##
++## -------------------- ##
++## M4sh Initialization. ##
++## -------------------- ##
+
+ # Be more Bourne compatible
+ DUALCASE=1; export DUALCASE # for MKS sh
+-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
++if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
+ emulate sh
+ NULLCMD=:
+- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
++ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
+ # is contrary to our usage. Disable this feature.
+ alias -g '${1+"$@"}'='"$@"'
+ setopt NO_GLOB_SUBST
+ else
+- case `(set -o) 2>/dev/null` in
+- *posix*) set -o posix ;;
++ case `(set -o) 2>/dev/null` in #(
++ *posix*) :
++ set -o posix ;; #(
++ *) :
++ ;;
+ esac
+-
+ fi
+
+
+-
+-
+-# PATH needs CR
+-# Avoid depending upon Character Ranges.
+-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
+-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
+-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
+-as_cr_digits='0123456789'
+-as_cr_alnum=$as_cr_Letters$as_cr_digits
+-
+-# The user is always right.
+-if test "${PATH_SEPARATOR+set}" != set; then
+- echo "#! /bin/sh" >conf$$.sh
+- echo "exit 0" >>conf$$.sh
+- chmod +x conf$$.sh
+- if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
+- PATH_SEPARATOR=';'
++as_nl='
++'
++export as_nl
++# Printing a long string crashes Solaris 7 /usr/bin/printf.
++as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
++as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
++as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
++# Prefer a ksh shell builtin over an external printf program on Solaris,
++# but without wasting forks for bash or zsh.
++if test -z "$BASH_VERSION$ZSH_VERSION" \
++ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
++ as_echo='print -r --'
++ as_echo_n='print -rn --'
++elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
++ as_echo='printf %s\n'
++ as_echo_n='printf %s'
++else
++ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
++ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
++ as_echo_n='/usr/ucb/echo -n'
+ else
+- PATH_SEPARATOR=:
++ as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
++ as_echo_n_body='eval
++ arg=$1;
++ case $arg in #(
++ *"$as_nl"*)
++ expr "X$arg" : "X\\(.*\\)$as_nl";
++ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
++ esac;
++ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
++ '
++ export as_echo_n_body
++ as_echo_n='sh -c $as_echo_n_body as_echo'
+ fi
+- rm -f conf$$.sh
++ export as_echo_body
++ as_echo='sh -c $as_echo_body as_echo'
+ fi
+
+-# Support unset when possible.
+-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
+- as_unset=unset
+-else
+- as_unset=false
++# The user is always right.
++if test "${PATH_SEPARATOR+set}" != set; then
++ PATH_SEPARATOR=:
++ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
++ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
++ PATH_SEPARATOR=';'
++ }
+ fi
+
+
+@@ -63,20 +84,18 @@
+ # there to prevent editors from complaining about space-tab.
+ # (If _AS_PATH_WALK were called with IFS unset, it would disable word
+ # splitting by setting IFS to empty value.)
+-as_nl='
+-'
+ IFS=" "" $as_nl"
+
+ # Find who we are. Look in the path if we contain no directory separator.
+-case $0 in
++case $0 in #((
+ *[\\/]* ) as_myself=$0 ;;
+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+ for as_dir in $PATH
+ do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
+-done
++ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
++ done
+ IFS=$as_save_IFS
+
+ ;;
+@@ -87,354 +106,320 @@
+ as_myself=$0
+ fi
+ if test ! -f "$as_myself"; then
+- echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
+- { (exit 1); exit 1; }
++ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
++ exit 1
+ fi
+
+-# Work around bugs in pre-3.0 UWIN ksh.
+-for as_var in ENV MAIL MAILPATH
+-do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
++# Unset variables that we do not need and which cause bugs (e.g. in
++# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
++# suppresses any "Segmentation fault" message there. '((' could
++# trigger a bug in pdksh 5.2.14.
++for as_var in BASH_ENV ENV MAIL MAILPATH
++do eval test x\${$as_var+set} = xset \
++ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
+ done
+ PS1='$ '
+ PS2='> '
+ PS4='+ '
+
+ # NLS nuisances.
+-for as_var in \
+- LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
+- LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
+- LC_TELEPHONE LC_TIME
+-do
+- if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
+- eval $as_var=C; export $as_var
+- else
+- ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
+- fi
+-done
+-
+-# Required to use basename.
+-if expr a : '\(a\)' >/dev/null 2>&1 &&
+- test "X`expr 00001 : '.*\(...\)'`" = X001; then
+- as_expr=expr
+-else
+- as_expr=false
+-fi
+-
+-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
+- as_basename=basename
+-else
+- as_basename=false
+-fi
+-
+-
+-# Name of the executable.
+-as_me=`$as_basename -- "$0" ||
+-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
+- X"$0" : 'X\(//\)$' \| \
+- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
+-echo X/"$0" |
+- sed '/^.*\/\([^/][^/]*\)\/*$/{
+- s//\1/
+- q
+- }
+- /^X\/\(\/\/\)$/{
+- s//\1/
+- q
+- }
+- /^X\/\(\/\).*/{
+- s//\1/
+- q
+- }
+- s/.*/./; q'`
++LC_ALL=C
++export LC_ALL
++LANGUAGE=C
++export LANGUAGE
+
+ # CDPATH.
+-$as_unset CDPATH
+-
++(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
+
+ if test "x$CONFIG_SHELL" = x; then
+- if (eval ":") 2>/dev/null; then
+- as_have_required=yes
++ as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
++ emulate sh
++ NULLCMD=:
++ # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
++ # is contrary to our usage. Disable this feature.
++ alias -g '\${1+\"\$@\"}'='\"\$@\"'
++ setopt NO_GLOB_SUBST
+ else
+- as_have_required=no
++ case \`(set -o) 2>/dev/null\` in #(
++ *posix*) :
++ set -o posix ;; #(
++ *) :
++ ;;
++esac
+ fi
+-
+- if test $as_have_required = yes && (eval ":
+-(as_func_return () {
+- (exit \$1)
+-}
+-as_func_success () {
+- as_func_return 0
+-}
+-as_func_failure () {
+- as_func_return 1
+-}
+-as_func_ret_success () {
+- return 0
+-}
+-as_func_ret_failure () {
+- return 1
+-}
++"
++ as_required="as_fn_return () { (exit \$1); }
++as_fn_success () { as_fn_return 0; }
++as_fn_failure () { as_fn_return 1; }
++as_fn_ret_success () { return 0; }
++as_fn_ret_failure () { return 1; }
+
+ exitcode=0
+-if as_func_success; then
+- :
+-else
+- exitcode=1
+- echo as_func_success failed.
+-fi
++as_fn_success || { exitcode=1; echo as_fn_success failed.; }
++as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
++as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
++as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
++if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
+
+-if as_func_failure; then
+- exitcode=1
+- echo as_func_failure succeeded.
+-fi
+-
+-if as_func_ret_success; then
+- :
+ else
+- exitcode=1
+- echo as_func_ret_success failed.
+-fi
+-
+-if as_func_ret_failure; then
+- exitcode=1
+- echo as_func_ret_failure succeeded.
+-fi
+-
+-if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
+- :
++ exitcode=1; echo positional parameters were not saved.
++fi
++test x\$exitcode = x0 || exit 1"
++ as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
++ as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
++ eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
++ test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
++ if (eval "$as_required") 2>/dev/null; then :
++ as_have_required=yes
+ else
+- exitcode=1
+- echo positional parameters were not saved.
++ as_have_required=no
+ fi
++ if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
+
+-test \$exitcode = 0) || { (exit 1); exit 1; }
+-
+-(
+- as_lineno_1=\$LINENO
+- as_lineno_2=\$LINENO
+- test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
+- test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
+-") 2> /dev/null; then
+- :
+ else
+- as_candidate_shells=
+- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++as_found=false
+ for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
+ do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+- case $as_dir in
++ as_found=:
++ case $as_dir in #(
+ /*)
+ for as_base in sh bash ksh sh5; do
+- as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
++ # Try only shells that exist, to save several forks.
++ as_shell=$as_dir/$as_base
++ if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
++ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
++ CONFIG_SHELL=$as_shell as_have_required=yes
++ if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
++ break 2
++fi
++fi
+ done;;
+ esac
++ as_found=false
+ done
++$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
++ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
++ CONFIG_SHELL=$SHELL as_have_required=yes
++fi; }
+ IFS=$as_save_IFS
+
+
+- for as_shell in $as_candidate_shells $SHELL; do
+- # Try only shells that exist, to save several forks.
+- if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
+- { ("$as_shell") 2> /dev/null <<\_ASEOF
+-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
+- emulate sh
+- NULLCMD=:
+- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
+- # is contrary to our usage. Disable this feature.
+- alias -g '${1+"$@"}'='"$@"'
+- setopt NO_GLOB_SUBST
+-else
+- case `(set -o) 2>/dev/null` in
+- *posix*) set -o posix ;;
+-esac
+-
++ if test "x$CONFIG_SHELL" != x; then :
++ # We cannot yet assume a decent shell, so we have to provide a
++ # neutralization value for shells without unset; and this also
++ # works around shells that cannot unset nonexistent variables.
++ BASH_ENV=/dev/null
++ ENV=/dev/null
++ (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
++ export CONFIG_SHELL
++ exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
++fi
++
++ if test x$as_have_required = xno; then :
++ $as_echo "$0: This script requires a shell more modern than all"
++ $as_echo "$0: the shells that I found on your system."
++ if test x${ZSH_VERSION+set} = xset ; then
++ $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
++ $as_echo "$0: be upgraded to zsh 4.3.4 or later."
++ else
++ $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
++$0: including any error possibly output before this
++$0: message. Then install a modern shell, or manually run
++$0: the script under such a shell if you do have one."
++ fi
++ exit 1
+ fi
+-
+-
+-:
+-_ASEOF
+-}; then
+- CONFIG_SHELL=$as_shell
+- as_have_required=yes
+- if { "$as_shell" 2> /dev/null <<\_ASEOF
+-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
+- emulate sh
+- NULLCMD=:
+- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
+- # is contrary to our usage. Disable this feature.
+- alias -g '${1+"$@"}'='"$@"'
+- setopt NO_GLOB_SUBST
+-else
+- case `(set -o) 2>/dev/null` in
+- *posix*) set -o posix ;;
+-esac
+-
+ fi
++fi
++SHELL=${CONFIG_SHELL-/bin/sh}
++export SHELL
++# Unset more variables known to interfere with behavior of common tools.
++CLICOLOR_FORCE= GREP_OPTIONS=
++unset CLICOLOR_FORCE GREP_OPTIONS
+
+-
+-:
+-(as_func_return () {
+- (exit $1)
+-}
+-as_func_success () {
+- as_func_return 0
+-}
+-as_func_failure () {
+- as_func_return 1
+-}
+-as_func_ret_success () {
+- return 0
+-}
+-as_func_ret_failure () {
+- return 1
++## --------------------- ##
++## M4sh Shell Functions. ##
++## --------------------- ##
++# as_fn_unset VAR
++# ---------------
++# Portably unset VAR.
++as_fn_unset ()
++{
++ { eval $1=; unset $1;}
+ }
++as_unset=as_fn_unset
+
+-exitcode=0
+-if as_func_success; then
+- :
+-else
+- exitcode=1
+- echo as_func_success failed.
+-fi
++# as_fn_set_status STATUS
++# -----------------------
++# Set $? to STATUS, without forking.
++as_fn_set_status ()
++{
++ return $1
++} # as_fn_set_status
+
+-if as_func_failure; then
+- exitcode=1
+- echo as_func_failure succeeded.
+-fi
++# as_fn_exit STATUS
++# -----------------
++# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
++as_fn_exit ()
++{
++ set +e
++ as_fn_set_status $1
++ exit $1
++} # as_fn_exit
++
++# as_fn_mkdir_p
++# -------------
++# Create "$as_dir" as a directory, including parents if necessary.
++as_fn_mkdir_p ()
++{
+
+-if as_func_ret_success; then
+- :
+-else
+- exitcode=1
+- echo as_func_ret_success failed.
+-fi
++ case $as_dir in #(
++ -*) as_dir=./$as_dir;;
++ esac
++ test -d "$as_dir" || eval $as_mkdir_p || {
++ as_dirs=
++ while :; do
++ case $as_dir in #(
++ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
++ *) as_qdir=$as_dir;;
++ esac
++ as_dirs="'$as_qdir' $as_dirs"
++ as_dir=`$as_dirname -- "$as_dir" ||
++$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
++ X"$as_dir" : 'X\(//\)[^/]' \| \
++ X"$as_dir" : 'X\(//\)$' \| \
++ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
++$as_echo X"$as_dir" |
++ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
++ s//\1/
++ q
++ }
++ /^X\(\/\/\)[^/].*/{
++ s//\1/
++ q
++ }
++ /^X\(\/\/\)$/{
++ s//\1/
++ q
++ }
++ /^X\(\/\).*/{
++ s//\1/
++ q
++ }
++ s/.*/./; q'`
++ test -d "$as_dir" && break
++ done
++ test -z "$as_dirs" || eval "mkdir $as_dirs"
++ } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
+
+-if as_func_ret_failure; then
+- exitcode=1
+- echo as_func_ret_failure succeeded.
+-fi
+
+-if ( set x; as_func_ret_success y && test x = "$1" ); then
+- :
++} # as_fn_mkdir_p
++# as_fn_append VAR VALUE
++# ----------------------
++# Append the text in VALUE to the end of the definition contained in VAR. Take
++# advantage of any shell optimizations that allow amortized linear growth over
++# repeated appends, instead of the typical quadratic growth present in naive
++# implementations.
++if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
++ eval 'as_fn_append ()
++ {
++ eval $1+=\$2
++ }'
+ else
+- exitcode=1
+- echo positional parameters were not saved.
+-fi
+-
+-test $exitcode = 0) || { (exit 1); exit 1; }
+-
+-(
+- as_lineno_1=$LINENO
+- as_lineno_2=$LINENO
+- test "x$as_lineno_1" != "x$as_lineno_2" &&
+- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
+-
+-_ASEOF
+-}; then
+- break
+-fi
+-
+-fi
+-
+- done
+-
+- if test "x$CONFIG_SHELL" != x; then
+- for as_var in BASH_ENV ENV
+- do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
+- done
+- export CONFIG_SHELL
+- exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
+-fi
+-
+-
+- if test $as_have_required = no; then
+- echo This script requires a shell more modern than all the
+- echo shells that I found on your system. Please install a
+- echo modern shell, or manually run the script under such a
+- echo shell if you do have one.
+- { (exit 1); exit 1; }
+-fi
+-
+-
+-fi
+-
+-fi
+-
++ as_fn_append ()
++ {
++ eval $1=\$$1\$2
++ }
++fi # as_fn_append
++
++# as_fn_arith ARG...
++# ------------------
++# Perform arithmetic evaluation on the ARGs, and store the result in the
++# global $as_val. Take advantage of shells that can avoid forks. The arguments
++# must be portable across $(()) and expr.
++if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
++ eval 'as_fn_arith ()
++ {
++ as_val=$(( $* ))
++ }'
++else
++ as_fn_arith ()
++ {
++ as_val=`expr "$@" || test $? -eq 1`
++ }
++fi # as_fn_arith
+
+
+-(eval "as_func_return () {
+- (exit \$1)
+-}
+-as_func_success () {
+- as_func_return 0
+-}
+-as_func_failure () {
+- as_func_return 1
+-}
+-as_func_ret_success () {
+- return 0
+-}
+-as_func_ret_failure () {
+- return 1
+-}
++# as_fn_error ERROR [LINENO LOG_FD]
++# ---------------------------------
++# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
++# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
++# script with status $?, using 1 if that was 0.
++as_fn_error ()
++{
++ as_status=$?; test $as_status -eq 0 && as_status=1
++ if test "$3"; then
++ as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
++ $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
++ fi
++ $as_echo "$as_me: error: $1" >&2
++ as_fn_exit $as_status
++} # as_fn_error
+
+-exitcode=0
+-if as_func_success; then
+- :
++if expr a : '\(a\)' >/dev/null 2>&1 &&
++ test "X`expr 00001 : '.*\(...\)'`" = X001; then
++ as_expr=expr
+ else
+- exitcode=1
+- echo as_func_success failed.
+-fi
+-
+-if as_func_failure; then
+- exitcode=1
+- echo as_func_failure succeeded.
++ as_expr=false
+ fi
+
+-if as_func_ret_success; then
+- :
++if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
++ as_basename=basename
+ else
+- exitcode=1
+- echo as_func_ret_success failed.
+-fi
+-
+-if as_func_ret_failure; then
+- exitcode=1
+- echo as_func_ret_failure succeeded.
++ as_basename=false
+ fi
+
+-if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
+- :
++if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
++ as_dirname=dirname
+ else
+- exitcode=1
+- echo positional parameters were not saved.
++ as_dirname=false
+ fi
+
+-test \$exitcode = 0") || {
+- echo No shell found that supports shell functions.
+- echo Please tell autoconf@gnu.org about your system,
+- echo including any error possibly output before this
+- echo message
+-}
++as_me=`$as_basename -- "$0" ||
++$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
++ X"$0" : 'X\(//\)$' \| \
++ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
++$as_echo X/"$0" |
++ sed '/^.*\/\([^/][^/]*\)\/*$/{
++ s//\1/
++ q
++ }
++ /^X\/\(\/\/\)$/{
++ s//\1/
++ q
++ }
++ /^X\/\(\/\).*/{
++ s//\1/
++ q
++ }
++ s/.*/./; q'`
+
++# Avoid depending upon Character Ranges.
++as_cr_letters='abcdefghijklmnopqrstuvwxyz'
++as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
++as_cr_Letters=$as_cr_letters$as_cr_LETTERS
++as_cr_digits='0123456789'
++as_cr_alnum=$as_cr_Letters$as_cr_digits
+
+
+- as_lineno_1=$LINENO
+- as_lineno_2=$LINENO
+- test "x$as_lineno_1" != "x$as_lineno_2" &&
+- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
+-
+- # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
+- # uniformly replaced by the line number. The first 'sed' inserts a
+- # line-number line after each line using $LINENO; the second 'sed'
+- # does the real work. The second script uses 'N' to pair each
+- # line-number line with the line containing $LINENO, and appends
+- # trailing '-' during substitution so that $LINENO is not a special
+- # case at line end.
+- # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
+- # scripts with optimization help from Paolo Bonzini. Blame Lee
+- # E. McMahon (1931-1989) for sed's syntax. :-)
++ as_lineno_1=$LINENO as_lineno_1a=$LINENO
++ as_lineno_2=$LINENO as_lineno_2a=$LINENO
++ eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
++ test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
++ # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
+ sed -n '
+ p
+ /[$]LINENO/=
+@@ -451,8 +436,7 @@
+ s/-\n.*//
+ ' >$as_me.lineno &&
+ chmod +x "$as_me.lineno" ||
+- { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
+- { (exit 1); exit 1; }; }
++ { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
+
+ # Don't try to exec as it changes $[0], causing all sort of problems
+ # (the dirname of $[0] is not the place where we might find the
+@@ -462,202 +446,197 @@
+ exit
+ }
+
+-
+-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
+- as_dirname=dirname
+-else
+- as_dirname=false
+-fi
+-
+ ECHO_C= ECHO_N= ECHO_T=
+-case `echo -n x` in
++case `echo -n x` in #(((((
+ -n*)
+- case `echo 'x\c'` in
++ case `echo 'xy\c'` in
+ *c*) ECHO_T=' ';; # ECHO_T is single tab character.
+- *) ECHO_C='\c';;
++ xy) ECHO_C='\c';;
++ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
++ ECHO_T=' ';;
+ esac;;
+ *)
+ ECHO_N='-n';;
+ esac
+
+-if expr a : '\(a\)' >/dev/null 2>&1 &&
+- test "X`expr 00001 : '.*\(...\)'`" = X001; then
+- as_expr=expr
+-else
+- as_expr=false
+-fi
+-
+-rm -f conf$$ conf$$.exe conf$$.file
+-if test -d conf$$.dir; then
+- rm -f conf$$.dir/conf$$.file
+-else
+- rm -f conf$$.dir
+- mkdir conf$$.dir
+-fi
+-echo >conf$$.file
+-if ln -s conf$$.file conf$$ 2>/dev/null; then
+- as_ln_s='ln -s'
+- # ... but there are two gotchas:
+- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
+- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
+- # In both cases, we have to default to `cp -p'.
+- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
+- as_ln_s='cp -p'
+-elif ln conf$$.file conf$$ 2>/dev/null; then
+- as_ln_s=ln
+-else
+- as_ln_s='cp -p'
+-fi
+-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
+-rmdir conf$$.dir 2>/dev/null
+-
+-if mkdir -p . 2>/dev/null; then
+- as_mkdir_p=:
+-else
+- test -d ./-p && rmdir ./-p
+- as_mkdir_p=false
+-fi
+-
+-if test -x / >/dev/null 2>&1; then
+- as_test_x='test -x'
+-else
+- if ls -dL / >/dev/null 2>&1; then
+- as_ls_L_option=L
+- else
+- as_ls_L_option=
+- fi
+- as_test_x='
+- eval sh -c '\''
+- if test -d "$1"; then
+- test -d "$1/.";
+- else
+- case $1 in
+- -*)set "./$1";;
+- esac;
+- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
+- ???[sx]*):;;*)false;;esac;fi
+- '\'' sh
+- '
+-fi
+-as_executable_p=$as_test_x
+-
+-# Sed expression to map a string onto a valid CPP name.
+-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
+-
+-# Sed expression to map a string onto a valid variable name.
+-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
+-
+-
+-
+-exec 7<&0 </dev/null 6>&1
+-
+-# Name of the host.
+-# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
+-# so uname gets run too.
+-ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
+-
+-#
+-# Initializations.
+-#
+-ac_default_prefix=/usr/local
+-ac_clean_files=
+-ac_config_libobj_dir=.
+-LIBOBJS=
+-cross_compiling=no
+-subdirs=
+-MFLAGS=
+-MAKEFLAGS=
+-SHELL=${CONFIG_SHELL-/bin/sh}
+-
+-# Identity of this package.
+-PACKAGE_NAME=
+-PACKAGE_TARNAME=
+-PACKAGE_VERSION=
+-PACKAGE_STRING=
+-PACKAGE_BUGREPORT=
+-
+-ac_unique_file="crt0.S"
+-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
+-datarootdir
+-datadir
+-sysconfdir
+-sharedstatedir
+-localstatedir
+-includedir
+-oldincludedir
+-docdir
+-infodir
+-htmldir
+-dvidir
+-pdfdir
+-psdir
+-libdir
+-localedir
+-mandir
+-DEFS
+-ECHO_C
+-ECHO_N
+-ECHO_T
+-LIBS
+-build_alias
+-host_alias
+-target_alias
+-build
+-build_cpu
+-build_vendor
+-build_os
+-host
+-host_cpu
+-host_vendor
+-host_os
+-target
+-target_cpu
+-target_vendor
+-target_os
+-INSTALL_PROGRAM
+-INSTALL_SCRIPT
+-INSTALL_DATA
+-CC
+-am__leading_dot
+-DEPDIR
+-am__include
+-am__quote
+-AMDEP_TRUE
+-AMDEP_FALSE
+-AMDEPBACKSLASH
+-CCDEPMODE
+-am__fastdepCC_TRUE
+-am__fastdepCC_FALSE
+-AS
+-AR
+-LD
+-RANLIB
+-CCAS
+-CCASFLAGS
+-host_makefile_frag_path
+-target_makefile_frag_path
+-part_specific_obj
+-part_specific_defines
+-script_list
+-bsp_list
+-crt0
+-pcrt0
++rm -f conf$$ conf$$.exe conf$$.file
++if test -d conf$$.dir; then
++ rm -f conf$$.dir/conf$$.file
++else
++ rm -f conf$$.dir
++ mkdir conf$$.dir 2>/dev/null
++fi
++if (echo >conf$$.file) 2>/dev/null; then
++ if ln -s conf$$.file conf$$ 2>/dev/null; then
++ as_ln_s='ln -s'
++ # ... but there are two gotchas:
++ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
++ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
++ # In both cases, we have to default to `cp -p'.
++ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
++ as_ln_s='cp -p'
++ elif ln conf$$.file conf$$ 2>/dev/null; then
++ as_ln_s=ln
++ else
++ as_ln_s='cp -p'
++ fi
++else
++ as_ln_s='cp -p'
++fi
++rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
++rmdir conf$$.dir 2>/dev/null
++
++if mkdir -p . 2>/dev/null; then
++ as_mkdir_p='mkdir -p "$as_dir"'
++else
++ test -d ./-p && rmdir ./-p
++ as_mkdir_p=false
++fi
++
++if test -x / >/dev/null 2>&1; then
++ as_test_x='test -x'
++else
++ if ls -dL / >/dev/null 2>&1; then
++ as_ls_L_option=L
++ else
++ as_ls_L_option=
++ fi
++ as_test_x='
++ eval sh -c '\''
++ if test -d "$1"; then
++ test -d "$1/.";
++ else
++ case $1 in #(
++ -*)set "./$1";;
++ esac;
++ case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
++ ???[sx]*):;;*)false;;esac;fi
++ '\'' sh
++ '
++fi
++as_executable_p=$as_test_x
++
++# Sed expression to map a string onto a valid CPP name.
++as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
++
++# Sed expression to map a string onto a valid variable name.
++as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
++
++
++exec 7<&0 </dev/null 6>&1
++
++# Name of the host.
++# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
++# so uname gets run too.
++ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
++
++#
++# Initializations.
++#
++ac_default_prefix=/usr/local
++ac_clean_files=
++ac_config_libobj_dir=.
++LIBOBJS=
++cross_compiling=no
++subdirs=
++MFLAGS=
++MAKEFLAGS=
++
++# Identity of this package.
++PACKAGE_NAME=
++PACKAGE_TARNAME=
++PACKAGE_VERSION=
++PACKAGE_STRING=
++PACKAGE_BUGREPORT=
++PACKAGE_URL=
++
++ac_unique_file="crt0.S"
++ac_subst_vars='LTLIBOBJS
+ LIBOBJS
+-LTLIBOBJS'
++pcrt0
++crt0
++bsp_list
++script_list
++part_specific_defines
++part_specific_obj
++target_makefile_frag_path
++host_makefile_frag_path
++CCASFLAGS
++CCAS
++RANLIB
++LD
++AR
++AS
++am__fastdepCC_FALSE
++am__fastdepCC_TRUE
++CCDEPMODE
++AMDEPBACKSLASH
++AMDEP_FALSE
++AMDEP_TRUE
++am__quote
++am__include
++DEPDIR
++am__leading_dot
++CC
++INSTALL_DATA
++INSTALL_SCRIPT
++INSTALL_PROGRAM
++target_os
++target_vendor
++target_cpu
++target
++host_os
++host_vendor
++host_cpu
++host
++build_os
++build_vendor
++build_cpu
++build
++target_alias
++host_alias
++build_alias
++LIBS
++ECHO_T
++ECHO_N
++ECHO_C
++DEFS
++mandir
++localedir
++libdir
++psdir
++pdfdir
++dvidir
++htmldir
++infodir
++docdir
++oldincludedir
++includedir
++localstatedir
++sharedstatedir
++sysconfdir
++datadir
++datarootdir
++libexecdir
++sbindir
++bindir
++program_transform_name
++prefix
++exec_prefix
++PACKAGE_URL
++PACKAGE_BUGREPORT
++PACKAGE_STRING
++PACKAGE_VERSION
++PACKAGE_TARNAME
++PACKAGE_NAME
++PATH_SEPARATOR
++SHELL'
+ ac_subst_files='host_makefile_frag
+ target_makefile_frag'
++ac_user_opts='
++enable_option_checking
++enable_dependency_tracking
++'
+ ac_precious_vars='build_alias
+ host_alias
+ target_alias
+@@ -668,6 +647,8 @@
+ # Initialize some variables set by options.
+ ac_init_help=
+ ac_init_version=false
++ac_unrecognized_opts=
++ac_unrecognized_sep=
+ # The variables have the same names as the options, with
+ # dashes changed to underlines.
+ cache_file=/dev/null
+@@ -766,13 +747,20 @@
+ datarootdir=$ac_optarg ;;
+
+ -disable-* | --disable-*)
+- ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
++ ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
+ # Reject names that are not valid shell variable names.
+- expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
+- { echo "$as_me: error: invalid feature name: $ac_feature" >&2
+- { (exit 1); exit 1; }; }
+- ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
+- eval enable_$ac_feature=no ;;
++ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
++ as_fn_error "invalid feature name: $ac_useropt"
++ ac_useropt_orig=$ac_useropt
++ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
++ case $ac_user_opts in
++ *"
++"enable_$ac_useropt"
++"*) ;;
++ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
++ ac_unrecognized_sep=', ';;
++ esac
++ eval enable_$ac_useropt=no ;;
+
+ -docdir | --docdir | --docdi | --doc | --do)
+ ac_prev=docdir ;;
+@@ -785,13 +773,20 @@
+ dvidir=$ac_optarg ;;
+
+ -enable-* | --enable-*)
+- ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
++ ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
+ # Reject names that are not valid shell variable names.
+- expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
+- { echo "$as_me: error: invalid feature name: $ac_feature" >&2
+- { (exit 1); exit 1; }; }
+- ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
+- eval enable_$ac_feature=\$ac_optarg ;;
++ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
++ as_fn_error "invalid feature name: $ac_useropt"
++ ac_useropt_orig=$ac_useropt
++ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
++ case $ac_user_opts in
++ *"
++"enable_$ac_useropt"
++"*) ;;
++ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
++ ac_unrecognized_sep=', ';;
++ esac
++ eval enable_$ac_useropt=\$ac_optarg ;;
+
+ -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
+ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
+@@ -982,22 +977,36 @@
+ ac_init_version=: ;;
+
+ -with-* | --with-*)
+- ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
++ ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
+ # Reject names that are not valid shell variable names.
+- expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
+- { echo "$as_me: error: invalid package name: $ac_package" >&2
+- { (exit 1); exit 1; }; }
+- ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
+- eval with_$ac_package=\$ac_optarg ;;
++ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
++ as_fn_error "invalid package name: $ac_useropt"
++ ac_useropt_orig=$ac_useropt
++ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
++ case $ac_user_opts in
++ *"
++"with_$ac_useropt"
++"*) ;;
++ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
++ ac_unrecognized_sep=', ';;
++ esac
++ eval with_$ac_useropt=\$ac_optarg ;;
+
+ -without-* | --without-*)
+- ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
++ ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
+ # Reject names that are not valid shell variable names.
+- expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
+- { echo "$as_me: error: invalid package name: $ac_package" >&2
+- { (exit 1); exit 1; }; }
+- ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
+- eval with_$ac_package=no ;;
++ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
++ as_fn_error "invalid package name: $ac_useropt"
++ ac_useropt_orig=$ac_useropt
++ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
++ case $ac_user_opts in
++ *"
++"with_$ac_useropt"
++"*) ;;
++ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
++ ac_unrecognized_sep=', ';;
++ esac
++ eval with_$ac_useropt=no ;;
+
+ --x)
+ # Obsolete; use --with-x.
+@@ -1017,25 +1026,25 @@
+ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
+ x_libraries=$ac_optarg ;;
+
+- -*) { echo "$as_me: error: unrecognized option: $ac_option
+-Try \`$0 --help' for more information." >&2
+- { (exit 1); exit 1; }; }
++ -*) as_fn_error "unrecognized option: \`$ac_option'
++Try \`$0 --help' for more information."
+ ;;
+
+ *=*)
+ ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
+ # Reject names that are not valid shell variable names.
+- expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
+- { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
+- { (exit 1); exit 1; }; }
++ case $ac_envvar in #(
++ '' | [0-9]* | *[!_$as_cr_alnum]* )
++ as_fn_error "invalid variable name: \`$ac_envvar'" ;;
++ esac
+ eval $ac_envvar=\$ac_optarg
+ export $ac_envvar ;;
+
+ *)
+ # FIXME: should be removed in autoconf 3.0.
+- echo "$as_me: WARNING: you should use --build, --host, --target" >&2
++ $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
+ expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
+- echo "$as_me: WARNING: invalid host type: $ac_option" >&2
++ $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
+ : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
+ ;;
+
+@@ -1044,23 +1053,36 @@
+
+ if test -n "$ac_prev"; then
+ ac_option=--`echo $ac_prev | sed 's/_/-/g'`
+- { echo "$as_me: error: missing argument to $ac_option" >&2
+- { (exit 1); exit 1; }; }
++ as_fn_error "missing argument to $ac_option"
+ fi
+
+-# Be sure to have absolute directory names.
++if test -n "$ac_unrecognized_opts"; then
++ case $enable_option_checking in
++ no) ;;
++ fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
++ *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
++ esac
++fi
++
++# Check all directory arguments for consistency.
+ for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
+ datadir sysconfdir sharedstatedir localstatedir includedir \
+ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
+ libdir localedir mandir
+ do
+ eval ac_val=\$$ac_var
++ # Remove trailing slashes.
++ case $ac_val in
++ */ )
++ ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
++ eval $ac_var=\$ac_val;;
++ esac
++ # Be sure to have absolute directory names.
+ case $ac_val in
+ [\\/$]* | ?:[\\/]* ) continue;;
+ NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
+ esac
+- { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
+- { (exit 1); exit 1; }; }
++ as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
+ done
+
+ # There might be people who depend on the old broken behavior: `$host'
+@@ -1074,7 +1096,7 @@
+ if test "x$host_alias" != x; then
+ if test "x$build_alias" = x; then
+ cross_compiling=maybe
+- echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
++ $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
+ If a cross compiler is detected then cross compile mode will be used." >&2
+ elif test "x$build_alias" != "x$host_alias"; then
+ cross_compiling=yes
+@@ -1090,23 +1112,21 @@
+ ac_pwd=`pwd` && test -n "$ac_pwd" &&
+ ac_ls_di=`ls -di .` &&
+ ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
+- { echo "$as_me: error: Working directory cannot be determined" >&2
+- { (exit 1); exit 1; }; }
++ as_fn_error "working directory cannot be determined"
+ test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
+- { echo "$as_me: error: pwd does not report name of working directory" >&2
+- { (exit 1); exit 1; }; }
++ as_fn_error "pwd does not report name of working directory"
+
+
+ # Find the source files, if location was not specified.
+ if test -z "$srcdir"; then
+ ac_srcdir_defaulted=yes
+ # Try the directory containing this script, then the parent directory.
+- ac_confdir=`$as_dirname -- "$0" ||
+-$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+- X"$0" : 'X\(//\)[^/]' \| \
+- X"$0" : 'X\(//\)$' \| \
+- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
+-echo X"$0" |
++ ac_confdir=`$as_dirname -- "$as_myself" ||
++$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
++ X"$as_myself" : 'X\(//\)[^/]' \| \
++ X"$as_myself" : 'X\(//\)$' \| \
++ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
++$as_echo X"$as_myself" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+@@ -1133,13 +1153,11 @@
+ fi
+ if test ! -r "$srcdir/$ac_unique_file"; then
+ test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
+- { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
+- { (exit 1); exit 1; }; }
++ as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
+ fi
+ ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
+ ac_abs_confdir=`(
+- cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
+- { (exit 1); exit 1; }; }
++ cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
+ pwd)`
+ # When building in place, set srcdir=.
+ if test "$ac_abs_confdir" = "$ac_pwd"; then
+@@ -1187,9 +1205,9 @@
+
+ Installation directories:
+ --prefix=PREFIX install architecture-independent files in PREFIX
+- [$ac_default_prefix]
++ [$ac_default_prefix]
+ --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
+- [PREFIX]
++ [PREFIX]
+
+ By default, \`make install' will install all the files in
+ \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
+@@ -1199,25 +1217,25 @@
+ For better control, use the options below.
+
+ Fine tuning of the installation directories:
+- --bindir=DIR user executables [EPREFIX/bin]
+- --sbindir=DIR system admin executables [EPREFIX/sbin]
+- --libexecdir=DIR program executables [EPREFIX/libexec]
+- --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
+- --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
+- --localstatedir=DIR modifiable single-machine data [PREFIX/var]
+- --libdir=DIR object code libraries [EPREFIX/lib]
+- --includedir=DIR C header files [PREFIX/include]
+- --oldincludedir=DIR C header files for non-gcc [/usr/include]
+- --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
+- --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
+- --infodir=DIR info documentation [DATAROOTDIR/info]
+- --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
+- --mandir=DIR man documentation [DATAROOTDIR/man]
+- --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
+- --htmldir=DIR html documentation [DOCDIR]
+- --dvidir=DIR dvi documentation [DOCDIR]
+- --pdfdir=DIR pdf documentation [DOCDIR]
+- --psdir=DIR ps documentation [DOCDIR]
++ --bindir=DIR user executables [EPREFIX/bin]
++ --sbindir=DIR system admin executables [EPREFIX/sbin]
++ --libexecdir=DIR program executables [EPREFIX/libexec]
++ --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
++ --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
++ --localstatedir=DIR modifiable single-machine data [PREFIX/var]
++ --libdir=DIR object code libraries [EPREFIX/lib]
++ --includedir=DIR C header files [PREFIX/include]
++ --oldincludedir=DIR C header files for non-gcc [/usr/include]
++ --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
++ --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
++ --infodir=DIR info documentation [DATAROOTDIR/info]
++ --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
++ --mandir=DIR man documentation [DATAROOTDIR/man]
++ --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
++ --htmldir=DIR html documentation [DOCDIR]
++ --dvidir=DIR dvi documentation [DOCDIR]
++ --pdfdir=DIR pdf documentation [DOCDIR]
++ --psdir=DIR ps documentation [DOCDIR]
+ _ACEOF
+
+ cat <<\_ACEOF
+@@ -1239,6 +1257,7 @@
+ cat <<\_ACEOF
+
+ Optional Features:
++ --disable-option-checking ignore unrecognized --enable/--with options
+ --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
+ --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
+ --disable-dependency-tracking speeds up one-time build
+@@ -1251,6 +1270,7 @@
+ Use these variables to override the choices made by `configure' or to help
+ it to find libraries and programs with nonstandard names/locations.
+
++Report bugs to the package provider.
+ _ACEOF
+ ac_status=$?
+ fi
+@@ -1258,15 +1278,17 @@
+ if test "$ac_init_help" = "recursive"; then
+ # If there are subdirs, report their specific --help.
+ for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
+- test -d "$ac_dir" || continue
++ test -d "$ac_dir" ||
++ { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
++ continue
+ ac_builddir=.
+
+ case "$ac_dir" in
+ .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
+ *)
+- ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
++ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
+ # A ".." for each directory in $ac_dir_suffix.
+- ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
++ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
+ case $ac_top_builddir_sub in
+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
+@@ -1302,7 +1324,7 @@
+ echo &&
+ $SHELL "$ac_srcdir/configure" --help=recursive
+ else
+- echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
++ $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
+ fi || ac_status=$?
+ cd "$ac_pwd" || { ac_status=$?; break; }
+ done
+@@ -1312,21 +1334,62 @@
+ if $ac_init_version; then
+ cat <<\_ACEOF
+ configure
+-generated by GNU Autoconf 2.61
++generated by GNU Autoconf 2.64
+
+-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
+-2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
++Copyright (C) 2009 Free Software Foundation, Inc.
+ This configure script is free software; the Free Software Foundation
+ gives unlimited permission to copy, distribute and modify it.
+ _ACEOF
+ exit
+ fi
++
++## ------------------------ ##
++## Autoconf initialization. ##
++## ------------------------ ##
++
++# ac_fn_c_try_compile LINENO
++# --------------------------
++# Try to compile conftest.$ac_ext, and return whether this succeeded.
++ac_fn_c_try_compile ()
++{
++ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
++ rm -f conftest.$ac_objext
++ if { { ac_try="$ac_compile"
++case "(($ac_try" in
++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
++ *) ac_try_echo=$ac_try;;
++esac
++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
++$as_echo "$ac_try_echo"; } >&5
++ (eval "$ac_compile") 2>conftest.err
++ ac_status=$?
++ if test -s conftest.err; then
++ grep -v '^ *+' conftest.err >conftest.er1
++ cat conftest.er1 >&5
++ mv -f conftest.er1 conftest.err
++ fi
++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
++ test $ac_status = 0; } && {
++ test -z "$ac_c_werror_flag" ||
++ test ! -s conftest.err
++ } && test -s conftest.$ac_objext; then :
++ ac_retval=0
++else
++ $as_echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ ac_retval=1
++fi
++ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
++ return $ac_retval
++
++} # ac_fn_c_try_compile
+ cat >config.log <<_ACEOF
+ This file contains any messages produced by compilers while
+ running configure, to aid debugging if configure makes a mistake.
+
+ It was created by $as_me, which was
+-generated by GNU Autoconf 2.61. Invocation command line was
++generated by GNU Autoconf 2.64. Invocation command line was
+
+ $ $0 $@
+
+@@ -1362,8 +1425,8 @@
+ do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+- echo "PATH: $as_dir"
+-done
++ $as_echo "PATH: $as_dir"
++ done
+ IFS=$as_save_IFS
+
+ } >&5
+@@ -1397,12 +1460,12 @@
+ | -silent | --silent | --silen | --sile | --sil)
+ continue ;;
+ *\'*)
+- ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
++ ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
+ esac
+ case $ac_pass in
+- 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
++ 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
+ 2)
+- ac_configure_args1="$ac_configure_args1 '$ac_arg'"
++ as_fn_append ac_configure_args1 " '$ac_arg'"
+ if test $ac_must_keep_next = true; then
+ ac_must_keep_next=false # Got value, back to normal.
+ else
+@@ -1418,13 +1481,13 @@
+ -* ) ac_must_keep_next=true ;;
+ esac
+ fi
+- ac_configure_args="$ac_configure_args '$ac_arg'"
++ as_fn_append ac_configure_args " '$ac_arg'"
+ ;;
+ esac
+ done
+ done
+-$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
+-$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
++{ ac_configure_args0=; unset ac_configure_args0;}
++{ ac_configure_args1=; unset ac_configure_args1;}
+
+ # When interrupted or exit'd, cleanup temporary files, and complete
+ # config.log. We remove comments because anyway the quotes in there
+@@ -1449,12 +1512,13 @@
+ case $ac_val in #(
+ *${as_nl}*)
+ case $ac_var in #(
+- *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
+-echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
++ *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
++$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
+ esac
+ case $ac_var in #(
+ _ | IFS | as_nl) ;; #(
+- *) $as_unset $ac_var ;;
++ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
++ *) { eval $ac_var=; unset $ac_var;} ;;
+ esac ;;
+ esac
+ done
+@@ -1483,9 +1547,9 @@
+ do
+ eval ac_val=\$$ac_var
+ case $ac_val in
+- *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
++ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
+ esac
+- echo "$ac_var='\''$ac_val'\''"
++ $as_echo "$ac_var='\''$ac_val'\''"
+ done | sort
+ echo
+
+@@ -1500,9 +1564,9 @@
+ do
+ eval ac_val=\$$ac_var
+ case $ac_val in
+- *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
++ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
+ esac
+- echo "$ac_var='\''$ac_val'\''"
++ $as_echo "$ac_var='\''$ac_val'\''"
+ done | sort
+ echo
+ fi
+@@ -1518,64 +1582,69 @@
+ echo
+ fi
+ test "$ac_signal" != 0 &&
+- echo "$as_me: caught signal $ac_signal"
+- echo "$as_me: exit $exit_status"
++ $as_echo "$as_me: caught signal $ac_signal"
++ $as_echo "$as_me: exit $exit_status"
+ } >&5
+ rm -f core *.core core.conftest.* &&
+ rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
+ exit $exit_status
+ ' 0
+ for ac_signal in 1 2 13 15; do
+- trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
++ trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
+ done
+ ac_signal=0
+
+ # confdefs.h avoids OS command line length limits that DEFS can exceed.
+ rm -f -r conftest* confdefs.h
+
++$as_echo "/* confdefs.h */" > confdefs.h
++
+ # Predefined preprocessor variables.
+
+ cat >>confdefs.h <<_ACEOF
+ #define PACKAGE_NAME "$PACKAGE_NAME"
+ _ACEOF
+
+-
+ cat >>confdefs.h <<_ACEOF
+ #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
+ _ACEOF
+
+-
+ cat >>confdefs.h <<_ACEOF
+ #define PACKAGE_VERSION "$PACKAGE_VERSION"
+ _ACEOF
+
+-
+ cat >>confdefs.h <<_ACEOF
+ #define PACKAGE_STRING "$PACKAGE_STRING"
+ _ACEOF
+
+-
+ cat >>confdefs.h <<_ACEOF
+ #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
+ _ACEOF
+
++cat >>confdefs.h <<_ACEOF
++#define PACKAGE_URL "$PACKAGE_URL"
++_ACEOF
++
+
+ # Let the site file select an alternate cache file if it wants to.
+-# Prefer explicitly selected file to automatically selected ones.
++# Prefer an explicitly selected file to automatically selected ones.
++ac_site_file1=NONE
++ac_site_file2=NONE
+ if test -n "$CONFIG_SITE"; then
+- set x "$CONFIG_SITE"
++ ac_site_file1=$CONFIG_SITE
+ elif test "x$prefix" != xNONE; then
+- set x "$prefix/share/config.site" "$prefix/etc/config.site"
++ ac_site_file1=$prefix/share/config.site
++ ac_site_file2=$prefix/etc/config.site
+ else
+- set x "$ac_default_prefix/share/config.site" \
+- "$ac_default_prefix/etc/config.site"
++ ac_site_file1=$ac_default_prefix/share/config.site
++ ac_site_file2=$ac_default_prefix/etc/config.site
+ fi
+-shift
+-for ac_site_file
++for ac_site_file in "$ac_site_file1" "$ac_site_file2"
+ do
++ test "x$ac_site_file" = xNONE && continue
+ if test -r "$ac_site_file"; then
+- { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
+-echo "$as_me: loading site script $ac_site_file" >&6;}
++ { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
++$as_echo "$as_me: loading site script $ac_site_file" >&6;}
+ sed 's/^/| /' "$ac_site_file" >&5
+ . "$ac_site_file"
+ fi
+@@ -1585,16 +1654,16 @@
+ # Some versions of bash will fail to source /dev/null (special
+ # files actually), so we avoid doing that.
+ if test -f "$cache_file"; then
+- { echo "$as_me:$LINENO: loading cache $cache_file" >&5
+-echo "$as_me: loading cache $cache_file" >&6;}
++ { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
++$as_echo "$as_me: loading cache $cache_file" >&6;}
+ case $cache_file in
+ [\\/]* | ?:[\\/]* ) . "$cache_file";;
+ *) . "./$cache_file";;
+ esac
+ fi
+ else
+- { echo "$as_me:$LINENO: creating cache $cache_file" >&5
+-echo "$as_me: creating cache $cache_file" >&6;}
++ { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
++$as_echo "$as_me: creating cache $cache_file" >&6;}
+ >$cache_file
+ fi
+
+@@ -1608,60 +1677,56 @@
+ eval ac_new_val=\$ac_env_${ac_var}_value
+ case $ac_old_set,$ac_new_set in
+ set,)
+- { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
+-echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
++ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
++$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
+ ac_cache_corrupted=: ;;
+ ,set)
+- { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
+-echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
++ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
++$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
+ ac_cache_corrupted=: ;;
+ ,);;
+ *)
+ if test "x$ac_old_val" != "x$ac_new_val"; then
+- { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
+-echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
+- { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
+-echo "$as_me: former value: $ac_old_val" >&2;}
+- { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
+-echo "$as_me: current value: $ac_new_val" >&2;}
+- ac_cache_corrupted=:
++ # differences in whitespace do not lead to failure.
++ ac_old_val_w=`echo x $ac_old_val`
++ ac_new_val_w=`echo x $ac_new_val`
++ if test "$ac_old_val_w" != "$ac_new_val_w"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
++$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
++ ac_cache_corrupted=:
++ else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
++$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
++ eval $ac_var=\$ac_old_val
++ fi
++ { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
++$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
++ { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
++$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
+ fi;;
+ esac
+ # Pass precious variables to config.status.
+ if test "$ac_new_set" = set; then
+ case $ac_new_val in
+- *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
++ *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
+ *) ac_arg=$ac_var=$ac_new_val ;;
+ esac
+ case " $ac_configure_args " in
+ *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
+- *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
++ *) as_fn_append ac_configure_args " '$ac_arg'" ;;
+ esac
+ fi
+ done
+ if $ac_cache_corrupted; then
+- { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
+-echo "$as_me: error: changes in the environment can compromise the build" >&2;}
+- { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
+-echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
+- { (exit 1); exit 1; }; }
+-fi
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-
++ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
++$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
++ { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
++$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
++ as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
++fi
++## -------------------- ##
++## Main body of script. ##
++## -------------------- ##
+
+ ac_ext=c
+ ac_cpp='$CPP $CPPFLAGS'
+@@ -1686,24 +1751,16 @@
+ fi
+ ac_aux_dir=
+ for ac_dir in $libgloss_topdir "$srcdir"/$libgloss_topdir; do
+- if test -f "$ac_dir/install-sh"; then
+- ac_aux_dir=$ac_dir
+- ac_install_sh="$ac_aux_dir/install-sh -c"
+- break
+- elif test -f "$ac_dir/install.sh"; then
+- ac_aux_dir=$ac_dir
+- ac_install_sh="$ac_aux_dir/install.sh -c"
+- break
+- elif test -f "$ac_dir/shtool"; then
+- ac_aux_dir=$ac_dir
+- ac_install_sh="$ac_aux_dir/shtool install -c"
+- break
+- fi
++ for ac_t in install-sh install.sh shtool; do
++ if test -f "$ac_dir/$ac_t"; then
++ ac_aux_dir=$ac_dir
++ ac_install_sh="$ac_aux_dir/$ac_t -c"
++ break 2
++ fi
++ done
+ done
+ if test -z "$ac_aux_dir"; then
+- { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $libgloss_topdir \"$srcdir\"/$libgloss_topdir" >&5
+-echo "$as_me: error: cannot find install-sh or install.sh in $libgloss_topdir \"$srcdir\"/$libgloss_topdir" >&2;}
+- { (exit 1); exit 1; }; }
++ as_fn_error "cannot find install-sh, install.sh, or shtool in $libgloss_topdir \"$srcdir\"/$libgloss_topdir" "$LINENO" 5
+ fi
+
+ # These three variables are undocumented and unsupported,
+@@ -1718,35 +1775,27 @@
+
+ # Make sure we can run config.sub.
+ $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
+- { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
+-echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
+- { (exit 1); exit 1; }; }
+-
+-{ echo "$as_me:$LINENO: checking build system type" >&5
+-echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
+-if test "${ac_cv_build+set}" = set; then
+- echo $ECHO_N "(cached) $ECHO_C" >&6
++ as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
++
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
++$as_echo_n "checking build system type... " >&6; }
++if test "${ac_cv_build+set}" = set; then :
++ $as_echo_n "(cached) " >&6
+ else
+ ac_build_alias=$build_alias
+ test "x$ac_build_alias" = x &&
+ ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
+ test "x$ac_build_alias" = x &&
+- { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
+-echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
+- { (exit 1); exit 1; }; }
++ as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
+ ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
+- { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
+-echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
+- { (exit 1); exit 1; }; }
++ as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
+
+ fi
+-{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
+-echo "${ECHO_T}$ac_cv_build" >&6; }
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
++$as_echo "$ac_cv_build" >&6; }
+ case $ac_cv_build in
+ *-*-*) ;;
+-*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
+-echo "$as_me: error: invalid value of canonical build" >&2;}
+- { (exit 1); exit 1; }; };;
++*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
+ esac
+ build=$ac_cv_build
+ ac_save_IFS=$IFS; IFS='-'
+@@ -1762,28 +1811,24 @@
+ case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
+
+
+-{ echo "$as_me:$LINENO: checking host system type" >&5
+-echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
+-if test "${ac_cv_host+set}" = set; then
+- echo $ECHO_N "(cached) $ECHO_C" >&6
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
++$as_echo_n "checking host system type... " >&6; }
++if test "${ac_cv_host+set}" = set; then :
++ $as_echo_n "(cached) " >&6
+ else
+ if test "x$host_alias" = x; then
+ ac_cv_host=$ac_cv_build
+ else
+ ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
+- { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
+-echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
+- { (exit 1); exit 1; }; }
++ as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
+ fi
+
+ fi
+-{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
+-echo "${ECHO_T}$ac_cv_host" >&6; }
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
++$as_echo "$ac_cv_host" >&6; }
+ case $ac_cv_host in
+ *-*-*) ;;
+-*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
+-echo "$as_me: error: invalid value of canonical host" >&2;}
+- { (exit 1); exit 1; }; };;
++*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
+ esac
+ host=$ac_cv_host
+ ac_save_IFS=$IFS; IFS='-'
+@@ -1799,28 +1844,24 @@
+ case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
+
+
+-{ echo "$as_me:$LINENO: checking target system type" >&5
+-echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
+-if test "${ac_cv_target+set}" = set; then
+- echo $ECHO_N "(cached) $ECHO_C" >&6
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
++$as_echo_n "checking target system type... " >&6; }
++if test "${ac_cv_target+set}" = set; then :
++ $as_echo_n "(cached) " >&6
+ else
+ if test "x$target_alias" = x; then
+ ac_cv_target=$ac_cv_host
+ else
+ ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
+- { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
+-echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
+- { (exit 1); exit 1; }; }
++ as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
+ fi
+
+ fi
+-{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
+-echo "${ECHO_T}$ac_cv_target" >&6; }
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
++$as_echo "$ac_cv_target" >&6; }
+ case $ac_cv_target in
+ *-*-*) ;;
+-*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
+-echo "$as_me: error: invalid value of canonical target" >&2;}
+- { (exit 1); exit 1; }; };;
++*) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
+ esac
+ target=$ac_cv_target
+ ac_save_IFS=$IFS; IFS='-'
+@@ -1842,18 +1883,16 @@
+ test "$program_prefix$program_suffix$program_transform_name" = \
+ NONENONEs,x,x, &&
+ program_prefix=${target_alias}-
++
+ test "$program_prefix" != NONE &&
+ program_transform_name="s&^&$program_prefix&;$program_transform_name"
+ # Use a double $ so make ignores it.
+ test "$program_suffix" != NONE &&
+ program_transform_name="s&\$&$program_suffix&;$program_transform_name"
+-# Double any \ or $. echo might interpret backslashes.
++# Double any \ or $.
+ # By default was `s,x,x', remove it if useless.
+-cat <<\_ACEOF >conftest.sed
+-s/[\\$]/&&/g;s/;s,x,x,$//
+-_ACEOF
+-program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
+-rm -f conftest.sed
++ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
++program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
+
+
+ # Find a good install program. We prefer a C program (faster),
+@@ -1869,22 +1908,23 @@
+ # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
+ # OS/2's system install, which has a completely different semantic
+ # ./install, which can be erroneously created by make from ./install.sh.
+-{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
+-echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
++# Reject install programs that cannot install multiple files.
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
++$as_echo_n "checking for a BSD-compatible install... " >&6; }
+ if test -z "$INSTALL"; then
+-if test "${ac_cv_path_install+set}" = set; then
+- echo $ECHO_N "(cached) $ECHO_C" >&6
++if test "${ac_cv_path_install+set}" = set; then :
++ $as_echo_n "(cached) " >&6
+ else
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+ for as_dir in $PATH
+ do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+- # Account for people who put trailing slashes in PATH elements.
+-case $as_dir/ in
+- ./ | .// | /cC/* | \
++ # Account for people who put trailing slashes in PATH elements.
++case $as_dir/ in #((
++ ./ | .// | /[cC]/* | \
+ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
+- ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
++ ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
+ /usr/ucb/* ) ;;
+ *)
+ # OSF1 and SCO ODT 3.0 have their own names for install.
+@@ -1902,17 +1942,29 @@
+ # program-specific install script used by HP pwplus--don't use.
+ :
+ else
+- ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
+- break 3
++ rm -rf conftest.one conftest.two conftest.dir
++ echo one > conftest.one
++ echo two > conftest.two
++ mkdir conftest.dir
++ if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
++ test -s conftest.one && test -s conftest.two &&
++ test -s conftest.dir/conftest.one &&
++ test -s conftest.dir/conftest.two
++ then
++ ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
++ break 3
++ fi
+ fi
+ fi
+ done
+ done
+ ;;
+ esac
+-done
++
++ done
+ IFS=$as_save_IFS
+
++rm -rf conftest.one conftest.two conftest.dir
+
+ fi
+ if test "${ac_cv_path_install+set}" = set; then
+@@ -1925,8 +1977,8 @@
+ INSTALL=$ac_install_sh
+ fi
+ fi
+-{ echo "$as_me:$LINENO: result: $INSTALL" >&5
+-echo "${ECHO_T}$INSTALL" >&6; }
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
++$as_echo "$INSTALL" >&6; }
+
+ # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
+ # It thinks the first close brace ends the variable substitution.
+@@ -1958,8 +2010,8 @@
+ .PHONY: am__doit
+ END
+ # If we don't find an include directive, just comment out the code.
+-{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
+-echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
++$as_echo_n "checking for style of include used by $am_make... " >&6; }
+ am__include="#"
+ am__quote=
+ _am_result=none
+@@ -1986,12 +2038,12 @@
+ fi
+
+
+-{ echo "$as_me:$LINENO: result: $_am_result" >&5
+-echo "${ECHO_T}$_am_result" >&6; }
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
++$as_echo "$_am_result" >&6; }
+ rm -f confinc confmf
+
+ # Check whether --enable-dependency-tracking was given.
+-if test "${enable_dependency_tracking+set}" = set; then
++if test "${enable_dependency_tracking+set}" = set; then :
+ enableval=$enable_dependency_tracking;
+ fi
+
+@@ -2013,10 +2065,10 @@
+
+ # Extract the first word of "gcc", so it can be a program name with args.
+ set dummy gcc; ac_word=$2
+-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
+-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
+-if test "${ac_cv_prog_CC+set}" = set; then
+- echo $ECHO_N "(cached) $ECHO_C" >&6
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
++$as_echo_n "checking for $ac_word... " >&6; }
++if test "${ac_cv_prog_CC+set}" = set; then :
++ $as_echo_n "(cached) " >&6
+ else
+ if test -n "$CC"; then
+ ac_cv_prog_CC="$CC" # Let the user override the test.
+@@ -2026,35 +2078,35 @@
+ do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+- for ac_exec_ext in '' $ac_executable_extensions; do
++ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_CC="gcc"
+- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+ done
+-done
++ done
+ IFS=$as_save_IFS
+
+ fi
+ fi
+ CC=$ac_cv_prog_CC
+ if test -n "$CC"; then
+- { echo "$as_me:$LINENO: result: $CC" >&5
+-echo "${ECHO_T}$CC" >&6; }
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
++$as_echo "$CC" >&6; }
+ else
+- { echo "$as_me:$LINENO: result: no" >&5
+-echo "${ECHO_T}no" >&6; }
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
++$as_echo "no" >&6; }
+ fi
+
+
+
+ depcc="$CC" am_compiler_list=
+
+-{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
+-echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
+-if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
+- echo $ECHO_N "(cached) $ECHO_C" >&6
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
++$as_echo_n "checking dependency style of $depcc... " >&6; }
++if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
++ $as_echo_n "(cached) " >&6
+ else
+ if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
+ # We make a subdir and do the tests there. Otherwise we can end up
+@@ -2141,8 +2193,8 @@
+ fi
+
+ fi
+-{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
+-echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
++$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
+ CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
+
+
+@@ -2161,10 +2213,10 @@
+ if test -z "$CC"; then
+ # Extract the first word of "cc", so it can be a program name with args.
+ set dummy cc; ac_word=$2
+-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
+-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
+-if test "${ac_cv_prog_CC+set}" = set; then
+- echo $ECHO_N "(cached) $ECHO_C" >&6
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
++$as_echo_n "checking for $ac_word... " >&6; }
++if test "${ac_cv_prog_CC+set}" = set; then :
++ $as_echo_n "(cached) " >&6
+ else
+ if test -n "$CC"; then
+ ac_cv_prog_CC="$CC" # Let the user override the test.
+@@ -2175,18 +2227,18 @@
+ do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+- for ac_exec_ext in '' $ac_executable_extensions; do
++ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
+ ac_prog_rejected=yes
+ continue
+ fi
+ ac_cv_prog_CC="cc"
+- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+ done
+-done
++ done
+ IFS=$as_save_IFS
+
+ if test $ac_prog_rejected = yes; then
+@@ -2205,23 +2257,21 @@
+ fi
+ CC=$ac_cv_prog_CC
+ if test -n "$CC"; then
+- { echo "$as_me:$LINENO: result: $CC" >&5
+-echo "${ECHO_T}$CC" >&6; }
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
++$as_echo "$CC" >&6; }
+ else
+- { echo "$as_me:$LINENO: result: no" >&5
+-echo "${ECHO_T}no" >&6; }
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
++$as_echo "no" >&6; }
+ fi
+
+
+- test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5
+-echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
+- { (exit 1); exit 1; }; }
++ test -z "$CC" && as_fn_error "no acceptable cc found in \$PATH" "$LINENO" 5
+ fi
+
+-{ echo "$as_me:$LINENO: checking whether we are using GNU C" >&5
+-echo $ECHO_N "checking whether we are using GNU C... $ECHO_C" >&6; }
+-if test "${ac_cv_c_compiler_gnu+set}" = set; then
+- echo $ECHO_N "(cached) $ECHO_C" >&6
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using GNU C" >&5
++$as_echo_n "checking whether we are using GNU C... " >&6; }
++if test "${ac_cv_c_compiler_gnu+set}" = set; then :
++ $as_echo_n "(cached) " >&6
+ else
+ cat > conftest.c <<EOF
+ #ifdef __GNUC__
+@@ -2229,18 +2279,18 @@
+ #endif
+ EOF
+ if { ac_try='${CC-cc} -E conftest.c'
+- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++ { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+- echo "$as_me:$LINENO: \$? = $ac_status" >&5
+- (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
++ test $ac_status = 0; }; } | egrep yes >/dev/null 2>&1; then
+ ac_cv_c_compiler_gnu=yes
+ else
+ ac_cv_c_compiler_gnu=no
+ fi
+ fi
+-{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
+-echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
++$as_echo "$ac_cv_c_compiler_gnu" >&6; }
+
+ if test $ac_cv_c_compiler_gnu = yes; then
+ GCC=yes
+@@ -2249,20 +2299,16 @@
+ CFLAGS=
+ ac_test_CFLAGS=${CFLAGS+set}
+ ac_save_CFLAGS=$CFLAGS
+-{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
+-echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
+-if test "${ac_cv_prog_cc_g+set}" = set; then
+- echo $ECHO_N "(cached) $ECHO_C" >&6
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
++$as_echo_n "checking whether $CC accepts -g... " >&6; }
++if test "${ac_cv_prog_cc_g+set}" = set; then :
++ $as_echo_n "(cached) " >&6
+ else
+ ac_save_c_werror_flag=$ac_c_werror_flag
+ ac_c_werror_flag=yes
+ ac_cv_prog_cc_g=no
+ CFLAGS="-g"
+- cat >conftest.$ac_ext <<_ACEOF
+-/* confdefs.h. */
+-_ACEOF
+-cat confdefs.h >>conftest.$ac_ext
+-cat >>conftest.$ac_ext <<_ACEOF
++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ /* end confdefs.h. */
+
+ int
+@@ -2273,34 +2319,11 @@
+ return 0;
+ }
+ _ACEOF
+-rm -f conftest.$ac_objext
+-if { (ac_try="$ac_compile"
+-case "(($ac_try" in
+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+- *) ac_try_echo=$ac_try;;
+-esac
+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+- (eval "$ac_compile") 2>conftest.er1
+- ac_status=$?
+- grep -v '^ *+' conftest.er1 >conftest.err
+- rm -f conftest.er1
+- cat conftest.err >&5
+- echo "$as_me:$LINENO: \$? = $ac_status" >&5
+- (exit $ac_status); } && {
+- test -z "$ac_c_werror_flag" ||
+- test ! -s conftest.err
+- } && test -s conftest.$ac_objext; then
++if ac_fn_c_try_compile "$LINENO"; then :
+ ac_cv_prog_cc_g=yes
+ else
+- echo "$as_me: failed program was:" >&5
+-sed 's/^/| /' conftest.$ac_ext >&5
+-
+- CFLAGS=""
+- cat >conftest.$ac_ext <<_ACEOF
+-/* confdefs.h. */
+-_ACEOF
+-cat confdefs.h >>conftest.$ac_ext
+-cat >>conftest.$ac_ext <<_ACEOF
++ CFLAGS=""
++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ /* end confdefs.h. */
+
+ int
+@@ -2311,35 +2334,12 @@
+ return 0;
+ }
+ _ACEOF
+-rm -f conftest.$ac_objext
+-if { (ac_try="$ac_compile"
+-case "(($ac_try" in
+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+- *) ac_try_echo=$ac_try;;
+-esac
+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+- (eval "$ac_compile") 2>conftest.er1
+- ac_status=$?
+- grep -v '^ *+' conftest.er1 >conftest.err
+- rm -f conftest.er1
+- cat conftest.err >&5
+- echo "$as_me:$LINENO: \$? = $ac_status" >&5
+- (exit $ac_status); } && {
+- test -z "$ac_c_werror_flag" ||
+- test ! -s conftest.err
+- } && test -s conftest.$ac_objext; then
+- :
+-else
+- echo "$as_me: failed program was:" >&5
+-sed 's/^/| /' conftest.$ac_ext >&5
++if ac_fn_c_try_compile "$LINENO"; then :
+
+- ac_c_werror_flag=$ac_save_c_werror_flag
++else
++ ac_c_werror_flag=$ac_save_c_werror_flag
+ CFLAGS="-g"
+- cat >conftest.$ac_ext <<_ACEOF
+-/* confdefs.h. */
+-_ACEOF
+-cat confdefs.h >>conftest.$ac_ext
+-cat >>conftest.$ac_ext <<_ACEOF
++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ /* end confdefs.h. */
+
+ int
+@@ -2350,42 +2350,18 @@
+ return 0;
+ }
+ _ACEOF
+-rm -f conftest.$ac_objext
+-if { (ac_try="$ac_compile"
+-case "(($ac_try" in
+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+- *) ac_try_echo=$ac_try;;
+-esac
+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+- (eval "$ac_compile") 2>conftest.er1
+- ac_status=$?
+- grep -v '^ *+' conftest.er1 >conftest.err
+- rm -f conftest.er1
+- cat conftest.err >&5
+- echo "$as_me:$LINENO: \$? = $ac_status" >&5
+- (exit $ac_status); } && {
+- test -z "$ac_c_werror_flag" ||
+- test ! -s conftest.err
+- } && test -s conftest.$ac_objext; then
++if ac_fn_c_try_compile "$LINENO"; then :
+ ac_cv_prog_cc_g=yes
+-else
+- echo "$as_me: failed program was:" >&5
+-sed 's/^/| /' conftest.$ac_ext >&5
+-
+-
+ fi
+-
+ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ fi
+-
+ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ fi
+-
+ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ ac_c_werror_flag=$ac_save_c_werror_flag
+ fi
+-{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
+-echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
++$as_echo "$ac_cv_prog_cc_g" >&6; }
+ if test "$ac_test_CFLAGS" = set; then
+ CFLAGS=$ac_save_CFLAGS
+ elif test $ac_cv_prog_cc_g = yes; then
+@@ -2422,10 +2398,10 @@
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
+ set dummy ${ac_tool_prefix}ranlib; ac_word=$2
+-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
+-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
+-if test "${ac_cv_prog_RANLIB+set}" = set; then
+- echo $ECHO_N "(cached) $ECHO_C" >&6
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
++$as_echo_n "checking for $ac_word... " >&6; }
++if test "${ac_cv_prog_RANLIB+set}" = set; then :
++ $as_echo_n "(cached) " >&6
+ else
+ if test -n "$RANLIB"; then
+ ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
+@@ -2435,25 +2411,25 @@
+ do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+- for ac_exec_ext in '' $ac_executable_extensions; do
++ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
+- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+ done
+-done
++ done
+ IFS=$as_save_IFS
+
+ fi
+ fi
+ RANLIB=$ac_cv_prog_RANLIB
+ if test -n "$RANLIB"; then
+- { echo "$as_me:$LINENO: result: $RANLIB" >&5
+-echo "${ECHO_T}$RANLIB" >&6; }
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
++$as_echo "$RANLIB" >&6; }
+ else
+- { echo "$as_me:$LINENO: result: no" >&5
+-echo "${ECHO_T}no" >&6; }
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
++$as_echo "no" >&6; }
+ fi
+
+
+@@ -2462,10 +2438,10 @@
+ ac_ct_RANLIB=$RANLIB
+ # Extract the first word of "ranlib", so it can be a program name with args.
+ set dummy ranlib; ac_word=$2
+-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
+-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
+-if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
+- echo $ECHO_N "(cached) $ECHO_C" >&6
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
++$as_echo_n "checking for $ac_word... " >&6; }
++if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
++ $as_echo_n "(cached) " >&6
+ else
+ if test -n "$ac_ct_RANLIB"; then
+ ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
+@@ -2475,25 +2451,25 @@
+ do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+- for ac_exec_ext in '' $ac_executable_extensions; do
++ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_ac_ct_RANLIB="ranlib"
+- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+ done
+-done
++ done
+ IFS=$as_save_IFS
+
+ fi
+ fi
+ ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
+ if test -n "$ac_ct_RANLIB"; then
+- { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
+-echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
++$as_echo "$ac_ct_RANLIB" >&6; }
+ else
+- { echo "$as_me:$LINENO: result: no" >&5
+-echo "${ECHO_T}no" >&6; }
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
++$as_echo "no" >&6; }
+ fi
+
+ if test "x$ac_ct_RANLIB" = x; then
+@@ -2501,12 +2477,8 @@
+ else
+ case $cross_compiling:$ac_tool_warned in
+ yes:)
+-{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
+-whose name does not start with the host triplet. If you think this
+-configuration is useful to you, please write to autoconf@gnu.org." >&5
+-echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
+-whose name does not start with the host triplet. If you think this
+-configuration is useful to you, please write to autoconf@gnu.org." >&2;}
++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
++$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ ac_tool_warned=yes ;;
+ esac
+ RANLIB=$ac_ct_RANLIB
+@@ -2530,7 +2502,7 @@
+ mips*-tx39*-*|mipstx39*-*-*)
+ part_specific_obj=
+ part_specific_defines=
+- script_list="dve idt jmr3904app jmr3904dram jmr3904dram-java jmr3904app-java"
++ script_list="dve idt jmr3904app jmr3904dram jmr3904dram-java jmr3904app-java sde32 sde64 mti32 mti64 mti64_n32 mti64_64"
+ bsp_list="libdve.a libidt.a libjmr3904.a"
+ ;;
+ mipsisa32-*-* | mipsisa32el-*-* | \
+@@ -2564,7 +2536,7 @@
+ crt0="crt0_cfe.o crt0.o"
+ part_specific_obj="vr4300.o cma101.o"
+ part_specific_defines=
+- script_list="idt pmon ddb ddb-kseg0 lsi cfe idtecoff nullmon"
++ script_list="idt pmon ddb ddb-kseg0 lsi cfe idtecoff nullmon sde32 sde64 mti32 mti64 mti64_n32 mti64_64"
+ bsp_list="libidt.a libpmon.a liblsi.a libcfe.a libnullmon.a"
+ ;;
+ esac
+@@ -2614,12 +2586,13 @@
+ case $ac_val in #(
+ *${as_nl}*)
+ case $ac_var in #(
+- *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
+-echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
++ *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
++$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
+ esac
+ case $ac_var in #(
+ _ | IFS | as_nl) ;; #(
+- *) $as_unset $ac_var ;;
++ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
++ *) { eval $ac_var=; unset $ac_var;} ;;
+ esac ;;
+ esac
+ done
+@@ -2627,8 +2600,8 @@
+ (set) 2>&1 |
+ case $as_nl`(ac_space=' '; set) 2>&1` in #(
+ *${as_nl}ac_space=\ *)
+- # `set' does not quote correctly, so add quotes (double-quote
+- # substitution turns \\\\ into \\, and sed turns \\ into \).
++ # `set' does not quote correctly, so add quotes: double-quote
++ # substitution turns \\\\ into \\, and sed turns \\ into \.
+ sed -n \
+ "s/'/'\\\\''/g;
+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
+@@ -2651,12 +2624,12 @@
+ if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
+ if test -w "$cache_file"; then
+ test "x$cache_file" != "x/dev/null" &&
+- { echo "$as_me:$LINENO: updating cache $cache_file" >&5
+-echo "$as_me: updating cache $cache_file" >&6;}
++ { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
++$as_echo "$as_me: updating cache $cache_file" >&6;}
+ cat confcache >$cache_file
+ else
+- { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
+-echo "$as_me: not updating unwritable cache $cache_file" >&6;}
++ { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
++$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
+ fi
+ fi
+ rm -f confcache
+@@ -2673,6 +2646,12 @@
+ # take arguments), then branch to the quote section. Otherwise,
+ # look for a macro that doesn't take arguments.
+ ac_script='
++:mline
++/\\$/{
++ N
++ s,\\\n,,
++ b mline
++}
+ t clear
+ :clear
+ s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
+@@ -2702,11 +2681,11 @@
+ for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
+ # 1. Remove the extension, and $U if already installed.
+ ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
+- ac_i=`echo "$ac_i" | sed "$ac_script"`
++ ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
+ # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
+ # will be set to the directory where LIBOBJS objects are built.
+- ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
+- ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
++ as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
++ as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
+ done
+ LIBOBJS=$ac_libobjs
+
+@@ -2714,26 +2693,22 @@
+
+
+ if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
+- { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
+-Usually this means the macro was only invoked conditionally." >&5
+-echo "$as_me: error: conditional \"AMDEP\" was never defined.
+-Usually this means the macro was only invoked conditionally." >&2;}
+- { (exit 1); exit 1; }; }
++ as_fn_error "conditional \"AMDEP\" was never defined.
++Usually this means the macro was only invoked conditionally." "$LINENO" 5
+ fi
+ if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
+- { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
+-Usually this means the macro was only invoked conditionally." >&5
+-echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
+-Usually this means the macro was only invoked conditionally." >&2;}
+- { (exit 1); exit 1; }; }
++ as_fn_error "conditional \"am__fastdepCC\" was never defined.
++Usually this means the macro was only invoked conditionally." "$LINENO" 5
+ fi
+
+ : ${CONFIG_STATUS=./config.status}
++ac_write_fail=0
+ ac_clean_files_save=$ac_clean_files
+ ac_clean_files="$ac_clean_files $CONFIG_STATUS"
+-{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
+-echo "$as_me: creating $CONFIG_STATUS" >&6;}
+-cat >$CONFIG_STATUS <<_ACEOF
++{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
++$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
++as_write_fail=0
++cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
+ #! $SHELL
+ # Generated by $as_me.
+ # Run this file to recreate the current configuration.
+@@ -2743,59 +2718,79 @@
+ debug=false
+ ac_cs_recheck=false
+ ac_cs_silent=false
+-SHELL=\${CONFIG_SHELL-$SHELL}
+-_ACEOF
+
+-cat >>$CONFIG_STATUS <<\_ACEOF
+-## --------------------- ##
+-## M4sh Initialization. ##
+-## --------------------- ##
++SHELL=\${CONFIG_SHELL-$SHELL}
++export SHELL
++_ASEOF
++cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
++## -------------------- ##
++## M4sh Initialization. ##
++## -------------------- ##
+
+ # Be more Bourne compatible
+ DUALCASE=1; export DUALCASE # for MKS sh
+-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
++if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
+ emulate sh
+ NULLCMD=:
+- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
++ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
+ # is contrary to our usage. Disable this feature.
+ alias -g '${1+"$@"}'='"$@"'
+ setopt NO_GLOB_SUBST
+ else
+- case `(set -o) 2>/dev/null` in
+- *posix*) set -o posix ;;
++ case `(set -o) 2>/dev/null` in #(
++ *posix*) :
++ set -o posix ;; #(
++ *) :
++ ;;
+ esac
+-
+ fi
+
+
+-
+-
+-# PATH needs CR
+-# Avoid depending upon Character Ranges.
+-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
+-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
+-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
+-as_cr_digits='0123456789'
+-as_cr_alnum=$as_cr_Letters$as_cr_digits
+-
+-# The user is always right.
+-if test "${PATH_SEPARATOR+set}" != set; then
+- echo "#! /bin/sh" >conf$$.sh
+- echo "exit 0" >>conf$$.sh
+- chmod +x conf$$.sh
+- if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
+- PATH_SEPARATOR=';'
++as_nl='
++'
++export as_nl
++# Printing a long string crashes Solaris 7 /usr/bin/printf.
++as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
++as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
++as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
++# Prefer a ksh shell builtin over an external printf program on Solaris,
++# but without wasting forks for bash or zsh.
++if test -z "$BASH_VERSION$ZSH_VERSION" \
++ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
++ as_echo='print -r --'
++ as_echo_n='print -rn --'
++elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
++ as_echo='printf %s\n'
++ as_echo_n='printf %s'
++else
++ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
++ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
++ as_echo_n='/usr/ucb/echo -n'
+ else
+- PATH_SEPARATOR=:
++ as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
++ as_echo_n_body='eval
++ arg=$1;
++ case $arg in #(
++ *"$as_nl"*)
++ expr "X$arg" : "X\\(.*\\)$as_nl";
++ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
++ esac;
++ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
++ '
++ export as_echo_n_body
++ as_echo_n='sh -c $as_echo_n_body as_echo'
+ fi
+- rm -f conf$$.sh
++ export as_echo_body
++ as_echo='sh -c $as_echo_body as_echo'
+ fi
+
+-# Support unset when possible.
+-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
+- as_unset=unset
+-else
+- as_unset=false
++# The user is always right.
++if test "${PATH_SEPARATOR+set}" != set; then
++ PATH_SEPARATOR=:
++ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
++ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
++ PATH_SEPARATOR=';'
++ }
+ fi
+
+
+@@ -2804,20 +2799,18 @@
+ # there to prevent editors from complaining about space-tab.
+ # (If _AS_PATH_WALK were called with IFS unset, it would disable word
+ # splitting by setting IFS to empty value.)
+-as_nl='
+-'
+ IFS=" "" $as_nl"
+
+ # Find who we are. Look in the path if we contain no directory separator.
+-case $0 in
++case $0 in #((
+ *[\\/]* ) as_myself=$0 ;;
+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+ for as_dir in $PATH
+ do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
+-done
++ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
++ done
+ IFS=$as_save_IFS
+
+ ;;
+@@ -2828,32 +2821,111 @@
+ as_myself=$0
+ fi
+ if test ! -f "$as_myself"; then
+- echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
+- { (exit 1); exit 1; }
++ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
++ exit 1
+ fi
+
+-# Work around bugs in pre-3.0 UWIN ksh.
+-for as_var in ENV MAIL MAILPATH
+-do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
++# Unset variables that we do not need and which cause bugs (e.g. in
++# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
++# suppresses any "Segmentation fault" message there. '((' could
++# trigger a bug in pdksh 5.2.14.
++for as_var in BASH_ENV ENV MAIL MAILPATH
++do eval test x\${$as_var+set} = xset \
++ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
+ done
+ PS1='$ '
+ PS2='> '
+ PS4='+ '
+
+ # NLS nuisances.
+-for as_var in \
+- LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
+- LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
+- LC_TELEPHONE LC_TIME
+-do
+- if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
+- eval $as_var=C; export $as_var
+- else
+- ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
+- fi
+-done
++LC_ALL=C
++export LC_ALL
++LANGUAGE=C
++export LANGUAGE
++
++# CDPATH.
++(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
++
++
++# as_fn_error ERROR [LINENO LOG_FD]
++# ---------------------------------
++# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
++# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
++# script with status $?, using 1 if that was 0.
++as_fn_error ()
++{
++ as_status=$?; test $as_status -eq 0 && as_status=1
++ if test "$3"; then
++ as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
++ $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
++ fi
++ $as_echo "$as_me: error: $1" >&2
++ as_fn_exit $as_status
++} # as_fn_error
++
++
++# as_fn_set_status STATUS
++# -----------------------
++# Set $? to STATUS, without forking.
++as_fn_set_status ()
++{
++ return $1
++} # as_fn_set_status
++
++# as_fn_exit STATUS
++# -----------------
++# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
++as_fn_exit ()
++{
++ set +e
++ as_fn_set_status $1
++ exit $1
++} # as_fn_exit
++
++# as_fn_unset VAR
++# ---------------
++# Portably unset VAR.
++as_fn_unset ()
++{
++ { eval $1=; unset $1;}
++}
++as_unset=as_fn_unset
++# as_fn_append VAR VALUE
++# ----------------------
++# Append the text in VALUE to the end of the definition contained in VAR. Take
++# advantage of any shell optimizations that allow amortized linear growth over
++# repeated appends, instead of the typical quadratic growth present in naive
++# implementations.
++if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
++ eval 'as_fn_append ()
++ {
++ eval $1+=\$2
++ }'
++else
++ as_fn_append ()
++ {
++ eval $1=\$$1\$2
++ }
++fi # as_fn_append
++
++# as_fn_arith ARG...
++# ------------------
++# Perform arithmetic evaluation on the ARGs, and store the result in the
++# global $as_val. Take advantage of shells that can avoid forks. The arguments
++# must be portable across $(()) and expr.
++if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
++ eval 'as_fn_arith ()
++ {
++ as_val=$(( $* ))
++ }'
++else
++ as_fn_arith ()
++ {
++ as_val=`expr "$@" || test $? -eq 1`
++ }
++fi # as_fn_arith
++
+
+-# Required to use basename.
+ if expr a : '\(a\)' >/dev/null 2>&1 &&
+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
+ as_expr=expr
+@@ -2867,13 +2939,17 @@
+ as_basename=false
+ fi
+
++if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
++ as_dirname=dirname
++else
++ as_dirname=false
++fi
+
+-# Name of the executable.
+ as_me=`$as_basename -- "$0" ||
+ $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
+ X"$0" : 'X\(//\)$' \| \
+ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
+-echo X/"$0" |
++$as_echo X/"$0" |
+ sed '/^.*\/\([^/][^/]*\)\/*$/{
+ s//\1/
+ q
+@@ -2888,104 +2964,103 @@
+ }
+ s/.*/./; q'`
+
+-# CDPATH.
+-$as_unset CDPATH
+-
+-
+-
+- as_lineno_1=$LINENO
+- as_lineno_2=$LINENO
+- test "x$as_lineno_1" != "x$as_lineno_2" &&
+- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
+-
+- # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
+- # uniformly replaced by the line number. The first 'sed' inserts a
+- # line-number line after each line using $LINENO; the second 'sed'
+- # does the real work. The second script uses 'N' to pair each
+- # line-number line with the line containing $LINENO, and appends
+- # trailing '-' during substitution so that $LINENO is not a special
+- # case at line end.
+- # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
+- # scripts with optimization help from Paolo Bonzini. Blame Lee
+- # E. McMahon (1931-1989) for sed's syntax. :-)
+- sed -n '
+- p
+- /[$]LINENO/=
+- ' <$as_myself |
+- sed '
+- s/[$]LINENO.*/&-/
+- t lineno
+- b
+- :lineno
+- N
+- :loop
+- s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
+- t loop
+- s/-\n.*//
+- ' >$as_me.lineno &&
+- chmod +x "$as_me.lineno" ||
+- { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
+- { (exit 1); exit 1; }; }
+-
+- # Don't try to exec as it changes $[0], causing all sort of problems
+- # (the dirname of $[0] is not the place where we might find the
+- # original and so on. Autoconf is especially sensitive to this).
+- . "./$as_me.lineno"
+- # Exit status is that of the last command.
+- exit
+-}
+-
+-
+-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
+- as_dirname=dirname
+-else
+- as_dirname=false
+-fi
++# Avoid depending upon Character Ranges.
++as_cr_letters='abcdefghijklmnopqrstuvwxyz'
++as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
++as_cr_Letters=$as_cr_letters$as_cr_LETTERS
++as_cr_digits='0123456789'
++as_cr_alnum=$as_cr_Letters$as_cr_digits
+
+ ECHO_C= ECHO_N= ECHO_T=
+-case `echo -n x` in
++case `echo -n x` in #(((((
+ -n*)
+- case `echo 'x\c'` in
++ case `echo 'xy\c'` in
+ *c*) ECHO_T=' ';; # ECHO_T is single tab character.
+- *) ECHO_C='\c';;
++ xy) ECHO_C='\c';;
++ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
++ ECHO_T=' ';;
+ esac;;
+ *)
+ ECHO_N='-n';;
+ esac
+
+-if expr a : '\(a\)' >/dev/null 2>&1 &&
+- test "X`expr 00001 : '.*\(...\)'`" = X001; then
+- as_expr=expr
+-else
+- as_expr=false
+-fi
+-
+ rm -f conf$$ conf$$.exe conf$$.file
+ if test -d conf$$.dir; then
+ rm -f conf$$.dir/conf$$.file
+ else
+ rm -f conf$$.dir
+- mkdir conf$$.dir
++ mkdir conf$$.dir 2>/dev/null
+ fi
+-echo >conf$$.file
+-if ln -s conf$$.file conf$$ 2>/dev/null; then
+- as_ln_s='ln -s'
+- # ... but there are two gotchas:
+- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
+- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
+- # In both cases, we have to default to `cp -p'.
+- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
++if (echo >conf$$.file) 2>/dev/null; then
++ if ln -s conf$$.file conf$$ 2>/dev/null; then
++ as_ln_s='ln -s'
++ # ... but there are two gotchas:
++ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
++ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
++ # In both cases, we have to default to `cp -p'.
++ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
++ as_ln_s='cp -p'
++ elif ln conf$$.file conf$$ 2>/dev/null; then
++ as_ln_s=ln
++ else
+ as_ln_s='cp -p'
+-elif ln conf$$.file conf$$ 2>/dev/null; then
+- as_ln_s=ln
++ fi
+ else
+ as_ln_s='cp -p'
+ fi
+ rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
+ rmdir conf$$.dir 2>/dev/null
+
++
++# as_fn_mkdir_p
++# -------------
++# Create "$as_dir" as a directory, including parents if necessary.
++as_fn_mkdir_p ()
++{
++
++ case $as_dir in #(
++ -*) as_dir=./$as_dir;;
++ esac
++ test -d "$as_dir" || eval $as_mkdir_p || {
++ as_dirs=
++ while :; do
++ case $as_dir in #(
++ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
++ *) as_qdir=$as_dir;;
++ esac
++ as_dirs="'$as_qdir' $as_dirs"
++ as_dir=`$as_dirname -- "$as_dir" ||
++$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
++ X"$as_dir" : 'X\(//\)[^/]' \| \
++ X"$as_dir" : 'X\(//\)$' \| \
++ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
++$as_echo X"$as_dir" |
++ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
++ s//\1/
++ q
++ }
++ /^X\(\/\/\)[^/].*/{
++ s//\1/
++ q
++ }
++ /^X\(\/\/\)$/{
++ s//\1/
++ q
++ }
++ /^X\(\/\).*/{
++ s//\1/
++ q
++ }
++ s/.*/./; q'`
++ test -d "$as_dir" && break
++ done
++ test -z "$as_dirs" || eval "mkdir $as_dirs"
++ } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
++
++
++} # as_fn_mkdir_p
+ if mkdir -p . 2>/dev/null; then
+- as_mkdir_p=:
++ as_mkdir_p='mkdir -p "$as_dir"'
+ else
+ test -d ./-p && rmdir ./-p
+ as_mkdir_p=false
+@@ -3002,12 +3077,12 @@
+ as_test_x='
+ eval sh -c '\''
+ if test -d "$1"; then
+- test -d "$1/.";
++ test -d "$1/.";
+ else
+- case $1 in
+- -*)set "./$1";;
++ case $1 in #(
++ -*)set "./$1";;
+ esac;
+- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
++ case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
+ ???[sx]*):;;*)false;;esac;fi
+ '\'' sh
+ '
+@@ -3022,13 +3097,19 @@
+
+
+ exec 6>&1
++## ----------------------------------- ##
++## Main body of $CONFIG_STATUS script. ##
++## ----------------------------------- ##
++_ASEOF
++test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
+
+-# Save the log message, to keep $[0] and so on meaningful, and to
++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
++# Save the log message, to keep $0 and so on meaningful, and to
+ # report actual input values of CONFIG_FILES etc. instead of their
+ # values after options handling.
+ ac_log="
+ This file was extended by $as_me, which was
+-generated by GNU Autoconf 2.61. Invocation command line was
++generated by GNU Autoconf 2.64. Invocation command line was
+
+ CONFIG_FILES = $CONFIG_FILES
+ CONFIG_HEADERS = $CONFIG_HEADERS
+@@ -3041,27 +3122,35 @@
+
+ _ACEOF
+
+-cat >>$CONFIG_STATUS <<_ACEOF
++case $ac_config_files in *"
++"*) set x $ac_config_files; shift; ac_config_files=$*;;
++esac
++
++
++
++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+ # Files that config.status was made for.
+ config_files="$ac_config_files"
+ config_commands="$ac_config_commands"
+
+ _ACEOF
+
+-cat >>$CONFIG_STATUS <<\_ACEOF
++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+ ac_cs_usage="\
+-\`$as_me' instantiates files from templates according to the
+-current configuration.
++\`$as_me' instantiates files and other configuration actions
++from templates according to the current configuration. Unless the files
++and actions are specified as TAGs, all are instantiated by default.
+
+-Usage: $0 [OPTIONS] [FILE]...
++Usage: $0 [OPTION]... [TAG]...
+
+ -h, --help print this help, then exit
+ -V, --version print version number and configuration settings, then exit
+- -q, --quiet do not print progress messages
++ -q, --quiet, --silent
++ do not print progress messages
+ -d, --debug don't remove temporary files
+ --recheck update $as_me by reconfiguring in the same conditions
+- --file=FILE[:TEMPLATE]
+- instantiate the configuration file FILE
++ --file=FILE[:TEMPLATE]
++ instantiate the configuration file FILE
+
+ Configuration files:
+ $config_files
+@@ -3069,27 +3158,27 @@
+ Configuration commands:
+ $config_commands
+
+-Report bugs to <bug-autoconf@gnu.org>."
++Report bugs to the package provider."
+
+ _ACEOF
+-cat >>$CONFIG_STATUS <<_ACEOF
++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+ ac_cs_version="\\
+ config.status
+-configured by $0, generated by GNU Autoconf 2.61,
+- with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
++configured by $0, generated by GNU Autoconf 2.64,
++ with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
+
+-Copyright (C) 2006 Free Software Foundation, Inc.
++Copyright (C) 2009 Free Software Foundation, Inc.
+ This config.status script is free software; the Free Software Foundation
+ gives unlimited permission to copy, distribute and modify it."
+
+ ac_pwd='$ac_pwd'
+ srcdir='$srcdir'
+ INSTALL='$INSTALL'
++test -n "\$AWK" || AWK=awk
+ _ACEOF
+
+-cat >>$CONFIG_STATUS <<\_ACEOF
+-# If no file are specified by the user, then we need to provide default
+-# value. By we need to know if files were specified by the user.
++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
++# The default lists apply if the user does not specify any file.
+ ac_need_defaults=:
+ while test $# != 0
+ do
+@@ -3111,25 +3200,27 @@
+ -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
+ ac_cs_recheck=: ;;
+ --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
+- echo "$ac_cs_version"; exit ;;
++ $as_echo "$ac_cs_version"; exit ;;
+ --debug | --debu | --deb | --de | --d | -d )
+ debug=: ;;
+ --file | --fil | --fi | --f )
+ $ac_shift
+- CONFIG_FILES="$CONFIG_FILES $ac_optarg"
++ case $ac_optarg in
++ *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
++ esac
++ as_fn_append CONFIG_FILES " '$ac_optarg'"
+ ac_need_defaults=false;;
+ --he | --h | --help | --hel | -h )
+- echo "$ac_cs_usage"; exit ;;
++ $as_echo "$ac_cs_usage"; exit ;;
+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
+ | -silent | --silent | --silen | --sile | --sil | --si | --s)
+ ac_cs_silent=: ;;
+
+ # This is an error.
+- -*) { echo "$as_me: error: unrecognized option: $1
+-Try \`$0 --help' for more information." >&2
+- { (exit 1); exit 1; }; } ;;
++ -*) as_fn_error "unrecognized option: \`$1'
++Try \`$0 --help' for more information." ;;
+
+- *) ac_config_targets="$ac_config_targets $1"
++ *) as_fn_append ac_config_targets " $1"
+ ac_need_defaults=false ;;
+
+ esac
+@@ -3144,27 +3235,29 @@
+ fi
+
+ _ACEOF
+-cat >>$CONFIG_STATUS <<_ACEOF
++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+ if \$ac_cs_recheck; then
+- echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
+- CONFIG_SHELL=$SHELL
++ set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
++ shift
++ \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
++ CONFIG_SHELL='$SHELL'
+ export CONFIG_SHELL
+- exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
++ exec "\$@"
+ fi
+
+ _ACEOF
+-cat >>$CONFIG_STATUS <<\_ACEOF
++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+ exec 5>>config.log
+ {
+ echo
+ sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
+ ## Running $as_me. ##
+ _ASBOX
+- echo "$ac_log"
++ $as_echo "$ac_log"
+ } >&5
+
+ _ACEOF
+-cat >>$CONFIG_STATUS <<_ACEOF
++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+ #
+ # INIT-COMMANDS
+ #
+@@ -3179,7 +3272,7 @@
+
+ _ACEOF
+
+-cat >>$CONFIG_STATUS <<\_ACEOF
++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+
+ # Handling of arguments.
+ for ac_config_target in $ac_config_targets
+@@ -3188,9 +3281,7 @@
+ "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
+ "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
+
+- *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
+-echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
+- { (exit 1); exit 1; }; };;
++ *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
+ esac
+ done
+
+@@ -3216,7 +3307,7 @@
+ trap 'exit_status=$?
+ { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
+ ' 0
+- trap '{ (exit 1); exit 1; }' 1 2 13 15
++ trap 'as_fn_exit 1' 1 2 13 15
+ }
+ # Create a (secure) tmp directory for tmp files.
+
+@@ -3227,159 +3318,174 @@
+ {
+ tmp=./conf$$-$RANDOM
+ (umask 077 && mkdir "$tmp")
+-} ||
+-{
+- echo "$me: cannot create a temporary directory in ." >&2
+- { (exit 1); exit 1; }
+-}
+-
+-#
+-# Set up the sed scripts for CONFIG_FILES section.
+-#
++} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
+
+-# No need to generate the scripts if there are no CONFIG_FILES.
+-# This happens for instance when ./config.status config.h
++# Set up the scripts for CONFIG_FILES section.
++# No need to generate them if there are no CONFIG_FILES.
++# This happens for instance with `./config.status config.h'.
+ if test -n "$CONFIG_FILES"; then
+
+-_ACEOF
+-
+-# Create sed commands to just substitute file output variables.
+-
+-# Remaining file output variables are in a fragment that also has non-file
+-# output varibles.
++if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
++ ac_cs_awk_getline=:
++ ac_cs_awk_pipe_init=
++ ac_cs_awk_read_file='
++ while ((getline aline < (F[key])) > 0)
++ print(aline)
++ close(F[key])'
++ ac_cs_awk_pipe_fini=
++else
++ ac_cs_awk_getline=false
++ ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
++ ac_cs_awk_read_file='
++ print "|#_!!_#|"
++ print "cat " F[key] " &&"
++ '$ac_cs_awk_pipe_init
++ # The final `:' finishes the AND list.
++ ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
++fi
++ac_cr=`echo X | tr X '\015'`
++# On cygwin, bash can eat \r inside `` if the user requested igncr.
++# But we know of no other shell where ac_cr would be empty at this
++# point, so we can use a bashism as a fallback.
++if test "x$ac_cr" = x; then
++ eval ac_cr=\$\'\\r\'
++fi
++ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
++if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
++ ac_cs_awk_cr='\r'
++else
++ ac_cs_awk_cr=$ac_cr
++fi
+
++echo 'BEGIN {' >"$tmp/subs1.awk" &&
++_ACEOF
+
++# Create commands to substitute file output variables.
++{
++ echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
++ echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
++ echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
++ echo "_ACAWK" &&
++ echo "_ACEOF"
++} >conf$$files.sh &&
++. ./conf$$files.sh ||
++ as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
++rm -f conf$$files.sh
+
++{
++ echo "cat >conf$$subs.awk <<_ACEOF" &&
++ echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
++ echo "_ACEOF"
++} >conf$$subs.sh ||
++ as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
++ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
+ ac_delim='%!_!# '
+ for ac_last_try in false false false false false :; do
+- cat >conf$$subs.sed <<_ACEOF
+-SHELL!$SHELL$ac_delim
+-PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
+-PACKAGE_NAME!$PACKAGE_NAME$ac_delim
+-PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
+-PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
+-PACKAGE_STRING!$PACKAGE_STRING$ac_delim
+-PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
+-exec_prefix!$exec_prefix$ac_delim
+-prefix!$prefix$ac_delim
+-program_transform_name!$program_transform_name$ac_delim
+-bindir!$bindir$ac_delim
+-sbindir!$sbindir$ac_delim
+-libexecdir!$libexecdir$ac_delim
+-datarootdir!$datarootdir$ac_delim
+-datadir!$datadir$ac_delim
+-sysconfdir!$sysconfdir$ac_delim
+-sharedstatedir!$sharedstatedir$ac_delim
+-localstatedir!$localstatedir$ac_delim
+-includedir!$includedir$ac_delim
+-oldincludedir!$oldincludedir$ac_delim
+-docdir!$docdir$ac_delim
+-infodir!$infodir$ac_delim
+-htmldir!$htmldir$ac_delim
+-dvidir!$dvidir$ac_delim
+-pdfdir!$pdfdir$ac_delim
+-psdir!$psdir$ac_delim
+-libdir!$libdir$ac_delim
+-localedir!$localedir$ac_delim
+-mandir!$mandir$ac_delim
+-DEFS!$DEFS$ac_delim
+-ECHO_C!$ECHO_C$ac_delim
+-ECHO_N!$ECHO_N$ac_delim
+-ECHO_T!$ECHO_T$ac_delim
+-LIBS!$LIBS$ac_delim
+-build_alias!$build_alias$ac_delim
+-host_alias!$host_alias$ac_delim
+-target_alias!$target_alias$ac_delim
+-build!$build$ac_delim
+-build_cpu!$build_cpu$ac_delim
+-build_vendor!$build_vendor$ac_delim
+-build_os!$build_os$ac_delim
+-host!$host$ac_delim
+-host_cpu!$host_cpu$ac_delim
+-host_vendor!$host_vendor$ac_delim
+-host_os!$host_os$ac_delim
+-target!$target$ac_delim
+-target_cpu!$target_cpu$ac_delim
+-target_vendor!$target_vendor$ac_delim
+-target_os!$target_os$ac_delim
+-INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
+-INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
+-INSTALL_DATA!$INSTALL_DATA$ac_delim
+-CC!$CC$ac_delim
+-am__leading_dot!$am__leading_dot$ac_delim
+-DEPDIR!$DEPDIR$ac_delim
+-am__include!$am__include$ac_delim
+-am__quote!$am__quote$ac_delim
+-AMDEP_TRUE!$AMDEP_TRUE$ac_delim
+-AMDEP_FALSE!$AMDEP_FALSE$ac_delim
+-AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
+-CCDEPMODE!$CCDEPMODE$ac_delim
+-am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
+-am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
+-AS!$AS$ac_delim
+-AR!$AR$ac_delim
+-LD!$LD$ac_delim
+-RANLIB!$RANLIB$ac_delim
+-CCAS!$CCAS$ac_delim
+-CCASFLAGS!$CCASFLAGS$ac_delim
+-host_makefile_frag_path!$host_makefile_frag_path$ac_delim
+-target_makefile_frag_path!$target_makefile_frag_path$ac_delim
+-part_specific_obj!$part_specific_obj$ac_delim
+-part_specific_defines!$part_specific_defines$ac_delim
+-script_list!$script_list$ac_delim
+-bsp_list!$bsp_list$ac_delim
+-crt0!$crt0$ac_delim
+-pcrt0!$pcrt0$ac_delim
+-LIBOBJS!$LIBOBJS$ac_delim
+-LTLIBOBJS!$LTLIBOBJS$ac_delim
+-_ACEOF
++ . ./conf$$subs.sh ||
++ as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
+
+- if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 79; then
++ ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
++ if test $ac_delim_n = $ac_delim_num; then
+ break
+ elif $ac_last_try; then
+- { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
+-echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
+- { (exit 1); exit 1; }; }
++ as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
+ else
+ ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
+ fi
+ done
++rm -f conf$$subs.sh
+
+-ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
+-if test -n "$ac_eof"; then
+- ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
+- ac_eof=`expr $ac_eof + 1`
+-fi
+-
+-cat >>$CONFIG_STATUS <<_ACEOF
+-cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
+-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
+-/^[ ]*@host_makefile_frag@[ ]*$/{
+-r $host_makefile_frag
+-d
+-}
+-/^[ ]*@target_makefile_frag@[ ]*$/{
+-r $target_makefile_frag
+-d
+-}
++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
++cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
+ _ACEOF
+-sed '
+-s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
+-s/^/s,@/; s/!/@,|#_!!_#|/
+-:n
+-t n
+-s/'"$ac_delim"'$/,g/; t
+-s/$/\\/; p
+-N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
+-' >>$CONFIG_STATUS <conf$$subs.sed
+-rm -f conf$$subs.sed
+-cat >>$CONFIG_STATUS <<_ACEOF
+-:end
+-s/|#_!!_#|//g
+-CEOF$ac_eof
++sed -n '
++h
++s/^/S["/; s/!.*/"]=/
++p
++g
++s/^[^!]*!//
++:repl
++t repl
++s/'"$ac_delim"'$//
++t delim
++:nl
++h
++s/\(.\{148\}\).*/\1/
++t more1
++s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
++p
++n
++b repl
++:more1
++s/["\\]/\\&/g; s/^/"/; s/$/"\\/
++p
++g
++s/.\{148\}//
++t nl
++:delim
++h
++s/\(.\{148\}\).*/\1/
++t more2
++s/["\\]/\\&/g; s/^/"/; s/$/"/
++p
++b
++:more2
++s/["\\]/\\&/g; s/^/"/; s/$/"\\/
++p
++g
++s/.\{148\}//
++t delim
++' <conf$$subs.awk | sed '
++/^[^""]/{
++ N
++ s/\n//
++}
++' >>$CONFIG_STATUS || ac_write_fail=1
++rm -f conf$$subs.awk
++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
++_ACAWK
++cat >>"\$tmp/subs1.awk" <<_ACAWK &&
++ for (key in S) S_is_set[key] = 1
++ FS = ""
++ \$ac_cs_awk_pipe_init
++}
++{
++ line = $ 0
++ nfields = split(line, field, "@")
++ substed = 0
++ len = length(field[1])
++ for (i = 2; i < nfields; i++) {
++ key = field[i]
++ keylen = length(key)
++ if (S_is_set[key]) {
++ value = S[key]
++ line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
++ len += length(value) + length(field[++i])
++ substed = 1
++ } else
++ len += 1 + keylen
++ }
++ if (nfields == 3 && !substed) {
++ key = field[2]
++ if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
++ \$ac_cs_awk_read_file
++ next
++ }
++ }
++ print line
++}
++\$ac_cs_awk_pipe_fini
++_ACAWK
++_ACEOF
++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
++if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
++ sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
++else
++ cat
++fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
++ || as_fn_error "could not setup config files machinery" "$LINENO" 5
+ _ACEOF
+
+-
+ # VPATH may cause trouble with some makes, so we remove $(srcdir),
+ # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
+ # trailing colons and then remove the whole line if VPATH becomes empty
+@@ -3395,20 +3501,20 @@
+ }'
+ fi
+
+-cat >>$CONFIG_STATUS <<\_ACEOF
++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+ fi # test -n "$CONFIG_FILES"
+
+
+-for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS
++eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
++shift
++for ac_tag
+ do
+ case $ac_tag in
+ :[FHLC]) ac_mode=$ac_tag; continue;;
+ esac
+ case $ac_mode$ac_tag in
+ :[FHL]*:*);;
+- :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
+-echo "$as_me: error: Invalid tag $ac_tag." >&2;}
+- { (exit 1); exit 1; }; };;
++ :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
+ :[FH]-) ac_tag=-:-;;
+ :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
+ esac
+@@ -3436,26 +3542,34 @@
+ [\\/$]*) false;;
+ *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
+ esac ||
+- { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
+-echo "$as_me: error: cannot find input file: $ac_f" >&2;}
+- { (exit 1); exit 1; }; };;
++ as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
+ esac
+- ac_file_inputs="$ac_file_inputs $ac_f"
++ case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
++ as_fn_append ac_file_inputs " '$ac_f'"
+ done
+
+ # Let's still pretend it is `configure' which instantiates (i.e., don't
+ # use $as_me), people would be surprised to read:
+ # /* config.h. Generated by config.status. */
+- configure_input="Generated from "`IFS=:
+- echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
++ configure_input='Generated from '`
++ $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
++ `' by configure.'
+ if test x"$ac_file" != x-; then
+ configure_input="$ac_file. $configure_input"
+- { echo "$as_me:$LINENO: creating $ac_file" >&5
+-echo "$as_me: creating $ac_file" >&6;}
++ { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
++$as_echo "$as_me: creating $ac_file" >&6;}
+ fi
++ # Neutralize special characters interpreted by sed in replacement strings.
++ case $configure_input in #(
++ *\&* | *\|* | *\\* )
++ ac_sed_conf_input=`$as_echo "$configure_input" |
++ sed 's/[\\\\&|]/\\\\&/g'`;; #(
++ *) ac_sed_conf_input=$configure_input;;
++ esac
+
+ case $ac_tag in
+- *:-:* | *:-) cat >"$tmp/stdin";;
++ *:-:* | *:-) cat >"$tmp/stdin" \
++ || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
+ esac
+ ;;
+ esac
+@@ -3465,42 +3579,7 @@
+ X"$ac_file" : 'X\(//\)[^/]' \| \
+ X"$ac_file" : 'X\(//\)$' \| \
+ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
+-echo X"$ac_file" |
+- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+- s//\1/
+- q
+- }
+- /^X\(\/\/\)[^/].*/{
+- s//\1/
+- q
+- }
+- /^X\(\/\/\)$/{
+- s//\1/
+- q
+- }
+- /^X\(\/\).*/{
+- s//\1/
+- q
+- }
+- s/.*/./; q'`
+- { as_dir="$ac_dir"
+- case $as_dir in #(
+- -*) as_dir=./$as_dir;;
+- esac
+- test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
+- as_dirs=
+- while :; do
+- case $as_dir in #(
+- *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
+- *) as_qdir=$as_dir;;
+- esac
+- as_dirs="'$as_qdir' $as_dirs"
+- as_dir=`$as_dirname -- "$as_dir" ||
+-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+- X"$as_dir" : 'X\(//\)[^/]' \| \
+- X"$as_dir" : 'X\(//\)$' \| \
+- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
+-echo X"$as_dir" |
++$as_echo X"$ac_file" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+@@ -3518,20 +3597,15 @@
+ q
+ }
+ s/.*/./; q'`
+- test -d "$as_dir" && break
+- done
+- test -z "$as_dirs" || eval "mkdir $as_dirs"
+- } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
+-echo "$as_me: error: cannot create directory $as_dir" >&2;}
+- { (exit 1); exit 1; }; }; }
++ as_dir="$ac_dir"; as_fn_mkdir_p
+ ac_builddir=.
+
+ case "$ac_dir" in
+ .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
+ *)
+- ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
++ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
+ # A ".." for each directory in $ac_dir_suffix.
+- ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
++ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
+ case $ac_top_builddir_sub in
+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
+@@ -3571,12 +3645,12 @@
+ esac
+ _ACEOF
+
+-cat >>$CONFIG_STATUS <<\_ACEOF
++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+ # If the template does not know about datarootdir, expand it.
+ # FIXME: This hack should be removed a few years after 2.60.
+ ac_datarootdir_hack=; ac_datarootdir_seen=
+-
+-case `sed -n '/datarootdir/ {
++ac_sed_dataroot='
++/datarootdir/ {
+ p
+ q
+ }
+@@ -3584,36 +3658,37 @@
+ /@docdir@/p
+ /@infodir@/p
+ /@localedir@/p
+-/@mandir@/p
+-' $ac_file_inputs` in
++/@mandir@/p'
++case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
+ *datarootdir*) ac_datarootdir_seen=yes;;
+ *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
+- { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
+-echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
++$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
+ _ACEOF
+-cat >>$CONFIG_STATUS <<_ACEOF
++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+ ac_datarootdir_hack='
+ s&@datadir@&$datadir&g
+ s&@docdir@&$docdir&g
+ s&@infodir@&$infodir&g
+ s&@localedir@&$localedir&g
+ s&@mandir@&$mandir&g
+- s&\\\${datarootdir}&$datarootdir&g' ;;
++ s&\\\${datarootdir}&$datarootdir&g' ;;
+ esac
+ _ACEOF
+
+ # Neutralize VPATH when `$srcdir' = `.'.
+ # Shell code in configure.ac might set extrasub.
+ # FIXME: do we really want to maintain this feature?
+-cat >>$CONFIG_STATUS <<_ACEOF
+- sed "$ac_vpsub
++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
++ac_sed_extra="$ac_vpsub
+ $extrasub
+ _ACEOF
+-cat >>$CONFIG_STATUS <<\_ACEOF
++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+ :t
+ /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
+-s&@configure_input@&$configure_input&;t t
++s|@configure_input@|$ac_sed_conf_input|;t t
+ s&@top_builddir@&$ac_top_builddir_sub&;t t
++s&@top_build_prefix@&$ac_top_build_prefix&;t t
+ s&@srcdir@&$ac_srcdir&;t t
+ s&@abs_srcdir@&$ac_abs_srcdir&;t t
+ s&@top_srcdir@&$ac_top_srcdir&;t t
+@@ -3623,26 +3698,34 @@
+ s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
+ s&@INSTALL@&$ac_INSTALL&;t t
+ $ac_datarootdir_hack
+-" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
++"
++eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
++if $ac_cs_awk_getline; then
++ $AWK -f "$tmp/subs.awk"
++else
++ $AWK -f "$tmp/subs.awk" | $SHELL
++fi >$tmp/out \
++ || as_fn_error "could not create $ac_file" "$LINENO" 5
+
+ test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
+ { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
+ { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
+- { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
+ which seems to be undefined. Please make sure it is defined." >&5
+-echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
++$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
+ which seems to be undefined. Please make sure it is defined." >&2;}
+
+ rm -f "$tmp/stdin"
+ case $ac_file in
+- -) cat "$tmp/out"; rm -f "$tmp/out";;
+- *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
+- esac
++ -) cat "$tmp/out" && rm -f "$tmp/out";;
++ *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
++ esac \
++ || as_fn_error "could not create $ac_file" "$LINENO" 5
+ ;;
+
+
+- :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
+-echo "$as_me: executing $ac_file commands" >&6;}
++ :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
++$as_echo "$as_me: executing $ac_file commands" >&6;}
+ ;;
+ esac
+
+@@ -3663,7 +3746,7 @@
+ X"$mf" : 'X\(//\)[^/]' \| \
+ X"$mf" : 'X\(//\)$' \| \
+ X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
+-echo X"$mf" |
++$as_echo X"$mf" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+@@ -3707,42 +3790,7 @@
+ X"$file" : 'X\(//\)[^/]' \| \
+ X"$file" : 'X\(//\)$' \| \
+ X"$file" : 'X\(/\)' \| . 2>/dev/null ||
+-echo X"$file" |
+- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+- s//\1/
+- q
+- }
+- /^X\(\/\/\)[^/].*/{
+- s//\1/
+- q
+- }
+- /^X\(\/\/\)$/{
+- s//\1/
+- q
+- }
+- /^X\(\/\).*/{
+- s//\1/
+- q
+- }
+- s/.*/./; q'`
+- { as_dir=$dirpart/$fdir
+- case $as_dir in #(
+- -*) as_dir=./$as_dir;;
+- esac
+- test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
+- as_dirs=
+- while :; do
+- case $as_dir in #(
+- *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
+- *) as_qdir=$as_dir;;
+- esac
+- as_dirs="'$as_qdir' $as_dirs"
+- as_dir=`$as_dirname -- "$as_dir" ||
+-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+- X"$as_dir" : 'X\(//\)[^/]' \| \
+- X"$as_dir" : 'X\(//\)$' \| \
+- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
+-echo X"$as_dir" |
++$as_echo X"$file" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+@@ -3760,12 +3808,7 @@
+ q
+ }
+ s/.*/./; q'`
+- test -d "$as_dir" && break
+- done
+- test -z "$as_dirs" || eval "mkdir $as_dirs"
+- } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
+-echo "$as_me: error: cannot create directory $as_dir" >&2;}
+- { (exit 1); exit 1; }; }; }
++ as_dir=$dirpart/$fdir; as_fn_mkdir_p
+ # echo "creating $dirpart/$file"
+ echo '# dummy' > "$dirpart/$file"
+ done
+@@ -3777,11 +3820,13 @@
+ done # for ac_tag
+
+
+-{ (exit 0); exit 0; }
++as_fn_exit 0
+ _ACEOF
+-chmod +x $CONFIG_STATUS
+ ac_clean_files=$ac_clean_files_save
+
++test $ac_write_fail = 0 ||
++ as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
++
+
+ # configure is writing to config.log, and then calls config.status.
+ # config.status does its own redirection, appending to config.log.
+@@ -3801,6 +3846,10 @@
+ exec 5>>config.log
+ # Use ||, not &&, to avoid exiting from the if with $? = 1, which
+ # would make configure fail if this is the last instruction.
+- $ac_cs_success || { (exit 1); exit 1; }
++ $ac_cs_success || as_fn_exit $?
++fi
++if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
++$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
+ fi
+
+diff -Naur newlib-1.20.0.orig/libgloss/mips/configure.in newlib-1.20.0/libgloss/mips/configure.in
+--- newlib-1.20.0.orig/libgloss/mips/configure.in 2006-05-23 21:17:05.000000000 +0200
++++ newlib-1.20.0/libgloss/mips/configure.in 2012-10-15 10:31:19.549619945 +0200
+@@ -52,7 +52,7 @@
+ mips*-tx39*-*|mipstx39*-*-*)
+ part_specific_obj=
+ part_specific_defines=
+- script_list="dve idt jmr3904app jmr3904dram jmr3904dram-java jmr3904app-java"
++ script_list="dve idt jmr3904app jmr3904dram jmr3904dram-java jmr3904app-java sde32 sde64 mti32 mti64 mti64_n32 mti64_64"
+ bsp_list="libdve.a libidt.a libjmr3904.a"
+ ;;
+ mipsisa32-*-* | mipsisa32el-*-* | \
+@@ -86,7 +86,7 @@
+ crt0="crt0_cfe.o crt0.o"
+ part_specific_obj="vr4300.o cma101.o"
+ part_specific_defines=
+- script_list="idt pmon ddb ddb-kseg0 lsi cfe idtecoff nullmon"
++ script_list="idt pmon ddb ddb-kseg0 lsi cfe idtecoff nullmon sde32 sde64 mti32 mti64 mti64_n32 mti64_64"
+ bsp_list="libidt.a libpmon.a liblsi.a libcfe.a libnullmon.a"
+ ;;
+ esac
+diff -Naur newlib-1.20.0.orig/libgloss/mips/mti32.ld newlib-1.20.0/libgloss/mips/mti32.ld
+--- newlib-1.20.0.orig/libgloss/mips/mti32.ld 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/libgloss/mips/mti32.ld 2012-10-15 10:31:19.549619945 +0200
+@@ -0,0 +1,185 @@
++/* The following TEXT start address leaves space for the monitor
++ workspace. This linker script links ISA32r2 programs for use with
++ the simulator. */
++
++ENTRY(_start)
++OUTPUT_ARCH("mips:isa32r2")
++OUTPUT_FORMAT("elf32-tradlittlemips", "elf32-tradbigmips", "elf32-tradlittlemips")
++GROUP(-lc -lidt -lgcc)
++SEARCH_DIR(.)
++__DYNAMIC = 0;
++STARTUP(crt0.o)
++
++/*
++ * Allocate the stack to be at the top of memory, since the stack
++ * grows down
++ */
++PROVIDE (__stack = 0);
++/* PROVIDE (__global = 0); */
++
++/*
++ * Initalize some symbols to be zero so we can reference them in the
++ * crt0 without core dumping. These functions are all optional, but
++ * we do this so we can have our crt0 always use them if they exist.
++ * This is so BSPs work better when using the crt0 installed with gcc.
++ * We have to initalize them twice, so we multiple object file
++ * formats, as some prepend an underscore.
++ */
++PROVIDE (hardware_exit_hook = 0);
++PROVIDE (hardware_hazard_hook = 0);
++PROVIDE (hardware_init_hook = 0);
++PROVIDE (software_init_hook = 0);
++
++SECTIONS
++{
++ . = 0x80020000;
++ .text : {
++ _ftext = . ;
++ PROVIDE (eprol = .);
++ *(.text)
++ *(.text.*)
++ *(.gnu.linkonce.t.*)
++ *(.mips16.fn.*)
++ *(.mips16.call.*)
++ }
++ .init : {
++ KEEP (*(.init))
++ }
++ .fini : {
++ KEEP (*(.fini))
++ }
++ .rel.sdata : {
++ PROVIDE (__runtime_reloc_start = .);
++ *(.rel.sdata)
++ PROVIDE (__runtime_reloc_stop = .);
++ }
++ PROVIDE (etext = .);
++ _etext = .;
++
++ .eh_frame_hdr : { *(.eh_frame_hdr) }
++ .eh_frame : { KEEP (*(.eh_frame)) }
++ .gcc_except_table : { *(.gcc_except_table) }
++ .jcr : { KEEP (*(.jcr)) }
++ .ctors :
++ {
++ /* gcc uses crtbegin.o to find the start of
++ the constructors, so we make sure it is
++ first. Because this is a wildcard, it
++ doesn't matter if the user does not
++ actually link against crtbegin.o; the
++ linker won't look for a file to match a
++ wildcard. The wildcard also means that it
++ doesn't matter which directory crtbegin.o
++ is in. */
++
++ KEEP (*crtbegin.o(.ctors))
++
++ /* We don't want to include the .ctor section from
++ from the crtend.o file until after the sorted ctors.
++ The .ctor section from the crtend file contains the
++ end of ctors marker and it must be last */
++
++ KEEP (*(EXCLUDE_FILE (*crtend.o) .ctors))
++ KEEP (*(SORT(.ctors.*)))
++ KEEP (*(.ctors))
++ }
++
++ .dtors :
++ {
++ KEEP (*crtbegin.o(.dtors))
++ KEEP (*(EXCLUDE_FILE (*crtend.o) .dtors))
++ KEEP (*(SORT(.dtors.*)))
++ KEEP (*(.dtors))
++ }
++
++ . = .;
++ .rodata : {
++ *(.rdata)
++ *(.rodata)
++ *(.rodata.*)
++ *(.gnu.linkonce.r.*)
++ }
++ _fdata = ALIGN(16);
++ .data : {
++ *(.data)
++ *(.data.*)
++ *(.gnu.linkonce.d.*)
++ }
++ . = ALIGN(8);
++ _gp = . + 0x8000;
++ __global = _gp;
++ .lit8 : {
++ *(.lit8)
++ }
++ .lit4 : {
++ *(.lit4)
++ }
++ .sdata : {
++ *(.sdata)
++ *(.sdata.*)
++ *(.gnu.linkonce.s.*)
++ }
++ . = ALIGN(4);
++ PROVIDE (edata = .);
++ _edata = .;
++ _fbss = .;
++ .sbss : {
++ *(.sbss)
++ *(.sbss.*)
++ *(.gnu.linkonce.sb.*)
++ *(.scommon)
++ }
++ .bss : {
++ _bss_start = . ;
++ *(.bss)
++ *(.bss.*)
++ *(.gnu.linkonce.b.*)
++ *(COMMON)
++ }
++
++ PROVIDE (end = .);
++ _end = .;
++
++ /* DWARF debug sections.
++ Symbols in the DWARF debugging sections are relative to
++ the beginning of the section so we begin them at 0. */
++
++ /* DWARF 1 */
++ .debug 0 : { *(.debug) }
++ .line 0 : { *(.line) }
++
++ /* GNU DWARF 1 extensions */
++ .debug_srcinfo 0 : { *(.debug_srcinfo) }
++ .debug_sfnames 0 : { *(.debug_sfnames) }
++
++ /* DWARF 1.1 and DWARF 2 */
++ .debug_aranges 0 : { *(.debug_aranges) }
++ .debug_pubnames 0 : { *(.debug_pubnames) }
++
++ /* DWARF 2 */
++ .debug_info 0 : { *(.debug_info) }
++ .debug_abbrev 0 : { *(.debug_abbrev) }
++ .debug_line 0 : { *(.debug_line) }
++ .debug_frame 0 : { *(.debug_frame) }
++ .debug_str 0 : { *(.debug_str) }
++ .debug_loc 0 : { *(.debug_loc) }
++ .debug_macinfo 0 : { *(.debug_macinfo) }
++ .debug_ranges 0 : { *(.debug_ranges) }
++
++ /* SGI/MIPS DWARF 2 extensions */
++ .debug_weaknames 0 : { *(.debug_weaknames) }
++ .debug_funcnames 0 : { *(.debug_funcnames) }
++ .debug_typenames 0 : { *(.debug_typenames) }
++ .debug_varnames 0 : { *(.debug_varnames) }
++
++ /* Special sections generated by gcc */
++ /* Newer GNU linkers strip by default */
++ .mdebug.abi32 0 : { KEEP(*(.mdebug.abi32)) }
++ .mdebug.abiN32 0 : { KEEP(*(.mdebug.abiN32)) }
++ .mdebug.abi64 0 : { KEEP(*(.mdebug.abi64)) }
++ .mdebug.abiO64 0 : { KEEP(*(.mdebug.abiO64)) }
++ .mdebug.eabi32 0 : { KEEP(*(.mdebug.eabi32)) }
++ .mdebug.eabi64 0 : { KEEP(*(.mdebug.eabi64)) }
++ .gcc_compiled_long32 0 : { KEEP(*(.gcc_compiled_long32)) }
++ .gcc_compiled_long64 0 : { KEEP(*(.gcc_compiled_long64)) }
++}
+diff -Naur newlib-1.20.0.orig/libgloss/mips/mti64_64.ld newlib-1.20.0/libgloss/mips/mti64_64.ld
+--- newlib-1.20.0.orig/libgloss/mips/mti64_64.ld 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/libgloss/mips/mti64_64.ld 2012-10-15 10:31:19.549619945 +0200
+@@ -0,0 +1,190 @@
++/* The following TEXT start address leaves space for the monitor
++ workspace. This linker script links ISA64r2 programs for use with the
++ simulator. We set the ISA explicitly so that we can link objects of
++ different ISAs that are subsets of ISA64r2 but are not extensions of
++ each other (e.g., MIPS32r2 and MIPS64).
++
++ It differs from mti64.ld by using the elf64 ABI targets instead of the
++ elf32 ABI targets in OUTPUT_FORMAT. */
++
++ENTRY(_start)
++OUTPUT_ARCH("mips:isa64r2")
++OUTPUT_FORMAT("elf64-tradlittlemips", "elf64-tradbigmips", "elf64-tradlittlemips")
++GROUP(-lc -lidt -lgcc)
++SEARCH_DIR(.)
++__DYNAMIC = 0;
++STARTUP(crt0.o)
++
++/*
++ * Allocate the stack to be at the top of memory, since the stack
++ * grows down
++ */
++PROVIDE (__stack = 0);
++/* PROVIDE (__global = 0); */
++
++/*
++ * Initalize some symbols to be zero so we can reference them in the
++ * crt0 without core dumping. These functions are all optional, but
++ * we do this so we can have our crt0 always use them if they exist.
++ * This is so BSPs work better when using the crt0 installed with gcc.
++ * We have to initalize them twice, so we multiple object file
++ * formats, as some prepend an underscore.
++ */
++PROVIDE (hardware_exit_hook = 0);
++PROVIDE (hardware_hazard_hook = 0);
++PROVIDE (hardware_init_hook = 0);
++PROVIDE (software_init_hook = 0);
++
++SECTIONS
++{
++ . = 0xFFFFFFFF80020000;
++ .text : {
++ _ftext = . ;
++ PROVIDE (eprol = .);
++ *(.text)
++ *(.text.*)
++ *(.gnu.linkonce.t.*)
++ *(.mips16.fn.*)
++ *(.mips16.call.*)
++ }
++ .init : {
++ KEEP (*(.init))
++ }
++ .fini : {
++ KEEP (*(.fini))
++ }
++ .rel.sdata : {
++ PROVIDE (__runtime_reloc_start = .);
++ *(.rel.sdata)
++ PROVIDE (__runtime_reloc_stop = .);
++ }
++ PROVIDE (etext = .);
++ _etext = .;
++
++ .eh_frame_hdr : { *(.eh_frame_hdr) }
++ .eh_frame : { KEEP (*(.eh_frame)) }
++ .gcc_except_table : { *(.gcc_except_table) }
++ .jcr : { KEEP (*(.jcr)) }
++ .ctors :
++ {
++ /* gcc uses crtbegin.o to find the start of
++ the constructors, so we make sure it is
++ first. Because this is a wildcard, it
++ doesn't matter if the user does not
++ actually link against crtbegin.o; the
++ linker won't look for a file to match a
++ wildcard. The wildcard also means that it
++ doesn't matter which directory crtbegin.o
++ is in. */
++
++ KEEP (*crtbegin.o(.ctors))
++
++ /* We don't want to include the .ctor section from
++ from the crtend.o file until after the sorted ctors.
++ The .ctor section from the crtend file contains the
++ end of ctors marker and it must be last */
++
++ KEEP (*(EXCLUDE_FILE (*crtend.o) .ctors))
++ KEEP (*(SORT(.ctors.*)))
++ KEEP (*(.ctors))
++ }
++
++ .dtors :
++ {
++ KEEP (*crtbegin.o(.dtors))
++ KEEP (*(EXCLUDE_FILE (*crtend.o) .dtors))
++ KEEP (*(SORT(.dtors.*)))
++ KEEP (*(.dtors))
++ }
++
++ . = .;
++ .rodata : {
++ *(.rdata)
++ *(.rodata)
++ *(.rodata.*)
++ *(.gnu.linkonce.r.*)
++ }
++ _fdata = ALIGN(16);
++ .data : {
++ *(.data)
++ *(.data.*)
++ *(.gnu.linkonce.d.*)
++ }
++ . = ALIGN(8);
++ _gp = . + 0x8000;
++ __global = _gp;
++ .lit8 : {
++ *(.lit8)
++ }
++ .lit4 : {
++ *(.lit4)
++ }
++ .sdata : {
++ *(.sdata)
++ *(.sdata.*)
++ *(.gnu.linkonce.s.*)
++ }
++ . = ALIGN(4);
++ PROVIDE (edata = .);
++ _edata = .;
++ _fbss = .;
++ .sbss : {
++ *(.sbss)
++ *(.sbss.*)
++ *(.gnu.linkonce.sb.*)
++ *(.scommon)
++ }
++ .bss : {
++ _bss_start = . ;
++ *(.bss)
++ *(.bss.*)
++ *(.gnu.linkonce.b.*)
++ *(COMMON)
++ }
++
++ PROVIDE (end = .);
++ _end = .;
++
++ /* DWARF debug sections.
++ Symbols in the DWARF debugging sections are relative to
++ the beginning of the section so we begin them at 0. */
++
++ /* DWARF 1 */
++ .debug 0 : { *(.debug) }
++ .line 0 : { *(.line) }
++
++ /* GNU DWARF 1 extensions */
++ .debug_srcinfo 0 : { *(.debug_srcinfo) }
++ .debug_sfnames 0 : { *(.debug_sfnames) }
++
++ /* DWARF 1.1 and DWARF 2 */
++ .debug_aranges 0 : { *(.debug_aranges) }
++ .debug_pubnames 0 : { *(.debug_pubnames) }
++
++ /* DWARF 2 */
++ .debug_info 0 : { *(.debug_info) }
++ .debug_abbrev 0 : { *(.debug_abbrev) }
++ .debug_line 0 : { *(.debug_line) }
++ .debug_frame 0 : { *(.debug_frame) }
++ .debug_str 0 : { *(.debug_str) }
++ .debug_loc 0 : { *(.debug_loc) }
++ .debug_macinfo 0 : { *(.debug_macinfo) }
++ .debug_ranges 0 : { *(.debug_ranges) }
++
++ /* SGI/MIPS DWARF 2 extensions */
++ .debug_weaknames 0 : { *(.debug_weaknames) }
++ .debug_funcnames 0 : { *(.debug_funcnames) }
++ .debug_typenames 0 : { *(.debug_typenames) }
++ .debug_varnames 0 : { *(.debug_varnames) }
++
++ /* Special sections generated by gcc */
++ /* Newer GNU linkers strip by default */
++ .mdebug.abi32 0 : { KEEP(*(.mdebug.abi32)) }
++ .mdebug.abiN32 0 : { KEEP(*(.mdebug.abiN32)) }
++ .mdebug.abi64 0 : { KEEP(*(.mdebug.abi64)) }
++ .mdebug.abiO64 0 : { KEEP(*(.mdebug.abiO64)) }
++ .mdebug.eabi32 0 : { KEEP(*(.mdebug.eabi32)) }
++ .mdebug.eabi64 0 : { KEEP(*(.mdebug.eabi64)) }
++ .gcc_compiled_long32 0 : { KEEP(*(.gcc_compiled_long32)) }
++ .gcc_compiled_long64 0 : { KEEP(*(.gcc_compiled_long64)) }
++}
+diff -Naur newlib-1.20.0.orig/libgloss/mips/mti64.ld newlib-1.20.0/libgloss/mips/mti64.ld
+--- newlib-1.20.0.orig/libgloss/mips/mti64.ld 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/libgloss/mips/mti64.ld 2012-10-15 10:31:19.549619945 +0200
+@@ -0,0 +1,187 @@
++/* The following TEXT start address leaves space for the monitor
++ workspace. This linker script links ISA64r2 programs for use with the
++ simulator. We set the ISA explicitly so that we can link objects of
++ different ISAs that are subsets of ISA64r2 but are not extensions of
++ each other (e.g., MIPS32r2 and MIPS64). */
++
++ENTRY(_start)
++OUTPUT_ARCH("mips:isa64r2")
++OUTPUT_FORMAT("elf32-tradlittlemips", "elf32-tradbigmips", "elf32-tradlittlemips")
++GROUP(-lc -lidt -lgcc)
++SEARCH_DIR(.)
++__DYNAMIC = 0;
++STARTUP(crt0.o)
++
++/*
++ * Allocate the stack to be at the top of memory, since the stack
++ * grows down
++ */
++PROVIDE (__stack = 0);
++/* PROVIDE (__global = 0); */
++
++/*
++ * Initalize some symbols to be zero so we can reference them in the
++ * crt0 without core dumping. These functions are all optional, but
++ * we do this so we can have our crt0 always use them if they exist.
++ * This is so BSPs work better when using the crt0 installed with gcc.
++ * We have to initalize them twice, so we multiple object file
++ * formats, as some prepend an underscore.
++ */
++PROVIDE (hardware_exit_hook = 0);
++PROVIDE (hardware_hazard_hook = 0);
++PROVIDE (hardware_init_hook = 0);
++PROVIDE (software_init_hook = 0);
++
++SECTIONS
++{
++ . = 0x80020000;
++ .text : {
++ _ftext = . ;
++ PROVIDE (eprol = .);
++ *(.text)
++ *(.text.*)
++ *(.gnu.linkonce.t.*)
++ *(.mips16.fn.*)
++ *(.mips16.call.*)
++ }
++ .init : {
++ KEEP (*(.init))
++ }
++ .fini : {
++ KEEP (*(.fini))
++ }
++ .rel.sdata : {
++ PROVIDE (__runtime_reloc_start = .);
++ *(.rel.sdata)
++ PROVIDE (__runtime_reloc_stop = .);
++ }
++ PROVIDE (etext = .);
++ _etext = .;
++
++ .eh_frame_hdr : { *(.eh_frame_hdr) }
++ .eh_frame : { KEEP (*(.eh_frame)) }
++ .gcc_except_table : { *(.gcc_except_table) }
++ .jcr : { KEEP (*(.jcr)) }
++ .ctors :
++ {
++ /* gcc uses crtbegin.o to find the start of
++ the constructors, so we make sure it is
++ first. Because this is a wildcard, it
++ doesn't matter if the user does not
++ actually link against crtbegin.o; the
++ linker won't look for a file to match a
++ wildcard. The wildcard also means that it
++ doesn't matter which directory crtbegin.o
++ is in. */
++
++ KEEP (*crtbegin.o(.ctors))
++
++ /* We don't want to include the .ctor section from
++ from the crtend.o file until after the sorted ctors.
++ The .ctor section from the crtend file contains the
++ end of ctors marker and it must be last */
++
++ KEEP (*(EXCLUDE_FILE (*crtend.o) .ctors))
++ KEEP (*(SORT(.ctors.*)))
++ KEEP (*(.ctors))
++ }
++
++ .dtors :
++ {
++ KEEP (*crtbegin.o(.dtors))
++ KEEP (*(EXCLUDE_FILE (*crtend.o) .dtors))
++ KEEP (*(SORT(.dtors.*)))
++ KEEP (*(.dtors))
++ }
++
++ . = .;
++ .rodata : {
++ *(.rdata)
++ *(.rodata)
++ *(.rodata.*)
++ *(.gnu.linkonce.r.*)
++ }
++ _fdata = ALIGN(16);
++ .data : {
++ *(.data)
++ *(.data.*)
++ *(.gnu.linkonce.d.*)
++ }
++ . = ALIGN(8);
++ _gp = . + 0x8000;
++ __global = _gp;
++ .lit8 : {
++ *(.lit8)
++ }
++ .lit4 : {
++ *(.lit4)
++ }
++ .sdata : {
++ *(.sdata)
++ *(.sdata.*)
++ *(.gnu.linkonce.s.*)
++ }
++ . = ALIGN(4);
++ PROVIDE (edata = .);
++ _edata = .;
++ _fbss = .;
++ .sbss : {
++ *(.sbss)
++ *(.sbss.*)
++ *(.gnu.linkonce.sb.*)
++ *(.scommon)
++ }
++ .bss : {
++ _bss_start = . ;
++ *(.bss)
++ *(.bss.*)
++ *(.gnu.linkonce.b.*)
++ *(COMMON)
++ }
++
++ PROVIDE (end = .);
++ _end = .;
++
++ /* DWARF debug sections.
++ Symbols in the DWARF debugging sections are relative to
++ the beginning of the section so we begin them at 0. */
++
++ /* DWARF 1 */
++ .debug 0 : { *(.debug) }
++ .line 0 : { *(.line) }
++
++ /* GNU DWARF 1 extensions */
++ .debug_srcinfo 0 : { *(.debug_srcinfo) }
++ .debug_sfnames 0 : { *(.debug_sfnames) }
++
++ /* DWARF 1.1 and DWARF 2 */
++ .debug_aranges 0 : { *(.debug_aranges) }
++ .debug_pubnames 0 : { *(.debug_pubnames) }
++
++ /* DWARF 2 */
++ .debug_info 0 : { *(.debug_info) }
++ .debug_abbrev 0 : { *(.debug_abbrev) }
++ .debug_line 0 : { *(.debug_line) }
++ .debug_frame 0 : { *(.debug_frame) }
++ .debug_str 0 : { *(.debug_str) }
++ .debug_loc 0 : { *(.debug_loc) }
++ .debug_macinfo 0 : { *(.debug_macinfo) }
++ .debug_ranges 0 : { *(.debug_ranges) }
++
++ /* SGI/MIPS DWARF 2 extensions */
++ .debug_weaknames 0 : { *(.debug_weaknames) }
++ .debug_funcnames 0 : { *(.debug_funcnames) }
++ .debug_typenames 0 : { *(.debug_typenames) }
++ .debug_varnames 0 : { *(.debug_varnames) }
++
++ /* Special sections generated by gcc */
++ /* Newer GNU linkers strip by default */
++ .mdebug.abi32 0 : { KEEP(*(.mdebug.abi32)) }
++ .mdebug.abiN32 0 : { KEEP(*(.mdebug.abiN32)) }
++ .mdebug.abi64 0 : { KEEP(*(.mdebug.abi64)) }
++ .mdebug.abiO64 0 : { KEEP(*(.mdebug.abiO64)) }
++ .mdebug.eabi32 0 : { KEEP(*(.mdebug.eabi32)) }
++ .mdebug.eabi64 0 : { KEEP(*(.mdebug.eabi64)) }
++ .gcc_compiled_long32 0 : { KEEP(*(.gcc_compiled_long32)) }
++ .gcc_compiled_long64 0 : { KEEP(*(.gcc_compiled_long64)) }
++}
+diff -Naur newlib-1.20.0.orig/libgloss/mips/mti64_n32.ld newlib-1.20.0/libgloss/mips/mti64_n32.ld
+--- newlib-1.20.0.orig/libgloss/mips/mti64_n32.ld 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/libgloss/mips/mti64_n32.ld 2012-10-15 10:31:19.549619945 +0200
+@@ -0,0 +1,190 @@
++/* The following TEXT start address leaves space for the monitor
++ workspace. This linker script links ISA64r2 programs for use with the
++ simulator. We set the ISA explicitly so that we can link objects of
++ different ISAs that are subsets of ISA64r2 but are not extensions of
++ each other (e.g., MIPS32r2 and MIPS64).
++
++ It differs from mti64.ld by using the n32 ABI targets instead of the
++ o32 ABI targets in OUTPUT_FORMAT. */
++
++ENTRY(_start)
++OUTPUT_ARCH("mips:isa64r2")
++OUTPUT_FORMAT("elf32-ntradlittlemips", "elf32-ntradbigmips", "elf32-ntradlittlemips")
++GROUP(-lc -lidt -lgcc)
++SEARCH_DIR(.)
++__DYNAMIC = 0;
++STARTUP(crt0.o)
++
++/*
++ * Allocate the stack to be at the top of memory, since the stack
++ * grows down
++ */
++PROVIDE (__stack = 0);
++/* PROVIDE (__global = 0); */
++
++/*
++ * Initalize some symbols to be zero so we can reference them in the
++ * crt0 without core dumping. These functions are all optional, but
++ * we do this so we can have our crt0 always use them if they exist.
++ * This is so BSPs work better when using the crt0 installed with gcc.
++ * We have to initalize them twice, so we multiple object file
++ * formats, as some prepend an underscore.
++ */
++PROVIDE (hardware_exit_hook = 0);
++PROVIDE (hardware_hazard_hook = 0);
++PROVIDE (hardware_init_hook = 0);
++PROVIDE (software_init_hook = 0);
++
++SECTIONS
++{
++ . = 0x80020000;
++ .text : {
++ _ftext = . ;
++ PROVIDE (eprol = .);
++ *(.text)
++ *(.text.*)
++ *(.gnu.linkonce.t.*)
++ *(.mips16.fn.*)
++ *(.mips16.call.*)
++ }
++ .init : {
++ KEEP (*(.init))
++ }
++ .fini : {
++ KEEP (*(.fini))
++ }
++ .rel.sdata : {
++ PROVIDE (__runtime_reloc_start = .);
++ *(.rel.sdata)
++ PROVIDE (__runtime_reloc_stop = .);
++ }
++ PROVIDE (etext = .);
++ _etext = .;
++
++ .eh_frame_hdr : { *(.eh_frame_hdr) }
++ .eh_frame : { KEEP (*(.eh_frame)) }
++ .gcc_except_table : { *(.gcc_except_table) }
++ .jcr : { KEEP (*(.jcr)) }
++ .ctors :
++ {
++ /* gcc uses crtbegin.o to find the start of
++ the constructors, so we make sure it is
++ first. Because this is a wildcard, it
++ doesn't matter if the user does not
++ actually link against crtbegin.o; the
++ linker won't look for a file to match a
++ wildcard. The wildcard also means that it
++ doesn't matter which directory crtbegin.o
++ is in. */
++
++ KEEP (*crtbegin.o(.ctors))
++
++ /* We don't want to include the .ctor section from
++ from the crtend.o file until after the sorted ctors.
++ The .ctor section from the crtend file contains the
++ end of ctors marker and it must be last */
++
++ KEEP (*(EXCLUDE_FILE (*crtend.o) .ctors))
++ KEEP (*(SORT(.ctors.*)))
++ KEEP (*(.ctors))
++ }
++
++ .dtors :
++ {
++ KEEP (*crtbegin.o(.dtors))
++ KEEP (*(EXCLUDE_FILE (*crtend.o) .dtors))
++ KEEP (*(SORT(.dtors.*)))
++ KEEP (*(.dtors))
++ }
++
++ . = .;
++ .rodata : {
++ *(.rdata)
++ *(.rodata)
++ *(.rodata.*)
++ *(.gnu.linkonce.r.*)
++ }
++ _fdata = ALIGN(16);
++ .data : {
++ *(.data)
++ *(.data.*)
++ *(.gnu.linkonce.d.*)
++ }
++ . = ALIGN(8);
++ _gp = . + 0x8000;
++ __global = _gp;
++ .lit8 : {
++ *(.lit8)
++ }
++ .lit4 : {
++ *(.lit4)
++ }
++ .sdata : {
++ *(.sdata)
++ *(.sdata.*)
++ *(.gnu.linkonce.s.*)
++ }
++ . = ALIGN(4);
++ PROVIDE (edata = .);
++ _edata = .;
++ _fbss = .;
++ .sbss : {
++ *(.sbss)
++ *(.sbss.*)
++ *(.gnu.linkonce.sb.*)
++ *(.scommon)
++ }
++ .bss : {
++ _bss_start = . ;
++ *(.bss)
++ *(.bss.*)
++ *(.gnu.linkonce.b.*)
++ *(COMMON)
++ }
++
++ PROVIDE (end = .);
++ _end = .;
++
++ /* DWARF debug sections.
++ Symbols in the DWARF debugging sections are relative to
++ the beginning of the section so we begin them at 0. */
++
++ /* DWARF 1 */
++ .debug 0 : { *(.debug) }
++ .line 0 : { *(.line) }
++
++ /* GNU DWARF 1 extensions */
++ .debug_srcinfo 0 : { *(.debug_srcinfo) }
++ .debug_sfnames 0 : { *(.debug_sfnames) }
++
++ /* DWARF 1.1 and DWARF 2 */
++ .debug_aranges 0 : { *(.debug_aranges) }
++ .debug_pubnames 0 : { *(.debug_pubnames) }
++
++ /* DWARF 2 */
++ .debug_info 0 : { *(.debug_info) }
++ .debug_abbrev 0 : { *(.debug_abbrev) }
++ .debug_line 0 : { *(.debug_line) }
++ .debug_frame 0 : { *(.debug_frame) }
++ .debug_str 0 : { *(.debug_str) }
++ .debug_loc 0 : { *(.debug_loc) }
++ .debug_macinfo 0 : { *(.debug_macinfo) }
++ .debug_ranges 0 : { *(.debug_ranges) }
++
++ /* SGI/MIPS DWARF 2 extensions */
++ .debug_weaknames 0 : { *(.debug_weaknames) }
++ .debug_funcnames 0 : { *(.debug_funcnames) }
++ .debug_typenames 0 : { *(.debug_typenames) }
++ .debug_varnames 0 : { *(.debug_varnames) }
++
++ /* Special sections generated by gcc */
++ /* Newer GNU linkers strip by default */
++ .mdebug.abi32 0 : { KEEP(*(.mdebug.abi32)) }
++ .mdebug.abiN32 0 : { KEEP(*(.mdebug.abiN32)) }
++ .mdebug.abi64 0 : { KEEP(*(.mdebug.abi64)) }
++ .mdebug.abiO64 0 : { KEEP(*(.mdebug.abiO64)) }
++ .mdebug.eabi32 0 : { KEEP(*(.mdebug.eabi32)) }
++ .mdebug.eabi64 0 : { KEEP(*(.mdebug.eabi64)) }
++ .gcc_compiled_long32 0 : { KEEP(*(.gcc_compiled_long32)) }
++ .gcc_compiled_long64 0 : { KEEP(*(.gcc_compiled_long64)) }
++}
+diff -Naur newlib-1.20.0.orig/libgloss/mips/sde32.ld newlib-1.20.0/libgloss/mips/sde32.ld
+--- newlib-1.20.0.orig/libgloss/mips/sde32.ld 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/libgloss/mips/sde32.ld 2012-10-15 10:31:19.549619945 +0200
+@@ -0,0 +1,185 @@
++/* The following TEXT start address leaves space for the monitor
++ workspace. This linker script links ISA32r2 programs for use with
++ the simulator. */
++
++ENTRY(_start)
++OUTPUT_ARCH("mips:isa32r2")
++OUTPUT_FORMAT("elf32-tradlittlemips", "elf32-tradbigmips", "elf32-tradlittlemips")
++GROUP(-lc -lidt -lgcc)
++SEARCH_DIR(.)
++__DYNAMIC = 0;
++STARTUP(crt0.o)
++
++/*
++ * Allocate the stack to be at the top of memory, since the stack
++ * grows down
++ */
++PROVIDE (__stack = 0);
++/* PROVIDE (__global = 0); */
++
++/*
++ * Initalize some symbols to be zero so we can reference them in the
++ * crt0 without core dumping. These functions are all optional, but
++ * we do this so we can have our crt0 always use them if they exist.
++ * This is so BSPs work better when using the crt0 installed with gcc.
++ * We have to initalize them twice, so we multiple object file
++ * formats, as some prepend an underscore.
++ */
++PROVIDE (hardware_exit_hook = 0);
++PROVIDE (hardware_hazard_hook = 0);
++PROVIDE (hardware_init_hook = 0);
++PROVIDE (software_init_hook = 0);
++
++SECTIONS
++{
++ . = 0x80020000;
++ .text : {
++ _ftext = . ;
++ PROVIDE (eprol = .);
++ *(.text)
++ *(.text.*)
++ *(.gnu.linkonce.t.*)
++ *(.mips16.fn.*)
++ *(.mips16.call.*)
++ }
++ .init : {
++ KEEP (*(.init))
++ }
++ .fini : {
++ KEEP (*(.fini))
++ }
++ .rel.sdata : {
++ PROVIDE (__runtime_reloc_start = .);
++ *(.rel.sdata)
++ PROVIDE (__runtime_reloc_stop = .);
++ }
++ PROVIDE (etext = .);
++ _etext = .;
++
++ .eh_frame_hdr : { *(.eh_frame_hdr) }
++ .eh_frame : { KEEP (*(.eh_frame)) }
++ .gcc_except_table : { *(.gcc_except_table) }
++ .jcr : { KEEP (*(.jcr)) }
++ .ctors :
++ {
++ /* gcc uses crtbegin.o to find the start of
++ the constructors, so we make sure it is
++ first. Because this is a wildcard, it
++ doesn't matter if the user does not
++ actually link against crtbegin.o; the
++ linker won't look for a file to match a
++ wildcard. The wildcard also means that it
++ doesn't matter which directory crtbegin.o
++ is in. */
++
++ KEEP (*crtbegin.o(.ctors))
++
++ /* We don't want to include the .ctor section from
++ from the crtend.o file until after the sorted ctors.
++ The .ctor section from the crtend file contains the
++ end of ctors marker and it must be last */
++
++ KEEP (*(EXCLUDE_FILE (*crtend.o) .ctors))
++ KEEP (*(SORT(.ctors.*)))
++ KEEP (*(.ctors))
++ }
++
++ .dtors :
++ {
++ KEEP (*crtbegin.o(.dtors))
++ KEEP (*(EXCLUDE_FILE (*crtend.o) .dtors))
++ KEEP (*(SORT(.dtors.*)))
++ KEEP (*(.dtors))
++ }
++
++ . = .;
++ .rodata : {
++ *(.rdata)
++ *(.rodata)
++ *(.rodata.*)
++ *(.gnu.linkonce.r.*)
++ }
++ _fdata = ALIGN(16);
++ .data : {
++ *(.data)
++ *(.data.*)
++ *(.gnu.linkonce.d.*)
++ }
++ . = ALIGN(8);
++ _gp = . + 0x8000;
++ __global = _gp;
++ .lit8 : {
++ *(.lit8)
++ }
++ .lit4 : {
++ *(.lit4)
++ }
++ .sdata : {
++ *(.sdata)
++ *(.sdata.*)
++ *(.gnu.linkonce.s.*)
++ }
++ . = ALIGN(4);
++ PROVIDE (edata = .);
++ _edata = .;
++ _fbss = .;
++ .sbss : {
++ *(.sbss)
++ *(.sbss.*)
++ *(.gnu.linkonce.sb.*)
++ *(.scommon)
++ }
++ .bss : {
++ _bss_start = . ;
++ *(.bss)
++ *(.bss.*)
++ *(.gnu.linkonce.b.*)
++ *(COMMON)
++ }
++
++ PROVIDE (end = .);
++ _end = .;
++
++ /* DWARF debug sections.
++ Symbols in the DWARF debugging sections are relative to
++ the beginning of the section so we begin them at 0. */
++
++ /* DWARF 1 */
++ .debug 0 : { *(.debug) }
++ .line 0 : { *(.line) }
++
++ /* GNU DWARF 1 extensions */
++ .debug_srcinfo 0 : { *(.debug_srcinfo) }
++ .debug_sfnames 0 : { *(.debug_sfnames) }
++
++ /* DWARF 1.1 and DWARF 2 */
++ .debug_aranges 0 : { *(.debug_aranges) }
++ .debug_pubnames 0 : { *(.debug_pubnames) }
++
++ /* DWARF 2 */
++ .debug_info 0 : { *(.debug_info) }
++ .debug_abbrev 0 : { *(.debug_abbrev) }
++ .debug_line 0 : { *(.debug_line) }
++ .debug_frame 0 : { *(.debug_frame) }
++ .debug_str 0 : { *(.debug_str) }
++ .debug_loc 0 : { *(.debug_loc) }
++ .debug_macinfo 0 : { *(.debug_macinfo) }
++ .debug_ranges 0 : { *(.debug_ranges) }
++
++ /* SGI/MIPS DWARF 2 extensions */
++ .debug_weaknames 0 : { *(.debug_weaknames) }
++ .debug_funcnames 0 : { *(.debug_funcnames) }
++ .debug_typenames 0 : { *(.debug_typenames) }
++ .debug_varnames 0 : { *(.debug_varnames) }
++
++ /* Special sections generated by gcc */
++ /* Newer GNU linkers strip by default */
++ .mdebug.abi32 0 : { KEEP(*(.mdebug.abi32)) }
++ .mdebug.abiN32 0 : { KEEP(*(.mdebug.abiN32)) }
++ .mdebug.abi64 0 : { KEEP(*(.mdebug.abi64)) }
++ .mdebug.abiO64 0 : { KEEP(*(.mdebug.abiO64)) }
++ .mdebug.eabi32 0 : { KEEP(*(.mdebug.eabi32)) }
++ .mdebug.eabi64 0 : { KEEP(*(.mdebug.eabi64)) }
++ .gcc_compiled_long32 0 : { KEEP(*(.gcc_compiled_long32)) }
++ .gcc_compiled_long64 0 : { KEEP(*(.gcc_compiled_long64)) }
++}
+diff -Naur newlib-1.20.0.orig/libgloss/mips/sde64.ld newlib-1.20.0/libgloss/mips/sde64.ld
+--- newlib-1.20.0.orig/libgloss/mips/sde64.ld 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/libgloss/mips/sde64.ld 2012-10-15 10:31:19.549619945 +0200
+@@ -0,0 +1,187 @@
++/* The following TEXT start address leaves space for the monitor
++ workspace. This linker script links ISA64r2 programs for use with the
++ simulator. We set the ISA explicitly so that we can link objects of
++ different ISAs that are subsets of ISA64r2 but are not extensions of
++ each other (e.g., MIPS32r2 and MIPS64). */
++
++ENTRY(_start)
++OUTPUT_ARCH("mips:isa64r2")
++OUTPUT_FORMAT("elf32-tradlittlemips", "elf32-tradbigmips", "elf32-tradlittlemips")
++GROUP(-lc -lidt -lgcc)
++SEARCH_DIR(.)
++__DYNAMIC = 0;
++STARTUP(crt0.o)
++
++/*
++ * Allocate the stack to be at the top of memory, since the stack
++ * grows down
++ */
++PROVIDE (__stack = 0);
++/* PROVIDE (__global = 0); */
++
++/*
++ * Initalize some symbols to be zero so we can reference them in the
++ * crt0 without core dumping. These functions are all optional, but
++ * we do this so we can have our crt0 always use them if they exist.
++ * This is so BSPs work better when using the crt0 installed with gcc.
++ * We have to initalize them twice, so we multiple object file
++ * formats, as some prepend an underscore.
++ */
++PROVIDE (hardware_exit_hook = 0);
++PROVIDE (hardware_hazard_hook = 0);
++PROVIDE (hardware_init_hook = 0);
++PROVIDE (software_init_hook = 0);
++
++SECTIONS
++{
++ . = 0x80020000;
++ .text : {
++ _ftext = . ;
++ PROVIDE (eprol = .);
++ *(.text)
++ *(.text.*)
++ *(.gnu.linkonce.t.*)
++ *(.mips16.fn.*)
++ *(.mips16.call.*)
++ }
++ .init : {
++ KEEP (*(.init))
++ }
++ .fini : {
++ KEEP (*(.fini))
++ }
++ .rel.sdata : {
++ PROVIDE (__runtime_reloc_start = .);
++ *(.rel.sdata)
++ PROVIDE (__runtime_reloc_stop = .);
++ }
++ PROVIDE (etext = .);
++ _etext = .;
++
++ .eh_frame_hdr : { *(.eh_frame_hdr) }
++ .eh_frame : { KEEP (*(.eh_frame)) }
++ .gcc_except_table : { *(.gcc_except_table) }
++ .jcr : { KEEP (*(.jcr)) }
++ .ctors :
++ {
++ /* gcc uses crtbegin.o to find the start of
++ the constructors, so we make sure it is
++ first. Because this is a wildcard, it
++ doesn't matter if the user does not
++ actually link against crtbegin.o; the
++ linker won't look for a file to match a
++ wildcard. The wildcard also means that it
++ doesn't matter which directory crtbegin.o
++ is in. */
++
++ KEEP (*crtbegin.o(.ctors))
++
++ /* We don't want to include the .ctor section from
++ from the crtend.o file until after the sorted ctors.
++ The .ctor section from the crtend file contains the
++ end of ctors marker and it must be last */
++
++ KEEP (*(EXCLUDE_FILE (*crtend.o) .ctors))
++ KEEP (*(SORT(.ctors.*)))
++ KEEP (*(.ctors))
++ }
++
++ .dtors :
++ {
++ KEEP (*crtbegin.o(.dtors))
++ KEEP (*(EXCLUDE_FILE (*crtend.o) .dtors))
++ KEEP (*(SORT(.dtors.*)))
++ KEEP (*(.dtors))
++ }
++
++ . = .;
++ .rodata : {
++ *(.rdata)
++ *(.rodata)
++ *(.rodata.*)
++ *(.gnu.linkonce.r.*)
++ }
++ _fdata = ALIGN(16);
++ .data : {
++ *(.data)
++ *(.data.*)
++ *(.gnu.linkonce.d.*)
++ }
++ . = ALIGN(8);
++ _gp = . + 0x8000;
++ __global = _gp;
++ .lit8 : {
++ *(.lit8)
++ }
++ .lit4 : {
++ *(.lit4)
++ }
++ .sdata : {
++ *(.sdata)
++ *(.sdata.*)
++ *(.gnu.linkonce.s.*)
++ }
++ . = ALIGN(4);
++ PROVIDE (edata = .);
++ _edata = .;
++ _fbss = .;
++ .sbss : {
++ *(.sbss)
++ *(.sbss.*)
++ *(.gnu.linkonce.sb.*)
++ *(.scommon)
++ }
++ .bss : {
++ _bss_start = . ;
++ *(.bss)
++ *(.bss.*)
++ *(.gnu.linkonce.b.*)
++ *(COMMON)
++ }
++
++ PROVIDE (end = .);
++ _end = .;
++
++ /* DWARF debug sections.
++ Symbols in the DWARF debugging sections are relative to
++ the beginning of the section so we begin them at 0. */
++
++ /* DWARF 1 */
++ .debug 0 : { *(.debug) }
++ .line 0 : { *(.line) }
++
++ /* GNU DWARF 1 extensions */
++ .debug_srcinfo 0 : { *(.debug_srcinfo) }
++ .debug_sfnames 0 : { *(.debug_sfnames) }
++
++ /* DWARF 1.1 and DWARF 2 */
++ .debug_aranges 0 : { *(.debug_aranges) }
++ .debug_pubnames 0 : { *(.debug_pubnames) }
++
++ /* DWARF 2 */
++ .debug_info 0 : { *(.debug_info) }
++ .debug_abbrev 0 : { *(.debug_abbrev) }
++ .debug_line 0 : { *(.debug_line) }
++ .debug_frame 0 : { *(.debug_frame) }
++ .debug_str 0 : { *(.debug_str) }
++ .debug_loc 0 : { *(.debug_loc) }
++ .debug_macinfo 0 : { *(.debug_macinfo) }
++ .debug_ranges 0 : { *(.debug_ranges) }
++
++ /* SGI/MIPS DWARF 2 extensions */
++ .debug_weaknames 0 : { *(.debug_weaknames) }
++ .debug_funcnames 0 : { *(.debug_funcnames) }
++ .debug_typenames 0 : { *(.debug_typenames) }
++ .debug_varnames 0 : { *(.debug_varnames) }
++
++ /* Special sections generated by gcc */
++ /* Newer GNU linkers strip by default */
++ .mdebug.abi32 0 : { KEEP(*(.mdebug.abi32)) }
++ .mdebug.abiN32 0 : { KEEP(*(.mdebug.abiN32)) }
++ .mdebug.abi64 0 : { KEEP(*(.mdebug.abi64)) }
++ .mdebug.abiO64 0 : { KEEP(*(.mdebug.abiO64)) }
++ .mdebug.eabi32 0 : { KEEP(*(.mdebug.eabi32)) }
++ .mdebug.eabi64 0 : { KEEP(*(.mdebug.eabi64)) }
++ .gcc_compiled_long32 0 : { KEEP(*(.gcc_compiled_long32)) }
++ .gcc_compiled_long64 0 : { KEEP(*(.gcc_compiled_long64)) }
++}
+diff -Naur newlib-1.20.0.orig/libgloss/mn10200/access.c newlib-1.20.0/libgloss/mn10200/access.c
+--- newlib-1.20.0.orig/libgloss/mn10200/access.c 2001-02-22 23:23:23.000000000 +0100
++++ newlib-1.20.0/libgloss/mn10200/access.c 2012-10-15 10:31:19.550619961 +0200
+@@ -3,7 +3,7 @@
+ * Copyright (C) 1993 DJ Delorie
+ * All rights reserved.
+ *
+- * Redistribution and use in source and binary forms is permitted
++ * Redistribution, modification, and use in source and binary forms is permitted
+ * provided that the above copyright notice and following paragraph are
+ * duplicated in all such forms.
+ *
+diff -Naur newlib-1.20.0.orig/libgloss/mn10300/access.c newlib-1.20.0/libgloss/mn10300/access.c
+--- newlib-1.20.0.orig/libgloss/mn10300/access.c 2001-02-22 23:23:23.000000000 +0100
++++ newlib-1.20.0/libgloss/mn10300/access.c 2012-10-15 10:31:19.550619961 +0200
+@@ -3,7 +3,7 @@
+ * Copyright (C) 1993 DJ Delorie
+ * All rights reserved.
+ *
+- * Redistribution and use in source and binary forms is permitted
++ * Redistribution, modification, and use in source and binary forms is permitted
+ * provided that the above copyright notice and following paragraph are
+ * duplicated in all such forms.
+ *
+diff -Naur newlib-1.20.0.orig/libgloss/moxie/moxie-elf-common.ld newlib-1.20.0/libgloss/moxie/moxie-elf-common.ld
+--- newlib-1.20.0.orig/libgloss/moxie/moxie-elf-common.ld 2009-05-01 04:53:25.000000000 +0200
++++ newlib-1.20.0/libgloss/moxie/moxie-elf-common.ld 2012-10-15 10:31:19.550619961 +0200
+@@ -2,7 +2,7 @@
+ * The common part of the default linker scripts for standalone
+ * executables running on a Moxie processor.
+ *
+- * Copyright (C) 2008 Anthony Green
++ * Copyright (C) 2008, 2012 Anthony Green
+ *
+ * The authors hereby grant permission to use, copy, modify,
+ * distribute, and license this software and its documentation for any
+@@ -15,7 +15,8 @@
+ * clearly indicated on the first page of each file where they apply.
+ */
+
+-OUTPUT_FORMAT("elf32-moxie")
++OUTPUT_FORMAT("elf32-bigmoxie", "elf32-bigmoxie",
++ "elf32-littlemoxie")
+ OUTPUT_ARCH(moxie)
+ ENTRY(_start)
+ SECTIONS
+diff -Naur newlib-1.20.0.orig/libgloss/mt/access.c newlib-1.20.0/libgloss/mt/access.c
+--- newlib-1.20.0.orig/libgloss/mt/access.c 2005-12-12 12:16:41.000000000 +0100
++++ newlib-1.20.0/libgloss/mt/access.c 2012-10-15 10:31:19.550619961 +0200
+@@ -3,7 +3,7 @@
+ * Copyright (C) 1993 DJ Delorie
+ * All rights reserved.
+ *
+- * Redistribution and use in source and binary forms is permitted
++ * Redistribution, modification, and use in source and binary forms is permitted
+ * provided that the above copyright notice and following paragraph are
+ * duplicated in all such forms.
+ *
+diff -Naur newlib-1.20.0.orig/libgloss/mt/startup-16-003.S newlib-1.20.0/libgloss/mt/startup-16-003.S
+--- newlib-1.20.0.orig/libgloss/mt/startup-16-003.S 2006-03-22 13:47:59.000000000 +0100
++++ newlib-1.20.0/libgloss/mt/startup-16-003.S 2012-10-15 10:31:19.551619977 +0200
+@@ -1,5 +1,5 @@
+ /*
+- * $Header: /cvs/src/src/libgloss/mt/startup-16-003.S,v 1.2 2006/03/22 12:47:59 nathan Exp $
++ * $Header$
+ *
+ * interrupt_vectors.s -- the interrupt handler jump table.
+ *
+diff -Naur newlib-1.20.0.orig/libgloss/mt/startup-64-001.S newlib-1.20.0/libgloss/mt/startup-64-001.S
+--- newlib-1.20.0.orig/libgloss/mt/startup-64-001.S 2005-12-12 12:16:41.000000000 +0100
++++ newlib-1.20.0/libgloss/mt/startup-64-001.S 2012-10-15 10:31:19.551619977 +0200
+@@ -1,5 +1,5 @@
+ /*
+- * $Header: /cvs/src/src/libgloss/mt/startup-64-001.S,v 1.1 2005/12/12 11:16:41 nathan Exp $
++ * $Header$
+ *
+ * interrupt_vectors.s -- the interrupt handler jump table.
+ *
+diff -Naur newlib-1.20.0.orig/libgloss/README newlib-1.20.0/libgloss/README
+--- newlib-1.20.0.orig/libgloss/README 2010-09-23 00:45:07.000000000 +0200
++++ newlib-1.20.0/libgloss/README 2012-10-15 10:31:19.518619445 +0200
+@@ -7,3 +7,4 @@
+ pa - WinBond and Oki boards with a PA.
+ mips - R3000 support. Array Tech LSI33k based RAID disk controller.
+ lm32 - Lattice Mico32 simulator.
++epiphany - Adapteva Epiphany multicore processor.
+\ No newline at end of file
+diff -Naur newlib-1.20.0.orig/libgloss/rl78/crt0.S newlib-1.20.0/libgloss/rl78/crt0.S
+--- newlib-1.20.0.orig/libgloss/rl78/crt0.S 2011-11-29 07:33:48.000000000 +0100
++++ newlib-1.20.0/libgloss/rl78/crt0.S 2012-10-15 10:31:19.551619977 +0200
+@@ -34,7 +34,11 @@
+ .short _start
+
+ .section ".ivec","a"
+-#define IV(x) .weak _##x##_handler | .short _##x##_handler
++ .macro _iv x
++ .weak \x
++ .short \x
++ .endm
++#define IV(x) _iv _##x##_handler
+ #define IVx() .short 0
+
+ /* To use a vector, simply define a global function named foo_handler()
+diff -Naur newlib-1.20.0.orig/libgloss/rx/rx.ld newlib-1.20.0/libgloss/rx/rx.ld
+--- newlib-1.20.0.orig/libgloss/rx/rx.ld 2009-11-25 21:20:25.000000000 +0100
++++ newlib-1.20.0/libgloss/rx/rx.ld 2012-10-15 10:31:19.553620009 +0200
+@@ -68,7 +68,7 @@
+ .rodata : {
+ . = ALIGN(4);
+ *(.plt)
+- *(.rodata C C_2 C_1 .rodata.* .gnu.linkonce.r.*)
++ *(.rodata C C_2 C_1 W W_2 W_1 .rodata.* .gnu.linkonce.r.*)
+ *(.rodata1)
+ *(.eh_frame_hdr)
+ KEEP (*(.eh_frame))
+diff -Naur newlib-1.20.0.orig/libgloss/rx/rx-sim.ld newlib-1.20.0/libgloss/rx/rx-sim.ld
+--- newlib-1.20.0.orig/libgloss/rx/rx-sim.ld 2009-11-25 21:20:25.000000000 +0100
++++ newlib-1.20.0/libgloss/rx/rx-sim.ld 2012-10-15 10:31:19.553620009 +0200
+@@ -66,7 +66,7 @@
+ .rodata : {
+ . = ALIGN(4);
+ *(.plt)
+- *(.rodata C C_2 C_1 .rodata.* .gnu.linkonce.r.*)
++ *(.rodata C C_2 C_1 W W_2 W_1 .rodata.* .gnu.linkonce.r.*)
+ *(.rodata1)
+ *(.eh_frame_hdr)
+ KEEP (*(.eh_frame))
+diff -Naur newlib-1.20.0.orig/libgloss/v850/access.c newlib-1.20.0/libgloss/v850/access.c
+--- newlib-1.20.0.orig/libgloss/v850/access.c 2010-07-23 19:52:37.000000000 +0200
++++ newlib-1.20.0/libgloss/v850/access.c 2012-10-15 10:31:19.553620009 +0200
+@@ -3,7 +3,7 @@
+ * Copyright (C) 1993 DJ Delorie
+ * All rights reserved.
+ *
+- * Redistribution and use in source and binary forms is permitted
++ * Redistribution, modification, and use in source and binary forms is permitted
+ * provided that the above copyright notice and following paragraph are
+ * duplicated in all such forms.
+ *
+diff -Naur newlib-1.20.0.orig/libgloss/v850/sbrk.c newlib-1.20.0/libgloss/v850/sbrk.c
+--- newlib-1.20.0.orig/libgloss/v850/sbrk.c 2011-05-27 12:46:48.000000000 +0200
++++ newlib-1.20.0/libgloss/v850/sbrk.c 2012-10-15 10:31:19.553620009 +0200
+@@ -6,13 +6,13 @@
+ caddr_t
+ _sbrk (int incr)
+ {
+- extern char heap_start; /* Defined by the linker script. */
++ extern char heap_start[]; /* Defined by the linker script. */
+ static char * heap_end = NULL;
+ char * prev_heap_end;
+ char * sp = (char *) & sp;
+
+ if (heap_end == NULL)
+- heap_end = & heap_start;
++ heap_end = heap_start;
+
+ prev_heap_end = heap_end;
+
+diff -Naur newlib-1.20.0.orig/libtool.m4 newlib-1.20.0/libtool.m4
+--- newlib-1.20.0.orig/libtool.m4 2011-02-13 22:00:08.000000000 +0100
++++ newlib-1.20.0/libtool.m4 2012-10-15 10:31:19.554620024 +0200
+@@ -1232,7 +1232,14 @@
+ LD="${LD-ld} -m elf_i386_fbsd"
+ ;;
+ x86_64-*linux*)
+- LD="${LD-ld} -m elf_i386"
++ case `/usr/bin/file conftest.o` in
++ *x86-64*)
++ LD="${LD-ld} -m elf32_x86_64"
++ ;;
++ *)
++ LD="${LD-ld} -m elf_i386"
++ ;;
++ esac
+ ;;
+ ppc64-*linux*|powerpc64-*linux*)
+ LD="${LD-ld} -m elf32ppclinux"
+@@ -2273,7 +2280,7 @@
+ objformat=`/usr/bin/objformat`
+ else
+ case $host_os in
+- freebsd[[123]]*) objformat=aout ;;
++ freebsd[[23]].*) objformat=aout ;;
+ *) objformat=elf ;;
+ esac
+ fi
+@@ -2291,7 +2298,7 @@
+ esac
+ shlibpath_var=LD_LIBRARY_PATH
+ case $host_os in
+- freebsd2*)
++ freebsd2.*)
+ shlibpath_overrides_runpath=yes
+ ;;
+ freebsd3.[[01]]* | freebsdelf3.[[01]]*)
+@@ -3573,6 +3580,7 @@
+ # AIX 5 now supports IA64 processor
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ fi
++ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
+ ;;
+
+ amigaos*)
+@@ -3884,6 +3892,7 @@
+ # AIX 5 now supports IA64 processor
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ fi
++ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
+ ;;
+
+ amigaos*)
+@@ -4804,7 +4813,7 @@
+ ;;
+
+ # Unfortunately, older versions of FreeBSD 2 do not have this feature.
+- freebsd2*)
++ freebsd2.*)
+ _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
+ _LT_TAGVAR(hardcode_direct, $1)=yes
+ _LT_TAGVAR(hardcode_minus_L, $1)=yes
+@@ -5751,7 +5760,7 @@
+ esac
+ ;;
+
+- freebsd[[12]]*)
++ freebsd2.*)
+ # C++ shared libraries reported to be fairly broken before
+ # switch to ELF
+ _LT_TAGVAR(ld_shlibs, $1)=no
+diff -Naur newlib-1.20.0.orig/MAINTAINERS newlib-1.20.0/MAINTAINERS
+--- newlib-1.20.0.orig/MAINTAINERS 2011-02-12 16:47:02.000000000 +0100
++++ newlib-1.20.0/MAINTAINERS 2012-10-15 10:31:19.480618834 +0200
+@@ -49,7 +49,8 @@
+ include/
+ See binutils/, gdb/, sid/, gcc/, libiberty/ etc.
+
+-intl/; config.rhost; libiberty/; libiberty's part of include/
++intl/; config.rhost; libiberty/; libiberty's part of include/;
++compile; depcomp; install-sh; missing; ylwrap; config/
+ gcc: http://gcc.gnu.org
+ Changes need to be done in tandem with the official GCC
+ sources or submitted to the master file maintainer and brought
+@@ -104,13 +105,6 @@
+ Any global maintainer can approve changes to these
+ files and directories.
+
+-compile; depcomp; install-sh; missing; ylwrap;
+-config/
+- Any global maintainer can approve changes to these
+- files and directories, but they should be aware
+- that they need to be kept in sync with their
+- counterparts in the GCC repository.
+-
+ modules file
+ If you understand the file format (or can cut-and-paste existing
+ entries), modify it. If it scares you, get someone who does
+diff -Naur newlib-1.20.0.orig/Makefile.def newlib-1.20.0/Makefile.def
+--- newlib-1.20.0.orig/Makefile.def 2011-11-09 19:57:28.000000000 +0100
++++ newlib-1.20.0/Makefile.def 2012-10-15 10:31:19.481618850 +0200
+@@ -32,8 +32,8 @@
+ build_modules= { module= texinfo; };
+ build_modules= { module= fixincludes; };
+
+-host_modules= { module= bfd; lib_path=.libs; bootstrap=true; };
+-host_modules= { module= opcodes; lib_path=.libs; bootstrap=true; };
++host_modules= { module= bfd; bootstrap=true; };
++host_modules= { module= opcodes; bootstrap=true; };
+ host_modules= { module= binutils; bootstrap=true; };
+ host_modules= { module= bison; no_check_cross= true; };
+ host_modules= { module= cgen; };
+@@ -61,13 +61,14 @@
+ host_modules= { module= mpc; lib_path=.libs; bootstrap=true;
+ extra_configure_flags='--disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@';
+ no_install= true; };
+-host_modules= { module= ppl; lib_path=src/.libs; bootstrap=true;
+- extra_configure_flags='--disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/';
++host_modules= { module= isl; lib_path=.libs; bootstrap=true;
++ extra_configure_flags='--disable-shared @extra_isl_gmp_configure_flags@';
++ extra_make_flags='V=1';
+ no_install= true; };
+ host_modules= { module= cloog; lib_path=.libs; bootstrap=true;
+- extra_configure_flags='--disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-bits=gmp --with-ppl';
+- extra_exports='CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; ';
+- extra_make_flags='CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"';
++ extra_configure_flags='--disable-shared --with-gmp=system --with-bits=gmp --with-isl=system';
++ extra_exports='CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; ';
++ extra_make_flags='CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1';
+ no_install= true; };
+ host_modules= { module= libelf; lib_path=.libs; bootstrap=true;
+ extra_configure_flags='--disable-shared';
+@@ -79,6 +80,7 @@
+ missing=mostlyclean; };
+ host_modules= { module= itcl; };
+ host_modules= { module= ld; bootstrap=true; };
++host_modules= { module= libbacktrace; bootstrap=true; };
+ host_modules= { module= libcpp; bootstrap=true; };
+ host_modules= { module= libdecnumber; bootstrap=true; };
+ host_modules= { module= libgui; };
+@@ -120,6 +122,7 @@
+ target_modules = { module= libssp; lib_path=.libs; };
+ target_modules = { module= newlib; };
+ target_modules = { module= libgcc; bootstrap=true; no_check=true; };
++target_modules = { module= libbacktrace; };
+ target_modules = { module= libquadmath; };
+ target_modules = { module= libgfortran; };
+ target_modules = { module= libobjc; };
+@@ -139,6 +142,8 @@
+ target_modules = { module= rda; };
+ target_modules = { module= libada; };
+ target_modules = { module= libgomp; bootstrap= true; lib_path=.libs; };
++target_modules = { module= libitm; lib_path=.libs; };
++target_modules = { module= libatomic; lib_path=.libs; };
+
+ // These are (some of) the make targets to be done in each subdirectory.
+ // Not all; these are the ones which don't have special options.
+@@ -293,7 +298,6 @@
+ dependencies = { module=all-gcc; on=all-intl; };
+ dependencies = { module=all-gcc; on=all-mpfr; };
+ dependencies = { module=all-gcc; on=all-mpc; };
+-dependencies = { module=all-gcc; on=all-ppl; };
+ dependencies = { module=all-gcc; on=all-cloog; };
+ dependencies = { module=all-gcc; on=all-build-texinfo; };
+ dependencies = { module=all-gcc; on=all-build-bison; };
+@@ -301,6 +305,7 @@
+ dependencies = { module=all-gcc; on=all-build-libiberty; };
+ dependencies = { module=all-gcc; on=all-build-fixincludes; };
+ dependencies = { module=all-gcc; on=all-zlib; };
++dependencies = { module=all-gcc; on=all-libbacktrace; hard=true; };
+ dependencies = { module=all-gcc; on=all-libcpp; hard=true; };
+ dependencies = { module=all-gcc; on=all-libdecnumber; hard=true; };
+ dependencies = { module=all-gcc; on=all-libiberty; };
+@@ -313,6 +318,7 @@
+ dependencies = { module=install-gcc ; on=install-fixincludes; };
+ dependencies = { module=install-gcc ; on=install-lto-plugin; };
+ dependencies = { module=install-strip-gcc ; on=install-strip-fixincludes; };
++dependencies = { module=install-strip-gcc ; on=install-strip-lto-plugin; };
+
+ dependencies = { module=configure-libcpp; on=configure-libiberty; hard=true; };
+ dependencies = { module=configure-libcpp; on=configure-intl; };
+@@ -329,9 +335,9 @@
+
+ dependencies = { module=configure-mpfr; on=all-gmp; };
+ dependencies = { module=configure-mpc; on=all-mpfr; };
+-dependencies = { module=configure-ppl; on=all-gmp; };
+-dependencies = { module=configure-ppl; on=all-mpfr; };
+-dependencies = { module=configure-cloog; on=all-ppl; };
++dependencies = { module=configure-isl; on=all-gmp; };
++dependencies = { module=configure-cloog; on=all-isl; };
++dependencies = { module=configure-cloog; on=all-gmp; };
+
+ // Host modules specific to gdb.
+ dependencies = { module=configure-gdb; on=all-intl; };
+@@ -471,6 +477,7 @@
+ // environment (e.g. on libstdc++). By default target modules depend
+ // on libgcc and newlib/libgloss.
+ lang_env_dependencies = { module=libjava; cxx=true; };
++lang_env_dependencies = { module=libitm; cxx=true; };
+ lang_env_dependencies = { module=newlib; no_c=true; };
+ lang_env_dependencies = { module=libgloss; no_c=true; };
+ lang_env_dependencies = { module=libgcc; no_gcc=true; no_c=true; };
+@@ -484,6 +491,7 @@
+ dependencies = { module=all-target-fastjar; on=all-target-zlib; };
+ dependencies = { module=configure-target-libgo; on=configure-target-libffi; };
+ dependencies = { module=configure-target-libgo; on=all-target-libstdc++-v3; };
++dependencies = { module=all-target-libgo; on=all-target-libbacktrace; };
+ dependencies = { module=all-target-libgo; on=all-target-libffi; };
+ dependencies = { module=configure-target-libjava; on=configure-target-zlib; };
+ dependencies = { module=configure-target-libjava; on=configure-target-boehm-gc; };
+@@ -512,9 +520,11 @@
+ dependencies = { module=configure-target-libgfortran; on=all-target-libquadmath; };
+
+ languages = { language=c; gcc-check-target=check-gcc; };
+-languages = { language=c++; gcc-check-target="check-c++ check-c++0x";
++languages = { language=c++; gcc-check-target=check-c++;
+ lib-check-target=check-target-libstdc++-v3;
+- lib-check-target=check-target-libmudflap-c++; };
++ lib-check-target=check-target-libmudflap-c++;
++ lib-check-target=check-target-libitm-c++;
++ lib-check-target=check-target-libgomp-c++; };
+ languages = { language=fortran; gcc-check-target=check-fortran;
+ lib-check-target=check-target-libquadmath;
+ lib-check-target=check-target-libgfortran; };
+diff -Naur newlib-1.20.0.orig/Makefile.in newlib-1.20.0/Makefile.in
+--- newlib-1.20.0.orig/Makefile.in 2011-11-09 19:57:28.000000000 +0100
++++ newlib-1.20.0/Makefile.in 2012-10-15 10:31:19.499619139 +0200
+@@ -219,8 +219,7 @@
+ HOST_LIBS="$(STAGE1_LIBS)"; export HOST_LIBS; \
+ GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \
+ GMPINC="$(HOST_GMPINC)"; export GMPINC; \
+- PPLLIBS="$(HOST_PPLLIBS)"; export PPLLIBS; \
+- PPLINC="$(HOST_PPLINC)"; export PPLINC; \
++ ISLINC="$(HOST_ISLINC)"; export ISLINC; \
+ CLOOGLIBS="$(HOST_CLOOGLIBS)"; export CLOOGLIBS; \
+ CLOOGINC="$(HOST_CLOOGINC)"; export CLOOGINC; \
+ LIBELFLIBS="$(HOST_LIBELFLIBS)" ; export LIBELFLIBS; \
+@@ -310,9 +309,8 @@
+ HOST_GMPLIBS = @gmplibs@
+ HOST_GMPINC = @gmpinc@
+
+-# Where to find PPL
+-HOST_PPLLIBS = @ppllibs@
+-HOST_PPLINC = @pplinc@
++# Where to find ISL
++HOST_ISLINC = @islinc@
+
+ # Where to find CLOOG
+ HOST_CLOOGLIBS = @clooglibs@
+@@ -422,7 +420,6 @@
+ STAGE_CFLAGS = $(BOOT_CFLAGS)
+ STAGE_TFLAGS = $(TFLAGS)
+ STAGE_CONFIGURE_FLAGS=@stage2_werror_flag@
+-POSTSTAGE1_CONFIGURE_FLAGS = @POSTSTAGE1_CONFIGURE_FLAGS@
+
+
+ # Defaults for stage 1; some are overridden below.
+@@ -433,10 +430,7 @@
+ STAGE1_CXXFLAGS = $(STAGE1_CFLAGS)
+ @endif target-libstdc++-v3-bootstrap
+ STAGE1_TFLAGS = $(STAGE_TFLAGS)
+-# STAGE1_CONFIGURE_FLAGS overridden below, so we can use
+-# POSTSTAGE1_CONFIGURE_FLAGS here.
+-STAGE1_CONFIGURE_FLAGS = \
+- $(STAGE_CONFIGURE_FLAGS) $(POSTSTAGE1_CONFIGURE_FLAGS)
++STAGE1_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
+
+ # Defaults for stage 2; some are overridden below.
+ STAGE2_CFLAGS = $(STAGE_CFLAGS)
+@@ -446,10 +440,7 @@
+ STAGE2_CXXFLAGS = $(STAGE2_CFLAGS)
+ @endif target-libstdc++-v3-bootstrap
+ STAGE2_TFLAGS = $(STAGE_TFLAGS)
+-# STAGE1_CONFIGURE_FLAGS overridden below, so we can use
+-# POSTSTAGE1_CONFIGURE_FLAGS here.
+-STAGE2_CONFIGURE_FLAGS = \
+- $(STAGE_CONFIGURE_FLAGS) $(POSTSTAGE1_CONFIGURE_FLAGS)
++STAGE2_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
+
+ # Defaults for stage 3; some are overridden below.
+ STAGE3_CFLAGS = $(STAGE_CFLAGS)
+@@ -459,10 +450,7 @@
+ STAGE3_CXXFLAGS = $(STAGE3_CFLAGS)
+ @endif target-libstdc++-v3-bootstrap
+ STAGE3_TFLAGS = $(STAGE_TFLAGS)
+-# STAGE1_CONFIGURE_FLAGS overridden below, so we can use
+-# POSTSTAGE1_CONFIGURE_FLAGS here.
+-STAGE3_CONFIGURE_FLAGS = \
+- $(STAGE_CONFIGURE_FLAGS) $(POSTSTAGE1_CONFIGURE_FLAGS)
++STAGE3_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
+
+ # Defaults for stage 4; some are overridden below.
+ STAGE4_CFLAGS = $(STAGE_CFLAGS)
+@@ -472,10 +460,7 @@
+ STAGE4_CXXFLAGS = $(STAGE4_CFLAGS)
+ @endif target-libstdc++-v3-bootstrap
+ STAGE4_TFLAGS = $(STAGE_TFLAGS)
+-# STAGE1_CONFIGURE_FLAGS overridden below, so we can use
+-# POSTSTAGE1_CONFIGURE_FLAGS here.
+-STAGE4_CONFIGURE_FLAGS = \
+- $(STAGE_CONFIGURE_FLAGS) $(POSTSTAGE1_CONFIGURE_FLAGS)
++STAGE4_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
+
+ # Defaults for stage profile; some are overridden below.
+ STAGEprofile_CFLAGS = $(STAGE_CFLAGS)
+@@ -485,10 +470,7 @@
+ STAGEprofile_CXXFLAGS = $(STAGEprofile_CFLAGS)
+ @endif target-libstdc++-v3-bootstrap
+ STAGEprofile_TFLAGS = $(STAGE_TFLAGS)
+-# STAGE1_CONFIGURE_FLAGS overridden below, so we can use
+-# POSTSTAGE1_CONFIGURE_FLAGS here.
+-STAGEprofile_CONFIGURE_FLAGS = \
+- $(STAGE_CONFIGURE_FLAGS) $(POSTSTAGE1_CONFIGURE_FLAGS)
++STAGEprofile_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
+
+ # Defaults for stage feedback; some are overridden below.
+ STAGEfeedback_CFLAGS = $(STAGE_CFLAGS)
+@@ -498,10 +480,7 @@
+ STAGEfeedback_CXXFLAGS = $(STAGEfeedback_CFLAGS)
+ @endif target-libstdc++-v3-bootstrap
+ STAGEfeedback_TFLAGS = $(STAGE_TFLAGS)
+-# STAGE1_CONFIGURE_FLAGS overridden below, so we can use
+-# POSTSTAGE1_CONFIGURE_FLAGS here.
+-STAGEfeedback_CONFIGURE_FLAGS = \
+- $(STAGE_CONFIGURE_FLAGS) $(POSTSTAGE1_CONFIGURE_FLAGS)
++STAGEfeedback_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
+
+
+ # Only build the C compiler for stage1, because that is the only one that
+@@ -519,9 +498,6 @@
+ # the last argument when conflicting --enable arguments are passed.
+ # * Likewise, we force-disable coverage flags, since the installed
+ # compiler probably has never heard of them.
+-# * Don't remove this, because above we added
+-# POSTSTAGE1_CONFIGURE_FLAGS to STAGE_CONFIGURE_FLAGS, which
+-# we don't want for STAGE1_CONFIGURE_FLAGS.
+ STAGE1_CONFIGURE_FLAGS = --disable-intermodule $(STAGE1_CHECKING) \
+ --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
+
+@@ -599,7 +575,7 @@
+
+ # This is the list of directories that may be needed in RPATH_ENVVAR
+ # so that programs built for the target machine work.
+-TARGET_LIB_PATH = $(TARGET_LIB_PATH_libstdc++-v3)$(TARGET_LIB_PATH_libmudflap)$(TARGET_LIB_PATH_libssp)$(TARGET_LIB_PATH_libgomp)$(HOST_LIB_PATH_gcc)
++TARGET_LIB_PATH = $(TARGET_LIB_PATH_libstdc++-v3)$(TARGET_LIB_PATH_libmudflap)$(TARGET_LIB_PATH_libssp)$(TARGET_LIB_PATH_libgomp)$(TARGET_LIB_PATH_libitm)$(TARGET_LIB_PATH_libatomic)$(HOST_LIB_PATH_gcc)
+
+ @if target-libstdc++-v3
+ TARGET_LIB_PATH_libstdc++-v3 = $$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs:
+@@ -617,11 +593,19 @@
+ TARGET_LIB_PATH_libgomp = $$r/$(TARGET_SUBDIR)/libgomp/.libs:
+ @endif target-libgomp
+
++@if target-libitm
++TARGET_LIB_PATH_libitm = $$r/$(TARGET_SUBDIR)/libitm/.libs:
++@endif target-libitm
++
++@if target-libatomic
++TARGET_LIB_PATH_libatomic = $$r/$(TARGET_SUBDIR)/libatomic/.libs:
++@endif target-libatomic
++
+
+
+ # This is the list of directories that may be needed in RPATH_ENVVAR
+ # so that programs built for the host machine work.
+-HOST_LIB_PATH = $(HOST_LIB_PATH_bfd)$(HOST_LIB_PATH_opcodes)$(HOST_LIB_PATH_gmp)$(HOST_LIB_PATH_mpfr)$(HOST_LIB_PATH_mpc)$(HOST_LIB_PATH_ppl)$(HOST_LIB_PATH_cloog)$(HOST_LIB_PATH_libelf)
++HOST_LIB_PATH = $(HOST_LIB_PATH_gmp)$(HOST_LIB_PATH_mpfr)$(HOST_LIB_PATH_mpc)$(HOST_LIB_PATH_isl)$(HOST_LIB_PATH_cloog)$(HOST_LIB_PATH_libelf)
+
+ # Define HOST_LIB_PATH_gcc here, for the sake of TARGET_LIB_PATH, ouch
+ @if gcc
+@@ -629,16 +613,6 @@
+ @endif gcc
+
+
+-@if bfd
+-HOST_LIB_PATH_bfd = \
+- $$r/$(HOST_SUBDIR)/bfd/.libs:$$r/$(HOST_SUBDIR)/prev-bfd/.libs:
+-@endif bfd
+-
+-@if opcodes
+-HOST_LIB_PATH_opcodes = \
+- $$r/$(HOST_SUBDIR)/opcodes/.libs:$$r/$(HOST_SUBDIR)/prev-opcodes/.libs:
+-@endif opcodes
+-
+ @if gmp
+ HOST_LIB_PATH_gmp = \
+ $$r/$(HOST_SUBDIR)/gmp/.libs:$$r/$(HOST_SUBDIR)/prev-gmp/.libs:
+@@ -654,10 +628,10 @@
+ $$r/$(HOST_SUBDIR)/mpc/.libs:$$r/$(HOST_SUBDIR)/prev-mpc/.libs:
+ @endif mpc
+
+-@if ppl
+-HOST_LIB_PATH_ppl = \
+- $$r/$(HOST_SUBDIR)/ppl/src/.libs:$$r/$(HOST_SUBDIR)/prev-ppl/src/.libs:
+-@endif ppl
++@if isl
++HOST_LIB_PATH_isl = \
++ $$r/$(HOST_SUBDIR)/isl/.libs:$$r/$(HOST_SUBDIR)/prev-isl/.libs:
++@endif isl
+
+ @if cloog
+ HOST_LIB_PATH_cloog = \
+@@ -907,7 +881,7 @@
+ maybe-configure-gmp \
+ maybe-configure-mpfr \
+ maybe-configure-mpc \
+- maybe-configure-ppl \
++ maybe-configure-isl \
+ maybe-configure-cloog \
+ maybe-configure-libelf \
+ maybe-configure-gold \
+@@ -916,6 +890,7 @@
+ maybe-configure-tcl \
+ maybe-configure-itcl \
+ maybe-configure-ld \
++ maybe-configure-libbacktrace \
+ maybe-configure-libcpp \
+ maybe-configure-libdecnumber \
+ maybe-configure-libgui \
+@@ -942,6 +917,7 @@
+ maybe-configure-target-libssp \
+ maybe-configure-target-newlib \
+ maybe-configure-target-libgcc \
++ maybe-configure-target-libbacktrace \
+ maybe-configure-target-libquadmath \
+ maybe-configure-target-libgfortran \
+ maybe-configure-target-libobjc \
+@@ -955,7 +931,9 @@
+ maybe-configure-target-boehm-gc \
+ maybe-configure-target-rda \
+ maybe-configure-target-libada \
+- maybe-configure-target-libgomp
++ maybe-configure-target-libgomp \
++ maybe-configure-target-libitm \
++ maybe-configure-target-libatomic
+
+ # The target built for a native non-bootstrap build.
+ .PHONY: all
+@@ -1024,9 +1002,9 @@
+ @if mpc-no-bootstrap
+ all-host: maybe-all-mpc
+ @endif mpc-no-bootstrap
+-@if ppl-no-bootstrap
+-all-host: maybe-all-ppl
+-@endif ppl-no-bootstrap
++@if isl-no-bootstrap
++all-host: maybe-all-isl
++@endif isl-no-bootstrap
+ @if cloog-no-bootstrap
+ all-host: maybe-all-cloog
+ @endif cloog-no-bootstrap
+@@ -1045,6 +1023,9 @@
+ @if ld-no-bootstrap
+ all-host: maybe-all-ld
+ @endif ld-no-bootstrap
++@if libbacktrace-no-bootstrap
++all-host: maybe-all-libbacktrace
++@endif libbacktrace-no-bootstrap
+ @if libcpp-no-bootstrap
+ all-host: maybe-all-libcpp
+ @endif libcpp-no-bootstrap
+@@ -1086,6 +1067,7 @@
+ @if target-libgcc-no-bootstrap
+ all-target: maybe-all-target-libgcc
+ @endif target-libgcc-no-bootstrap
++all-target: maybe-all-target-libbacktrace
+ all-target: maybe-all-target-libquadmath
+ all-target: maybe-all-target-libgfortran
+ all-target: maybe-all-target-libobjc
+@@ -1102,6 +1084,8 @@
+ @if target-libgomp-no-bootstrap
+ all-target: maybe-all-target-libgomp
+ @endif target-libgomp-no-bootstrap
++all-target: maybe-all-target-libitm
++all-target: maybe-all-target-libatomic
+
+ # Do a target for all the subdirectories. A ``make do-X'' will do a
+ # ``make X'' in all subdirectories (because, in general, there is a
+@@ -1134,7 +1118,7 @@
+ info-host: maybe-info-gmp
+ info-host: maybe-info-mpfr
+ info-host: maybe-info-mpc
+-info-host: maybe-info-ppl
++info-host: maybe-info-isl
+ info-host: maybe-info-cloog
+ info-host: maybe-info-libelf
+ info-host: maybe-info-gold
+@@ -1143,6 +1127,7 @@
+ info-host: maybe-info-tcl
+ info-host: maybe-info-itcl
+ info-host: maybe-info-ld
++info-host: maybe-info-libbacktrace
+ info-host: maybe-info-libcpp
+ info-host: maybe-info-libdecnumber
+ info-host: maybe-info-libgui
+@@ -1170,6 +1155,7 @@
+ info-target: maybe-info-target-libssp
+ info-target: maybe-info-target-newlib
+ info-target: maybe-info-target-libgcc
++info-target: maybe-info-target-libbacktrace
+ info-target: maybe-info-target-libquadmath
+ info-target: maybe-info-target-libgfortran
+ info-target: maybe-info-target-libobjc
+@@ -1184,6 +1170,8 @@
+ info-target: maybe-info-target-rda
+ info-target: maybe-info-target-libada
+ info-target: maybe-info-target-libgomp
++info-target: maybe-info-target-libitm
++info-target: maybe-info-target-libatomic
+
+ .PHONY: do-dvi
+ do-dvi:
+@@ -1211,7 +1199,7 @@
+ dvi-host: maybe-dvi-gmp
+ dvi-host: maybe-dvi-mpfr
+ dvi-host: maybe-dvi-mpc
+-dvi-host: maybe-dvi-ppl
++dvi-host: maybe-dvi-isl
+ dvi-host: maybe-dvi-cloog
+ dvi-host: maybe-dvi-libelf
+ dvi-host: maybe-dvi-gold
+@@ -1220,6 +1208,7 @@
+ dvi-host: maybe-dvi-tcl
+ dvi-host: maybe-dvi-itcl
+ dvi-host: maybe-dvi-ld
++dvi-host: maybe-dvi-libbacktrace
+ dvi-host: maybe-dvi-libcpp
+ dvi-host: maybe-dvi-libdecnumber
+ dvi-host: maybe-dvi-libgui
+@@ -1247,6 +1236,7 @@
+ dvi-target: maybe-dvi-target-libssp
+ dvi-target: maybe-dvi-target-newlib
+ dvi-target: maybe-dvi-target-libgcc
++dvi-target: maybe-dvi-target-libbacktrace
+ dvi-target: maybe-dvi-target-libquadmath
+ dvi-target: maybe-dvi-target-libgfortran
+ dvi-target: maybe-dvi-target-libobjc
+@@ -1261,6 +1251,8 @@
+ dvi-target: maybe-dvi-target-rda
+ dvi-target: maybe-dvi-target-libada
+ dvi-target: maybe-dvi-target-libgomp
++dvi-target: maybe-dvi-target-libitm
++dvi-target: maybe-dvi-target-libatomic
+
+ .PHONY: do-pdf
+ do-pdf:
+@@ -1288,7 +1280,7 @@
+ pdf-host: maybe-pdf-gmp
+ pdf-host: maybe-pdf-mpfr
+ pdf-host: maybe-pdf-mpc
+-pdf-host: maybe-pdf-ppl
++pdf-host: maybe-pdf-isl
+ pdf-host: maybe-pdf-cloog
+ pdf-host: maybe-pdf-libelf
+ pdf-host: maybe-pdf-gold
+@@ -1297,6 +1289,7 @@
+ pdf-host: maybe-pdf-tcl
+ pdf-host: maybe-pdf-itcl
+ pdf-host: maybe-pdf-ld
++pdf-host: maybe-pdf-libbacktrace
+ pdf-host: maybe-pdf-libcpp
+ pdf-host: maybe-pdf-libdecnumber
+ pdf-host: maybe-pdf-libgui
+@@ -1324,6 +1317,7 @@
+ pdf-target: maybe-pdf-target-libssp
+ pdf-target: maybe-pdf-target-newlib
+ pdf-target: maybe-pdf-target-libgcc
++pdf-target: maybe-pdf-target-libbacktrace
+ pdf-target: maybe-pdf-target-libquadmath
+ pdf-target: maybe-pdf-target-libgfortran
+ pdf-target: maybe-pdf-target-libobjc
+@@ -1338,6 +1332,8 @@
+ pdf-target: maybe-pdf-target-rda
+ pdf-target: maybe-pdf-target-libada
+ pdf-target: maybe-pdf-target-libgomp
++pdf-target: maybe-pdf-target-libitm
++pdf-target: maybe-pdf-target-libatomic
+
+ .PHONY: do-html
+ do-html:
+@@ -1365,7 +1361,7 @@
+ html-host: maybe-html-gmp
+ html-host: maybe-html-mpfr
+ html-host: maybe-html-mpc
+-html-host: maybe-html-ppl
++html-host: maybe-html-isl
+ html-host: maybe-html-cloog
+ html-host: maybe-html-libelf
+ html-host: maybe-html-gold
+@@ -1374,6 +1370,7 @@
+ html-host: maybe-html-tcl
+ html-host: maybe-html-itcl
+ html-host: maybe-html-ld
++html-host: maybe-html-libbacktrace
+ html-host: maybe-html-libcpp
+ html-host: maybe-html-libdecnumber
+ html-host: maybe-html-libgui
+@@ -1401,6 +1398,7 @@
+ html-target: maybe-html-target-libssp
+ html-target: maybe-html-target-newlib
+ html-target: maybe-html-target-libgcc
++html-target: maybe-html-target-libbacktrace
+ html-target: maybe-html-target-libquadmath
+ html-target: maybe-html-target-libgfortran
+ html-target: maybe-html-target-libobjc
+@@ -1415,6 +1413,8 @@
+ html-target: maybe-html-target-rda
+ html-target: maybe-html-target-libada
+ html-target: maybe-html-target-libgomp
++html-target: maybe-html-target-libitm
++html-target: maybe-html-target-libatomic
+
+ .PHONY: do-TAGS
+ do-TAGS:
+@@ -1442,7 +1442,7 @@
+ TAGS-host: maybe-TAGS-gmp
+ TAGS-host: maybe-TAGS-mpfr
+ TAGS-host: maybe-TAGS-mpc
+-TAGS-host: maybe-TAGS-ppl
++TAGS-host: maybe-TAGS-isl
+ TAGS-host: maybe-TAGS-cloog
+ TAGS-host: maybe-TAGS-libelf
+ TAGS-host: maybe-TAGS-gold
+@@ -1451,6 +1451,7 @@
+ TAGS-host: maybe-TAGS-tcl
+ TAGS-host: maybe-TAGS-itcl
+ TAGS-host: maybe-TAGS-ld
++TAGS-host: maybe-TAGS-libbacktrace
+ TAGS-host: maybe-TAGS-libcpp
+ TAGS-host: maybe-TAGS-libdecnumber
+ TAGS-host: maybe-TAGS-libgui
+@@ -1478,6 +1479,7 @@
+ TAGS-target: maybe-TAGS-target-libssp
+ TAGS-target: maybe-TAGS-target-newlib
+ TAGS-target: maybe-TAGS-target-libgcc
++TAGS-target: maybe-TAGS-target-libbacktrace
+ TAGS-target: maybe-TAGS-target-libquadmath
+ TAGS-target: maybe-TAGS-target-libgfortran
+ TAGS-target: maybe-TAGS-target-libobjc
+@@ -1492,6 +1494,8 @@
+ TAGS-target: maybe-TAGS-target-rda
+ TAGS-target: maybe-TAGS-target-libada
+ TAGS-target: maybe-TAGS-target-libgomp
++TAGS-target: maybe-TAGS-target-libitm
++TAGS-target: maybe-TAGS-target-libatomic
+
+ .PHONY: do-install-info
+ do-install-info:
+@@ -1519,7 +1523,7 @@
+ install-info-host: maybe-install-info-gmp
+ install-info-host: maybe-install-info-mpfr
+ install-info-host: maybe-install-info-mpc
+-install-info-host: maybe-install-info-ppl
++install-info-host: maybe-install-info-isl
+ install-info-host: maybe-install-info-cloog
+ install-info-host: maybe-install-info-libelf
+ install-info-host: maybe-install-info-gold
+@@ -1528,6 +1532,7 @@
+ install-info-host: maybe-install-info-tcl
+ install-info-host: maybe-install-info-itcl
+ install-info-host: maybe-install-info-ld
++install-info-host: maybe-install-info-libbacktrace
+ install-info-host: maybe-install-info-libcpp
+ install-info-host: maybe-install-info-libdecnumber
+ install-info-host: maybe-install-info-libgui
+@@ -1555,6 +1560,7 @@
+ install-info-target: maybe-install-info-target-libssp
+ install-info-target: maybe-install-info-target-newlib
+ install-info-target: maybe-install-info-target-libgcc
++install-info-target: maybe-install-info-target-libbacktrace
+ install-info-target: maybe-install-info-target-libquadmath
+ install-info-target: maybe-install-info-target-libgfortran
+ install-info-target: maybe-install-info-target-libobjc
+@@ -1569,6 +1575,8 @@
+ install-info-target: maybe-install-info-target-rda
+ install-info-target: maybe-install-info-target-libada
+ install-info-target: maybe-install-info-target-libgomp
++install-info-target: maybe-install-info-target-libitm
++install-info-target: maybe-install-info-target-libatomic
+
+ .PHONY: do-install-pdf
+ do-install-pdf:
+@@ -1596,7 +1604,7 @@
+ install-pdf-host: maybe-install-pdf-gmp
+ install-pdf-host: maybe-install-pdf-mpfr
+ install-pdf-host: maybe-install-pdf-mpc
+-install-pdf-host: maybe-install-pdf-ppl
++install-pdf-host: maybe-install-pdf-isl
+ install-pdf-host: maybe-install-pdf-cloog
+ install-pdf-host: maybe-install-pdf-libelf
+ install-pdf-host: maybe-install-pdf-gold
+@@ -1605,6 +1613,7 @@
+ install-pdf-host: maybe-install-pdf-tcl
+ install-pdf-host: maybe-install-pdf-itcl
+ install-pdf-host: maybe-install-pdf-ld
++install-pdf-host: maybe-install-pdf-libbacktrace
+ install-pdf-host: maybe-install-pdf-libcpp
+ install-pdf-host: maybe-install-pdf-libdecnumber
+ install-pdf-host: maybe-install-pdf-libgui
+@@ -1632,6 +1641,7 @@
+ install-pdf-target: maybe-install-pdf-target-libssp
+ install-pdf-target: maybe-install-pdf-target-newlib
+ install-pdf-target: maybe-install-pdf-target-libgcc
++install-pdf-target: maybe-install-pdf-target-libbacktrace
+ install-pdf-target: maybe-install-pdf-target-libquadmath
+ install-pdf-target: maybe-install-pdf-target-libgfortran
+ install-pdf-target: maybe-install-pdf-target-libobjc
+@@ -1646,6 +1656,8 @@
+ install-pdf-target: maybe-install-pdf-target-rda
+ install-pdf-target: maybe-install-pdf-target-libada
+ install-pdf-target: maybe-install-pdf-target-libgomp
++install-pdf-target: maybe-install-pdf-target-libitm
++install-pdf-target: maybe-install-pdf-target-libatomic
+
+ .PHONY: do-install-html
+ do-install-html:
+@@ -1673,7 +1685,7 @@
+ install-html-host: maybe-install-html-gmp
+ install-html-host: maybe-install-html-mpfr
+ install-html-host: maybe-install-html-mpc
+-install-html-host: maybe-install-html-ppl
++install-html-host: maybe-install-html-isl
+ install-html-host: maybe-install-html-cloog
+ install-html-host: maybe-install-html-libelf
+ install-html-host: maybe-install-html-gold
+@@ -1682,6 +1694,7 @@
+ install-html-host: maybe-install-html-tcl
+ install-html-host: maybe-install-html-itcl
+ install-html-host: maybe-install-html-ld
++install-html-host: maybe-install-html-libbacktrace
+ install-html-host: maybe-install-html-libcpp
+ install-html-host: maybe-install-html-libdecnumber
+ install-html-host: maybe-install-html-libgui
+@@ -1709,6 +1722,7 @@
+ install-html-target: maybe-install-html-target-libssp
+ install-html-target: maybe-install-html-target-newlib
+ install-html-target: maybe-install-html-target-libgcc
++install-html-target: maybe-install-html-target-libbacktrace
+ install-html-target: maybe-install-html-target-libquadmath
+ install-html-target: maybe-install-html-target-libgfortran
+ install-html-target: maybe-install-html-target-libobjc
+@@ -1723,6 +1737,8 @@
+ install-html-target: maybe-install-html-target-rda
+ install-html-target: maybe-install-html-target-libada
+ install-html-target: maybe-install-html-target-libgomp
++install-html-target: maybe-install-html-target-libitm
++install-html-target: maybe-install-html-target-libatomic
+
+ .PHONY: do-installcheck
+ do-installcheck:
+@@ -1750,7 +1766,7 @@
+ installcheck-host: maybe-installcheck-gmp
+ installcheck-host: maybe-installcheck-mpfr
+ installcheck-host: maybe-installcheck-mpc
+-installcheck-host: maybe-installcheck-ppl
++installcheck-host: maybe-installcheck-isl
+ installcheck-host: maybe-installcheck-cloog
+ installcheck-host: maybe-installcheck-libelf
+ installcheck-host: maybe-installcheck-gold
+@@ -1759,6 +1775,7 @@
+ installcheck-host: maybe-installcheck-tcl
+ installcheck-host: maybe-installcheck-itcl
+ installcheck-host: maybe-installcheck-ld
++installcheck-host: maybe-installcheck-libbacktrace
+ installcheck-host: maybe-installcheck-libcpp
+ installcheck-host: maybe-installcheck-libdecnumber
+ installcheck-host: maybe-installcheck-libgui
+@@ -1786,6 +1803,7 @@
+ installcheck-target: maybe-installcheck-target-libssp
+ installcheck-target: maybe-installcheck-target-newlib
+ installcheck-target: maybe-installcheck-target-libgcc
++installcheck-target: maybe-installcheck-target-libbacktrace
+ installcheck-target: maybe-installcheck-target-libquadmath
+ installcheck-target: maybe-installcheck-target-libgfortran
+ installcheck-target: maybe-installcheck-target-libobjc
+@@ -1800,6 +1818,8 @@
+ installcheck-target: maybe-installcheck-target-rda
+ installcheck-target: maybe-installcheck-target-libada
+ installcheck-target: maybe-installcheck-target-libgomp
++installcheck-target: maybe-installcheck-target-libitm
++installcheck-target: maybe-installcheck-target-libatomic
+
+ .PHONY: do-mostlyclean
+ do-mostlyclean:
+@@ -1827,7 +1847,7 @@
+ mostlyclean-host: maybe-mostlyclean-gmp
+ mostlyclean-host: maybe-mostlyclean-mpfr
+ mostlyclean-host: maybe-mostlyclean-mpc
+-mostlyclean-host: maybe-mostlyclean-ppl
++mostlyclean-host: maybe-mostlyclean-isl
+ mostlyclean-host: maybe-mostlyclean-cloog
+ mostlyclean-host: maybe-mostlyclean-libelf
+ mostlyclean-host: maybe-mostlyclean-gold
+@@ -1836,6 +1856,7 @@
+ mostlyclean-host: maybe-mostlyclean-tcl
+ mostlyclean-host: maybe-mostlyclean-itcl
+ mostlyclean-host: maybe-mostlyclean-ld
++mostlyclean-host: maybe-mostlyclean-libbacktrace
+ mostlyclean-host: maybe-mostlyclean-libcpp
+ mostlyclean-host: maybe-mostlyclean-libdecnumber
+ mostlyclean-host: maybe-mostlyclean-libgui
+@@ -1863,6 +1884,7 @@
+ mostlyclean-target: maybe-mostlyclean-target-libssp
+ mostlyclean-target: maybe-mostlyclean-target-newlib
+ mostlyclean-target: maybe-mostlyclean-target-libgcc
++mostlyclean-target: maybe-mostlyclean-target-libbacktrace
+ mostlyclean-target: maybe-mostlyclean-target-libquadmath
+ mostlyclean-target: maybe-mostlyclean-target-libgfortran
+ mostlyclean-target: maybe-mostlyclean-target-libobjc
+@@ -1877,6 +1899,8 @@
+ mostlyclean-target: maybe-mostlyclean-target-rda
+ mostlyclean-target: maybe-mostlyclean-target-libada
+ mostlyclean-target: maybe-mostlyclean-target-libgomp
++mostlyclean-target: maybe-mostlyclean-target-libitm
++mostlyclean-target: maybe-mostlyclean-target-libatomic
+
+ .PHONY: do-clean
+ do-clean:
+@@ -1904,7 +1928,7 @@
+ clean-host: maybe-clean-gmp
+ clean-host: maybe-clean-mpfr
+ clean-host: maybe-clean-mpc
+-clean-host: maybe-clean-ppl
++clean-host: maybe-clean-isl
+ clean-host: maybe-clean-cloog
+ clean-host: maybe-clean-libelf
+ clean-host: maybe-clean-gold
+@@ -1913,6 +1937,7 @@
+ clean-host: maybe-clean-tcl
+ clean-host: maybe-clean-itcl
+ clean-host: maybe-clean-ld
++clean-host: maybe-clean-libbacktrace
+ clean-host: maybe-clean-libcpp
+ clean-host: maybe-clean-libdecnumber
+ clean-host: maybe-clean-libgui
+@@ -1940,6 +1965,7 @@
+ clean-target: maybe-clean-target-libssp
+ clean-target: maybe-clean-target-newlib
+ clean-target: maybe-clean-target-libgcc
++clean-target: maybe-clean-target-libbacktrace
+ clean-target: maybe-clean-target-libquadmath
+ clean-target: maybe-clean-target-libgfortran
+ clean-target: maybe-clean-target-libobjc
+@@ -1954,6 +1980,8 @@
+ clean-target: maybe-clean-target-rda
+ clean-target: maybe-clean-target-libada
+ clean-target: maybe-clean-target-libgomp
++clean-target: maybe-clean-target-libitm
++clean-target: maybe-clean-target-libatomic
+
+ .PHONY: do-distclean
+ do-distclean:
+@@ -1981,7 +2009,7 @@
+ distclean-host: maybe-distclean-gmp
+ distclean-host: maybe-distclean-mpfr
+ distclean-host: maybe-distclean-mpc
+-distclean-host: maybe-distclean-ppl
++distclean-host: maybe-distclean-isl
+ distclean-host: maybe-distclean-cloog
+ distclean-host: maybe-distclean-libelf
+ distclean-host: maybe-distclean-gold
+@@ -1990,6 +2018,7 @@
+ distclean-host: maybe-distclean-tcl
+ distclean-host: maybe-distclean-itcl
+ distclean-host: maybe-distclean-ld
++distclean-host: maybe-distclean-libbacktrace
+ distclean-host: maybe-distclean-libcpp
+ distclean-host: maybe-distclean-libdecnumber
+ distclean-host: maybe-distclean-libgui
+@@ -2017,6 +2046,7 @@
+ distclean-target: maybe-distclean-target-libssp
+ distclean-target: maybe-distclean-target-newlib
+ distclean-target: maybe-distclean-target-libgcc
++distclean-target: maybe-distclean-target-libbacktrace
+ distclean-target: maybe-distclean-target-libquadmath
+ distclean-target: maybe-distclean-target-libgfortran
+ distclean-target: maybe-distclean-target-libobjc
+@@ -2031,6 +2061,8 @@
+ distclean-target: maybe-distclean-target-rda
+ distclean-target: maybe-distclean-target-libada
+ distclean-target: maybe-distclean-target-libgomp
++distclean-target: maybe-distclean-target-libitm
++distclean-target: maybe-distclean-target-libatomic
+
+ .PHONY: do-maintainer-clean
+ do-maintainer-clean:
+@@ -2058,7 +2090,7 @@
+ maintainer-clean-host: maybe-maintainer-clean-gmp
+ maintainer-clean-host: maybe-maintainer-clean-mpfr
+ maintainer-clean-host: maybe-maintainer-clean-mpc
+-maintainer-clean-host: maybe-maintainer-clean-ppl
++maintainer-clean-host: maybe-maintainer-clean-isl
+ maintainer-clean-host: maybe-maintainer-clean-cloog
+ maintainer-clean-host: maybe-maintainer-clean-libelf
+ maintainer-clean-host: maybe-maintainer-clean-gold
+@@ -2067,6 +2099,7 @@
+ maintainer-clean-host: maybe-maintainer-clean-tcl
+ maintainer-clean-host: maybe-maintainer-clean-itcl
+ maintainer-clean-host: maybe-maintainer-clean-ld
++maintainer-clean-host: maybe-maintainer-clean-libbacktrace
+ maintainer-clean-host: maybe-maintainer-clean-libcpp
+ maintainer-clean-host: maybe-maintainer-clean-libdecnumber
+ maintainer-clean-host: maybe-maintainer-clean-libgui
+@@ -2094,6 +2127,7 @@
+ maintainer-clean-target: maybe-maintainer-clean-target-libssp
+ maintainer-clean-target: maybe-maintainer-clean-target-newlib
+ maintainer-clean-target: maybe-maintainer-clean-target-libgcc
++maintainer-clean-target: maybe-maintainer-clean-target-libbacktrace
+ maintainer-clean-target: maybe-maintainer-clean-target-libquadmath
+ maintainer-clean-target: maybe-maintainer-clean-target-libgfortran
+ maintainer-clean-target: maybe-maintainer-clean-target-libobjc
+@@ -2108,6 +2142,8 @@
+ maintainer-clean-target: maybe-maintainer-clean-target-rda
+ maintainer-clean-target: maybe-maintainer-clean-target-libada
+ maintainer-clean-target: maybe-maintainer-clean-target-libgomp
++maintainer-clean-target: maybe-maintainer-clean-target-libitm
++maintainer-clean-target: maybe-maintainer-clean-target-libatomic
+
+
+ # Here are the targets which correspond to the do-X targets.
+@@ -2190,7 +2226,7 @@
+ maybe-check-gmp \
+ maybe-check-mpfr \
+ maybe-check-mpc \
+- maybe-check-ppl \
++ maybe-check-isl \
+ maybe-check-cloog \
+ maybe-check-libelf \
+ maybe-check-gold \
+@@ -2199,6 +2235,7 @@
+ maybe-check-tcl \
+ maybe-check-itcl \
+ maybe-check-ld \
++ maybe-check-libbacktrace \
+ maybe-check-libcpp \
+ maybe-check-libdecnumber \
+ maybe-check-libgui \
+@@ -2226,6 +2263,7 @@
+ maybe-check-target-libssp \
+ maybe-check-target-newlib \
+ maybe-check-target-libgcc \
++ maybe-check-target-libbacktrace \
+ maybe-check-target-libquadmath \
+ maybe-check-target-libgfortran \
+ maybe-check-target-libobjc \
+@@ -2239,7 +2277,9 @@
+ maybe-check-target-boehm-gc \
+ maybe-check-target-rda \
+ maybe-check-target-libada \
+- maybe-check-target-libgomp
++ maybe-check-target-libgomp \
++ maybe-check-target-libitm \
++ maybe-check-target-libatomic
+
+ do-check:
+ @: $(MAKE); $(unstage)
+@@ -2293,7 +2333,7 @@
+ maybe-install-gmp \
+ maybe-install-mpfr \
+ maybe-install-mpc \
+- maybe-install-ppl \
++ maybe-install-isl \
+ maybe-install-cloog \
+ maybe-install-libelf \
+ maybe-install-gold \
+@@ -2302,6 +2342,7 @@
+ maybe-install-tcl \
+ maybe-install-itcl \
+ maybe-install-ld \
++ maybe-install-libbacktrace \
+ maybe-install-libcpp \
+ maybe-install-libdecnumber \
+ maybe-install-libgui \
+@@ -2339,7 +2380,7 @@
+ maybe-install-gmp \
+ maybe-install-mpfr \
+ maybe-install-mpc \
+- maybe-install-ppl \
++ maybe-install-isl \
+ maybe-install-cloog \
+ maybe-install-libelf \
+ maybe-install-gold \
+@@ -2348,6 +2389,7 @@
+ maybe-install-tcl \
+ maybe-install-itcl \
+ maybe-install-ld \
++ maybe-install-libbacktrace \
+ maybe-install-libcpp \
+ maybe-install-libdecnumber \
+ maybe-install-libgui \
+@@ -2375,6 +2417,7 @@
+ maybe-install-target-libssp \
+ maybe-install-target-newlib \
+ maybe-install-target-libgcc \
++ maybe-install-target-libbacktrace \
+ maybe-install-target-libquadmath \
+ maybe-install-target-libgfortran \
+ maybe-install-target-libobjc \
+@@ -2388,7 +2431,9 @@
+ maybe-install-target-boehm-gc \
+ maybe-install-target-rda \
+ maybe-install-target-libada \
+- maybe-install-target-libgomp
++ maybe-install-target-libgomp \
++ maybe-install-target-libitm \
++ maybe-install-target-libatomic
+
+ uninstall:
+ @echo "the uninstall target is not supported in this tree"
+@@ -2405,11 +2450,12 @@
+ true ; \
+ fi
+
+-# install-no-fixedincludes is used because Cygnus can not distribute
+-# the fixed header files.
++# install-no-fixedincludes is used to allow the elaboration of binary packages
++# suitable for distribution, where we cannot include the fixed system header
++# files.
+ .PHONY: install-no-fixedincludes
+ install-no-fixedincludes: installdirs install-host-nogcc \
+- install-target gcc-no-fixedincludes
++ install-target gcc-install-no-fixedincludes
+
+ .PHONY: install-strip
+ install-strip:
+@@ -2435,7 +2481,7 @@
+ maybe-install-strip-gmp \
+ maybe-install-strip-mpfr \
+ maybe-install-strip-mpc \
+- maybe-install-strip-ppl \
++ maybe-install-strip-isl \
+ maybe-install-strip-cloog \
+ maybe-install-strip-libelf \
+ maybe-install-strip-gold \
+@@ -2444,6 +2490,7 @@
+ maybe-install-strip-tcl \
+ maybe-install-strip-itcl \
+ maybe-install-strip-ld \
++ maybe-install-strip-libbacktrace \
+ maybe-install-strip-libcpp \
+ maybe-install-strip-libdecnumber \
+ maybe-install-strip-libgui \
+@@ -2471,6 +2518,7 @@
+ maybe-install-strip-target-libssp \
+ maybe-install-strip-target-newlib \
+ maybe-install-strip-target-libgcc \
++ maybe-install-strip-target-libbacktrace \
+ maybe-install-strip-target-libquadmath \
+ maybe-install-strip-target-libgfortran \
+ maybe-install-strip-target-libobjc \
+@@ -2484,7 +2532,9 @@
+ maybe-install-strip-target-boehm-gc \
+ maybe-install-strip-target-rda \
+ maybe-install-strip-target-libada \
+- maybe-install-strip-target-libgomp
++ maybe-install-strip-target-libgomp \
++ maybe-install-strip-target-libitm \
++ maybe-install-strip-target-libatomic
+
+
+ ### other supporting targets
+@@ -12974,276 +13024,276 @@
+
+
+
+-.PHONY: configure-ppl maybe-configure-ppl
+-maybe-configure-ppl:
++.PHONY: configure-isl maybe-configure-isl
++maybe-configure-isl:
+ @if gcc-bootstrap
+-configure-ppl: stage_current
++configure-isl: stage_current
+ @endif gcc-bootstrap
+-@if ppl
+-maybe-configure-ppl: configure-ppl
+-configure-ppl:
++@if isl
++maybe-configure-isl: configure-isl
++configure-isl:
+ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+- test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \
+- $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \
++ test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
++ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
+ $(HOST_EXPORTS) \
+- echo Configuring in $(HOST_SUBDIR)/ppl; \
+- cd "$(HOST_SUBDIR)/ppl" || exit 1; \
++ echo Configuring in $(HOST_SUBDIR)/isl; \
++ cd "$(HOST_SUBDIR)/isl" || exit 1; \
+ case $(srcdir) in \
+ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
+- *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \
++ *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
+ sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
+ esac; \
+- srcdiroption="--srcdir=$${topdir}/ppl"; \
+- libsrcdir="$$s/ppl"; \
++ srcdiroption="--srcdir=$${topdir}/isl"; \
++ libsrcdir="$$s/isl"; \
+ $(SHELL) $${libsrcdir}/configure \
+ $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
+- --target=${target_alias} $${srcdiroption} --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/ \
++ --target=${target_alias} $${srcdiroption} --disable-shared @extra_isl_gmp_configure_flags@ \
+ || exit 1
+-@endif ppl
++@endif isl
+
+
+
+-.PHONY: configure-stage1-ppl maybe-configure-stage1-ppl
+-maybe-configure-stage1-ppl:
+-@if ppl-bootstrap
+-maybe-configure-stage1-ppl: configure-stage1-ppl
+-configure-stage1-ppl:
++.PHONY: configure-stage1-isl maybe-configure-stage1-isl
++maybe-configure-stage1-isl:
++@if isl-bootstrap
++maybe-configure-stage1-isl: configure-stage1-isl
++configure-stage1-isl:
+ @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
+- @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl
++ @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
+ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ TFLAGS="$(STAGE1_TFLAGS)"; \
+- test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \
++ test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
+ $(HOST_EXPORTS) \
+ CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
+ CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
+ LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
+- echo Configuring stage 1 in $(HOST_SUBDIR)/ppl ; \
+- $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \
+- cd $(HOST_SUBDIR)/ppl || exit 1; \
++ echo Configuring stage 1 in $(HOST_SUBDIR)/isl ; \
++ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
++ cd $(HOST_SUBDIR)/isl || exit 1; \
+ case $(srcdir) in \
+ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
+- *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \
++ *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
+ sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
+ esac; \
+- srcdiroption="--srcdir=$${topdir}/ppl"; \
+- libsrcdir="$$s/ppl"; \
++ srcdiroption="--srcdir=$${topdir}/isl"; \
++ libsrcdir="$$s/isl"; \
+ $(SHELL) $${libsrcdir}/configure \
+ $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
+ --target=${target_alias} $${srcdiroption} \
+ $(STAGE1_CONFIGURE_FLAGS) \
+- --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/
+-@endif ppl-bootstrap
++ --disable-shared @extra_isl_gmp_configure_flags@
++@endif isl-bootstrap
+
+-.PHONY: configure-stage2-ppl maybe-configure-stage2-ppl
+-maybe-configure-stage2-ppl:
+-@if ppl-bootstrap
+-maybe-configure-stage2-ppl: configure-stage2-ppl
+-configure-stage2-ppl:
++.PHONY: configure-stage2-isl maybe-configure-stage2-isl
++maybe-configure-stage2-isl:
++@if isl-bootstrap
++maybe-configure-stage2-isl: configure-stage2-isl
++configure-stage2-isl:
+ @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
+- @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl
++ @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
+ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ TFLAGS="$(STAGE2_TFLAGS)"; \
+- test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \
++ test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
+ $(HOST_EXPORTS) \
+ $(POSTSTAGE1_HOST_EXPORTS) \
+ CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
+ CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
+ LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
+- echo Configuring stage 2 in $(HOST_SUBDIR)/ppl ; \
+- $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \
+- cd $(HOST_SUBDIR)/ppl || exit 1; \
++ echo Configuring stage 2 in $(HOST_SUBDIR)/isl ; \
++ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
++ cd $(HOST_SUBDIR)/isl || exit 1; \
+ case $(srcdir) in \
+ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
+- *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \
++ *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
+ sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
+ esac; \
+- srcdiroption="--srcdir=$${topdir}/ppl"; \
+- libsrcdir="$$s/ppl"; \
++ srcdiroption="--srcdir=$${topdir}/isl"; \
++ libsrcdir="$$s/isl"; \
+ $(SHELL) $${libsrcdir}/configure \
+ $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
+ --target=${target_alias} $${srcdiroption} \
+ --with-build-libsubdir=$(HOST_SUBDIR) \
+ $(STAGE2_CONFIGURE_FLAGS) \
+- --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/
+-@endif ppl-bootstrap
++ --disable-shared @extra_isl_gmp_configure_flags@
++@endif isl-bootstrap
+
+-.PHONY: configure-stage3-ppl maybe-configure-stage3-ppl
+-maybe-configure-stage3-ppl:
+-@if ppl-bootstrap
+-maybe-configure-stage3-ppl: configure-stage3-ppl
+-configure-stage3-ppl:
++.PHONY: configure-stage3-isl maybe-configure-stage3-isl
++maybe-configure-stage3-isl:
++@if isl-bootstrap
++maybe-configure-stage3-isl: configure-stage3-isl
++configure-stage3-isl:
+ @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
+- @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl
++ @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
+ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ TFLAGS="$(STAGE3_TFLAGS)"; \
+- test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \
++ test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
+ $(HOST_EXPORTS) \
+ $(POSTSTAGE1_HOST_EXPORTS) \
+ CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
+ CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
+ LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
+- echo Configuring stage 3 in $(HOST_SUBDIR)/ppl ; \
+- $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \
+- cd $(HOST_SUBDIR)/ppl || exit 1; \
++ echo Configuring stage 3 in $(HOST_SUBDIR)/isl ; \
++ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
++ cd $(HOST_SUBDIR)/isl || exit 1; \
+ case $(srcdir) in \
+ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
+- *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \
++ *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
+ sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
+ esac; \
+- srcdiroption="--srcdir=$${topdir}/ppl"; \
+- libsrcdir="$$s/ppl"; \
++ srcdiroption="--srcdir=$${topdir}/isl"; \
++ libsrcdir="$$s/isl"; \
+ $(SHELL) $${libsrcdir}/configure \
+ $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
+ --target=${target_alias} $${srcdiroption} \
+ --with-build-libsubdir=$(HOST_SUBDIR) \
+ $(STAGE3_CONFIGURE_FLAGS) \
+- --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/
+-@endif ppl-bootstrap
++ --disable-shared @extra_isl_gmp_configure_flags@
++@endif isl-bootstrap
+
+-.PHONY: configure-stage4-ppl maybe-configure-stage4-ppl
+-maybe-configure-stage4-ppl:
+-@if ppl-bootstrap
+-maybe-configure-stage4-ppl: configure-stage4-ppl
+-configure-stage4-ppl:
++.PHONY: configure-stage4-isl maybe-configure-stage4-isl
++maybe-configure-stage4-isl:
++@if isl-bootstrap
++maybe-configure-stage4-isl: configure-stage4-isl
++configure-stage4-isl:
+ @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
+- @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl
++ @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
+ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ TFLAGS="$(STAGE4_TFLAGS)"; \
+- test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \
++ test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
+ $(HOST_EXPORTS) \
+ $(POSTSTAGE1_HOST_EXPORTS) \
+ CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
+ CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
+ LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
+- echo Configuring stage 4 in $(HOST_SUBDIR)/ppl ; \
+- $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \
+- cd $(HOST_SUBDIR)/ppl || exit 1; \
++ echo Configuring stage 4 in $(HOST_SUBDIR)/isl ; \
++ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
++ cd $(HOST_SUBDIR)/isl || exit 1; \
+ case $(srcdir) in \
+ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
+- *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \
++ *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
+ sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
+ esac; \
+- srcdiroption="--srcdir=$${topdir}/ppl"; \
+- libsrcdir="$$s/ppl"; \
++ srcdiroption="--srcdir=$${topdir}/isl"; \
++ libsrcdir="$$s/isl"; \
+ $(SHELL) $${libsrcdir}/configure \
+ $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
+ --target=${target_alias} $${srcdiroption} \
+ --with-build-libsubdir=$(HOST_SUBDIR) \
+ $(STAGE4_CONFIGURE_FLAGS) \
+- --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/
+-@endif ppl-bootstrap
++ --disable-shared @extra_isl_gmp_configure_flags@
++@endif isl-bootstrap
+
+-.PHONY: configure-stageprofile-ppl maybe-configure-stageprofile-ppl
+-maybe-configure-stageprofile-ppl:
+-@if ppl-bootstrap
+-maybe-configure-stageprofile-ppl: configure-stageprofile-ppl
+-configure-stageprofile-ppl:
++.PHONY: configure-stageprofile-isl maybe-configure-stageprofile-isl
++maybe-configure-stageprofile-isl:
++@if isl-bootstrap
++maybe-configure-stageprofile-isl: configure-stageprofile-isl
++configure-stageprofile-isl:
+ @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
+- @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl
++ @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
+ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ TFLAGS="$(STAGEprofile_TFLAGS)"; \
+- test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \
++ test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
+ $(HOST_EXPORTS) \
+ $(POSTSTAGE1_HOST_EXPORTS) \
+ CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
+ CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
+ LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
+- echo Configuring stage profile in $(HOST_SUBDIR)/ppl ; \
+- $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \
+- cd $(HOST_SUBDIR)/ppl || exit 1; \
++ echo Configuring stage profile in $(HOST_SUBDIR)/isl ; \
++ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
++ cd $(HOST_SUBDIR)/isl || exit 1; \
+ case $(srcdir) in \
+ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
+- *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \
++ *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
+ sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
+ esac; \
+- srcdiroption="--srcdir=$${topdir}/ppl"; \
+- libsrcdir="$$s/ppl"; \
++ srcdiroption="--srcdir=$${topdir}/isl"; \
++ libsrcdir="$$s/isl"; \
+ $(SHELL) $${libsrcdir}/configure \
+ $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
+ --target=${target_alias} $${srcdiroption} \
+ --with-build-libsubdir=$(HOST_SUBDIR) \
+ $(STAGEprofile_CONFIGURE_FLAGS) \
+- --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/
+-@endif ppl-bootstrap
++ --disable-shared @extra_isl_gmp_configure_flags@
++@endif isl-bootstrap
+
+-.PHONY: configure-stagefeedback-ppl maybe-configure-stagefeedback-ppl
+-maybe-configure-stagefeedback-ppl:
+-@if ppl-bootstrap
+-maybe-configure-stagefeedback-ppl: configure-stagefeedback-ppl
+-configure-stagefeedback-ppl:
++.PHONY: configure-stagefeedback-isl maybe-configure-stagefeedback-isl
++maybe-configure-stagefeedback-isl:
++@if isl-bootstrap
++maybe-configure-stagefeedback-isl: configure-stagefeedback-isl
++configure-stagefeedback-isl:
+ @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
+- @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl
++ @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
+ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ TFLAGS="$(STAGEfeedback_TFLAGS)"; \
+- test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \
++ test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
+ $(HOST_EXPORTS) \
+ $(POSTSTAGE1_HOST_EXPORTS) \
+ CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
+ CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
+ LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
+- echo Configuring stage feedback in $(HOST_SUBDIR)/ppl ; \
+- $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \
+- cd $(HOST_SUBDIR)/ppl || exit 1; \
++ echo Configuring stage feedback in $(HOST_SUBDIR)/isl ; \
++ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
++ cd $(HOST_SUBDIR)/isl || exit 1; \
+ case $(srcdir) in \
+ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
+- *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \
++ *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
+ sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
+ esac; \
+- srcdiroption="--srcdir=$${topdir}/ppl"; \
+- libsrcdir="$$s/ppl"; \
++ srcdiroption="--srcdir=$${topdir}/isl"; \
++ libsrcdir="$$s/isl"; \
+ $(SHELL) $${libsrcdir}/configure \
+ $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
+ --target=${target_alias} $${srcdiroption} \
+ --with-build-libsubdir=$(HOST_SUBDIR) \
+ $(STAGEfeedback_CONFIGURE_FLAGS) \
+- --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/
+-@endif ppl-bootstrap
++ --disable-shared @extra_isl_gmp_configure_flags@
++@endif isl-bootstrap
+
+
+
+
+
+-.PHONY: all-ppl maybe-all-ppl
+-maybe-all-ppl:
++.PHONY: all-isl maybe-all-isl
++maybe-all-isl:
+ @if gcc-bootstrap
+-all-ppl: stage_current
++all-isl: stage_current
+ @endif gcc-bootstrap
+-@if ppl
+-TARGET-ppl=all
+-maybe-all-ppl: all-ppl
+-all-ppl: configure-ppl
++@if isl
++TARGET-isl=all
++maybe-all-isl: all-isl
++all-isl: configure-isl
+ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(HOST_EXPORTS) \
+- (cd $(HOST_SUBDIR)/ppl && \
+- $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
+- $(TARGET-ppl))
+-@endif ppl
++ (cd $(HOST_SUBDIR)/isl && \
++ $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) V=1 \
++ $(TARGET-isl))
++@endif isl
+
+
+
+-.PHONY: all-stage1-ppl maybe-all-stage1-ppl
+-.PHONY: clean-stage1-ppl maybe-clean-stage1-ppl
+-maybe-all-stage1-ppl:
+-maybe-clean-stage1-ppl:
+-@if ppl-bootstrap
+-maybe-all-stage1-ppl: all-stage1-ppl
+-all-stage1: all-stage1-ppl
+-TARGET-stage1-ppl = $(TARGET-ppl)
+-all-stage1-ppl: configure-stage1-ppl
++.PHONY: all-stage1-isl maybe-all-stage1-isl
++.PHONY: clean-stage1-isl maybe-clean-stage1-isl
++maybe-all-stage1-isl:
++maybe-clean-stage1-isl:
++@if isl-bootstrap
++maybe-all-stage1-isl: all-stage1-isl
++all-stage1: all-stage1-isl
++TARGET-stage1-isl = $(TARGET-isl)
++all-stage1-isl: configure-stage1-isl
+ @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
+ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ TFLAGS="$(STAGE1_TFLAGS)"; \
+ $(HOST_EXPORTS) \
+- cd $(HOST_SUBDIR)/ppl && \
++ cd $(HOST_SUBDIR)/isl && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) \
+ CFLAGS="$(STAGE1_CFLAGS)" \
+ CXXFLAGS="$(STAGE1_CXXFLAGS)" \
+@@ -13251,41 +13301,41 @@
+ CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
+ CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
+ LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
+- $(EXTRA_HOST_FLAGS) \
++ $(EXTRA_HOST_FLAGS) V=1 \
+ TFLAGS="$(STAGE1_TFLAGS)" \
+- $(TARGET-stage1-ppl)
++ $(TARGET-stage1-isl)
+
+-maybe-clean-stage1-ppl: clean-stage1-ppl
+-clean-stage1: clean-stage1-ppl
+-clean-stage1-ppl:
++maybe-clean-stage1-isl: clean-stage1-isl
++clean-stage1: clean-stage1-isl
++clean-stage1-isl:
+ @if [ $(current_stage) = stage1 ]; then \
+- [ -f $(HOST_SUBDIR)/ppl/Makefile ] || exit 0; \
++ [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
+ else \
+- [ -f $(HOST_SUBDIR)/stage1-ppl/Makefile ] || exit 0; \
++ [ -f $(HOST_SUBDIR)/stage1-isl/Makefile ] || exit 0; \
+ $(MAKE) stage1-start; \
+ fi; \
+- cd $(HOST_SUBDIR)/ppl && \
++ cd $(HOST_SUBDIR)/isl && \
+ $(MAKE) $(EXTRA_HOST_FLAGS) \
+- clean
+-@endif ppl-bootstrap
++ V=1 clean
++@endif isl-bootstrap
+
+
+-.PHONY: all-stage2-ppl maybe-all-stage2-ppl
+-.PHONY: clean-stage2-ppl maybe-clean-stage2-ppl
+-maybe-all-stage2-ppl:
+-maybe-clean-stage2-ppl:
+-@if ppl-bootstrap
+-maybe-all-stage2-ppl: all-stage2-ppl
+-all-stage2: all-stage2-ppl
+-TARGET-stage2-ppl = $(TARGET-ppl)
+-all-stage2-ppl: configure-stage2-ppl
++.PHONY: all-stage2-isl maybe-all-stage2-isl
++.PHONY: clean-stage2-isl maybe-clean-stage2-isl
++maybe-all-stage2-isl:
++maybe-clean-stage2-isl:
++@if isl-bootstrap
++maybe-all-stage2-isl: all-stage2-isl
++all-stage2: all-stage2-isl
++TARGET-stage2-isl = $(TARGET-isl)
++all-stage2-isl: configure-stage2-isl
+ @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
+ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ TFLAGS="$(STAGE2_TFLAGS)"; \
+ $(HOST_EXPORTS) \
+ $(POSTSTAGE1_HOST_EXPORTS) \
+- cd $(HOST_SUBDIR)/ppl && \
++ cd $(HOST_SUBDIR)/isl && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) \
+ CFLAGS="$(STAGE2_CFLAGS)" \
+ CXXFLAGS="$(STAGE2_CXXFLAGS)" \
+@@ -13293,42 +13343,42 @@
+ CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
+ CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
+ LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
+- $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
++ $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
+ TFLAGS="$(STAGE2_TFLAGS)" \
+- $(TARGET-stage2-ppl)
++ $(TARGET-stage2-isl)
+
+-maybe-clean-stage2-ppl: clean-stage2-ppl
+-clean-stage2: clean-stage2-ppl
+-clean-stage2-ppl:
++maybe-clean-stage2-isl: clean-stage2-isl
++clean-stage2: clean-stage2-isl
++clean-stage2-isl:
+ @if [ $(current_stage) = stage2 ]; then \
+- [ -f $(HOST_SUBDIR)/ppl/Makefile ] || exit 0; \
++ [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
+ else \
+- [ -f $(HOST_SUBDIR)/stage2-ppl/Makefile ] || exit 0; \
++ [ -f $(HOST_SUBDIR)/stage2-isl/Makefile ] || exit 0; \
+ $(MAKE) stage2-start; \
+ fi; \
+- cd $(HOST_SUBDIR)/ppl && \
++ cd $(HOST_SUBDIR)/isl && \
+ $(MAKE) $(EXTRA_HOST_FLAGS) \
+ $(POSTSTAGE1_FLAGS_TO_PASS) \
+- clean
+-@endif ppl-bootstrap
++ V=1 clean
++@endif isl-bootstrap
+
+
+-.PHONY: all-stage3-ppl maybe-all-stage3-ppl
+-.PHONY: clean-stage3-ppl maybe-clean-stage3-ppl
+-maybe-all-stage3-ppl:
+-maybe-clean-stage3-ppl:
+-@if ppl-bootstrap
+-maybe-all-stage3-ppl: all-stage3-ppl
+-all-stage3: all-stage3-ppl
+-TARGET-stage3-ppl = $(TARGET-ppl)
+-all-stage3-ppl: configure-stage3-ppl
++.PHONY: all-stage3-isl maybe-all-stage3-isl
++.PHONY: clean-stage3-isl maybe-clean-stage3-isl
++maybe-all-stage3-isl:
++maybe-clean-stage3-isl:
++@if isl-bootstrap
++maybe-all-stage3-isl: all-stage3-isl
++all-stage3: all-stage3-isl
++TARGET-stage3-isl = $(TARGET-isl)
++all-stage3-isl: configure-stage3-isl
+ @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
+ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ TFLAGS="$(STAGE3_TFLAGS)"; \
+ $(HOST_EXPORTS) \
+ $(POSTSTAGE1_HOST_EXPORTS) \
+- cd $(HOST_SUBDIR)/ppl && \
++ cd $(HOST_SUBDIR)/isl && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) \
+ CFLAGS="$(STAGE3_CFLAGS)" \
+ CXXFLAGS="$(STAGE3_CXXFLAGS)" \
+@@ -13336,42 +13386,42 @@
+ CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
+ CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
+ LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
+- $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
++ $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
+ TFLAGS="$(STAGE3_TFLAGS)" \
+- $(TARGET-stage3-ppl)
++ $(TARGET-stage3-isl)
+
+-maybe-clean-stage3-ppl: clean-stage3-ppl
+-clean-stage3: clean-stage3-ppl
+-clean-stage3-ppl:
++maybe-clean-stage3-isl: clean-stage3-isl
++clean-stage3: clean-stage3-isl
++clean-stage3-isl:
+ @if [ $(current_stage) = stage3 ]; then \
+- [ -f $(HOST_SUBDIR)/ppl/Makefile ] || exit 0; \
++ [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
+ else \
+- [ -f $(HOST_SUBDIR)/stage3-ppl/Makefile ] || exit 0; \
++ [ -f $(HOST_SUBDIR)/stage3-isl/Makefile ] || exit 0; \
+ $(MAKE) stage3-start; \
+ fi; \
+- cd $(HOST_SUBDIR)/ppl && \
++ cd $(HOST_SUBDIR)/isl && \
+ $(MAKE) $(EXTRA_HOST_FLAGS) \
+ $(POSTSTAGE1_FLAGS_TO_PASS) \
+- clean
+-@endif ppl-bootstrap
++ V=1 clean
++@endif isl-bootstrap
+
+
+-.PHONY: all-stage4-ppl maybe-all-stage4-ppl
+-.PHONY: clean-stage4-ppl maybe-clean-stage4-ppl
+-maybe-all-stage4-ppl:
+-maybe-clean-stage4-ppl:
+-@if ppl-bootstrap
+-maybe-all-stage4-ppl: all-stage4-ppl
+-all-stage4: all-stage4-ppl
+-TARGET-stage4-ppl = $(TARGET-ppl)
+-all-stage4-ppl: configure-stage4-ppl
++.PHONY: all-stage4-isl maybe-all-stage4-isl
++.PHONY: clean-stage4-isl maybe-clean-stage4-isl
++maybe-all-stage4-isl:
++maybe-clean-stage4-isl:
++@if isl-bootstrap
++maybe-all-stage4-isl: all-stage4-isl
++all-stage4: all-stage4-isl
++TARGET-stage4-isl = $(TARGET-isl)
++all-stage4-isl: configure-stage4-isl
+ @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
+ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ TFLAGS="$(STAGE4_TFLAGS)"; \
+ $(HOST_EXPORTS) \
+ $(POSTSTAGE1_HOST_EXPORTS) \
+- cd $(HOST_SUBDIR)/ppl && \
++ cd $(HOST_SUBDIR)/isl && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) \
+ CFLAGS="$(STAGE4_CFLAGS)" \
+ CXXFLAGS="$(STAGE4_CXXFLAGS)" \
+@@ -13379,42 +13429,42 @@
+ CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
+ CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
+ LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
+- $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
++ $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
+ TFLAGS="$(STAGE4_TFLAGS)" \
+- $(TARGET-stage4-ppl)
++ $(TARGET-stage4-isl)
+
+-maybe-clean-stage4-ppl: clean-stage4-ppl
+-clean-stage4: clean-stage4-ppl
+-clean-stage4-ppl:
++maybe-clean-stage4-isl: clean-stage4-isl
++clean-stage4: clean-stage4-isl
++clean-stage4-isl:
+ @if [ $(current_stage) = stage4 ]; then \
+- [ -f $(HOST_SUBDIR)/ppl/Makefile ] || exit 0; \
++ [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
+ else \
+- [ -f $(HOST_SUBDIR)/stage4-ppl/Makefile ] || exit 0; \
++ [ -f $(HOST_SUBDIR)/stage4-isl/Makefile ] || exit 0; \
+ $(MAKE) stage4-start; \
+ fi; \
+- cd $(HOST_SUBDIR)/ppl && \
++ cd $(HOST_SUBDIR)/isl && \
+ $(MAKE) $(EXTRA_HOST_FLAGS) \
+ $(POSTSTAGE1_FLAGS_TO_PASS) \
+- clean
+-@endif ppl-bootstrap
++ V=1 clean
++@endif isl-bootstrap
+
+
+-.PHONY: all-stageprofile-ppl maybe-all-stageprofile-ppl
+-.PHONY: clean-stageprofile-ppl maybe-clean-stageprofile-ppl
+-maybe-all-stageprofile-ppl:
+-maybe-clean-stageprofile-ppl:
+-@if ppl-bootstrap
+-maybe-all-stageprofile-ppl: all-stageprofile-ppl
+-all-stageprofile: all-stageprofile-ppl
+-TARGET-stageprofile-ppl = $(TARGET-ppl)
+-all-stageprofile-ppl: configure-stageprofile-ppl
++.PHONY: all-stageprofile-isl maybe-all-stageprofile-isl
++.PHONY: clean-stageprofile-isl maybe-clean-stageprofile-isl
++maybe-all-stageprofile-isl:
++maybe-clean-stageprofile-isl:
++@if isl-bootstrap
++maybe-all-stageprofile-isl: all-stageprofile-isl
++all-stageprofile: all-stageprofile-isl
++TARGET-stageprofile-isl = $(TARGET-isl)
++all-stageprofile-isl: configure-stageprofile-isl
+ @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
+ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ TFLAGS="$(STAGEprofile_TFLAGS)"; \
+ $(HOST_EXPORTS) \
+ $(POSTSTAGE1_HOST_EXPORTS) \
+- cd $(HOST_SUBDIR)/ppl && \
++ cd $(HOST_SUBDIR)/isl && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) \
+ CFLAGS="$(STAGEprofile_CFLAGS)" \
+ CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
+@@ -13422,42 +13472,42 @@
+ CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
+ CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
+ LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
+- $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
++ $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
+ TFLAGS="$(STAGEprofile_TFLAGS)" \
+- $(TARGET-stageprofile-ppl)
++ $(TARGET-stageprofile-isl)
+
+-maybe-clean-stageprofile-ppl: clean-stageprofile-ppl
+-clean-stageprofile: clean-stageprofile-ppl
+-clean-stageprofile-ppl:
++maybe-clean-stageprofile-isl: clean-stageprofile-isl
++clean-stageprofile: clean-stageprofile-isl
++clean-stageprofile-isl:
+ @if [ $(current_stage) = stageprofile ]; then \
+- [ -f $(HOST_SUBDIR)/ppl/Makefile ] || exit 0; \
++ [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
+ else \
+- [ -f $(HOST_SUBDIR)/stageprofile-ppl/Makefile ] || exit 0; \
++ [ -f $(HOST_SUBDIR)/stageprofile-isl/Makefile ] || exit 0; \
+ $(MAKE) stageprofile-start; \
+ fi; \
+- cd $(HOST_SUBDIR)/ppl && \
++ cd $(HOST_SUBDIR)/isl && \
+ $(MAKE) $(EXTRA_HOST_FLAGS) \
+ $(POSTSTAGE1_FLAGS_TO_PASS) \
+- clean
+-@endif ppl-bootstrap
++ V=1 clean
++@endif isl-bootstrap
+
+
+-.PHONY: all-stagefeedback-ppl maybe-all-stagefeedback-ppl
+-.PHONY: clean-stagefeedback-ppl maybe-clean-stagefeedback-ppl
+-maybe-all-stagefeedback-ppl:
+-maybe-clean-stagefeedback-ppl:
+-@if ppl-bootstrap
+-maybe-all-stagefeedback-ppl: all-stagefeedback-ppl
+-all-stagefeedback: all-stagefeedback-ppl
+-TARGET-stagefeedback-ppl = $(TARGET-ppl)
+-all-stagefeedback-ppl: configure-stagefeedback-ppl
++.PHONY: all-stagefeedback-isl maybe-all-stagefeedback-isl
++.PHONY: clean-stagefeedback-isl maybe-clean-stagefeedback-isl
++maybe-all-stagefeedback-isl:
++maybe-clean-stagefeedback-isl:
++@if isl-bootstrap
++maybe-all-stagefeedback-isl: all-stagefeedback-isl
++all-stagefeedback: all-stagefeedback-isl
++TARGET-stagefeedback-isl = $(TARGET-isl)
++all-stagefeedback-isl: configure-stagefeedback-isl
+ @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
+ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ TFLAGS="$(STAGEfeedback_TFLAGS)"; \
+ $(HOST_EXPORTS) \
+ $(POSTSTAGE1_HOST_EXPORTS) \
+- cd $(HOST_SUBDIR)/ppl && \
++ cd $(HOST_SUBDIR)/isl && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) \
+ CFLAGS="$(STAGEfeedback_CFLAGS)" \
+ CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
+@@ -13465,80 +13515,80 @@
+ CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
+ CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
+ LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
+- $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
++ $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
+ TFLAGS="$(STAGEfeedback_TFLAGS)" \
+- $(TARGET-stagefeedback-ppl)
++ $(TARGET-stagefeedback-isl)
+
+-maybe-clean-stagefeedback-ppl: clean-stagefeedback-ppl
+-clean-stagefeedback: clean-stagefeedback-ppl
+-clean-stagefeedback-ppl:
++maybe-clean-stagefeedback-isl: clean-stagefeedback-isl
++clean-stagefeedback: clean-stagefeedback-isl
++clean-stagefeedback-isl:
+ @if [ $(current_stage) = stagefeedback ]; then \
+- [ -f $(HOST_SUBDIR)/ppl/Makefile ] || exit 0; \
++ [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
+ else \
+- [ -f $(HOST_SUBDIR)/stagefeedback-ppl/Makefile ] || exit 0; \
++ [ -f $(HOST_SUBDIR)/stagefeedback-isl/Makefile ] || exit 0; \
+ $(MAKE) stagefeedback-start; \
+ fi; \
+- cd $(HOST_SUBDIR)/ppl && \
++ cd $(HOST_SUBDIR)/isl && \
+ $(MAKE) $(EXTRA_HOST_FLAGS) \
+ $(POSTSTAGE1_FLAGS_TO_PASS) \
+- clean
+-@endif ppl-bootstrap
++ V=1 clean
++@endif isl-bootstrap
+
+
+
+
+
+-.PHONY: check-ppl maybe-check-ppl
+-maybe-check-ppl:
+-@if ppl
+-maybe-check-ppl: check-ppl
++.PHONY: check-isl maybe-check-isl
++maybe-check-isl:
++@if isl
++maybe-check-isl: check-isl
+
+-check-ppl:
++check-isl:
+ @: $(MAKE); $(unstage)
+ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(HOST_EXPORTS) \
+- (cd $(HOST_SUBDIR)/ppl && \
+- $(MAKE) $(FLAGS_TO_PASS) check)
++ (cd $(HOST_SUBDIR)/isl && \
++ $(MAKE) $(FLAGS_TO_PASS) V=1 check)
+
+-@endif ppl
++@endif isl
+
+-.PHONY: install-ppl maybe-install-ppl
+-maybe-install-ppl:
+-@if ppl
+-maybe-install-ppl: install-ppl
++.PHONY: install-isl maybe-install-isl
++maybe-install-isl:
++@if isl
++maybe-install-isl: install-isl
+
+-install-ppl:
++install-isl:
+
+-@endif ppl
++@endif isl
+
+-.PHONY: install-strip-ppl maybe-install-strip-ppl
+-maybe-install-strip-ppl:
+-@if ppl
+-maybe-install-strip-ppl: install-strip-ppl
++.PHONY: install-strip-isl maybe-install-strip-isl
++maybe-install-strip-isl:
++@if isl
++maybe-install-strip-isl: install-strip-isl
+
+-install-strip-ppl:
++install-strip-isl:
+
+-@endif ppl
++@endif isl
+
+ # Other targets (info, dvi, pdf, etc.)
+
+-.PHONY: maybe-info-ppl info-ppl
+-maybe-info-ppl:
+-@if ppl
+-maybe-info-ppl: info-ppl
++.PHONY: maybe-info-isl info-isl
++maybe-info-isl:
++@if isl
++maybe-info-isl: info-isl
+
+-info-ppl: \
+- configure-ppl
+- @[ -f ./ppl/Makefile ] || exit 0; \
++info-isl: \
++ configure-isl
++ @[ -f ./isl/Makefile ] || exit 0; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(HOST_EXPORTS) \
+- for flag in $(EXTRA_HOST_FLAGS) ; do \
++ for flag in $(EXTRA_HOST_FLAGS) V=1; do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- echo "Doing info in ppl" ; \
+- (cd $(HOST_SUBDIR)/ppl && \
++ echo "Doing info in isl" ; \
++ (cd $(HOST_SUBDIR)/isl && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+@@ -13546,24 +13596,24 @@
+ info) \
+ || exit 1
+
+-@endif ppl
++@endif isl
+
+-.PHONY: maybe-dvi-ppl dvi-ppl
+-maybe-dvi-ppl:
+-@if ppl
+-maybe-dvi-ppl: dvi-ppl
++.PHONY: maybe-dvi-isl dvi-isl
++maybe-dvi-isl:
++@if isl
++maybe-dvi-isl: dvi-isl
+
+-dvi-ppl: \
+- configure-ppl
+- @[ -f ./ppl/Makefile ] || exit 0; \
++dvi-isl: \
++ configure-isl
++ @[ -f ./isl/Makefile ] || exit 0; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(HOST_EXPORTS) \
+- for flag in $(EXTRA_HOST_FLAGS) ; do \
++ for flag in $(EXTRA_HOST_FLAGS) V=1; do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- echo "Doing dvi in ppl" ; \
+- (cd $(HOST_SUBDIR)/ppl && \
++ echo "Doing dvi in isl" ; \
++ (cd $(HOST_SUBDIR)/isl && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+@@ -13571,24 +13621,24 @@
+ dvi) \
+ || exit 1
+
+-@endif ppl
++@endif isl
+
+-.PHONY: maybe-pdf-ppl pdf-ppl
+-maybe-pdf-ppl:
+-@if ppl
+-maybe-pdf-ppl: pdf-ppl
++.PHONY: maybe-pdf-isl pdf-isl
++maybe-pdf-isl:
++@if isl
++maybe-pdf-isl: pdf-isl
+
+-pdf-ppl: \
+- configure-ppl
+- @[ -f ./ppl/Makefile ] || exit 0; \
++pdf-isl: \
++ configure-isl
++ @[ -f ./isl/Makefile ] || exit 0; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(HOST_EXPORTS) \
+- for flag in $(EXTRA_HOST_FLAGS) ; do \
++ for flag in $(EXTRA_HOST_FLAGS) V=1; do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- echo "Doing pdf in ppl" ; \
+- (cd $(HOST_SUBDIR)/ppl && \
++ echo "Doing pdf in isl" ; \
++ (cd $(HOST_SUBDIR)/isl && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+@@ -13596,24 +13646,24 @@
+ pdf) \
+ || exit 1
+
+-@endif ppl
++@endif isl
+
+-.PHONY: maybe-html-ppl html-ppl
+-maybe-html-ppl:
+-@if ppl
+-maybe-html-ppl: html-ppl
++.PHONY: maybe-html-isl html-isl
++maybe-html-isl:
++@if isl
++maybe-html-isl: html-isl
+
+-html-ppl: \
+- configure-ppl
+- @[ -f ./ppl/Makefile ] || exit 0; \
++html-isl: \
++ configure-isl
++ @[ -f ./isl/Makefile ] || exit 0; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(HOST_EXPORTS) \
+- for flag in $(EXTRA_HOST_FLAGS) ; do \
++ for flag in $(EXTRA_HOST_FLAGS) V=1; do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- echo "Doing html in ppl" ; \
+- (cd $(HOST_SUBDIR)/ppl && \
++ echo "Doing html in isl" ; \
++ (cd $(HOST_SUBDIR)/isl && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+@@ -13621,24 +13671,24 @@
+ html) \
+ || exit 1
+
+-@endif ppl
++@endif isl
+
+-.PHONY: maybe-TAGS-ppl TAGS-ppl
+-maybe-TAGS-ppl:
+-@if ppl
+-maybe-TAGS-ppl: TAGS-ppl
++.PHONY: maybe-TAGS-isl TAGS-isl
++maybe-TAGS-isl:
++@if isl
++maybe-TAGS-isl: TAGS-isl
+
+-TAGS-ppl: \
+- configure-ppl
+- @[ -f ./ppl/Makefile ] || exit 0; \
++TAGS-isl: \
++ configure-isl
++ @[ -f ./isl/Makefile ] || exit 0; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(HOST_EXPORTS) \
+- for flag in $(EXTRA_HOST_FLAGS) ; do \
++ for flag in $(EXTRA_HOST_FLAGS) V=1; do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- echo "Doing TAGS in ppl" ; \
+- (cd $(HOST_SUBDIR)/ppl && \
++ echo "Doing TAGS in isl" ; \
++ (cd $(HOST_SUBDIR)/isl && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+@@ -13646,25 +13696,25 @@
+ TAGS) \
+ || exit 1
+
+-@endif ppl
++@endif isl
+
+-.PHONY: maybe-install-info-ppl install-info-ppl
+-maybe-install-info-ppl:
+-@if ppl
+-maybe-install-info-ppl: install-info-ppl
++.PHONY: maybe-install-info-isl install-info-isl
++maybe-install-info-isl:
++@if isl
++maybe-install-info-isl: install-info-isl
+
+-install-info-ppl: \
+- configure-ppl \
+- info-ppl
+- @[ -f ./ppl/Makefile ] || exit 0; \
++install-info-isl: \
++ configure-isl \
++ info-isl
++ @[ -f ./isl/Makefile ] || exit 0; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(HOST_EXPORTS) \
+- for flag in $(EXTRA_HOST_FLAGS) ; do \
++ for flag in $(EXTRA_HOST_FLAGS) V=1; do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- echo "Doing install-info in ppl" ; \
+- (cd $(HOST_SUBDIR)/ppl && \
++ echo "Doing install-info in isl" ; \
++ (cd $(HOST_SUBDIR)/isl && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+@@ -13672,25 +13722,25 @@
+ install-info) \
+ || exit 1
+
+-@endif ppl
++@endif isl
+
+-.PHONY: maybe-install-pdf-ppl install-pdf-ppl
+-maybe-install-pdf-ppl:
+-@if ppl
+-maybe-install-pdf-ppl: install-pdf-ppl
++.PHONY: maybe-install-pdf-isl install-pdf-isl
++maybe-install-pdf-isl:
++@if isl
++maybe-install-pdf-isl: install-pdf-isl
+
+-install-pdf-ppl: \
+- configure-ppl \
+- pdf-ppl
+- @[ -f ./ppl/Makefile ] || exit 0; \
++install-pdf-isl: \
++ configure-isl \
++ pdf-isl
++ @[ -f ./isl/Makefile ] || exit 0; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(HOST_EXPORTS) \
+- for flag in $(EXTRA_HOST_FLAGS) ; do \
++ for flag in $(EXTRA_HOST_FLAGS) V=1; do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- echo "Doing install-pdf in ppl" ; \
+- (cd $(HOST_SUBDIR)/ppl && \
++ echo "Doing install-pdf in isl" ; \
++ (cd $(HOST_SUBDIR)/isl && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+@@ -13698,25 +13748,25 @@
+ install-pdf) \
+ || exit 1
+
+-@endif ppl
++@endif isl
+
+-.PHONY: maybe-install-html-ppl install-html-ppl
+-maybe-install-html-ppl:
+-@if ppl
+-maybe-install-html-ppl: install-html-ppl
++.PHONY: maybe-install-html-isl install-html-isl
++maybe-install-html-isl:
++@if isl
++maybe-install-html-isl: install-html-isl
+
+-install-html-ppl: \
+- configure-ppl \
+- html-ppl
+- @[ -f ./ppl/Makefile ] || exit 0; \
++install-html-isl: \
++ configure-isl \
++ html-isl
++ @[ -f ./isl/Makefile ] || exit 0; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(HOST_EXPORTS) \
+- for flag in $(EXTRA_HOST_FLAGS) ; do \
++ for flag in $(EXTRA_HOST_FLAGS) V=1; do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- echo "Doing install-html in ppl" ; \
+- (cd $(HOST_SUBDIR)/ppl && \
++ echo "Doing install-html in isl" ; \
++ (cd $(HOST_SUBDIR)/isl && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+@@ -13724,24 +13774,24 @@
+ install-html) \
+ || exit 1
+
+-@endif ppl
++@endif isl
+
+-.PHONY: maybe-installcheck-ppl installcheck-ppl
+-maybe-installcheck-ppl:
+-@if ppl
+-maybe-installcheck-ppl: installcheck-ppl
++.PHONY: maybe-installcheck-isl installcheck-isl
++maybe-installcheck-isl:
++@if isl
++maybe-installcheck-isl: installcheck-isl
+
+-installcheck-ppl: \
+- configure-ppl
+- @[ -f ./ppl/Makefile ] || exit 0; \
++installcheck-isl: \
++ configure-isl
++ @[ -f ./isl/Makefile ] || exit 0; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(HOST_EXPORTS) \
+- for flag in $(EXTRA_HOST_FLAGS) ; do \
++ for flag in $(EXTRA_HOST_FLAGS) V=1; do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- echo "Doing installcheck in ppl" ; \
+- (cd $(HOST_SUBDIR)/ppl && \
++ echo "Doing installcheck in isl" ; \
++ (cd $(HOST_SUBDIR)/isl && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+@@ -13749,23 +13799,23 @@
+ installcheck) \
+ || exit 1
+
+-@endif ppl
++@endif isl
+
+-.PHONY: maybe-mostlyclean-ppl mostlyclean-ppl
+-maybe-mostlyclean-ppl:
+-@if ppl
+-maybe-mostlyclean-ppl: mostlyclean-ppl
++.PHONY: maybe-mostlyclean-isl mostlyclean-isl
++maybe-mostlyclean-isl:
++@if isl
++maybe-mostlyclean-isl: mostlyclean-isl
+
+-mostlyclean-ppl:
+- @[ -f ./ppl/Makefile ] || exit 0; \
++mostlyclean-isl:
++ @[ -f ./isl/Makefile ] || exit 0; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(HOST_EXPORTS) \
+- for flag in $(EXTRA_HOST_FLAGS) ; do \
++ for flag in $(EXTRA_HOST_FLAGS) V=1; do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- echo "Doing mostlyclean in ppl" ; \
+- (cd $(HOST_SUBDIR)/ppl && \
++ echo "Doing mostlyclean in isl" ; \
++ (cd $(HOST_SUBDIR)/isl && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+@@ -13773,23 +13823,23 @@
+ mostlyclean) \
+ || exit 1
+
+-@endif ppl
++@endif isl
+
+-.PHONY: maybe-clean-ppl clean-ppl
+-maybe-clean-ppl:
+-@if ppl
+-maybe-clean-ppl: clean-ppl
++.PHONY: maybe-clean-isl clean-isl
++maybe-clean-isl:
++@if isl
++maybe-clean-isl: clean-isl
+
+-clean-ppl:
+- @[ -f ./ppl/Makefile ] || exit 0; \
++clean-isl:
++ @[ -f ./isl/Makefile ] || exit 0; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(HOST_EXPORTS) \
+- for flag in $(EXTRA_HOST_FLAGS) ; do \
++ for flag in $(EXTRA_HOST_FLAGS) V=1; do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- echo "Doing clean in ppl" ; \
+- (cd $(HOST_SUBDIR)/ppl && \
++ echo "Doing clean in isl" ; \
++ (cd $(HOST_SUBDIR)/isl && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+@@ -13797,23 +13847,23 @@
+ clean) \
+ || exit 1
+
+-@endif ppl
++@endif isl
+
+-.PHONY: maybe-distclean-ppl distclean-ppl
+-maybe-distclean-ppl:
+-@if ppl
+-maybe-distclean-ppl: distclean-ppl
++.PHONY: maybe-distclean-isl distclean-isl
++maybe-distclean-isl:
++@if isl
++maybe-distclean-isl: distclean-isl
+
+-distclean-ppl:
+- @[ -f ./ppl/Makefile ] || exit 0; \
++distclean-isl:
++ @[ -f ./isl/Makefile ] || exit 0; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(HOST_EXPORTS) \
+- for flag in $(EXTRA_HOST_FLAGS) ; do \
++ for flag in $(EXTRA_HOST_FLAGS) V=1; do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- echo "Doing distclean in ppl" ; \
+- (cd $(HOST_SUBDIR)/ppl && \
++ echo "Doing distclean in isl" ; \
++ (cd $(HOST_SUBDIR)/isl && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+@@ -13821,23 +13871,23 @@
+ distclean) \
+ || exit 1
+
+-@endif ppl
++@endif isl
+
+-.PHONY: maybe-maintainer-clean-ppl maintainer-clean-ppl
+-maybe-maintainer-clean-ppl:
+-@if ppl
+-maybe-maintainer-clean-ppl: maintainer-clean-ppl
++.PHONY: maybe-maintainer-clean-isl maintainer-clean-isl
++maybe-maintainer-clean-isl:
++@if isl
++maybe-maintainer-clean-isl: maintainer-clean-isl
+
+-maintainer-clean-ppl:
+- @[ -f ./ppl/Makefile ] || exit 0; \
++maintainer-clean-isl:
++ @[ -f ./isl/Makefile ] || exit 0; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(HOST_EXPORTS) \
+- for flag in $(EXTRA_HOST_FLAGS) ; do \
++ for flag in $(EXTRA_HOST_FLAGS) V=1; do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- echo "Doing maintainer-clean in ppl" ; \
+- (cd $(HOST_SUBDIR)/ppl && \
++ echo "Doing maintainer-clean in isl" ; \
++ (cd $(HOST_SUBDIR)/isl && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+@@ -13845,7 +13895,7 @@
+ maintainer-clean) \
+ || exit 1
+
+-@endif ppl
++@endif isl
+
+
+
+@@ -13861,7 +13911,7 @@
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
+ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
+- $(HOST_EXPORTS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
++ $(HOST_EXPORTS) CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
+ echo Configuring in $(HOST_SUBDIR)/cloog; \
+ cd "$(HOST_SUBDIR)/cloog" || exit 1; \
+ case $(srcdir) in \
+@@ -13873,7 +13923,7 @@
+ libsrcdir="$$s/cloog"; \
+ $(SHELL) $${libsrcdir}/configure \
+ $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
+- --target=${target_alias} $${srcdiroption} --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-bits=gmp --with-ppl \
++ --target=${target_alias} $${srcdiroption} --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system \
+ || exit 1
+ @endif cloog
+
+@@ -13893,7 +13943,7 @@
+ $(HOST_EXPORTS) \
+ CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
+ CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
+- LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
++ LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
+ echo Configuring stage 1 in $(HOST_SUBDIR)/cloog ; \
+ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
+ cd $(HOST_SUBDIR)/cloog || exit 1; \
+@@ -13908,7 +13958,7 @@
+ $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
+ --target=${target_alias} $${srcdiroption} \
+ $(STAGE1_CONFIGURE_FLAGS) \
+- --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-bits=gmp --with-ppl
++ --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system
+ @endif cloog-bootstrap
+
+ .PHONY: configure-stage2-cloog maybe-configure-stage2-cloog
+@@ -13926,7 +13976,7 @@
+ $(POSTSTAGE1_HOST_EXPORTS) \
+ CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
+ CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
+- LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
++ LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
+ echo Configuring stage 2 in $(HOST_SUBDIR)/cloog ; \
+ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
+ cd $(HOST_SUBDIR)/cloog || exit 1; \
+@@ -13942,7 +13992,7 @@
+ --target=${target_alias} $${srcdiroption} \
+ --with-build-libsubdir=$(HOST_SUBDIR) \
+ $(STAGE2_CONFIGURE_FLAGS) \
+- --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-bits=gmp --with-ppl
++ --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system
+ @endif cloog-bootstrap
+
+ .PHONY: configure-stage3-cloog maybe-configure-stage3-cloog
+@@ -13960,7 +14010,7 @@
+ $(POSTSTAGE1_HOST_EXPORTS) \
+ CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
+ CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
+- LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
++ LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
+ echo Configuring stage 3 in $(HOST_SUBDIR)/cloog ; \
+ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
+ cd $(HOST_SUBDIR)/cloog || exit 1; \
+@@ -13976,7 +14026,7 @@
+ --target=${target_alias} $${srcdiroption} \
+ --with-build-libsubdir=$(HOST_SUBDIR) \
+ $(STAGE3_CONFIGURE_FLAGS) \
+- --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-bits=gmp --with-ppl
++ --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system
+ @endif cloog-bootstrap
+
+ .PHONY: configure-stage4-cloog maybe-configure-stage4-cloog
+@@ -13994,7 +14044,7 @@
+ $(POSTSTAGE1_HOST_EXPORTS) \
+ CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
+ CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
+- LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
++ LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
+ echo Configuring stage 4 in $(HOST_SUBDIR)/cloog ; \
+ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
+ cd $(HOST_SUBDIR)/cloog || exit 1; \
+@@ -14010,7 +14060,7 @@
+ --target=${target_alias} $${srcdiroption} \
+ --with-build-libsubdir=$(HOST_SUBDIR) \
+ $(STAGE4_CONFIGURE_FLAGS) \
+- --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-bits=gmp --with-ppl
++ --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system
+ @endif cloog-bootstrap
+
+ .PHONY: configure-stageprofile-cloog maybe-configure-stageprofile-cloog
+@@ -14028,7 +14078,7 @@
+ $(POSTSTAGE1_HOST_EXPORTS) \
+ CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
+ CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
+- LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
++ LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
+ echo Configuring stage profile in $(HOST_SUBDIR)/cloog ; \
+ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
+ cd $(HOST_SUBDIR)/cloog || exit 1; \
+@@ -14044,7 +14094,7 @@
+ --target=${target_alias} $${srcdiroption} \
+ --with-build-libsubdir=$(HOST_SUBDIR) \
+ $(STAGEprofile_CONFIGURE_FLAGS) \
+- --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-bits=gmp --with-ppl
++ --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system
+ @endif cloog-bootstrap
+
+ .PHONY: configure-stagefeedback-cloog maybe-configure-stagefeedback-cloog
+@@ -14062,7 +14112,7 @@
+ $(POSTSTAGE1_HOST_EXPORTS) \
+ CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
+ CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
+- LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
++ LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
+ echo Configuring stage feedback in $(HOST_SUBDIR)/cloog ; \
+ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
+ cd $(HOST_SUBDIR)/cloog || exit 1; \
+@@ -14078,7 +14128,7 @@
+ --target=${target_alias} $${srcdiroption} \
+ --with-build-libsubdir=$(HOST_SUBDIR) \
+ $(STAGEfeedback_CONFIGURE_FLAGS) \
+- --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-bits=gmp --with-ppl
++ --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system
+ @endif cloog-bootstrap
+
+
+@@ -14096,9 +14146,9 @@
+ all-cloog: configure-cloog
+ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+- $(HOST_EXPORTS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
++ $(HOST_EXPORTS) CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
+ (cd $(HOST_SUBDIR)/cloog && \
+- $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" \
++ $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
+ $(TARGET-cloog))
+ @endif cloog
+
+@@ -14117,7 +14167,7 @@
+ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ TFLAGS="$(STAGE1_TFLAGS)"; \
+- $(HOST_EXPORTS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
++ $(HOST_EXPORTS) CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
+ cd $(HOST_SUBDIR)/cloog && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) \
+ CFLAGS="$(STAGE1_CFLAGS)" \
+@@ -14126,7 +14176,7 @@
+ CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
+ CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
+ LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
+- $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" \
++ $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
+ TFLAGS="$(STAGE1_TFLAGS)" \
+ $(TARGET-stage1-cloog)
+
+@@ -14141,7 +14191,7 @@
+ fi; \
+ cd $(HOST_SUBDIR)/cloog && \
+ $(MAKE) $(EXTRA_HOST_FLAGS) \
+- CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" clean
++ CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean
+ @endif cloog-bootstrap
+
+
+@@ -14159,7 +14209,7 @@
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ TFLAGS="$(STAGE2_TFLAGS)"; \
+ $(HOST_EXPORTS) \
+- $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
++ $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
+ cd $(HOST_SUBDIR)/cloog && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) \
+ CFLAGS="$(STAGE2_CFLAGS)" \
+@@ -14168,7 +14218,7 @@
+ CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
+ CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
+ LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
+- $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" \
++ $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
+ TFLAGS="$(STAGE2_TFLAGS)" \
+ $(TARGET-stage2-cloog)
+
+@@ -14184,7 +14234,7 @@
+ cd $(HOST_SUBDIR)/cloog && \
+ $(MAKE) $(EXTRA_HOST_FLAGS) \
+ $(POSTSTAGE1_FLAGS_TO_PASS) \
+- CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" clean
++ CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean
+ @endif cloog-bootstrap
+
+
+@@ -14202,7 +14252,7 @@
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ TFLAGS="$(STAGE3_TFLAGS)"; \
+ $(HOST_EXPORTS) \
+- $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
++ $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
+ cd $(HOST_SUBDIR)/cloog && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) \
+ CFLAGS="$(STAGE3_CFLAGS)" \
+@@ -14211,7 +14261,7 @@
+ CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
+ CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
+ LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
+- $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" \
++ $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
+ TFLAGS="$(STAGE3_TFLAGS)" \
+ $(TARGET-stage3-cloog)
+
+@@ -14227,7 +14277,7 @@
+ cd $(HOST_SUBDIR)/cloog && \
+ $(MAKE) $(EXTRA_HOST_FLAGS) \
+ $(POSTSTAGE1_FLAGS_TO_PASS) \
+- CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" clean
++ CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean
+ @endif cloog-bootstrap
+
+
+@@ -14245,7 +14295,7 @@
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ TFLAGS="$(STAGE4_TFLAGS)"; \
+ $(HOST_EXPORTS) \
+- $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
++ $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
+ cd $(HOST_SUBDIR)/cloog && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) \
+ CFLAGS="$(STAGE4_CFLAGS)" \
+@@ -14254,7 +14304,7 @@
+ CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
+ CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
+ LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
+- $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" \
++ $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
+ TFLAGS="$(STAGE4_TFLAGS)" \
+ $(TARGET-stage4-cloog)
+
+@@ -14270,7 +14320,7 @@
+ cd $(HOST_SUBDIR)/cloog && \
+ $(MAKE) $(EXTRA_HOST_FLAGS) \
+ $(POSTSTAGE1_FLAGS_TO_PASS) \
+- CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" clean
++ CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean
+ @endif cloog-bootstrap
+
+
+@@ -14288,7 +14338,7 @@
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ TFLAGS="$(STAGEprofile_TFLAGS)"; \
+ $(HOST_EXPORTS) \
+- $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
++ $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
+ cd $(HOST_SUBDIR)/cloog && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) \
+ CFLAGS="$(STAGEprofile_CFLAGS)" \
+@@ -14297,7 +14347,7 @@
+ CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
+ CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
+ LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
+- $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" \
++ $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
+ TFLAGS="$(STAGEprofile_TFLAGS)" \
+ $(TARGET-stageprofile-cloog)
+
+@@ -14313,7 +14363,7 @@
+ cd $(HOST_SUBDIR)/cloog && \
+ $(MAKE) $(EXTRA_HOST_FLAGS) \
+ $(POSTSTAGE1_FLAGS_TO_PASS) \
+- CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" clean
++ CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean
+ @endif cloog-bootstrap
+
+
+@@ -14331,7 +14381,7 @@
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ TFLAGS="$(STAGEfeedback_TFLAGS)"; \
+ $(HOST_EXPORTS) \
+- $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
++ $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
+ cd $(HOST_SUBDIR)/cloog && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) \
+ CFLAGS="$(STAGEfeedback_CFLAGS)" \
+@@ -14340,7 +14390,7 @@
+ CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
+ CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
+ LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
+- $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" \
++ $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
+ TFLAGS="$(STAGEfeedback_TFLAGS)" \
+ $(TARGET-stagefeedback-cloog)
+
+@@ -14356,7 +14406,7 @@
+ cd $(HOST_SUBDIR)/cloog && \
+ $(MAKE) $(EXTRA_HOST_FLAGS) \
+ $(POSTSTAGE1_FLAGS_TO_PASS) \
+- CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" clean
++ CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean
+ @endif cloog-bootstrap
+
+
+@@ -14374,7 +14424,7 @@
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(HOST_EXPORTS) \
+ (cd $(HOST_SUBDIR)/cloog && \
+- $(MAKE) $(FLAGS_TO_PASS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" check)
++ $(MAKE) $(FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 check)
+
+ @endif cloog
+
+@@ -14409,7 +14459,7 @@
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(HOST_EXPORTS) \
+- for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
++ for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+ echo "Doing info in cloog" ; \
+@@ -14434,7 +14484,7 @@
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(HOST_EXPORTS) \
+- for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
++ for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+ echo "Doing dvi in cloog" ; \
+@@ -14459,7 +14509,7 @@
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(HOST_EXPORTS) \
+- for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
++ for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+ echo "Doing pdf in cloog" ; \
+@@ -14484,7 +14534,7 @@
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(HOST_EXPORTS) \
+- for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
++ for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+ echo "Doing html in cloog" ; \
+@@ -14509,7 +14559,7 @@
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(HOST_EXPORTS) \
+- for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
++ for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+ echo "Doing TAGS in cloog" ; \
+@@ -14535,7 +14585,7 @@
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(HOST_EXPORTS) \
+- for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
++ for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+ echo "Doing install-info in cloog" ; \
+@@ -14561,7 +14611,7 @@
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(HOST_EXPORTS) \
+- for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
++ for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+ echo "Doing install-pdf in cloog" ; \
+@@ -14587,7 +14637,7 @@
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(HOST_EXPORTS) \
+- for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
++ for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+ echo "Doing install-html in cloog" ; \
+@@ -14612,7 +14662,7 @@
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(HOST_EXPORTS) \
+- for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
++ for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+ echo "Doing installcheck in cloog" ; \
+@@ -14636,7 +14686,7 @@
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(HOST_EXPORTS) \
+- for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
++ for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+ echo "Doing mostlyclean in cloog" ; \
+@@ -14660,7 +14710,7 @@
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(HOST_EXPORTS) \
+- for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
++ for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+ echo "Doing clean in cloog" ; \
+@@ -14684,7 +14734,7 @@
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(HOST_EXPORTS) \
+- for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
++ for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+ echo "Doing distclean in cloog" ; \
+@@ -14708,7 +14758,7 @@
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(HOST_EXPORTS) \
+- for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
++ for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+ echo "Doing maintainer-clean in cloog" ; \
+@@ -19547,270 +19597,270 @@
+
+
+
+-.PHONY: configure-libcpp maybe-configure-libcpp
+-maybe-configure-libcpp:
++.PHONY: configure-libbacktrace maybe-configure-libbacktrace
++maybe-configure-libbacktrace:
+ @if gcc-bootstrap
+-configure-libcpp: stage_current
++configure-libbacktrace: stage_current
+ @endif gcc-bootstrap
+-@if libcpp
+-maybe-configure-libcpp: configure-libcpp
+-configure-libcpp:
++@if libbacktrace
++maybe-configure-libbacktrace: configure-libbacktrace
++configure-libbacktrace:
+ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+- test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
+- $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
++ test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
++ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
+ $(HOST_EXPORTS) \
+- echo Configuring in $(HOST_SUBDIR)/libcpp; \
+- cd "$(HOST_SUBDIR)/libcpp" || exit 1; \
++ echo Configuring in $(HOST_SUBDIR)/libbacktrace; \
++ cd "$(HOST_SUBDIR)/libbacktrace" || exit 1; \
+ case $(srcdir) in \
+ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
+- *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
++ *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
+ sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
+ esac; \
+- srcdiroption="--srcdir=$${topdir}/libcpp"; \
+- libsrcdir="$$s/libcpp"; \
++ srcdiroption="--srcdir=$${topdir}/libbacktrace"; \
++ libsrcdir="$$s/libbacktrace"; \
+ $(SHELL) $${libsrcdir}/configure \
+ $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
+ --target=${target_alias} $${srcdiroption} \
+ || exit 1
+-@endif libcpp
++@endif libbacktrace
+
+
+
+-.PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
+-maybe-configure-stage1-libcpp:
+-@if libcpp-bootstrap
+-maybe-configure-stage1-libcpp: configure-stage1-libcpp
+-configure-stage1-libcpp:
++.PHONY: configure-stage1-libbacktrace maybe-configure-stage1-libbacktrace
++maybe-configure-stage1-libbacktrace:
++@if libbacktrace-bootstrap
++maybe-configure-stage1-libbacktrace: configure-stage1-libbacktrace
++configure-stage1-libbacktrace:
+ @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
+- @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
++ @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
+ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ TFLAGS="$(STAGE1_TFLAGS)"; \
+- test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
++ test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
+ $(HOST_EXPORTS) \
+ CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
+ CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
+ LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
+- echo Configuring stage 1 in $(HOST_SUBDIR)/libcpp ; \
+- $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
+- cd $(HOST_SUBDIR)/libcpp || exit 1; \
++ echo Configuring stage 1 in $(HOST_SUBDIR)/libbacktrace ; \
++ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
++ cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
+ case $(srcdir) in \
+ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
+- *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
++ *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
+ sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
+ esac; \
+- srcdiroption="--srcdir=$${topdir}/libcpp"; \
+- libsrcdir="$$s/libcpp"; \
++ srcdiroption="--srcdir=$${topdir}/libbacktrace"; \
++ libsrcdir="$$s/libbacktrace"; \
+ $(SHELL) $${libsrcdir}/configure \
+ $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
+ --target=${target_alias} $${srcdiroption} \
+ $(STAGE1_CONFIGURE_FLAGS)
+-@endif libcpp-bootstrap
++@endif libbacktrace-bootstrap
+
+-.PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
+-maybe-configure-stage2-libcpp:
+-@if libcpp-bootstrap
+-maybe-configure-stage2-libcpp: configure-stage2-libcpp
+-configure-stage2-libcpp:
++.PHONY: configure-stage2-libbacktrace maybe-configure-stage2-libbacktrace
++maybe-configure-stage2-libbacktrace:
++@if libbacktrace-bootstrap
++maybe-configure-stage2-libbacktrace: configure-stage2-libbacktrace
++configure-stage2-libbacktrace:
+ @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
+- @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
++ @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
+ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ TFLAGS="$(STAGE2_TFLAGS)"; \
+- test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
++ test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
+ $(HOST_EXPORTS) \
+ $(POSTSTAGE1_HOST_EXPORTS) \
+ CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
+ CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
+ LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
+- echo Configuring stage 2 in $(HOST_SUBDIR)/libcpp ; \
+- $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
+- cd $(HOST_SUBDIR)/libcpp || exit 1; \
++ echo Configuring stage 2 in $(HOST_SUBDIR)/libbacktrace ; \
++ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
++ cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
+ case $(srcdir) in \
+ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
+- *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
++ *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
+ sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
+ esac; \
+- srcdiroption="--srcdir=$${topdir}/libcpp"; \
+- libsrcdir="$$s/libcpp"; \
++ srcdiroption="--srcdir=$${topdir}/libbacktrace"; \
++ libsrcdir="$$s/libbacktrace"; \
+ $(SHELL) $${libsrcdir}/configure \
+ $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
+ --target=${target_alias} $${srcdiroption} \
+ --with-build-libsubdir=$(HOST_SUBDIR) \
+ $(STAGE2_CONFIGURE_FLAGS)
+-@endif libcpp-bootstrap
++@endif libbacktrace-bootstrap
+
+-.PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
+-maybe-configure-stage3-libcpp:
+-@if libcpp-bootstrap
+-maybe-configure-stage3-libcpp: configure-stage3-libcpp
+-configure-stage3-libcpp:
++.PHONY: configure-stage3-libbacktrace maybe-configure-stage3-libbacktrace
++maybe-configure-stage3-libbacktrace:
++@if libbacktrace-bootstrap
++maybe-configure-stage3-libbacktrace: configure-stage3-libbacktrace
++configure-stage3-libbacktrace:
+ @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
+- @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
++ @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
+ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ TFLAGS="$(STAGE3_TFLAGS)"; \
+- test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
++ test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
+ $(HOST_EXPORTS) \
+ $(POSTSTAGE1_HOST_EXPORTS) \
+ CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
+ CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
+ LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
+- echo Configuring stage 3 in $(HOST_SUBDIR)/libcpp ; \
+- $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
+- cd $(HOST_SUBDIR)/libcpp || exit 1; \
++ echo Configuring stage 3 in $(HOST_SUBDIR)/libbacktrace ; \
++ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
++ cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
+ case $(srcdir) in \
+ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
+- *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
++ *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
+ sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
+ esac; \
+- srcdiroption="--srcdir=$${topdir}/libcpp"; \
+- libsrcdir="$$s/libcpp"; \
++ srcdiroption="--srcdir=$${topdir}/libbacktrace"; \
++ libsrcdir="$$s/libbacktrace"; \
+ $(SHELL) $${libsrcdir}/configure \
+ $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
+ --target=${target_alias} $${srcdiroption} \
+ --with-build-libsubdir=$(HOST_SUBDIR) \
+ $(STAGE3_CONFIGURE_FLAGS)
+-@endif libcpp-bootstrap
++@endif libbacktrace-bootstrap
+
+-.PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
+-maybe-configure-stage4-libcpp:
+-@if libcpp-bootstrap
+-maybe-configure-stage4-libcpp: configure-stage4-libcpp
+-configure-stage4-libcpp:
++.PHONY: configure-stage4-libbacktrace maybe-configure-stage4-libbacktrace
++maybe-configure-stage4-libbacktrace:
++@if libbacktrace-bootstrap
++maybe-configure-stage4-libbacktrace: configure-stage4-libbacktrace
++configure-stage4-libbacktrace:
+ @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
+- @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
++ @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
+ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ TFLAGS="$(STAGE4_TFLAGS)"; \
+- test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
++ test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
+ $(HOST_EXPORTS) \
+ $(POSTSTAGE1_HOST_EXPORTS) \
+ CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
+ CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
+ LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
+- echo Configuring stage 4 in $(HOST_SUBDIR)/libcpp ; \
+- $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
+- cd $(HOST_SUBDIR)/libcpp || exit 1; \
++ echo Configuring stage 4 in $(HOST_SUBDIR)/libbacktrace ; \
++ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
++ cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
+ case $(srcdir) in \
+ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
+- *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
++ *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
+ sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
+ esac; \
+- srcdiroption="--srcdir=$${topdir}/libcpp"; \
+- libsrcdir="$$s/libcpp"; \
++ srcdiroption="--srcdir=$${topdir}/libbacktrace"; \
++ libsrcdir="$$s/libbacktrace"; \
+ $(SHELL) $${libsrcdir}/configure \
+ $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
+ --target=${target_alias} $${srcdiroption} \
+ --with-build-libsubdir=$(HOST_SUBDIR) \
+ $(STAGE4_CONFIGURE_FLAGS)
+-@endif libcpp-bootstrap
++@endif libbacktrace-bootstrap
+
+-.PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
+-maybe-configure-stageprofile-libcpp:
+-@if libcpp-bootstrap
+-maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
+-configure-stageprofile-libcpp:
++.PHONY: configure-stageprofile-libbacktrace maybe-configure-stageprofile-libbacktrace
++maybe-configure-stageprofile-libbacktrace:
++@if libbacktrace-bootstrap
++maybe-configure-stageprofile-libbacktrace: configure-stageprofile-libbacktrace
++configure-stageprofile-libbacktrace:
+ @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
+- @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
++ @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
+ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ TFLAGS="$(STAGEprofile_TFLAGS)"; \
+- test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
++ test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
+ $(HOST_EXPORTS) \
+ $(POSTSTAGE1_HOST_EXPORTS) \
+ CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
+ CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
+ LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
+- echo Configuring stage profile in $(HOST_SUBDIR)/libcpp ; \
+- $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
+- cd $(HOST_SUBDIR)/libcpp || exit 1; \
++ echo Configuring stage profile in $(HOST_SUBDIR)/libbacktrace ; \
++ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
++ cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
+ case $(srcdir) in \
+ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
+- *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
++ *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
+ sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
+ esac; \
+- srcdiroption="--srcdir=$${topdir}/libcpp"; \
+- libsrcdir="$$s/libcpp"; \
++ srcdiroption="--srcdir=$${topdir}/libbacktrace"; \
++ libsrcdir="$$s/libbacktrace"; \
+ $(SHELL) $${libsrcdir}/configure \
+ $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
+ --target=${target_alias} $${srcdiroption} \
+ --with-build-libsubdir=$(HOST_SUBDIR) \
+ $(STAGEprofile_CONFIGURE_FLAGS)
+-@endif libcpp-bootstrap
++@endif libbacktrace-bootstrap
+
+-.PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
+-maybe-configure-stagefeedback-libcpp:
+-@if libcpp-bootstrap
+-maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
+-configure-stagefeedback-libcpp:
++.PHONY: configure-stagefeedback-libbacktrace maybe-configure-stagefeedback-libbacktrace
++maybe-configure-stagefeedback-libbacktrace:
++@if libbacktrace-bootstrap
++maybe-configure-stagefeedback-libbacktrace: configure-stagefeedback-libbacktrace
++configure-stagefeedback-libbacktrace:
+ @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
+- @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
++ @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
+ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ TFLAGS="$(STAGEfeedback_TFLAGS)"; \
+- test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
++ test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
+ $(HOST_EXPORTS) \
+ $(POSTSTAGE1_HOST_EXPORTS) \
+ CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
+ CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
+ LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
+- echo Configuring stage feedback in $(HOST_SUBDIR)/libcpp ; \
+- $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
+- cd $(HOST_SUBDIR)/libcpp || exit 1; \
++ echo Configuring stage feedback in $(HOST_SUBDIR)/libbacktrace ; \
++ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
++ cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
+ case $(srcdir) in \
+ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
+- *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
++ *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
+ sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
+ esac; \
+- srcdiroption="--srcdir=$${topdir}/libcpp"; \
+- libsrcdir="$$s/libcpp"; \
++ srcdiroption="--srcdir=$${topdir}/libbacktrace"; \
++ libsrcdir="$$s/libbacktrace"; \
+ $(SHELL) $${libsrcdir}/configure \
+ $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
+ --target=${target_alias} $${srcdiroption} \
+ --with-build-libsubdir=$(HOST_SUBDIR) \
+ $(STAGEfeedback_CONFIGURE_FLAGS)
+-@endif libcpp-bootstrap
++@endif libbacktrace-bootstrap
+
+
+
+
+
+-.PHONY: all-libcpp maybe-all-libcpp
+-maybe-all-libcpp:
++.PHONY: all-libbacktrace maybe-all-libbacktrace
++maybe-all-libbacktrace:
+ @if gcc-bootstrap
+-all-libcpp: stage_current
++all-libbacktrace: stage_current
+ @endif gcc-bootstrap
+-@if libcpp
+-TARGET-libcpp=all
+-maybe-all-libcpp: all-libcpp
+-all-libcpp: configure-libcpp
++@if libbacktrace
++TARGET-libbacktrace=all
++maybe-all-libbacktrace: all-libbacktrace
++all-libbacktrace: configure-libbacktrace
+ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(HOST_EXPORTS) \
+- (cd $(HOST_SUBDIR)/libcpp && \
++ (cd $(HOST_SUBDIR)/libbacktrace && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
+- $(TARGET-libcpp))
+-@endif libcpp
++ $(TARGET-libbacktrace))
++@endif libbacktrace
+
+
+
+-.PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
+-.PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
+-maybe-all-stage1-libcpp:
+-maybe-clean-stage1-libcpp:
+-@if libcpp-bootstrap
+-maybe-all-stage1-libcpp: all-stage1-libcpp
+-all-stage1: all-stage1-libcpp
+-TARGET-stage1-libcpp = $(TARGET-libcpp)
+-all-stage1-libcpp: configure-stage1-libcpp
++.PHONY: all-stage1-libbacktrace maybe-all-stage1-libbacktrace
++.PHONY: clean-stage1-libbacktrace maybe-clean-stage1-libbacktrace
++maybe-all-stage1-libbacktrace:
++maybe-clean-stage1-libbacktrace:
++@if libbacktrace-bootstrap
++maybe-all-stage1-libbacktrace: all-stage1-libbacktrace
++all-stage1: all-stage1-libbacktrace
++TARGET-stage1-libbacktrace = $(TARGET-libbacktrace)
++all-stage1-libbacktrace: configure-stage1-libbacktrace
+ @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
+ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ TFLAGS="$(STAGE1_TFLAGS)"; \
+ $(HOST_EXPORTS) \
+- cd $(HOST_SUBDIR)/libcpp && \
++ cd $(HOST_SUBDIR)/libbacktrace && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) \
+ CFLAGS="$(STAGE1_CFLAGS)" \
+ CXXFLAGS="$(STAGE1_CXXFLAGS)" \
+@@ -19820,39 +19870,39 @@
+ LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
+ $(EXTRA_HOST_FLAGS) \
+ TFLAGS="$(STAGE1_TFLAGS)" \
+- $(TARGET-stage1-libcpp)
++ $(TARGET-stage1-libbacktrace)
+
+-maybe-clean-stage1-libcpp: clean-stage1-libcpp
+-clean-stage1: clean-stage1-libcpp
+-clean-stage1-libcpp:
++maybe-clean-stage1-libbacktrace: clean-stage1-libbacktrace
++clean-stage1: clean-stage1-libbacktrace
++clean-stage1-libbacktrace:
+ @if [ $(current_stage) = stage1 ]; then \
+- [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
++ [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
+ else \
+- [ -f $(HOST_SUBDIR)/stage1-libcpp/Makefile ] || exit 0; \
++ [ -f $(HOST_SUBDIR)/stage1-libbacktrace/Makefile ] || exit 0; \
+ $(MAKE) stage1-start; \
+ fi; \
+- cd $(HOST_SUBDIR)/libcpp && \
++ cd $(HOST_SUBDIR)/libbacktrace && \
+ $(MAKE) $(EXTRA_HOST_FLAGS) \
+ clean
+-@endif libcpp-bootstrap
++@endif libbacktrace-bootstrap
+
+
+-.PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
+-.PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
+-maybe-all-stage2-libcpp:
+-maybe-clean-stage2-libcpp:
+-@if libcpp-bootstrap
+-maybe-all-stage2-libcpp: all-stage2-libcpp
+-all-stage2: all-stage2-libcpp
+-TARGET-stage2-libcpp = $(TARGET-libcpp)
+-all-stage2-libcpp: configure-stage2-libcpp
++.PHONY: all-stage2-libbacktrace maybe-all-stage2-libbacktrace
++.PHONY: clean-stage2-libbacktrace maybe-clean-stage2-libbacktrace
++maybe-all-stage2-libbacktrace:
++maybe-clean-stage2-libbacktrace:
++@if libbacktrace-bootstrap
++maybe-all-stage2-libbacktrace: all-stage2-libbacktrace
++all-stage2: all-stage2-libbacktrace
++TARGET-stage2-libbacktrace = $(TARGET-libbacktrace)
++all-stage2-libbacktrace: configure-stage2-libbacktrace
+ @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
+ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ TFLAGS="$(STAGE2_TFLAGS)"; \
+ $(HOST_EXPORTS) \
+ $(POSTSTAGE1_HOST_EXPORTS) \
+- cd $(HOST_SUBDIR)/libcpp && \
++ cd $(HOST_SUBDIR)/libbacktrace && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) \
+ CFLAGS="$(STAGE2_CFLAGS)" \
+ CXXFLAGS="$(STAGE2_CXXFLAGS)" \
+@@ -19862,40 +19912,40 @@
+ LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
+ $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
+ TFLAGS="$(STAGE2_TFLAGS)" \
+- $(TARGET-stage2-libcpp)
++ $(TARGET-stage2-libbacktrace)
+
+-maybe-clean-stage2-libcpp: clean-stage2-libcpp
+-clean-stage2: clean-stage2-libcpp
+-clean-stage2-libcpp:
++maybe-clean-stage2-libbacktrace: clean-stage2-libbacktrace
++clean-stage2: clean-stage2-libbacktrace
++clean-stage2-libbacktrace:
+ @if [ $(current_stage) = stage2 ]; then \
+- [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
++ [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
+ else \
+- [ -f $(HOST_SUBDIR)/stage2-libcpp/Makefile ] || exit 0; \
++ [ -f $(HOST_SUBDIR)/stage2-libbacktrace/Makefile ] || exit 0; \
+ $(MAKE) stage2-start; \
+ fi; \
+- cd $(HOST_SUBDIR)/libcpp && \
++ cd $(HOST_SUBDIR)/libbacktrace && \
+ $(MAKE) $(EXTRA_HOST_FLAGS) \
+ $(POSTSTAGE1_FLAGS_TO_PASS) \
+ clean
+-@endif libcpp-bootstrap
++@endif libbacktrace-bootstrap
+
+
+-.PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
+-.PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
+-maybe-all-stage3-libcpp:
+-maybe-clean-stage3-libcpp:
+-@if libcpp-bootstrap
+-maybe-all-stage3-libcpp: all-stage3-libcpp
+-all-stage3: all-stage3-libcpp
+-TARGET-stage3-libcpp = $(TARGET-libcpp)
+-all-stage3-libcpp: configure-stage3-libcpp
++.PHONY: all-stage3-libbacktrace maybe-all-stage3-libbacktrace
++.PHONY: clean-stage3-libbacktrace maybe-clean-stage3-libbacktrace
++maybe-all-stage3-libbacktrace:
++maybe-clean-stage3-libbacktrace:
++@if libbacktrace-bootstrap
++maybe-all-stage3-libbacktrace: all-stage3-libbacktrace
++all-stage3: all-stage3-libbacktrace
++TARGET-stage3-libbacktrace = $(TARGET-libbacktrace)
++all-stage3-libbacktrace: configure-stage3-libbacktrace
+ @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
+ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ TFLAGS="$(STAGE3_TFLAGS)"; \
+ $(HOST_EXPORTS) \
+ $(POSTSTAGE1_HOST_EXPORTS) \
+- cd $(HOST_SUBDIR)/libcpp && \
++ cd $(HOST_SUBDIR)/libbacktrace && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) \
+ CFLAGS="$(STAGE3_CFLAGS)" \
+ CXXFLAGS="$(STAGE3_CXXFLAGS)" \
+@@ -19905,40 +19955,40 @@
+ LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
+ $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
+ TFLAGS="$(STAGE3_TFLAGS)" \
+- $(TARGET-stage3-libcpp)
++ $(TARGET-stage3-libbacktrace)
+
+-maybe-clean-stage3-libcpp: clean-stage3-libcpp
+-clean-stage3: clean-stage3-libcpp
+-clean-stage3-libcpp:
++maybe-clean-stage3-libbacktrace: clean-stage3-libbacktrace
++clean-stage3: clean-stage3-libbacktrace
++clean-stage3-libbacktrace:
+ @if [ $(current_stage) = stage3 ]; then \
+- [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
++ [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
+ else \
+- [ -f $(HOST_SUBDIR)/stage3-libcpp/Makefile ] || exit 0; \
++ [ -f $(HOST_SUBDIR)/stage3-libbacktrace/Makefile ] || exit 0; \
+ $(MAKE) stage3-start; \
+ fi; \
+- cd $(HOST_SUBDIR)/libcpp && \
++ cd $(HOST_SUBDIR)/libbacktrace && \
+ $(MAKE) $(EXTRA_HOST_FLAGS) \
+ $(POSTSTAGE1_FLAGS_TO_PASS) \
+ clean
+-@endif libcpp-bootstrap
++@endif libbacktrace-bootstrap
+
+
+-.PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
+-.PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
+-maybe-all-stage4-libcpp:
+-maybe-clean-stage4-libcpp:
+-@if libcpp-bootstrap
+-maybe-all-stage4-libcpp: all-stage4-libcpp
+-all-stage4: all-stage4-libcpp
+-TARGET-stage4-libcpp = $(TARGET-libcpp)
+-all-stage4-libcpp: configure-stage4-libcpp
++.PHONY: all-stage4-libbacktrace maybe-all-stage4-libbacktrace
++.PHONY: clean-stage4-libbacktrace maybe-clean-stage4-libbacktrace
++maybe-all-stage4-libbacktrace:
++maybe-clean-stage4-libbacktrace:
++@if libbacktrace-bootstrap
++maybe-all-stage4-libbacktrace: all-stage4-libbacktrace
++all-stage4: all-stage4-libbacktrace
++TARGET-stage4-libbacktrace = $(TARGET-libbacktrace)
++all-stage4-libbacktrace: configure-stage4-libbacktrace
+ @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
+ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ TFLAGS="$(STAGE4_TFLAGS)"; \
+ $(HOST_EXPORTS) \
+ $(POSTSTAGE1_HOST_EXPORTS) \
+- cd $(HOST_SUBDIR)/libcpp && \
++ cd $(HOST_SUBDIR)/libbacktrace && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) \
+ CFLAGS="$(STAGE4_CFLAGS)" \
+ CXXFLAGS="$(STAGE4_CXXFLAGS)" \
+@@ -19948,40 +19998,40 @@
+ LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
+ $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
+ TFLAGS="$(STAGE4_TFLAGS)" \
+- $(TARGET-stage4-libcpp)
++ $(TARGET-stage4-libbacktrace)
+
+-maybe-clean-stage4-libcpp: clean-stage4-libcpp
+-clean-stage4: clean-stage4-libcpp
+-clean-stage4-libcpp:
++maybe-clean-stage4-libbacktrace: clean-stage4-libbacktrace
++clean-stage4: clean-stage4-libbacktrace
++clean-stage4-libbacktrace:
+ @if [ $(current_stage) = stage4 ]; then \
+- [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
++ [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
+ else \
+- [ -f $(HOST_SUBDIR)/stage4-libcpp/Makefile ] || exit 0; \
++ [ -f $(HOST_SUBDIR)/stage4-libbacktrace/Makefile ] || exit 0; \
+ $(MAKE) stage4-start; \
+ fi; \
+- cd $(HOST_SUBDIR)/libcpp && \
++ cd $(HOST_SUBDIR)/libbacktrace && \
+ $(MAKE) $(EXTRA_HOST_FLAGS) \
+ $(POSTSTAGE1_FLAGS_TO_PASS) \
+ clean
+-@endif libcpp-bootstrap
++@endif libbacktrace-bootstrap
+
+
+-.PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
+-.PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
+-maybe-all-stageprofile-libcpp:
+-maybe-clean-stageprofile-libcpp:
+-@if libcpp-bootstrap
+-maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
+-all-stageprofile: all-stageprofile-libcpp
+-TARGET-stageprofile-libcpp = $(TARGET-libcpp)
+-all-stageprofile-libcpp: configure-stageprofile-libcpp
++.PHONY: all-stageprofile-libbacktrace maybe-all-stageprofile-libbacktrace
++.PHONY: clean-stageprofile-libbacktrace maybe-clean-stageprofile-libbacktrace
++maybe-all-stageprofile-libbacktrace:
++maybe-clean-stageprofile-libbacktrace:
++@if libbacktrace-bootstrap
++maybe-all-stageprofile-libbacktrace: all-stageprofile-libbacktrace
++all-stageprofile: all-stageprofile-libbacktrace
++TARGET-stageprofile-libbacktrace = $(TARGET-libbacktrace)
++all-stageprofile-libbacktrace: configure-stageprofile-libbacktrace
+ @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
+ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ TFLAGS="$(STAGEprofile_TFLAGS)"; \
+ $(HOST_EXPORTS) \
+ $(POSTSTAGE1_HOST_EXPORTS) \
+- cd $(HOST_SUBDIR)/libcpp && \
++ cd $(HOST_SUBDIR)/libbacktrace && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) \
+ CFLAGS="$(STAGEprofile_CFLAGS)" \
+ CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
+@@ -19991,40 +20041,40 @@
+ LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
+ $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
+ TFLAGS="$(STAGEprofile_TFLAGS)" \
+- $(TARGET-stageprofile-libcpp)
++ $(TARGET-stageprofile-libbacktrace)
+
+-maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
+-clean-stageprofile: clean-stageprofile-libcpp
+-clean-stageprofile-libcpp:
++maybe-clean-stageprofile-libbacktrace: clean-stageprofile-libbacktrace
++clean-stageprofile: clean-stageprofile-libbacktrace
++clean-stageprofile-libbacktrace:
+ @if [ $(current_stage) = stageprofile ]; then \
+- [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
++ [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
+ else \
+- [ -f $(HOST_SUBDIR)/stageprofile-libcpp/Makefile ] || exit 0; \
++ [ -f $(HOST_SUBDIR)/stageprofile-libbacktrace/Makefile ] || exit 0; \
+ $(MAKE) stageprofile-start; \
+ fi; \
+- cd $(HOST_SUBDIR)/libcpp && \
++ cd $(HOST_SUBDIR)/libbacktrace && \
+ $(MAKE) $(EXTRA_HOST_FLAGS) \
+ $(POSTSTAGE1_FLAGS_TO_PASS) \
+ clean
+-@endif libcpp-bootstrap
++@endif libbacktrace-bootstrap
+
+
+-.PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
+-.PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
+-maybe-all-stagefeedback-libcpp:
+-maybe-clean-stagefeedback-libcpp:
+-@if libcpp-bootstrap
+-maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
+-all-stagefeedback: all-stagefeedback-libcpp
+-TARGET-stagefeedback-libcpp = $(TARGET-libcpp)
+-all-stagefeedback-libcpp: configure-stagefeedback-libcpp
++.PHONY: all-stagefeedback-libbacktrace maybe-all-stagefeedback-libbacktrace
++.PHONY: clean-stagefeedback-libbacktrace maybe-clean-stagefeedback-libbacktrace
++maybe-all-stagefeedback-libbacktrace:
++maybe-clean-stagefeedback-libbacktrace:
++@if libbacktrace-bootstrap
++maybe-all-stagefeedback-libbacktrace: all-stagefeedback-libbacktrace
++all-stagefeedback: all-stagefeedback-libbacktrace
++TARGET-stagefeedback-libbacktrace = $(TARGET-libbacktrace)
++all-stagefeedback-libbacktrace: configure-stagefeedback-libbacktrace
+ @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
+ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ TFLAGS="$(STAGEfeedback_TFLAGS)"; \
+ $(HOST_EXPORTS) \
+ $(POSTSTAGE1_HOST_EXPORTS) \
+- cd $(HOST_SUBDIR)/libcpp && \
++ cd $(HOST_SUBDIR)/libbacktrace && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) \
+ CFLAGS="$(STAGEfeedback_CFLAGS)" \
+ CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
+@@ -20034,90 +20084,90 @@
+ LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
+ $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
+ TFLAGS="$(STAGEfeedback_TFLAGS)" \
+- $(TARGET-stagefeedback-libcpp)
++ $(TARGET-stagefeedback-libbacktrace)
+
+-maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
+-clean-stagefeedback: clean-stagefeedback-libcpp
+-clean-stagefeedback-libcpp:
++maybe-clean-stagefeedback-libbacktrace: clean-stagefeedback-libbacktrace
++clean-stagefeedback: clean-stagefeedback-libbacktrace
++clean-stagefeedback-libbacktrace:
+ @if [ $(current_stage) = stagefeedback ]; then \
+- [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
++ [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
+ else \
+- [ -f $(HOST_SUBDIR)/stagefeedback-libcpp/Makefile ] || exit 0; \
++ [ -f $(HOST_SUBDIR)/stagefeedback-libbacktrace/Makefile ] || exit 0; \
+ $(MAKE) stagefeedback-start; \
+ fi; \
+- cd $(HOST_SUBDIR)/libcpp && \
++ cd $(HOST_SUBDIR)/libbacktrace && \
+ $(MAKE) $(EXTRA_HOST_FLAGS) \
+ $(POSTSTAGE1_FLAGS_TO_PASS) \
+ clean
+-@endif libcpp-bootstrap
++@endif libbacktrace-bootstrap
+
+
+
+
+
+-.PHONY: check-libcpp maybe-check-libcpp
+-maybe-check-libcpp:
+-@if libcpp
+-maybe-check-libcpp: check-libcpp
++.PHONY: check-libbacktrace maybe-check-libbacktrace
++maybe-check-libbacktrace:
++@if libbacktrace
++maybe-check-libbacktrace: check-libbacktrace
+
+-check-libcpp:
++check-libbacktrace:
+ @: $(MAKE); $(unstage)
+ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(HOST_EXPORTS) \
+- (cd $(HOST_SUBDIR)/libcpp && \
++ (cd $(HOST_SUBDIR)/libbacktrace && \
+ $(MAKE) $(FLAGS_TO_PASS) check)
+
+-@endif libcpp
++@endif libbacktrace
+
+-.PHONY: install-libcpp maybe-install-libcpp
+-maybe-install-libcpp:
+-@if libcpp
+-maybe-install-libcpp: install-libcpp
++.PHONY: install-libbacktrace maybe-install-libbacktrace
++maybe-install-libbacktrace:
++@if libbacktrace
++maybe-install-libbacktrace: install-libbacktrace
+
+-install-libcpp: installdirs
++install-libbacktrace: installdirs
+ @: $(MAKE); $(unstage)
+ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(HOST_EXPORTS) \
+- (cd $(HOST_SUBDIR)/libcpp && \
++ (cd $(HOST_SUBDIR)/libbacktrace && \
+ $(MAKE) $(FLAGS_TO_PASS) install)
+
+-@endif libcpp
++@endif libbacktrace
+
+-.PHONY: install-strip-libcpp maybe-install-strip-libcpp
+-maybe-install-strip-libcpp:
+-@if libcpp
+-maybe-install-strip-libcpp: install-strip-libcpp
++.PHONY: install-strip-libbacktrace maybe-install-strip-libbacktrace
++maybe-install-strip-libbacktrace:
++@if libbacktrace
++maybe-install-strip-libbacktrace: install-strip-libbacktrace
+
+-install-strip-libcpp: installdirs
++install-strip-libbacktrace: installdirs
+ @: $(MAKE); $(unstage)
+ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(HOST_EXPORTS) \
+- (cd $(HOST_SUBDIR)/libcpp && \
++ (cd $(HOST_SUBDIR)/libbacktrace && \
+ $(MAKE) $(FLAGS_TO_PASS) install-strip)
+
+-@endif libcpp
++@endif libbacktrace
+
+ # Other targets (info, dvi, pdf, etc.)
+
+-.PHONY: maybe-info-libcpp info-libcpp
+-maybe-info-libcpp:
+-@if libcpp
+-maybe-info-libcpp: info-libcpp
++.PHONY: maybe-info-libbacktrace info-libbacktrace
++maybe-info-libbacktrace:
++@if libbacktrace
++maybe-info-libbacktrace: info-libbacktrace
+
+-info-libcpp: \
+- configure-libcpp
+- @[ -f ./libcpp/Makefile ] || exit 0; \
++info-libbacktrace: \
++ configure-libbacktrace
++ @[ -f ./libbacktrace/Makefile ] || exit 0; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(HOST_EXPORTS) \
+ for flag in $(EXTRA_HOST_FLAGS) ; do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- echo "Doing info in libcpp" ; \
+- (cd $(HOST_SUBDIR)/libcpp && \
++ echo "Doing info in libbacktrace" ; \
++ (cd $(HOST_SUBDIR)/libbacktrace && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+@@ -20125,24 +20175,24 @@
+ info) \
+ || exit 1
+
+-@endif libcpp
++@endif libbacktrace
+
+-.PHONY: maybe-dvi-libcpp dvi-libcpp
+-maybe-dvi-libcpp:
+-@if libcpp
+-maybe-dvi-libcpp: dvi-libcpp
++.PHONY: maybe-dvi-libbacktrace dvi-libbacktrace
++maybe-dvi-libbacktrace:
++@if libbacktrace
++maybe-dvi-libbacktrace: dvi-libbacktrace
+
+-dvi-libcpp: \
+- configure-libcpp
+- @[ -f ./libcpp/Makefile ] || exit 0; \
++dvi-libbacktrace: \
++ configure-libbacktrace
++ @[ -f ./libbacktrace/Makefile ] || exit 0; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(HOST_EXPORTS) \
+ for flag in $(EXTRA_HOST_FLAGS) ; do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- echo "Doing dvi in libcpp" ; \
+- (cd $(HOST_SUBDIR)/libcpp && \
++ echo "Doing dvi in libbacktrace" ; \
++ (cd $(HOST_SUBDIR)/libbacktrace && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+@@ -20150,24 +20200,24 @@
+ dvi) \
+ || exit 1
+
+-@endif libcpp
++@endif libbacktrace
+
+-.PHONY: maybe-pdf-libcpp pdf-libcpp
+-maybe-pdf-libcpp:
+-@if libcpp
+-maybe-pdf-libcpp: pdf-libcpp
++.PHONY: maybe-pdf-libbacktrace pdf-libbacktrace
++maybe-pdf-libbacktrace:
++@if libbacktrace
++maybe-pdf-libbacktrace: pdf-libbacktrace
+
+-pdf-libcpp: \
+- configure-libcpp
+- @[ -f ./libcpp/Makefile ] || exit 0; \
++pdf-libbacktrace: \
++ configure-libbacktrace
++ @[ -f ./libbacktrace/Makefile ] || exit 0; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(HOST_EXPORTS) \
+ for flag in $(EXTRA_HOST_FLAGS) ; do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- echo "Doing pdf in libcpp" ; \
+- (cd $(HOST_SUBDIR)/libcpp && \
++ echo "Doing pdf in libbacktrace" ; \
++ (cd $(HOST_SUBDIR)/libbacktrace && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+@@ -20175,24 +20225,24 @@
+ pdf) \
+ || exit 1
+
+-@endif libcpp
++@endif libbacktrace
+
+-.PHONY: maybe-html-libcpp html-libcpp
+-maybe-html-libcpp:
+-@if libcpp
+-maybe-html-libcpp: html-libcpp
++.PHONY: maybe-html-libbacktrace html-libbacktrace
++maybe-html-libbacktrace:
++@if libbacktrace
++maybe-html-libbacktrace: html-libbacktrace
+
+-html-libcpp: \
+- configure-libcpp
+- @[ -f ./libcpp/Makefile ] || exit 0; \
++html-libbacktrace: \
++ configure-libbacktrace
++ @[ -f ./libbacktrace/Makefile ] || exit 0; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(HOST_EXPORTS) \
+ for flag in $(EXTRA_HOST_FLAGS) ; do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- echo "Doing html in libcpp" ; \
+- (cd $(HOST_SUBDIR)/libcpp && \
++ echo "Doing html in libbacktrace" ; \
++ (cd $(HOST_SUBDIR)/libbacktrace && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+@@ -20200,24 +20250,24 @@
+ html) \
+ || exit 1
+
+-@endif libcpp
++@endif libbacktrace
+
+-.PHONY: maybe-TAGS-libcpp TAGS-libcpp
+-maybe-TAGS-libcpp:
+-@if libcpp
+-maybe-TAGS-libcpp: TAGS-libcpp
++.PHONY: maybe-TAGS-libbacktrace TAGS-libbacktrace
++maybe-TAGS-libbacktrace:
++@if libbacktrace
++maybe-TAGS-libbacktrace: TAGS-libbacktrace
+
+-TAGS-libcpp: \
+- configure-libcpp
+- @[ -f ./libcpp/Makefile ] || exit 0; \
++TAGS-libbacktrace: \
++ configure-libbacktrace
++ @[ -f ./libbacktrace/Makefile ] || exit 0; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(HOST_EXPORTS) \
+ for flag in $(EXTRA_HOST_FLAGS) ; do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- echo "Doing TAGS in libcpp" ; \
+- (cd $(HOST_SUBDIR)/libcpp && \
++ echo "Doing TAGS in libbacktrace" ; \
++ (cd $(HOST_SUBDIR)/libbacktrace && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+@@ -20225,25 +20275,25 @@
+ TAGS) \
+ || exit 1
+
+-@endif libcpp
++@endif libbacktrace
+
+-.PHONY: maybe-install-info-libcpp install-info-libcpp
+-maybe-install-info-libcpp:
+-@if libcpp
+-maybe-install-info-libcpp: install-info-libcpp
++.PHONY: maybe-install-info-libbacktrace install-info-libbacktrace
++maybe-install-info-libbacktrace:
++@if libbacktrace
++maybe-install-info-libbacktrace: install-info-libbacktrace
+
+-install-info-libcpp: \
+- configure-libcpp \
+- info-libcpp
+- @[ -f ./libcpp/Makefile ] || exit 0; \
++install-info-libbacktrace: \
++ configure-libbacktrace \
++ info-libbacktrace
++ @[ -f ./libbacktrace/Makefile ] || exit 0; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(HOST_EXPORTS) \
+ for flag in $(EXTRA_HOST_FLAGS) ; do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- echo "Doing install-info in libcpp" ; \
+- (cd $(HOST_SUBDIR)/libcpp && \
++ echo "Doing install-info in libbacktrace" ; \
++ (cd $(HOST_SUBDIR)/libbacktrace && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+@@ -20251,25 +20301,25 @@
+ install-info) \
+ || exit 1
+
+-@endif libcpp
++@endif libbacktrace
+
+-.PHONY: maybe-install-pdf-libcpp install-pdf-libcpp
+-maybe-install-pdf-libcpp:
+-@if libcpp
+-maybe-install-pdf-libcpp: install-pdf-libcpp
++.PHONY: maybe-install-pdf-libbacktrace install-pdf-libbacktrace
++maybe-install-pdf-libbacktrace:
++@if libbacktrace
++maybe-install-pdf-libbacktrace: install-pdf-libbacktrace
+
+-install-pdf-libcpp: \
+- configure-libcpp \
+- pdf-libcpp
+- @[ -f ./libcpp/Makefile ] || exit 0; \
++install-pdf-libbacktrace: \
++ configure-libbacktrace \
++ pdf-libbacktrace
++ @[ -f ./libbacktrace/Makefile ] || exit 0; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(HOST_EXPORTS) \
+ for flag in $(EXTRA_HOST_FLAGS) ; do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- echo "Doing install-pdf in libcpp" ; \
+- (cd $(HOST_SUBDIR)/libcpp && \
++ echo "Doing install-pdf in libbacktrace" ; \
++ (cd $(HOST_SUBDIR)/libbacktrace && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+@@ -20277,25 +20327,25 @@
+ install-pdf) \
+ || exit 1
+
+-@endif libcpp
++@endif libbacktrace
+
+-.PHONY: maybe-install-html-libcpp install-html-libcpp
+-maybe-install-html-libcpp:
+-@if libcpp
+-maybe-install-html-libcpp: install-html-libcpp
++.PHONY: maybe-install-html-libbacktrace install-html-libbacktrace
++maybe-install-html-libbacktrace:
++@if libbacktrace
++maybe-install-html-libbacktrace: install-html-libbacktrace
+
+-install-html-libcpp: \
+- configure-libcpp \
+- html-libcpp
+- @[ -f ./libcpp/Makefile ] || exit 0; \
++install-html-libbacktrace: \
++ configure-libbacktrace \
++ html-libbacktrace
++ @[ -f ./libbacktrace/Makefile ] || exit 0; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(HOST_EXPORTS) \
+ for flag in $(EXTRA_HOST_FLAGS) ; do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- echo "Doing install-html in libcpp" ; \
+- (cd $(HOST_SUBDIR)/libcpp && \
++ echo "Doing install-html in libbacktrace" ; \
++ (cd $(HOST_SUBDIR)/libbacktrace && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+@@ -20303,24 +20353,24 @@
+ install-html) \
+ || exit 1
+
+-@endif libcpp
++@endif libbacktrace
+
+-.PHONY: maybe-installcheck-libcpp installcheck-libcpp
+-maybe-installcheck-libcpp:
+-@if libcpp
+-maybe-installcheck-libcpp: installcheck-libcpp
++.PHONY: maybe-installcheck-libbacktrace installcheck-libbacktrace
++maybe-installcheck-libbacktrace:
++@if libbacktrace
++maybe-installcheck-libbacktrace: installcheck-libbacktrace
+
+-installcheck-libcpp: \
+- configure-libcpp
+- @[ -f ./libcpp/Makefile ] || exit 0; \
++installcheck-libbacktrace: \
++ configure-libbacktrace
++ @[ -f ./libbacktrace/Makefile ] || exit 0; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(HOST_EXPORTS) \
+ for flag in $(EXTRA_HOST_FLAGS) ; do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- echo "Doing installcheck in libcpp" ; \
+- (cd $(HOST_SUBDIR)/libcpp && \
++ echo "Doing installcheck in libbacktrace" ; \
++ (cd $(HOST_SUBDIR)/libbacktrace && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+@@ -20328,23 +20378,23 @@
+ installcheck) \
+ || exit 1
+
+-@endif libcpp
++@endif libbacktrace
+
+-.PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
+-maybe-mostlyclean-libcpp:
+-@if libcpp
+-maybe-mostlyclean-libcpp: mostlyclean-libcpp
++.PHONY: maybe-mostlyclean-libbacktrace mostlyclean-libbacktrace
++maybe-mostlyclean-libbacktrace:
++@if libbacktrace
++maybe-mostlyclean-libbacktrace: mostlyclean-libbacktrace
+
+-mostlyclean-libcpp:
+- @[ -f ./libcpp/Makefile ] || exit 0; \
++mostlyclean-libbacktrace:
++ @[ -f ./libbacktrace/Makefile ] || exit 0; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(HOST_EXPORTS) \
+ for flag in $(EXTRA_HOST_FLAGS) ; do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- echo "Doing mostlyclean in libcpp" ; \
+- (cd $(HOST_SUBDIR)/libcpp && \
++ echo "Doing mostlyclean in libbacktrace" ; \
++ (cd $(HOST_SUBDIR)/libbacktrace && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+@@ -20352,23 +20402,23 @@
+ mostlyclean) \
+ || exit 1
+
+-@endif libcpp
++@endif libbacktrace
+
+-.PHONY: maybe-clean-libcpp clean-libcpp
+-maybe-clean-libcpp:
+-@if libcpp
+-maybe-clean-libcpp: clean-libcpp
++.PHONY: maybe-clean-libbacktrace clean-libbacktrace
++maybe-clean-libbacktrace:
++@if libbacktrace
++maybe-clean-libbacktrace: clean-libbacktrace
+
+-clean-libcpp:
+- @[ -f ./libcpp/Makefile ] || exit 0; \
++clean-libbacktrace:
++ @[ -f ./libbacktrace/Makefile ] || exit 0; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(HOST_EXPORTS) \
+ for flag in $(EXTRA_HOST_FLAGS) ; do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- echo "Doing clean in libcpp" ; \
+- (cd $(HOST_SUBDIR)/libcpp && \
++ echo "Doing clean in libbacktrace" ; \
++ (cd $(HOST_SUBDIR)/libbacktrace && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+@@ -20376,23 +20426,23 @@
+ clean) \
+ || exit 1
+
+-@endif libcpp
++@endif libbacktrace
+
+-.PHONY: maybe-distclean-libcpp distclean-libcpp
+-maybe-distclean-libcpp:
+-@if libcpp
+-maybe-distclean-libcpp: distclean-libcpp
++.PHONY: maybe-distclean-libbacktrace distclean-libbacktrace
++maybe-distclean-libbacktrace:
++@if libbacktrace
++maybe-distclean-libbacktrace: distclean-libbacktrace
+
+-distclean-libcpp:
+- @[ -f ./libcpp/Makefile ] || exit 0; \
++distclean-libbacktrace:
++ @[ -f ./libbacktrace/Makefile ] || exit 0; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(HOST_EXPORTS) \
+ for flag in $(EXTRA_HOST_FLAGS) ; do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- echo "Doing distclean in libcpp" ; \
+- (cd $(HOST_SUBDIR)/libcpp && \
++ echo "Doing distclean in libbacktrace" ; \
++ (cd $(HOST_SUBDIR)/libbacktrace && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+@@ -20400,23 +20450,23 @@
+ distclean) \
+ || exit 1
+
+-@endif libcpp
++@endif libbacktrace
+
+-.PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
+-maybe-maintainer-clean-libcpp:
+-@if libcpp
+-maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
++.PHONY: maybe-maintainer-clean-libbacktrace maintainer-clean-libbacktrace
++maybe-maintainer-clean-libbacktrace:
++@if libbacktrace
++maybe-maintainer-clean-libbacktrace: maintainer-clean-libbacktrace
+
+-maintainer-clean-libcpp:
+- @[ -f ./libcpp/Makefile ] || exit 0; \
++maintainer-clean-libbacktrace:
++ @[ -f ./libbacktrace/Makefile ] || exit 0; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(HOST_EXPORTS) \
+ for flag in $(EXTRA_HOST_FLAGS) ; do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- echo "Doing maintainer-clean in libcpp" ; \
+- (cd $(HOST_SUBDIR)/libcpp && \
++ echo "Doing maintainer-clean in libbacktrace" ; \
++ (cd $(HOST_SUBDIR)/libbacktrace && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+@@ -20424,274 +20474,274 @@
+ maintainer-clean) \
+ || exit 1
+
+-@endif libcpp
++@endif libbacktrace
+
+
+
+-.PHONY: configure-libdecnumber maybe-configure-libdecnumber
+-maybe-configure-libdecnumber:
++.PHONY: configure-libcpp maybe-configure-libcpp
++maybe-configure-libcpp:
+ @if gcc-bootstrap
+-configure-libdecnumber: stage_current
++configure-libcpp: stage_current
+ @endif gcc-bootstrap
+-@if libdecnumber
+-maybe-configure-libdecnumber: configure-libdecnumber
+-configure-libdecnumber:
++@if libcpp
++maybe-configure-libcpp: configure-libcpp
++configure-libcpp:
+ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+- test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
+- $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
++ test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
++ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
+ $(HOST_EXPORTS) \
+- echo Configuring in $(HOST_SUBDIR)/libdecnumber; \
+- cd "$(HOST_SUBDIR)/libdecnumber" || exit 1; \
++ echo Configuring in $(HOST_SUBDIR)/libcpp; \
++ cd "$(HOST_SUBDIR)/libcpp" || exit 1; \
+ case $(srcdir) in \
+ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
+- *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
++ *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
+ sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
+ esac; \
+- srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
+- libsrcdir="$$s/libdecnumber"; \
++ srcdiroption="--srcdir=$${topdir}/libcpp"; \
++ libsrcdir="$$s/libcpp"; \
+ $(SHELL) $${libsrcdir}/configure \
+ $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
+ --target=${target_alias} $${srcdiroption} \
+ || exit 1
+-@endif libdecnumber
++@endif libcpp
+
+
+
+-.PHONY: configure-stage1-libdecnumber maybe-configure-stage1-libdecnumber
+-maybe-configure-stage1-libdecnumber:
+-@if libdecnumber-bootstrap
+-maybe-configure-stage1-libdecnumber: configure-stage1-libdecnumber
+-configure-stage1-libdecnumber:
++.PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
++maybe-configure-stage1-libcpp:
++@if libcpp-bootstrap
++maybe-configure-stage1-libcpp: configure-stage1-libcpp
++configure-stage1-libcpp:
+ @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
+- @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
++ @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
+ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ TFLAGS="$(STAGE1_TFLAGS)"; \
+- test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
++ test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
+ $(HOST_EXPORTS) \
+ CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
+ CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
+ LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
+- echo Configuring stage 1 in $(HOST_SUBDIR)/libdecnumber ; \
+- $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
+- cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
++ echo Configuring stage 1 in $(HOST_SUBDIR)/libcpp ; \
++ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
++ cd $(HOST_SUBDIR)/libcpp || exit 1; \
+ case $(srcdir) in \
+ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
+- *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
++ *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
+ sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
+ esac; \
+- srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
+- libsrcdir="$$s/libdecnumber"; \
++ srcdiroption="--srcdir=$${topdir}/libcpp"; \
++ libsrcdir="$$s/libcpp"; \
+ $(SHELL) $${libsrcdir}/configure \
+ $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
+ --target=${target_alias} $${srcdiroption} \
+ $(STAGE1_CONFIGURE_FLAGS)
+-@endif libdecnumber-bootstrap
++@endif libcpp-bootstrap
+
+-.PHONY: configure-stage2-libdecnumber maybe-configure-stage2-libdecnumber
+-maybe-configure-stage2-libdecnumber:
+-@if libdecnumber-bootstrap
+-maybe-configure-stage2-libdecnumber: configure-stage2-libdecnumber
+-configure-stage2-libdecnumber:
++.PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
++maybe-configure-stage2-libcpp:
++@if libcpp-bootstrap
++maybe-configure-stage2-libcpp: configure-stage2-libcpp
++configure-stage2-libcpp:
+ @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
+- @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
++ @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
+ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ TFLAGS="$(STAGE2_TFLAGS)"; \
+- test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
++ test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
+ $(HOST_EXPORTS) \
+ $(POSTSTAGE1_HOST_EXPORTS) \
+ CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
+ CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
+ LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
+- echo Configuring stage 2 in $(HOST_SUBDIR)/libdecnumber ; \
+- $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
+- cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
++ echo Configuring stage 2 in $(HOST_SUBDIR)/libcpp ; \
++ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
++ cd $(HOST_SUBDIR)/libcpp || exit 1; \
+ case $(srcdir) in \
+ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
+- *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
++ *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
+ sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
+ esac; \
+- srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
+- libsrcdir="$$s/libdecnumber"; \
++ srcdiroption="--srcdir=$${topdir}/libcpp"; \
++ libsrcdir="$$s/libcpp"; \
+ $(SHELL) $${libsrcdir}/configure \
+ $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
+ --target=${target_alias} $${srcdiroption} \
+ --with-build-libsubdir=$(HOST_SUBDIR) \
+ $(STAGE2_CONFIGURE_FLAGS)
+-@endif libdecnumber-bootstrap
++@endif libcpp-bootstrap
+
+-.PHONY: configure-stage3-libdecnumber maybe-configure-stage3-libdecnumber
+-maybe-configure-stage3-libdecnumber:
+-@if libdecnumber-bootstrap
+-maybe-configure-stage3-libdecnumber: configure-stage3-libdecnumber
+-configure-stage3-libdecnumber:
++.PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
++maybe-configure-stage3-libcpp:
++@if libcpp-bootstrap
++maybe-configure-stage3-libcpp: configure-stage3-libcpp
++configure-stage3-libcpp:
+ @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
+- @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
++ @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
+ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ TFLAGS="$(STAGE3_TFLAGS)"; \
+- test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
++ test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
+ $(HOST_EXPORTS) \
+ $(POSTSTAGE1_HOST_EXPORTS) \
+ CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
+ CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
+ LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
+- echo Configuring stage 3 in $(HOST_SUBDIR)/libdecnumber ; \
+- $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
+- cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
++ echo Configuring stage 3 in $(HOST_SUBDIR)/libcpp ; \
++ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
++ cd $(HOST_SUBDIR)/libcpp || exit 1; \
+ case $(srcdir) in \
+ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
+- *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
++ *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
+ sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
+ esac; \
+- srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
+- libsrcdir="$$s/libdecnumber"; \
++ srcdiroption="--srcdir=$${topdir}/libcpp"; \
++ libsrcdir="$$s/libcpp"; \
+ $(SHELL) $${libsrcdir}/configure \
+ $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
+ --target=${target_alias} $${srcdiroption} \
+ --with-build-libsubdir=$(HOST_SUBDIR) \
+ $(STAGE3_CONFIGURE_FLAGS)
+-@endif libdecnumber-bootstrap
++@endif libcpp-bootstrap
+
+-.PHONY: configure-stage4-libdecnumber maybe-configure-stage4-libdecnumber
+-maybe-configure-stage4-libdecnumber:
+-@if libdecnumber-bootstrap
+-maybe-configure-stage4-libdecnumber: configure-stage4-libdecnumber
+-configure-stage4-libdecnumber:
++.PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
++maybe-configure-stage4-libcpp:
++@if libcpp-bootstrap
++maybe-configure-stage4-libcpp: configure-stage4-libcpp
++configure-stage4-libcpp:
+ @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
+- @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
++ @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
+ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ TFLAGS="$(STAGE4_TFLAGS)"; \
+- test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
++ test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
+ $(HOST_EXPORTS) \
+ $(POSTSTAGE1_HOST_EXPORTS) \
+ CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
+ CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
+ LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
+- echo Configuring stage 4 in $(HOST_SUBDIR)/libdecnumber ; \
+- $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
+- cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
++ echo Configuring stage 4 in $(HOST_SUBDIR)/libcpp ; \
++ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
++ cd $(HOST_SUBDIR)/libcpp || exit 1; \
+ case $(srcdir) in \
+ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
+- *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
++ *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
+ sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
+ esac; \
+- srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
+- libsrcdir="$$s/libdecnumber"; \
++ srcdiroption="--srcdir=$${topdir}/libcpp"; \
++ libsrcdir="$$s/libcpp"; \
+ $(SHELL) $${libsrcdir}/configure \
+ $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
+ --target=${target_alias} $${srcdiroption} \
+ --with-build-libsubdir=$(HOST_SUBDIR) \
+ $(STAGE4_CONFIGURE_FLAGS)
+-@endif libdecnumber-bootstrap
++@endif libcpp-bootstrap
+
+-.PHONY: configure-stageprofile-libdecnumber maybe-configure-stageprofile-libdecnumber
+-maybe-configure-stageprofile-libdecnumber:
+-@if libdecnumber-bootstrap
+-maybe-configure-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
+-configure-stageprofile-libdecnumber:
++.PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
++maybe-configure-stageprofile-libcpp:
++@if libcpp-bootstrap
++maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
++configure-stageprofile-libcpp:
+ @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
+- @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
++ @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
+ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ TFLAGS="$(STAGEprofile_TFLAGS)"; \
+- test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
++ test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
+ $(HOST_EXPORTS) \
+ $(POSTSTAGE1_HOST_EXPORTS) \
+ CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
+ CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
+ LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
+- echo Configuring stage profile in $(HOST_SUBDIR)/libdecnumber ; \
+- $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
+- cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
++ echo Configuring stage profile in $(HOST_SUBDIR)/libcpp ; \
++ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
++ cd $(HOST_SUBDIR)/libcpp || exit 1; \
+ case $(srcdir) in \
+ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
+- *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
++ *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
+ sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
+ esac; \
+- srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
+- libsrcdir="$$s/libdecnumber"; \
++ srcdiroption="--srcdir=$${topdir}/libcpp"; \
++ libsrcdir="$$s/libcpp"; \
+ $(SHELL) $${libsrcdir}/configure \
+ $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
+ --target=${target_alias} $${srcdiroption} \
+ --with-build-libsubdir=$(HOST_SUBDIR) \
+ $(STAGEprofile_CONFIGURE_FLAGS)
+-@endif libdecnumber-bootstrap
++@endif libcpp-bootstrap
+
+-.PHONY: configure-stagefeedback-libdecnumber maybe-configure-stagefeedback-libdecnumber
+-maybe-configure-stagefeedback-libdecnumber:
+-@if libdecnumber-bootstrap
+-maybe-configure-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
+-configure-stagefeedback-libdecnumber:
++.PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
++maybe-configure-stagefeedback-libcpp:
++@if libcpp-bootstrap
++maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
++configure-stagefeedback-libcpp:
+ @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
+- @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
++ @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
+ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ TFLAGS="$(STAGEfeedback_TFLAGS)"; \
+- test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
++ test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
+ $(HOST_EXPORTS) \
+ $(POSTSTAGE1_HOST_EXPORTS) \
+ CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
+ CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
+ LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
+- echo Configuring stage feedback in $(HOST_SUBDIR)/libdecnumber ; \
+- $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
+- cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
++ echo Configuring stage feedback in $(HOST_SUBDIR)/libcpp ; \
++ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
++ cd $(HOST_SUBDIR)/libcpp || exit 1; \
+ case $(srcdir) in \
+ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
+- *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
++ *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
+ sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
+ esac; \
+- srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
+- libsrcdir="$$s/libdecnumber"; \
++ srcdiroption="--srcdir=$${topdir}/libcpp"; \
++ libsrcdir="$$s/libcpp"; \
+ $(SHELL) $${libsrcdir}/configure \
+ $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
+ --target=${target_alias} $${srcdiroption} \
+ --with-build-libsubdir=$(HOST_SUBDIR) \
+ $(STAGEfeedback_CONFIGURE_FLAGS)
+-@endif libdecnumber-bootstrap
++@endif libcpp-bootstrap
+
+
+
+
+
+-.PHONY: all-libdecnumber maybe-all-libdecnumber
+-maybe-all-libdecnumber:
++.PHONY: all-libcpp maybe-all-libcpp
++maybe-all-libcpp:
+ @if gcc-bootstrap
+-all-libdecnumber: stage_current
++all-libcpp: stage_current
+ @endif gcc-bootstrap
+-@if libdecnumber
+-TARGET-libdecnumber=all
+-maybe-all-libdecnumber: all-libdecnumber
+-all-libdecnumber: configure-libdecnumber
++@if libcpp
++TARGET-libcpp=all
++maybe-all-libcpp: all-libcpp
++all-libcpp: configure-libcpp
+ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(HOST_EXPORTS) \
+- (cd $(HOST_SUBDIR)/libdecnumber && \
++ (cd $(HOST_SUBDIR)/libcpp && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
+- $(TARGET-libdecnumber))
+-@endif libdecnumber
++ $(TARGET-libcpp))
++@endif libcpp
+
+
+
+-.PHONY: all-stage1-libdecnumber maybe-all-stage1-libdecnumber
+-.PHONY: clean-stage1-libdecnumber maybe-clean-stage1-libdecnumber
+-maybe-all-stage1-libdecnumber:
+-maybe-clean-stage1-libdecnumber:
+-@if libdecnumber-bootstrap
+-maybe-all-stage1-libdecnumber: all-stage1-libdecnumber
+-all-stage1: all-stage1-libdecnumber
+-TARGET-stage1-libdecnumber = $(TARGET-libdecnumber)
+-all-stage1-libdecnumber: configure-stage1-libdecnumber
++.PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
++.PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
++maybe-all-stage1-libcpp:
++maybe-clean-stage1-libcpp:
++@if libcpp-bootstrap
++maybe-all-stage1-libcpp: all-stage1-libcpp
++all-stage1: all-stage1-libcpp
++TARGET-stage1-libcpp = $(TARGET-libcpp)
++all-stage1-libcpp: configure-stage1-libcpp
+ @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
+ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ TFLAGS="$(STAGE1_TFLAGS)"; \
+ $(HOST_EXPORTS) \
+- cd $(HOST_SUBDIR)/libdecnumber && \
++ cd $(HOST_SUBDIR)/libcpp && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) \
+ CFLAGS="$(STAGE1_CFLAGS)" \
+ CXXFLAGS="$(STAGE1_CXXFLAGS)" \
+@@ -20701,39 +20751,39 @@
+ LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
+ $(EXTRA_HOST_FLAGS) \
+ TFLAGS="$(STAGE1_TFLAGS)" \
+- $(TARGET-stage1-libdecnumber)
++ $(TARGET-stage1-libcpp)
+
+-maybe-clean-stage1-libdecnumber: clean-stage1-libdecnumber
+-clean-stage1: clean-stage1-libdecnumber
+-clean-stage1-libdecnumber:
++maybe-clean-stage1-libcpp: clean-stage1-libcpp
++clean-stage1: clean-stage1-libcpp
++clean-stage1-libcpp:
+ @if [ $(current_stage) = stage1 ]; then \
+- [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
++ [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
+ else \
+- [ -f $(HOST_SUBDIR)/stage1-libdecnumber/Makefile ] || exit 0; \
++ [ -f $(HOST_SUBDIR)/stage1-libcpp/Makefile ] || exit 0; \
+ $(MAKE) stage1-start; \
+ fi; \
+- cd $(HOST_SUBDIR)/libdecnumber && \
++ cd $(HOST_SUBDIR)/libcpp && \
+ $(MAKE) $(EXTRA_HOST_FLAGS) \
+ clean
+-@endif libdecnumber-bootstrap
++@endif libcpp-bootstrap
+
+
+-.PHONY: all-stage2-libdecnumber maybe-all-stage2-libdecnumber
+-.PHONY: clean-stage2-libdecnumber maybe-clean-stage2-libdecnumber
+-maybe-all-stage2-libdecnumber:
+-maybe-clean-stage2-libdecnumber:
+-@if libdecnumber-bootstrap
+-maybe-all-stage2-libdecnumber: all-stage2-libdecnumber
+-all-stage2: all-stage2-libdecnumber
+-TARGET-stage2-libdecnumber = $(TARGET-libdecnumber)
+-all-stage2-libdecnumber: configure-stage2-libdecnumber
++.PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
++.PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
++maybe-all-stage2-libcpp:
++maybe-clean-stage2-libcpp:
++@if libcpp-bootstrap
++maybe-all-stage2-libcpp: all-stage2-libcpp
++all-stage2: all-stage2-libcpp
++TARGET-stage2-libcpp = $(TARGET-libcpp)
++all-stage2-libcpp: configure-stage2-libcpp
+ @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
+ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ TFLAGS="$(STAGE2_TFLAGS)"; \
+ $(HOST_EXPORTS) \
+ $(POSTSTAGE1_HOST_EXPORTS) \
+- cd $(HOST_SUBDIR)/libdecnumber && \
++ cd $(HOST_SUBDIR)/libcpp && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) \
+ CFLAGS="$(STAGE2_CFLAGS)" \
+ CXXFLAGS="$(STAGE2_CXXFLAGS)" \
+@@ -20743,40 +20793,40 @@
+ LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
+ $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
+ TFLAGS="$(STAGE2_TFLAGS)" \
+- $(TARGET-stage2-libdecnumber)
++ $(TARGET-stage2-libcpp)
+
+-maybe-clean-stage2-libdecnumber: clean-stage2-libdecnumber
+-clean-stage2: clean-stage2-libdecnumber
+-clean-stage2-libdecnumber:
++maybe-clean-stage2-libcpp: clean-stage2-libcpp
++clean-stage2: clean-stage2-libcpp
++clean-stage2-libcpp:
+ @if [ $(current_stage) = stage2 ]; then \
+- [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
++ [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
+ else \
+- [ -f $(HOST_SUBDIR)/stage2-libdecnumber/Makefile ] || exit 0; \
++ [ -f $(HOST_SUBDIR)/stage2-libcpp/Makefile ] || exit 0; \
+ $(MAKE) stage2-start; \
+ fi; \
+- cd $(HOST_SUBDIR)/libdecnumber && \
++ cd $(HOST_SUBDIR)/libcpp && \
+ $(MAKE) $(EXTRA_HOST_FLAGS) \
+ $(POSTSTAGE1_FLAGS_TO_PASS) \
+ clean
+-@endif libdecnumber-bootstrap
++@endif libcpp-bootstrap
+
+
+-.PHONY: all-stage3-libdecnumber maybe-all-stage3-libdecnumber
+-.PHONY: clean-stage3-libdecnumber maybe-clean-stage3-libdecnumber
+-maybe-all-stage3-libdecnumber:
+-maybe-clean-stage3-libdecnumber:
+-@if libdecnumber-bootstrap
+-maybe-all-stage3-libdecnumber: all-stage3-libdecnumber
+-all-stage3: all-stage3-libdecnumber
+-TARGET-stage3-libdecnumber = $(TARGET-libdecnumber)
+-all-stage3-libdecnumber: configure-stage3-libdecnumber
++.PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
++.PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
++maybe-all-stage3-libcpp:
++maybe-clean-stage3-libcpp:
++@if libcpp-bootstrap
++maybe-all-stage3-libcpp: all-stage3-libcpp
++all-stage3: all-stage3-libcpp
++TARGET-stage3-libcpp = $(TARGET-libcpp)
++all-stage3-libcpp: configure-stage3-libcpp
+ @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
+ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ TFLAGS="$(STAGE3_TFLAGS)"; \
+ $(HOST_EXPORTS) \
+ $(POSTSTAGE1_HOST_EXPORTS) \
+- cd $(HOST_SUBDIR)/libdecnumber && \
++ cd $(HOST_SUBDIR)/libcpp && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) \
+ CFLAGS="$(STAGE3_CFLAGS)" \
+ CXXFLAGS="$(STAGE3_CXXFLAGS)" \
+@@ -20786,40 +20836,40 @@
+ LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
+ $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
+ TFLAGS="$(STAGE3_TFLAGS)" \
+- $(TARGET-stage3-libdecnumber)
++ $(TARGET-stage3-libcpp)
+
+-maybe-clean-stage3-libdecnumber: clean-stage3-libdecnumber
+-clean-stage3: clean-stage3-libdecnumber
+-clean-stage3-libdecnumber:
++maybe-clean-stage3-libcpp: clean-stage3-libcpp
++clean-stage3: clean-stage3-libcpp
++clean-stage3-libcpp:
+ @if [ $(current_stage) = stage3 ]; then \
+- [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
++ [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
+ else \
+- [ -f $(HOST_SUBDIR)/stage3-libdecnumber/Makefile ] || exit 0; \
++ [ -f $(HOST_SUBDIR)/stage3-libcpp/Makefile ] || exit 0; \
+ $(MAKE) stage3-start; \
+ fi; \
+- cd $(HOST_SUBDIR)/libdecnumber && \
++ cd $(HOST_SUBDIR)/libcpp && \
+ $(MAKE) $(EXTRA_HOST_FLAGS) \
+ $(POSTSTAGE1_FLAGS_TO_PASS) \
+ clean
+-@endif libdecnumber-bootstrap
++@endif libcpp-bootstrap
+
+
+-.PHONY: all-stage4-libdecnumber maybe-all-stage4-libdecnumber
+-.PHONY: clean-stage4-libdecnumber maybe-clean-stage4-libdecnumber
+-maybe-all-stage4-libdecnumber:
+-maybe-clean-stage4-libdecnumber:
+-@if libdecnumber-bootstrap
+-maybe-all-stage4-libdecnumber: all-stage4-libdecnumber
+-all-stage4: all-stage4-libdecnumber
+-TARGET-stage4-libdecnumber = $(TARGET-libdecnumber)
+-all-stage4-libdecnumber: configure-stage4-libdecnumber
++.PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
++.PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
++maybe-all-stage4-libcpp:
++maybe-clean-stage4-libcpp:
++@if libcpp-bootstrap
++maybe-all-stage4-libcpp: all-stage4-libcpp
++all-stage4: all-stage4-libcpp
++TARGET-stage4-libcpp = $(TARGET-libcpp)
++all-stage4-libcpp: configure-stage4-libcpp
+ @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
+ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ TFLAGS="$(STAGE4_TFLAGS)"; \
+ $(HOST_EXPORTS) \
+ $(POSTSTAGE1_HOST_EXPORTS) \
+- cd $(HOST_SUBDIR)/libdecnumber && \
++ cd $(HOST_SUBDIR)/libcpp && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) \
+ CFLAGS="$(STAGE4_CFLAGS)" \
+ CXXFLAGS="$(STAGE4_CXXFLAGS)" \
+@@ -20829,40 +20879,40 @@
+ LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
+ $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
+ TFLAGS="$(STAGE4_TFLAGS)" \
+- $(TARGET-stage4-libdecnumber)
++ $(TARGET-stage4-libcpp)
+
+-maybe-clean-stage4-libdecnumber: clean-stage4-libdecnumber
+-clean-stage4: clean-stage4-libdecnumber
+-clean-stage4-libdecnumber:
++maybe-clean-stage4-libcpp: clean-stage4-libcpp
++clean-stage4: clean-stage4-libcpp
++clean-stage4-libcpp:
+ @if [ $(current_stage) = stage4 ]; then \
+- [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
++ [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
+ else \
+- [ -f $(HOST_SUBDIR)/stage4-libdecnumber/Makefile ] || exit 0; \
++ [ -f $(HOST_SUBDIR)/stage4-libcpp/Makefile ] || exit 0; \
+ $(MAKE) stage4-start; \
+ fi; \
+- cd $(HOST_SUBDIR)/libdecnumber && \
++ cd $(HOST_SUBDIR)/libcpp && \
+ $(MAKE) $(EXTRA_HOST_FLAGS) \
+ $(POSTSTAGE1_FLAGS_TO_PASS) \
+ clean
+-@endif libdecnumber-bootstrap
++@endif libcpp-bootstrap
+
+
+-.PHONY: all-stageprofile-libdecnumber maybe-all-stageprofile-libdecnumber
+-.PHONY: clean-stageprofile-libdecnumber maybe-clean-stageprofile-libdecnumber
+-maybe-all-stageprofile-libdecnumber:
+-maybe-clean-stageprofile-libdecnumber:
+-@if libdecnumber-bootstrap
+-maybe-all-stageprofile-libdecnumber: all-stageprofile-libdecnumber
+-all-stageprofile: all-stageprofile-libdecnumber
+-TARGET-stageprofile-libdecnumber = $(TARGET-libdecnumber)
+-all-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
++.PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
++.PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
++maybe-all-stageprofile-libcpp:
++maybe-clean-stageprofile-libcpp:
++@if libcpp-bootstrap
++maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
++all-stageprofile: all-stageprofile-libcpp
++TARGET-stageprofile-libcpp = $(TARGET-libcpp)
++all-stageprofile-libcpp: configure-stageprofile-libcpp
+ @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
+ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ TFLAGS="$(STAGEprofile_TFLAGS)"; \
+ $(HOST_EXPORTS) \
+ $(POSTSTAGE1_HOST_EXPORTS) \
+- cd $(HOST_SUBDIR)/libdecnumber && \
++ cd $(HOST_SUBDIR)/libcpp && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) \
+ CFLAGS="$(STAGEprofile_CFLAGS)" \
+ CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
+@@ -20872,40 +20922,40 @@
+ LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
+ $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
+ TFLAGS="$(STAGEprofile_TFLAGS)" \
+- $(TARGET-stageprofile-libdecnumber)
++ $(TARGET-stageprofile-libcpp)
+
+-maybe-clean-stageprofile-libdecnumber: clean-stageprofile-libdecnumber
+-clean-stageprofile: clean-stageprofile-libdecnumber
+-clean-stageprofile-libdecnumber:
++maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
++clean-stageprofile: clean-stageprofile-libcpp
++clean-stageprofile-libcpp:
+ @if [ $(current_stage) = stageprofile ]; then \
+- [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
++ [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
+ else \
+- [ -f $(HOST_SUBDIR)/stageprofile-libdecnumber/Makefile ] || exit 0; \
++ [ -f $(HOST_SUBDIR)/stageprofile-libcpp/Makefile ] || exit 0; \
+ $(MAKE) stageprofile-start; \
+ fi; \
+- cd $(HOST_SUBDIR)/libdecnumber && \
++ cd $(HOST_SUBDIR)/libcpp && \
+ $(MAKE) $(EXTRA_HOST_FLAGS) \
+ $(POSTSTAGE1_FLAGS_TO_PASS) \
+ clean
+-@endif libdecnumber-bootstrap
++@endif libcpp-bootstrap
+
+
+-.PHONY: all-stagefeedback-libdecnumber maybe-all-stagefeedback-libdecnumber
+-.PHONY: clean-stagefeedback-libdecnumber maybe-clean-stagefeedback-libdecnumber
+-maybe-all-stagefeedback-libdecnumber:
+-maybe-clean-stagefeedback-libdecnumber:
+-@if libdecnumber-bootstrap
+-maybe-all-stagefeedback-libdecnumber: all-stagefeedback-libdecnumber
+-all-stagefeedback: all-stagefeedback-libdecnumber
+-TARGET-stagefeedback-libdecnumber = $(TARGET-libdecnumber)
+-all-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
++.PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
++.PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
++maybe-all-stagefeedback-libcpp:
++maybe-clean-stagefeedback-libcpp:
++@if libcpp-bootstrap
++maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
++all-stagefeedback: all-stagefeedback-libcpp
++TARGET-stagefeedback-libcpp = $(TARGET-libcpp)
++all-stagefeedback-libcpp: configure-stagefeedback-libcpp
+ @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
+ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ TFLAGS="$(STAGEfeedback_TFLAGS)"; \
+ $(HOST_EXPORTS) \
+ $(POSTSTAGE1_HOST_EXPORTS) \
+- cd $(HOST_SUBDIR)/libdecnumber && \
++ cd $(HOST_SUBDIR)/libcpp && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) \
+ CFLAGS="$(STAGEfeedback_CFLAGS)" \
+ CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
+@@ -20915,90 +20965,90 @@
+ LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
+ $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
+ TFLAGS="$(STAGEfeedback_TFLAGS)" \
+- $(TARGET-stagefeedback-libdecnumber)
++ $(TARGET-stagefeedback-libcpp)
+
+-maybe-clean-stagefeedback-libdecnumber: clean-stagefeedback-libdecnumber
+-clean-stagefeedback: clean-stagefeedback-libdecnumber
+-clean-stagefeedback-libdecnumber:
++maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
++clean-stagefeedback: clean-stagefeedback-libcpp
++clean-stagefeedback-libcpp:
+ @if [ $(current_stage) = stagefeedback ]; then \
+- [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
++ [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
+ else \
+- [ -f $(HOST_SUBDIR)/stagefeedback-libdecnumber/Makefile ] || exit 0; \
++ [ -f $(HOST_SUBDIR)/stagefeedback-libcpp/Makefile ] || exit 0; \
+ $(MAKE) stagefeedback-start; \
+ fi; \
+- cd $(HOST_SUBDIR)/libdecnumber && \
++ cd $(HOST_SUBDIR)/libcpp && \
+ $(MAKE) $(EXTRA_HOST_FLAGS) \
+ $(POSTSTAGE1_FLAGS_TO_PASS) \
+ clean
+-@endif libdecnumber-bootstrap
++@endif libcpp-bootstrap
+
+
+
+
+
+-.PHONY: check-libdecnumber maybe-check-libdecnumber
+-maybe-check-libdecnumber:
+-@if libdecnumber
+-maybe-check-libdecnumber: check-libdecnumber
++.PHONY: check-libcpp maybe-check-libcpp
++maybe-check-libcpp:
++@if libcpp
++maybe-check-libcpp: check-libcpp
+
+-check-libdecnumber:
++check-libcpp:
+ @: $(MAKE); $(unstage)
+ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(HOST_EXPORTS) \
+- (cd $(HOST_SUBDIR)/libdecnumber && \
++ (cd $(HOST_SUBDIR)/libcpp && \
+ $(MAKE) $(FLAGS_TO_PASS) check)
+
+-@endif libdecnumber
++@endif libcpp
+
+-.PHONY: install-libdecnumber maybe-install-libdecnumber
+-maybe-install-libdecnumber:
+-@if libdecnumber
+-maybe-install-libdecnumber: install-libdecnumber
++.PHONY: install-libcpp maybe-install-libcpp
++maybe-install-libcpp:
++@if libcpp
++maybe-install-libcpp: install-libcpp
+
+-install-libdecnumber: installdirs
++install-libcpp: installdirs
+ @: $(MAKE); $(unstage)
+ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(HOST_EXPORTS) \
+- (cd $(HOST_SUBDIR)/libdecnumber && \
++ (cd $(HOST_SUBDIR)/libcpp && \
+ $(MAKE) $(FLAGS_TO_PASS) install)
+
+-@endif libdecnumber
++@endif libcpp
+
+-.PHONY: install-strip-libdecnumber maybe-install-strip-libdecnumber
+-maybe-install-strip-libdecnumber:
+-@if libdecnumber
+-maybe-install-strip-libdecnumber: install-strip-libdecnumber
++.PHONY: install-strip-libcpp maybe-install-strip-libcpp
++maybe-install-strip-libcpp:
++@if libcpp
++maybe-install-strip-libcpp: install-strip-libcpp
+
+-install-strip-libdecnumber: installdirs
++install-strip-libcpp: installdirs
+ @: $(MAKE); $(unstage)
+ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(HOST_EXPORTS) \
+- (cd $(HOST_SUBDIR)/libdecnumber && \
++ (cd $(HOST_SUBDIR)/libcpp && \
+ $(MAKE) $(FLAGS_TO_PASS) install-strip)
+
+-@endif libdecnumber
++@endif libcpp
+
+ # Other targets (info, dvi, pdf, etc.)
+
+-.PHONY: maybe-info-libdecnumber info-libdecnumber
+-maybe-info-libdecnumber:
+-@if libdecnumber
+-maybe-info-libdecnumber: info-libdecnumber
++.PHONY: maybe-info-libcpp info-libcpp
++maybe-info-libcpp:
++@if libcpp
++maybe-info-libcpp: info-libcpp
+
+-info-libdecnumber: \
+- configure-libdecnumber
+- @[ -f ./libdecnumber/Makefile ] || exit 0; \
++info-libcpp: \
++ configure-libcpp
++ @[ -f ./libcpp/Makefile ] || exit 0; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(HOST_EXPORTS) \
+ for flag in $(EXTRA_HOST_FLAGS) ; do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- echo "Doing info in libdecnumber" ; \
+- (cd $(HOST_SUBDIR)/libdecnumber && \
++ echo "Doing info in libcpp" ; \
++ (cd $(HOST_SUBDIR)/libcpp && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+@@ -21006,24 +21056,24 @@
+ info) \
+ || exit 1
+
+-@endif libdecnumber
++@endif libcpp
+
+-.PHONY: maybe-dvi-libdecnumber dvi-libdecnumber
+-maybe-dvi-libdecnumber:
+-@if libdecnumber
+-maybe-dvi-libdecnumber: dvi-libdecnumber
++.PHONY: maybe-dvi-libcpp dvi-libcpp
++maybe-dvi-libcpp:
++@if libcpp
++maybe-dvi-libcpp: dvi-libcpp
+
+-dvi-libdecnumber: \
+- configure-libdecnumber
+- @[ -f ./libdecnumber/Makefile ] || exit 0; \
++dvi-libcpp: \
++ configure-libcpp
++ @[ -f ./libcpp/Makefile ] || exit 0; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(HOST_EXPORTS) \
+ for flag in $(EXTRA_HOST_FLAGS) ; do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- echo "Doing dvi in libdecnumber" ; \
+- (cd $(HOST_SUBDIR)/libdecnumber && \
++ echo "Doing dvi in libcpp" ; \
++ (cd $(HOST_SUBDIR)/libcpp && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+@@ -21031,24 +21081,24 @@
+ dvi) \
+ || exit 1
+
+-@endif libdecnumber
++@endif libcpp
+
+-.PHONY: maybe-pdf-libdecnumber pdf-libdecnumber
+-maybe-pdf-libdecnumber:
+-@if libdecnumber
+-maybe-pdf-libdecnumber: pdf-libdecnumber
++.PHONY: maybe-pdf-libcpp pdf-libcpp
++maybe-pdf-libcpp:
++@if libcpp
++maybe-pdf-libcpp: pdf-libcpp
+
+-pdf-libdecnumber: \
+- configure-libdecnumber
+- @[ -f ./libdecnumber/Makefile ] || exit 0; \
++pdf-libcpp: \
++ configure-libcpp
++ @[ -f ./libcpp/Makefile ] || exit 0; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(HOST_EXPORTS) \
+ for flag in $(EXTRA_HOST_FLAGS) ; do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- echo "Doing pdf in libdecnumber" ; \
+- (cd $(HOST_SUBDIR)/libdecnumber && \
++ echo "Doing pdf in libcpp" ; \
++ (cd $(HOST_SUBDIR)/libcpp && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+@@ -21056,24 +21106,24 @@
+ pdf) \
+ || exit 1
+
+-@endif libdecnumber
++@endif libcpp
+
+-.PHONY: maybe-html-libdecnumber html-libdecnumber
+-maybe-html-libdecnumber:
+-@if libdecnumber
+-maybe-html-libdecnumber: html-libdecnumber
++.PHONY: maybe-html-libcpp html-libcpp
++maybe-html-libcpp:
++@if libcpp
++maybe-html-libcpp: html-libcpp
+
+-html-libdecnumber: \
+- configure-libdecnumber
+- @[ -f ./libdecnumber/Makefile ] || exit 0; \
++html-libcpp: \
++ configure-libcpp
++ @[ -f ./libcpp/Makefile ] || exit 0; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(HOST_EXPORTS) \
+ for flag in $(EXTRA_HOST_FLAGS) ; do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- echo "Doing html in libdecnumber" ; \
+- (cd $(HOST_SUBDIR)/libdecnumber && \
++ echo "Doing html in libcpp" ; \
++ (cd $(HOST_SUBDIR)/libcpp && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+@@ -21081,24 +21131,24 @@
+ html) \
+ || exit 1
+
+-@endif libdecnumber
++@endif libcpp
+
+-.PHONY: maybe-TAGS-libdecnumber TAGS-libdecnumber
+-maybe-TAGS-libdecnumber:
+-@if libdecnumber
+-maybe-TAGS-libdecnumber: TAGS-libdecnumber
++.PHONY: maybe-TAGS-libcpp TAGS-libcpp
++maybe-TAGS-libcpp:
++@if libcpp
++maybe-TAGS-libcpp: TAGS-libcpp
+
+-TAGS-libdecnumber: \
+- configure-libdecnumber
+- @[ -f ./libdecnumber/Makefile ] || exit 0; \
++TAGS-libcpp: \
++ configure-libcpp
++ @[ -f ./libcpp/Makefile ] || exit 0; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(HOST_EXPORTS) \
+ for flag in $(EXTRA_HOST_FLAGS) ; do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- echo "Doing TAGS in libdecnumber" ; \
+- (cd $(HOST_SUBDIR)/libdecnumber && \
++ echo "Doing TAGS in libcpp" ; \
++ (cd $(HOST_SUBDIR)/libcpp && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+@@ -21106,25 +21156,25 @@
+ TAGS) \
+ || exit 1
+
+-@endif libdecnumber
++@endif libcpp
+
+-.PHONY: maybe-install-info-libdecnumber install-info-libdecnumber
+-maybe-install-info-libdecnumber:
+-@if libdecnumber
+-maybe-install-info-libdecnumber: install-info-libdecnumber
++.PHONY: maybe-install-info-libcpp install-info-libcpp
++maybe-install-info-libcpp:
++@if libcpp
++maybe-install-info-libcpp: install-info-libcpp
+
+-install-info-libdecnumber: \
+- configure-libdecnumber \
+- info-libdecnumber
+- @[ -f ./libdecnumber/Makefile ] || exit 0; \
++install-info-libcpp: \
++ configure-libcpp \
++ info-libcpp
++ @[ -f ./libcpp/Makefile ] || exit 0; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(HOST_EXPORTS) \
+ for flag in $(EXTRA_HOST_FLAGS) ; do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- echo "Doing install-info in libdecnumber" ; \
+- (cd $(HOST_SUBDIR)/libdecnumber && \
++ echo "Doing install-info in libcpp" ; \
++ (cd $(HOST_SUBDIR)/libcpp && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+@@ -21132,25 +21182,25 @@
+ install-info) \
+ || exit 1
+
+-@endif libdecnumber
++@endif libcpp
+
+-.PHONY: maybe-install-pdf-libdecnumber install-pdf-libdecnumber
+-maybe-install-pdf-libdecnumber:
+-@if libdecnumber
+-maybe-install-pdf-libdecnumber: install-pdf-libdecnumber
++.PHONY: maybe-install-pdf-libcpp install-pdf-libcpp
++maybe-install-pdf-libcpp:
++@if libcpp
++maybe-install-pdf-libcpp: install-pdf-libcpp
+
+-install-pdf-libdecnumber: \
+- configure-libdecnumber \
+- pdf-libdecnumber
+- @[ -f ./libdecnumber/Makefile ] || exit 0; \
++install-pdf-libcpp: \
++ configure-libcpp \
++ pdf-libcpp
++ @[ -f ./libcpp/Makefile ] || exit 0; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(HOST_EXPORTS) \
+ for flag in $(EXTRA_HOST_FLAGS) ; do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- echo "Doing install-pdf in libdecnumber" ; \
+- (cd $(HOST_SUBDIR)/libdecnumber && \
++ echo "Doing install-pdf in libcpp" ; \
++ (cd $(HOST_SUBDIR)/libcpp && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+@@ -21158,25 +21208,25 @@
+ install-pdf) \
+ || exit 1
+
+-@endif libdecnumber
+-
+-.PHONY: maybe-install-html-libdecnumber install-html-libdecnumber
+-maybe-install-html-libdecnumber:
+-@if libdecnumber
+-maybe-install-html-libdecnumber: install-html-libdecnumber
++@endif libcpp
+
+-install-html-libdecnumber: \
+- configure-libdecnumber \
+- html-libdecnumber
+- @[ -f ./libdecnumber/Makefile ] || exit 0; \
++.PHONY: maybe-install-html-libcpp install-html-libcpp
++maybe-install-html-libcpp:
++@if libcpp
++maybe-install-html-libcpp: install-html-libcpp
++
++install-html-libcpp: \
++ configure-libcpp \
++ html-libcpp
++ @[ -f ./libcpp/Makefile ] || exit 0; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(HOST_EXPORTS) \
+ for flag in $(EXTRA_HOST_FLAGS) ; do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- echo "Doing install-html in libdecnumber" ; \
+- (cd $(HOST_SUBDIR)/libdecnumber && \
++ echo "Doing install-html in libcpp" ; \
++ (cd $(HOST_SUBDIR)/libcpp && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+@@ -21184,24 +21234,24 @@
+ install-html) \
+ || exit 1
+
+-@endif libdecnumber
++@endif libcpp
+
+-.PHONY: maybe-installcheck-libdecnumber installcheck-libdecnumber
+-maybe-installcheck-libdecnumber:
+-@if libdecnumber
+-maybe-installcheck-libdecnumber: installcheck-libdecnumber
++.PHONY: maybe-installcheck-libcpp installcheck-libcpp
++maybe-installcheck-libcpp:
++@if libcpp
++maybe-installcheck-libcpp: installcheck-libcpp
+
+-installcheck-libdecnumber: \
+- configure-libdecnumber
+- @[ -f ./libdecnumber/Makefile ] || exit 0; \
++installcheck-libcpp: \
++ configure-libcpp
++ @[ -f ./libcpp/Makefile ] || exit 0; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(HOST_EXPORTS) \
+ for flag in $(EXTRA_HOST_FLAGS) ; do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- echo "Doing installcheck in libdecnumber" ; \
+- (cd $(HOST_SUBDIR)/libdecnumber && \
++ echo "Doing installcheck in libcpp" ; \
++ (cd $(HOST_SUBDIR)/libcpp && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+@@ -21209,23 +21259,23 @@
+ installcheck) \
+ || exit 1
+
+-@endif libdecnumber
++@endif libcpp
+
+-.PHONY: maybe-mostlyclean-libdecnumber mostlyclean-libdecnumber
+-maybe-mostlyclean-libdecnumber:
+-@if libdecnumber
+-maybe-mostlyclean-libdecnumber: mostlyclean-libdecnumber
++.PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
++maybe-mostlyclean-libcpp:
++@if libcpp
++maybe-mostlyclean-libcpp: mostlyclean-libcpp
+
+-mostlyclean-libdecnumber:
+- @[ -f ./libdecnumber/Makefile ] || exit 0; \
++mostlyclean-libcpp:
++ @[ -f ./libcpp/Makefile ] || exit 0; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(HOST_EXPORTS) \
+ for flag in $(EXTRA_HOST_FLAGS) ; do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- echo "Doing mostlyclean in libdecnumber" ; \
+- (cd $(HOST_SUBDIR)/libdecnumber && \
++ echo "Doing mostlyclean in libcpp" ; \
++ (cd $(HOST_SUBDIR)/libcpp && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+@@ -21233,23 +21283,23 @@
+ mostlyclean) \
+ || exit 1
+
+-@endif libdecnumber
++@endif libcpp
+
+-.PHONY: maybe-clean-libdecnumber clean-libdecnumber
+-maybe-clean-libdecnumber:
+-@if libdecnumber
+-maybe-clean-libdecnumber: clean-libdecnumber
++.PHONY: maybe-clean-libcpp clean-libcpp
++maybe-clean-libcpp:
++@if libcpp
++maybe-clean-libcpp: clean-libcpp
+
+-clean-libdecnumber:
+- @[ -f ./libdecnumber/Makefile ] || exit 0; \
++clean-libcpp:
++ @[ -f ./libcpp/Makefile ] || exit 0; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(HOST_EXPORTS) \
+ for flag in $(EXTRA_HOST_FLAGS) ; do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- echo "Doing clean in libdecnumber" ; \
+- (cd $(HOST_SUBDIR)/libdecnumber && \
++ echo "Doing clean in libcpp" ; \
++ (cd $(HOST_SUBDIR)/libcpp && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+@@ -21257,23 +21307,23 @@
+ clean) \
+ || exit 1
+
+-@endif libdecnumber
++@endif libcpp
+
+-.PHONY: maybe-distclean-libdecnumber distclean-libdecnumber
+-maybe-distclean-libdecnumber:
+-@if libdecnumber
+-maybe-distclean-libdecnumber: distclean-libdecnumber
++.PHONY: maybe-distclean-libcpp distclean-libcpp
++maybe-distclean-libcpp:
++@if libcpp
++maybe-distclean-libcpp: distclean-libcpp
+
+-distclean-libdecnumber:
+- @[ -f ./libdecnumber/Makefile ] || exit 0; \
++distclean-libcpp:
++ @[ -f ./libcpp/Makefile ] || exit 0; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(HOST_EXPORTS) \
+ for flag in $(EXTRA_HOST_FLAGS) ; do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- echo "Doing distclean in libdecnumber" ; \
+- (cd $(HOST_SUBDIR)/libdecnumber && \
++ echo "Doing distclean in libcpp" ; \
++ (cd $(HOST_SUBDIR)/libcpp && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+@@ -21281,23 +21331,23 @@
+ distclean) \
+ || exit 1
+
+-@endif libdecnumber
++@endif libcpp
+
+-.PHONY: maybe-maintainer-clean-libdecnumber maintainer-clean-libdecnumber
+-maybe-maintainer-clean-libdecnumber:
+-@if libdecnumber
+-maybe-maintainer-clean-libdecnumber: maintainer-clean-libdecnumber
++.PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
++maybe-maintainer-clean-libcpp:
++@if libcpp
++maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
+
+-maintainer-clean-libdecnumber:
+- @[ -f ./libdecnumber/Makefile ] || exit 0; \
++maintainer-clean-libcpp:
++ @[ -f ./libcpp/Makefile ] || exit 0; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(HOST_EXPORTS) \
+ for flag in $(EXTRA_HOST_FLAGS) ; do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- echo "Doing maintainer-clean in libdecnumber" ; \
+- (cd $(HOST_SUBDIR)/libdecnumber && \
++ echo "Doing maintainer-clean in libcpp" ; \
++ (cd $(HOST_SUBDIR)/libcpp && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+@@ -21305,476 +21355,1357 @@
+ maintainer-clean) \
+ || exit 1
+
+-@endif libdecnumber
++@endif libcpp
+
+
+
+-.PHONY: configure-libgui maybe-configure-libgui
+-maybe-configure-libgui:
++.PHONY: configure-libdecnumber maybe-configure-libdecnumber
++maybe-configure-libdecnumber:
+ @if gcc-bootstrap
+-configure-libgui: stage_current
++configure-libdecnumber: stage_current
+ @endif gcc-bootstrap
+-@if libgui
+-maybe-configure-libgui: configure-libgui
+-configure-libgui:
+- @: $(MAKE); $(unstage)
++@if libdecnumber
++maybe-configure-libdecnumber: configure-libdecnumber
++configure-libdecnumber:
+ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+- test ! -f $(HOST_SUBDIR)/libgui/Makefile || exit 0; \
+- $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgui ; \
++ test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
++ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
+ $(HOST_EXPORTS) \
+- echo Configuring in $(HOST_SUBDIR)/libgui; \
+- cd "$(HOST_SUBDIR)/libgui" || exit 1; \
++ echo Configuring in $(HOST_SUBDIR)/libdecnumber; \
++ cd "$(HOST_SUBDIR)/libdecnumber" || exit 1; \
+ case $(srcdir) in \
+ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
+- *) topdir=`echo $(HOST_SUBDIR)/libgui/ | \
++ *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
+ sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
+ esac; \
+- srcdiroption="--srcdir=$${topdir}/libgui"; \
+- libsrcdir="$$s/libgui"; \
++ srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
++ libsrcdir="$$s/libdecnumber"; \
+ $(SHELL) $${libsrcdir}/configure \
+ $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
+ --target=${target_alias} $${srcdiroption} \
+ || exit 1
+-@endif libgui
+-
+-
++@endif libdecnumber
+
+
+
+-.PHONY: all-libgui maybe-all-libgui
+-maybe-all-libgui:
+-@if gcc-bootstrap
+-all-libgui: stage_current
+-@endif gcc-bootstrap
+-@if libgui
+-TARGET-libgui=all
+-maybe-all-libgui: all-libgui
+-all-libgui: configure-libgui
+- @: $(MAKE); $(unstage)
++.PHONY: configure-stage1-libdecnumber maybe-configure-stage1-libdecnumber
++maybe-configure-stage1-libdecnumber:
++@if libdecnumber-bootstrap
++maybe-configure-stage1-libdecnumber: configure-stage1-libdecnumber
++configure-stage1-libdecnumber:
++ @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
++ @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
+ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+- $(HOST_EXPORTS) \
+- (cd $(HOST_SUBDIR)/libgui && \
+- $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
+- $(TARGET-libgui))
+-@endif libgui
+-
+-
+-
+-
+-.PHONY: check-libgui maybe-check-libgui
+-maybe-check-libgui:
+-@if libgui
+-maybe-check-libgui: check-libgui
++ TFLAGS="$(STAGE1_TFLAGS)"; \
++ test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
++ $(HOST_EXPORTS) \
++ CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
++ CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
++ LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
++ echo Configuring stage 1 in $(HOST_SUBDIR)/libdecnumber ; \
++ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
++ cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
++ case $(srcdir) in \
++ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
++ *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
++ sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
++ esac; \
++ srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
++ libsrcdir="$$s/libdecnumber"; \
++ $(SHELL) $${libsrcdir}/configure \
++ $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
++ --target=${target_alias} $${srcdiroption} \
++ $(STAGE1_CONFIGURE_FLAGS)
++@endif libdecnumber-bootstrap
+
+-check-libgui:
+- @: $(MAKE); $(unstage)
++.PHONY: configure-stage2-libdecnumber maybe-configure-stage2-libdecnumber
++maybe-configure-stage2-libdecnumber:
++@if libdecnumber-bootstrap
++maybe-configure-stage2-libdecnumber: configure-stage2-libdecnumber
++configure-stage2-libdecnumber:
++ @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
++ @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
+ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
++ TFLAGS="$(STAGE2_TFLAGS)"; \
++ test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
+ $(HOST_EXPORTS) \
+- (cd $(HOST_SUBDIR)/libgui && \
+- $(MAKE) $(FLAGS_TO_PASS) check)
+-
+-@endif libgui
+-
+-.PHONY: install-libgui maybe-install-libgui
+-maybe-install-libgui:
+-@if libgui
+-maybe-install-libgui: install-libgui
++ $(POSTSTAGE1_HOST_EXPORTS) \
++ CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
++ CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
++ LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
++ echo Configuring stage 2 in $(HOST_SUBDIR)/libdecnumber ; \
++ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
++ cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
++ case $(srcdir) in \
++ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
++ *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
++ sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
++ esac; \
++ srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
++ libsrcdir="$$s/libdecnumber"; \
++ $(SHELL) $${libsrcdir}/configure \
++ $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
++ --target=${target_alias} $${srcdiroption} \
++ --with-build-libsubdir=$(HOST_SUBDIR) \
++ $(STAGE2_CONFIGURE_FLAGS)
++@endif libdecnumber-bootstrap
+
+-install-libgui: installdirs
+- @: $(MAKE); $(unstage)
++.PHONY: configure-stage3-libdecnumber maybe-configure-stage3-libdecnumber
++maybe-configure-stage3-libdecnumber:
++@if libdecnumber-bootstrap
++maybe-configure-stage3-libdecnumber: configure-stage3-libdecnumber
++configure-stage3-libdecnumber:
++ @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
++ @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
+ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
++ TFLAGS="$(STAGE3_TFLAGS)"; \
++ test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
+ $(HOST_EXPORTS) \
+- (cd $(HOST_SUBDIR)/libgui && \
+- $(MAKE) $(FLAGS_TO_PASS) install)
+-
+-@endif libgui
+-
+-.PHONY: install-strip-libgui maybe-install-strip-libgui
+-maybe-install-strip-libgui:
+-@if libgui
+-maybe-install-strip-libgui: install-strip-libgui
++ $(POSTSTAGE1_HOST_EXPORTS) \
++ CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
++ CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
++ LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
++ echo Configuring stage 3 in $(HOST_SUBDIR)/libdecnumber ; \
++ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
++ cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
++ case $(srcdir) in \
++ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
++ *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
++ sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
++ esac; \
++ srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
++ libsrcdir="$$s/libdecnumber"; \
++ $(SHELL) $${libsrcdir}/configure \
++ $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
++ --target=${target_alias} $${srcdiroption} \
++ --with-build-libsubdir=$(HOST_SUBDIR) \
++ $(STAGE3_CONFIGURE_FLAGS)
++@endif libdecnumber-bootstrap
+
+-install-strip-libgui: installdirs
+- @: $(MAKE); $(unstage)
++.PHONY: configure-stage4-libdecnumber maybe-configure-stage4-libdecnumber
++maybe-configure-stage4-libdecnumber:
++@if libdecnumber-bootstrap
++maybe-configure-stage4-libdecnumber: configure-stage4-libdecnumber
++configure-stage4-libdecnumber:
++ @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
++ @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
+ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
++ TFLAGS="$(STAGE4_TFLAGS)"; \
++ test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
+ $(HOST_EXPORTS) \
+- (cd $(HOST_SUBDIR)/libgui && \
+- $(MAKE) $(FLAGS_TO_PASS) install-strip)
+-
+-@endif libgui
+-
+-# Other targets (info, dvi, pdf, etc.)
++ $(POSTSTAGE1_HOST_EXPORTS) \
++ CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
++ CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
++ LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
++ echo Configuring stage 4 in $(HOST_SUBDIR)/libdecnumber ; \
++ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
++ cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
++ case $(srcdir) in \
++ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
++ *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
++ sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
++ esac; \
++ srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
++ libsrcdir="$$s/libdecnumber"; \
++ $(SHELL) $${libsrcdir}/configure \
++ $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
++ --target=${target_alias} $${srcdiroption} \
++ --with-build-libsubdir=$(HOST_SUBDIR) \
++ $(STAGE4_CONFIGURE_FLAGS)
++@endif libdecnumber-bootstrap
+
+-.PHONY: maybe-info-libgui info-libgui
+-maybe-info-libgui:
+-@if libgui
+-maybe-info-libgui: info-libgui
++.PHONY: configure-stageprofile-libdecnumber maybe-configure-stageprofile-libdecnumber
++maybe-configure-stageprofile-libdecnumber:
++@if libdecnumber-bootstrap
++maybe-configure-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
++configure-stageprofile-libdecnumber:
++ @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
++ @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
++ @r=`${PWD_COMMAND}`; export r; \
++ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
++ TFLAGS="$(STAGEprofile_TFLAGS)"; \
++ test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
++ $(HOST_EXPORTS) \
++ $(POSTSTAGE1_HOST_EXPORTS) \
++ CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
++ CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
++ LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
++ echo Configuring stage profile in $(HOST_SUBDIR)/libdecnumber ; \
++ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
++ cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
++ case $(srcdir) in \
++ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
++ *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
++ sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
++ esac; \
++ srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
++ libsrcdir="$$s/libdecnumber"; \
++ $(SHELL) $${libsrcdir}/configure \
++ $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
++ --target=${target_alias} $${srcdiroption} \
++ --with-build-libsubdir=$(HOST_SUBDIR) \
++ $(STAGEprofile_CONFIGURE_FLAGS)
++@endif libdecnumber-bootstrap
+
+-info-libgui: \
+- configure-libgui
+- @: $(MAKE); $(unstage)
+- @[ -f ./libgui/Makefile ] || exit 0; \
+- r=`${PWD_COMMAND}`; export r; \
++.PHONY: configure-stagefeedback-libdecnumber maybe-configure-stagefeedback-libdecnumber
++maybe-configure-stagefeedback-libdecnumber:
++@if libdecnumber-bootstrap
++maybe-configure-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
++configure-stagefeedback-libdecnumber:
++ @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
++ @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
++ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
++ TFLAGS="$(STAGEfeedback_TFLAGS)"; \
++ test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
+ $(HOST_EXPORTS) \
+- for flag in $(EXTRA_HOST_FLAGS) ; do \
+- eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+- done; \
+- echo "Doing info in libgui" ; \
+- (cd $(HOST_SUBDIR)/libgui && \
+- $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+- "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+- "RANLIB=$${RANLIB}" \
+- "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
+- info) \
+- || exit 1
++ $(POSTSTAGE1_HOST_EXPORTS) \
++ CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
++ CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
++ LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
++ echo Configuring stage feedback in $(HOST_SUBDIR)/libdecnumber ; \
++ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
++ cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
++ case $(srcdir) in \
++ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
++ *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
++ sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
++ esac; \
++ srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
++ libsrcdir="$$s/libdecnumber"; \
++ $(SHELL) $${libsrcdir}/configure \
++ $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
++ --target=${target_alias} $${srcdiroption} \
++ --with-build-libsubdir=$(HOST_SUBDIR) \
++ $(STAGEfeedback_CONFIGURE_FLAGS)
++@endif libdecnumber-bootstrap
+
+-@endif libgui
+
+-.PHONY: maybe-dvi-libgui dvi-libgui
+-maybe-dvi-libgui:
+-@if libgui
+-maybe-dvi-libgui: dvi-libgui
+
+-dvi-libgui: \
+- configure-libgui
+- @: $(MAKE); $(unstage)
+- @[ -f ./libgui/Makefile ] || exit 0; \
+- r=`${PWD_COMMAND}`; export r; \
++
++
++.PHONY: all-libdecnumber maybe-all-libdecnumber
++maybe-all-libdecnumber:
++@if gcc-bootstrap
++all-libdecnumber: stage_current
++@endif gcc-bootstrap
++@if libdecnumber
++TARGET-libdecnumber=all
++maybe-all-libdecnumber: all-libdecnumber
++all-libdecnumber: configure-libdecnumber
++ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+- $(HOST_EXPORTS) \
+- for flag in $(EXTRA_HOST_FLAGS) ; do \
+- eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+- done; \
+- echo "Doing dvi in libgui" ; \
+- (cd $(HOST_SUBDIR)/libgui && \
+- $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+- "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+- "RANLIB=$${RANLIB}" \
+- "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
+- dvi) \
+- || exit 1
++ $(HOST_EXPORTS) \
++ (cd $(HOST_SUBDIR)/libdecnumber && \
++ $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
++ $(TARGET-libdecnumber))
++@endif libdecnumber
+
+-@endif libgui
+
+-.PHONY: maybe-pdf-libgui pdf-libgui
+-maybe-pdf-libgui:
+-@if libgui
+-maybe-pdf-libgui: pdf-libgui
+
+-pdf-libgui: \
+- configure-libgui
+- @: $(MAKE); $(unstage)
+- @[ -f ./libgui/Makefile ] || exit 0; \
+- r=`${PWD_COMMAND}`; export r; \
++.PHONY: all-stage1-libdecnumber maybe-all-stage1-libdecnumber
++.PHONY: clean-stage1-libdecnumber maybe-clean-stage1-libdecnumber
++maybe-all-stage1-libdecnumber:
++maybe-clean-stage1-libdecnumber:
++@if libdecnumber-bootstrap
++maybe-all-stage1-libdecnumber: all-stage1-libdecnumber
++all-stage1: all-stage1-libdecnumber
++TARGET-stage1-libdecnumber = $(TARGET-libdecnumber)
++all-stage1-libdecnumber: configure-stage1-libdecnumber
++ @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
++ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+- $(HOST_EXPORTS) \
+- for flag in $(EXTRA_HOST_FLAGS) ; do \
+- eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+- done; \
+- echo "Doing pdf in libgui" ; \
+- (cd $(HOST_SUBDIR)/libgui && \
+- $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+- "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+- "RANLIB=$${RANLIB}" \
+- "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
+- pdf) \
+- || exit 1
++ TFLAGS="$(STAGE1_TFLAGS)"; \
++ $(HOST_EXPORTS) \
++ cd $(HOST_SUBDIR)/libdecnumber && \
++ $(MAKE) $(BASE_FLAGS_TO_PASS) \
++ CFLAGS="$(STAGE1_CFLAGS)" \
++ CXXFLAGS="$(STAGE1_CXXFLAGS)" \
++ LIBCFLAGS="$(LIBCFLAGS)" \
++ CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
++ CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
++ LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
++ $(EXTRA_HOST_FLAGS) \
++ TFLAGS="$(STAGE1_TFLAGS)" \
++ $(TARGET-stage1-libdecnumber)
+
+-@endif libgui
++maybe-clean-stage1-libdecnumber: clean-stage1-libdecnumber
++clean-stage1: clean-stage1-libdecnumber
++clean-stage1-libdecnumber:
++ @if [ $(current_stage) = stage1 ]; then \
++ [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
++ else \
++ [ -f $(HOST_SUBDIR)/stage1-libdecnumber/Makefile ] || exit 0; \
++ $(MAKE) stage1-start; \
++ fi; \
++ cd $(HOST_SUBDIR)/libdecnumber && \
++ $(MAKE) $(EXTRA_HOST_FLAGS) \
++ clean
++@endif libdecnumber-bootstrap
+
+-.PHONY: maybe-html-libgui html-libgui
+-maybe-html-libgui:
+-@if libgui
+-maybe-html-libgui: html-libgui
+
+-html-libgui: \
+- configure-libgui
+- @: $(MAKE); $(unstage)
+- @[ -f ./libgui/Makefile ] || exit 0; \
+- r=`${PWD_COMMAND}`; export r; \
++.PHONY: all-stage2-libdecnumber maybe-all-stage2-libdecnumber
++.PHONY: clean-stage2-libdecnumber maybe-clean-stage2-libdecnumber
++maybe-all-stage2-libdecnumber:
++maybe-clean-stage2-libdecnumber:
++@if libdecnumber-bootstrap
++maybe-all-stage2-libdecnumber: all-stage2-libdecnumber
++all-stage2: all-stage2-libdecnumber
++TARGET-stage2-libdecnumber = $(TARGET-libdecnumber)
++all-stage2-libdecnumber: configure-stage2-libdecnumber
++ @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
++ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
++ TFLAGS="$(STAGE2_TFLAGS)"; \
+ $(HOST_EXPORTS) \
+- for flag in $(EXTRA_HOST_FLAGS) ; do \
++ $(POSTSTAGE1_HOST_EXPORTS) \
++ cd $(HOST_SUBDIR)/libdecnumber && \
++ $(MAKE) $(BASE_FLAGS_TO_PASS) \
++ CFLAGS="$(STAGE2_CFLAGS)" \
++ CXXFLAGS="$(STAGE2_CXXFLAGS)" \
++ LIBCFLAGS="$(STAGE2_CFLAGS)" \
++ CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
++ CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
++ LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
++ $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
++ TFLAGS="$(STAGE2_TFLAGS)" \
++ $(TARGET-stage2-libdecnumber)
++
++maybe-clean-stage2-libdecnumber: clean-stage2-libdecnumber
++clean-stage2: clean-stage2-libdecnumber
++clean-stage2-libdecnumber:
++ @if [ $(current_stage) = stage2 ]; then \
++ [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
++ else \
++ [ -f $(HOST_SUBDIR)/stage2-libdecnumber/Makefile ] || exit 0; \
++ $(MAKE) stage2-start; \
++ fi; \
++ cd $(HOST_SUBDIR)/libdecnumber && \
++ $(MAKE) $(EXTRA_HOST_FLAGS) \
++ $(POSTSTAGE1_FLAGS_TO_PASS) \
++ clean
++@endif libdecnumber-bootstrap
++
++
++.PHONY: all-stage3-libdecnumber maybe-all-stage3-libdecnumber
++.PHONY: clean-stage3-libdecnumber maybe-clean-stage3-libdecnumber
++maybe-all-stage3-libdecnumber:
++maybe-clean-stage3-libdecnumber:
++@if libdecnumber-bootstrap
++maybe-all-stage3-libdecnumber: all-stage3-libdecnumber
++all-stage3: all-stage3-libdecnumber
++TARGET-stage3-libdecnumber = $(TARGET-libdecnumber)
++all-stage3-libdecnumber: configure-stage3-libdecnumber
++ @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
++ @r=`${PWD_COMMAND}`; export r; \
++ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
++ TFLAGS="$(STAGE3_TFLAGS)"; \
++ $(HOST_EXPORTS) \
++ $(POSTSTAGE1_HOST_EXPORTS) \
++ cd $(HOST_SUBDIR)/libdecnumber && \
++ $(MAKE) $(BASE_FLAGS_TO_PASS) \
++ CFLAGS="$(STAGE3_CFLAGS)" \
++ CXXFLAGS="$(STAGE3_CXXFLAGS)" \
++ LIBCFLAGS="$(STAGE3_CFLAGS)" \
++ CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
++ CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
++ LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
++ $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
++ TFLAGS="$(STAGE3_TFLAGS)" \
++ $(TARGET-stage3-libdecnumber)
++
++maybe-clean-stage3-libdecnumber: clean-stage3-libdecnumber
++clean-stage3: clean-stage3-libdecnumber
++clean-stage3-libdecnumber:
++ @if [ $(current_stage) = stage3 ]; then \
++ [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
++ else \
++ [ -f $(HOST_SUBDIR)/stage3-libdecnumber/Makefile ] || exit 0; \
++ $(MAKE) stage3-start; \
++ fi; \
++ cd $(HOST_SUBDIR)/libdecnumber && \
++ $(MAKE) $(EXTRA_HOST_FLAGS) \
++ $(POSTSTAGE1_FLAGS_TO_PASS) \
++ clean
++@endif libdecnumber-bootstrap
++
++
++.PHONY: all-stage4-libdecnumber maybe-all-stage4-libdecnumber
++.PHONY: clean-stage4-libdecnumber maybe-clean-stage4-libdecnumber
++maybe-all-stage4-libdecnumber:
++maybe-clean-stage4-libdecnumber:
++@if libdecnumber-bootstrap
++maybe-all-stage4-libdecnumber: all-stage4-libdecnumber
++all-stage4: all-stage4-libdecnumber
++TARGET-stage4-libdecnumber = $(TARGET-libdecnumber)
++all-stage4-libdecnumber: configure-stage4-libdecnumber
++ @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
++ @r=`${PWD_COMMAND}`; export r; \
++ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
++ TFLAGS="$(STAGE4_TFLAGS)"; \
++ $(HOST_EXPORTS) \
++ $(POSTSTAGE1_HOST_EXPORTS) \
++ cd $(HOST_SUBDIR)/libdecnumber && \
++ $(MAKE) $(BASE_FLAGS_TO_PASS) \
++ CFLAGS="$(STAGE4_CFLAGS)" \
++ CXXFLAGS="$(STAGE4_CXXFLAGS)" \
++ LIBCFLAGS="$(STAGE4_CFLAGS)" \
++ CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
++ CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
++ LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
++ $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
++ TFLAGS="$(STAGE4_TFLAGS)" \
++ $(TARGET-stage4-libdecnumber)
++
++maybe-clean-stage4-libdecnumber: clean-stage4-libdecnumber
++clean-stage4: clean-stage4-libdecnumber
++clean-stage4-libdecnumber:
++ @if [ $(current_stage) = stage4 ]; then \
++ [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
++ else \
++ [ -f $(HOST_SUBDIR)/stage4-libdecnumber/Makefile ] || exit 0; \
++ $(MAKE) stage4-start; \
++ fi; \
++ cd $(HOST_SUBDIR)/libdecnumber && \
++ $(MAKE) $(EXTRA_HOST_FLAGS) \
++ $(POSTSTAGE1_FLAGS_TO_PASS) \
++ clean
++@endif libdecnumber-bootstrap
++
++
++.PHONY: all-stageprofile-libdecnumber maybe-all-stageprofile-libdecnumber
++.PHONY: clean-stageprofile-libdecnumber maybe-clean-stageprofile-libdecnumber
++maybe-all-stageprofile-libdecnumber:
++maybe-clean-stageprofile-libdecnumber:
++@if libdecnumber-bootstrap
++maybe-all-stageprofile-libdecnumber: all-stageprofile-libdecnumber
++all-stageprofile: all-stageprofile-libdecnumber
++TARGET-stageprofile-libdecnumber = $(TARGET-libdecnumber)
++all-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
++ @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
++ @r=`${PWD_COMMAND}`; export r; \
++ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
++ TFLAGS="$(STAGEprofile_TFLAGS)"; \
++ $(HOST_EXPORTS) \
++ $(POSTSTAGE1_HOST_EXPORTS) \
++ cd $(HOST_SUBDIR)/libdecnumber && \
++ $(MAKE) $(BASE_FLAGS_TO_PASS) \
++ CFLAGS="$(STAGEprofile_CFLAGS)" \
++ CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
++ LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
++ CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
++ CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
++ LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
++ $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
++ TFLAGS="$(STAGEprofile_TFLAGS)" \
++ $(TARGET-stageprofile-libdecnumber)
++
++maybe-clean-stageprofile-libdecnumber: clean-stageprofile-libdecnumber
++clean-stageprofile: clean-stageprofile-libdecnumber
++clean-stageprofile-libdecnumber:
++ @if [ $(current_stage) = stageprofile ]; then \
++ [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
++ else \
++ [ -f $(HOST_SUBDIR)/stageprofile-libdecnumber/Makefile ] || exit 0; \
++ $(MAKE) stageprofile-start; \
++ fi; \
++ cd $(HOST_SUBDIR)/libdecnumber && \
++ $(MAKE) $(EXTRA_HOST_FLAGS) \
++ $(POSTSTAGE1_FLAGS_TO_PASS) \
++ clean
++@endif libdecnumber-bootstrap
++
++
++.PHONY: all-stagefeedback-libdecnumber maybe-all-stagefeedback-libdecnumber
++.PHONY: clean-stagefeedback-libdecnumber maybe-clean-stagefeedback-libdecnumber
++maybe-all-stagefeedback-libdecnumber:
++maybe-clean-stagefeedback-libdecnumber:
++@if libdecnumber-bootstrap
++maybe-all-stagefeedback-libdecnumber: all-stagefeedback-libdecnumber
++all-stagefeedback: all-stagefeedback-libdecnumber
++TARGET-stagefeedback-libdecnumber = $(TARGET-libdecnumber)
++all-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
++ @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
++ @r=`${PWD_COMMAND}`; export r; \
++ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
++ TFLAGS="$(STAGEfeedback_TFLAGS)"; \
++ $(HOST_EXPORTS) \
++ $(POSTSTAGE1_HOST_EXPORTS) \
++ cd $(HOST_SUBDIR)/libdecnumber && \
++ $(MAKE) $(BASE_FLAGS_TO_PASS) \
++ CFLAGS="$(STAGEfeedback_CFLAGS)" \
++ CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
++ LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
++ CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
++ CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
++ LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
++ $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
++ TFLAGS="$(STAGEfeedback_TFLAGS)" \
++ $(TARGET-stagefeedback-libdecnumber)
++
++maybe-clean-stagefeedback-libdecnumber: clean-stagefeedback-libdecnumber
++clean-stagefeedback: clean-stagefeedback-libdecnumber
++clean-stagefeedback-libdecnumber:
++ @if [ $(current_stage) = stagefeedback ]; then \
++ [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
++ else \
++ [ -f $(HOST_SUBDIR)/stagefeedback-libdecnumber/Makefile ] || exit 0; \
++ $(MAKE) stagefeedback-start; \
++ fi; \
++ cd $(HOST_SUBDIR)/libdecnumber && \
++ $(MAKE) $(EXTRA_HOST_FLAGS) \
++ $(POSTSTAGE1_FLAGS_TO_PASS) \
++ clean
++@endif libdecnumber-bootstrap
++
++
++
++
++
++.PHONY: check-libdecnumber maybe-check-libdecnumber
++maybe-check-libdecnumber:
++@if libdecnumber
++maybe-check-libdecnumber: check-libdecnumber
++
++check-libdecnumber:
++ @: $(MAKE); $(unstage)
++ @r=`${PWD_COMMAND}`; export r; \
++ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
++ $(HOST_EXPORTS) \
++ (cd $(HOST_SUBDIR)/libdecnumber && \
++ $(MAKE) $(FLAGS_TO_PASS) check)
++
++@endif libdecnumber
++
++.PHONY: install-libdecnumber maybe-install-libdecnumber
++maybe-install-libdecnumber:
++@if libdecnumber
++maybe-install-libdecnumber: install-libdecnumber
++
++install-libdecnumber: installdirs
++ @: $(MAKE); $(unstage)
++ @r=`${PWD_COMMAND}`; export r; \
++ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
++ $(HOST_EXPORTS) \
++ (cd $(HOST_SUBDIR)/libdecnumber && \
++ $(MAKE) $(FLAGS_TO_PASS) install)
++
++@endif libdecnumber
++
++.PHONY: install-strip-libdecnumber maybe-install-strip-libdecnumber
++maybe-install-strip-libdecnumber:
++@if libdecnumber
++maybe-install-strip-libdecnumber: install-strip-libdecnumber
++
++install-strip-libdecnumber: installdirs
++ @: $(MAKE); $(unstage)
++ @r=`${PWD_COMMAND}`; export r; \
++ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
++ $(HOST_EXPORTS) \
++ (cd $(HOST_SUBDIR)/libdecnumber && \
++ $(MAKE) $(FLAGS_TO_PASS) install-strip)
++
++@endif libdecnumber
++
++# Other targets (info, dvi, pdf, etc.)
++
++.PHONY: maybe-info-libdecnumber info-libdecnumber
++maybe-info-libdecnumber:
++@if libdecnumber
++maybe-info-libdecnumber: info-libdecnumber
++
++info-libdecnumber: \
++ configure-libdecnumber
++ @[ -f ./libdecnumber/Makefile ] || exit 0; \
++ r=`${PWD_COMMAND}`; export r; \
++ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
++ $(HOST_EXPORTS) \
++ for flag in $(EXTRA_HOST_FLAGS) ; do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- echo "Doing html in libgui" ; \
+- (cd $(HOST_SUBDIR)/libgui && \
++ echo "Doing info in libdecnumber" ; \
++ (cd $(HOST_SUBDIR)/libdecnumber && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
+- html) \
++ info) \
+ || exit 1
+
+-@endif libgui
++@endif libdecnumber
+
+-.PHONY: maybe-TAGS-libgui TAGS-libgui
+-maybe-TAGS-libgui:
+-@if libgui
+-maybe-TAGS-libgui: TAGS-libgui
++.PHONY: maybe-dvi-libdecnumber dvi-libdecnumber
++maybe-dvi-libdecnumber:
++@if libdecnumber
++maybe-dvi-libdecnumber: dvi-libdecnumber
+
+-TAGS-libgui: \
+- configure-libgui
+- @: $(MAKE); $(unstage)
+- @[ -f ./libgui/Makefile ] || exit 0; \
++dvi-libdecnumber: \
++ configure-libdecnumber
++ @[ -f ./libdecnumber/Makefile ] || exit 0; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(HOST_EXPORTS) \
+ for flag in $(EXTRA_HOST_FLAGS) ; do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- echo "Doing TAGS in libgui" ; \
+- (cd $(HOST_SUBDIR)/libgui && \
++ echo "Doing dvi in libdecnumber" ; \
++ (cd $(HOST_SUBDIR)/libdecnumber && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
+- TAGS) \
++ dvi) \
+ || exit 1
+
+-@endif libgui
++@endif libdecnumber
+
+-.PHONY: maybe-install-info-libgui install-info-libgui
+-maybe-install-info-libgui:
+-@if libgui
+-maybe-install-info-libgui: install-info-libgui
++.PHONY: maybe-pdf-libdecnumber pdf-libdecnumber
++maybe-pdf-libdecnumber:
++@if libdecnumber
++maybe-pdf-libdecnumber: pdf-libdecnumber
+
+-install-info-libgui: \
+- configure-libgui \
+- info-libgui
+- @: $(MAKE); $(unstage)
+- @[ -f ./libgui/Makefile ] || exit 0; \
++pdf-libdecnumber: \
++ configure-libdecnumber
++ @[ -f ./libdecnumber/Makefile ] || exit 0; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(HOST_EXPORTS) \
+ for flag in $(EXTRA_HOST_FLAGS) ; do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- echo "Doing install-info in libgui" ; \
+- (cd $(HOST_SUBDIR)/libgui && \
++ echo "Doing pdf in libdecnumber" ; \
++ (cd $(HOST_SUBDIR)/libdecnumber && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
+- install-info) \
++ pdf) \
+ || exit 1
+
+-@endif libgui
++@endif libdecnumber
+
+-.PHONY: maybe-install-pdf-libgui install-pdf-libgui
+-maybe-install-pdf-libgui:
+-@if libgui
+-maybe-install-pdf-libgui: install-pdf-libgui
++.PHONY: maybe-html-libdecnumber html-libdecnumber
++maybe-html-libdecnumber:
++@if libdecnumber
++maybe-html-libdecnumber: html-libdecnumber
+
+-install-pdf-libgui: \
+- configure-libgui \
+- pdf-libgui
+- @: $(MAKE); $(unstage)
+- @[ -f ./libgui/Makefile ] || exit 0; \
++html-libdecnumber: \
++ configure-libdecnumber
++ @[ -f ./libdecnumber/Makefile ] || exit 0; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(HOST_EXPORTS) \
+ for flag in $(EXTRA_HOST_FLAGS) ; do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- echo "Doing install-pdf in libgui" ; \
+- (cd $(HOST_SUBDIR)/libgui && \
++ echo "Doing html in libdecnumber" ; \
++ (cd $(HOST_SUBDIR)/libdecnumber && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
+- install-pdf) \
++ html) \
+ || exit 1
+
+-@endif libgui
++@endif libdecnumber
+
+-.PHONY: maybe-install-html-libgui install-html-libgui
+-maybe-install-html-libgui:
+-@if libgui
+-maybe-install-html-libgui: install-html-libgui
++.PHONY: maybe-TAGS-libdecnumber TAGS-libdecnumber
++maybe-TAGS-libdecnumber:
++@if libdecnumber
++maybe-TAGS-libdecnumber: TAGS-libdecnumber
+
+-install-html-libgui: \
+- configure-libgui \
+- html-libgui
+- @: $(MAKE); $(unstage)
+- @[ -f ./libgui/Makefile ] || exit 0; \
++TAGS-libdecnumber: \
++ configure-libdecnumber
++ @[ -f ./libdecnumber/Makefile ] || exit 0; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(HOST_EXPORTS) \
+ for flag in $(EXTRA_HOST_FLAGS) ; do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- echo "Doing install-html in libgui" ; \
+- (cd $(HOST_SUBDIR)/libgui && \
++ echo "Doing TAGS in libdecnumber" ; \
++ (cd $(HOST_SUBDIR)/libdecnumber && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
+- install-html) \
++ TAGS) \
+ || exit 1
+
+-@endif libgui
++@endif libdecnumber
+
+-.PHONY: maybe-installcheck-libgui installcheck-libgui
+-maybe-installcheck-libgui:
+-@if libgui
+-maybe-installcheck-libgui: installcheck-libgui
++.PHONY: maybe-install-info-libdecnumber install-info-libdecnumber
++maybe-install-info-libdecnumber:
++@if libdecnumber
++maybe-install-info-libdecnumber: install-info-libdecnumber
+
+-installcheck-libgui: \
+- configure-libgui
+- @: $(MAKE); $(unstage)
+- @[ -f ./libgui/Makefile ] || exit 0; \
++install-info-libdecnumber: \
++ configure-libdecnumber \
++ info-libdecnumber
++ @[ -f ./libdecnumber/Makefile ] || exit 0; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(HOST_EXPORTS) \
+ for flag in $(EXTRA_HOST_FLAGS) ; do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- echo "Doing installcheck in libgui" ; \
+- (cd $(HOST_SUBDIR)/libgui && \
++ echo "Doing install-info in libdecnumber" ; \
++ (cd $(HOST_SUBDIR)/libdecnumber && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
+- installcheck) \
++ install-info) \
+ || exit 1
+
+-@endif libgui
++@endif libdecnumber
+
+-.PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
+-maybe-mostlyclean-libgui:
+-@if libgui
+-maybe-mostlyclean-libgui: mostlyclean-libgui
++.PHONY: maybe-install-pdf-libdecnumber install-pdf-libdecnumber
++maybe-install-pdf-libdecnumber:
++@if libdecnumber
++maybe-install-pdf-libdecnumber: install-pdf-libdecnumber
+
+-mostlyclean-libgui:
+- @: $(MAKE); $(unstage)
+- @[ -f ./libgui/Makefile ] || exit 0; \
++install-pdf-libdecnumber: \
++ configure-libdecnumber \
++ pdf-libdecnumber
++ @[ -f ./libdecnumber/Makefile ] || exit 0; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(HOST_EXPORTS) \
+ for flag in $(EXTRA_HOST_FLAGS) ; do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- echo "Doing mostlyclean in libgui" ; \
+- (cd $(HOST_SUBDIR)/libgui && \
++ echo "Doing install-pdf in libdecnumber" ; \
++ (cd $(HOST_SUBDIR)/libdecnumber && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
+- mostlyclean) \
++ install-pdf) \
+ || exit 1
+
+-@endif libgui
++@endif libdecnumber
+
+-.PHONY: maybe-clean-libgui clean-libgui
+-maybe-clean-libgui:
+-@if libgui
+-maybe-clean-libgui: clean-libgui
++.PHONY: maybe-install-html-libdecnumber install-html-libdecnumber
++maybe-install-html-libdecnumber:
++@if libdecnumber
++maybe-install-html-libdecnumber: install-html-libdecnumber
+
+-clean-libgui:
+- @: $(MAKE); $(unstage)
+- @[ -f ./libgui/Makefile ] || exit 0; \
++install-html-libdecnumber: \
++ configure-libdecnumber \
++ html-libdecnumber
++ @[ -f ./libdecnumber/Makefile ] || exit 0; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(HOST_EXPORTS) \
+ for flag in $(EXTRA_HOST_FLAGS) ; do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- echo "Doing clean in libgui" ; \
+- (cd $(HOST_SUBDIR)/libgui && \
++ echo "Doing install-html in libdecnumber" ; \
++ (cd $(HOST_SUBDIR)/libdecnumber && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
+- clean) \
++ install-html) \
+ || exit 1
+
+-@endif libgui
++@endif libdecnumber
+
+-.PHONY: maybe-distclean-libgui distclean-libgui
+-maybe-distclean-libgui:
+-@if libgui
+-maybe-distclean-libgui: distclean-libgui
++.PHONY: maybe-installcheck-libdecnumber installcheck-libdecnumber
++maybe-installcheck-libdecnumber:
++@if libdecnumber
++maybe-installcheck-libdecnumber: installcheck-libdecnumber
+
+-distclean-libgui:
+- @: $(MAKE); $(unstage)
+- @[ -f ./libgui/Makefile ] || exit 0; \
++installcheck-libdecnumber: \
++ configure-libdecnumber
++ @[ -f ./libdecnumber/Makefile ] || exit 0; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(HOST_EXPORTS) \
+ for flag in $(EXTRA_HOST_FLAGS) ; do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- echo "Doing distclean in libgui" ; \
+- (cd $(HOST_SUBDIR)/libgui && \
++ echo "Doing installcheck in libdecnumber" ; \
++ (cd $(HOST_SUBDIR)/libdecnumber && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
+- distclean) \
++ installcheck) \
+ || exit 1
+
+-@endif libgui
++@endif libdecnumber
+
+-.PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
+-maybe-maintainer-clean-libgui:
+-@if libgui
+-maybe-maintainer-clean-libgui: maintainer-clean-libgui
++.PHONY: maybe-mostlyclean-libdecnumber mostlyclean-libdecnumber
++maybe-mostlyclean-libdecnumber:
++@if libdecnumber
++maybe-mostlyclean-libdecnumber: mostlyclean-libdecnumber
+
+-maintainer-clean-libgui:
+- @: $(MAKE); $(unstage)
+- @[ -f ./libgui/Makefile ] || exit 0; \
++mostlyclean-libdecnumber:
++ @[ -f ./libdecnumber/Makefile ] || exit 0; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(HOST_EXPORTS) \
+ for flag in $(EXTRA_HOST_FLAGS) ; do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- echo "Doing maintainer-clean in libgui" ; \
+- (cd $(HOST_SUBDIR)/libgui && \
++ echo "Doing mostlyclean in libdecnumber" ; \
++ (cd $(HOST_SUBDIR)/libdecnumber && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
+- maintainer-clean) \
++ mostlyclean) \
+ || exit 1
+
+-@endif libgui
+-
++@endif libdecnumber
+
++.PHONY: maybe-clean-libdecnumber clean-libdecnumber
++maybe-clean-libdecnumber:
++@if libdecnumber
++maybe-clean-libdecnumber: clean-libdecnumber
+
+-.PHONY: configure-libiberty maybe-configure-libiberty
+-maybe-configure-libiberty:
+-@if gcc-bootstrap
+-configure-libiberty: stage_current
+-@endif gcc-bootstrap
+-@if libiberty
+-maybe-configure-libiberty: configure-libiberty
+-configure-libiberty:
+- @r=`${PWD_COMMAND}`; export r; \
++clean-libdecnumber:
++ @[ -f ./libdecnumber/Makefile ] || exit 0; \
++ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+- test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
+- $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
+- $(HOST_EXPORTS) \
+- echo Configuring in $(HOST_SUBDIR)/libiberty; \
+- cd "$(HOST_SUBDIR)/libiberty" || exit 1; \
+- case $(srcdir) in \
+- /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
+- *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
+- sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
+- esac; \
+- srcdiroption="--srcdir=$${topdir}/libiberty"; \
+- libsrcdir="$$s/libiberty"; \
+- $(SHELL) $${libsrcdir}/configure \
+- $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
+- --target=${target_alias} $${srcdiroption} @extra_host_libiberty_configure_flags@ \
+- || exit 1
++ $(HOST_EXPORTS) \
++ for flag in $(EXTRA_HOST_FLAGS) ; do \
++ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
++ done; \
++ echo "Doing clean in libdecnumber" ; \
++ (cd $(HOST_SUBDIR)/libdecnumber && \
++ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
++ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
++ "RANLIB=$${RANLIB}" \
++ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
++ clean) \
++ || exit 1
++
++@endif libdecnumber
++
++.PHONY: maybe-distclean-libdecnumber distclean-libdecnumber
++maybe-distclean-libdecnumber:
++@if libdecnumber
++maybe-distclean-libdecnumber: distclean-libdecnumber
++
++distclean-libdecnumber:
++ @[ -f ./libdecnumber/Makefile ] || exit 0; \
++ r=`${PWD_COMMAND}`; export r; \
++ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
++ $(HOST_EXPORTS) \
++ for flag in $(EXTRA_HOST_FLAGS) ; do \
++ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
++ done; \
++ echo "Doing distclean in libdecnumber" ; \
++ (cd $(HOST_SUBDIR)/libdecnumber && \
++ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
++ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
++ "RANLIB=$${RANLIB}" \
++ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
++ distclean) \
++ || exit 1
++
++@endif libdecnumber
++
++.PHONY: maybe-maintainer-clean-libdecnumber maintainer-clean-libdecnumber
++maybe-maintainer-clean-libdecnumber:
++@if libdecnumber
++maybe-maintainer-clean-libdecnumber: maintainer-clean-libdecnumber
++
++maintainer-clean-libdecnumber:
++ @[ -f ./libdecnumber/Makefile ] || exit 0; \
++ r=`${PWD_COMMAND}`; export r; \
++ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
++ $(HOST_EXPORTS) \
++ for flag in $(EXTRA_HOST_FLAGS) ; do \
++ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
++ done; \
++ echo "Doing maintainer-clean in libdecnumber" ; \
++ (cd $(HOST_SUBDIR)/libdecnumber && \
++ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
++ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
++ "RANLIB=$${RANLIB}" \
++ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
++ maintainer-clean) \
++ || exit 1
++
++@endif libdecnumber
++
++
++
++.PHONY: configure-libgui maybe-configure-libgui
++maybe-configure-libgui:
++@if gcc-bootstrap
++configure-libgui: stage_current
++@endif gcc-bootstrap
++@if libgui
++maybe-configure-libgui: configure-libgui
++configure-libgui:
++ @: $(MAKE); $(unstage)
++ @r=`${PWD_COMMAND}`; export r; \
++ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
++ test ! -f $(HOST_SUBDIR)/libgui/Makefile || exit 0; \
++ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgui ; \
++ $(HOST_EXPORTS) \
++ echo Configuring in $(HOST_SUBDIR)/libgui; \
++ cd "$(HOST_SUBDIR)/libgui" || exit 1; \
++ case $(srcdir) in \
++ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
++ *) topdir=`echo $(HOST_SUBDIR)/libgui/ | \
++ sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
++ esac; \
++ srcdiroption="--srcdir=$${topdir}/libgui"; \
++ libsrcdir="$$s/libgui"; \
++ $(SHELL) $${libsrcdir}/configure \
++ $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
++ --target=${target_alias} $${srcdiroption} \
++ || exit 1
++@endif libgui
++
++
++
++
++
++.PHONY: all-libgui maybe-all-libgui
++maybe-all-libgui:
++@if gcc-bootstrap
++all-libgui: stage_current
++@endif gcc-bootstrap
++@if libgui
++TARGET-libgui=all
++maybe-all-libgui: all-libgui
++all-libgui: configure-libgui
++ @: $(MAKE); $(unstage)
++ @r=`${PWD_COMMAND}`; export r; \
++ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
++ $(HOST_EXPORTS) \
++ (cd $(HOST_SUBDIR)/libgui && \
++ $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
++ $(TARGET-libgui))
++@endif libgui
++
++
++
++
++.PHONY: check-libgui maybe-check-libgui
++maybe-check-libgui:
++@if libgui
++maybe-check-libgui: check-libgui
++
++check-libgui:
++ @: $(MAKE); $(unstage)
++ @r=`${PWD_COMMAND}`; export r; \
++ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
++ $(HOST_EXPORTS) \
++ (cd $(HOST_SUBDIR)/libgui && \
++ $(MAKE) $(FLAGS_TO_PASS) check)
++
++@endif libgui
++
++.PHONY: install-libgui maybe-install-libgui
++maybe-install-libgui:
++@if libgui
++maybe-install-libgui: install-libgui
++
++install-libgui: installdirs
++ @: $(MAKE); $(unstage)
++ @r=`${PWD_COMMAND}`; export r; \
++ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
++ $(HOST_EXPORTS) \
++ (cd $(HOST_SUBDIR)/libgui && \
++ $(MAKE) $(FLAGS_TO_PASS) install)
++
++@endif libgui
++
++.PHONY: install-strip-libgui maybe-install-strip-libgui
++maybe-install-strip-libgui:
++@if libgui
++maybe-install-strip-libgui: install-strip-libgui
++
++install-strip-libgui: installdirs
++ @: $(MAKE); $(unstage)
++ @r=`${PWD_COMMAND}`; export r; \
++ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
++ $(HOST_EXPORTS) \
++ (cd $(HOST_SUBDIR)/libgui && \
++ $(MAKE) $(FLAGS_TO_PASS) install-strip)
++
++@endif libgui
++
++# Other targets (info, dvi, pdf, etc.)
++
++.PHONY: maybe-info-libgui info-libgui
++maybe-info-libgui:
++@if libgui
++maybe-info-libgui: info-libgui
++
++info-libgui: \
++ configure-libgui
++ @: $(MAKE); $(unstage)
++ @[ -f ./libgui/Makefile ] || exit 0; \
++ r=`${PWD_COMMAND}`; export r; \
++ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
++ $(HOST_EXPORTS) \
++ for flag in $(EXTRA_HOST_FLAGS) ; do \
++ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
++ done; \
++ echo "Doing info in libgui" ; \
++ (cd $(HOST_SUBDIR)/libgui && \
++ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
++ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
++ "RANLIB=$${RANLIB}" \
++ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
++ info) \
++ || exit 1
++
++@endif libgui
++
++.PHONY: maybe-dvi-libgui dvi-libgui
++maybe-dvi-libgui:
++@if libgui
++maybe-dvi-libgui: dvi-libgui
++
++dvi-libgui: \
++ configure-libgui
++ @: $(MAKE); $(unstage)
++ @[ -f ./libgui/Makefile ] || exit 0; \
++ r=`${PWD_COMMAND}`; export r; \
++ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
++ $(HOST_EXPORTS) \
++ for flag in $(EXTRA_HOST_FLAGS) ; do \
++ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
++ done; \
++ echo "Doing dvi in libgui" ; \
++ (cd $(HOST_SUBDIR)/libgui && \
++ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
++ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
++ "RANLIB=$${RANLIB}" \
++ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
++ dvi) \
++ || exit 1
++
++@endif libgui
++
++.PHONY: maybe-pdf-libgui pdf-libgui
++maybe-pdf-libgui:
++@if libgui
++maybe-pdf-libgui: pdf-libgui
++
++pdf-libgui: \
++ configure-libgui
++ @: $(MAKE); $(unstage)
++ @[ -f ./libgui/Makefile ] || exit 0; \
++ r=`${PWD_COMMAND}`; export r; \
++ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
++ $(HOST_EXPORTS) \
++ for flag in $(EXTRA_HOST_FLAGS) ; do \
++ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
++ done; \
++ echo "Doing pdf in libgui" ; \
++ (cd $(HOST_SUBDIR)/libgui && \
++ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
++ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
++ "RANLIB=$${RANLIB}" \
++ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
++ pdf) \
++ || exit 1
++
++@endif libgui
++
++.PHONY: maybe-html-libgui html-libgui
++maybe-html-libgui:
++@if libgui
++maybe-html-libgui: html-libgui
++
++html-libgui: \
++ configure-libgui
++ @: $(MAKE); $(unstage)
++ @[ -f ./libgui/Makefile ] || exit 0; \
++ r=`${PWD_COMMAND}`; export r; \
++ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
++ $(HOST_EXPORTS) \
++ for flag in $(EXTRA_HOST_FLAGS) ; do \
++ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
++ done; \
++ echo "Doing html in libgui" ; \
++ (cd $(HOST_SUBDIR)/libgui && \
++ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
++ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
++ "RANLIB=$${RANLIB}" \
++ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
++ html) \
++ || exit 1
++
++@endif libgui
++
++.PHONY: maybe-TAGS-libgui TAGS-libgui
++maybe-TAGS-libgui:
++@if libgui
++maybe-TAGS-libgui: TAGS-libgui
++
++TAGS-libgui: \
++ configure-libgui
++ @: $(MAKE); $(unstage)
++ @[ -f ./libgui/Makefile ] || exit 0; \
++ r=`${PWD_COMMAND}`; export r; \
++ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
++ $(HOST_EXPORTS) \
++ for flag in $(EXTRA_HOST_FLAGS) ; do \
++ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
++ done; \
++ echo "Doing TAGS in libgui" ; \
++ (cd $(HOST_SUBDIR)/libgui && \
++ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
++ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
++ "RANLIB=$${RANLIB}" \
++ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
++ TAGS) \
++ || exit 1
++
++@endif libgui
++
++.PHONY: maybe-install-info-libgui install-info-libgui
++maybe-install-info-libgui:
++@if libgui
++maybe-install-info-libgui: install-info-libgui
++
++install-info-libgui: \
++ configure-libgui \
++ info-libgui
++ @: $(MAKE); $(unstage)
++ @[ -f ./libgui/Makefile ] || exit 0; \
++ r=`${PWD_COMMAND}`; export r; \
++ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
++ $(HOST_EXPORTS) \
++ for flag in $(EXTRA_HOST_FLAGS) ; do \
++ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
++ done; \
++ echo "Doing install-info in libgui" ; \
++ (cd $(HOST_SUBDIR)/libgui && \
++ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
++ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
++ "RANLIB=$${RANLIB}" \
++ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
++ install-info) \
++ || exit 1
++
++@endif libgui
++
++.PHONY: maybe-install-pdf-libgui install-pdf-libgui
++maybe-install-pdf-libgui:
++@if libgui
++maybe-install-pdf-libgui: install-pdf-libgui
++
++install-pdf-libgui: \
++ configure-libgui \
++ pdf-libgui
++ @: $(MAKE); $(unstage)
++ @[ -f ./libgui/Makefile ] || exit 0; \
++ r=`${PWD_COMMAND}`; export r; \
++ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
++ $(HOST_EXPORTS) \
++ for flag in $(EXTRA_HOST_FLAGS) ; do \
++ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
++ done; \
++ echo "Doing install-pdf in libgui" ; \
++ (cd $(HOST_SUBDIR)/libgui && \
++ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
++ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
++ "RANLIB=$${RANLIB}" \
++ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
++ install-pdf) \
++ || exit 1
++
++@endif libgui
++
++.PHONY: maybe-install-html-libgui install-html-libgui
++maybe-install-html-libgui:
++@if libgui
++maybe-install-html-libgui: install-html-libgui
++
++install-html-libgui: \
++ configure-libgui \
++ html-libgui
++ @: $(MAKE); $(unstage)
++ @[ -f ./libgui/Makefile ] || exit 0; \
++ r=`${PWD_COMMAND}`; export r; \
++ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
++ $(HOST_EXPORTS) \
++ for flag in $(EXTRA_HOST_FLAGS) ; do \
++ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
++ done; \
++ echo "Doing install-html in libgui" ; \
++ (cd $(HOST_SUBDIR)/libgui && \
++ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
++ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
++ "RANLIB=$${RANLIB}" \
++ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
++ install-html) \
++ || exit 1
++
++@endif libgui
++
++.PHONY: maybe-installcheck-libgui installcheck-libgui
++maybe-installcheck-libgui:
++@if libgui
++maybe-installcheck-libgui: installcheck-libgui
++
++installcheck-libgui: \
++ configure-libgui
++ @: $(MAKE); $(unstage)
++ @[ -f ./libgui/Makefile ] || exit 0; \
++ r=`${PWD_COMMAND}`; export r; \
++ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
++ $(HOST_EXPORTS) \
++ for flag in $(EXTRA_HOST_FLAGS) ; do \
++ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
++ done; \
++ echo "Doing installcheck in libgui" ; \
++ (cd $(HOST_SUBDIR)/libgui && \
++ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
++ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
++ "RANLIB=$${RANLIB}" \
++ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
++ installcheck) \
++ || exit 1
++
++@endif libgui
++
++.PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
++maybe-mostlyclean-libgui:
++@if libgui
++maybe-mostlyclean-libgui: mostlyclean-libgui
++
++mostlyclean-libgui:
++ @: $(MAKE); $(unstage)
++ @[ -f ./libgui/Makefile ] || exit 0; \
++ r=`${PWD_COMMAND}`; export r; \
++ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
++ $(HOST_EXPORTS) \
++ for flag in $(EXTRA_HOST_FLAGS) ; do \
++ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
++ done; \
++ echo "Doing mostlyclean in libgui" ; \
++ (cd $(HOST_SUBDIR)/libgui && \
++ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
++ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
++ "RANLIB=$${RANLIB}" \
++ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
++ mostlyclean) \
++ || exit 1
++
++@endif libgui
++
++.PHONY: maybe-clean-libgui clean-libgui
++maybe-clean-libgui:
++@if libgui
++maybe-clean-libgui: clean-libgui
++
++clean-libgui:
++ @: $(MAKE); $(unstage)
++ @[ -f ./libgui/Makefile ] || exit 0; \
++ r=`${PWD_COMMAND}`; export r; \
++ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
++ $(HOST_EXPORTS) \
++ for flag in $(EXTRA_HOST_FLAGS) ; do \
++ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
++ done; \
++ echo "Doing clean in libgui" ; \
++ (cd $(HOST_SUBDIR)/libgui && \
++ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
++ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
++ "RANLIB=$${RANLIB}" \
++ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
++ clean) \
++ || exit 1
++
++@endif libgui
++
++.PHONY: maybe-distclean-libgui distclean-libgui
++maybe-distclean-libgui:
++@if libgui
++maybe-distclean-libgui: distclean-libgui
++
++distclean-libgui:
++ @: $(MAKE); $(unstage)
++ @[ -f ./libgui/Makefile ] || exit 0; \
++ r=`${PWD_COMMAND}`; export r; \
++ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
++ $(HOST_EXPORTS) \
++ for flag in $(EXTRA_HOST_FLAGS) ; do \
++ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
++ done; \
++ echo "Doing distclean in libgui" ; \
++ (cd $(HOST_SUBDIR)/libgui && \
++ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
++ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
++ "RANLIB=$${RANLIB}" \
++ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
++ distclean) \
++ || exit 1
++
++@endif libgui
++
++.PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
++maybe-maintainer-clean-libgui:
++@if libgui
++maybe-maintainer-clean-libgui: maintainer-clean-libgui
++
++maintainer-clean-libgui:
++ @: $(MAKE); $(unstage)
++ @[ -f ./libgui/Makefile ] || exit 0; \
++ r=`${PWD_COMMAND}`; export r; \
++ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
++ $(HOST_EXPORTS) \
++ for flag in $(EXTRA_HOST_FLAGS) ; do \
++ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
++ done; \
++ echo "Doing maintainer-clean in libgui" ; \
++ (cd $(HOST_SUBDIR)/libgui && \
++ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
++ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
++ "RANLIB=$${RANLIB}" \
++ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
++ maintainer-clean) \
++ || exit 1
++
++@endif libgui
++
++
++
++.PHONY: configure-libiberty maybe-configure-libiberty
++maybe-configure-libiberty:
++@if gcc-bootstrap
++configure-libiberty: stage_current
++@endif gcc-bootstrap
++@if libiberty
++maybe-configure-libiberty: configure-libiberty
++configure-libiberty:
++ @r=`${PWD_COMMAND}`; export r; \
++ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
++ test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
++ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
++ $(HOST_EXPORTS) \
++ echo Configuring in $(HOST_SUBDIR)/libiberty; \
++ cd "$(HOST_SUBDIR)/libiberty" || exit 1; \
++ case $(srcdir) in \
++ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
++ *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
++ sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
++ esac; \
++ srcdiroption="--srcdir=$${topdir}/libiberty"; \
++ libsrcdir="$$s/libiberty"; \
++ $(SHELL) $${libsrcdir}/configure \
++ $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
++ --target=${target_alias} $${srcdiroption} @extra_host_libiberty_configure_flags@ \
++ || exit 1
+ @endif libiberty
+
+
+@@ -33123,15 +34054,472 @@
+ configure-target-libgcc \
+ pdf-target-libgcc
+ @: $(MAKE); $(unstage)
+- @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
++ @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
++ r=`${PWD_COMMAND}`; export r; \
++ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
++ $(NORMAL_TARGET_EXPORTS) \
++ echo "Doing install-pdf in $(TARGET_SUBDIR)/libgcc" ; \
++ for flag in $(EXTRA_TARGET_FLAGS); do \
++ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
++ done; \
++ (cd $(TARGET_SUBDIR)/libgcc && \
++ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
++ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
++ "RANLIB=$${RANLIB}" \
++ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
++ install-pdf) \
++ || exit 1
++
++@endif target-libgcc
++
++.PHONY: maybe-install-html-target-libgcc install-html-target-libgcc
++maybe-install-html-target-libgcc:
++@if target-libgcc
++maybe-install-html-target-libgcc: install-html-target-libgcc
++
++install-html-target-libgcc: \
++ configure-target-libgcc \
++ html-target-libgcc
++ @: $(MAKE); $(unstage)
++ @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
++ r=`${PWD_COMMAND}`; export r; \
++ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
++ $(NORMAL_TARGET_EXPORTS) \
++ echo "Doing install-html in $(TARGET_SUBDIR)/libgcc" ; \
++ for flag in $(EXTRA_TARGET_FLAGS); do \
++ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
++ done; \
++ (cd $(TARGET_SUBDIR)/libgcc && \
++ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
++ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
++ "RANLIB=$${RANLIB}" \
++ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
++ install-html) \
++ || exit 1
++
++@endif target-libgcc
++
++.PHONY: maybe-installcheck-target-libgcc installcheck-target-libgcc
++maybe-installcheck-target-libgcc:
++@if target-libgcc
++maybe-installcheck-target-libgcc: installcheck-target-libgcc
++
++installcheck-target-libgcc: \
++ configure-target-libgcc
++ @: $(MAKE); $(unstage)
++ @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
++ r=`${PWD_COMMAND}`; export r; \
++ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
++ $(NORMAL_TARGET_EXPORTS) \
++ echo "Doing installcheck in $(TARGET_SUBDIR)/libgcc" ; \
++ for flag in $(EXTRA_TARGET_FLAGS); do \
++ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
++ done; \
++ (cd $(TARGET_SUBDIR)/libgcc && \
++ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
++ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
++ "RANLIB=$${RANLIB}" \
++ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
++ installcheck) \
++ || exit 1
++
++@endif target-libgcc
++
++.PHONY: maybe-mostlyclean-target-libgcc mostlyclean-target-libgcc
++maybe-mostlyclean-target-libgcc:
++@if target-libgcc
++maybe-mostlyclean-target-libgcc: mostlyclean-target-libgcc
++
++mostlyclean-target-libgcc:
++ @: $(MAKE); $(unstage)
++ @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
++ r=`${PWD_COMMAND}`; export r; \
++ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
++ $(NORMAL_TARGET_EXPORTS) \
++ echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgcc" ; \
++ for flag in $(EXTRA_TARGET_FLAGS); do \
++ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
++ done; \
++ (cd $(TARGET_SUBDIR)/libgcc && \
++ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
++ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
++ "RANLIB=$${RANLIB}" \
++ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
++ mostlyclean) \
++ || exit 1
++
++@endif target-libgcc
++
++.PHONY: maybe-clean-target-libgcc clean-target-libgcc
++maybe-clean-target-libgcc:
++@if target-libgcc
++maybe-clean-target-libgcc: clean-target-libgcc
++
++clean-target-libgcc:
++ @: $(MAKE); $(unstage)
++ @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
++ r=`${PWD_COMMAND}`; export r; \
++ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
++ $(NORMAL_TARGET_EXPORTS) \
++ echo "Doing clean in $(TARGET_SUBDIR)/libgcc" ; \
++ for flag in $(EXTRA_TARGET_FLAGS); do \
++ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
++ done; \
++ (cd $(TARGET_SUBDIR)/libgcc && \
++ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
++ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
++ "RANLIB=$${RANLIB}" \
++ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
++ clean) \
++ || exit 1
++
++@endif target-libgcc
++
++.PHONY: maybe-distclean-target-libgcc distclean-target-libgcc
++maybe-distclean-target-libgcc:
++@if target-libgcc
++maybe-distclean-target-libgcc: distclean-target-libgcc
++
++distclean-target-libgcc:
++ @: $(MAKE); $(unstage)
++ @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
++ r=`${PWD_COMMAND}`; export r; \
++ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
++ $(NORMAL_TARGET_EXPORTS) \
++ echo "Doing distclean in $(TARGET_SUBDIR)/libgcc" ; \
++ for flag in $(EXTRA_TARGET_FLAGS); do \
++ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
++ done; \
++ (cd $(TARGET_SUBDIR)/libgcc && \
++ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
++ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
++ "RANLIB=$${RANLIB}" \
++ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
++ distclean) \
++ || exit 1
++
++@endif target-libgcc
++
++.PHONY: maybe-maintainer-clean-target-libgcc maintainer-clean-target-libgcc
++maybe-maintainer-clean-target-libgcc:
++@if target-libgcc
++maybe-maintainer-clean-target-libgcc: maintainer-clean-target-libgcc
++
++maintainer-clean-target-libgcc:
++ @: $(MAKE); $(unstage)
++ @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
++ r=`${PWD_COMMAND}`; export r; \
++ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
++ $(NORMAL_TARGET_EXPORTS) \
++ echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgcc" ; \
++ for flag in $(EXTRA_TARGET_FLAGS); do \
++ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
++ done; \
++ (cd $(TARGET_SUBDIR)/libgcc && \
++ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
++ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
++ "RANLIB=$${RANLIB}" \
++ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
++ maintainer-clean) \
++ || exit 1
++
++@endif target-libgcc
++
++
++
++
++
++.PHONY: configure-target-libbacktrace maybe-configure-target-libbacktrace
++maybe-configure-target-libbacktrace:
++@if gcc-bootstrap
++configure-target-libbacktrace: stage_current
++@endif gcc-bootstrap
++@if target-libbacktrace
++maybe-configure-target-libbacktrace: configure-target-libbacktrace
++configure-target-libbacktrace:
++ @: $(MAKE); $(unstage)
++ @r=`${PWD_COMMAND}`; export r; \
++ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
++ echo "Checking multilib configuration for libbacktrace..."; \
++ $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace ; \
++ $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libbacktrace/multilib.tmp 2> /dev/null ; \
++ if test -r $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
++ if cmp -s $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
++ rm -f $(TARGET_SUBDIR)/libbacktrace/multilib.tmp; \
++ else \
++ rm -f $(TARGET_SUBDIR)/libbacktrace/Makefile; \
++ mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
++ fi; \
++ else \
++ mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
++ fi; \
++ test ! -f $(TARGET_SUBDIR)/libbacktrace/Makefile || exit 0; \
++ $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace ; \
++ $(NORMAL_TARGET_EXPORTS) \
++ echo Configuring in $(TARGET_SUBDIR)/libbacktrace; \
++ cd "$(TARGET_SUBDIR)/libbacktrace" || exit 1; \
++ case $(srcdir) in \
++ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
++ *) topdir=`echo $(TARGET_SUBDIR)/libbacktrace/ | \
++ sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
++ esac; \
++ srcdiroption="--srcdir=$${topdir}/libbacktrace"; \
++ libsrcdir="$$s/libbacktrace"; \
++ rm -f no-such-file || : ; \
++ CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
++ $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
++ --target=${target_alias} $${srcdiroption} \
++ || exit 1
++@endif target-libbacktrace
++
++
++
++
++
++.PHONY: all-target-libbacktrace maybe-all-target-libbacktrace
++maybe-all-target-libbacktrace:
++@if gcc-bootstrap
++all-target-libbacktrace: stage_current
++@endif gcc-bootstrap
++@if target-libbacktrace
++TARGET-target-libbacktrace=all
++maybe-all-target-libbacktrace: all-target-libbacktrace
++all-target-libbacktrace: configure-target-libbacktrace
++ @: $(MAKE); $(unstage)
++ @r=`${PWD_COMMAND}`; export r; \
++ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
++ $(NORMAL_TARGET_EXPORTS) \
++ (cd $(TARGET_SUBDIR)/libbacktrace && \
++ $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
++ $(TARGET-target-libbacktrace))
++@endif target-libbacktrace
++
++
++
++
++
++.PHONY: check-target-libbacktrace maybe-check-target-libbacktrace
++maybe-check-target-libbacktrace:
++@if target-libbacktrace
++maybe-check-target-libbacktrace: check-target-libbacktrace
++
++check-target-libbacktrace:
++ @: $(MAKE); $(unstage)
++ @r=`${PWD_COMMAND}`; export r; \
++ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
++ $(NORMAL_TARGET_EXPORTS) \
++ (cd $(TARGET_SUBDIR)/libbacktrace && \
++ $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
++
++@endif target-libbacktrace
++
++.PHONY: install-target-libbacktrace maybe-install-target-libbacktrace
++maybe-install-target-libbacktrace:
++@if target-libbacktrace
++maybe-install-target-libbacktrace: install-target-libbacktrace
++
++install-target-libbacktrace: installdirs
++ @: $(MAKE); $(unstage)
++ @r=`${PWD_COMMAND}`; export r; \
++ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
++ $(NORMAL_TARGET_EXPORTS) \
++ (cd $(TARGET_SUBDIR)/libbacktrace && \
++ $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
++
++@endif target-libbacktrace
++
++.PHONY: install-strip-target-libbacktrace maybe-install-strip-target-libbacktrace
++maybe-install-strip-target-libbacktrace:
++@if target-libbacktrace
++maybe-install-strip-target-libbacktrace: install-strip-target-libbacktrace
++
++install-strip-target-libbacktrace: installdirs
++ @: $(MAKE); $(unstage)
++ @r=`${PWD_COMMAND}`; export r; \
++ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
++ $(NORMAL_TARGET_EXPORTS) \
++ (cd $(TARGET_SUBDIR)/libbacktrace && \
++ $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
++
++@endif target-libbacktrace
++
++# Other targets (info, dvi, pdf, etc.)
++
++.PHONY: maybe-info-target-libbacktrace info-target-libbacktrace
++maybe-info-target-libbacktrace:
++@if target-libbacktrace
++maybe-info-target-libbacktrace: info-target-libbacktrace
++
++info-target-libbacktrace: \
++ configure-target-libbacktrace
++ @: $(MAKE); $(unstage)
++ @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
++ r=`${PWD_COMMAND}`; export r; \
++ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
++ $(NORMAL_TARGET_EXPORTS) \
++ echo "Doing info in $(TARGET_SUBDIR)/libbacktrace" ; \
++ for flag in $(EXTRA_TARGET_FLAGS); do \
++ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
++ done; \
++ (cd $(TARGET_SUBDIR)/libbacktrace && \
++ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
++ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
++ "RANLIB=$${RANLIB}" \
++ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
++ info) \
++ || exit 1
++
++@endif target-libbacktrace
++
++.PHONY: maybe-dvi-target-libbacktrace dvi-target-libbacktrace
++maybe-dvi-target-libbacktrace:
++@if target-libbacktrace
++maybe-dvi-target-libbacktrace: dvi-target-libbacktrace
++
++dvi-target-libbacktrace: \
++ configure-target-libbacktrace
++ @: $(MAKE); $(unstage)
++ @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
++ r=`${PWD_COMMAND}`; export r; \
++ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
++ $(NORMAL_TARGET_EXPORTS) \
++ echo "Doing dvi in $(TARGET_SUBDIR)/libbacktrace" ; \
++ for flag in $(EXTRA_TARGET_FLAGS); do \
++ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
++ done; \
++ (cd $(TARGET_SUBDIR)/libbacktrace && \
++ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
++ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
++ "RANLIB=$${RANLIB}" \
++ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
++ dvi) \
++ || exit 1
++
++@endif target-libbacktrace
++
++.PHONY: maybe-pdf-target-libbacktrace pdf-target-libbacktrace
++maybe-pdf-target-libbacktrace:
++@if target-libbacktrace
++maybe-pdf-target-libbacktrace: pdf-target-libbacktrace
++
++pdf-target-libbacktrace: \
++ configure-target-libbacktrace
++ @: $(MAKE); $(unstage)
++ @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
++ r=`${PWD_COMMAND}`; export r; \
++ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
++ $(NORMAL_TARGET_EXPORTS) \
++ echo "Doing pdf in $(TARGET_SUBDIR)/libbacktrace" ; \
++ for flag in $(EXTRA_TARGET_FLAGS); do \
++ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
++ done; \
++ (cd $(TARGET_SUBDIR)/libbacktrace && \
++ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
++ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
++ "RANLIB=$${RANLIB}" \
++ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
++ pdf) \
++ || exit 1
++
++@endif target-libbacktrace
++
++.PHONY: maybe-html-target-libbacktrace html-target-libbacktrace
++maybe-html-target-libbacktrace:
++@if target-libbacktrace
++maybe-html-target-libbacktrace: html-target-libbacktrace
++
++html-target-libbacktrace: \
++ configure-target-libbacktrace
++ @: $(MAKE); $(unstage)
++ @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
++ r=`${PWD_COMMAND}`; export r; \
++ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
++ $(NORMAL_TARGET_EXPORTS) \
++ echo "Doing html in $(TARGET_SUBDIR)/libbacktrace" ; \
++ for flag in $(EXTRA_TARGET_FLAGS); do \
++ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
++ done; \
++ (cd $(TARGET_SUBDIR)/libbacktrace && \
++ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
++ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
++ "RANLIB=$${RANLIB}" \
++ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
++ html) \
++ || exit 1
++
++@endif target-libbacktrace
++
++.PHONY: maybe-TAGS-target-libbacktrace TAGS-target-libbacktrace
++maybe-TAGS-target-libbacktrace:
++@if target-libbacktrace
++maybe-TAGS-target-libbacktrace: TAGS-target-libbacktrace
++
++TAGS-target-libbacktrace: \
++ configure-target-libbacktrace
++ @: $(MAKE); $(unstage)
++ @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
++ r=`${PWD_COMMAND}`; export r; \
++ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
++ $(NORMAL_TARGET_EXPORTS) \
++ echo "Doing TAGS in $(TARGET_SUBDIR)/libbacktrace" ; \
++ for flag in $(EXTRA_TARGET_FLAGS); do \
++ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
++ done; \
++ (cd $(TARGET_SUBDIR)/libbacktrace && \
++ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
++ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
++ "RANLIB=$${RANLIB}" \
++ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
++ TAGS) \
++ || exit 1
++
++@endif target-libbacktrace
++
++.PHONY: maybe-install-info-target-libbacktrace install-info-target-libbacktrace
++maybe-install-info-target-libbacktrace:
++@if target-libbacktrace
++maybe-install-info-target-libbacktrace: install-info-target-libbacktrace
++
++install-info-target-libbacktrace: \
++ configure-target-libbacktrace \
++ info-target-libbacktrace
++ @: $(MAKE); $(unstage)
++ @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
++ r=`${PWD_COMMAND}`; export r; \
++ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
++ $(NORMAL_TARGET_EXPORTS) \
++ echo "Doing install-info in $(TARGET_SUBDIR)/libbacktrace" ; \
++ for flag in $(EXTRA_TARGET_FLAGS); do \
++ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
++ done; \
++ (cd $(TARGET_SUBDIR)/libbacktrace && \
++ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
++ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
++ "RANLIB=$${RANLIB}" \
++ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
++ install-info) \
++ || exit 1
++
++@endif target-libbacktrace
++
++.PHONY: maybe-install-pdf-target-libbacktrace install-pdf-target-libbacktrace
++maybe-install-pdf-target-libbacktrace:
++@if target-libbacktrace
++maybe-install-pdf-target-libbacktrace: install-pdf-target-libbacktrace
++
++install-pdf-target-libbacktrace: \
++ configure-target-libbacktrace \
++ pdf-target-libbacktrace
++ @: $(MAKE); $(unstage)
++ @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(NORMAL_TARGET_EXPORTS) \
+- echo "Doing install-pdf in $(TARGET_SUBDIR)/libgcc" ; \
++ echo "Doing install-pdf in $(TARGET_SUBDIR)/libbacktrace" ; \
+ for flag in $(EXTRA_TARGET_FLAGS); do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- (cd $(TARGET_SUBDIR)/libgcc && \
++ (cd $(TARGET_SUBDIR)/libbacktrace && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+@@ -33139,26 +34527,26 @@
+ install-pdf) \
+ || exit 1
+
+-@endif target-libgcc
++@endif target-libbacktrace
+
+-.PHONY: maybe-install-html-target-libgcc install-html-target-libgcc
+-maybe-install-html-target-libgcc:
+-@if target-libgcc
+-maybe-install-html-target-libgcc: install-html-target-libgcc
++.PHONY: maybe-install-html-target-libbacktrace install-html-target-libbacktrace
++maybe-install-html-target-libbacktrace:
++@if target-libbacktrace
++maybe-install-html-target-libbacktrace: install-html-target-libbacktrace
+
+-install-html-target-libgcc: \
+- configure-target-libgcc \
+- html-target-libgcc
++install-html-target-libbacktrace: \
++ configure-target-libbacktrace \
++ html-target-libbacktrace
+ @: $(MAKE); $(unstage)
+- @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
++ @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(NORMAL_TARGET_EXPORTS) \
+- echo "Doing install-html in $(TARGET_SUBDIR)/libgcc" ; \
++ echo "Doing install-html in $(TARGET_SUBDIR)/libbacktrace" ; \
+ for flag in $(EXTRA_TARGET_FLAGS); do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- (cd $(TARGET_SUBDIR)/libgcc && \
++ (cd $(TARGET_SUBDIR)/libbacktrace && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+@@ -33166,25 +34554,25 @@
+ install-html) \
+ || exit 1
+
+-@endif target-libgcc
++@endif target-libbacktrace
+
+-.PHONY: maybe-installcheck-target-libgcc installcheck-target-libgcc
+-maybe-installcheck-target-libgcc:
+-@if target-libgcc
+-maybe-installcheck-target-libgcc: installcheck-target-libgcc
++.PHONY: maybe-installcheck-target-libbacktrace installcheck-target-libbacktrace
++maybe-installcheck-target-libbacktrace:
++@if target-libbacktrace
++maybe-installcheck-target-libbacktrace: installcheck-target-libbacktrace
+
+-installcheck-target-libgcc: \
+- configure-target-libgcc
++installcheck-target-libbacktrace: \
++ configure-target-libbacktrace
+ @: $(MAKE); $(unstage)
+- @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
++ @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(NORMAL_TARGET_EXPORTS) \
+- echo "Doing installcheck in $(TARGET_SUBDIR)/libgcc" ; \
++ echo "Doing installcheck in $(TARGET_SUBDIR)/libbacktrace" ; \
+ for flag in $(EXTRA_TARGET_FLAGS); do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- (cd $(TARGET_SUBDIR)/libgcc && \
++ (cd $(TARGET_SUBDIR)/libbacktrace && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+@@ -33192,24 +34580,24 @@
+ installcheck) \
+ || exit 1
+
+-@endif target-libgcc
++@endif target-libbacktrace
+
+-.PHONY: maybe-mostlyclean-target-libgcc mostlyclean-target-libgcc
+-maybe-mostlyclean-target-libgcc:
+-@if target-libgcc
+-maybe-mostlyclean-target-libgcc: mostlyclean-target-libgcc
++.PHONY: maybe-mostlyclean-target-libbacktrace mostlyclean-target-libbacktrace
++maybe-mostlyclean-target-libbacktrace:
++@if target-libbacktrace
++maybe-mostlyclean-target-libbacktrace: mostlyclean-target-libbacktrace
+
+-mostlyclean-target-libgcc:
++mostlyclean-target-libbacktrace:
+ @: $(MAKE); $(unstage)
+- @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
++ @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(NORMAL_TARGET_EXPORTS) \
+- echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgcc" ; \
++ echo "Doing mostlyclean in $(TARGET_SUBDIR)/libbacktrace" ; \
+ for flag in $(EXTRA_TARGET_FLAGS); do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- (cd $(TARGET_SUBDIR)/libgcc && \
++ (cd $(TARGET_SUBDIR)/libbacktrace && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+@@ -33217,24 +34605,24 @@
+ mostlyclean) \
+ || exit 1
+
+-@endif target-libgcc
++@endif target-libbacktrace
+
+-.PHONY: maybe-clean-target-libgcc clean-target-libgcc
+-maybe-clean-target-libgcc:
+-@if target-libgcc
+-maybe-clean-target-libgcc: clean-target-libgcc
++.PHONY: maybe-clean-target-libbacktrace clean-target-libbacktrace
++maybe-clean-target-libbacktrace:
++@if target-libbacktrace
++maybe-clean-target-libbacktrace: clean-target-libbacktrace
+
+-clean-target-libgcc:
++clean-target-libbacktrace:
+ @: $(MAKE); $(unstage)
+- @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
++ @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(NORMAL_TARGET_EXPORTS) \
+- echo "Doing clean in $(TARGET_SUBDIR)/libgcc" ; \
++ echo "Doing clean in $(TARGET_SUBDIR)/libbacktrace" ; \
+ for flag in $(EXTRA_TARGET_FLAGS); do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- (cd $(TARGET_SUBDIR)/libgcc && \
++ (cd $(TARGET_SUBDIR)/libbacktrace && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+@@ -33242,24 +34630,24 @@
+ clean) \
+ || exit 1
+
+-@endif target-libgcc
++@endif target-libbacktrace
+
+-.PHONY: maybe-distclean-target-libgcc distclean-target-libgcc
+-maybe-distclean-target-libgcc:
+-@if target-libgcc
+-maybe-distclean-target-libgcc: distclean-target-libgcc
++.PHONY: maybe-distclean-target-libbacktrace distclean-target-libbacktrace
++maybe-distclean-target-libbacktrace:
++@if target-libbacktrace
++maybe-distclean-target-libbacktrace: distclean-target-libbacktrace
+
+-distclean-target-libgcc:
++distclean-target-libbacktrace:
+ @: $(MAKE); $(unstage)
+- @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
++ @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(NORMAL_TARGET_EXPORTS) \
+- echo "Doing distclean in $(TARGET_SUBDIR)/libgcc" ; \
++ echo "Doing distclean in $(TARGET_SUBDIR)/libbacktrace" ; \
+ for flag in $(EXTRA_TARGET_FLAGS); do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- (cd $(TARGET_SUBDIR)/libgcc && \
++ (cd $(TARGET_SUBDIR)/libbacktrace && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+@@ -33267,24 +34655,24 @@
+ distclean) \
+ || exit 1
+
+-@endif target-libgcc
++@endif target-libbacktrace
+
+-.PHONY: maybe-maintainer-clean-target-libgcc maintainer-clean-target-libgcc
+-maybe-maintainer-clean-target-libgcc:
+-@if target-libgcc
+-maybe-maintainer-clean-target-libgcc: maintainer-clean-target-libgcc
++.PHONY: maybe-maintainer-clean-target-libbacktrace maintainer-clean-target-libbacktrace
++maybe-maintainer-clean-target-libbacktrace:
++@if target-libbacktrace
++maybe-maintainer-clean-target-libbacktrace: maintainer-clean-target-libbacktrace
+
+-maintainer-clean-target-libgcc:
++maintainer-clean-target-libbacktrace:
+ @: $(MAKE); $(unstage)
+- @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
++ @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(NORMAL_TARGET_EXPORTS) \
+- echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgcc" ; \
++ echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libbacktrace" ; \
+ for flag in $(EXTRA_TARGET_FLAGS); do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- (cd $(TARGET_SUBDIR)/libgcc && \
++ (cd $(TARGET_SUBDIR)/libbacktrace && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+@@ -33292,7 +34680,7 @@
+ maintainer-clean) \
+ || exit 1
+
+-@endif target-libgcc
++@endif target-libbacktrace
+
+
+
+@@ -37971,18 +39359,475 @@
+ @if target-boehm-gc
+ maybe-pdf-target-boehm-gc: pdf-target-boehm-gc
+
+-pdf-target-boehm-gc: \
+- configure-target-boehm-gc
++pdf-target-boehm-gc: \
++ configure-target-boehm-gc
++ @: $(MAKE); $(unstage)
++ @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
++ r=`${PWD_COMMAND}`; export r; \
++ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
++ $(NORMAL_TARGET_EXPORTS) \
++ echo "Doing pdf in $(TARGET_SUBDIR)/boehm-gc" ; \
++ for flag in $(EXTRA_TARGET_FLAGS); do \
++ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
++ done; \
++ (cd $(TARGET_SUBDIR)/boehm-gc && \
++ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
++ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
++ "RANLIB=$${RANLIB}" \
++ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
++ pdf) \
++ || exit 1
++
++@endif target-boehm-gc
++
++.PHONY: maybe-html-target-boehm-gc html-target-boehm-gc
++maybe-html-target-boehm-gc:
++@if target-boehm-gc
++maybe-html-target-boehm-gc: html-target-boehm-gc
++
++html-target-boehm-gc: \
++ configure-target-boehm-gc
++ @: $(MAKE); $(unstage)
++ @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
++ r=`${PWD_COMMAND}`; export r; \
++ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
++ $(NORMAL_TARGET_EXPORTS) \
++ echo "Doing html in $(TARGET_SUBDIR)/boehm-gc" ; \
++ for flag in $(EXTRA_TARGET_FLAGS); do \
++ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
++ done; \
++ (cd $(TARGET_SUBDIR)/boehm-gc && \
++ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
++ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
++ "RANLIB=$${RANLIB}" \
++ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
++ html) \
++ || exit 1
++
++@endif target-boehm-gc
++
++.PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
++maybe-TAGS-target-boehm-gc:
++@if target-boehm-gc
++maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
++
++TAGS-target-boehm-gc: \
++ configure-target-boehm-gc
++ @: $(MAKE); $(unstage)
++ @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
++ r=`${PWD_COMMAND}`; export r; \
++ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
++ $(NORMAL_TARGET_EXPORTS) \
++ echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
++ for flag in $(EXTRA_TARGET_FLAGS); do \
++ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
++ done; \
++ (cd $(TARGET_SUBDIR)/boehm-gc && \
++ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
++ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
++ "RANLIB=$${RANLIB}" \
++ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
++ TAGS) \
++ || exit 1
++
++@endif target-boehm-gc
++
++.PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
++maybe-install-info-target-boehm-gc:
++@if target-boehm-gc
++maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
++
++install-info-target-boehm-gc: \
++ configure-target-boehm-gc \
++ info-target-boehm-gc
++ @: $(MAKE); $(unstage)
++ @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
++ r=`${PWD_COMMAND}`; export r; \
++ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
++ $(NORMAL_TARGET_EXPORTS) \
++ echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
++ for flag in $(EXTRA_TARGET_FLAGS); do \
++ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
++ done; \
++ (cd $(TARGET_SUBDIR)/boehm-gc && \
++ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
++ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
++ "RANLIB=$${RANLIB}" \
++ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
++ install-info) \
++ || exit 1
++
++@endif target-boehm-gc
++
++.PHONY: maybe-install-pdf-target-boehm-gc install-pdf-target-boehm-gc
++maybe-install-pdf-target-boehm-gc:
++@if target-boehm-gc
++maybe-install-pdf-target-boehm-gc: install-pdf-target-boehm-gc
++
++install-pdf-target-boehm-gc: \
++ configure-target-boehm-gc \
++ pdf-target-boehm-gc
++ @: $(MAKE); $(unstage)
++ @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
++ r=`${PWD_COMMAND}`; export r; \
++ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
++ $(NORMAL_TARGET_EXPORTS) \
++ echo "Doing install-pdf in $(TARGET_SUBDIR)/boehm-gc" ; \
++ for flag in $(EXTRA_TARGET_FLAGS); do \
++ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
++ done; \
++ (cd $(TARGET_SUBDIR)/boehm-gc && \
++ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
++ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
++ "RANLIB=$${RANLIB}" \
++ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
++ install-pdf) \
++ || exit 1
++
++@endif target-boehm-gc
++
++.PHONY: maybe-install-html-target-boehm-gc install-html-target-boehm-gc
++maybe-install-html-target-boehm-gc:
++@if target-boehm-gc
++maybe-install-html-target-boehm-gc: install-html-target-boehm-gc
++
++install-html-target-boehm-gc: \
++ configure-target-boehm-gc \
++ html-target-boehm-gc
++ @: $(MAKE); $(unstage)
++ @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
++ r=`${PWD_COMMAND}`; export r; \
++ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
++ $(NORMAL_TARGET_EXPORTS) \
++ echo "Doing install-html in $(TARGET_SUBDIR)/boehm-gc" ; \
++ for flag in $(EXTRA_TARGET_FLAGS); do \
++ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
++ done; \
++ (cd $(TARGET_SUBDIR)/boehm-gc && \
++ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
++ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
++ "RANLIB=$${RANLIB}" \
++ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
++ install-html) \
++ || exit 1
++
++@endif target-boehm-gc
++
++.PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
++maybe-installcheck-target-boehm-gc:
++@if target-boehm-gc
++maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
++
++installcheck-target-boehm-gc: \
++ configure-target-boehm-gc
++ @: $(MAKE); $(unstage)
++ @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
++ r=`${PWD_COMMAND}`; export r; \
++ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
++ $(NORMAL_TARGET_EXPORTS) \
++ echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
++ for flag in $(EXTRA_TARGET_FLAGS); do \
++ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
++ done; \
++ (cd $(TARGET_SUBDIR)/boehm-gc && \
++ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
++ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
++ "RANLIB=$${RANLIB}" \
++ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
++ installcheck) \
++ || exit 1
++
++@endif target-boehm-gc
++
++.PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
++maybe-mostlyclean-target-boehm-gc:
++@if target-boehm-gc
++maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
++
++mostlyclean-target-boehm-gc:
++ @: $(MAKE); $(unstage)
++ @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
++ r=`${PWD_COMMAND}`; export r; \
++ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
++ $(NORMAL_TARGET_EXPORTS) \
++ echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
++ for flag in $(EXTRA_TARGET_FLAGS); do \
++ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
++ done; \
++ (cd $(TARGET_SUBDIR)/boehm-gc && \
++ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
++ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
++ "RANLIB=$${RANLIB}" \
++ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
++ mostlyclean) \
++ || exit 1
++
++@endif target-boehm-gc
++
++.PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
++maybe-clean-target-boehm-gc:
++@if target-boehm-gc
++maybe-clean-target-boehm-gc: clean-target-boehm-gc
++
++clean-target-boehm-gc:
++ @: $(MAKE); $(unstage)
++ @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
++ r=`${PWD_COMMAND}`; export r; \
++ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
++ $(NORMAL_TARGET_EXPORTS) \
++ echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
++ for flag in $(EXTRA_TARGET_FLAGS); do \
++ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
++ done; \
++ (cd $(TARGET_SUBDIR)/boehm-gc && \
++ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
++ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
++ "RANLIB=$${RANLIB}" \
++ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
++ clean) \
++ || exit 1
++
++@endif target-boehm-gc
++
++.PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
++maybe-distclean-target-boehm-gc:
++@if target-boehm-gc
++maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
++
++distclean-target-boehm-gc:
++ @: $(MAKE); $(unstage)
++ @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
++ r=`${PWD_COMMAND}`; export r; \
++ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
++ $(NORMAL_TARGET_EXPORTS) \
++ echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
++ for flag in $(EXTRA_TARGET_FLAGS); do \
++ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
++ done; \
++ (cd $(TARGET_SUBDIR)/boehm-gc && \
++ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
++ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
++ "RANLIB=$${RANLIB}" \
++ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
++ distclean) \
++ || exit 1
++
++@endif target-boehm-gc
++
++.PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
++maybe-maintainer-clean-target-boehm-gc:
++@if target-boehm-gc
++maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
++
++maintainer-clean-target-boehm-gc:
++ @: $(MAKE); $(unstage)
++ @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
++ r=`${PWD_COMMAND}`; export r; \
++ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
++ $(NORMAL_TARGET_EXPORTS) \
++ echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
++ for flag in $(EXTRA_TARGET_FLAGS); do \
++ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
++ done; \
++ (cd $(TARGET_SUBDIR)/boehm-gc && \
++ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
++ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
++ "RANLIB=$${RANLIB}" \
++ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
++ maintainer-clean) \
++ || exit 1
++
++@endif target-boehm-gc
++
++
++
++
++
++.PHONY: configure-target-rda maybe-configure-target-rda
++maybe-configure-target-rda:
++@if gcc-bootstrap
++configure-target-rda: stage_current
++@endif gcc-bootstrap
++@if target-rda
++maybe-configure-target-rda: configure-target-rda
++configure-target-rda:
++ @: $(MAKE); $(unstage)
++ @r=`${PWD_COMMAND}`; export r; \
++ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
++ echo "Checking multilib configuration for rda..."; \
++ $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
++ $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/rda/multilib.tmp 2> /dev/null ; \
++ if test -r $(TARGET_SUBDIR)/rda/multilib.out; then \
++ if cmp -s $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; then \
++ rm -f $(TARGET_SUBDIR)/rda/multilib.tmp; \
++ else \
++ rm -f $(TARGET_SUBDIR)/rda/Makefile; \
++ mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
++ fi; \
++ else \
++ mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
++ fi; \
++ test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
++ $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
++ $(NORMAL_TARGET_EXPORTS) \
++ echo Configuring in $(TARGET_SUBDIR)/rda; \
++ cd "$(TARGET_SUBDIR)/rda" || exit 1; \
++ case $(srcdir) in \
++ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
++ *) topdir=`echo $(TARGET_SUBDIR)/rda/ | \
++ sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
++ esac; \
++ srcdiroption="--srcdir=$${topdir}/rda"; \
++ libsrcdir="$$s/rda"; \
++ rm -f no-such-file || : ; \
++ CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
++ $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
++ --target=${target_alias} $${srcdiroption} \
++ || exit 1
++@endif target-rda
++
++
++
++
++
++.PHONY: all-target-rda maybe-all-target-rda
++maybe-all-target-rda:
++@if gcc-bootstrap
++all-target-rda: stage_current
++@endif gcc-bootstrap
++@if target-rda
++TARGET-target-rda=all
++maybe-all-target-rda: all-target-rda
++all-target-rda: configure-target-rda
++ @: $(MAKE); $(unstage)
++ @r=`${PWD_COMMAND}`; export r; \
++ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
++ $(NORMAL_TARGET_EXPORTS) \
++ (cd $(TARGET_SUBDIR)/rda && \
++ $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
++ $(TARGET-target-rda))
++@endif target-rda
++
++
++
++
++
++.PHONY: check-target-rda maybe-check-target-rda
++maybe-check-target-rda:
++@if target-rda
++maybe-check-target-rda: check-target-rda
++
++check-target-rda:
++ @: $(MAKE); $(unstage)
++ @r=`${PWD_COMMAND}`; export r; \
++ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
++ $(NORMAL_TARGET_EXPORTS) \
++ (cd $(TARGET_SUBDIR)/rda && \
++ $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
++
++@endif target-rda
++
++.PHONY: install-target-rda maybe-install-target-rda
++maybe-install-target-rda:
++@if target-rda
++maybe-install-target-rda: install-target-rda
++
++install-target-rda: installdirs
++ @: $(MAKE); $(unstage)
++ @r=`${PWD_COMMAND}`; export r; \
++ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
++ $(NORMAL_TARGET_EXPORTS) \
++ (cd $(TARGET_SUBDIR)/rda && \
++ $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
++
++@endif target-rda
++
++.PHONY: install-strip-target-rda maybe-install-strip-target-rda
++maybe-install-strip-target-rda:
++@if target-rda
++maybe-install-strip-target-rda: install-strip-target-rda
++
++install-strip-target-rda: installdirs
++ @: $(MAKE); $(unstage)
++ @r=`${PWD_COMMAND}`; export r; \
++ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
++ $(NORMAL_TARGET_EXPORTS) \
++ (cd $(TARGET_SUBDIR)/rda && \
++ $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
++
++@endif target-rda
++
++# Other targets (info, dvi, pdf, etc.)
++
++.PHONY: maybe-info-target-rda info-target-rda
++maybe-info-target-rda:
++@if target-rda
++maybe-info-target-rda: info-target-rda
++
++info-target-rda: \
++ configure-target-rda
++ @: $(MAKE); $(unstage)
++ @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
++ r=`${PWD_COMMAND}`; export r; \
++ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
++ $(NORMAL_TARGET_EXPORTS) \
++ echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
++ for flag in $(EXTRA_TARGET_FLAGS); do \
++ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
++ done; \
++ (cd $(TARGET_SUBDIR)/rda && \
++ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
++ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
++ "RANLIB=$${RANLIB}" \
++ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
++ info) \
++ || exit 1
++
++@endif target-rda
++
++.PHONY: maybe-dvi-target-rda dvi-target-rda
++maybe-dvi-target-rda:
++@if target-rda
++maybe-dvi-target-rda: dvi-target-rda
++
++dvi-target-rda: \
++ configure-target-rda
++ @: $(MAKE); $(unstage)
++ @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
++ r=`${PWD_COMMAND}`; export r; \
++ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
++ $(NORMAL_TARGET_EXPORTS) \
++ echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
++ for flag in $(EXTRA_TARGET_FLAGS); do \
++ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
++ done; \
++ (cd $(TARGET_SUBDIR)/rda && \
++ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
++ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
++ "RANLIB=$${RANLIB}" \
++ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
++ dvi) \
++ || exit 1
++
++@endif target-rda
++
++.PHONY: maybe-pdf-target-rda pdf-target-rda
++maybe-pdf-target-rda:
++@if target-rda
++maybe-pdf-target-rda: pdf-target-rda
++
++pdf-target-rda: \
++ configure-target-rda
+ @: $(MAKE); $(unstage)
+- @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
++ @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(NORMAL_TARGET_EXPORTS) \
+- echo "Doing pdf in $(TARGET_SUBDIR)/boehm-gc" ; \
++ echo "Doing pdf in $(TARGET_SUBDIR)/rda" ; \
+ for flag in $(EXTRA_TARGET_FLAGS); do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- (cd $(TARGET_SUBDIR)/boehm-gc && \
++ (cd $(TARGET_SUBDIR)/rda && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+@@ -37990,25 +39835,25 @@
+ pdf) \
+ || exit 1
+
+-@endif target-boehm-gc
++@endif target-rda
+
+-.PHONY: maybe-html-target-boehm-gc html-target-boehm-gc
+-maybe-html-target-boehm-gc:
+-@if target-boehm-gc
+-maybe-html-target-boehm-gc: html-target-boehm-gc
++.PHONY: maybe-html-target-rda html-target-rda
++maybe-html-target-rda:
++@if target-rda
++maybe-html-target-rda: html-target-rda
+
+-html-target-boehm-gc: \
+- configure-target-boehm-gc
++html-target-rda: \
++ configure-target-rda
+ @: $(MAKE); $(unstage)
+- @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
++ @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(NORMAL_TARGET_EXPORTS) \
+- echo "Doing html in $(TARGET_SUBDIR)/boehm-gc" ; \
++ echo "Doing html in $(TARGET_SUBDIR)/rda" ; \
+ for flag in $(EXTRA_TARGET_FLAGS); do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- (cd $(TARGET_SUBDIR)/boehm-gc && \
++ (cd $(TARGET_SUBDIR)/rda && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+@@ -38016,25 +39861,25 @@
+ html) \
+ || exit 1
+
+-@endif target-boehm-gc
++@endif target-rda
+
+-.PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
+-maybe-TAGS-target-boehm-gc:
+-@if target-boehm-gc
+-maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
++.PHONY: maybe-TAGS-target-rda TAGS-target-rda
++maybe-TAGS-target-rda:
++@if target-rda
++maybe-TAGS-target-rda: TAGS-target-rda
+
+-TAGS-target-boehm-gc: \
+- configure-target-boehm-gc
++TAGS-target-rda: \
++ configure-target-rda
+ @: $(MAKE); $(unstage)
+- @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
++ @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(NORMAL_TARGET_EXPORTS) \
+- echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
++ echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
+ for flag in $(EXTRA_TARGET_FLAGS); do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- (cd $(TARGET_SUBDIR)/boehm-gc && \
++ (cd $(TARGET_SUBDIR)/rda && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+@@ -38042,26 +39887,26 @@
+ TAGS) \
+ || exit 1
+
+-@endif target-boehm-gc
++@endif target-rda
+
+-.PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
+-maybe-install-info-target-boehm-gc:
+-@if target-boehm-gc
+-maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
++.PHONY: maybe-install-info-target-rda install-info-target-rda
++maybe-install-info-target-rda:
++@if target-rda
++maybe-install-info-target-rda: install-info-target-rda
+
+-install-info-target-boehm-gc: \
+- configure-target-boehm-gc \
+- info-target-boehm-gc
++install-info-target-rda: \
++ configure-target-rda \
++ info-target-rda
+ @: $(MAKE); $(unstage)
+- @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
++ @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(NORMAL_TARGET_EXPORTS) \
+- echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
++ echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
+ for flag in $(EXTRA_TARGET_FLAGS); do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- (cd $(TARGET_SUBDIR)/boehm-gc && \
++ (cd $(TARGET_SUBDIR)/rda && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+@@ -38069,26 +39914,26 @@
+ install-info) \
+ || exit 1
+
+-@endif target-boehm-gc
++@endif target-rda
+
+-.PHONY: maybe-install-pdf-target-boehm-gc install-pdf-target-boehm-gc
+-maybe-install-pdf-target-boehm-gc:
+-@if target-boehm-gc
+-maybe-install-pdf-target-boehm-gc: install-pdf-target-boehm-gc
++.PHONY: maybe-install-pdf-target-rda install-pdf-target-rda
++maybe-install-pdf-target-rda:
++@if target-rda
++maybe-install-pdf-target-rda: install-pdf-target-rda
+
+-install-pdf-target-boehm-gc: \
+- configure-target-boehm-gc \
+- pdf-target-boehm-gc
++install-pdf-target-rda: \
++ configure-target-rda \
++ pdf-target-rda
+ @: $(MAKE); $(unstage)
+- @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
++ @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(NORMAL_TARGET_EXPORTS) \
+- echo "Doing install-pdf in $(TARGET_SUBDIR)/boehm-gc" ; \
++ echo "Doing install-pdf in $(TARGET_SUBDIR)/rda" ; \
+ for flag in $(EXTRA_TARGET_FLAGS); do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- (cd $(TARGET_SUBDIR)/boehm-gc && \
++ (cd $(TARGET_SUBDIR)/rda && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+@@ -38096,26 +39941,26 @@
+ install-pdf) \
+ || exit 1
+
+-@endif target-boehm-gc
++@endif target-rda
+
+-.PHONY: maybe-install-html-target-boehm-gc install-html-target-boehm-gc
+-maybe-install-html-target-boehm-gc:
+-@if target-boehm-gc
+-maybe-install-html-target-boehm-gc: install-html-target-boehm-gc
++.PHONY: maybe-install-html-target-rda install-html-target-rda
++maybe-install-html-target-rda:
++@if target-rda
++maybe-install-html-target-rda: install-html-target-rda
+
+-install-html-target-boehm-gc: \
+- configure-target-boehm-gc \
+- html-target-boehm-gc
++install-html-target-rda: \
++ configure-target-rda \
++ html-target-rda
+ @: $(MAKE); $(unstage)
+- @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
++ @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(NORMAL_TARGET_EXPORTS) \
+- echo "Doing install-html in $(TARGET_SUBDIR)/boehm-gc" ; \
++ echo "Doing install-html in $(TARGET_SUBDIR)/rda" ; \
+ for flag in $(EXTRA_TARGET_FLAGS); do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- (cd $(TARGET_SUBDIR)/boehm-gc && \
++ (cd $(TARGET_SUBDIR)/rda && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+@@ -38123,25 +39968,25 @@
+ install-html) \
+ || exit 1
+
+-@endif target-boehm-gc
++@endif target-rda
+
+-.PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
+-maybe-installcheck-target-boehm-gc:
+-@if target-boehm-gc
+-maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
++.PHONY: maybe-installcheck-target-rda installcheck-target-rda
++maybe-installcheck-target-rda:
++@if target-rda
++maybe-installcheck-target-rda: installcheck-target-rda
+
+-installcheck-target-boehm-gc: \
+- configure-target-boehm-gc
++installcheck-target-rda: \
++ configure-target-rda
+ @: $(MAKE); $(unstage)
+- @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
++ @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(NORMAL_TARGET_EXPORTS) \
+- echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
++ echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
+ for flag in $(EXTRA_TARGET_FLAGS); do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- (cd $(TARGET_SUBDIR)/boehm-gc && \
++ (cd $(TARGET_SUBDIR)/rda && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+@@ -38149,24 +39994,24 @@
+ installcheck) \
+ || exit 1
+
+-@endif target-boehm-gc
++@endif target-rda
+
+-.PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
+-maybe-mostlyclean-target-boehm-gc:
+-@if target-boehm-gc
+-maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
++.PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
++maybe-mostlyclean-target-rda:
++@if target-rda
++maybe-mostlyclean-target-rda: mostlyclean-target-rda
+
+-mostlyclean-target-boehm-gc:
++mostlyclean-target-rda:
+ @: $(MAKE); $(unstage)
+- @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
++ @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(NORMAL_TARGET_EXPORTS) \
+- echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
++ echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
+ for flag in $(EXTRA_TARGET_FLAGS); do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- (cd $(TARGET_SUBDIR)/boehm-gc && \
++ (cd $(TARGET_SUBDIR)/rda && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+@@ -38174,24 +40019,24 @@
+ mostlyclean) \
+ || exit 1
+
+-@endif target-boehm-gc
++@endif target-rda
+
+-.PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
+-maybe-clean-target-boehm-gc:
+-@if target-boehm-gc
+-maybe-clean-target-boehm-gc: clean-target-boehm-gc
++.PHONY: maybe-clean-target-rda clean-target-rda
++maybe-clean-target-rda:
++@if target-rda
++maybe-clean-target-rda: clean-target-rda
+
+-clean-target-boehm-gc:
++clean-target-rda:
+ @: $(MAKE); $(unstage)
+- @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
++ @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(NORMAL_TARGET_EXPORTS) \
+- echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
++ echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
+ for flag in $(EXTRA_TARGET_FLAGS); do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- (cd $(TARGET_SUBDIR)/boehm-gc && \
++ (cd $(TARGET_SUBDIR)/rda && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+@@ -38199,24 +40044,24 @@
+ clean) \
+ || exit 1
+
+-@endif target-boehm-gc
++@endif target-rda
+
+-.PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
+-maybe-distclean-target-boehm-gc:
+-@if target-boehm-gc
+-maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
++.PHONY: maybe-distclean-target-rda distclean-target-rda
++maybe-distclean-target-rda:
++@if target-rda
++maybe-distclean-target-rda: distclean-target-rda
+
+-distclean-target-boehm-gc:
++distclean-target-rda:
+ @: $(MAKE); $(unstage)
+- @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
++ @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(NORMAL_TARGET_EXPORTS) \
+- echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
++ echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
+ for flag in $(EXTRA_TARGET_FLAGS); do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- (cd $(TARGET_SUBDIR)/boehm-gc && \
++ (cd $(TARGET_SUBDIR)/rda && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+@@ -38224,24 +40069,24 @@
+ distclean) \
+ || exit 1
+
+-@endif target-boehm-gc
++@endif target-rda
+
+-.PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
+-maybe-maintainer-clean-target-boehm-gc:
+-@if target-boehm-gc
+-maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
++.PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
++maybe-maintainer-clean-target-rda:
++@if target-rda
++maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
+
+-maintainer-clean-target-boehm-gc:
++maintainer-clean-target-rda:
+ @: $(MAKE); $(unstage)
+- @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
++ @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(NORMAL_TARGET_EXPORTS) \
+- echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
++ echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
+ for flag in $(EXTRA_TARGET_FLAGS); do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- (cd $(TARGET_SUBDIR)/boehm-gc && \
++ (cd $(TARGET_SUBDIR)/rda && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+@@ -38249,145 +40094,145 @@
+ maintainer-clean) \
+ || exit 1
+
+-@endif target-boehm-gc
++@endif target-rda
+
+
+
+
+
+-.PHONY: configure-target-rda maybe-configure-target-rda
+-maybe-configure-target-rda:
++.PHONY: configure-target-libada maybe-configure-target-libada
++maybe-configure-target-libada:
+ @if gcc-bootstrap
+-configure-target-rda: stage_current
++configure-target-libada: stage_current
+ @endif gcc-bootstrap
+-@if target-rda
+-maybe-configure-target-rda: configure-target-rda
+-configure-target-rda:
++@if target-libada
++maybe-configure-target-libada: configure-target-libada
++configure-target-libada:
+ @: $(MAKE); $(unstage)
+ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+- echo "Checking multilib configuration for rda..."; \
+- $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
+- $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/rda/multilib.tmp 2> /dev/null ; \
+- if test -r $(TARGET_SUBDIR)/rda/multilib.out; then \
+- if cmp -s $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; then \
+- rm -f $(TARGET_SUBDIR)/rda/multilib.tmp; \
++ echo "Checking multilib configuration for libada..."; \
++ $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
++ $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libada/multilib.tmp 2> /dev/null ; \
++ if test -r $(TARGET_SUBDIR)/libada/multilib.out; then \
++ if cmp -s $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; then \
++ rm -f $(TARGET_SUBDIR)/libada/multilib.tmp; \
+ else \
+- rm -f $(TARGET_SUBDIR)/rda/Makefile; \
+- mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
++ rm -f $(TARGET_SUBDIR)/libada/Makefile; \
++ mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
+ fi; \
+ else \
+- mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
++ mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
+ fi; \
+- test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
+- $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
++ test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
++ $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
+ $(NORMAL_TARGET_EXPORTS) \
+- echo Configuring in $(TARGET_SUBDIR)/rda; \
+- cd "$(TARGET_SUBDIR)/rda" || exit 1; \
++ echo Configuring in $(TARGET_SUBDIR)/libada; \
++ cd "$(TARGET_SUBDIR)/libada" || exit 1; \
+ case $(srcdir) in \
+ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
+- *) topdir=`echo $(TARGET_SUBDIR)/rda/ | \
++ *) topdir=`echo $(TARGET_SUBDIR)/libada/ | \
+ sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
+ esac; \
+- srcdiroption="--srcdir=$${topdir}/rda"; \
+- libsrcdir="$$s/rda"; \
++ srcdiroption="--srcdir=$${topdir}/libada"; \
++ libsrcdir="$$s/libada"; \
+ rm -f no-such-file || : ; \
+ CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
+ $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
+ --target=${target_alias} $${srcdiroption} \
+ || exit 1
+-@endif target-rda
++@endif target-libada
+
+
+
+
+
+-.PHONY: all-target-rda maybe-all-target-rda
+-maybe-all-target-rda:
++.PHONY: all-target-libada maybe-all-target-libada
++maybe-all-target-libada:
+ @if gcc-bootstrap
+-all-target-rda: stage_current
++all-target-libada: stage_current
+ @endif gcc-bootstrap
+-@if target-rda
+-TARGET-target-rda=all
+-maybe-all-target-rda: all-target-rda
+-all-target-rda: configure-target-rda
++@if target-libada
++TARGET-target-libada=all
++maybe-all-target-libada: all-target-libada
++all-target-libada: configure-target-libada
+ @: $(MAKE); $(unstage)
+ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(NORMAL_TARGET_EXPORTS) \
+- (cd $(TARGET_SUBDIR)/rda && \
++ (cd $(TARGET_SUBDIR)/libada && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
+- $(TARGET-target-rda))
+-@endif target-rda
++ $(TARGET-target-libada))
++@endif target-libada
+
+
+
+
+
+-.PHONY: check-target-rda maybe-check-target-rda
+-maybe-check-target-rda:
+-@if target-rda
+-maybe-check-target-rda: check-target-rda
++.PHONY: check-target-libada maybe-check-target-libada
++maybe-check-target-libada:
++@if target-libada
++maybe-check-target-libada: check-target-libada
+
+-check-target-rda:
++check-target-libada:
+ @: $(MAKE); $(unstage)
+ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(NORMAL_TARGET_EXPORTS) \
+- (cd $(TARGET_SUBDIR)/rda && \
++ (cd $(TARGET_SUBDIR)/libada && \
+ $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
+
+-@endif target-rda
++@endif target-libada
+
+-.PHONY: install-target-rda maybe-install-target-rda
+-maybe-install-target-rda:
+-@if target-rda
+-maybe-install-target-rda: install-target-rda
++.PHONY: install-target-libada maybe-install-target-libada
++maybe-install-target-libada:
++@if target-libada
++maybe-install-target-libada: install-target-libada
+
+-install-target-rda: installdirs
++install-target-libada: installdirs
+ @: $(MAKE); $(unstage)
+ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(NORMAL_TARGET_EXPORTS) \
+- (cd $(TARGET_SUBDIR)/rda && \
++ (cd $(TARGET_SUBDIR)/libada && \
+ $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
+
+-@endif target-rda
++@endif target-libada
+
+-.PHONY: install-strip-target-rda maybe-install-strip-target-rda
+-maybe-install-strip-target-rda:
+-@if target-rda
+-maybe-install-strip-target-rda: install-strip-target-rda
++.PHONY: install-strip-target-libada maybe-install-strip-target-libada
++maybe-install-strip-target-libada:
++@if target-libada
++maybe-install-strip-target-libada: install-strip-target-libada
+
+-install-strip-target-rda: installdirs
++install-strip-target-libada: installdirs
+ @: $(MAKE); $(unstage)
+ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(NORMAL_TARGET_EXPORTS) \
+- (cd $(TARGET_SUBDIR)/rda && \
++ (cd $(TARGET_SUBDIR)/libada && \
+ $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
+
+-@endif target-rda
++@endif target-libada
+
+ # Other targets (info, dvi, pdf, etc.)
+
+-.PHONY: maybe-info-target-rda info-target-rda
+-maybe-info-target-rda:
+-@if target-rda
+-maybe-info-target-rda: info-target-rda
++.PHONY: maybe-info-target-libada info-target-libada
++maybe-info-target-libada:
++@if target-libada
++maybe-info-target-libada: info-target-libada
+
+-info-target-rda: \
+- configure-target-rda
++info-target-libada: \
++ configure-target-libada
+ @: $(MAKE); $(unstage)
+- @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
++ @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(NORMAL_TARGET_EXPORTS) \
+- echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
++ echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
+ for flag in $(EXTRA_TARGET_FLAGS); do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- (cd $(TARGET_SUBDIR)/rda && \
++ (cd $(TARGET_SUBDIR)/libada && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+@@ -38395,25 +40240,25 @@
+ info) \
+ || exit 1
+
+-@endif target-rda
++@endif target-libada
+
+-.PHONY: maybe-dvi-target-rda dvi-target-rda
+-maybe-dvi-target-rda:
+-@if target-rda
+-maybe-dvi-target-rda: dvi-target-rda
++.PHONY: maybe-dvi-target-libada dvi-target-libada
++maybe-dvi-target-libada:
++@if target-libada
++maybe-dvi-target-libada: dvi-target-libada
+
+-dvi-target-rda: \
+- configure-target-rda
++dvi-target-libada: \
++ configure-target-libada
+ @: $(MAKE); $(unstage)
+- @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
++ @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(NORMAL_TARGET_EXPORTS) \
+- echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
++ echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
+ for flag in $(EXTRA_TARGET_FLAGS); do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- (cd $(TARGET_SUBDIR)/rda && \
++ (cd $(TARGET_SUBDIR)/libada && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+@@ -38421,430 +40266,956 @@
+ dvi) \
+ || exit 1
+
+-@endif target-rda
++@endif target-libada
+
+-.PHONY: maybe-pdf-target-rda pdf-target-rda
+-maybe-pdf-target-rda:
+-@if target-rda
+-maybe-pdf-target-rda: pdf-target-rda
++.PHONY: maybe-pdf-target-libada pdf-target-libada
++maybe-pdf-target-libada:
++@if target-libada
++maybe-pdf-target-libada: pdf-target-libada
+
+-pdf-target-rda: \
+- configure-target-rda
++pdf-target-libada: \
++ configure-target-libada
+ @: $(MAKE); $(unstage)
+- @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
++ @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
++ r=`${PWD_COMMAND}`; export r; \
++ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
++ $(NORMAL_TARGET_EXPORTS) \
++ echo "Doing pdf in $(TARGET_SUBDIR)/libada" ; \
++ for flag in $(EXTRA_TARGET_FLAGS); do \
++ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
++ done; \
++ (cd $(TARGET_SUBDIR)/libada && \
++ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
++ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
++ "RANLIB=$${RANLIB}" \
++ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
++ pdf) \
++ || exit 1
++
++@endif target-libada
++
++.PHONY: maybe-html-target-libada html-target-libada
++maybe-html-target-libada:
++@if target-libada
++maybe-html-target-libada: html-target-libada
++
++html-target-libada: \
++ configure-target-libada
++ @: $(MAKE); $(unstage)
++ @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
++ r=`${PWD_COMMAND}`; export r; \
++ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
++ $(NORMAL_TARGET_EXPORTS) \
++ echo "Doing html in $(TARGET_SUBDIR)/libada" ; \
++ for flag in $(EXTRA_TARGET_FLAGS); do \
++ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
++ done; \
++ (cd $(TARGET_SUBDIR)/libada && \
++ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
++ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
++ "RANLIB=$${RANLIB}" \
++ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
++ html) \
++ || exit 1
++
++@endif target-libada
++
++.PHONY: maybe-TAGS-target-libada TAGS-target-libada
++maybe-TAGS-target-libada:
++@if target-libada
++maybe-TAGS-target-libada: TAGS-target-libada
++
++TAGS-target-libada: \
++ configure-target-libada
++ @: $(MAKE); $(unstage)
++ @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
++ r=`${PWD_COMMAND}`; export r; \
++ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
++ $(NORMAL_TARGET_EXPORTS) \
++ echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
++ for flag in $(EXTRA_TARGET_FLAGS); do \
++ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
++ done; \
++ (cd $(TARGET_SUBDIR)/libada && \
++ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
++ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
++ "RANLIB=$${RANLIB}" \
++ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
++ TAGS) \
++ || exit 1
++
++@endif target-libada
++
++.PHONY: maybe-install-info-target-libada install-info-target-libada
++maybe-install-info-target-libada:
++@if target-libada
++maybe-install-info-target-libada: install-info-target-libada
++
++install-info-target-libada: \
++ configure-target-libada \
++ info-target-libada
++ @: $(MAKE); $(unstage)
++ @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
++ r=`${PWD_COMMAND}`; export r; \
++ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
++ $(NORMAL_TARGET_EXPORTS) \
++ echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
++ for flag in $(EXTRA_TARGET_FLAGS); do \
++ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
++ done; \
++ (cd $(TARGET_SUBDIR)/libada && \
++ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
++ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
++ "RANLIB=$${RANLIB}" \
++ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
++ install-info) \
++ || exit 1
++
++@endif target-libada
++
++.PHONY: maybe-install-pdf-target-libada install-pdf-target-libada
++maybe-install-pdf-target-libada:
++@if target-libada
++maybe-install-pdf-target-libada: install-pdf-target-libada
++
++install-pdf-target-libada: \
++ configure-target-libada \
++ pdf-target-libada
++ @: $(MAKE); $(unstage)
++ @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
++ r=`${PWD_COMMAND}`; export r; \
++ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
++ $(NORMAL_TARGET_EXPORTS) \
++ echo "Doing install-pdf in $(TARGET_SUBDIR)/libada" ; \
++ for flag in $(EXTRA_TARGET_FLAGS); do \
++ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
++ done; \
++ (cd $(TARGET_SUBDIR)/libada && \
++ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
++ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
++ "RANLIB=$${RANLIB}" \
++ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
++ install-pdf) \
++ || exit 1
++
++@endif target-libada
++
++.PHONY: maybe-install-html-target-libada install-html-target-libada
++maybe-install-html-target-libada:
++@if target-libada
++maybe-install-html-target-libada: install-html-target-libada
++
++install-html-target-libada: \
++ configure-target-libada \
++ html-target-libada
++ @: $(MAKE); $(unstage)
++ @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(NORMAL_TARGET_EXPORTS) \
+- echo "Doing pdf in $(TARGET_SUBDIR)/rda" ; \
++ echo "Doing install-html in $(TARGET_SUBDIR)/libada" ; \
+ for flag in $(EXTRA_TARGET_FLAGS); do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- (cd $(TARGET_SUBDIR)/rda && \
++ (cd $(TARGET_SUBDIR)/libada && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
+- pdf) \
++ install-html) \
+ || exit 1
+
+-@endif target-rda
++@endif target-libada
+
+-.PHONY: maybe-html-target-rda html-target-rda
+-maybe-html-target-rda:
+-@if target-rda
+-maybe-html-target-rda: html-target-rda
++.PHONY: maybe-installcheck-target-libada installcheck-target-libada
++maybe-installcheck-target-libada:
++@if target-libada
++maybe-installcheck-target-libada: installcheck-target-libada
+
+-html-target-rda: \
+- configure-target-rda
++installcheck-target-libada: \
++ configure-target-libada
+ @: $(MAKE); $(unstage)
+- @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
++ @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(NORMAL_TARGET_EXPORTS) \
+- echo "Doing html in $(TARGET_SUBDIR)/rda" ; \
++ echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
+ for flag in $(EXTRA_TARGET_FLAGS); do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- (cd $(TARGET_SUBDIR)/rda && \
++ (cd $(TARGET_SUBDIR)/libada && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
+- html) \
++ installcheck) \
+ || exit 1
+
+-@endif target-rda
++@endif target-libada
+
+-.PHONY: maybe-TAGS-target-rda TAGS-target-rda
+-maybe-TAGS-target-rda:
+-@if target-rda
+-maybe-TAGS-target-rda: TAGS-target-rda
++.PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
++maybe-mostlyclean-target-libada:
++@if target-libada
++maybe-mostlyclean-target-libada: mostlyclean-target-libada
+
+-TAGS-target-rda: \
+- configure-target-rda
++mostlyclean-target-libada:
+ @: $(MAKE); $(unstage)
+- @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
++ @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(NORMAL_TARGET_EXPORTS) \
+- echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
++ echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
+ for flag in $(EXTRA_TARGET_FLAGS); do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- (cd $(TARGET_SUBDIR)/rda && \
++ (cd $(TARGET_SUBDIR)/libada && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
+- TAGS) \
++ mostlyclean) \
+ || exit 1
+
+-@endif target-rda
++@endif target-libada
+
+-.PHONY: maybe-install-info-target-rda install-info-target-rda
+-maybe-install-info-target-rda:
+-@if target-rda
+-maybe-install-info-target-rda: install-info-target-rda
++.PHONY: maybe-clean-target-libada clean-target-libada
++maybe-clean-target-libada:
++@if target-libada
++maybe-clean-target-libada: clean-target-libada
+
+-install-info-target-rda: \
+- configure-target-rda \
+- info-target-rda
++clean-target-libada:
+ @: $(MAKE); $(unstage)
+- @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
++ @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(NORMAL_TARGET_EXPORTS) \
+- echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
++ echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
+ for flag in $(EXTRA_TARGET_FLAGS); do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- (cd $(TARGET_SUBDIR)/rda && \
++ (cd $(TARGET_SUBDIR)/libada && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
+- install-info) \
++ clean) \
+ || exit 1
+
+-@endif target-rda
++@endif target-libada
+
+-.PHONY: maybe-install-pdf-target-rda install-pdf-target-rda
+-maybe-install-pdf-target-rda:
+-@if target-rda
+-maybe-install-pdf-target-rda: install-pdf-target-rda
++.PHONY: maybe-distclean-target-libada distclean-target-libada
++maybe-distclean-target-libada:
++@if target-libada
++maybe-distclean-target-libada: distclean-target-libada
+
+-install-pdf-target-rda: \
+- configure-target-rda \
+- pdf-target-rda
++distclean-target-libada:
+ @: $(MAKE); $(unstage)
+- @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
++ @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(NORMAL_TARGET_EXPORTS) \
+- echo "Doing install-pdf in $(TARGET_SUBDIR)/rda" ; \
++ echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
+ for flag in $(EXTRA_TARGET_FLAGS); do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- (cd $(TARGET_SUBDIR)/rda && \
++ (cd $(TARGET_SUBDIR)/libada && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
+- install-pdf) \
++ distclean) \
+ || exit 1
+
+-@endif target-rda
++@endif target-libada
+
+-.PHONY: maybe-install-html-target-rda install-html-target-rda
+-maybe-install-html-target-rda:
+-@if target-rda
+-maybe-install-html-target-rda: install-html-target-rda
++.PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
++maybe-maintainer-clean-target-libada:
++@if target-libada
++maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
+
+-install-html-target-rda: \
+- configure-target-rda \
+- html-target-rda
++maintainer-clean-target-libada:
+ @: $(MAKE); $(unstage)
+- @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
++ @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(NORMAL_TARGET_EXPORTS) \
+- echo "Doing install-html in $(TARGET_SUBDIR)/rda" ; \
++ echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
+ for flag in $(EXTRA_TARGET_FLAGS); do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- (cd $(TARGET_SUBDIR)/rda && \
++ (cd $(TARGET_SUBDIR)/libada && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
+- install-html) \
++ maintainer-clean) \
+ || exit 1
+
+-@endif target-rda
++@endif target-libada
+
+-.PHONY: maybe-installcheck-target-rda installcheck-target-rda
+-maybe-installcheck-target-rda:
+-@if target-rda
+-maybe-installcheck-target-rda: installcheck-target-rda
+
+-installcheck-target-rda: \
+- configure-target-rda
+- @: $(MAKE); $(unstage)
+- @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
+- r=`${PWD_COMMAND}`; export r; \
++
++
++
++.PHONY: configure-target-libgomp maybe-configure-target-libgomp
++maybe-configure-target-libgomp:
++@if gcc-bootstrap
++configure-target-libgomp: stage_current
++@endif gcc-bootstrap
++@if target-libgomp
++maybe-configure-target-libgomp: configure-target-libgomp
++configure-target-libgomp:
++ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+- $(NORMAL_TARGET_EXPORTS) \
+- echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
+- for flag in $(EXTRA_TARGET_FLAGS); do \
+- eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+- done; \
+- (cd $(TARGET_SUBDIR)/rda && \
+- $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+- "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+- "RANLIB=$${RANLIB}" \
+- "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
+- installcheck) \
++ echo "Checking multilib configuration for libgomp..."; \
++ $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
++ $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
++ if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
++ if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
++ rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
++ else \
++ rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
++ mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
++ fi; \
++ else \
++ mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
++ fi; \
++ test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
++ $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
++ $(NORMAL_TARGET_EXPORTS) \
++ echo Configuring in $(TARGET_SUBDIR)/libgomp; \
++ cd "$(TARGET_SUBDIR)/libgomp" || exit 1; \
++ case $(srcdir) in \
++ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
++ *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
++ sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
++ esac; \
++ srcdiroption="--srcdir=$${topdir}/libgomp"; \
++ libsrcdir="$$s/libgomp"; \
++ rm -f no-such-file || : ; \
++ CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
++ $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
++ --target=${target_alias} $${srcdiroption} \
+ || exit 1
++@endif target-libgomp
+
+-@endif target-rda
+
+-.PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
+-maybe-mostlyclean-target-rda:
+-@if target-rda
+-maybe-mostlyclean-target-rda: mostlyclean-target-rda
+
+-mostlyclean-target-rda:
+- @: $(MAKE); $(unstage)
+- @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
+- r=`${PWD_COMMAND}`; export r; \
++.PHONY: configure-stage1-target-libgomp maybe-configure-stage1-target-libgomp
++maybe-configure-stage1-target-libgomp:
++@if target-libgomp-bootstrap
++maybe-configure-stage1-target-libgomp: configure-stage1-target-libgomp
++configure-stage1-target-libgomp:
++ @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
++ @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
++ @r=`${PWD_COMMAND}`; export r; \
++ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
++ TFLAGS="$(STAGE1_TFLAGS)"; \
++ echo "Checking multilib configuration for libgomp..."; \
++ $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
++ if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
++ if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
++ rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
++ else \
++ rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
++ mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
++ fi; \
++ else \
++ mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
++ fi; \
++ test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
++ $(NORMAL_TARGET_EXPORTS) \
++ CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
++ CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
++ LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
++ echo Configuring stage 1 in $(TARGET_SUBDIR)/libgomp ; \
++ $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
++ cd $(TARGET_SUBDIR)/libgomp || exit 1; \
++ case $(srcdir) in \
++ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
++ *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
++ sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
++ esac; \
++ srcdiroption="--srcdir=$${topdir}/libgomp"; \
++ libsrcdir="$$s/libgomp"; \
++ $(SHELL) $${libsrcdir}/configure \
++ $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
++ --target=${target_alias} $${srcdiroption} \
++ $(STAGE1_CONFIGURE_FLAGS)
++@endif target-libgomp-bootstrap
++
++.PHONY: configure-stage2-target-libgomp maybe-configure-stage2-target-libgomp
++maybe-configure-stage2-target-libgomp:
++@if target-libgomp-bootstrap
++maybe-configure-stage2-target-libgomp: configure-stage2-target-libgomp
++configure-stage2-target-libgomp:
++ @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
++ @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
++ @r=`${PWD_COMMAND}`; export r; \
++ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
++ TFLAGS="$(STAGE2_TFLAGS)"; \
++ echo "Checking multilib configuration for libgomp..."; \
++ $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
++ if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
++ if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
++ rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
++ else \
++ rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
++ mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
++ fi; \
++ else \
++ mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
++ fi; \
++ test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
++ $(NORMAL_TARGET_EXPORTS) \
++ \
++ CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
++ CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
++ LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
++ echo Configuring stage 2 in $(TARGET_SUBDIR)/libgomp ; \
++ $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
++ cd $(TARGET_SUBDIR)/libgomp || exit 1; \
++ case $(srcdir) in \
++ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
++ *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
++ sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
++ esac; \
++ srcdiroption="--srcdir=$${topdir}/libgomp"; \
++ libsrcdir="$$s/libgomp"; \
++ $(SHELL) $${libsrcdir}/configure \
++ $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
++ --target=${target_alias} $${srcdiroption} \
++ --with-build-libsubdir=$(HOST_SUBDIR) \
++ $(STAGE2_CONFIGURE_FLAGS)
++@endif target-libgomp-bootstrap
++
++.PHONY: configure-stage3-target-libgomp maybe-configure-stage3-target-libgomp
++maybe-configure-stage3-target-libgomp:
++@if target-libgomp-bootstrap
++maybe-configure-stage3-target-libgomp: configure-stage3-target-libgomp
++configure-stage3-target-libgomp:
++ @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
++ @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
++ @r=`${PWD_COMMAND}`; export r; \
++ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
++ TFLAGS="$(STAGE3_TFLAGS)"; \
++ echo "Checking multilib configuration for libgomp..."; \
++ $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
++ if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
++ if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
++ rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
++ else \
++ rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
++ mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
++ fi; \
++ else \
++ mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
++ fi; \
++ test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
++ $(NORMAL_TARGET_EXPORTS) \
++ \
++ CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
++ CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
++ LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
++ echo Configuring stage 3 in $(TARGET_SUBDIR)/libgomp ; \
++ $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
++ cd $(TARGET_SUBDIR)/libgomp || exit 1; \
++ case $(srcdir) in \
++ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
++ *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
++ sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
++ esac; \
++ srcdiroption="--srcdir=$${topdir}/libgomp"; \
++ libsrcdir="$$s/libgomp"; \
++ $(SHELL) $${libsrcdir}/configure \
++ $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
++ --target=${target_alias} $${srcdiroption} \
++ --with-build-libsubdir=$(HOST_SUBDIR) \
++ $(STAGE3_CONFIGURE_FLAGS)
++@endif target-libgomp-bootstrap
++
++.PHONY: configure-stage4-target-libgomp maybe-configure-stage4-target-libgomp
++maybe-configure-stage4-target-libgomp:
++@if target-libgomp-bootstrap
++maybe-configure-stage4-target-libgomp: configure-stage4-target-libgomp
++configure-stage4-target-libgomp:
++ @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
++ @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
++ @r=`${PWD_COMMAND}`; export r; \
++ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
++ TFLAGS="$(STAGE4_TFLAGS)"; \
++ echo "Checking multilib configuration for libgomp..."; \
++ $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
++ if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
++ if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
++ rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
++ else \
++ rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
++ mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
++ fi; \
++ else \
++ mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
++ fi; \
++ test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
++ $(NORMAL_TARGET_EXPORTS) \
++ \
++ CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
++ CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
++ LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
++ echo Configuring stage 4 in $(TARGET_SUBDIR)/libgomp ; \
++ $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
++ cd $(TARGET_SUBDIR)/libgomp || exit 1; \
++ case $(srcdir) in \
++ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
++ *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
++ sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
++ esac; \
++ srcdiroption="--srcdir=$${topdir}/libgomp"; \
++ libsrcdir="$$s/libgomp"; \
++ $(SHELL) $${libsrcdir}/configure \
++ $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
++ --target=${target_alias} $${srcdiroption} \
++ --with-build-libsubdir=$(HOST_SUBDIR) \
++ $(STAGE4_CONFIGURE_FLAGS)
++@endif target-libgomp-bootstrap
++
++.PHONY: configure-stageprofile-target-libgomp maybe-configure-stageprofile-target-libgomp
++maybe-configure-stageprofile-target-libgomp:
++@if target-libgomp-bootstrap
++maybe-configure-stageprofile-target-libgomp: configure-stageprofile-target-libgomp
++configure-stageprofile-target-libgomp:
++ @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
++ @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
++ @r=`${PWD_COMMAND}`; export r; \
++ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
++ TFLAGS="$(STAGEprofile_TFLAGS)"; \
++ echo "Checking multilib configuration for libgomp..."; \
++ $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
++ if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
++ if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
++ rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
++ else \
++ rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
++ mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
++ fi; \
++ else \
++ mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
++ fi; \
++ test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
++ $(NORMAL_TARGET_EXPORTS) \
++ \
++ CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
++ CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
++ LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
++ echo Configuring stage profile in $(TARGET_SUBDIR)/libgomp ; \
++ $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
++ cd $(TARGET_SUBDIR)/libgomp || exit 1; \
++ case $(srcdir) in \
++ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
++ *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
++ sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
++ esac; \
++ srcdiroption="--srcdir=$${topdir}/libgomp"; \
++ libsrcdir="$$s/libgomp"; \
++ $(SHELL) $${libsrcdir}/configure \
++ $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
++ --target=${target_alias} $${srcdiroption} \
++ --with-build-libsubdir=$(HOST_SUBDIR) \
++ $(STAGEprofile_CONFIGURE_FLAGS)
++@endif target-libgomp-bootstrap
++
++.PHONY: configure-stagefeedback-target-libgomp maybe-configure-stagefeedback-target-libgomp
++maybe-configure-stagefeedback-target-libgomp:
++@if target-libgomp-bootstrap
++maybe-configure-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp
++configure-stagefeedback-target-libgomp:
++ @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
++ @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
++ @r=`${PWD_COMMAND}`; export r; \
++ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
++ TFLAGS="$(STAGEfeedback_TFLAGS)"; \
++ echo "Checking multilib configuration for libgomp..."; \
++ $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
++ if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
++ if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
++ rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
++ else \
++ rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
++ mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
++ fi; \
++ else \
++ mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
++ fi; \
++ test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
++ $(NORMAL_TARGET_EXPORTS) \
++ \
++ CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
++ CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
++ LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
++ echo Configuring stage feedback in $(TARGET_SUBDIR)/libgomp ; \
++ $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
++ cd $(TARGET_SUBDIR)/libgomp || exit 1; \
++ case $(srcdir) in \
++ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
++ *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
++ sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
++ esac; \
++ srcdiroption="--srcdir=$${topdir}/libgomp"; \
++ libsrcdir="$$s/libgomp"; \
++ $(SHELL) $${libsrcdir}/configure \
++ $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
++ --target=${target_alias} $${srcdiroption} \
++ --with-build-libsubdir=$(HOST_SUBDIR) \
++ $(STAGEfeedback_CONFIGURE_FLAGS)
++@endif target-libgomp-bootstrap
++
++
++
++
++
++.PHONY: all-target-libgomp maybe-all-target-libgomp
++maybe-all-target-libgomp:
++@if gcc-bootstrap
++all-target-libgomp: stage_current
++@endif gcc-bootstrap
++@if target-libgomp
++TARGET-target-libgomp=all
++maybe-all-target-libgomp: all-target-libgomp
++all-target-libgomp: configure-target-libgomp
++ @r=`${PWD_COMMAND}`; export r; \
++ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
++ $(NORMAL_TARGET_EXPORTS) \
++ (cd $(TARGET_SUBDIR)/libgomp && \
++ $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
++ $(TARGET-target-libgomp))
++@endif target-libgomp
++
++
++
++.PHONY: all-stage1-target-libgomp maybe-all-stage1-target-libgomp
++.PHONY: clean-stage1-target-libgomp maybe-clean-stage1-target-libgomp
++maybe-all-stage1-target-libgomp:
++maybe-clean-stage1-target-libgomp:
++@if target-libgomp-bootstrap
++maybe-all-stage1-target-libgomp: all-stage1-target-libgomp
++all-stage1: all-stage1-target-libgomp
++TARGET-stage1-target-libgomp = $(TARGET-target-libgomp)
++all-stage1-target-libgomp: configure-stage1-target-libgomp
++ @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
++ @r=`${PWD_COMMAND}`; export r; \
++ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
++ TFLAGS="$(STAGE1_TFLAGS)"; \
++ $(NORMAL_TARGET_EXPORTS) \
++ cd $(TARGET_SUBDIR)/libgomp && \
++ $(MAKE) $(BASE_FLAGS_TO_PASS) \
++ CFLAGS="$(CFLAGS_FOR_TARGET)" \
++ CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
++ LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
++ CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
++ CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
++ LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
++ $(EXTRA_TARGET_FLAGS) \
++ TFLAGS="$(STAGE1_TFLAGS)" \
++ $(TARGET-stage1-target-libgomp)
++
++maybe-clean-stage1-target-libgomp: clean-stage1-target-libgomp
++clean-stage1: clean-stage1-target-libgomp
++clean-stage1-target-libgomp:
++ @if [ $(current_stage) = stage1 ]; then \
++ [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
++ else \
++ [ -f $(TARGET_SUBDIR)/stage1-libgomp/Makefile ] || exit 0; \
++ $(MAKE) stage1-start; \
++ fi; \
++ cd $(TARGET_SUBDIR)/libgomp && \
++ $(MAKE) $(EXTRA_TARGET_FLAGS) \
++ clean
++@endif target-libgomp-bootstrap
++
++
++.PHONY: all-stage2-target-libgomp maybe-all-stage2-target-libgomp
++.PHONY: clean-stage2-target-libgomp maybe-clean-stage2-target-libgomp
++maybe-all-stage2-target-libgomp:
++maybe-clean-stage2-target-libgomp:
++@if target-libgomp-bootstrap
++maybe-all-stage2-target-libgomp: all-stage2-target-libgomp
++all-stage2: all-stage2-target-libgomp
++TARGET-stage2-target-libgomp = $(TARGET-target-libgomp)
++all-stage2-target-libgomp: configure-stage2-target-libgomp
++ @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
++ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
++ TFLAGS="$(STAGE2_TFLAGS)"; \
+ $(NORMAL_TARGET_EXPORTS) \
+- echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
+- for flag in $(EXTRA_TARGET_FLAGS); do \
+- eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+- done; \
+- (cd $(TARGET_SUBDIR)/rda && \
+- $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+- "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+- "RANLIB=$${RANLIB}" \
+- "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
+- mostlyclean) \
+- || exit 1
++ \
++ cd $(TARGET_SUBDIR)/libgomp && \
++ $(MAKE) $(BASE_FLAGS_TO_PASS) \
++ CFLAGS="$(CFLAGS_FOR_TARGET)" \
++ CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
++ LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
++ CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
++ CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
++ LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
++ $(EXTRA_TARGET_FLAGS) \
++ TFLAGS="$(STAGE2_TFLAGS)" \
++ $(TARGET-stage2-target-libgomp)
+
+-@endif target-rda
++maybe-clean-stage2-target-libgomp: clean-stage2-target-libgomp
++clean-stage2: clean-stage2-target-libgomp
++clean-stage2-target-libgomp:
++ @if [ $(current_stage) = stage2 ]; then \
++ [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
++ else \
++ [ -f $(TARGET_SUBDIR)/stage2-libgomp/Makefile ] || exit 0; \
++ $(MAKE) stage2-start; \
++ fi; \
++ cd $(TARGET_SUBDIR)/libgomp && \
++ $(MAKE) $(EXTRA_TARGET_FLAGS) \
++ \
++ clean
++@endif target-libgomp-bootstrap
+
+-.PHONY: maybe-clean-target-rda clean-target-rda
+-maybe-clean-target-rda:
+-@if target-rda
+-maybe-clean-target-rda: clean-target-rda
+
+-clean-target-rda:
+- @: $(MAKE); $(unstage)
+- @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
+- r=`${PWD_COMMAND}`; export r; \
++.PHONY: all-stage3-target-libgomp maybe-all-stage3-target-libgomp
++.PHONY: clean-stage3-target-libgomp maybe-clean-stage3-target-libgomp
++maybe-all-stage3-target-libgomp:
++maybe-clean-stage3-target-libgomp:
++@if target-libgomp-bootstrap
++maybe-all-stage3-target-libgomp: all-stage3-target-libgomp
++all-stage3: all-stage3-target-libgomp
++TARGET-stage3-target-libgomp = $(TARGET-target-libgomp)
++all-stage3-target-libgomp: configure-stage3-target-libgomp
++ @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
++ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
++ TFLAGS="$(STAGE3_TFLAGS)"; \
+ $(NORMAL_TARGET_EXPORTS) \
+- echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
+- for flag in $(EXTRA_TARGET_FLAGS); do \
+- eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+- done; \
+- (cd $(TARGET_SUBDIR)/rda && \
+- $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+- "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+- "RANLIB=$${RANLIB}" \
+- "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
+- clean) \
+- || exit 1
++ \
++ cd $(TARGET_SUBDIR)/libgomp && \
++ $(MAKE) $(BASE_FLAGS_TO_PASS) \
++ CFLAGS="$(CFLAGS_FOR_TARGET)" \
++ CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
++ LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
++ CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
++ CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
++ LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
++ $(EXTRA_TARGET_FLAGS) \
++ TFLAGS="$(STAGE3_TFLAGS)" \
++ $(TARGET-stage3-target-libgomp)
+
+-@endif target-rda
++maybe-clean-stage3-target-libgomp: clean-stage3-target-libgomp
++clean-stage3: clean-stage3-target-libgomp
++clean-stage3-target-libgomp:
++ @if [ $(current_stage) = stage3 ]; then \
++ [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
++ else \
++ [ -f $(TARGET_SUBDIR)/stage3-libgomp/Makefile ] || exit 0; \
++ $(MAKE) stage3-start; \
++ fi; \
++ cd $(TARGET_SUBDIR)/libgomp && \
++ $(MAKE) $(EXTRA_TARGET_FLAGS) \
++ \
++ clean
++@endif target-libgomp-bootstrap
+
+-.PHONY: maybe-distclean-target-rda distclean-target-rda
+-maybe-distclean-target-rda:
+-@if target-rda
+-maybe-distclean-target-rda: distclean-target-rda
+
+-distclean-target-rda:
+- @: $(MAKE); $(unstage)
+- @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
+- r=`${PWD_COMMAND}`; export r; \
++.PHONY: all-stage4-target-libgomp maybe-all-stage4-target-libgomp
++.PHONY: clean-stage4-target-libgomp maybe-clean-stage4-target-libgomp
++maybe-all-stage4-target-libgomp:
++maybe-clean-stage4-target-libgomp:
++@if target-libgomp-bootstrap
++maybe-all-stage4-target-libgomp: all-stage4-target-libgomp
++all-stage4: all-stage4-target-libgomp
++TARGET-stage4-target-libgomp = $(TARGET-target-libgomp)
++all-stage4-target-libgomp: configure-stage4-target-libgomp
++ @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
++ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
++ TFLAGS="$(STAGE4_TFLAGS)"; \
+ $(NORMAL_TARGET_EXPORTS) \
+- echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
+- for flag in $(EXTRA_TARGET_FLAGS); do \
+- eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+- done; \
+- (cd $(TARGET_SUBDIR)/rda && \
+- $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+- "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+- "RANLIB=$${RANLIB}" \
+- "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
+- distclean) \
+- || exit 1
++ \
++ cd $(TARGET_SUBDIR)/libgomp && \
++ $(MAKE) $(BASE_FLAGS_TO_PASS) \
++ CFLAGS="$(CFLAGS_FOR_TARGET)" \
++ CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
++ LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
++ CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
++ CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
++ LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
++ $(EXTRA_TARGET_FLAGS) \
++ TFLAGS="$(STAGE4_TFLAGS)" \
++ $(TARGET-stage4-target-libgomp)
+
+-@endif target-rda
++maybe-clean-stage4-target-libgomp: clean-stage4-target-libgomp
++clean-stage4: clean-stage4-target-libgomp
++clean-stage4-target-libgomp:
++ @if [ $(current_stage) = stage4 ]; then \
++ [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
++ else \
++ [ -f $(TARGET_SUBDIR)/stage4-libgomp/Makefile ] || exit 0; \
++ $(MAKE) stage4-start; \
++ fi; \
++ cd $(TARGET_SUBDIR)/libgomp && \
++ $(MAKE) $(EXTRA_TARGET_FLAGS) \
++ \
++ clean
++@endif target-libgomp-bootstrap
+
+-.PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
+-maybe-maintainer-clean-target-rda:
+-@if target-rda
+-maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
+
+-maintainer-clean-target-rda:
+- @: $(MAKE); $(unstage)
+- @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
+- r=`${PWD_COMMAND}`; export r; \
++.PHONY: all-stageprofile-target-libgomp maybe-all-stageprofile-target-libgomp
++.PHONY: clean-stageprofile-target-libgomp maybe-clean-stageprofile-target-libgomp
++maybe-all-stageprofile-target-libgomp:
++maybe-clean-stageprofile-target-libgomp:
++@if target-libgomp-bootstrap
++maybe-all-stageprofile-target-libgomp: all-stageprofile-target-libgomp
++all-stageprofile: all-stageprofile-target-libgomp
++TARGET-stageprofile-target-libgomp = $(TARGET-target-libgomp)
++all-stageprofile-target-libgomp: configure-stageprofile-target-libgomp
++ @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
++ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
++ TFLAGS="$(STAGEprofile_TFLAGS)"; \
+ $(NORMAL_TARGET_EXPORTS) \
+- echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
+- for flag in $(EXTRA_TARGET_FLAGS); do \
+- eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+- done; \
+- (cd $(TARGET_SUBDIR)/rda && \
+- $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+- "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+- "RANLIB=$${RANLIB}" \
+- "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
+- maintainer-clean) \
+- || exit 1
+-
+-@endif target-rda
+-
+-
++ \
++ cd $(TARGET_SUBDIR)/libgomp && \
++ $(MAKE) $(BASE_FLAGS_TO_PASS) \
++ CFLAGS="$(CFLAGS_FOR_TARGET)" \
++ CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
++ LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
++ CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
++ CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
++ LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
++ $(EXTRA_TARGET_FLAGS) \
++ TFLAGS="$(STAGEprofile_TFLAGS)" \
++ $(TARGET-stageprofile-target-libgomp)
+
++maybe-clean-stageprofile-target-libgomp: clean-stageprofile-target-libgomp
++clean-stageprofile: clean-stageprofile-target-libgomp
++clean-stageprofile-target-libgomp:
++ @if [ $(current_stage) = stageprofile ]; then \
++ [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
++ else \
++ [ -f $(TARGET_SUBDIR)/stageprofile-libgomp/Makefile ] || exit 0; \
++ $(MAKE) stageprofile-start; \
++ fi; \
++ cd $(TARGET_SUBDIR)/libgomp && \
++ $(MAKE) $(EXTRA_TARGET_FLAGS) \
++ \
++ clean
++@endif target-libgomp-bootstrap
+
+
+-.PHONY: configure-target-libada maybe-configure-target-libada
+-maybe-configure-target-libada:
+-@if gcc-bootstrap
+-configure-target-libada: stage_current
+-@endif gcc-bootstrap
+-@if target-libada
+-maybe-configure-target-libada: configure-target-libada
+-configure-target-libada:
+- @: $(MAKE); $(unstage)
++.PHONY: all-stagefeedback-target-libgomp maybe-all-stagefeedback-target-libgomp
++.PHONY: clean-stagefeedback-target-libgomp maybe-clean-stagefeedback-target-libgomp
++maybe-all-stagefeedback-target-libgomp:
++maybe-clean-stagefeedback-target-libgomp:
++@if target-libgomp-bootstrap
++maybe-all-stagefeedback-target-libgomp: all-stagefeedback-target-libgomp
++all-stagefeedback: all-stagefeedback-target-libgomp
++TARGET-stagefeedback-target-libgomp = $(TARGET-target-libgomp)
++all-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp
++ @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
+ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+- echo "Checking multilib configuration for libada..."; \
+- $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
+- $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libada/multilib.tmp 2> /dev/null ; \
+- if test -r $(TARGET_SUBDIR)/libada/multilib.out; then \
+- if cmp -s $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; then \
+- rm -f $(TARGET_SUBDIR)/libada/multilib.tmp; \
+- else \
+- rm -f $(TARGET_SUBDIR)/libada/Makefile; \
+- mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
+- fi; \
++ TFLAGS="$(STAGEfeedback_TFLAGS)"; \
++ $(NORMAL_TARGET_EXPORTS) \
++ \
++ cd $(TARGET_SUBDIR)/libgomp && \
++ $(MAKE) $(BASE_FLAGS_TO_PASS) \
++ CFLAGS="$(CFLAGS_FOR_TARGET)" \
++ CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
++ LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
++ CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
++ CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
++ LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
++ $(EXTRA_TARGET_FLAGS) \
++ TFLAGS="$(STAGEfeedback_TFLAGS)" \
++ $(TARGET-stagefeedback-target-libgomp)
++
++maybe-clean-stagefeedback-target-libgomp: clean-stagefeedback-target-libgomp
++clean-stagefeedback: clean-stagefeedback-target-libgomp
++clean-stagefeedback-target-libgomp:
++ @if [ $(current_stage) = stagefeedback ]; then \
++ [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
+ else \
+- mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
++ [ -f $(TARGET_SUBDIR)/stagefeedback-libgomp/Makefile ] || exit 0; \
++ $(MAKE) stagefeedback-start; \
+ fi; \
+- test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
+- $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
+- $(NORMAL_TARGET_EXPORTS) \
+- echo Configuring in $(TARGET_SUBDIR)/libada; \
+- cd "$(TARGET_SUBDIR)/libada" || exit 1; \
+- case $(srcdir) in \
+- /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
+- *) topdir=`echo $(TARGET_SUBDIR)/libada/ | \
+- sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
+- esac; \
+- srcdiroption="--srcdir=$${topdir}/libada"; \
+- libsrcdir="$$s/libada"; \
+- rm -f no-such-file || : ; \
+- CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
+- $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
+- --target=${target_alias} $${srcdiroption} \
+- || exit 1
+-@endif target-libada
+-
+-
+-
+-
++ cd $(TARGET_SUBDIR)/libgomp && \
++ $(MAKE) $(EXTRA_TARGET_FLAGS) \
++ \
++ clean
++@endif target-libgomp-bootstrap
+
+-.PHONY: all-target-libada maybe-all-target-libada
+-maybe-all-target-libada:
+-@if gcc-bootstrap
+-all-target-libada: stage_current
+-@endif gcc-bootstrap
+-@if target-libada
+-TARGET-target-libada=all
+-maybe-all-target-libada: all-target-libada
+-all-target-libada: configure-target-libada
+- @: $(MAKE); $(unstage)
+- @r=`${PWD_COMMAND}`; export r; \
+- s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+- $(NORMAL_TARGET_EXPORTS) \
+- (cd $(TARGET_SUBDIR)/libada && \
+- $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
+- $(TARGET-target-libada))
+-@endif target-libada
+
+
+
+
+
+-.PHONY: check-target-libada maybe-check-target-libada
+-maybe-check-target-libada:
+-@if target-libada
+-maybe-check-target-libada: check-target-libada
++.PHONY: check-target-libgomp maybe-check-target-libgomp
++maybe-check-target-libgomp:
++@if target-libgomp
++maybe-check-target-libgomp: check-target-libgomp
+
+-check-target-libada:
++check-target-libgomp:
+ @: $(MAKE); $(unstage)
+ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(NORMAL_TARGET_EXPORTS) \
+- (cd $(TARGET_SUBDIR)/libada && \
++ (cd $(TARGET_SUBDIR)/libgomp && \
+ $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
+
+-@endif target-libada
++@endif target-libgomp
+
+-.PHONY: install-target-libada maybe-install-target-libada
+-maybe-install-target-libada:
+-@if target-libada
+-maybe-install-target-libada: install-target-libada
++.PHONY: install-target-libgomp maybe-install-target-libgomp
++maybe-install-target-libgomp:
++@if target-libgomp
++maybe-install-target-libgomp: install-target-libgomp
+
+-install-target-libada: installdirs
++install-target-libgomp: installdirs
+ @: $(MAKE); $(unstage)
+ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(NORMAL_TARGET_EXPORTS) \
+- (cd $(TARGET_SUBDIR)/libada && \
++ (cd $(TARGET_SUBDIR)/libgomp && \
+ $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
+
+-@endif target-libada
++@endif target-libgomp
+
+-.PHONY: install-strip-target-libada maybe-install-strip-target-libada
+-maybe-install-strip-target-libada:
+-@if target-libada
+-maybe-install-strip-target-libada: install-strip-target-libada
++.PHONY: install-strip-target-libgomp maybe-install-strip-target-libgomp
++maybe-install-strip-target-libgomp:
++@if target-libgomp
++maybe-install-strip-target-libgomp: install-strip-target-libgomp
+
+-install-strip-target-libada: installdirs
++install-strip-target-libgomp: installdirs
+ @: $(MAKE); $(unstage)
+ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(NORMAL_TARGET_EXPORTS) \
+- (cd $(TARGET_SUBDIR)/libada && \
++ (cd $(TARGET_SUBDIR)/libgomp && \
+ $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
+
+-@endif target-libada
++@endif target-libgomp
+
+ # Other targets (info, dvi, pdf, etc.)
+
+-.PHONY: maybe-info-target-libada info-target-libada
+-maybe-info-target-libada:
+-@if target-libada
+-maybe-info-target-libada: info-target-libada
++.PHONY: maybe-info-target-libgomp info-target-libgomp
++maybe-info-target-libgomp:
++@if target-libgomp
++maybe-info-target-libgomp: info-target-libgomp
+
+-info-target-libada: \
+- configure-target-libada
++info-target-libgomp: \
++ configure-target-libgomp
+ @: $(MAKE); $(unstage)
+- @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
++ @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(NORMAL_TARGET_EXPORTS) \
+- echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
++ echo "Doing info in $(TARGET_SUBDIR)/libgomp" ; \
+ for flag in $(EXTRA_TARGET_FLAGS); do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- (cd $(TARGET_SUBDIR)/libada && \
++ (cd $(TARGET_SUBDIR)/libgomp && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+@@ -38852,25 +41223,25 @@
+ info) \
+ || exit 1
+
+-@endif target-libada
++@endif target-libgomp
+
+-.PHONY: maybe-dvi-target-libada dvi-target-libada
+-maybe-dvi-target-libada:
+-@if target-libada
+-maybe-dvi-target-libada: dvi-target-libada
++.PHONY: maybe-dvi-target-libgomp dvi-target-libgomp
++maybe-dvi-target-libgomp:
++@if target-libgomp
++maybe-dvi-target-libgomp: dvi-target-libgomp
+
+-dvi-target-libada: \
+- configure-target-libada
++dvi-target-libgomp: \
++ configure-target-libgomp
+ @: $(MAKE); $(unstage)
+- @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
++ @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(NORMAL_TARGET_EXPORTS) \
+- echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
++ echo "Doing dvi in $(TARGET_SUBDIR)/libgomp" ; \
+ for flag in $(EXTRA_TARGET_FLAGS); do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- (cd $(TARGET_SUBDIR)/libada && \
++ (cd $(TARGET_SUBDIR)/libgomp && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+@@ -38878,25 +41249,25 @@
+ dvi) \
+ || exit 1
+
+-@endif target-libada
++@endif target-libgomp
+
+-.PHONY: maybe-pdf-target-libada pdf-target-libada
+-maybe-pdf-target-libada:
+-@if target-libada
+-maybe-pdf-target-libada: pdf-target-libada
++.PHONY: maybe-pdf-target-libgomp pdf-target-libgomp
++maybe-pdf-target-libgomp:
++@if target-libgomp
++maybe-pdf-target-libgomp: pdf-target-libgomp
+
+-pdf-target-libada: \
+- configure-target-libada
++pdf-target-libgomp: \
++ configure-target-libgomp
+ @: $(MAKE); $(unstage)
+- @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
++ @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(NORMAL_TARGET_EXPORTS) \
+- echo "Doing pdf in $(TARGET_SUBDIR)/libada" ; \
++ echo "Doing pdf in $(TARGET_SUBDIR)/libgomp" ; \
+ for flag in $(EXTRA_TARGET_FLAGS); do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- (cd $(TARGET_SUBDIR)/libada && \
++ (cd $(TARGET_SUBDIR)/libgomp && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+@@ -38904,25 +41275,25 @@
+ pdf) \
+ || exit 1
+
+-@endif target-libada
++@endif target-libgomp
+
+-.PHONY: maybe-html-target-libada html-target-libada
+-maybe-html-target-libada:
+-@if target-libada
+-maybe-html-target-libada: html-target-libada
++.PHONY: maybe-html-target-libgomp html-target-libgomp
++maybe-html-target-libgomp:
++@if target-libgomp
++maybe-html-target-libgomp: html-target-libgomp
+
+-html-target-libada: \
+- configure-target-libada
++html-target-libgomp: \
++ configure-target-libgomp
+ @: $(MAKE); $(unstage)
+- @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
++ @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(NORMAL_TARGET_EXPORTS) \
+- echo "Doing html in $(TARGET_SUBDIR)/libada" ; \
++ echo "Doing html in $(TARGET_SUBDIR)/libgomp" ; \
+ for flag in $(EXTRA_TARGET_FLAGS); do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- (cd $(TARGET_SUBDIR)/libada && \
++ (cd $(TARGET_SUBDIR)/libgomp && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+@@ -38930,25 +41301,25 @@
+ html) \
+ || exit 1
+
+-@endif target-libada
++@endif target-libgomp
+
+-.PHONY: maybe-TAGS-target-libada TAGS-target-libada
+-maybe-TAGS-target-libada:
+-@if target-libada
+-maybe-TAGS-target-libada: TAGS-target-libada
++.PHONY: maybe-TAGS-target-libgomp TAGS-target-libgomp
++maybe-TAGS-target-libgomp:
++@if target-libgomp
++maybe-TAGS-target-libgomp: TAGS-target-libgomp
+
+-TAGS-target-libada: \
+- configure-target-libada
++TAGS-target-libgomp: \
++ configure-target-libgomp
+ @: $(MAKE); $(unstage)
+- @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
++ @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(NORMAL_TARGET_EXPORTS) \
+- echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
++ echo "Doing TAGS in $(TARGET_SUBDIR)/libgomp" ; \
+ for flag in $(EXTRA_TARGET_FLAGS); do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- (cd $(TARGET_SUBDIR)/libada && \
++ (cd $(TARGET_SUBDIR)/libgomp && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+@@ -38956,26 +41327,26 @@
+ TAGS) \
+ || exit 1
+
+-@endif target-libada
++@endif target-libgomp
+
+-.PHONY: maybe-install-info-target-libada install-info-target-libada
+-maybe-install-info-target-libada:
+-@if target-libada
+-maybe-install-info-target-libada: install-info-target-libada
++.PHONY: maybe-install-info-target-libgomp install-info-target-libgomp
++maybe-install-info-target-libgomp:
++@if target-libgomp
++maybe-install-info-target-libgomp: install-info-target-libgomp
+
+-install-info-target-libada: \
+- configure-target-libada \
+- info-target-libada
++install-info-target-libgomp: \
++ configure-target-libgomp \
++ info-target-libgomp
+ @: $(MAKE); $(unstage)
+- @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
++ @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(NORMAL_TARGET_EXPORTS) \
+- echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
++ echo "Doing install-info in $(TARGET_SUBDIR)/libgomp" ; \
+ for flag in $(EXTRA_TARGET_FLAGS); do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- (cd $(TARGET_SUBDIR)/libada && \
++ (cd $(TARGET_SUBDIR)/libgomp && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+@@ -38983,26 +41354,26 @@
+ install-info) \
+ || exit 1
+
+-@endif target-libada
++@endif target-libgomp
+
+-.PHONY: maybe-install-pdf-target-libada install-pdf-target-libada
+-maybe-install-pdf-target-libada:
+-@if target-libada
+-maybe-install-pdf-target-libada: install-pdf-target-libada
++.PHONY: maybe-install-pdf-target-libgomp install-pdf-target-libgomp
++maybe-install-pdf-target-libgomp:
++@if target-libgomp
++maybe-install-pdf-target-libgomp: install-pdf-target-libgomp
+
+-install-pdf-target-libada: \
+- configure-target-libada \
+- pdf-target-libada
++install-pdf-target-libgomp: \
++ configure-target-libgomp \
++ pdf-target-libgomp
+ @: $(MAKE); $(unstage)
+- @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
++ @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(NORMAL_TARGET_EXPORTS) \
+- echo "Doing install-pdf in $(TARGET_SUBDIR)/libada" ; \
++ echo "Doing install-pdf in $(TARGET_SUBDIR)/libgomp" ; \
+ for flag in $(EXTRA_TARGET_FLAGS); do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- (cd $(TARGET_SUBDIR)/libada && \
++ (cd $(TARGET_SUBDIR)/libgomp && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+@@ -39010,26 +41381,26 @@
+ install-pdf) \
+ || exit 1
+
+-@endif target-libada
++@endif target-libgomp
+
+-.PHONY: maybe-install-html-target-libada install-html-target-libada
+-maybe-install-html-target-libada:
+-@if target-libada
+-maybe-install-html-target-libada: install-html-target-libada
++.PHONY: maybe-install-html-target-libgomp install-html-target-libgomp
++maybe-install-html-target-libgomp:
++@if target-libgomp
++maybe-install-html-target-libgomp: install-html-target-libgomp
+
+-install-html-target-libada: \
+- configure-target-libada \
+- html-target-libada
++install-html-target-libgomp: \
++ configure-target-libgomp \
++ html-target-libgomp
+ @: $(MAKE); $(unstage)
+- @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
++ @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(NORMAL_TARGET_EXPORTS) \
+- echo "Doing install-html in $(TARGET_SUBDIR)/libada" ; \
++ echo "Doing install-html in $(TARGET_SUBDIR)/libgomp" ; \
+ for flag in $(EXTRA_TARGET_FLAGS); do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- (cd $(TARGET_SUBDIR)/libada && \
++ (cd $(TARGET_SUBDIR)/libgomp && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+@@ -39037,25 +41408,25 @@
+ install-html) \
+ || exit 1
+
+-@endif target-libada
++@endif target-libgomp
+
+-.PHONY: maybe-installcheck-target-libada installcheck-target-libada
+-maybe-installcheck-target-libada:
+-@if target-libada
+-maybe-installcheck-target-libada: installcheck-target-libada
++.PHONY: maybe-installcheck-target-libgomp installcheck-target-libgomp
++maybe-installcheck-target-libgomp:
++@if target-libgomp
++maybe-installcheck-target-libgomp: installcheck-target-libgomp
+
+-installcheck-target-libada: \
+- configure-target-libada
++installcheck-target-libgomp: \
++ configure-target-libgomp
+ @: $(MAKE); $(unstage)
+- @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
++ @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(NORMAL_TARGET_EXPORTS) \
+- echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
++ echo "Doing installcheck in $(TARGET_SUBDIR)/libgomp" ; \
+ for flag in $(EXTRA_TARGET_FLAGS); do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- (cd $(TARGET_SUBDIR)/libada && \
++ (cd $(TARGET_SUBDIR)/libgomp && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+@@ -39063,24 +41434,24 @@
+ installcheck) \
+ || exit 1
+
+-@endif target-libada
++@endif target-libgomp
+
+-.PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
+-maybe-mostlyclean-target-libada:
+-@if target-libada
+-maybe-mostlyclean-target-libada: mostlyclean-target-libada
++.PHONY: maybe-mostlyclean-target-libgomp mostlyclean-target-libgomp
++maybe-mostlyclean-target-libgomp:
++@if target-libgomp
++maybe-mostlyclean-target-libgomp: mostlyclean-target-libgomp
+
+-mostlyclean-target-libada:
++mostlyclean-target-libgomp:
+ @: $(MAKE); $(unstage)
+- @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
++ @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(NORMAL_TARGET_EXPORTS) \
+- echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
++ echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgomp" ; \
+ for flag in $(EXTRA_TARGET_FLAGS); do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- (cd $(TARGET_SUBDIR)/libada && \
++ (cd $(TARGET_SUBDIR)/libgomp && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+@@ -39088,24 +41459,24 @@
+ mostlyclean) \
+ || exit 1
+
+-@endif target-libada
++@endif target-libgomp
+
+-.PHONY: maybe-clean-target-libada clean-target-libada
+-maybe-clean-target-libada:
+-@if target-libada
+-maybe-clean-target-libada: clean-target-libada
++.PHONY: maybe-clean-target-libgomp clean-target-libgomp
++maybe-clean-target-libgomp:
++@if target-libgomp
++maybe-clean-target-libgomp: clean-target-libgomp
+
+-clean-target-libada:
++clean-target-libgomp:
+ @: $(MAKE); $(unstage)
+- @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
++ @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(NORMAL_TARGET_EXPORTS) \
+- echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
++ echo "Doing clean in $(TARGET_SUBDIR)/libgomp" ; \
+ for flag in $(EXTRA_TARGET_FLAGS); do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- (cd $(TARGET_SUBDIR)/libada && \
++ (cd $(TARGET_SUBDIR)/libgomp && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+@@ -39113,24 +41484,24 @@
+ clean) \
+ || exit 1
+
+-@endif target-libada
++@endif target-libgomp
+
+-.PHONY: maybe-distclean-target-libada distclean-target-libada
+-maybe-distclean-target-libada:
+-@if target-libada
+-maybe-distclean-target-libada: distclean-target-libada
++.PHONY: maybe-distclean-target-libgomp distclean-target-libgomp
++maybe-distclean-target-libgomp:
++@if target-libgomp
++maybe-distclean-target-libgomp: distclean-target-libgomp
+
+-distclean-target-libada:
++distclean-target-libgomp:
+ @: $(MAKE); $(unstage)
+- @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
++ @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(NORMAL_TARGET_EXPORTS) \
+- echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
++ echo "Doing distclean in $(TARGET_SUBDIR)/libgomp" ; \
+ for flag in $(EXTRA_TARGET_FLAGS); do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- (cd $(TARGET_SUBDIR)/libada && \
++ (cd $(TARGET_SUBDIR)/libgomp && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+@@ -39138,24 +41509,24 @@
+ distclean) \
+ || exit 1
+
+-@endif target-libada
++@endif target-libgomp
+
+-.PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
+-maybe-maintainer-clean-target-libada:
+-@if target-libada
+-maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
++.PHONY: maybe-maintainer-clean-target-libgomp maintainer-clean-target-libgomp
++maybe-maintainer-clean-target-libgomp:
++@if target-libgomp
++maybe-maintainer-clean-target-libgomp: maintainer-clean-target-libgomp
+
+-maintainer-clean-target-libada:
++maintainer-clean-target-libgomp:
+ @: $(MAKE); $(unstage)
+- @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
++ @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(NORMAL_TARGET_EXPORTS) \
+- echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
++ echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgomp" ; \
+ for flag in $(EXTRA_TARGET_FLAGS); do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- (cd $(TARGET_SUBDIR)/libada && \
++ (cd $(TARGET_SUBDIR)/libgomp && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+@@ -39163,671 +41534,602 @@
+ maintainer-clean) \
+ || exit 1
+
+-@endif target-libada
++@endif target-libgomp
+
+
+
+
+
+-.PHONY: configure-target-libgomp maybe-configure-target-libgomp
+-maybe-configure-target-libgomp:
++.PHONY: configure-target-libitm maybe-configure-target-libitm
++maybe-configure-target-libitm:
+ @if gcc-bootstrap
+-configure-target-libgomp: stage_current
++configure-target-libitm: stage_current
+ @endif gcc-bootstrap
+-@if target-libgomp
+-maybe-configure-target-libgomp: configure-target-libgomp
+-configure-target-libgomp:
++@if target-libitm
++maybe-configure-target-libitm: configure-target-libitm
++configure-target-libitm:
++ @: $(MAKE); $(unstage)
+ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+- echo "Checking multilib configuration for libgomp..."; \
+- $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
+- $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
+- if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
+- if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
+- rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
++ echo "Checking multilib configuration for libitm..."; \
++ $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libitm ; \
++ $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libitm/multilib.tmp 2> /dev/null ; \
++ if test -r $(TARGET_SUBDIR)/libitm/multilib.out; then \
++ if cmp -s $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; then \
++ rm -f $(TARGET_SUBDIR)/libitm/multilib.tmp; \
+ else \
+- rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
+- mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
++ rm -f $(TARGET_SUBDIR)/libitm/Makefile; \
++ mv $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; \
+ fi; \
+ else \
+- mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
++ mv $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; \
+ fi; \
+- test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
+- $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
++ test ! -f $(TARGET_SUBDIR)/libitm/Makefile || exit 0; \
++ $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libitm ; \
+ $(NORMAL_TARGET_EXPORTS) \
+- echo Configuring in $(TARGET_SUBDIR)/libgomp; \
+- cd "$(TARGET_SUBDIR)/libgomp" || exit 1; \
++ echo Configuring in $(TARGET_SUBDIR)/libitm; \
++ cd "$(TARGET_SUBDIR)/libitm" || exit 1; \
+ case $(srcdir) in \
+ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
+- *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
++ *) topdir=`echo $(TARGET_SUBDIR)/libitm/ | \
+ sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
+ esac; \
+- srcdiroption="--srcdir=$${topdir}/libgomp"; \
+- libsrcdir="$$s/libgomp"; \
++ srcdiroption="--srcdir=$${topdir}/libitm"; \
++ libsrcdir="$$s/libitm"; \
+ rm -f no-such-file || : ; \
+ CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
+ $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
+ --target=${target_alias} $${srcdiroption} \
+ || exit 1
+-@endif target-libgomp
++@endif target-libitm
+
+
+
+-.PHONY: configure-stage1-target-libgomp maybe-configure-stage1-target-libgomp
+-maybe-configure-stage1-target-libgomp:
+-@if target-libgomp-bootstrap
+-maybe-configure-stage1-target-libgomp: configure-stage1-target-libgomp
+-configure-stage1-target-libgomp:
+- @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
+- @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
++
++
++.PHONY: all-target-libitm maybe-all-target-libitm
++maybe-all-target-libitm:
++@if gcc-bootstrap
++all-target-libitm: stage_current
++@endif gcc-bootstrap
++@if target-libitm
++TARGET-target-libitm=all
++maybe-all-target-libitm: all-target-libitm
++all-target-libitm: configure-target-libitm
++ @: $(MAKE); $(unstage)
+ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+- TFLAGS="$(STAGE1_TFLAGS)"; \
+- echo "Checking multilib configuration for libgomp..."; \
+- $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
+- if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
+- if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
+- rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
+- else \
+- rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
+- mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
+- fi; \
+- else \
+- mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
+- fi; \
+- test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
+- $(NORMAL_TARGET_EXPORTS) \
+- CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
+- CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
+- LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
+- echo Configuring stage 1 in $(TARGET_SUBDIR)/libgomp ; \
+- $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
+- cd $(TARGET_SUBDIR)/libgomp || exit 1; \
+- case $(srcdir) in \
+- /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
+- *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
+- sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
+- esac; \
+- srcdiroption="--srcdir=$${topdir}/libgomp"; \
+- libsrcdir="$$s/libgomp"; \
+- $(SHELL) $${libsrcdir}/configure \
+- $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
+- --target=${target_alias} $${srcdiroption} \
+- $(STAGE1_CONFIGURE_FLAGS)
+-@endif target-libgomp-bootstrap
++ $(NORMAL_TARGET_EXPORTS) \
++ (cd $(TARGET_SUBDIR)/libitm && \
++ $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
++ $(TARGET-target-libitm))
++@endif target-libitm
+
+-.PHONY: configure-stage2-target-libgomp maybe-configure-stage2-target-libgomp
+-maybe-configure-stage2-target-libgomp:
+-@if target-libgomp-bootstrap
+-maybe-configure-stage2-target-libgomp: configure-stage2-target-libgomp
+-configure-stage2-target-libgomp:
+- @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
+- @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
++
++
++
++
++.PHONY: check-target-libitm maybe-check-target-libitm
++maybe-check-target-libitm:
++@if target-libitm
++maybe-check-target-libitm: check-target-libitm
++
++check-target-libitm:
++ @: $(MAKE); $(unstage)
+ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+- TFLAGS="$(STAGE2_TFLAGS)"; \
+- echo "Checking multilib configuration for libgomp..."; \
+- $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
+- if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
+- if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
+- rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
+- else \
+- rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
+- mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
+- fi; \
+- else \
+- mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
+- fi; \
+- test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
+ $(NORMAL_TARGET_EXPORTS) \
+- \
+- CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
+- CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
+- LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
+- echo Configuring stage 2 in $(TARGET_SUBDIR)/libgomp ; \
+- $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
+- cd $(TARGET_SUBDIR)/libgomp || exit 1; \
+- case $(srcdir) in \
+- /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
+- *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
+- sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
+- esac; \
+- srcdiroption="--srcdir=$${topdir}/libgomp"; \
+- libsrcdir="$$s/libgomp"; \
+- $(SHELL) $${libsrcdir}/configure \
+- $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
+- --target=${target_alias} $${srcdiroption} \
+- --with-build-libsubdir=$(HOST_SUBDIR) \
+- $(STAGE2_CONFIGURE_FLAGS)
+-@endif target-libgomp-bootstrap
++ (cd $(TARGET_SUBDIR)/libitm && \
++ $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
+
+-.PHONY: configure-stage3-target-libgomp maybe-configure-stage3-target-libgomp
+-maybe-configure-stage3-target-libgomp:
+-@if target-libgomp-bootstrap
+-maybe-configure-stage3-target-libgomp: configure-stage3-target-libgomp
+-configure-stage3-target-libgomp:
+- @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
+- @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
++@endif target-libitm
++
++.PHONY: install-target-libitm maybe-install-target-libitm
++maybe-install-target-libitm:
++@if target-libitm
++maybe-install-target-libitm: install-target-libitm
++
++install-target-libitm: installdirs
++ @: $(MAKE); $(unstage)
+ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+- TFLAGS="$(STAGE3_TFLAGS)"; \
+- echo "Checking multilib configuration for libgomp..."; \
+- $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
+- if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
+- if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
+- rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
+- else \
+- rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
+- mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
+- fi; \
+- else \
+- mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
+- fi; \
+- test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
+ $(NORMAL_TARGET_EXPORTS) \
+- \
+- CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
+- CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
+- LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
+- echo Configuring stage 3 in $(TARGET_SUBDIR)/libgomp ; \
+- $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
+- cd $(TARGET_SUBDIR)/libgomp || exit 1; \
+- case $(srcdir) in \
+- /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
+- *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
+- sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
+- esac; \
+- srcdiroption="--srcdir=$${topdir}/libgomp"; \
+- libsrcdir="$$s/libgomp"; \
+- $(SHELL) $${libsrcdir}/configure \
+- $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
+- --target=${target_alias} $${srcdiroption} \
+- --with-build-libsubdir=$(HOST_SUBDIR) \
+- $(STAGE3_CONFIGURE_FLAGS)
+-@endif target-libgomp-bootstrap
++ (cd $(TARGET_SUBDIR)/libitm && \
++ $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
+
+-.PHONY: configure-stage4-target-libgomp maybe-configure-stage4-target-libgomp
+-maybe-configure-stage4-target-libgomp:
+-@if target-libgomp-bootstrap
+-maybe-configure-stage4-target-libgomp: configure-stage4-target-libgomp
+-configure-stage4-target-libgomp:
+- @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
+- @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
++@endif target-libitm
++
++.PHONY: install-strip-target-libitm maybe-install-strip-target-libitm
++maybe-install-strip-target-libitm:
++@if target-libitm
++maybe-install-strip-target-libitm: install-strip-target-libitm
++
++install-strip-target-libitm: installdirs
++ @: $(MAKE); $(unstage)
+ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+- TFLAGS="$(STAGE4_TFLAGS)"; \
+- echo "Checking multilib configuration for libgomp..."; \
+- $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
+- if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
+- if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
+- rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
+- else \
+- rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
+- mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
+- fi; \
+- else \
+- mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
+- fi; \
+- test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
+ $(NORMAL_TARGET_EXPORTS) \
+- \
+- CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
+- CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
+- LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
+- echo Configuring stage 4 in $(TARGET_SUBDIR)/libgomp ; \
+- $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
+- cd $(TARGET_SUBDIR)/libgomp || exit 1; \
+- case $(srcdir) in \
+- /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
+- *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
+- sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
+- esac; \
+- srcdiroption="--srcdir=$${topdir}/libgomp"; \
+- libsrcdir="$$s/libgomp"; \
+- $(SHELL) $${libsrcdir}/configure \
+- $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
+- --target=${target_alias} $${srcdiroption} \
+- --with-build-libsubdir=$(HOST_SUBDIR) \
+- $(STAGE4_CONFIGURE_FLAGS)
+-@endif target-libgomp-bootstrap
++ (cd $(TARGET_SUBDIR)/libitm && \
++ $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
+
+-.PHONY: configure-stageprofile-target-libgomp maybe-configure-stageprofile-target-libgomp
+-maybe-configure-stageprofile-target-libgomp:
+-@if target-libgomp-bootstrap
+-maybe-configure-stageprofile-target-libgomp: configure-stageprofile-target-libgomp
+-configure-stageprofile-target-libgomp:
+- @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
+- @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
+- @r=`${PWD_COMMAND}`; export r; \
++@endif target-libitm
++
++# Other targets (info, dvi, pdf, etc.)
++
++.PHONY: maybe-info-target-libitm info-target-libitm
++maybe-info-target-libitm:
++@if target-libitm
++maybe-info-target-libitm: info-target-libitm
++
++info-target-libitm: \
++ configure-target-libitm
++ @: $(MAKE); $(unstage)
++ @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
++ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+- TFLAGS="$(STAGEprofile_TFLAGS)"; \
+- echo "Checking multilib configuration for libgomp..."; \
+- $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
+- if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
+- if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
+- rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
+- else \
+- rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
+- mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
+- fi; \
+- else \
+- mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
+- fi; \
+- test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
+ $(NORMAL_TARGET_EXPORTS) \
+- \
+- CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
+- CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
+- LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
+- echo Configuring stage profile in $(TARGET_SUBDIR)/libgomp ; \
+- $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
+- cd $(TARGET_SUBDIR)/libgomp || exit 1; \
+- case $(srcdir) in \
+- /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
+- *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
+- sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
+- esac; \
+- srcdiroption="--srcdir=$${topdir}/libgomp"; \
+- libsrcdir="$$s/libgomp"; \
+- $(SHELL) $${libsrcdir}/configure \
+- $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
+- --target=${target_alias} $${srcdiroption} \
+- --with-build-libsubdir=$(HOST_SUBDIR) \
+- $(STAGEprofile_CONFIGURE_FLAGS)
+-@endif target-libgomp-bootstrap
++ echo "Doing info in $(TARGET_SUBDIR)/libitm" ; \
++ for flag in $(EXTRA_TARGET_FLAGS); do \
++ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
++ done; \
++ (cd $(TARGET_SUBDIR)/libitm && \
++ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
++ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
++ "RANLIB=$${RANLIB}" \
++ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
++ info) \
++ || exit 1
+
+-.PHONY: configure-stagefeedback-target-libgomp maybe-configure-stagefeedback-target-libgomp
+-maybe-configure-stagefeedback-target-libgomp:
+-@if target-libgomp-bootstrap
+-maybe-configure-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp
+-configure-stagefeedback-target-libgomp:
+- @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
+- @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
+- @r=`${PWD_COMMAND}`; export r; \
++@endif target-libitm
++
++.PHONY: maybe-dvi-target-libitm dvi-target-libitm
++maybe-dvi-target-libitm:
++@if target-libitm
++maybe-dvi-target-libitm: dvi-target-libitm
++
++dvi-target-libitm: \
++ configure-target-libitm
++ @: $(MAKE); $(unstage)
++ @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
++ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+- TFLAGS="$(STAGEfeedback_TFLAGS)"; \
+- echo "Checking multilib configuration for libgomp..."; \
+- $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
+- if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
+- if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
+- rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
+- else \
+- rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
+- mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
+- fi; \
+- else \
+- mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
+- fi; \
+- test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
+ $(NORMAL_TARGET_EXPORTS) \
+- \
+- CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
+- CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
+- LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
+- echo Configuring stage feedback in $(TARGET_SUBDIR)/libgomp ; \
+- $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
+- cd $(TARGET_SUBDIR)/libgomp || exit 1; \
+- case $(srcdir) in \
+- /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
+- *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
+- sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
+- esac; \
+- srcdiroption="--srcdir=$${topdir}/libgomp"; \
+- libsrcdir="$$s/libgomp"; \
+- $(SHELL) $${libsrcdir}/configure \
+- $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
+- --target=${target_alias} $${srcdiroption} \
+- --with-build-libsubdir=$(HOST_SUBDIR) \
+- $(STAGEfeedback_CONFIGURE_FLAGS)
+-@endif target-libgomp-bootstrap
++ echo "Doing dvi in $(TARGET_SUBDIR)/libitm" ; \
++ for flag in $(EXTRA_TARGET_FLAGS); do \
++ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
++ done; \
++ (cd $(TARGET_SUBDIR)/libitm && \
++ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
++ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
++ "RANLIB=$${RANLIB}" \
++ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
++ dvi) \
++ || exit 1
++
++@endif target-libitm
++
++.PHONY: maybe-pdf-target-libitm pdf-target-libitm
++maybe-pdf-target-libitm:
++@if target-libitm
++maybe-pdf-target-libitm: pdf-target-libitm
++
++pdf-target-libitm: \
++ configure-target-libitm
++ @: $(MAKE); $(unstage)
++ @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
++ r=`${PWD_COMMAND}`; export r; \
++ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
++ $(NORMAL_TARGET_EXPORTS) \
++ echo "Doing pdf in $(TARGET_SUBDIR)/libitm" ; \
++ for flag in $(EXTRA_TARGET_FLAGS); do \
++ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
++ done; \
++ (cd $(TARGET_SUBDIR)/libitm && \
++ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
++ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
++ "RANLIB=$${RANLIB}" \
++ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
++ pdf) \
++ || exit 1
++
++@endif target-libitm
++
++.PHONY: maybe-html-target-libitm html-target-libitm
++maybe-html-target-libitm:
++@if target-libitm
++maybe-html-target-libitm: html-target-libitm
++
++html-target-libitm: \
++ configure-target-libitm
++ @: $(MAKE); $(unstage)
++ @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
++ r=`${PWD_COMMAND}`; export r; \
++ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
++ $(NORMAL_TARGET_EXPORTS) \
++ echo "Doing html in $(TARGET_SUBDIR)/libitm" ; \
++ for flag in $(EXTRA_TARGET_FLAGS); do \
++ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
++ done; \
++ (cd $(TARGET_SUBDIR)/libitm && \
++ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
++ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
++ "RANLIB=$${RANLIB}" \
++ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
++ html) \
++ || exit 1
++
++@endif target-libitm
++
++.PHONY: maybe-TAGS-target-libitm TAGS-target-libitm
++maybe-TAGS-target-libitm:
++@if target-libitm
++maybe-TAGS-target-libitm: TAGS-target-libitm
++
++TAGS-target-libitm: \
++ configure-target-libitm
++ @: $(MAKE); $(unstage)
++ @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
++ r=`${PWD_COMMAND}`; export r; \
++ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
++ $(NORMAL_TARGET_EXPORTS) \
++ echo "Doing TAGS in $(TARGET_SUBDIR)/libitm" ; \
++ for flag in $(EXTRA_TARGET_FLAGS); do \
++ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
++ done; \
++ (cd $(TARGET_SUBDIR)/libitm && \
++ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
++ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
++ "RANLIB=$${RANLIB}" \
++ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
++ TAGS) \
++ || exit 1
++
++@endif target-libitm
++
++.PHONY: maybe-install-info-target-libitm install-info-target-libitm
++maybe-install-info-target-libitm:
++@if target-libitm
++maybe-install-info-target-libitm: install-info-target-libitm
++
++install-info-target-libitm: \
++ configure-target-libitm \
++ info-target-libitm
++ @: $(MAKE); $(unstage)
++ @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
++ r=`${PWD_COMMAND}`; export r; \
++ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
++ $(NORMAL_TARGET_EXPORTS) \
++ echo "Doing install-info in $(TARGET_SUBDIR)/libitm" ; \
++ for flag in $(EXTRA_TARGET_FLAGS); do \
++ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
++ done; \
++ (cd $(TARGET_SUBDIR)/libitm && \
++ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
++ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
++ "RANLIB=$${RANLIB}" \
++ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
++ install-info) \
++ || exit 1
+
++@endif target-libitm
+
++.PHONY: maybe-install-pdf-target-libitm install-pdf-target-libitm
++maybe-install-pdf-target-libitm:
++@if target-libitm
++maybe-install-pdf-target-libitm: install-pdf-target-libitm
++
++install-pdf-target-libitm: \
++ configure-target-libitm \
++ pdf-target-libitm
++ @: $(MAKE); $(unstage)
++ @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
++ r=`${PWD_COMMAND}`; export r; \
++ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
++ $(NORMAL_TARGET_EXPORTS) \
++ echo "Doing install-pdf in $(TARGET_SUBDIR)/libitm" ; \
++ for flag in $(EXTRA_TARGET_FLAGS); do \
++ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
++ done; \
++ (cd $(TARGET_SUBDIR)/libitm && \
++ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
++ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
++ "RANLIB=$${RANLIB}" \
++ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
++ install-pdf) \
++ || exit 1
+
++@endif target-libitm
+
++.PHONY: maybe-install-html-target-libitm install-html-target-libitm
++maybe-install-html-target-libitm:
++@if target-libitm
++maybe-install-html-target-libitm: install-html-target-libitm
+
+-.PHONY: all-target-libgomp maybe-all-target-libgomp
+-maybe-all-target-libgomp:
+-@if gcc-bootstrap
+-all-target-libgomp: stage_current
+-@endif gcc-bootstrap
+-@if target-libgomp
+-TARGET-target-libgomp=all
+-maybe-all-target-libgomp: all-target-libgomp
+-all-target-libgomp: configure-target-libgomp
+- @r=`${PWD_COMMAND}`; export r; \
++install-html-target-libitm: \
++ configure-target-libitm \
++ html-target-libitm
++ @: $(MAKE); $(unstage)
++ @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
++ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+- $(NORMAL_TARGET_EXPORTS) \
+- (cd $(TARGET_SUBDIR)/libgomp && \
+- $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
+- $(TARGET-target-libgomp))
+-@endif target-libgomp
++ $(NORMAL_TARGET_EXPORTS) \
++ echo "Doing install-html in $(TARGET_SUBDIR)/libitm" ; \
++ for flag in $(EXTRA_TARGET_FLAGS); do \
++ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
++ done; \
++ (cd $(TARGET_SUBDIR)/libitm && \
++ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
++ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
++ "RANLIB=$${RANLIB}" \
++ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
++ install-html) \
++ || exit 1
+
++@endif target-libitm
+
++.PHONY: maybe-installcheck-target-libitm installcheck-target-libitm
++maybe-installcheck-target-libitm:
++@if target-libitm
++maybe-installcheck-target-libitm: installcheck-target-libitm
+
+-.PHONY: all-stage1-target-libgomp maybe-all-stage1-target-libgomp
+-.PHONY: clean-stage1-target-libgomp maybe-clean-stage1-target-libgomp
+-maybe-all-stage1-target-libgomp:
+-maybe-clean-stage1-target-libgomp:
+-@if target-libgomp-bootstrap
+-maybe-all-stage1-target-libgomp: all-stage1-target-libgomp
+-all-stage1: all-stage1-target-libgomp
+-TARGET-stage1-target-libgomp = $(TARGET-target-libgomp)
+-all-stage1-target-libgomp: configure-stage1-target-libgomp
+- @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
+- @r=`${PWD_COMMAND}`; export r; \
++installcheck-target-libitm: \
++ configure-target-libitm
++ @: $(MAKE); $(unstage)
++ @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
++ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+- TFLAGS="$(STAGE1_TFLAGS)"; \
+- $(NORMAL_TARGET_EXPORTS) \
+- cd $(TARGET_SUBDIR)/libgomp && \
+- $(MAKE) $(BASE_FLAGS_TO_PASS) \
+- CFLAGS="$(CFLAGS_FOR_TARGET)" \
+- CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
+- LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
+- CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
+- CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
+- LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
+- $(EXTRA_TARGET_FLAGS) \
+- TFLAGS="$(STAGE1_TFLAGS)" \
+- $(TARGET-stage1-target-libgomp)
++ $(NORMAL_TARGET_EXPORTS) \
++ echo "Doing installcheck in $(TARGET_SUBDIR)/libitm" ; \
++ for flag in $(EXTRA_TARGET_FLAGS); do \
++ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
++ done; \
++ (cd $(TARGET_SUBDIR)/libitm && \
++ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
++ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
++ "RANLIB=$${RANLIB}" \
++ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
++ installcheck) \
++ || exit 1
+
+-maybe-clean-stage1-target-libgomp: clean-stage1-target-libgomp
+-clean-stage1: clean-stage1-target-libgomp
+-clean-stage1-target-libgomp:
+- @if [ $(current_stage) = stage1 ]; then \
+- [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
+- else \
+- [ -f $(TARGET_SUBDIR)/stage1-libgomp/Makefile ] || exit 0; \
+- $(MAKE) stage1-start; \
+- fi; \
+- cd $(TARGET_SUBDIR)/libgomp && \
+- $(MAKE) $(EXTRA_TARGET_FLAGS) \
+- clean
+-@endif target-libgomp-bootstrap
++@endif target-libitm
+
++.PHONY: maybe-mostlyclean-target-libitm mostlyclean-target-libitm
++maybe-mostlyclean-target-libitm:
++@if target-libitm
++maybe-mostlyclean-target-libitm: mostlyclean-target-libitm
+
+-.PHONY: all-stage2-target-libgomp maybe-all-stage2-target-libgomp
+-.PHONY: clean-stage2-target-libgomp maybe-clean-stage2-target-libgomp
+-maybe-all-stage2-target-libgomp:
+-maybe-clean-stage2-target-libgomp:
+-@if target-libgomp-bootstrap
+-maybe-all-stage2-target-libgomp: all-stage2-target-libgomp
+-all-stage2: all-stage2-target-libgomp
+-TARGET-stage2-target-libgomp = $(TARGET-target-libgomp)
+-all-stage2-target-libgomp: configure-stage2-target-libgomp
+- @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
+- @r=`${PWD_COMMAND}`; export r; \
++mostlyclean-target-libitm:
++ @: $(MAKE); $(unstage)
++ @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
++ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+- TFLAGS="$(STAGE2_TFLAGS)"; \
+ $(NORMAL_TARGET_EXPORTS) \
+- \
+- cd $(TARGET_SUBDIR)/libgomp && \
+- $(MAKE) $(BASE_FLAGS_TO_PASS) \
+- CFLAGS="$(CFLAGS_FOR_TARGET)" \
+- CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
+- LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
+- CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
+- CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
+- LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
+- $(EXTRA_TARGET_FLAGS) \
+- TFLAGS="$(STAGE2_TFLAGS)" \
+- $(TARGET-stage2-target-libgomp)
++ echo "Doing mostlyclean in $(TARGET_SUBDIR)/libitm" ; \
++ for flag in $(EXTRA_TARGET_FLAGS); do \
++ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
++ done; \
++ (cd $(TARGET_SUBDIR)/libitm && \
++ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
++ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
++ "RANLIB=$${RANLIB}" \
++ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
++ mostlyclean) \
++ || exit 1
+
+-maybe-clean-stage2-target-libgomp: clean-stage2-target-libgomp
+-clean-stage2: clean-stage2-target-libgomp
+-clean-stage2-target-libgomp:
+- @if [ $(current_stage) = stage2 ]; then \
+- [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
+- else \
+- [ -f $(TARGET_SUBDIR)/stage2-libgomp/Makefile ] || exit 0; \
+- $(MAKE) stage2-start; \
+- fi; \
+- cd $(TARGET_SUBDIR)/libgomp && \
+- $(MAKE) $(EXTRA_TARGET_FLAGS) \
+- \
+- clean
+-@endif target-libgomp-bootstrap
++@endif target-libitm
+
++.PHONY: maybe-clean-target-libitm clean-target-libitm
++maybe-clean-target-libitm:
++@if target-libitm
++maybe-clean-target-libitm: clean-target-libitm
+
+-.PHONY: all-stage3-target-libgomp maybe-all-stage3-target-libgomp
+-.PHONY: clean-stage3-target-libgomp maybe-clean-stage3-target-libgomp
+-maybe-all-stage3-target-libgomp:
+-maybe-clean-stage3-target-libgomp:
+-@if target-libgomp-bootstrap
+-maybe-all-stage3-target-libgomp: all-stage3-target-libgomp
+-all-stage3: all-stage3-target-libgomp
+-TARGET-stage3-target-libgomp = $(TARGET-target-libgomp)
+-all-stage3-target-libgomp: configure-stage3-target-libgomp
+- @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
+- @r=`${PWD_COMMAND}`; export r; \
++clean-target-libitm:
++ @: $(MAKE); $(unstage)
++ @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
++ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+- TFLAGS="$(STAGE3_TFLAGS)"; \
+ $(NORMAL_TARGET_EXPORTS) \
+- \
+- cd $(TARGET_SUBDIR)/libgomp && \
+- $(MAKE) $(BASE_FLAGS_TO_PASS) \
+- CFLAGS="$(CFLAGS_FOR_TARGET)" \
+- CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
+- LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
+- CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
+- CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
+- LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
+- $(EXTRA_TARGET_FLAGS) \
+- TFLAGS="$(STAGE3_TFLAGS)" \
+- $(TARGET-stage3-target-libgomp)
++ echo "Doing clean in $(TARGET_SUBDIR)/libitm" ; \
++ for flag in $(EXTRA_TARGET_FLAGS); do \
++ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
++ done; \
++ (cd $(TARGET_SUBDIR)/libitm && \
++ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
++ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
++ "RANLIB=$${RANLIB}" \
++ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
++ clean) \
++ || exit 1
+
+-maybe-clean-stage3-target-libgomp: clean-stage3-target-libgomp
+-clean-stage3: clean-stage3-target-libgomp
+-clean-stage3-target-libgomp:
+- @if [ $(current_stage) = stage3 ]; then \
+- [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
+- else \
+- [ -f $(TARGET_SUBDIR)/stage3-libgomp/Makefile ] || exit 0; \
+- $(MAKE) stage3-start; \
+- fi; \
+- cd $(TARGET_SUBDIR)/libgomp && \
+- $(MAKE) $(EXTRA_TARGET_FLAGS) \
+- \
+- clean
+-@endif target-libgomp-bootstrap
++@endif target-libitm
+
++.PHONY: maybe-distclean-target-libitm distclean-target-libitm
++maybe-distclean-target-libitm:
++@if target-libitm
++maybe-distclean-target-libitm: distclean-target-libitm
+
+-.PHONY: all-stage4-target-libgomp maybe-all-stage4-target-libgomp
+-.PHONY: clean-stage4-target-libgomp maybe-clean-stage4-target-libgomp
+-maybe-all-stage4-target-libgomp:
+-maybe-clean-stage4-target-libgomp:
+-@if target-libgomp-bootstrap
+-maybe-all-stage4-target-libgomp: all-stage4-target-libgomp
+-all-stage4: all-stage4-target-libgomp
+-TARGET-stage4-target-libgomp = $(TARGET-target-libgomp)
+-all-stage4-target-libgomp: configure-stage4-target-libgomp
+- @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
+- @r=`${PWD_COMMAND}`; export r; \
++distclean-target-libitm:
++ @: $(MAKE); $(unstage)
++ @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
++ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+- TFLAGS="$(STAGE4_TFLAGS)"; \
+ $(NORMAL_TARGET_EXPORTS) \
+- \
+- cd $(TARGET_SUBDIR)/libgomp && \
+- $(MAKE) $(BASE_FLAGS_TO_PASS) \
+- CFLAGS="$(CFLAGS_FOR_TARGET)" \
+- CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
+- LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
+- CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
+- CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
+- LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
+- $(EXTRA_TARGET_FLAGS) \
+- TFLAGS="$(STAGE4_TFLAGS)" \
+- $(TARGET-stage4-target-libgomp)
++ echo "Doing distclean in $(TARGET_SUBDIR)/libitm" ; \
++ for flag in $(EXTRA_TARGET_FLAGS); do \
++ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
++ done; \
++ (cd $(TARGET_SUBDIR)/libitm && \
++ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
++ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
++ "RANLIB=$${RANLIB}" \
++ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
++ distclean) \
++ || exit 1
+
+-maybe-clean-stage4-target-libgomp: clean-stage4-target-libgomp
+-clean-stage4: clean-stage4-target-libgomp
+-clean-stage4-target-libgomp:
+- @if [ $(current_stage) = stage4 ]; then \
+- [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
+- else \
+- [ -f $(TARGET_SUBDIR)/stage4-libgomp/Makefile ] || exit 0; \
+- $(MAKE) stage4-start; \
+- fi; \
+- cd $(TARGET_SUBDIR)/libgomp && \
+- $(MAKE) $(EXTRA_TARGET_FLAGS) \
+- \
+- clean
+-@endif target-libgomp-bootstrap
++@endif target-libitm
+
++.PHONY: maybe-maintainer-clean-target-libitm maintainer-clean-target-libitm
++maybe-maintainer-clean-target-libitm:
++@if target-libitm
++maybe-maintainer-clean-target-libitm: maintainer-clean-target-libitm
+
+-.PHONY: all-stageprofile-target-libgomp maybe-all-stageprofile-target-libgomp
+-.PHONY: clean-stageprofile-target-libgomp maybe-clean-stageprofile-target-libgomp
+-maybe-all-stageprofile-target-libgomp:
+-maybe-clean-stageprofile-target-libgomp:
+-@if target-libgomp-bootstrap
+-maybe-all-stageprofile-target-libgomp: all-stageprofile-target-libgomp
+-all-stageprofile: all-stageprofile-target-libgomp
+-TARGET-stageprofile-target-libgomp = $(TARGET-target-libgomp)
+-all-stageprofile-target-libgomp: configure-stageprofile-target-libgomp
+- @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
+- @r=`${PWD_COMMAND}`; export r; \
++maintainer-clean-target-libitm:
++ @: $(MAKE); $(unstage)
++ @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
++ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+- TFLAGS="$(STAGEprofile_TFLAGS)"; \
+ $(NORMAL_TARGET_EXPORTS) \
+- \
+- cd $(TARGET_SUBDIR)/libgomp && \
+- $(MAKE) $(BASE_FLAGS_TO_PASS) \
+- CFLAGS="$(CFLAGS_FOR_TARGET)" \
+- CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
+- LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
+- CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
+- CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
+- LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
+- $(EXTRA_TARGET_FLAGS) \
+- TFLAGS="$(STAGEprofile_TFLAGS)" \
+- $(TARGET-stageprofile-target-libgomp)
++ echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libitm" ; \
++ for flag in $(EXTRA_TARGET_FLAGS); do \
++ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
++ done; \
++ (cd $(TARGET_SUBDIR)/libitm && \
++ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
++ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
++ "RANLIB=$${RANLIB}" \
++ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
++ maintainer-clean) \
++ || exit 1
+
+-maybe-clean-stageprofile-target-libgomp: clean-stageprofile-target-libgomp
+-clean-stageprofile: clean-stageprofile-target-libgomp
+-clean-stageprofile-target-libgomp:
+- @if [ $(current_stage) = stageprofile ]; then \
+- [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
+- else \
+- [ -f $(TARGET_SUBDIR)/stageprofile-libgomp/Makefile ] || exit 0; \
+- $(MAKE) stageprofile-start; \
+- fi; \
+- cd $(TARGET_SUBDIR)/libgomp && \
+- $(MAKE) $(EXTRA_TARGET_FLAGS) \
+- \
+- clean
+-@endif target-libgomp-bootstrap
++@endif target-libitm
+
+
+-.PHONY: all-stagefeedback-target-libgomp maybe-all-stagefeedback-target-libgomp
+-.PHONY: clean-stagefeedback-target-libgomp maybe-clean-stagefeedback-target-libgomp
+-maybe-all-stagefeedback-target-libgomp:
+-maybe-clean-stagefeedback-target-libgomp:
+-@if target-libgomp-bootstrap
+-maybe-all-stagefeedback-target-libgomp: all-stagefeedback-target-libgomp
+-all-stagefeedback: all-stagefeedback-target-libgomp
+-TARGET-stagefeedback-target-libgomp = $(TARGET-target-libgomp)
+-all-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp
+- @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
++
++
++
++.PHONY: configure-target-libatomic maybe-configure-target-libatomic
++maybe-configure-target-libatomic:
++@if gcc-bootstrap
++configure-target-libatomic: stage_current
++@endif gcc-bootstrap
++@if target-libatomic
++maybe-configure-target-libatomic: configure-target-libatomic
++configure-target-libatomic:
++ @: $(MAKE); $(unstage)
+ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+- TFLAGS="$(STAGEfeedback_TFLAGS)"; \
+- $(NORMAL_TARGET_EXPORTS) \
+- \
+- cd $(TARGET_SUBDIR)/libgomp && \
+- $(MAKE) $(BASE_FLAGS_TO_PASS) \
+- CFLAGS="$(CFLAGS_FOR_TARGET)" \
+- CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
+- LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
+- CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
+- CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
+- LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
+- $(EXTRA_TARGET_FLAGS) \
+- TFLAGS="$(STAGEfeedback_TFLAGS)" \
+- $(TARGET-stagefeedback-target-libgomp)
+-
+-maybe-clean-stagefeedback-target-libgomp: clean-stagefeedback-target-libgomp
+-clean-stagefeedback: clean-stagefeedback-target-libgomp
+-clean-stagefeedback-target-libgomp:
+- @if [ $(current_stage) = stagefeedback ]; then \
+- [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
++ echo "Checking multilib configuration for libatomic..."; \
++ $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic ; \
++ $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libatomic/multilib.tmp 2> /dev/null ; \
++ if test -r $(TARGET_SUBDIR)/libatomic/multilib.out; then \
++ if cmp -s $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; then \
++ rm -f $(TARGET_SUBDIR)/libatomic/multilib.tmp; \
++ else \
++ rm -f $(TARGET_SUBDIR)/libatomic/Makefile; \
++ mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
++ fi; \
+ else \
+- [ -f $(TARGET_SUBDIR)/stagefeedback-libgomp/Makefile ] || exit 0; \
+- $(MAKE) stagefeedback-start; \
++ mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
+ fi; \
+- cd $(TARGET_SUBDIR)/libgomp && \
+- $(MAKE) $(EXTRA_TARGET_FLAGS) \
+- \
+- clean
+-@endif target-libgomp-bootstrap
++ test ! -f $(TARGET_SUBDIR)/libatomic/Makefile || exit 0; \
++ $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic ; \
++ $(NORMAL_TARGET_EXPORTS) \
++ echo Configuring in $(TARGET_SUBDIR)/libatomic; \
++ cd "$(TARGET_SUBDIR)/libatomic" || exit 1; \
++ case $(srcdir) in \
++ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
++ *) topdir=`echo $(TARGET_SUBDIR)/libatomic/ | \
++ sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
++ esac; \
++ srcdiroption="--srcdir=$${topdir}/libatomic"; \
++ libsrcdir="$$s/libatomic"; \
++ rm -f no-such-file || : ; \
++ CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
++ $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
++ --target=${target_alias} $${srcdiroption} \
++ || exit 1
++@endif target-libatomic
++
++
++
+
+
++.PHONY: all-target-libatomic maybe-all-target-libatomic
++maybe-all-target-libatomic:
++@if gcc-bootstrap
++all-target-libatomic: stage_current
++@endif gcc-bootstrap
++@if target-libatomic
++TARGET-target-libatomic=all
++maybe-all-target-libatomic: all-target-libatomic
++all-target-libatomic: configure-target-libatomic
++ @: $(MAKE); $(unstage)
++ @r=`${PWD_COMMAND}`; export r; \
++ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
++ $(NORMAL_TARGET_EXPORTS) \
++ (cd $(TARGET_SUBDIR)/libatomic && \
++ $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
++ $(TARGET-target-libatomic))
++@endif target-libatomic
+
+
+
+
+-.PHONY: check-target-libgomp maybe-check-target-libgomp
+-maybe-check-target-libgomp:
+-@if target-libgomp
+-maybe-check-target-libgomp: check-target-libgomp
+
+-check-target-libgomp:
++.PHONY: check-target-libatomic maybe-check-target-libatomic
++maybe-check-target-libatomic:
++@if target-libatomic
++maybe-check-target-libatomic: check-target-libatomic
++
++check-target-libatomic:
+ @: $(MAKE); $(unstage)
+ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(NORMAL_TARGET_EXPORTS) \
+- (cd $(TARGET_SUBDIR)/libgomp && \
++ (cd $(TARGET_SUBDIR)/libatomic && \
+ $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
+
+-@endif target-libgomp
++@endif target-libatomic
+
+-.PHONY: install-target-libgomp maybe-install-target-libgomp
+-maybe-install-target-libgomp:
+-@if target-libgomp
+-maybe-install-target-libgomp: install-target-libgomp
++.PHONY: install-target-libatomic maybe-install-target-libatomic
++maybe-install-target-libatomic:
++@if target-libatomic
++maybe-install-target-libatomic: install-target-libatomic
+
+-install-target-libgomp: installdirs
++install-target-libatomic: installdirs
+ @: $(MAKE); $(unstage)
+ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(NORMAL_TARGET_EXPORTS) \
+- (cd $(TARGET_SUBDIR)/libgomp && \
++ (cd $(TARGET_SUBDIR)/libatomic && \
+ $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
+
+-@endif target-libgomp
++@endif target-libatomic
+
+-.PHONY: install-strip-target-libgomp maybe-install-strip-target-libgomp
+-maybe-install-strip-target-libgomp:
+-@if target-libgomp
+-maybe-install-strip-target-libgomp: install-strip-target-libgomp
++.PHONY: install-strip-target-libatomic maybe-install-strip-target-libatomic
++maybe-install-strip-target-libatomic:
++@if target-libatomic
++maybe-install-strip-target-libatomic: install-strip-target-libatomic
+
+-install-strip-target-libgomp: installdirs
++install-strip-target-libatomic: installdirs
+ @: $(MAKE); $(unstage)
+ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(NORMAL_TARGET_EXPORTS) \
+- (cd $(TARGET_SUBDIR)/libgomp && \
++ (cd $(TARGET_SUBDIR)/libatomic && \
+ $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
+
+-@endif target-libgomp
++@endif target-libatomic
+
+ # Other targets (info, dvi, pdf, etc.)
+
+-.PHONY: maybe-info-target-libgomp info-target-libgomp
+-maybe-info-target-libgomp:
+-@if target-libgomp
+-maybe-info-target-libgomp: info-target-libgomp
++.PHONY: maybe-info-target-libatomic info-target-libatomic
++maybe-info-target-libatomic:
++@if target-libatomic
++maybe-info-target-libatomic: info-target-libatomic
+
+-info-target-libgomp: \
+- configure-target-libgomp
++info-target-libatomic: \
++ configure-target-libatomic
+ @: $(MAKE); $(unstage)
+- @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
++ @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(NORMAL_TARGET_EXPORTS) \
+- echo "Doing info in $(TARGET_SUBDIR)/libgomp" ; \
++ echo "Doing info in $(TARGET_SUBDIR)/libatomic" ; \
+ for flag in $(EXTRA_TARGET_FLAGS); do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- (cd $(TARGET_SUBDIR)/libgomp && \
++ (cd $(TARGET_SUBDIR)/libatomic && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+@@ -39835,25 +42137,25 @@
+ info) \
+ || exit 1
+
+-@endif target-libgomp
++@endif target-libatomic
+
+-.PHONY: maybe-dvi-target-libgomp dvi-target-libgomp
+-maybe-dvi-target-libgomp:
+-@if target-libgomp
+-maybe-dvi-target-libgomp: dvi-target-libgomp
++.PHONY: maybe-dvi-target-libatomic dvi-target-libatomic
++maybe-dvi-target-libatomic:
++@if target-libatomic
++maybe-dvi-target-libatomic: dvi-target-libatomic
+
+-dvi-target-libgomp: \
+- configure-target-libgomp
++dvi-target-libatomic: \
++ configure-target-libatomic
+ @: $(MAKE); $(unstage)
+- @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
++ @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(NORMAL_TARGET_EXPORTS) \
+- echo "Doing dvi in $(TARGET_SUBDIR)/libgomp" ; \
++ echo "Doing dvi in $(TARGET_SUBDIR)/libatomic" ; \
+ for flag in $(EXTRA_TARGET_FLAGS); do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- (cd $(TARGET_SUBDIR)/libgomp && \
++ (cd $(TARGET_SUBDIR)/libatomic && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+@@ -39861,25 +42163,25 @@
+ dvi) \
+ || exit 1
+
+-@endif target-libgomp
++@endif target-libatomic
+
+-.PHONY: maybe-pdf-target-libgomp pdf-target-libgomp
+-maybe-pdf-target-libgomp:
+-@if target-libgomp
+-maybe-pdf-target-libgomp: pdf-target-libgomp
++.PHONY: maybe-pdf-target-libatomic pdf-target-libatomic
++maybe-pdf-target-libatomic:
++@if target-libatomic
++maybe-pdf-target-libatomic: pdf-target-libatomic
+
+-pdf-target-libgomp: \
+- configure-target-libgomp
++pdf-target-libatomic: \
++ configure-target-libatomic
+ @: $(MAKE); $(unstage)
+- @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
++ @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(NORMAL_TARGET_EXPORTS) \
+- echo "Doing pdf in $(TARGET_SUBDIR)/libgomp" ; \
++ echo "Doing pdf in $(TARGET_SUBDIR)/libatomic" ; \
+ for flag in $(EXTRA_TARGET_FLAGS); do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- (cd $(TARGET_SUBDIR)/libgomp && \
++ (cd $(TARGET_SUBDIR)/libatomic && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+@@ -39887,25 +42189,25 @@
+ pdf) \
+ || exit 1
+
+-@endif target-libgomp
++@endif target-libatomic
+
+-.PHONY: maybe-html-target-libgomp html-target-libgomp
+-maybe-html-target-libgomp:
+-@if target-libgomp
+-maybe-html-target-libgomp: html-target-libgomp
++.PHONY: maybe-html-target-libatomic html-target-libatomic
++maybe-html-target-libatomic:
++@if target-libatomic
++maybe-html-target-libatomic: html-target-libatomic
+
+-html-target-libgomp: \
+- configure-target-libgomp
++html-target-libatomic: \
++ configure-target-libatomic
+ @: $(MAKE); $(unstage)
+- @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
++ @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(NORMAL_TARGET_EXPORTS) \
+- echo "Doing html in $(TARGET_SUBDIR)/libgomp" ; \
++ echo "Doing html in $(TARGET_SUBDIR)/libatomic" ; \
+ for flag in $(EXTRA_TARGET_FLAGS); do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- (cd $(TARGET_SUBDIR)/libgomp && \
++ (cd $(TARGET_SUBDIR)/libatomic && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+@@ -39913,25 +42215,25 @@
+ html) \
+ || exit 1
+
+-@endif target-libgomp
++@endif target-libatomic
+
+-.PHONY: maybe-TAGS-target-libgomp TAGS-target-libgomp
+-maybe-TAGS-target-libgomp:
+-@if target-libgomp
+-maybe-TAGS-target-libgomp: TAGS-target-libgomp
++.PHONY: maybe-TAGS-target-libatomic TAGS-target-libatomic
++maybe-TAGS-target-libatomic:
++@if target-libatomic
++maybe-TAGS-target-libatomic: TAGS-target-libatomic
+
+-TAGS-target-libgomp: \
+- configure-target-libgomp
++TAGS-target-libatomic: \
++ configure-target-libatomic
+ @: $(MAKE); $(unstage)
+- @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
++ @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(NORMAL_TARGET_EXPORTS) \
+- echo "Doing TAGS in $(TARGET_SUBDIR)/libgomp" ; \
++ echo "Doing TAGS in $(TARGET_SUBDIR)/libatomic" ; \
+ for flag in $(EXTRA_TARGET_FLAGS); do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- (cd $(TARGET_SUBDIR)/libgomp && \
++ (cd $(TARGET_SUBDIR)/libatomic && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+@@ -39939,26 +42241,26 @@
+ TAGS) \
+ || exit 1
+
+-@endif target-libgomp
++@endif target-libatomic
+
+-.PHONY: maybe-install-info-target-libgomp install-info-target-libgomp
+-maybe-install-info-target-libgomp:
+-@if target-libgomp
+-maybe-install-info-target-libgomp: install-info-target-libgomp
++.PHONY: maybe-install-info-target-libatomic install-info-target-libatomic
++maybe-install-info-target-libatomic:
++@if target-libatomic
++maybe-install-info-target-libatomic: install-info-target-libatomic
+
+-install-info-target-libgomp: \
+- configure-target-libgomp \
+- info-target-libgomp
++install-info-target-libatomic: \
++ configure-target-libatomic \
++ info-target-libatomic
+ @: $(MAKE); $(unstage)
+- @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
++ @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(NORMAL_TARGET_EXPORTS) \
+- echo "Doing install-info in $(TARGET_SUBDIR)/libgomp" ; \
++ echo "Doing install-info in $(TARGET_SUBDIR)/libatomic" ; \
+ for flag in $(EXTRA_TARGET_FLAGS); do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- (cd $(TARGET_SUBDIR)/libgomp && \
++ (cd $(TARGET_SUBDIR)/libatomic && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+@@ -39966,26 +42268,26 @@
+ install-info) \
+ || exit 1
+
+-@endif target-libgomp
++@endif target-libatomic
+
+-.PHONY: maybe-install-pdf-target-libgomp install-pdf-target-libgomp
+-maybe-install-pdf-target-libgomp:
+-@if target-libgomp
+-maybe-install-pdf-target-libgomp: install-pdf-target-libgomp
++.PHONY: maybe-install-pdf-target-libatomic install-pdf-target-libatomic
++maybe-install-pdf-target-libatomic:
++@if target-libatomic
++maybe-install-pdf-target-libatomic: install-pdf-target-libatomic
+
+-install-pdf-target-libgomp: \
+- configure-target-libgomp \
+- pdf-target-libgomp
++install-pdf-target-libatomic: \
++ configure-target-libatomic \
++ pdf-target-libatomic
+ @: $(MAKE); $(unstage)
+- @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
++ @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(NORMAL_TARGET_EXPORTS) \
+- echo "Doing install-pdf in $(TARGET_SUBDIR)/libgomp" ; \
++ echo "Doing install-pdf in $(TARGET_SUBDIR)/libatomic" ; \
+ for flag in $(EXTRA_TARGET_FLAGS); do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- (cd $(TARGET_SUBDIR)/libgomp && \
++ (cd $(TARGET_SUBDIR)/libatomic && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+@@ -39993,26 +42295,26 @@
+ install-pdf) \
+ || exit 1
+
+-@endif target-libgomp
++@endif target-libatomic
+
+-.PHONY: maybe-install-html-target-libgomp install-html-target-libgomp
+-maybe-install-html-target-libgomp:
+-@if target-libgomp
+-maybe-install-html-target-libgomp: install-html-target-libgomp
++.PHONY: maybe-install-html-target-libatomic install-html-target-libatomic
++maybe-install-html-target-libatomic:
++@if target-libatomic
++maybe-install-html-target-libatomic: install-html-target-libatomic
+
+-install-html-target-libgomp: \
+- configure-target-libgomp \
+- html-target-libgomp
++install-html-target-libatomic: \
++ configure-target-libatomic \
++ html-target-libatomic
+ @: $(MAKE); $(unstage)
+- @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
++ @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(NORMAL_TARGET_EXPORTS) \
+- echo "Doing install-html in $(TARGET_SUBDIR)/libgomp" ; \
++ echo "Doing install-html in $(TARGET_SUBDIR)/libatomic" ; \
+ for flag in $(EXTRA_TARGET_FLAGS); do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- (cd $(TARGET_SUBDIR)/libgomp && \
++ (cd $(TARGET_SUBDIR)/libatomic && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+@@ -40020,25 +42322,25 @@
+ install-html) \
+ || exit 1
+
+-@endif target-libgomp
++@endif target-libatomic
+
+-.PHONY: maybe-installcheck-target-libgomp installcheck-target-libgomp
+-maybe-installcheck-target-libgomp:
+-@if target-libgomp
+-maybe-installcheck-target-libgomp: installcheck-target-libgomp
++.PHONY: maybe-installcheck-target-libatomic installcheck-target-libatomic
++maybe-installcheck-target-libatomic:
++@if target-libatomic
++maybe-installcheck-target-libatomic: installcheck-target-libatomic
+
+-installcheck-target-libgomp: \
+- configure-target-libgomp
++installcheck-target-libatomic: \
++ configure-target-libatomic
+ @: $(MAKE); $(unstage)
+- @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
++ @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(NORMAL_TARGET_EXPORTS) \
+- echo "Doing installcheck in $(TARGET_SUBDIR)/libgomp" ; \
++ echo "Doing installcheck in $(TARGET_SUBDIR)/libatomic" ; \
+ for flag in $(EXTRA_TARGET_FLAGS); do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- (cd $(TARGET_SUBDIR)/libgomp && \
++ (cd $(TARGET_SUBDIR)/libatomic && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+@@ -40046,24 +42348,24 @@
+ installcheck) \
+ || exit 1
+
+-@endif target-libgomp
++@endif target-libatomic
+
+-.PHONY: maybe-mostlyclean-target-libgomp mostlyclean-target-libgomp
+-maybe-mostlyclean-target-libgomp:
+-@if target-libgomp
+-maybe-mostlyclean-target-libgomp: mostlyclean-target-libgomp
++.PHONY: maybe-mostlyclean-target-libatomic mostlyclean-target-libatomic
++maybe-mostlyclean-target-libatomic:
++@if target-libatomic
++maybe-mostlyclean-target-libatomic: mostlyclean-target-libatomic
+
+-mostlyclean-target-libgomp:
++mostlyclean-target-libatomic:
+ @: $(MAKE); $(unstage)
+- @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
++ @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(NORMAL_TARGET_EXPORTS) \
+- echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgomp" ; \
++ echo "Doing mostlyclean in $(TARGET_SUBDIR)/libatomic" ; \
+ for flag in $(EXTRA_TARGET_FLAGS); do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- (cd $(TARGET_SUBDIR)/libgomp && \
++ (cd $(TARGET_SUBDIR)/libatomic && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+@@ -40071,24 +42373,24 @@
+ mostlyclean) \
+ || exit 1
+
+-@endif target-libgomp
++@endif target-libatomic
+
+-.PHONY: maybe-clean-target-libgomp clean-target-libgomp
+-maybe-clean-target-libgomp:
+-@if target-libgomp
+-maybe-clean-target-libgomp: clean-target-libgomp
++.PHONY: maybe-clean-target-libatomic clean-target-libatomic
++maybe-clean-target-libatomic:
++@if target-libatomic
++maybe-clean-target-libatomic: clean-target-libatomic
+
+-clean-target-libgomp:
++clean-target-libatomic:
+ @: $(MAKE); $(unstage)
+- @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
++ @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(NORMAL_TARGET_EXPORTS) \
+- echo "Doing clean in $(TARGET_SUBDIR)/libgomp" ; \
++ echo "Doing clean in $(TARGET_SUBDIR)/libatomic" ; \
+ for flag in $(EXTRA_TARGET_FLAGS); do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- (cd $(TARGET_SUBDIR)/libgomp && \
++ (cd $(TARGET_SUBDIR)/libatomic && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+@@ -40096,24 +42398,24 @@
+ clean) \
+ || exit 1
+
+-@endif target-libgomp
++@endif target-libatomic
+
+-.PHONY: maybe-distclean-target-libgomp distclean-target-libgomp
+-maybe-distclean-target-libgomp:
+-@if target-libgomp
+-maybe-distclean-target-libgomp: distclean-target-libgomp
++.PHONY: maybe-distclean-target-libatomic distclean-target-libatomic
++maybe-distclean-target-libatomic:
++@if target-libatomic
++maybe-distclean-target-libatomic: distclean-target-libatomic
+
+-distclean-target-libgomp:
++distclean-target-libatomic:
+ @: $(MAKE); $(unstage)
+- @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
++ @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(NORMAL_TARGET_EXPORTS) \
+- echo "Doing distclean in $(TARGET_SUBDIR)/libgomp" ; \
++ echo "Doing distclean in $(TARGET_SUBDIR)/libatomic" ; \
+ for flag in $(EXTRA_TARGET_FLAGS); do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- (cd $(TARGET_SUBDIR)/libgomp && \
++ (cd $(TARGET_SUBDIR)/libatomic && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+@@ -40121,24 +42423,24 @@
+ distclean) \
+ || exit 1
+
+-@endif target-libgomp
++@endif target-libatomic
+
+-.PHONY: maybe-maintainer-clean-target-libgomp maintainer-clean-target-libgomp
+-maybe-maintainer-clean-target-libgomp:
+-@if target-libgomp
+-maybe-maintainer-clean-target-libgomp: maintainer-clean-target-libgomp
++.PHONY: maybe-maintainer-clean-target-libatomic maintainer-clean-target-libatomic
++maybe-maintainer-clean-target-libatomic:
++@if target-libatomic
++maybe-maintainer-clean-target-libatomic: maintainer-clean-target-libatomic
+
+-maintainer-clean-target-libgomp:
++maintainer-clean-target-libatomic:
+ @: $(MAKE); $(unstage)
+- @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
++ @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(NORMAL_TARGET_EXPORTS) \
+- echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgomp" ; \
++ echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libatomic" ; \
+ for flag in $(EXTRA_TARGET_FLAGS); do \
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+ done; \
+- (cd $(TARGET_SUBDIR)/libgomp && \
++ (cd $(TARGET_SUBDIR)/libatomic && \
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+ "RANLIB=$${RANLIB}" \
+@@ -40146,7 +42448,7 @@
+ maintainer-clean) \
+ || exit 1
+
+-@endif target-libgomp
++@endif target-libatomic
+
+
+
+@@ -40157,6 +42459,20 @@
+
+ @endif target-libmudflap
+
++@if target-libgomp
++.PHONY: check-target-libgomp-c++
++check-target-libgomp-c++:
++ $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++.exp" check-target-libgomp
++
++@endif target-libgomp
++
++@if target-libitm
++.PHONY: check-target-libitm-c++
++check-target-libitm-c++:
++ $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++.exp" check-target-libitm
++
++@endif target-libitm
++
+ # ----------
+ # GCC module
+ # ----------
+@@ -40190,8 +42506,8 @@
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(HOST_EXPORTS) \
+- (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++ check-c++0x);
+-check-c++: check-gcc-c++ check-target-libstdc++-v3 check-target-libmudflap-c++
++ (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++);
++check-c++: check-gcc-c++ check-target-libstdc++-v3 check-target-libmudflap-c++ check-target-libitm-c++ check-target-libgomp-c++
+
+ .PHONY: check-gcc-fortran check-fortran
+ check-gcc-fortran:
+@@ -40242,25 +42558,16 @@
+ check-go: check-gcc-go check-target-libgo
+
+
+-# Install the gcc headers files, but not the fixed include files,
+-# which Cygnus is not allowed to distribute. This rule is very
+-# dependent on the workings of the gcc Makefile.in.
+-.PHONY: gcc-no-fixedincludes
+-gcc-no-fixedincludes:
++# The gcc part of install-no-fixedincludes, which relies on an intimate
++# knowledge of how a number of gcc internal targets (inter)operate. Delegate.
++.PHONY: gcc-install-no-fixedincludes
++gcc-install-no-fixedincludes:
+ @if [ -f ./gcc/Makefile ]; then \
+- rm -rf gcc/tmp-include; \
+- mv gcc/include gcc/tmp-include 2>/dev/null; \
+- mkdir gcc/include; \
+- cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
+- touch gcc/stmp-fixinc gcc/include/fixed; \
+- rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
+ r=`${PWD_COMMAND}`; export r; \
+- s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
++ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(HOST_EXPORTS) \
+- (cd ./gcc && \
+- $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
+- rm -rf gcc/include; \
+- mv gcc/tmp-include gcc/include 2>/dev/null; \
++ (cd ./gcc \
++ && $(MAKE) $(GCC_FLAGS_TO_PASS) install-no-fixedincludes); \
+ else true; fi
+ @endif gcc
+
+@@ -40362,11 +42669,11 @@
+ mkdir stage1-mpc; \
+ mv stage1-mpc mpc
+ @endif mpc
+-@if ppl
+- @cd $(HOST_SUBDIR); [ -d stage1-ppl ] || \
+- mkdir stage1-ppl; \
+- mv stage1-ppl ppl
+-@endif ppl
++@if isl
++ @cd $(HOST_SUBDIR); [ -d stage1-isl ] || \
++ mkdir stage1-isl; \
++ mv stage1-isl isl
++@endif isl
+ @if cloog
+ @cd $(HOST_SUBDIR); [ -d stage1-cloog ] || \
+ mkdir stage1-cloog; \
+@@ -40392,6 +42699,11 @@
+ mkdir stage1-ld; \
+ mv stage1-ld ld
+ @endif ld
++@if libbacktrace
++ @cd $(HOST_SUBDIR); [ -d stage1-libbacktrace ] || \
++ mkdir stage1-libbacktrace; \
++ mv stage1-libbacktrace libbacktrace
++@endif libbacktrace
+ @if libcpp
+ @cd $(HOST_SUBDIR); [ -d stage1-libcpp ] || \
+ mkdir stage1-libcpp; \
+@@ -40462,11 +42774,11 @@
+ cd $(HOST_SUBDIR); mv mpc stage1-mpc ; \
+ fi
+ @endif mpc
+-@if ppl
+- @if test -d $(HOST_SUBDIR)/ppl ; then \
+- cd $(HOST_SUBDIR); mv ppl stage1-ppl ; \
++@if isl
++ @if test -d $(HOST_SUBDIR)/isl ; then \
++ cd $(HOST_SUBDIR); mv isl stage1-isl ; \
+ fi
+-@endif ppl
++@endif isl
+ @if cloog
+ @if test -d $(HOST_SUBDIR)/cloog ; then \
+ cd $(HOST_SUBDIR); mv cloog stage1-cloog ; \
+@@ -40492,6 +42804,11 @@
+ cd $(HOST_SUBDIR); mv ld stage1-ld ; \
+ fi
+ @endif ld
++@if libbacktrace
++ @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
++ cd $(HOST_SUBDIR); mv libbacktrace stage1-libbacktrace ; \
++ fi
++@endif libbacktrace
+ @if libcpp
+ @if test -d $(HOST_SUBDIR)/libcpp ; then \
+ cd $(HOST_SUBDIR); mv libcpp stage1-libcpp ; \
+@@ -40613,12 +42930,12 @@
+ mv stage2-mpc mpc ; \
+ mv stage1-mpc prev-mpc || test -f stage1-lean
+ @endif mpc
+-@if ppl
+- @cd $(HOST_SUBDIR); [ -d stage2-ppl ] || \
+- mkdir stage2-ppl; \
+- mv stage2-ppl ppl ; \
+- mv stage1-ppl prev-ppl || test -f stage1-lean
+-@endif ppl
++@if isl
++ @cd $(HOST_SUBDIR); [ -d stage2-isl ] || \
++ mkdir stage2-isl; \
++ mv stage2-isl isl ; \
++ mv stage1-isl prev-isl || test -f stage1-lean
++@endif isl
+ @if cloog
+ @cd $(HOST_SUBDIR); [ -d stage2-cloog ] || \
+ mkdir stage2-cloog; \
+@@ -40649,6 +42966,12 @@
+ mv stage2-ld ld ; \
+ mv stage1-ld prev-ld || test -f stage1-lean
+ @endif ld
++@if libbacktrace
++ @cd $(HOST_SUBDIR); [ -d stage2-libbacktrace ] || \
++ mkdir stage2-libbacktrace; \
++ mv stage2-libbacktrace libbacktrace ; \
++ mv stage1-libbacktrace prev-libbacktrace || test -f stage1-lean
++@endif libbacktrace
+ @if libcpp
+ @cd $(HOST_SUBDIR); [ -d stage2-libcpp ] || \
+ mkdir stage2-libcpp; \
+@@ -40733,12 +43056,12 @@
+ mv prev-mpc stage1-mpc ; : ; \
+ fi
+ @endif mpc
+-@if ppl
+- @if test -d $(HOST_SUBDIR)/ppl ; then \
+- cd $(HOST_SUBDIR); mv ppl stage2-ppl ; \
+- mv prev-ppl stage1-ppl ; : ; \
++@if isl
++ @if test -d $(HOST_SUBDIR)/isl ; then \
++ cd $(HOST_SUBDIR); mv isl stage2-isl ; \
++ mv prev-isl stage1-isl ; : ; \
+ fi
+-@endif ppl
++@endif isl
+ @if cloog
+ @if test -d $(HOST_SUBDIR)/cloog ; then \
+ cd $(HOST_SUBDIR); mv cloog stage2-cloog ; \
+@@ -40769,6 +43092,12 @@
+ mv prev-ld stage1-ld ; : ; \
+ fi
+ @endif ld
++@if libbacktrace
++ @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
++ cd $(HOST_SUBDIR); mv libbacktrace stage2-libbacktrace ; \
++ mv prev-libbacktrace stage1-libbacktrace ; : ; \
++ fi
++@endif libbacktrace
+ @if libcpp
+ @if test -d $(HOST_SUBDIR)/libcpp ; then \
+ cd $(HOST_SUBDIR); mv libcpp stage2-libcpp ; \
+@@ -40919,12 +43248,12 @@
+ mv stage3-mpc mpc ; \
+ mv stage2-mpc prev-mpc || test -f stage2-lean
+ @endif mpc
+-@if ppl
+- @cd $(HOST_SUBDIR); [ -d stage3-ppl ] || \
+- mkdir stage3-ppl; \
+- mv stage3-ppl ppl ; \
+- mv stage2-ppl prev-ppl || test -f stage2-lean
+-@endif ppl
++@if isl
++ @cd $(HOST_SUBDIR); [ -d stage3-isl ] || \
++ mkdir stage3-isl; \
++ mv stage3-isl isl ; \
++ mv stage2-isl prev-isl || test -f stage2-lean
++@endif isl
+ @if cloog
+ @cd $(HOST_SUBDIR); [ -d stage3-cloog ] || \
+ mkdir stage3-cloog; \
+@@ -40955,6 +43284,12 @@
+ mv stage3-ld ld ; \
+ mv stage2-ld prev-ld || test -f stage2-lean
+ @endif ld
++@if libbacktrace
++ @cd $(HOST_SUBDIR); [ -d stage3-libbacktrace ] || \
++ mkdir stage3-libbacktrace; \
++ mv stage3-libbacktrace libbacktrace ; \
++ mv stage2-libbacktrace prev-libbacktrace || test -f stage2-lean
++@endif libbacktrace
+ @if libcpp
+ @cd $(HOST_SUBDIR); [ -d stage3-libcpp ] || \
+ mkdir stage3-libcpp; \
+@@ -41039,12 +43374,12 @@
+ mv prev-mpc stage2-mpc ; : ; \
+ fi
+ @endif mpc
+-@if ppl
+- @if test -d $(HOST_SUBDIR)/ppl ; then \
+- cd $(HOST_SUBDIR); mv ppl stage3-ppl ; \
+- mv prev-ppl stage2-ppl ; : ; \
++@if isl
++ @if test -d $(HOST_SUBDIR)/isl ; then \
++ cd $(HOST_SUBDIR); mv isl stage3-isl ; \
++ mv prev-isl stage2-isl ; : ; \
+ fi
+-@endif ppl
++@endif isl
+ @if cloog
+ @if test -d $(HOST_SUBDIR)/cloog ; then \
+ cd $(HOST_SUBDIR); mv cloog stage3-cloog ; \
+@@ -41075,6 +43410,12 @@
+ mv prev-ld stage2-ld ; : ; \
+ fi
+ @endif ld
++@if libbacktrace
++ @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
++ cd $(HOST_SUBDIR); mv libbacktrace stage3-libbacktrace ; \
++ mv prev-libbacktrace stage2-libbacktrace ; : ; \
++ fi
++@endif libbacktrace
+ @if libcpp
+ @if test -d $(HOST_SUBDIR)/libcpp ; then \
+ cd $(HOST_SUBDIR); mv libcpp stage3-libcpp ; \
+@@ -41281,12 +43622,12 @@
+ mv stage4-mpc mpc ; \
+ mv stage3-mpc prev-mpc || test -f stage3-lean
+ @endif mpc
+-@if ppl
+- @cd $(HOST_SUBDIR); [ -d stage4-ppl ] || \
+- mkdir stage4-ppl; \
+- mv stage4-ppl ppl ; \
+- mv stage3-ppl prev-ppl || test -f stage3-lean
+-@endif ppl
++@if isl
++ @cd $(HOST_SUBDIR); [ -d stage4-isl ] || \
++ mkdir stage4-isl; \
++ mv stage4-isl isl ; \
++ mv stage3-isl prev-isl || test -f stage3-lean
++@endif isl
+ @if cloog
+ @cd $(HOST_SUBDIR); [ -d stage4-cloog ] || \
+ mkdir stage4-cloog; \
+@@ -41317,6 +43658,12 @@
+ mv stage4-ld ld ; \
+ mv stage3-ld prev-ld || test -f stage3-lean
+ @endif ld
++@if libbacktrace
++ @cd $(HOST_SUBDIR); [ -d stage4-libbacktrace ] || \
++ mkdir stage4-libbacktrace; \
++ mv stage4-libbacktrace libbacktrace ; \
++ mv stage3-libbacktrace prev-libbacktrace || test -f stage3-lean
++@endif libbacktrace
+ @if libcpp
+ @cd $(HOST_SUBDIR); [ -d stage4-libcpp ] || \
+ mkdir stage4-libcpp; \
+@@ -41401,12 +43748,12 @@
+ mv prev-mpc stage3-mpc ; : ; \
+ fi
+ @endif mpc
+-@if ppl
+- @if test -d $(HOST_SUBDIR)/ppl ; then \
+- cd $(HOST_SUBDIR); mv ppl stage4-ppl ; \
+- mv prev-ppl stage3-ppl ; : ; \
++@if isl
++ @if test -d $(HOST_SUBDIR)/isl ; then \
++ cd $(HOST_SUBDIR); mv isl stage4-isl ; \
++ mv prev-isl stage3-isl ; : ; \
+ fi
+-@endif ppl
++@endif isl
+ @if cloog
+ @if test -d $(HOST_SUBDIR)/cloog ; then \
+ cd $(HOST_SUBDIR); mv cloog stage4-cloog ; \
+@@ -41437,6 +43784,12 @@
+ mv prev-ld stage3-ld ; : ; \
+ fi
+ @endif ld
++@if libbacktrace
++ @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
++ cd $(HOST_SUBDIR); mv libbacktrace stage4-libbacktrace ; \
++ mv prev-libbacktrace stage3-libbacktrace ; : ; \
++ fi
++@endif libbacktrace
+ @if libcpp
+ @if test -d $(HOST_SUBDIR)/libcpp ; then \
+ cd $(HOST_SUBDIR); mv libcpp stage4-libcpp ; \
+@@ -41631,12 +43984,12 @@
+ mv stageprofile-mpc mpc ; \
+ mv stage1-mpc prev-mpc || test -f stage1-lean
+ @endif mpc
+-@if ppl
+- @cd $(HOST_SUBDIR); [ -d stageprofile-ppl ] || \
+- mkdir stageprofile-ppl; \
+- mv stageprofile-ppl ppl ; \
+- mv stage1-ppl prev-ppl || test -f stage1-lean
+-@endif ppl
++@if isl
++ @cd $(HOST_SUBDIR); [ -d stageprofile-isl ] || \
++ mkdir stageprofile-isl; \
++ mv stageprofile-isl isl ; \
++ mv stage1-isl prev-isl || test -f stage1-lean
++@endif isl
+ @if cloog
+ @cd $(HOST_SUBDIR); [ -d stageprofile-cloog ] || \
+ mkdir stageprofile-cloog; \
+@@ -41667,6 +44020,12 @@
+ mv stageprofile-ld ld ; \
+ mv stage1-ld prev-ld || test -f stage1-lean
+ @endif ld
++@if libbacktrace
++ @cd $(HOST_SUBDIR); [ -d stageprofile-libbacktrace ] || \
++ mkdir stageprofile-libbacktrace; \
++ mv stageprofile-libbacktrace libbacktrace ; \
++ mv stage1-libbacktrace prev-libbacktrace || test -f stage1-lean
++@endif libbacktrace
+ @if libcpp
+ @cd $(HOST_SUBDIR); [ -d stageprofile-libcpp ] || \
+ mkdir stageprofile-libcpp; \
+@@ -41751,12 +44110,12 @@
+ mv prev-mpc stage1-mpc ; : ; \
+ fi
+ @endif mpc
+-@if ppl
+- @if test -d $(HOST_SUBDIR)/ppl ; then \
+- cd $(HOST_SUBDIR); mv ppl stageprofile-ppl ; \
+- mv prev-ppl stage1-ppl ; : ; \
++@if isl
++ @if test -d $(HOST_SUBDIR)/isl ; then \
++ cd $(HOST_SUBDIR); mv isl stageprofile-isl ; \
++ mv prev-isl stage1-isl ; : ; \
+ fi
+-@endif ppl
++@endif isl
+ @if cloog
+ @if test -d $(HOST_SUBDIR)/cloog ; then \
+ cd $(HOST_SUBDIR); mv cloog stageprofile-cloog ; \
+@@ -41787,6 +44146,12 @@
+ mv prev-ld stage1-ld ; : ; \
+ fi
+ @endif ld
++@if libbacktrace
++ @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
++ cd $(HOST_SUBDIR); mv libbacktrace stageprofile-libbacktrace ; \
++ mv prev-libbacktrace stage1-libbacktrace ; : ; \
++ fi
++@endif libbacktrace
+ @if libcpp
+ @if test -d $(HOST_SUBDIR)/libcpp ; then \
+ cd $(HOST_SUBDIR); mv libcpp stageprofile-libcpp ; \
+@@ -41914,12 +44279,12 @@
+ mv stagefeedback-mpc mpc ; \
+ mv stageprofile-mpc prev-mpc || test -f stageprofile-lean
+ @endif mpc
+-@if ppl
+- @cd $(HOST_SUBDIR); [ -d stagefeedback-ppl ] || \
+- mkdir stagefeedback-ppl; \
+- mv stagefeedback-ppl ppl ; \
+- mv stageprofile-ppl prev-ppl || test -f stageprofile-lean
+-@endif ppl
++@if isl
++ @cd $(HOST_SUBDIR); [ -d stagefeedback-isl ] || \
++ mkdir stagefeedback-isl; \
++ mv stagefeedback-isl isl ; \
++ mv stageprofile-isl prev-isl || test -f stageprofile-lean
++@endif isl
+ @if cloog
+ @cd $(HOST_SUBDIR); [ -d stagefeedback-cloog ] || \
+ mkdir stagefeedback-cloog; \
+@@ -41950,6 +44315,12 @@
+ mv stagefeedback-ld ld ; \
+ mv stageprofile-ld prev-ld || test -f stageprofile-lean
+ @endif ld
++@if libbacktrace
++ @cd $(HOST_SUBDIR); [ -d stagefeedback-libbacktrace ] || \
++ mkdir stagefeedback-libbacktrace; \
++ mv stagefeedback-libbacktrace libbacktrace ; \
++ mv stageprofile-libbacktrace prev-libbacktrace || test -f stageprofile-lean
++@endif libbacktrace
+ @if libcpp
+ @cd $(HOST_SUBDIR); [ -d stagefeedback-libcpp ] || \
+ mkdir stagefeedback-libcpp; \
+@@ -42034,12 +44405,12 @@
+ mv prev-mpc stageprofile-mpc ; : ; \
+ fi
+ @endif mpc
+-@if ppl
+- @if test -d $(HOST_SUBDIR)/ppl ; then \
+- cd $(HOST_SUBDIR); mv ppl stagefeedback-ppl ; \
+- mv prev-ppl stageprofile-ppl ; : ; \
++@if isl
++ @if test -d $(HOST_SUBDIR)/isl ; then \
++ cd $(HOST_SUBDIR); mv isl stagefeedback-isl ; \
++ mv prev-isl stageprofile-isl ; : ; \
+ fi
+-@endif ppl
++@endif isl
+ @if cloog
+ @if test -d $(HOST_SUBDIR)/cloog ; then \
+ cd $(HOST_SUBDIR); mv cloog stagefeedback-cloog ; \
+@@ -42070,6 +44441,12 @@
+ mv prev-ld stageprofile-ld ; : ; \
+ fi
+ @endif ld
++@if libbacktrace
++ @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
++ cd $(HOST_SUBDIR); mv libbacktrace stagefeedback-libbacktrace ; \
++ mv prev-libbacktrace stageprofile-libbacktrace ; : ; \
++ fi
++@endif libbacktrace
+ @if libcpp
+ @if test -d $(HOST_SUBDIR)/libcpp ; then \
+ cd $(HOST_SUBDIR); mv libcpp stagefeedback-libcpp ; \
+@@ -42222,6 +44599,7 @@
+ configure-stage4-target-libgcc: maybe-all-stage4-gcc
+ configure-stageprofile-target-libgcc: maybe-all-stageprofile-gcc
+ configure-stagefeedback-target-libgcc: maybe-all-stagefeedback-gcc
++configure-target-libbacktrace: stage_last
+ configure-target-libquadmath: stage_last
+ configure-target-libgfortran: stage_last
+ configure-target-libobjc: stage_last
+@@ -42241,6 +44619,8 @@
+ configure-stage4-target-libgomp: maybe-all-stage4-gcc
+ configure-stageprofile-target-libgomp: maybe-all-stageprofile-gcc
+ configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-gcc
++configure-target-libitm: stage_last
++configure-target-libatomic: stage_last
+ @endif gcc-bootstrap
+
+ @if gcc-no-bootstrap
+@@ -42249,6 +44629,7 @@
+ configure-target-libssp: maybe-all-gcc
+ configure-target-newlib: maybe-all-gcc
+ configure-target-libgcc: maybe-all-gcc
++configure-target-libbacktrace: maybe-all-gcc
+ configure-target-libquadmath: maybe-all-gcc
+ configure-target-libgfortran: maybe-all-gcc
+ configure-target-libobjc: maybe-all-gcc
+@@ -42263,6 +44644,8 @@
+ configure-target-rda: maybe-all-gcc
+ configure-target-libada: maybe-all-gcc
+ configure-target-libgomp: maybe-all-gcc
++configure-target-libitm: maybe-all-gcc
++configure-target-libatomic: maybe-all-gcc
+ @endif gcc-no-bootstrap
+
+
+@@ -42386,14 +44769,6 @@
+ all-stage4-gcc: maybe-all-stage4-mpc
+ all-stageprofile-gcc: maybe-all-stageprofile-mpc
+ all-stagefeedback-gcc: maybe-all-stagefeedback-mpc
+-all-gcc: maybe-all-ppl
+-
+-all-stage1-gcc: maybe-all-stage1-ppl
+-all-stage2-gcc: maybe-all-stage2-ppl
+-all-stage3-gcc: maybe-all-stage3-ppl
+-all-stage4-gcc: maybe-all-stage4-ppl
+-all-stageprofile-gcc: maybe-all-stageprofile-ppl
+-all-stagefeedback-gcc: maybe-all-stagefeedback-ppl
+ all-gcc: maybe-all-cloog
+
+ all-stage1-gcc: maybe-all-stage1-cloog
+@@ -42450,6 +44825,14 @@
+ all-stage4-gcc: maybe-all-stage4-zlib
+ all-stageprofile-gcc: maybe-all-stageprofile-zlib
+ all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
++all-gcc: all-libbacktrace
++
++all-stage1-gcc: all-stage1-libbacktrace
++all-stage2-gcc: all-stage2-libbacktrace
++all-stage3-gcc: all-stage3-libbacktrace
++all-stage4-gcc: all-stage4-libbacktrace
++all-stageprofile-gcc: all-stageprofile-libbacktrace
++all-stagefeedback-gcc: all-stagefeedback-libbacktrace
+ all-gcc: all-libcpp
+
+ all-stage1-gcc: all-stage1-libcpp
+@@ -42518,6 +44901,7 @@
+ install-gcc: maybe-install-fixincludes
+ install-gcc: maybe-install-lto-plugin
+ install-strip-gcc: maybe-install-strip-fixincludes
++install-strip-gcc: maybe-install-strip-lto-plugin
+ configure-libcpp: configure-libiberty
+
+ configure-stage1-libcpp: configure-stage1-libiberty
+@@ -42577,30 +44961,30 @@
+ configure-stage4-mpc: maybe-all-stage4-mpfr
+ configure-stageprofile-mpc: maybe-all-stageprofile-mpfr
+ configure-stagefeedback-mpc: maybe-all-stagefeedback-mpfr
+-configure-ppl: maybe-all-gmp
++configure-isl: maybe-all-gmp
+
+-configure-stage1-ppl: maybe-all-stage1-gmp
+-configure-stage2-ppl: maybe-all-stage2-gmp
+-configure-stage3-ppl: maybe-all-stage3-gmp
+-configure-stage4-ppl: maybe-all-stage4-gmp
+-configure-stageprofile-ppl: maybe-all-stageprofile-gmp
+-configure-stagefeedback-ppl: maybe-all-stagefeedback-gmp
+-configure-ppl: maybe-all-mpfr
+-
+-configure-stage1-ppl: maybe-all-stage1-mpfr
+-configure-stage2-ppl: maybe-all-stage2-mpfr
+-configure-stage3-ppl: maybe-all-stage3-mpfr
+-configure-stage4-ppl: maybe-all-stage4-mpfr
+-configure-stageprofile-ppl: maybe-all-stageprofile-mpfr
+-configure-stagefeedback-ppl: maybe-all-stagefeedback-mpfr
+-configure-cloog: maybe-all-ppl
+-
+-configure-stage1-cloog: maybe-all-stage1-ppl
+-configure-stage2-cloog: maybe-all-stage2-ppl
+-configure-stage3-cloog: maybe-all-stage3-ppl
+-configure-stage4-cloog: maybe-all-stage4-ppl
+-configure-stageprofile-cloog: maybe-all-stageprofile-ppl
+-configure-stagefeedback-cloog: maybe-all-stagefeedback-ppl
++configure-stage1-isl: maybe-all-stage1-gmp
++configure-stage2-isl: maybe-all-stage2-gmp
++configure-stage3-isl: maybe-all-stage3-gmp
++configure-stage4-isl: maybe-all-stage4-gmp
++configure-stageprofile-isl: maybe-all-stageprofile-gmp
++configure-stagefeedback-isl: maybe-all-stagefeedback-gmp
++configure-cloog: maybe-all-isl
++
++configure-stage1-cloog: maybe-all-stage1-isl
++configure-stage2-cloog: maybe-all-stage2-isl
++configure-stage3-cloog: maybe-all-stage3-isl
++configure-stage4-cloog: maybe-all-stage4-isl
++configure-stageprofile-cloog: maybe-all-stageprofile-isl
++configure-stagefeedback-cloog: maybe-all-stagefeedback-isl
++configure-cloog: maybe-all-gmp
++
++configure-stage1-cloog: maybe-all-stage1-gmp
++configure-stage2-cloog: maybe-all-stage2-gmp
++configure-stage3-cloog: maybe-all-stage3-gmp
++configure-stage4-cloog: maybe-all-stage4-gmp
++configure-stageprofile-cloog: maybe-all-stageprofile-gmp
++configure-stagefeedback-cloog: maybe-all-stagefeedback-gmp
+ configure-gdb: maybe-all-intl
+ configure-gdb: maybe-configure-sim
+ configure-gdb: maybe-all-bfd
+@@ -42964,6 +45348,7 @@
+ all-target-fastjar: maybe-all-target-zlib
+ configure-target-libgo: maybe-configure-target-libffi
+ configure-target-libgo: maybe-all-target-libstdc++-v3
++all-target-libgo: maybe-all-target-libbacktrace
+ all-target-libgo: maybe-all-target-libffi
+ configure-target-libjava: maybe-configure-target-zlib
+ configure-target-libjava: maybe-configure-target-boehm-gc
+@@ -43022,6 +45407,7 @@
+ configure-target-libmudflap: maybe-all-target-libgcc
+ configure-target-libssp: maybe-all-target-libgcc
+ configure-target-newlib: maybe-all-target-libgcc
++configure-target-libbacktrace: maybe-all-target-libgcc
+ configure-target-libquadmath: maybe-all-target-libgcc
+ configure-target-libgfortran: maybe-all-target-libgcc
+ configure-target-libobjc: maybe-all-target-libgcc
+@@ -43036,6 +45422,8 @@
+ configure-target-rda: maybe-all-target-libgcc
+ configure-target-libada: maybe-all-target-libgcc
+ configure-target-libgomp: maybe-all-target-libgcc
++configure-target-libitm: maybe-all-target-libgcc
++configure-target-libatomic: maybe-all-target-libgcc
+ @endif gcc-no-bootstrap
+
+
+@@ -43047,6 +45435,8 @@
+
+
+
++configure-target-libbacktrace: maybe-all-target-newlib maybe-all-target-libgloss
++
+ configure-target-libquadmath: maybe-all-target-newlib maybe-all-target-libgloss
+
+ configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
+@@ -43075,6 +45465,11 @@
+
+ configure-target-libgomp: maybe-all-target-newlib maybe-all-target-libgloss
+
++configure-target-libitm: maybe-all-target-newlib maybe-all-target-libgloss
++configure-target-libitm: maybe-all-target-libstdc++-v3
++
++configure-target-libatomic: maybe-all-target-newlib maybe-all-target-libgloss
++
+
+ CONFIGURE_GDB_TK = @CONFIGURE_GDB_TK@
+ GDB_TK = @GDB_TK@
+diff -Naur newlib-1.20.0.orig/Makefile.tpl newlib-1.20.0/Makefile.tpl
+--- newlib-1.20.0.orig/Makefile.tpl 2011-11-09 19:57:28.000000000 +0100
++++ newlib-1.20.0/Makefile.tpl 2012-10-15 10:31:19.503619205 +0200
+@@ -222,8 +222,7 @@
+ HOST_LIBS="$(STAGE1_LIBS)"; export HOST_LIBS; \
+ GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \
+ GMPINC="$(HOST_GMPINC)"; export GMPINC; \
+- PPLLIBS="$(HOST_PPLLIBS)"; export PPLLIBS; \
+- PPLINC="$(HOST_PPLINC)"; export PPLINC; \
++ ISLINC="$(HOST_ISLINC)"; export ISLINC; \
+ CLOOGLIBS="$(HOST_CLOOGLIBS)"; export CLOOGLIBS; \
+ CLOOGINC="$(HOST_CLOOGINC)"; export CLOOGINC; \
+ LIBELFLIBS="$(HOST_LIBELFLIBS)" ; export LIBELFLIBS; \
+@@ -313,9 +312,8 @@
+ HOST_GMPLIBS = @gmplibs@
+ HOST_GMPINC = @gmpinc@
+
+-# Where to find PPL
+-HOST_PPLLIBS = @ppllibs@
+-HOST_PPLINC = @pplinc@
++# Where to find ISL
++HOST_ISLINC = @islinc@
+
+ # Where to find CLOOG
+ HOST_CLOOGLIBS = @clooglibs@
+@@ -425,7 +423,6 @@
+ STAGE_CFLAGS = $(BOOT_CFLAGS)
+ STAGE_TFLAGS = $(TFLAGS)
+ STAGE_CONFIGURE_FLAGS=@stage2_werror_flag@
+-POSTSTAGE1_CONFIGURE_FLAGS = @POSTSTAGE1_CONFIGURE_FLAGS@
+
+ [+ FOR bootstrap-stage +]
+ # Defaults for stage [+id+]; some are overridden below.
+@@ -436,10 +433,7 @@
+ STAGE[+id+]_CXXFLAGS = $(STAGE[+id+]_CFLAGS)
+ @endif target-libstdc++-v3-bootstrap
+ STAGE[+id+]_TFLAGS = $(STAGE_TFLAGS)
+-# STAGE1_CONFIGURE_FLAGS overridden below, so we can use
+-# POSTSTAGE1_CONFIGURE_FLAGS here.
+-STAGE[+id+]_CONFIGURE_FLAGS = \
+- $(STAGE_CONFIGURE_FLAGS) $(POSTSTAGE1_CONFIGURE_FLAGS)
++STAGE[+id+]_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
+ [+ ENDFOR bootstrap-stage +]
+
+ # Only build the C compiler for stage1, because that is the only one that
+@@ -457,9 +451,6 @@
+ # the last argument when conflicting --enable arguments are passed.
+ # * Likewise, we force-disable coverage flags, since the installed
+ # compiler probably has never heard of them.
+-# * Don't remove this, because above we added
+-# POSTSTAGE1_CONFIGURE_FLAGS to STAGE[+id+]_CONFIGURE_FLAGS, which
+-# we don't want for STAGE1_CONFIGURE_FLAGS.
+ STAGE1_CONFIGURE_FLAGS = --disable-intermodule $(STAGE1_CHECKING) \
+ --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
+
+@@ -906,11 +897,12 @@
+ true ; \
+ fi
+
+-# install-no-fixedincludes is used because Cygnus can not distribute
+-# the fixed header files.
++# install-no-fixedincludes is used to allow the elaboration of binary packages
++# suitable for distribution, where we cannot include the fixed system header
++# files.
+ .PHONY: install-no-fixedincludes
+ install-no-fixedincludes: installdirs install-host-nogcc \
+- install-target gcc-no-fixedincludes
++ install-target gcc-install-no-fixedincludes
+
+ .PHONY: install-strip
+ install-strip:
+@@ -1414,6 +1406,20 @@
+
+ @endif target-libmudflap
+
++@if target-libgomp
++.PHONY: check-target-libgomp-c++
++check-target-libgomp-c++:
++ $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++.exp" check-target-libgomp
++
++@endif target-libgomp
++
++@if target-libitm
++.PHONY: check-target-libitm-c++
++check-target-libitm-c++:
++ $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++.exp" check-target-libitm
++
++@endif target-libitm
++
+ # ----------
+ # GCC module
+ # ----------
+@@ -1443,25 +1449,16 @@
+ check-[+language+]: check-gcc-[+language+][+ FOR lib-check-target +] [+ lib-check-target +][+ ENDFOR lib-check-target +]
+ [+ ENDFOR languages +]
+
+-# Install the gcc headers files, but not the fixed include files,
+-# which Cygnus is not allowed to distribute. This rule is very
+-# dependent on the workings of the gcc Makefile.in.
+-.PHONY: gcc-no-fixedincludes
+-gcc-no-fixedincludes:
++# The gcc part of install-no-fixedincludes, which relies on an intimate
++# knowledge of how a number of gcc internal targets (inter)operate. Delegate.
++.PHONY: gcc-install-no-fixedincludes
++gcc-install-no-fixedincludes:
+ @if [ -f ./gcc/Makefile ]; then \
+- rm -rf gcc/tmp-include; \
+- mv gcc/include gcc/tmp-include 2>/dev/null; \
+- mkdir gcc/include; \
+- cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
+- touch gcc/stmp-fixinc gcc/include/fixed; \
+- rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
+ r=`${PWD_COMMAND}`; export r; \
+- s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
++ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(HOST_EXPORTS) \
+- (cd ./gcc && \
+- $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
+- rm -rf gcc/include; \
+- mv gcc/tmp-include gcc/include 2>/dev/null; \
++ (cd ./gcc \
++ && $(MAKE) $(GCC_FLAGS_TO_PASS) install-no-fixedincludes); \
+ else true; fi
+ @endif gcc
+
+diff -Naur newlib-1.20.0.orig/newlib/ChangeLog newlib-1.20.0/newlib/ChangeLog
+--- newlib-1.20.0.orig/newlib/ChangeLog 2011-12-19 23:03:17.000000000 +0100
++++ newlib-1.20.0/newlib/ChangeLog 2012-10-15 10:31:19.561620137 +0200
+@@ -1,3 +1,415 @@
++2012-10-11 Ralf Corsépius <ralf.corsepius@rtems.org>
++
++ * libc/include/sys/features.h (__rtems__):
++ Comment out _POSIX_MEMLOCK, _POSIX_MEMLOCK_RANGE
++ (https://www.rtems.org/bugzilla/show_bug.cgi?id=2078).
++
++2012-10-09 Peter Rosin <peda@lysator.liu.se>
++
++ * libc/posix/wordfree.c (wordfree): The wrong words are freed
++ when WRDE_DOOFFS is in use. Restructure the code so that the memory
++ needed to be freed is instead kept in an internal linked list...
++ * libc/posix/wordexp2.h: ...as defined here...
++ * libc/posix/wordexp.c (wordexp): ...and build this internal
++ linked list here, avoiding wasteful strdup calls in the process.
++
++2012-10-09 Peter Rosin <peda@lysator.liu.se>
++
++ * libc/posix/wordexp.c (wordexp): Return WRDE_NOSPACE on resource
++ allocation failure. Cleanup leftover resources when failing.
++
++2012-10-09 Peter Rosin <peda@lysator.liu.se>
++
++ * libc/posix/wordexp.c (wordexp): Handle expanded words longer
++ than 500 bytes.
++
++2012-10-09 Peter Rosin <peda@lysator.liu.se>
++
++ * libc/posix/wordexp.c (wordexp): Don't leak file streams.
++
++2012-10-03 DJ Delorie <dj@redhat.com>
++
++ * libc/machine/rl78/setjmp.S: Convert from CPP macros to GAS
++ macros, to avoid dependence on the line separation character.
++
++2012-10-01 DJ Delorie <dj@redhat.com>
++
++ * libc/sys/sysnecv850/sbrk.c (_sbrk): Change heap_start to be an
++ array of undefined size, to avoid problems when compiled with
++ -msda=4.
++
++2012-10-01 Jeff Johnston <jjohnstn@redhat.com>
++
++ * README: replace sources.redhat.com with sourceware.org.
++ * HOWTO: Ditto.
++
++2012-09-26 Ian Bolton <ian.bolton@arm.com>
++ Jim MacArthur <jim.macarthur@arm.com>
++ Marcus Shawcroft <marcus.shawcroft@arm.com>
++ Nigel Stephens <nigel.stephens@arm.com>
++ Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
++ Richard Earnshaw <rearnsha@arm.com>
++ Sofiane Naci <sofiane.naci@arm.com>
++ Tejas Belagod <tejas.belagod@arm.com>
++ Yufeng Zhang <yufeng.zhang@arm.com>
++
++ * configure.host: Add AArch64.
++ * libc/include/machine/ieeefp.h: Add AArch64.
++ * libc/include/machine/setjmp.h: Add AArch64.
++ * libc/include/machine/time.h: Add AArch64.
++ * libc/include/sys/config.h: Add AArch64.
++ * libc/machine/aarch64/Makefile.am: New file.
++ * libc/machine/aarch64/Makefile.in: Generated.
++ * libc/machine/aarch64/aclocal.m4: Generated.
++ * libc/machine/aarch64/configure: Generated.
++ * libc/machine/aarch64/configure.in: New file.
++ * libc/machine/aarch64/setjmp.S: New file.
++ * libc/machine/configure.in: Add AArch64.
++ * libc/machine/configure: Re-generated.
++ * libm/machine/aarch64/Makefile.am: New file.
++ * libm/machine/aarch64/Makefile.in: Generated.
++ * libm/machine/aarch64/aclocal.m4: Generated.
++ * libm/machine/aarch64/configure: Generated.
++ * libm/machine/aarch64/configure.in: New file.
++ * libm/machine/aarch64/s_ceil.c: New file.
++ * libm/machine/aarch64/s_floor.c: New file.
++ * libm/machine/aarch64/s_fma.c: New file.
++ * libm/machine/aarch64/s_fmax.c: New file.
++ * libm/machine/aarch64/s_fmin.c: New file.
++ * libm/machine/aarch64/s_llrint.c: New file.
++ * libm/machine/aarch64/s_llround.c: New file.
++ * libm/machine/aarch64/s_lrint.c: New file.
++ * libm/machine/aarch64/s_lround.c: New file.
++ * libm/machine/aarch64/s_nearbyint.c: New file.
++ * libm/machine/aarch64/s_rint.c: New file.
++ * libm/machine/aarch64/s_round.c: New file.
++ * libm/machine/aarch64/s_trunc.c: New file.
++ * libm/machine/aarch64/sf_ceil.c: New file.
++ * libm/machine/aarch64/sf_floor.c: New file.
++ * libm/machine/aarch64/sf_fma.c: New file.
++ * libm/machine/aarch64/sf_fmax.c: New file.
++ * libm/machine/aarch64/sf_fmin.c: New file.
++ * libm/machine/aarch64/sf_llrint.c: New file.
++ * libm/machine/aarch64/sf_llround.c: New file.
++ * libm/machine/aarch64/sf_lrint.c: New file.
++ * libm/machine/aarch64/sf_lround.c: New file.
++ * libm/machine/aarch64/sf_nearbyint.c: New file.
++ * libm/machine/aarch64/sf_rint.c: New file.
++ * libm/machine/aarch64/sf_round.c: New file.
++ * libm/machine/aarch64/sf_trunc.c: New file.
++ * libm/machine/configure.in: Add AArch64.
++ * libm/machine/configure: Re-generated.
++
++2012-09-26 Michael Hope <michael.hope@linaro.org>
++
++ * doc/makedoc.c (dup_): Rename to avoid colliding with dup(2).
++
++2012-09-13 Anthony Green <green@moxielogic.com>
++
++ * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Add bi-endian
++ support for moxie.
++
++2012-08-23 Christopher Faylor <me.cygwin2012@cgf.cx>
++
++ * libc/stdio/flags.c (__sflags): Guard against using O_BINARY on
++ systems which do not provide it.
++
++2012-08-21 Christopher Faylor <me.cygwin2012@cgf.cx>
++
++ * libc/stdio/flags.c (__sflags): Rewrite recognition of extended mode
++ flags to just loop over more allowed flags. Support glibc 'e' flag on
++ systems defining _GLIBC_EXTENSION. Support C11 'x' flag.
++
++2012-08-10 Corinna Vinschen <vinschen@redhat.com>
++
++ * libc/stdlib/btowc.c (btowc): Cast to avoid compiler warning.
++ * libc/search/hash_buf.c (__get_buf): Initialize local vars to avoid
++ compiler warning.
++ * libc/stdio/fgets.c (_fgets_r): Ditto.
++ * libc/time/strftime.c (strftime): Ditto.
++
++2012-08-10 Corinna Vinschen <vinschen@redhat.com>
++
++ * libc/stdio/vfwprintf.c (_VFWPRINTF_R): Fix guard around state to
++ allow usage in !FLOATING_POINT && _WANT_IO_C99_FORMATS case.
++
++2012-08-08 Eric Blake <eblake@redhat.com>
++
++ * libc/posix/engine.c(dissect): Guard diagnostic pragma for right
++ versions of GCC only.
++ * libc/string/strcasestr.c: Ditto.
++
++2012-08-08 Corinna Vinschen <vinschen@redhat.com>
++
++ Throughout, run newlib with -Wall -Werror option and fix bugs and
++ compiler warnings found this way.
++
++ * libc/stdio/freopen.c (_freopen_r): Fix bug setting _flags.
++
++ * libc/include/stdio.h (_rename): Define when building newlib.
++ * libc/include/sys/signal.h (_kill): Ditto.
++ * libc/include/sys/stat.h (_mkdir): Ditto.
++ * libc/include/sys/time.h (_gettimeofday): Ditto.
++ * libc/include/sys/times.h (_times): Ditto.
++ * libc/include/sys/wait.h (_wait): Ditto.
++ * libc/locale/lmessages.c (empty): Don't define for Cygwin.
++ * libc/locale/lmonetary.c (cnv): Ditto.
++ * libc/locale/nl_langinfo.c (nl_langinfo): Ditto for variable s.
++ * libc/posix/collate.c: Throughout cast to avoid compiler warning.
++ * libc/posix/engine.c (matcher): Initialize dp to avoid compiler
++ warning.
++ (dissect): Deliberately silence gcc compiler warning. Add comment to
++ explain why.
++ * libc/posix/glob.c: Disable on Cygwin. Explain why.
++ * libc/posix/regcomp.c: Fix "uninitialized" compiler warnings.
++ * libc/posix/wordexp.c (wordexp): Remove num_bytes variable since result
++ is never used.
++ * libc/posix/popen.c (popen): Ditto for variable last.
++ * libc/reent/mkdirr.c: Include sys/stat.h.
++ * libc/reent/renamer.c: Include stdio.h.
++ * libc/search/hash.c: Throughout use underscored variants of the stat
++ function family.
++ (init_hash): Add missing definition for the __USE_INTERNAL_STAT64 case.
++ * libc/search/hash_bigkey.c (__big_insert): Add parenthesis to avoid
++ compiler warning.
++ * libc/search/hash_page.c (overflow_page): Initalize freep to NULL to
++ avoid compiler warning.
++ * libc/stdio/asiprintf.c (_asiprintf_r): Cast unsigned char * to char *
++ to avoid compiler warning.
++ (asiprintf): Ditto.
++ * libc/stdio/asprintf.c (_asprintf_r): Ditto.
++ (asprintf): Ditto.
++ * libc/stdio/vasiprintf.c (_vasiprintf_r): Ditto.
++ * libc/stdio/vasprintf.c (_vasprintf_r): Ditto.
++ * libc/stdio/mktemp.c (_gettemp): Cast to unsigned char in call to
++ isdigit to avoid compiler warning.
++ * libc/stdio/vfprintf.c (_VFPRINTF_R): Initialize variables used for
++ grouping to avoid compiler warning. Only define and set nseps and
++ nrepeats if they are really used.
++ * libc/stdio/vfwprintf.c (_VFWPRINTF_R): Ditto. Only define state if
++ it is really used.
++ * libc/stdio/vfscanf.c (u_char): Revert to be defined as unsigned char.
++ (__SVFSCANF_R): Cast fmt in call to __mbtowc.
++ * libc/stdlib/mbtowc_r.c (JIS_state_table): Disable when building
++ Cygwin.
++ (JIS_action_table): Ditto.
++ * libc/stdlib/wctomb_r.c (__utf8_wctomb): Add parenthesis to avoid
++ compiler warning.
++ * libc/string/strcasestr.c: Deliberately silence gcc compiler warning.
++ Add comment to explain why.
++ * libc/time/strptime.c (strptime): Cast to unsigned char in calls to
++ isspace to avoid compiler warning.
++ * libm/math/e_atan2.c (__ieee754_atan2): Add parenthesis to avoid
++ compiler warning.
++ * libm/math/e_exp.c (__ieee754_exp): Initialize k to 0 to avoid
++ compiler warning. Drop setting it to 0 later.
++ * libm/math/ef_exp.c (__ieee754_expf): Ditto.
++ * libm/math/e_pow.c (__ieee754_pow): Add braces to avoid compiler
++ warning.
++ * libm/math/ef_pow.c (__ieee754_powf): Ditto.
++ * libm/math/er_lgamma.c (__ieee754_lgamma_r): Initialize nadj to 0 to
++ avoid compiler warning.
++ * libm/math/erf_lgamma.c (__ieee754_lgammaf_r): Ditto.
++ * libm/math/e_rem_pio2.c (__ieee754_rem_pio2): Ditto for variable z.
++ * libm/common/sf_round.c (roundf): Remove signbit variable since result
++ is never used.
++
++2012-08-07 Corinna Vinschen <vinschen@redhat.com>
++
++ * libc/stdlib/mprec.h (Storeinc): Add parenthesis to avoid compiler
++ warning.
++
++2012-07-30 Kevin Buettner <kevinb@redhat.com>
++
++ * libc/sys/sysnecv850/crt0.S (_start): Use v850e-specific
++ start up code for v850e2 and v850e2v3 too.
++
++2012-07-20 Eric Blake <eblake@redhat.com>
++
++ * libc/posix/readdir.c (readdir): Drop bogus attempt to catch
++ bogus pointers.
++
++2012-07-18 Ralf Corsépius <ralf.corsepius@rtems.org>
++
++ * libc/sys/rtems/machine/_types.h (_ssize_t): Use signed int for
++ __v850__, __851__.
++
++2012-07-17 Ralf Corsépius <ralf.corsepius@rtems.org>
++
++ * libc/search/hcreate_r.c (hdestroy_r): #ifdef 0 unused vars ie, idx.
++
++2012-07-16 Ralf Corsépius <ralf.corsepius@rtems.org>
++
++ * libc/posix/telldir.c: Conditionally build dd_hash_lock.
++
++2012-07-13 Ralf Corsépius <ralf.corsepius@rtems.org>
++
++ * libc/sys/rtems/machine/_types.h (_ssize_t): Add __ARM_EABI__,
++ __v850__, __851__.
++
++2012-07-09 Corinna Vinschen <vinschen@redhat.com>
++
++ * libc/stdio/fileno.c (fileno): Check if f is a valid stream. If not,
++ return -1 and set errno to EBADF per POSIX.
++
++2012-07-06 Corinna Vinschen <vinschen@redhat.com>
++
++ Allow building of Cygwin using Mingw64 SDK headers:
++ * libc/include/sys/time.h: Drop _WINSOCK_H guard. Just use
++ _TIMEVAL_DEFINED instead.
++ * libc/include/sys/types.h: Check for _WINSOCKAPI_ along with
++ _WINSOCK_H.
++ * libc/include/sys/unistd.h: Ditto.
++
++2012-06-29 Ralf Corsépius <ralf.corsepius@rtems.org>
++
++ * libc/include/string.h: Put memrchr into #ifdef _GLIBC_EXTENSION
++ guard.
++ * libc/string/memrchr.c: Don't build unless _GLIBC_EXTENSION is
++ given.
++
++2012-06-29 Ralf Corsépius <ralf.corsepius@rtems.org>
++
++ * libc/sys/rtems/crt0.c: Revert 2012-05-09's changes.
++
++2012-06-28 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
++
++ * doc/Makefile.am (makedoc): Use LDFLAGS_FOR_BUILD not LDFLAGS.
++ * doc/Makefile.in: Regenerate.
++
++2012-06-26 Christopher Faylor <me.newlib2012@cgf.cx>
++
++ * libc/include/sys/types.h: Don't use the same preprocessor guard for
++ time_t, timespec, and itimerspec. Add a separate guard specifically
++ for timespec and always unconditionally define itimerspec.
++
++2012-06-05 Corinna Vinschen <vinschen@redhat.com>
++
++ * libc/stdio/findfp.c (__sinit): Avoid infinite recursion on
++ _REENT_SMALL targets. Add comment to explain.
++
++2012-05-30 Corinna Vinschen <vinschen@redhat.com>
++
++ * libc/stdio/fgetws.c (_fgetws_r): Call _mbsnrtowcs_r rather than
++ _mbsrtowcs_r and restrict number of wide chars to n - 1.
++
++2012-05-21 Sandeep Kumar Singh <Sandeep.Singh2@kpitcummins.com>
++
++ * libc/machine/cr16/sys/asm.h: Added some missing instructions
++ and removed few unsupported instructions of cr16 target.
++
++2012-05-10 Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
++
++ * libc/include/string.h (memrchr): Declare.
++ * libc/string/Makefile.am (ELIX_4_SOURCES): Add memrchr.c.
++ (CHEWOUT_FILES): Add memrchr.def.
++ * libc/string/Makefile.in: Regenerate.
++ * libc/string/memrchr.c: New file.
++
++2012-05-10 Joel Sherrill <joel.sherrill@oarcorp.com>
++
++ * libc/sys/rtems/machine/_types.h: Add Microblaze.
++
++2012-05-09 Joel Sherrill <joel.sherrill@oarcorp.com>
++
++ * libc/sys/rtems/crt0.c: Add stubs for access(), ftruncate(),
++ _getpid_r(), geteuid(), getgid, _getgid_r, getpid(), getppid(),
++ and _getpid_r().
++
++2012-05-03 Greta Yorsh <Greta.Yorsh@arm.com>
++
++ * testsuite/newlib.string/strcmp-1.c (LONG_TEST): New macro.
++ (MAX_BLOCK_SIZE): Use small value when LONG_TEST is not set.
++ (MAX_DIFF, MAX_LEN, MAX_ZEROS) Likewise.
++
++2012-03-29 Corinna Vinschen <vinschen@redhat.com>
++
++ * libc/locale/locale.c (__mb_cur_max): On Cygwin, align default value
++ with default UTF-8 charset.
++
++2012-03-26 Corinna Vinschen <vinschen@redhat.com>
++
++ * libc/stdio/findfp.c (__sinit): Set __sdidinit last.
++
++2012-03-09 Jeff Johnston <jjohnstn@redhat.com>
++
++ * libc/include/machine/setjmp-dj.h: Modify license to include
++ modification in clause as permitted by DJ Delorie.
++ * libc/machine/arm/access.c: Ditto.
++ * libc/machine/i386/setjmp.S: Ditto.
++ * libc/sys/h8300hms/sys/file.h: Ditto.
++ * libc/sys/linux/machine/i386/setjmp.S: Ditto.
++ * libc/sys/sysmec/access.c: Ditto.
++ * libc/sys/sysnecv850/access.c: Ditto.
++
++2012-03-02 Jeff Johnston <jjohnstn@redhat.com>
++
++ * libc/posix/readdir_r.c: Fix return code when end of
++ directory is reached.
++
++2012-02-23 Dan Egnor <egnor@ofb.net>
++
++ * configure.host: Accept "arm*" host spec instead of just "arm".
++
++2012-02-21 Jeremy Bennett <jeremy.bennett@embecosm.com>
++ Alan Lehotsky <apl@alum.mit.edu>
++ Joern Rennecke <joern.rennecke@embecosm.com>
++
++ * configure.host: Add Epiphany support.
++ * libc/include/machine/ieeefp.h: Likewise.
++ * libc/include/machine/setjmp.h: Likewise.
++ * libc/machine/configure.in, libc/sys/configure.in: Likewise.
++ * libc/machine/configure, libc/sys/configure: Regenerate.
++ * libc/machine/epiphany, libc/sys/epiphany: New directories.
++ * NEWS: Mention addition of Epiphany.
++
++2012-02-15 Christopher Faylor <me.newlib2012@cgf.cx>
++
++ * configure.host: Fix typo: xdir_dir -> xdr_dir.
++
++2012-02-09 Eric Blake <eblake@redhat.com>
++
++ * libc/include/_ansi.h (_ELIDABLE_INLINE): Fix C99 mode.
++
++2012-02-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
++
++ * libc/sys/rtems/sys/utime.h: Include <sys/types.h> to provide a
++ definition of time_t.
++
++2012-01-13 Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
++
++ * libc/stdio/sprintf.c: Document 'm' conversion specifier.
++ * libc/stdio/swprintf.c: Ditto.
++ * libc/stdio/vfprintf.c (_VFPRINTF_R) [_GLIBC_EXTENSION]: Handle 'm'
++ conversion specifier.
++ * libc/stdio/vfwprintf.c (_VFWPRINTF_R) [_GLIBC_EXTENSION]: Ditto.
++
++2012-01-12 Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
++
++ * libc/include/tgmath.h: New header.
++
++2012-01-09 Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
++
++ * libc/include/sys/unistd.h [__CYGWIN__] (get_current_dir_name):
++ Declare.
++
++2012-01-09 Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
++
++ * libc/include/complex.h: Fix "/*" within comment warning.
++
++2012-01-09 Corinna Vinschen <vinschen@redhat.com>
++
++ * libc/include/process.h: Remove Cygwin-only header.
++
++2012-01-03 Viachaslau Kulakouski <Viachaslau.Kulakouski@oracle.com>
++
++ * libc/stdlib/__atexit.c: Refer to __atexit_lock instead of lock.
++
++2011-12-20 Aleksandr Platonov <pam@oktetlabs.ru>
++
++ * libc/stdio/fvwrite.c (__sfvwrite_r): Set __SMBF flag to avoid double
++ free in fclose. Enhance comment.
++
+ 2011-12-19 Jeff Johnston <jjohnstn@redhat.com>
+
+ * NEWS: Update with 1.20.0 info.
+@@ -16,14 +428,6 @@
+ * libm/libm.texinfo: Ditto.
+ * libc/sys/linux/shared.ld: Add VERS_1.20
+
+-2011-12-13 Richard Earnshaw <rearnsha@arm.com>
+- Thomas Klein <th.r.klein@web.de>
+-
+- * libc/sys/arm/crt0.S: Manually set the target architecture
+- when compiling for Thumb1 on EABI targets.
+- Don't use SWI on M-profile cores.
+- Avoid v6-only Thumb-1 MOV instruction.
+-
+ 2011-12-12 Akio Idehara <zbe64533@gmail.com>
+
+ * libc/time/strftime.c (get_era_info): Fix off-by-one error in month
+@@ -48,51 +452,16 @@
+ * libc/iconv/ccs/Makefile.am: Add missing backslash.
+ * libc/iconv/ccs/Makefile.in: Regenerate.
+
+-2011-10-18 Dr David Alan Gilbert <david.gilbert@linaro.org>
+-
+- * libc/machine/arm/Makefile.am (lib_a_SOURCES): Add memchr-stub.c,
+- memchr.S.
+- * libc/machine/arm/arm_asm.h: Add ifdef to allow it to be included
+- in .S files.
+- * libc/machine/arm/memchr-stub.c: New file - just selects what to
+- compile.
+- * libc/machine/arm/memchr.S: New file - ARMv6t2/v7 version.
+-
+- * libc/machine/arm/Makefile.am (lib_a_SOURCES): Add strlen-armv7.S.
+- * libc/machine/arm/strlen-armv7.S: New file.
+- * libc/machine/arm/strlen.c: Add ifdef optimised code so it isn't
+- for v7 or 6t2.
+-
+- * libc/machine/arm/Makefile.in: Regenerate.
+-
+ 2011-10-11 Steven Abner <pheonix@zoomtown.com>
+
+ * libc/time/mktm_r.c: (__tzcalc_limits) Fix Julian day calculation.
+ * libc/time/mktime.c: (mktime) Fix tm_yday, tm_mday updating when
+ timezone causes roll over.
+
+-2011-10-10 Nick Clifton <nickc@redhat.com>
+-
+- * libc/sys/arm/crt0.S: Synchronise with libgloss version.
+- * libc/sys/arm/arm.h: Imported from libgloss.
+-
+ 2011-10-04 Greta Yorsh <Greta.Yorsh@arm.com>
+
+ * testsuite/newlib.string/memcpy-1.c: New test.
+
+-2011-10-04 Nick Clifton <nickc@redhat.com>
+-
+- * libc/machine/arm/memcpy.S: Fix unaligned access copying.
+-
+-2011-09-29 Greta Yorsh <Greta.Yorsh@arm.com>
+-
+- * libc/machine/arm/memcpy.S: New file. Contains a hand coded
+- memcpy function optimized for the cortex-a15.
+- * libc/machine/arm/memcpy-stub.c: New file.
+- * libc/machine/arm/Makefile.am (lib_a_SOURCES): Add memcpy-stub.c,
+- memcpy.S.
+- * libc/machine/arm/Makefile.in: Regenerate.
+-
+ 2011-09-08 Jeff Johnston <jjohnstn@redhat.com>
+
+ * testsuite/lib/flags.exp: Add logic to add the
+@@ -492,16 +861,6 @@
+ * libm/math/w_tgamma.c: Only build ifndef _DOUBLE_IS_32BITS.
+ * libm/math/wf_tgamma.c: Map tgamma to tgammaf, ifdef _DOUBLE_IS_32BITS.
+
+-2011-01-12 Jeff Johnston <jjohnstn@redhat.com>
+-
+- * configure.host: Add noinclude variable to allow specification
+- of header files to remove from installation.
+- * acinclude.m4: Provide NO_INCLUDE_LIST variable based on
+- noinclude variable in configure.host.
+- * configure: Regenerated.
+- * Makefile.am: Remove all header files in NO_INCLUDE_LIST.
+- * Makefile.in: Regenerated.
+-
+ 2011-01-12 Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
+
+ * libc/sys/linux/sys/signal.h (sig_t): Move from here...
+diff -Naur newlib-1.20.0.orig/newlib/ChangeLog.rtems newlib-1.20.0/newlib/ChangeLog.rtems
+--- newlib-1.20.0.orig/newlib/ChangeLog.rtems 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/newlib/ChangeLog.rtems 2012-10-15 10:31:19.564620186 +0200
+@@ -0,0 +1,158 @@
++2012-07-05 Ralf Corsépius <ralf.corsepius@rtems.org>
++
++ * libc/include/inttypes.h: Use __LP64__ to separate sparc64 from sparc32.
++
++2012-06-27 Ralf Corsépius <ralf.corsepius@rtems.org>
++
++ * libc/include/inttypes.h: Add __v850__, __v851__.
++
++2012-06-05 Ralf Corsépius <ralf.corsepius@rtems.org>
++
++ * libc/sys/rtems/sys/dirent.h: Include <limits.h>.
++
++2012-04-19 Ralf Corsépius <ralf.corsepius@rtems.org>
++
++ * libc/include/inttypes.h: Add _MICROBLAZE__.
++
++2012-03-28 Ralf Corsépius <ralf.corsepius@rtems.org>
++
++ * libc/include/inttypes.h: Add preliminary support for GCC's stdint.h.
++
++2011-12-16 Ralf Corsépius <ralf.corsepius@rtems.org>
++
++ * libc/include/sys/time.h: Add adjtime.
++ * libc/include/sys/resource.h: Add getrusage.
++
++2011-08-11 Ralf Corsépius <ralf.corsepius@rtems.org>
++
++ * libc/stdio/tmpnam.c: Use PRIxPTR instead of %x.
++
++2011-04-19 Ralf Corsépius <ralf.corsepius@rtems.org>
++
++ * libc/include/stdint.h: Rework SIZE_MAX.
++
++2011-02-07 Ralf Corsépius <ralf.corsepius@rtems.org>
++
++ * libc/include/stdlib.h: More ansi-compliance.
++
++2011-02-01 Ralf Corsépius <ralf.corsepius@rtems.org>
++
++ * libc/include/stdio.h: More ansi-compliance.
++
++ * libc/include/stdlib.h: Remove atoff.
++ * libc/stdlib/atoff.c: Remove.
++ * libc/stdlib/atof.c: Remove atoff.
++ * libc/stdlib/Makefile.am: Remove atoff.
++ * libc/stdlib/Makefile.in: Regenerate.
++
++ * libc/include/stdio.h: Make fdopen accessible to c99.
++
++2011-01-11 Ralf Corsépius <ralf.corsepius@rtems.org>
++
++ * libc/include/string.h: Remove Cygwin DEFS_H kludge.
++
++2011-01-07 Ralf Corsépius <ralf.corsepius@rtems.org>
++
++ * libc/stdio/open_memstream.c: Replace 64 * 1024 with 0x10000 to
++ avoid integer overflow on h8300.
++
++2011-01-05 Ralf Corsépius <ralf.corsepius@rtems.org>
++
++ * libc/stdio/tmpnam.c: Include <stdint.h>.
++ Use intptr_t instead of _POINTER_INT for improved portability.
++ * libc/misc/__dprintf.c: Include <stdint.h>
++ Use intptr_t instead of _POINTER_INT for improved portability.
++
++2011-01-05 Ralf Corsépius <ralf.corsepius@rtems.org>
++
++ * libm/common/s_round.c: Cast const int to __int32_t.
++
++2011-01-04 Ralf Corsépius <ralf.corsepius@rtems.org>
++
++ * libm/math/e_scalb.c: Include <limits.h>.
++ Don't rely on 65000 being a valid int.
++
++2011-01-04 Ralf Corsépius <ralf.corsepius@rtems.org>
++
++ * libc/posix/readdir.c: Include <stdint.h>.
++ Cast to intptr_t instead of int.
++
++2011-01-04 Ralf Corsépius <ralf.corsepius@rtems.org>
++
++ * libc/string/memccpy.c, libc/string/memchr.c,
++ libc/string/memcmp.c, libc/string/memcpy.c,
++ libc/string/memmove.c, libc/string/mempcpy.c,
++ libc/string/memset.c, libc/string/stpcpy.c,
++ libc/string/stpncpy.c, libc/string/strcpy.c,
++ libc/string/strlen.c, libc/string/strncat.c,
++ libc/string/strncpy.c (UNALIGNED):
++ Include <stdint.h>.
++ Cast to intptr_t instead of long.
++
++2011-01-04 Ralf Corsépius <ralf.corsepius@rtems.org>
++
++ * Makefile.am: Don't install include/rpc/*.h.
++ * Makefile.in: Regenerate.
++ * libc/Makefile.am: Install include/rpc/xdr.h include/rpc/types.h.
++ * libc/Makefile.in: Regenerate.
++
++2010-12-31 Ralf Corsepius <ralf.corsepius@rtems.org>
++
++ * doc/makedoc.c: Add cludge to make makedoc 64bit compliant.
++
++2010-12-30 Ralf Corsépius <ralf.corsepius@rtems.org>
++
++ * libc/include/signal.h: Don't provide sighandler_t.
++
++2010-12-29 Ralf Corsépius <ralf.corsepius@rtems.org>
++
++ * libc/include/sys/dir.h: Remove.
++
++2010-08-10 Ralf Corsépius <ralf.corsepius@rtems.org>
++
++ PR 1475/newlib:
++ * libc/include/stdint.h: Fall back to compute SIZE_MAX based on
++ __SIZEOF_SIZE_T__ and __CHAR_BIT__ if available.
++
++2010-08-04 Ralf Corsépius <ralf.corsepius@rtems.org>
++
++ * libc/string/strcat.c:
++ Include <stdint.h>. Use uintptr_t instead of long in ALIGNED.
++ * libc/string/strchr.c, libc/string/strcmp.c, libc/string/strncmp.c:
++ Include <stdint.h>. Use uintptr_t instead of long in UNALIGNED.
++
++2010-03-25 Ralf Corsépius <ralf.corsepius@rtems.org>
++
++ * libc/include/string.h: Remove bcmp, bcopy, bzero, ffs, index, rindex,
++ strcasecmp, strncasecmp (Moved to strings.h).
++ Remove strcmpi, stricmp, strncmpi, strnicmp.
++
++2009-12-18 Ralf Corsépius <ralf.corsepius@rtems.org>
++
++ * libc/search/db_local.h:
++ Use __uint32_t instead of u_int (prototype mismatches).
++ * libc/search/extern.h (__buf_init):
++ Use __uint32_t instead of int (16 bit target portability).
++ * libc/search/hash_buf.c: Use ptrdiff_t instead of __uint32_t,
++ use __uint32_t instead of int (16 bit target portability).
++ * libc/search/hash.h: Use __uint32_it instead of int
++ (16 bit target portability).
++ * libm/common/modfl.c: Add cast to (double*) to avoid GCC warning.
++
++2009-10-29 Ralf Corsépius <ralf.corsepius@rtems.org>
++
++ * libc/include/inttypes.h:
++ Rework logic to determine PRI*PTR.
++ Prefer long64 over longlong64.
++ * libc/include/machine/_default_types.h:
++ Sync logic for __int32 with stdint.h (Prefer long over int).
++ * libc/include/stdint.h:
++ Remove __SPU__ hack.
++ Prefer int for int16_t (sync with _default_types.h).
++ Rework intptr_t determination.
++
++2009-03-09 Ralf Corsépius <ralf.corsepius@rtems.org>
++
++ * libc/machine/powerpc/times.c: Remove.
++ * libc/machine/powerpc/Makefile.am: Remove times.c.
++ * libc/machine/powerpc/Makefile.in: Regenerate.
+diff -Naur newlib-1.20.0.orig/newlib/configure.host newlib-1.20.0/newlib/configure.host
+--- newlib-1.20.0.orig/newlib/configure.host 2011-11-29 07:33:48.000000000 +0100
++++ newlib-1.20.0/newlib/configure.host 2012-10-15 10:31:19.565620203 +0200
+@@ -46,7 +46,6 @@
+ # crt1_dir directory where crt1 object is found
+ # have_crt0 "yes"/"no" if crt0 is/isn't provided.
+ # "" if crt0 is provided when sys_dir is set
+-# noinclude list of include files to not install
+
+ newlib_cflags=
+ libm_machine_dir=
+@@ -59,7 +58,6 @@
+ xdr_dir=
+ syscall_dir=
+ unix_dir=
+-noinclude=
+ mach_add_setjmp=
+ crt1=
+ crt1_dir=
+@@ -95,10 +93,14 @@
+ a29k)
+ machine_dir=a29k
+ ;;
++ aarch64*)
++ machine_dir=aarch64
++ libm_machine_dir=aarch64
++ ;;
+ arc)
+ machine_dir=
+ ;;
+- arm)
++ arm*)
+ machine_dir=arm
+ ;;
+ avr*)
+@@ -122,6 +124,9 @@
+ d30v*)
+ machine_dir=d30v
+ ;;
++ epiphany)
++ machine_dir=epiphany
++ ;;
+ fido)
+ machine_dir=m68k
+ newlib_cflags="${newlib_cflags} -DCOMPACT_CTYPE"
+@@ -364,7 +369,7 @@
+ arc-*-*)
+ sys_dir=arc
+ ;;
+- arm-*-*)
++ arm*-*-*)
+ sys_dir=arm
+ if [ "x${newlib_may_supply_syscalls}" = "xno" ] ; then
+ have_crt0="no"
+@@ -385,6 +390,11 @@
+ d30v*)
+ sys_dir=
+ ;;
++ epiphany-*-*)
++ sys_dir=epiphany
++ # crt0 is provided by libgloss.
++ have_crt0="no"
++ ;;
+ frv*)
+ sys_dir=
+ ;;
+@@ -549,13 +559,17 @@
+ newlib_cflags="${newlib_cflags} -DNO_EXEC"
+ syscall_dir=syscalls
+ ;;
++ aarch64*-*-*)
++ default_newlib_io_long_long="yes"
++ syscall_dir=syscalls
++ ;;
+ arc-*-*)
+ syscall_dir=syscalls
+ ;;
+- arm-*-pe)
++ arm*-*-pe)
+ syscall_dir=syscalls
+ ;;
+- arm-*-*)
++ arm*-*-*)
+ syscall_dir=syscalls
+ # If newlib is supplying syscalls, select which debug protocol is being used.
+ # ARM_RDP_MONITOR selects the Demon monitor.
+@@ -598,6 +612,10 @@
+ newlib_cflags="${newlib_cflags} -DABORT_MESSAGE -DSMALL_MEMORY -DMISSING_SYSCALL_NAMES"
+ syscall_dir=
+ ;;
++ epiphany*)
++ syscall_dir=syscalls
++ newlib_cflags="${newlib_cflags} -DSIGNAL_PROVIDED"
++ ;;
+ fido-*-elf)
+ newlib_cflags="${newlib_cflags} -DHAVE_RENAME -DHAVE_SYSTEM -DMISSING_SYSCALL_NAMES"
+ syscall_dir=
+@@ -787,11 +805,6 @@
+ fi
+ fi
+
+-# Remove rpc headers if xdr_dir not specified
+-if [ "x${xdir_dir}" = "x" ]; then
+- noinclude="${noinclude} rpc/types.h rpc/xdr.h"
+-fi
+-
+ if test -z "${have_crt0}" && test -n "${sys_dir}"; then
+ have_crt0="yes"
+ fi
+diff -Naur newlib-1.20.0.orig/newlib/doc/makedoc.c newlib-1.20.0/newlib/doc/makedoc.c
+--- newlib-1.20.0.orig/newlib/doc/makedoc.c 2009-03-25 22:16:04.000000000 +0100
++++ newlib-1.20.0/newlib/doc/makedoc.c 2012-10-15 10:31:19.567620234 +0200
+@@ -57,7 +57,7 @@
+ {
+ char *ptr;
+ unsigned int write_idx;
+- unsigned int size;
++ size_t size;
+ } string_type;
+
+
+@@ -68,7 +68,7 @@
+
+ static void DEFUN(init_string_with_size,(buffer, size),
+ string_type *buffer AND
+- unsigned int size )
++ size_t size )
+ {
+ buffer->write_idx = 0;
+ buffer->size = size;
+@@ -219,8 +219,8 @@
+ stinst_type *pc;
+ stinst_type sstack[STACK];
+ stinst_type *ssp = &sstack[0];
+-int istack[STACK];
+-int *isp = &istack[0];
++long istack[STACK];
++long *isp = &istack[0];
+
+ typedef int *word_type;
+
+@@ -270,7 +270,7 @@
+ {
+ isp++;
+ pc++;
+- *isp = (int)(*pc);
++ *isp = (long)(*pc);
+ pc++;
+
+ }
+@@ -1012,7 +1012,7 @@
+
+ }
+
+-WORD(dup)
++WORD(dup_)
+ {
+ tos++;
+ init_string(tos);
+@@ -1410,7 +1410,7 @@
+ add_intrinsic("skip_past_newline", skip_past_newline );
+ add_intrinsic("catstr", icatstr );
+ add_intrinsic("copy_past_newline", icopy_past_newline );
+- add_intrinsic("dup", dup );
++ add_intrinsic("dup", dup_ );
+ add_intrinsic("remchar", remchar );
+ add_intrinsic("get_stuff_in_command", get_stuff_in_command );
+ add_intrinsic("get_stuff_in_angle", get_stuff_in_angle );
+diff -Naur newlib-1.20.0.orig/newlib/doc/Makefile.am newlib-1.20.0/newlib/doc/Makefile.am
+--- newlib-1.20.0.orig/newlib/doc/Makefile.am 2007-05-24 19:33:30.000000000 +0200
++++ newlib-1.20.0/newlib/doc/Makefile.am 2012-10-15 10:31:19.566620219 +0200
+@@ -12,7 +12,7 @@
+ # -Os, which CC_FOR_BUILD may not recognize.
+
+ $(MKDOC): makedoc.o
+- $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) $(LDFLAGS) -o $(MKDOC) makedoc.o
++ $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) -o $(MKDOC) makedoc.o
+
+ makedoc.o: makedoc.c
+ $(CC_FOR_BUILD) -g $(CFLAGS_FOR_BUILD) -c $(srcdir)/makedoc.c
+diff -Naur newlib-1.20.0.orig/newlib/doc/Makefile.in newlib-1.20.0/newlib/doc/Makefile.in
+--- newlib-1.20.0.orig/newlib/doc/Makefile.in 2012-04-27 11:00:26.935004582 +0200
++++ newlib-1.20.0/newlib/doc/Makefile.in 2012-10-15 10:31:19.566620219 +0200
+@@ -324,7 +324,7 @@
+ # -Os, which CC_FOR_BUILD may not recognize.
+
+ $(MKDOC): makedoc.o
+- $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) $(LDFLAGS) -o $(MKDOC) makedoc.o
++ $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) -o $(MKDOC) makedoc.o
+
+ makedoc.o: makedoc.c
+ $(CC_FOR_BUILD) -g $(CFLAGS_FOR_BUILD) -c $(srcdir)/makedoc.c
+diff -Naur newlib-1.20.0.orig/newlib/HOWTO newlib-1.20.0/newlib/HOWTO
+--- newlib-1.20.0.orig/newlib/HOWTO 2009-03-25 22:16:04.000000000 +0100
++++ newlib-1.20.0/newlib/HOWTO 2012-10-15 10:31:19.564620186 +0200
+@@ -84,12 +84,12 @@
+ the intent is to define multiple levels for API functions that allows the
+ user to size the library appropriately for their application--at least in
+ terms of the predefined lists. For full details, refer to the EL/IX home
+-page at http://sources.redhat.com/elix/. The likely best way to tell how to
++page at http://sourceware.org/elix/. The likely best way to tell how to
+ classify any new functions in terms of needing an ELIX level qualification
+ is to ask Jeff Johnston. To see how it works and try classification on your
+ own, refer to the API specification on the web site,
+
+-http://sources.redhat.com/elix/api/current/api.pdf.
++http://sourceware.org/elix/api/current/api.pdf.
+
+ (Unfortunately, it is not complete with respect to either the C99 or POSIX
+ standards, so particular C and POSIX functions may or may not be found.)
+diff -Naur newlib-1.20.0.orig/newlib/libc/include/_ansi.h newlib-1.20.0/newlib/libc/include/_ansi.h
+--- newlib-1.20.0.orig/newlib/libc/include/_ansi.h 2009-12-17 20:43:43.000000000 +0100
++++ newlib-1.20.0/newlib/libc/include/_ansi.h 2012-10-15 10:31:19.568620249 +0200
+@@ -113,21 +113,24 @@
+ to emit the function body unless the address is explicitly
+ taken. However this behaviour is changing to match the C99
+ standard, which uses 'extern inline' to indicate that the
+- function body *must* be emitted. If we are using GCC, but do
+- not have the new behaviour, we need to use extern inline; if
+- we are using a new GCC with the C99-compatible behaviour, or
+- a non-GCC compiler (which we will have to hope is C99, since
+- there is no other way to achieve the effect of omitting the
+- function if it isn't referenced) we just use plain 'inline',
+- which c99 defines to mean more-or-less the same as the Gnu C
+- 'extern inline'. */
++ function body *must* be emitted. Likewise, a function declared
++ without either 'extern' or 'static' defaults to extern linkage
++ (C99 6.2.2p5), and the compiler may choose whether to use the
++ inline version or call the extern linkage version (6.7.4p6).
++ If we are using GCC, but do not have the new behaviour, we need
++ to use extern inline; if we are using a new GCC with the
++ C99-compatible behaviour, or a non-GCC compiler (which we will
++ have to hope is C99, since there is no other way to achieve the
++ effect of omitting the function if it isn't referenced) we use
++ 'static inline', which c99 defines to mean more-or-less the same
++ as the Gnu C 'extern inline'. */
+ #if defined(__GNUC__) && !defined(__GNUC_STDC_INLINE__)
+ /* We're using GCC, but without the new C99-compatible behaviour. */
+ #define _ELIDABLE_INLINE extern __inline__ _ATTRIBUTE ((__always_inline__))
+ #else
+-/* We're using GCC in C99 mode, or an unknown compiler which
++/* We're using GCC in C99 mode, or an unknown compiler which
+ we just have to hope obeys the C99 semantics of inline. */
+-#define _ELIDABLE_INLINE __inline__
++#define _ELIDABLE_INLINE static __inline__
+ #endif
+
+ #endif /* _ANSIDECL_H_ */
+diff -Naur newlib-1.20.0.orig/newlib/libc/include/complex.h newlib-1.20.0/newlib/libc/include/complex.h
+--- newlib-1.20.0.orig/newlib/libc/include/complex.h 2010-10-08 12:35:13.000000000 +0200
++++ newlib-1.20.0/newlib/libc/include/complex.h 2012-10-15 10:31:19.568620249 +0200
+@@ -77,7 +77,7 @@
+
+ /* 7.3.8 Power and absolute-value functions */
+ /* 7.3.8.1 The cabs functions */
+-/*#ifndef __LIBM0_SOURCE__
++/*#ifndef __LIBM0_SOURCE__ */
+ /* avoid conflict with historical cabs(struct complex) */
+ /* double cabs(double complex) __RENAME(__c99_cabs);
+ float cabsf(float complex) __RENAME(__c99_cabsf);
+diff -Naur newlib-1.20.0.orig/newlib/libc/include/inttypes.h newlib-1.20.0/newlib/libc/include/inttypes.h
+--- newlib-1.20.0.orig/newlib/libc/include/inttypes.h 2009-01-19 23:02:06.000000000 +0100
++++ newlib-1.20.0/newlib/libc/include/inttypes.h 2012-10-15 10:31:19.568620249 +0200
+@@ -17,6 +17,135 @@
+ #define __need_wchar_t
+ #include <stddef.h>
+
++/* _GCC_STDINT_H is defined by GCC's stdint.h */
++#ifdef _GCC_STDINT_H
++
++/* Provide defines having been provided by newlib's stdint.h,
++ * but not provided by GCC's stdint.h
++ */
++
++/* FIXME: We should be using a more general approach and not be using
++ * a cascade of __<arch>__ defines
++ */
++
++#ifdef __arm__
++#define __have_long32 1
++#define __have_longlong64 1
++#ifdef __ARM_EABI__
++#define __have_int_intptr 1
++#else
++#define __have_long_intptr 1
++#endif
++#endif
++
++#ifdef __AVR__
++#define __have_long32 1
++#define __have_longlong64 1
++#define __have_int_intptr 1
++#endif
++
++#ifdef __bfin__
++#define __have_long32 1
++#define __have_longlong64 1
++#define __have_long_intptr 1
++#endif
++
++#ifdef __h8300__
++#define __have_long32 1
++#define __have_longlong64 1
++#if defined(__H8300H__) || defined(__H8300S__) || defined(__H8300SX__)
++#define __have_long_intptr 1
++#else
++#define __have_int_intptr 1
++#endif
++#endif
++
++#ifdef __i386__
++#define __have_long32 1
++#define __have_longlong64 1
++#define __have_long_intptr 1
++#endif
++
++#ifdef __lm32__
++#define __have_long32 1
++#define __have_longlong64 1
++#define __have_int_intptr 1
++#endif
++
++#ifdef __MICROBLAZE__
++#define __have_long32 1
++#define __have_longlong64 1
++#define __have_long_intptr 1
++#endif
++
++#ifdef __m32c__
++#define __have_long32 1
++#define __have_longlong64 1
++#ifdef __m32cm_cpu__
++#define __have_long_intptr 1
++#else
++#define __have_int_intptr 1
++#endif
++#endif
++
++#ifdef __m32r__
++#define __have_long32 1
++#define __have_longlong64 1
++#define __have_long_intptr 1
++#endif
++
++#ifdef __m68k__
++#define __have_long32 1
++#define __have_longlong64 1
++#define __have_long_intptr 1
++#endif
++
++#ifdef __mips__
++#define __have_long32 1
++#define __have_longlong64 1
++#define __have_int_intptr 1
++#endif
++
++#ifdef __PPC__
++#define __have_long32 1
++#define __have_longlong64 1
++#define __have_int_intptr 1
++#endif
++
++#ifdef __sh__
++#define __have_long32 1
++#define __have_longlong64 1
++#define __have_int_intptr 1
++#endif
++
++#ifdef __sparc__
++#ifdef __LP64__
++#define __have_long64 1
++#define __have_longlong64 1
++#define __have_long_intptr 1
++#else
++#define __have_long32 1
++#define __have_longlong64 1
++#define __have_int_intptr 1
++#endif
++#endif
++
++#if defined(__v850__) || defined(__v851__)
++#define __have_long32 1
++#define __have_longlong64 1
++#define __have_int_intptr 1
++#endif
++
++#if defined(__INT64_TYPE__)
++#define __int64_t_defined 1
++#endif
++
++#if !defined(__have_int_intptr) && !defined(__have_long_intptr)
++#error cannot determine type of intptr_t
++#endif
++
++#endif /* _GCC_STDINT_H */
++
+ #define __STRINGIFY(a) #a
+
+ /* 8-bit types */
+@@ -242,15 +371,23 @@
+ #define SCNxMAX __SCNMAX(x)
+
+ /* ptr types */
+-#if __have_long64
++#if __have_long_intptr
+ #define __PRIPTR(x) __STRINGIFY(l##x)
+ #define __SCNPTR(x) __STRINGIFY(l##x)
+-#elif __have_longlong64
+-#define __PRIPTR(x) __STRINGIFY(ll##x)
+-#define __SCNPTR(x) __STRINGIFY(ll##x)
+-#else
++#elif __have_int_intptr
+ #define __PRIPTR(x) __STRINGIFY(x)
+ #define __SCNPTR(x) __STRINGIFY(x)
++#elif INTPTR_MAX == INT64_MAX
++#define __PRIPTR(x) __PRI64(x)
++#define __SCNPTR(x) __SCN64(x)
++#elif INTPTR_MAX == INT32_MAX
++#define __PRIPTR(x) __PRI32(x)
++#define __SCNPTR(x) __SCN32(x)
++#elif INTPTR_MAX == INT16_MAX
++#define __PRIPTR(x) __PRI16(x)
++#define __SCNPTR(x) __SCN16(x)
++#else
++#error cannot determine PRI*PTR
+ #endif
+
+ #define PRIdPTR __PRIPTR(d)
+diff -Naur newlib-1.20.0.orig/newlib/libc/include/machine/_default_types.h newlib-1.20.0/newlib/libc/include/machine/_default_types.h
+--- newlib-1.20.0.orig/newlib/libc/include/machine/_default_types.h 2008-06-12 00:14:54.000000000 +0200
++++ newlib-1.20.0/newlib/libc/include/machine/_default_types.h 2012-10-15 10:31:19.569620265 +0200
+@@ -54,14 +54,14 @@
+ #endif
+ #endif
+
+-#if __EXP(INT_MAX) == 0x7fffffffL
+-typedef signed int __int32_t;
+-typedef unsigned int __uint32_t;
+-#define ___int32_t_defined 1
+-#elif __EXP(LONG_MAX) == 0x7fffffffL
++#if __EXP(LONG_MAX) == 0x7fffffffL
+ typedef signed long __int32_t;
+ typedef unsigned long __uint32_t;
+ #define ___int32_t_defined 1
++#elif __EXP(INT_MAX) == 0x7fffffffL
++typedef signed int __int32_t;
++typedef unsigned int __uint32_t;
++#define ___int32_t_defined 1
+ #elif __EXP(SHRT_MAX) == 0x7fffffffL
+ typedef signed short __int32_t;
+ typedef unsigned short __uint32_t;
+diff -Naur newlib-1.20.0.orig/newlib/libc/include/machine/ieeefp.h newlib-1.20.0/newlib/libc/include/machine/ieeefp.h
+--- newlib-1.20.0.orig/newlib/libc/include/machine/ieeefp.h 2011-11-29 07:33:48.000000000 +0100
++++ newlib-1.20.0/newlib/libc/include/machine/ieeefp.h 2012-10-15 10:31:19.569620265 +0200
+@@ -69,6 +69,19 @@
+ #endif
+ #endif
+
++#if defined (__aarch64__)
++#if defined (__AARCH64EL__)
++#define __IEEE_LITTLE_ENDIAN
++#else
++#define __IEEE_BIG_ENDIAN
++#endif
++#endif
++
++#ifdef __epiphany__
++#define __IEEE_LITTLE_ENDIAN
++#define Sudden_Underflow 1
++#endif
++
+ #ifdef __hppa__
+ #define __IEEE_BIG_ENDIAN
+ #endif
+@@ -275,7 +288,11 @@
+ #endif
+
+ #ifdef __moxie__
++#ifdef __MOXIE_BIG_ENDIAN__
+ #define __IEEE_BIG_ENDIAN
++#else
++#define __IEEE_LITTLE_ENDIAN
++#endif
+ #endif
+
+ #ifdef __ia64__
+diff -Naur newlib-1.20.0.orig/newlib/libc/include/machine/setjmp-dj.h newlib-1.20.0/newlib/libc/include/machine/setjmp-dj.h
+--- newlib-1.20.0.orig/newlib/libc/include/machine/setjmp-dj.h 2001-02-22 23:12:39.000000000 +0100
++++ newlib-1.20.0/newlib/libc/include/machine/setjmp-dj.h 2012-10-15 10:31:19.569620265 +0200
+@@ -2,7 +2,7 @@
+ * Copyright (C) 1991 DJ Delorie
+ * All rights reserved.
+ *
+- * Redistribution and use in source and binary forms is permitted
++ * Redistribution, modification, and use in source and binary forms is permitted
+ * provided that the above copyright notice and following paragraph are
+ * duplicated in all such forms.
+ *
+diff -Naur newlib-1.20.0.orig/newlib/libc/include/machine/setjmp.h newlib-1.20.0/newlib/libc/include/machine/setjmp.h
+--- newlib-1.20.0.orig/newlib/libc/include/machine/setjmp.h 2011-11-29 07:33:48.000000000 +0100
++++ newlib-1.20.0/newlib/libc/include/machine/setjmp.h 2012-10-15 10:31:19.569620265 +0200
+@@ -9,6 +9,11 @@
+ #define _JBLEN 23
+ #endif
+
++#if defined(__aarch64__)
++#define _JBLEN 22
++#define _JBTYPE long long
++#endif
++
+ #if defined(__AVR__)
+ #define _JBLEN 24
+ #endif
+@@ -25,6 +30,12 @@
+ #define _JBLEN 40
+ #endif
+
++#ifdef __epiphany__
++/* All callee preserved registers: r4-r10,fp, sp, lr,r15, r32-r39 */
++#define _JBTYPE long long
++#define _JBLEN 10
++#endif
++
+ /* necv70 was 9 as well. */
+
+ #if defined(__m68k__) || defined(__mc68000__)
+diff -Naur newlib-1.20.0.orig/newlib/libc/include/machine/time.h newlib-1.20.0/newlib/libc/include/machine/time.h
+--- newlib-1.20.0.orig/newlib/libc/include/machine/time.h 2009-04-07 00:04:33.000000000 +0200
++++ newlib-1.20.0/newlib/libc/include/machine/time.h 2012-10-15 10:31:19.570620282 +0200
+@@ -4,7 +4,7 @@
+ #if defined(__rtems__)
+ #define _CLOCKS_PER_SEC_ sysconf(_SC_CLK_TCK)
+ #else /* !__rtems__ */
+-#if defined(__arm__) || defined(__thumb__)
++#if defined(__aarch64__) || defined(__arm__) || defined(__thumb__)
+ #define _CLOCKS_PER_SEC_ 100
+ #endif
+ #endif /* !__rtems__ */
+diff -Naur newlib-1.20.0.orig/newlib/libc/include/process.h newlib-1.20.0/newlib/libc/include/process.h
+--- newlib-1.20.0.orig/newlib/libc/include/process.h 2011-08-19 16:29:34.000000000 +0200
++++ newlib-1.20.0/newlib/libc/include/process.h 1970-01-01 01:00:00.000000000 +0100
+@@ -1,37 +0,0 @@
+-/* process.h. Define spawn family of functions as provided by Cygwin.
+- The original file of this name is a MS/DOS invention. */
+-
+-#ifndef __PROCESS_H_
+-#define __PROCESS_H_
+-
+-#ifdef __cplusplus
+-extern "C" {
+-#endif
+-
+-/* For the exec functions, include unistd.h. */
+-
+-int spawnl(int mode, const char *path, const char *argv0, ...);
+-int spawnle(int mode, const char *path, const char *argv0, ... /*, char * const *envp */);
+-int spawnlp(int mode, const char *path, const char *argv0, ...);
+-int spawnlpe(int mode, const char *path, const char *argv0, ... /*, char * const *envp */);
+-
+-int spawnv(int mode, const char *path, const char * const *argv);
+-int spawnve(int mode, const char *path, const char * const *argv, const char * const *envp);
+-int spawnvp(int mode, const char *path, const char * const *argv);
+-int spawnvpe(int mode, const char *path, const char * const *argv, const char * const *envp);
+-
+-int cwait(int *, int, int);
+-
+-#define _P_WAIT 1
+-#define _P_NOWAIT 2 /* always generates error */
+-#define _P_OVERLAY 3
+-#define _P_NOWAITO 4
+-#define _P_DETACH 5
+-
+-#define WAIT_CHILD 1
+-
+-#ifdef __cplusplus
+-}
+-#endif
+-
+-#endif
+diff -Naur newlib-1.20.0.orig/newlib/libc/include/signal.h newlib-1.20.0/newlib/libc/include/signal.h
+--- newlib-1.20.0.orig/newlib/libc/include/signal.h 2011-05-04 13:26:21.000000000 +0200
++++ newlib-1.20.0/newlib/libc/include/signal.h 2012-10-15 10:31:19.574620349 +0200
+@@ -7,10 +7,6 @@
+ _BEGIN_STD_C
+
+ typedef int sig_atomic_t; /* Atomic entity type (ANSI) */
+-#ifndef _POSIX_SOURCE
+-typedef _sig_func_ptr sig_t; /* BSD naming */
+-typedef _sig_func_ptr sighandler_t; /* glibc naming */
+-#endif /* !_POSIX_SOURCE */
+
+ #define SIG_DFL ((_sig_func_ptr)0) /* Default action */
+ #define SIG_IGN ((_sig_func_ptr)1) /* Ignore action */
+diff -Naur newlib-1.20.0.orig/newlib/libc/include/stdint.h newlib-1.20.0/newlib/libc/include/stdint.h
+--- newlib-1.20.0.orig/newlib/libc/include/stdint.h 2009-04-24 23:55:07.000000000 +0200
++++ newlib-1.20.0/newlib/libc/include/stdint.h 2012-10-15 10:31:19.574620349 +0200
+@@ -33,7 +33,7 @@
+ /* Check if "long" is 64bit or 32bit wide */
+ #if __STDINT_EXP(LONG_MAX) > 0x7fffffff
+ #define __have_long64 1
+-#elif __STDINT_EXP(LONG_MAX) == 0x7fffffff && !defined(__SPU__)
++#elif __STDINT_EXP(LONG_MAX) == 0x7fffffff
+ #define __have_long32 1
+ #endif
+
+@@ -49,14 +49,14 @@
+ #define __int_least8_t_defined 1
+ #endif
+
+-#if __STDINT_EXP(SHRT_MAX) == 0x7fff
+-typedef signed short int16_t;
+-typedef unsigned short uint16_t;
+-#define __int16_t_defined 1
+-#elif __STDINT_EXP(INT_MAX) == 0x7fff
++#if __STDINT_EXP(INT_MAX) == 0x7fff
+ typedef signed int int16_t;
+ typedef unsigned int uint16_t;
+ #define __int16_t_defined 1
++#elif __STDINT_EXP(SHRT_MAX) == 0x7fff
++typedef signed short int16_t;
++typedef unsigned short uint16_t;
++#define __int16_t_defined 1
+ #elif __STDINT_EXP(SCHAR_MAX) == 0x7fff
+ typedef signed char int16_t;
+ typedef unsigned char uint16_t;
+@@ -239,6 +239,29 @@
+ * GCC doesn't provide an appropriate macro for [u]intptr_t
+ * For now, use __PTRDIFF_TYPE__
+ */
++#if defined(__SIZEOF_POINTER__)
++#if __SIZEOF_POINTER__ == 8
++ typedef int64_t intptr_t;
++ typedef uint64_t uintptr_t;
++#define INTPTR_MAX INT64_MAX
++#define INTPTR_MIN INT64_MIN
++#define UINTPTR_MAX UINT64_MAX
++#elif __SIZEOF_POINTER__ == 4
++ typedef int32_t intptr_t;
++ typedef uint32_t uintptr_t;
++#define INTPTR_MAX INT32_MAX
++#define INTPTR_MIN INT32_MIN
++#define UINTPTR_MAX UINT32_MAX
++#elif __SIZEOF_POINTER__ == 2
++ typedef int16_t intptr_t;
++ typedef uint16_t uintptr_t;
++#define INTPTR_MAX INT16_MAX
++#define INTPTR_MIN INT16_MIN
++#define UINTPTR_MAX UINT16_MAX
++#else
++#error cannot determine intptr_t
++#endif
++#else
+ #if defined(__PTRDIFF_TYPE__)
+ typedef signed __PTRDIFF_TYPE__ intptr_t;
+ typedef unsigned __PTRDIFF_TYPE__ uintptr_t;
+@@ -260,6 +283,7 @@
+ #define INTPTR_MIN (-__STDINT_EXP(LONG_MAX) - 1)
+ #define UINTPTR_MAX (__STDINT_EXP(LONG_MAX) * 2UL + 1)
+ #endif
++#endif
+
+ /* Limits of Specified-Width Integer Types */
+
+@@ -408,6 +432,8 @@
+ /* This must match size_t in stddef.h, currently long unsigned int */
+ #ifdef __SIZE_MAX__
+ #define SIZE_MAX __SIZE_MAX__
++#elif defined(__SIZEOF_SIZE_T__) && defined(__CHAR_BIT__)
++#define SIZE_MAX (((1UL << (__SIZEOF_SIZE_T__ * __CHAR_BIT__ - 1)) - 1) * 2 + 1)
+ #else
+ #define SIZE_MAX (__STDINT_EXP(LONG_MAX) * 2UL + 1)
+ #endif
+diff -Naur newlib-1.20.0.orig/newlib/libc/include/stdio.h newlib-1.20.0/newlib/libc/include/stdio.h
+--- newlib-1.20.0.orig/newlib/libc/include/stdio.h 2010-02-26 10:41:43.000000000 +0100
++++ newlib-1.20.0/newlib/libc/include/stdio.h 2012-10-15 10:31:19.574620349 +0200
+@@ -227,6 +227,9 @@
+ _ATTRIBUTE ((__format__ (__printf__, 2, 3))));
+ int _EXFUN(remove, (const char *));
+ int _EXFUN(rename, (const char *, const char *));
++#ifdef _COMPILING_NEWLIB
++int _EXFUN(_rename, (const char *, const char *));
++#endif
+ #endif
+ #if !defined(__STRICT_ANSI__) || defined(__USE_XOPEN2K)
+ #ifdef _COMPILING_NEWLIB
+@@ -308,7 +311,7 @@
+ * Routines in POSIX 1003.1:2001.
+ */
+
+-#ifndef __STRICT_ANSI__
++#if (!defined(__STRICT_ANSI__) || (__STDC_VERSION__ >= 199901L))
+ #ifndef _REENT_ONLY
+ FILE * _EXFUN(fdopen, (int, const char *));
+ #endif
+diff -Naur newlib-1.20.0.orig/newlib/libc/include/stdlib.h newlib-1.20.0/newlib/libc/include/stdlib.h
+--- newlib-1.20.0.orig/newlib/libc/include/stdlib.h 2010-07-19 20:21:11.000000000 +0200
++++ newlib-1.20.0/newlib/libc/include/stdlib.h 2012-10-15 10:31:19.575620364 +0200
+@@ -38,7 +38,7 @@
+ long rem; /* remainder */
+ } ldiv_t;
+
+-#ifndef __STRICT_ANSI__
++#if !defined(__STRICT_ANSI__) || (__STDC_VERSION__ >= 199901L)
+ typedef struct
+ {
+ long long int quot; /* quotient */
+@@ -63,13 +63,12 @@
+ int _EXFUN(abs,(int));
+ int _EXFUN(atexit,(_VOID (*__func)(_VOID)));
+ double _EXFUN(atof,(const char *__nptr));
+-#ifndef __STRICT_ANSI__
+-float _EXFUN(atoff,(const char *__nptr));
+-#endif
+ int _EXFUN(atoi,(const char *__nptr));
+-int _EXFUN(_atoi_r,(struct _reent *, const char *__nptr));
+ long _EXFUN(atol,(const char *__nptr));
++#ifndef __STRICT_ANSI__
++int _EXFUN(_atoi_r,(struct _reent *, const char *__nptr));
+ long _EXFUN(_atol_r,(struct _reent *, const char *__nptr));
++#endif /* ! __STRICT_ANSI__ */
+ _PTR _EXFUN(bsearch,(const _PTR __key,
+ const _PTR __base,
+ size_t __nmemb,
+@@ -80,10 +79,10 @@
+ _VOID _EXFUN(exit,(int __status) _ATTRIBUTE ((noreturn)));
+ _VOID _EXFUN_NOTHROW(free,(_PTR));
+ char * _EXFUN(getenv,(const char *__string));
++#ifndef __STRICT_ANSI__
+ char * _EXFUN(_getenv_r,(struct _reent *, const char *__string));
+ char * _EXFUN(_findenv,(_CONST char *, int *));
+ char * _EXFUN(_findenv_r,(struct _reent *, _CONST char *, int *));
+-#ifndef __STRICT_ANSI__
+ extern char *suboptarg; /* getsubopt(3) external variable */
+ int _EXFUN(getsubopt,(char **, char * const *, char **));
+ #endif
+@@ -91,16 +90,16 @@
+ ldiv_t _EXFUN(ldiv,(long __numer, long __denom));
+ _PTR _EXFUN_NOTHROW(malloc,(size_t __size));
+ int _EXFUN(mblen,(const char *, size_t));
+-int _EXFUN(_mblen_r,(struct _reent *, const char *, size_t, _mbstate_t *));
+ int _EXFUN(mbtowc,(wchar_t *, const char *, size_t));
+-int _EXFUN(_mbtowc_r,(struct _reent *, wchar_t *, const char *, size_t, _mbstate_t *));
+ int _EXFUN(wctomb,(char *, wchar_t));
+-int _EXFUN(_wctomb_r,(struct _reent *, char *, wchar_t, _mbstate_t *));
+ size_t _EXFUN(mbstowcs,(wchar_t *, const char *, size_t));
+-size_t _EXFUN(_mbstowcs_r,(struct _reent *, wchar_t *, const char *, size_t, _mbstate_t *));
+ size_t _EXFUN(wcstombs,(char *, const wchar_t *, size_t));
+-size_t _EXFUN(_wcstombs_r,(struct _reent *, char *, const wchar_t *, size_t, _mbstate_t *));
+ #ifndef __STRICT_ANSI__
++int _EXFUN(_mblen_r,(struct _reent *, const char *, size_t, _mbstate_t *));
++int _EXFUN(_mbtowc_r,(struct _reent *, wchar_t *, const char *, size_t, _mbstate_t *));
++int _EXFUN(_wctomb_r,(struct _reent *, char *, wchar_t, _mbstate_t *));
++size_t _EXFUN(_mbstowcs_r,(struct _reent *, wchar_t *, const char *, size_t, _mbstate_t *));
++size_t _EXFUN(_wcstombs_r,(struct _reent *, char *, const wchar_t *, size_t, _mbstate_t *));
+ #ifndef _REENT_ONLY
+ char * _EXFUN(mkdtemp,(char *));
+ int _EXFUN(mkostemp,(char *, int));
+@@ -133,10 +132,11 @@
+ # endif
+ #endif
+ long _EXFUN(strtol,(const char *__n, char **__end_PTR, int __base));
+-long _EXFUN(_strtol_r,(struct _reent *,const char *__n, char **__end_PTR, int __base));
+ unsigned long _EXFUN(strtoul,(const char *__n, char **__end_PTR, int __base));
++#ifndef __STRICT_ANSI__
+ unsigned long _EXFUN(_strtoul_r,(struct _reent *,const char *__n, char **__end_PTR, int __base));
+-
++long _EXFUN(_strtol_r,(struct _reent *,const char *__n, char **__end_PTR, int __base));
++#endif /* !__STRICT_ANSI__ */
+ int _EXFUN(system,(const char *__string));
+
+ #ifndef __STRICT_ANSI__
+@@ -163,33 +163,39 @@
+ int _EXFUN(rand_r,(unsigned *__seed));
+
+ double _EXFUN(drand48,(_VOID));
+-double _EXFUN(_drand48_r,(struct _reent *));
+ double _EXFUN(erand48,(unsigned short [3]));
+-double _EXFUN(_erand48_r,(struct _reent *, unsigned short [3]));
+ long _EXFUN(jrand48,(unsigned short [3]));
+-long _EXFUN(_jrand48_r,(struct _reent *, unsigned short [3]));
+ _VOID _EXFUN(lcong48,(unsigned short [7]));
+-_VOID _EXFUN(_lcong48_r,(struct _reent *, unsigned short [7]));
+ long _EXFUN(lrand48,(_VOID));
+-long _EXFUN(_lrand48_r,(struct _reent *));
+ long _EXFUN(mrand48,(_VOID));
+-long _EXFUN(_mrand48_r,(struct _reent *));
+ long _EXFUN(nrand48,(unsigned short [3]));
+-long _EXFUN(_nrand48_r,(struct _reent *, unsigned short [3]));
+ unsigned short *
+ _EXFUN(seed48,(unsigned short [3]));
++_VOID _EXFUN(srand48,(long));
++long long _EXFUN(atoll,(const char *__nptr));
++#ifndef __STRICT_ANSI__
++double _EXFUN(_drand48_r,(struct _reent *));
++double _EXFUN(_erand48_r,(struct _reent *, unsigned short [3]));
++long _EXFUN(_jrand48_r,(struct _reent *, unsigned short [3]));
++_VOID _EXFUN(_lcong48_r,(struct _reent *, unsigned short [7]));
++long _EXFUN(_lrand48_r,(struct _reent *));
++long _EXFUN(_mrand48_r,(struct _reent *));
++long _EXFUN(_nrand48_r,(struct _reent *, unsigned short [3]));
+ unsigned short *
+ _EXFUN(_seed48_r,(struct _reent *, unsigned short [3]));
+-_VOID _EXFUN(srand48,(long));
+ _VOID _EXFUN(_srand48_r,(struct _reent *, long));
+-long long _EXFUN(atoll,(const char *__nptr));
+ long long _EXFUN(_atoll_r,(struct _reent *, const char *__nptr));
++#endif /* ! __STRICT_ANSI__ */
++#if !defined(__STRICT_ANSI__) || (__STDC_VERSION__ >= 199901L)
+ long long _EXFUN(llabs,(long long));
+ lldiv_t _EXFUN(lldiv,(long long __numer, long long __denom));
+ long long _EXFUN(strtoll,(const char *__n, char **__end_PTR, int __base));
+-long long _EXFUN(_strtoll_r,(struct _reent *, const char *__n, char **__end_PTR, int __base));
+ unsigned long long _EXFUN(strtoull,(const char *__n, char **__end_PTR, int __base));
++#endif
++#ifndef __STRICT_ANSI__
++long long _EXFUN(_strtoll_r,(struct _reent *, const char *__n, char **__end_PTR, int __base));
+ unsigned long long _EXFUN(_strtoull_r,(struct _reent *, const char *__n, char **__end_PTR, int __base));
++#endif /* ! __STRICT_ANSI__ */
+
+ #ifndef __CYGWIN__
+ _VOID _EXFUN(cfree,(_PTR));
+@@ -203,6 +209,7 @@
+
+ #endif /* ! __STRICT_ANSI__ */
+
++#ifndef __STRICT_ANSI__
+ char * _EXFUN(_dtoa_r,(struct _reent *, double, int, int, int *, int*, char**));
+ #ifndef __CYGWIN__
+ _PTR _EXFUN_NOTHROW(_malloc_r,(struct _reent *, size_t));
+@@ -214,6 +221,7 @@
+ int _EXFUN(_system_r,(struct _reent *, const char *));
+
+ _VOID _EXFUN(__eprintf,(const char *, const char *, unsigned int, const char *));
++#endif /* ! __STRICT_ANSI__ */
+
+ /* On platforms where long double equals double. */
+ #ifdef _LDBL_EQ_DBL
+diff -Naur newlib-1.20.0.orig/newlib/libc/include/string.h newlib-1.20.0/newlib/libc/include/string.h
+--- newlib-1.20.0.orig/newlib/libc/include/string.h 2011-06-10 20:30:38.000000000 +0200
++++ newlib-1.20.0/newlib/libc/include/string.h 2012-10-15 10:31:19.575620364 +0200
+@@ -29,6 +29,9 @@
+ char *_EXFUN(strchr,(const char *, int));
+ int _EXFUN(strcmp,(const char *, const char *));
+ int _EXFUN(strcoll,(const char *, const char *));
++#ifdef _GLIBC_EXTENSION
++_PTR _EXFUN(memrchr,(const _PTR, int, size_t));
++#endif
+ char *_EXFUN(strcpy,(char *, const char *));
+ size_t _EXFUN(strcspn,(const char *, const char *));
+ char *_EXFUN(strerror,(int));
+@@ -50,18 +53,11 @@
+ #ifndef __STRICT_ANSI__
+ char *_EXFUN(strtok_r,(char *, const char *, char **));
+
+-int _EXFUN(bcmp,(const void *, const void *, size_t));
+-void _EXFUN(bcopy,(const void *, void *, size_t));
+-void _EXFUN(bzero,(void *, size_t));
+-int _EXFUN(ffs,(int));
+-char *_EXFUN(index,(const char *, int));
+ _PTR _EXFUN(memccpy,(_PTR, const _PTR, int, size_t));
+ _PTR _EXFUN(mempcpy,(_PTR, const _PTR, size_t));
+ _PTR _EXFUN(memmem, (const _PTR, size_t, const _PTR, size_t));
+-char *_EXFUN(rindex,(const char *, int));
+ char *_EXFUN(stpcpy,(char *, const char *));
+ char *_EXFUN(stpncpy,(char *, const char *, size_t));
+-int _EXFUN(strcasecmp,(const char *, const char *));
+ char *_EXFUN(strcasestr,(const char *, const char *));
+ char *_EXFUN(strchrnul,(const char *, int));
+ char *_EXFUN(strdup,(const char *));
+@@ -84,14 +80,11 @@
+ #endif
+ size_t _EXFUN(strlcat,(char *, const char *, size_t));
+ size_t _EXFUN(strlcpy,(char *, const char *, size_t));
+-int _EXFUN(strncasecmp,(const char *, const char *, size_t));
+ size_t _EXFUN(strnlen,(const char *, size_t));
+ char *_EXFUN(strsep,(char **, const char *));
+ char *_EXFUN(strlwr,(char *));
+ char *_EXFUN(strupr,(char *));
+-#ifndef DEFS_H /* Kludge to work around problem compiling in gdb */
+-char *_EXFUN(strsignal, (int __signo));
+-#endif
++char *_EXFUN(strsignal, (int __signo));
+ #ifdef __CYGWIN__
+ int _EXFUN(strtosigno, (const char *__name));
+ #endif
+@@ -113,20 +106,6 @@
+ (char *) memcpy (__out, __in, __len-1);}))
+ #endif /* _GNU_SOURCE && __GNUC__ */
+
+-/* These function names are used on Windows and perhaps other systems. */
+-#ifndef strcmpi
+-#define strcmpi strcasecmp
+-#endif
+-#ifndef stricmp
+-#define stricmp strcasecmp
+-#endif
+-#ifndef strncmpi
+-#define strncmpi strncasecmp
+-#endif
+-#ifndef strnicmp
+-#define strnicmp strncasecmp
+-#endif
+-
+ #endif /* ! __STRICT_ANSI__ */
+
+ #include <sys/string.h>
+diff -Naur newlib-1.20.0.orig/newlib/libc/include/sys/config.h newlib-1.20.0/newlib/libc/include/sys/config.h
+--- newlib-1.20.0.orig/newlib/libc/include/sys/config.h 2010-12-02 20:30:46.000000000 +0100
++++ newlib-1.20.0/newlib/libc/include/sys/config.h 2012-10-15 10:31:19.576620379 +0200
+@@ -4,6 +4,10 @@
+ #include <machine/ieeefp.h> /* floating point macros */
+ #include <sys/features.h> /* POSIX defs */
+
++#ifdef __aarch64__
++#define MALLOC_ALIGNMENT 16
++#endif
++
+ /* exceptions first */
+ #if defined(__H8500__) || defined(__W65__)
+ #define __SMALL_BITFIELDS
+diff -Naur newlib-1.20.0.orig/newlib/libc/include/sys/_default_fcntl.h newlib-1.20.0/newlib/libc/include/sys/_default_fcntl.h
+--- newlib-1.20.0.orig/newlib/libc/include/sys/_default_fcntl.h 2010-01-14 19:49:13.000000000 +0100
++++ newlib-1.20.0/newlib/libc/include/sys/_default_fcntl.h 2012-10-15 10:31:19.575620364 +0200
+@@ -51,8 +51,6 @@
+ #define O_BINARY _FBINARY
+ #define O_TEXT _FTEXT
+ #define O_NOINHERIT _FNOINHERIT
+-/* O_CLOEXEC is the Linux equivalent to O_NOINHERIT */
+-#define O_CLOEXEC _FNOINHERIT
+
+ /* The windows header files define versions with a leading underscore. */
+ #define _O_RDONLY O_RDONLY
+@@ -124,9 +122,6 @@
+ #define F_CNVT 12 /* Convert a fhandle to an open fd */
+ #define F_RSETLKW 13 /* Set or Clear remote record-lock(Blocking) */
+ #endif /* !_POSIX_SOURCE */
+-#ifdef __CYGWIN__
+-#define F_DUPFD_CLOEXEC 14 /* As F_DUPFD, but set close-on-exec flag */
+-#endif
+
+ /* fcntl(2) flags (l_type field of flock structure) */
+ #define F_RDLCK 1 /* read lock */
+diff -Naur newlib-1.20.0.orig/newlib/libc/include/sys/dir.h newlib-1.20.0/newlib/libc/include/sys/dir.h
+--- newlib-1.20.0.orig/newlib/libc/include/sys/dir.h 2010-08-11 20:14:54.000000000 +0200
++++ newlib-1.20.0/newlib/libc/include/sys/dir.h 1970-01-01 01:00:00.000000000 +0100
+@@ -1,10 +0,0 @@
+-/* BSD predecessor of POSIX.1 <dirent.h> and struct dirent */
+-
+-#ifndef _SYS_DIR_H_
+-#define _SYS_DIR_H_
+-
+-#include <dirent.h>
+-
+-#define direct dirent
+-
+-#endif /*_SYS_DIR_H_*/
+diff -Naur newlib-1.20.0.orig/newlib/libc/include/sys/features.h newlib-1.20.0/newlib/libc/include/sys/features.h
+--- newlib-1.20.0.orig/newlib/libc/include/sys/features.h 2011-07-20 21:41:15.000000000 +0200
++++ newlib-1.20.0/newlib/libc/include/sys/features.h 2012-10-15 10:31:19.576620379 +0200
+@@ -34,8 +34,8 @@
+ #define _POSIX_ASYNCHRONOUS_IO 1
+ #define _POSIX_FSYNC 1
+ #define _POSIX_MAPPED_FILES 1
+-#define _POSIX_MEMLOCK 1
+-#define _POSIX_MEMLOCK_RANGE 1
++/* #define _POSIX_MEMLOCK 1 */
++/* #define _POSIX_MEMLOCK_RANGE 1 */
+ #define _POSIX_MEMORY_PROTECTION 1
+ #define _POSIX_MESSAGE_PASSING 1
+ #define _POSIX_MONOTONIC_CLOCK 200112L
+diff -Naur newlib-1.20.0.orig/newlib/libc/include/sys/resource.h newlib-1.20.0/newlib/libc/include/sys/resource.h
+--- newlib-1.20.0.orig/newlib/libc/include/sys/resource.h 2000-02-17 20:39:46.000000000 +0100
++++ newlib-1.20.0/newlib/libc/include/sys/resource.h 2012-10-15 10:31:19.576620379 +0200
+@@ -6,10 +6,22 @@
+ #define RUSAGE_SELF 0 /* calling process */
+ #define RUSAGE_CHILDREN -1 /* terminated child processes */
+
++#ifdef __cplusplus
++extern "C" {
++#endif
++
+ struct rusage {
+ struct timeval ru_utime; /* user time used */
+ struct timeval ru_stime; /* system time used */
+ };
+
++#if defined(__rtems__)
++int _EXFUN(getrusage,(int who, struct rusage *usage));
++#endif
++
++#ifdef __cplusplus
++}
++#endif
++
+ #endif
+
+diff -Naur newlib-1.20.0.orig/newlib/libc/include/sys/signal.h newlib-1.20.0/newlib/libc/include/sys/signal.h
+--- newlib-1.20.0.orig/newlib/libc/include/sys/signal.h 2011-04-19 10:02:59.000000000 +0200
++++ newlib-1.20.0/newlib/libc/include/sys/signal.h 2012-10-15 10:31:19.577620395 +0200
+@@ -143,6 +143,9 @@
+ #undef sigfillset
+ #undef sigismember
+
++#ifdef _COMPILING_NEWLIB
++int _EXFUN(_kill, (pid_t, int));
++#endif
+ int _EXFUN(kill, (pid_t, int));
+ int _EXFUN(killpg, (pid_t, int));
+ int _EXFUN(sigaction, (int, const struct sigaction *, struct sigaction *));
+diff -Naur newlib-1.20.0.orig/newlib/libc/include/sys/stat.h newlib-1.20.0/newlib/libc/include/sys/stat.h
+--- newlib-1.20.0.orig/newlib/libc/include/sys/stat.h 2010-08-06 20:26:21.000000000 +0200
++++ newlib-1.20.0/newlib/libc/include/sys/stat.h 2012-10-15 10:31:19.578620412 +0200
+@@ -170,8 +170,10 @@
+ #ifdef _COMPILING_NEWLIB
+ int _EXFUN(_fstat,( int __fd, struct stat *__sbuf ));
+ int _EXFUN(_stat,( const char *__path, struct stat *__sbuf ));
++int _EXFUN(_mkdir,( const char *_path, mode_t __mode ));
+ #ifdef __LARGE64_FILES
+ struct stat64;
++int _EXFUN(_stat64,( const char *__path, struct stat64 *__sbuf ));
+ int _EXFUN(_fstat64,( int __fd, struct stat64 *__sbuf ));
+ #endif
+ #endif
+diff -Naur newlib-1.20.0.orig/newlib/libc/include/sys/time.h newlib-1.20.0/newlib/libc/include/sys/time.h
+--- newlib-1.20.0.orig/newlib/libc/include/sys/time.h 2009-10-09 20:43:12.000000000 +0200
++++ newlib-1.20.0/newlib/libc/include/sys/time.h 2012-10-15 10:31:19.578620412 +0200
+@@ -12,7 +12,7 @@
+ extern "C" {
+ #endif
+
+-#ifndef _WINSOCK_H
++#ifndef _TIMEVAL_DEFINED
+ #define _TIMEVAL_DEFINED
+ struct timeval {
+ time_t tv_sec;
+@@ -28,7 +28,7 @@
+ #include <cygwin/sys_time.h>
+ #endif /* __CYGWIN__ */
+
+-#endif /* _WINSOCK_H */
++#endif /* !_TIMEVAL_DEFINED */
+
+ #define ITIMER_REAL 0
+ #define ITIMER_VIRTUAL 1
+@@ -71,6 +71,10 @@
+ } while (0)
+ #endif /* defined (__rtems__) || defined (__CYGWIN__) */
+
++#ifdef _COMPILING_NEWLIB
++int _EXFUN(_gettimeofday, (struct timeval *__p, void *__tz));
++#endif
++
+ int _EXFUN(gettimeofday, (struct timeval *__p, void *__tz));
+ int _EXFUN(settimeofday, (const struct timeval *, const struct timezone *));
+ int _EXFUN(utimes, (const char *__path, const struct timeval *__tvp));
+@@ -78,6 +82,11 @@
+ int _EXFUN(setitimer, (int __which, const struct itimerval *__value,
+ struct itimerval *__ovalue));
+
++#if defined(__rtems__)
++/* BSD function used by RTEMS code */
++int _EXFUN(adjtime,(const struct timeval *, struct timeval *));
++#endif
++
+ #ifdef __cplusplus
+ }
+ #endif
+diff -Naur newlib-1.20.0.orig/newlib/libc/include/sys/times.h newlib-1.20.0/newlib/libc/include/sys/times.h
+--- newlib-1.20.0.orig/newlib/libc/include/sys/times.h 2000-12-04 19:47:07.000000000 +0100
++++ newlib-1.20.0/newlib/libc/include/sys/times.h 2012-10-15 10:31:19.578620412 +0200
+@@ -21,6 +21,9 @@
+ };
+
+ clock_t _EXFUN(times,(struct tms *));
++#ifdef _COMPILING_NEWLIB
++clock_t _EXFUN(_times,(struct tms *));
++#endif
+
+ #ifdef __cplusplus
+ }
+diff -Naur newlib-1.20.0.orig/newlib/libc/include/sys/types.h newlib-1.20.0/newlib/libc/include/sys/types.h
+--- newlib-1.20.0.orig/newlib/libc/include/sys/types.h 2011-08-01 19:22:18.000000000 +0200
++++ newlib-1.20.0/newlib/libc/include/sys/types.h 2012-10-15 10:31:19.579620430 +0200
+@@ -109,19 +109,22 @@
+ #ifndef __time_t_defined
+ typedef _TIME_T_ time_t;
+ #define __time_t_defined
++#endif
+
++#ifndef __timespec_defined
++#define __timespec_defined
+ /* Time Value Specification Structures, P1003.1b-1993, p. 261 */
+
+ struct timespec {
+ time_t tv_sec; /* Seconds */
+ long tv_nsec; /* Nanoseconds */
+ };
++#endif
+
+ struct itimerspec {
+ struct timespec it_interval; /* Timer period */
+ struct timespec it_value; /* Timer expiration */
+ };
+-#endif
+
+ typedef long daddr_t;
+ typedef char * caddr_t;
+@@ -207,7 +210,7 @@
+ includes the W32api winsock[2].h header must know what it is doing;
+ it must not call the cygwin32 select function.
+ */
+-# if !(defined (_POSIX_SOURCE) || defined (_WINSOCK_H) || defined (__USE_W32_SOCKETS))
++# if !(defined (_POSIX_SOURCE) || defined (_WINSOCK_H) || defined (_WINSOCKAPI_) || defined (__USE_W32_SOCKETS))
+ # define _SYS_TYPES_FD_SET
+ # define NBBY 8 /* number of bits in a byte */
+ /*
+@@ -244,7 +247,7 @@
+ *__tmp++ = 0; \
+ }))
+
+-# endif /* !(defined (_POSIX_SOURCE) || defined (_WINSOCK_H) || defined (__USE_W32_SOCKETS)) */
++# endif /* !(defined (_POSIX_SOURCE) || defined (_WINSOCK_H) || defined (_WINSOCKAPI_) || defined (__USE_W32_SOCKETS)) */
+
+ #undef __MS_types__
+ #undef _ST_INT32
+diff -Naur newlib-1.20.0.orig/newlib/libc/include/sys/unistd.h newlib-1.20.0/newlib/libc/include/sys/unistd.h
+--- newlib-1.20.0.orig/newlib/libc/include/sys/unistd.h 2011-08-19 16:29:34.000000000 +0200
++++ newlib-1.20.0/newlib/libc/include/sys/unistd.h 2012-10-15 10:31:19.579620430 +0200
+@@ -71,6 +71,9 @@
+ long _EXFUN(fpathconf, (int __fd, int __name ));
+ int _EXFUN(fsync, (int __fd));
+ int _EXFUN(fdatasync, (int __fd));
++#if defined(__CYGWIN__)
++char * _EXFUN(get_current_dir_name, (void));
++#endif
+ char * _EXFUN(getcwd, (char *__buf, size_t __size ));
+ #if defined(__CYGWIN__)
+ int _EXFUN(getdomainname ,(char *__name, size_t __len));
+@@ -230,7 +233,7 @@
+ int _EXFUN(getdtablesize, (void));
+ int _EXFUN(setdtablesize, (int));
+ useconds_t _EXFUN(ualarm, (useconds_t __useconds, useconds_t __interval));
+-#if !(defined (_WINSOCK_H) || defined (__USE_W32_SOCKETS))
++#if !(defined (_WINSOCK_H) || defined (_WINSOCKAPI_) || defined (__USE_W32_SOCKETS))
+ /* winsock[2].h defines as __stdcall, and with int as 2nd arg */
+ int _EXFUN(gethostname, (char *__name, size_t __len));
+ #endif
+diff -Naur newlib-1.20.0.orig/newlib/libc/include/sys/wait.h newlib-1.20.0/newlib/libc/include/sys/wait.h
+--- newlib-1.20.0.orig/newlib/libc/include/sys/wait.h 2000-02-17 20:39:46.000000000 +0100
++++ newlib-1.20.0/newlib/libc/include/sys/wait.h 2012-10-15 10:31:19.579620430 +0200
+@@ -29,6 +29,10 @@
+ pid_t wait (int *);
+ pid_t waitpid (pid_t, int *, int);
+
++#ifdef _COMPILING_NEWLIB
++pid_t _wait (int *);
++#endif
++
+ /* Provide prototypes for most of the _<systemcall> names that are
+ provided in newlib for some compilers. */
+ pid_t _wait (int *);
+diff -Naur newlib-1.20.0.orig/newlib/libc/include/tgmath.h newlib-1.20.0/newlib/libc/include/tgmath.h
+--- newlib-1.20.0.orig/newlib/libc/include/tgmath.h 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/newlib/libc/include/tgmath.h 2012-10-15 10:31:19.579620430 +0200
+@@ -0,0 +1,185 @@
++/* http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/tgmath.h.html */
++/*-
++ * Copyright (c) 2004 Stefan Farfeleder.
++ * All rights reserved.
++ *
++ * Redistribution and use in source and binary forms, with or without
++ * modification, are permitted provided that the following conditions
++ * are met:
++ * 1. Redistributions of source code must retain the above copyright
++ * notice, this list of conditions and the following disclaimer.
++ * 2. Redistributions in binary form must reproduce the above copyright
++ * notice, this list of conditions and the following disclaimer in the
++ * documentation and/or other materials provided with the distribution.
++ *
++ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
++ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
++ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
++ * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
++ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
++ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
++ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
++ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
++ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
++ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
++ * SUCH DAMAGE.
++ *
++ * $FreeBSD$
++ */
++
++#ifndef _TGMATH_H_
++#define _TGMATH_H_
++
++#include <complex.h>
++#include <math.h>
++
++#ifdef log2
++#undef log2
++#endif
++
++/*
++ * This implementation of <tgmath.h> requires two implementation-dependent
++ * macros to be defined:
++ * __tg_impl_simple(x, y, z, fn, fnf, fnl, ...)
++ * Invokes fnl() if the corresponding real type of x, y or z is long
++ * double, fn() if it is double or any has an integer type, and fnf()
++ * otherwise.
++ * __tg_impl_full(x, y, z, fn, fnf, fnl, cfn, cfnf, cfnl, ...)
++ * Invokes [c]fnl() if the corresponding real type of x, y or z is long
++ * double, [c]fn() if it is double or any has an integer type, and
++ * [c]fnf() otherwise. The function with the 'c' prefix is called if
++ * any of x, y or z is a complex number.
++ * Both macros call the chosen function with all additional arguments passed
++ * to them, as given by __VA_ARGS__.
++ *
++ * Note that these macros cannot be implemented with C's ?: operator,
++ * because the return type of the whole expression would incorrectly be long
++ * double complex regardless of the argument types.
++ */
++
++/* requires GCC >= 3.1 */
++#if !defined(__GNUC__) || __GNUC__ < 3 || \
++ (__GNUC__ == 3 && __GNUC_MINOR__ < 1)
++#error "<tgmath.h> not implemented for this compiler"
++#endif
++
++#define __tg_type(__e, __t) \
++ __builtin_types_compatible_p(__typeof__(__e), __t)
++#define __tg_type3(__e1, __e2, __e3, __t) \
++ (__tg_type(__e1, __t) || __tg_type(__e2, __t) || \
++ __tg_type(__e3, __t))
++#define __tg_type_corr(__e1, __e2, __e3, __t) \
++ (__tg_type3(__e1, __e2, __e3, __t) || \
++ __tg_type3(__e1, __e2, __e3, __t _Complex))
++#define __tg_integer(__e1, __e2, __e3) \
++ (((__typeof__(__e1))1.5 == 1) || ((__typeof__(__e2))1.5 == 1) || \
++ ((__typeof__(__e3))1.5 == 1))
++#define __tg_is_complex(__e1, __e2, __e3) \
++ (__tg_type3(__e1, __e2, __e3, float _Complex) || \
++ __tg_type3(__e1, __e2, __e3, double _Complex) || \
++ __tg_type3(__e1, __e2, __e3, long double _Complex) || \
++ __tg_type3(__e1, __e2, __e3, __typeof__(_Complex_I)))
++
++#ifdef _LDBL_EQ_DBL
++#define __tg_impl_simple(x, y, z, fn, fnf, fnl, ...) \
++ __builtin_choose_expr(__tg_type_corr(x, y, z, long double), \
++ fnl(__VA_ARGS__), __builtin_choose_expr( \
++ __tg_type_corr(x, y, z, double) || __tg_integer(x, y, z),\
++ fn(__VA_ARGS__), fnf(__VA_ARGS__)))
++#else
++#define __tg_impl_simple(__x, __y, __z, __fn, __fnf, __fnl, ...) \
++ (__tg_type_corr(__x, __y, __z, double) || __tg_integer(__x, __y, __z)) \
++ ? __fn(__VA_ARGS__) : __fnf(__VA_ARGS__)
++#endif
++
++#define __tg_impl_full(__x, __y, __z, __fn, __fnf, __fnl, __cfn, __cfnf, __cfnl, ...) \
++ __builtin_choose_expr(__tg_is_complex(__x, __y, __z), \
++ __tg_impl_simple(__x, __y, __z, __cfn, __cfnf, __cfnl, __VA_ARGS__), \
++ __tg_impl_simple(__x, __y, __z, __fn, __fnf, __fnl, __VA_ARGS__))
++
++/* Macros to save lots of repetition below */
++#define __tg_simple(__x, __fn) \
++ __tg_impl_simple(__x, __x, __x, __fn, __fn##f, __fn##l, __x)
++#define __tg_simple2(__x, __y, __fn) \
++ __tg_impl_simple(__x, __x, __y, __fn, __fn##f, __fn##l, __x, __y)
++#define __tg_simplev(__x, __fn, ...) \
++ __tg_impl_simple(__x, __x, __x, __fn, __fn##f, __fn##l, __VA_ARGS__)
++#define __tg_full(__x, __fn) \
++ __tg_impl_full(__x, __x, __x, __fn, __fn##f, __fn##l, c##__fn, c##__fn##f, c##__fn##l, __x)
++
++/* 7.22#4 -- These macros expand to real or complex functions, depending on
++ * the type of their arguments. */
++#define acos(__x) __tg_full(__x, acos)
++#define asin(__x) __tg_full(__x, asin)
++#define atan(__x) __tg_full(__x, atan)
++#define acosh(__x) __tg_full(__x, acosh)
++#define asinh(__x) __tg_full(__x, asinh)
++#define atanh(__x) __tg_full(__x, atanh)
++#define cos(__x) __tg_full(__x, cos)
++#define sin(__x) __tg_full(__x, sin)
++#define tan(__x) __tg_full(__x, tan)
++#define cosh(__x) __tg_full(__x, cosh)
++#define sinh(__x) __tg_full(__x, sinh)
++#define tanh(__x) __tg_full(__x, tanh)
++#define exp(__x) __tg_full(__x, exp)
++#define log(__x) __tg_full(__x, log)
++#define pow(__x, __y) __tg_impl_full(__x, __x, __y, pow, powf, powl, \
++ cpow, cpowf, cpowl, __x, __y)
++#define sqrt(__x) __tg_full(__x, sqrt)
++
++/* "The corresponding type-generic macro for fabs and cabs is fabs." */
++#define fabs(__x) __tg_impl_full(__x, __x, __x, fabs, fabsf, fabsl, \
++ cabs, cabsf, cabsl, __x)
++
++/* 7.22#5 -- These macros are only defined for arguments with real type. */
++#define atan2(__x, __y) __tg_simple2(__x, __y, atan2)
++#define cbrt(__x) __tg_simple(__x, cbrt)
++#define ceil(__x) __tg_simple(__x, ceil)
++#define copysign(__x, __y) __tg_simple2(__x, __y, copysign)
++#define erf(__x) __tg_simple(__x, erf)
++#define erfc(__x) __tg_simple(__x, erfc)
++#define exp2(__x) __tg_simple(__x, exp2)
++#define expm1(__x) __tg_simple(__x, expm1)
++#define fdim(__x, __y) __tg_simple2(__x, __y, fdim)
++#define floor(__x) __tg_simple(__x, floor)
++#define fma(__x, __y, __z) __tg_impl_simple(__x, __y, __z, fma, fmaf, fmal, \
++ __x, __y, __z)
++#define fmax(__x, __y) __tg_simple2(__x, __y, fmax)
++#define fmin(__x, __y) __tg_simple2(__x, __y, fmin)
++#define fmod(__x, __y) __tg_simple2(__x, __y, fmod)
++#define frexp(__x, __y) __tg_simplev(__x, frexp, __x, __y)
++#define hypot(__x, __y) __tg_simple2(__x, __y, hypot)
++#define ilogb(__x) __tg_simple(__x, ilogb)
++#define ldexp(__x, __y) __tg_simplev(__x, ldexp, __x, __y)
++#define lgamma(__x) __tg_simple(__x, lgamma)
++#define llrint(__x) __tg_simple(__x, llrint)
++#define llround(__x) __tg_simple(__x, llround)
++#define log10(__x) __tg_simple(__x, log10)
++#define log1p(__x) __tg_simple(__x, log1p)
++#define log2(__x) __tg_simple(__x, log2)
++#define logb(__x) __tg_simple(__x, logb)
++#define lrint(__x) __tg_simple(__x, lrint)
++#define lround(__x) __tg_simple(__x, lround)
++#define nearbyint(__x) __tg_simple(__x, nearbyint)
++#define nextafter(__x, __y) __tg_simple2(__x, __y, nextafter)
++/* not yet implemented even for _LDBL_EQ_DBL platforms
++#define nexttoward(__x, __y) __tg_simplev(__x, nexttoward, __x, __y)
++*/
++#define remainder(__x, __y) __tg_simple2(__x, __y, remainder)
++#define remquo(__x, __y, __z) __tg_impl_simple(__x, __x, __y, remquo, remquof, \
++ remquol, __x, __y, __z)
++#define rint(__x) __tg_simple(__x, rint)
++#define round(__x) __tg_simple(__x, round)
++#define scalbn(__x, __y) __tg_simplev(__x, scalbn, __x, __y)
++#define scalbln(__x, __y) __tg_simplev(__x, scalbln, __x, __y)
++#define tgamma(__x) __tg_simple(__x, tgamma)
++#define trunc(__x) __tg_simple(__x, trunc)
++
++/* 7.22#6 -- These macros always expand to complex functions. */
++#define carg(__x) __tg_simple(__x, carg)
++#define cimag(__x) __tg_simple(__x, cimag)
++#define conj(__x) __tg_simple(__x, conj)
++#define cproj(__x) __tg_simple(__x, cproj)
++#define creal(__x) __tg_simple(__x, creal)
++
++#endif /* !_TGMATH_H_ */
+diff -Naur newlib-1.20.0.orig/newlib/libc/locale/lmessages.c newlib-1.20.0/newlib/libc/locale/lmessages.c
+--- newlib-1.20.0.orig/newlib/libc/locale/lmessages.c 2011-07-19 21:24:45.000000000 +0200
++++ newlib-1.20.0/newlib/libc/locale/lmessages.c 2012-10-15 10:31:19.580620447 +0200
+@@ -35,7 +35,9 @@
+ #define LCMESSAGES_SIZE_MIN \
+ (offsetof(struct lc_messages_T, yesstr) / sizeof(char *))
+
++#ifndef __CYGWIN__
+ static char empty[] = "";
++#endif
+
+ static const struct lc_messages_T _C_messages_locale = {
+ "^[yY]" , /* yesexpr */
+diff -Naur newlib-1.20.0.orig/newlib/libc/locale/lmonetary.c newlib-1.20.0/newlib/libc/locale/lmonetary.c
+--- newlib-1.20.0.orig/newlib/libc/locale/lmonetary.c 2010-04-28 11:59:37.000000000 +0200
++++ newlib-1.20.0/newlib/libc/locale/lmonetary.c 2012-10-15 10:31:19.580620447 +0200
+@@ -79,6 +79,7 @@
+ static int _monetary_using_locale;
+ static char *_monetary_locale_buf;
+
++#ifndef __CYGWIN__
+ static char
+ cnv(const char *str) {
+ int i = strtol(str, NULL, 10);
+@@ -86,6 +87,7 @@
+ i = CHAR_MAX;
+ return (char)i;
+ }
++#endif
+
+ int
+ __monetary_load_locale(const char *name , void *f_wctomb, const char *charset)
+diff -Naur newlib-1.20.0.orig/newlib/libc/locale/locale.c newlib-1.20.0/newlib/libc/locale/locale.c
+--- newlib-1.20.0.orig/newlib/libc/locale/locale.c 2011-05-04 10:54:34.000000000 +0200
++++ newlib-1.20.0/newlib/libc/locale/locale.c 2012-10-15 10:31:19.580620447 +0200
+@@ -188,7 +188,11 @@
+ #define _LC_LAST 7
+ #define ENCODING_LEN 31
+
++#ifdef __CYGWIN__ /* Cygwin starts with LC_CTYPE set to "C.UTF-8". */
++int __EXPORT __mb_cur_max = 6;
++#else
+ int __EXPORT __mb_cur_max = 1;
++#endif
+
+ int __nlocale_changed = 0;
+ int __mlocale_changed = 0;
+diff -Naur newlib-1.20.0.orig/newlib/libc/locale/nl_langinfo.c newlib-1.20.0/newlib/libc/locale/nl_langinfo.c
+--- newlib-1.20.0.orig/newlib/libc/locale/nl_langinfo.c 2010-05-03 11:25:32.000000000 +0200
++++ newlib-1.20.0/newlib/libc/locale/nl_langinfo.c 2012-10-15 10:31:19.581620463 +0200
+@@ -182,7 +182,10 @@
+ _DEFUN(nl_langinfo, (item),
+ nl_item item) {
+
+- char *ret, *s, *cs;
++ char *ret, *cs;
++#ifndef __CYGWIN__
++ char *s;
++#endif
+ static char *csym = NULL;
+ #ifdef TRANSITION_PERIOD_HACK
+ static char *cset = NULL;
+diff -Naur newlib-1.20.0.orig/newlib/libc/machine/aarch64/aclocal.m4 newlib-1.20.0/newlib/libc/machine/aarch64/aclocal.m4
+--- newlib-1.20.0.orig/newlib/libc/machine/aarch64/aclocal.m4 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/newlib/libc/machine/aarch64/aclocal.m4 2012-10-15 10:31:19.582620479 +0200
+@@ -0,0 +1,992 @@
++# generated automatically by aclocal 1.11.1 -*- Autoconf -*-
++
++# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
++# 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
++# This file is free software; the Free Software Foundation
++# gives unlimited permission to copy and/or distribute it,
++# with or without modifications, as long as this notice is preserved.
++
++# This program is distributed in the hope that it will be useful,
++# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
++# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
++# PARTICULAR PURPOSE.
++
++m4_ifndef([AC_AUTOCONF_VERSION],
++ [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
++m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.68],,
++[m4_warning([this file was generated for autoconf 2.68.
++You have another version of autoconf. It may work, but is not guaranteed to.
++If you have problems, you may need to regenerate the build system entirely.
++To do so, use the procedure documented by the package, typically `autoreconf'.])])
++
++# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
++#
++# This file is free software; the Free Software Foundation
++# gives unlimited permission to copy and/or distribute it,
++# with or without modifications, as long as this notice is preserved.
++
++# AM_AUTOMAKE_VERSION(VERSION)
++# ----------------------------
++# Automake X.Y traces this macro to ensure aclocal.m4 has been
++# generated from the m4 files accompanying Automake X.Y.
++# (This private macro should not be called outside this file.)
++AC_DEFUN([AM_AUTOMAKE_VERSION],
++[am__api_version='1.11'
++dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
++dnl require some minimum version. Point them to the right macro.
++m4_if([$1], [1.11.1], [],
++ [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
++])
++
++# _AM_AUTOCONF_VERSION(VERSION)
++# -----------------------------
++# aclocal traces this macro to find the Autoconf version.
++# This is a private macro too. Using m4_define simplifies
++# the logic in aclocal, which can simply ignore this definition.
++m4_define([_AM_AUTOCONF_VERSION], [])
++
++# AM_SET_CURRENT_AUTOMAKE_VERSION
++# -------------------------------
++# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
++# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
++AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
++[AM_AUTOMAKE_VERSION([1.11.1])dnl
++m4_ifndef([AC_AUTOCONF_VERSION],
++ [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
++_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
++
++# AM_AUX_DIR_EXPAND -*- Autoconf -*-
++
++# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
++#
++# This file is free software; the Free Software Foundation
++# gives unlimited permission to copy and/or distribute it,
++# with or without modifications, as long as this notice is preserved.
++
++# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
++# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
++# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
++#
++# Of course, Automake must honor this variable whenever it calls a
++# tool from the auxiliary directory. The problem is that $srcdir (and
++# therefore $ac_aux_dir as well) can be either absolute or relative,
++# depending on how configure is run. This is pretty annoying, since
++# it makes $ac_aux_dir quite unusable in subdirectories: in the top
++# source directory, any form will work fine, but in subdirectories a
++# relative path needs to be adjusted first.
++#
++# $ac_aux_dir/missing
++# fails when called from a subdirectory if $ac_aux_dir is relative
++# $top_srcdir/$ac_aux_dir/missing
++# fails if $ac_aux_dir is absolute,
++# fails when called from a subdirectory in a VPATH build with
++# a relative $ac_aux_dir
++#
++# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
++# are both prefixed by $srcdir. In an in-source build this is usually
++# harmless because $srcdir is `.', but things will broke when you
++# start a VPATH build or use an absolute $srcdir.
++#
++# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
++# iff we strip the leading $srcdir from $ac_aux_dir. That would be:
++# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
++# and then we would define $MISSING as
++# MISSING="\${SHELL} $am_aux_dir/missing"
++# This will work as long as MISSING is not called from configure, because
++# unfortunately $(top_srcdir) has no meaning in configure.
++# However there are other variables, like CC, which are often used in
++# configure, and could therefore not use this "fixed" $ac_aux_dir.
++#
++# Another solution, used here, is to always expand $ac_aux_dir to an
++# absolute PATH. The drawback is that using absolute paths prevent a
++# configured tree to be moved without reconfiguration.
++
++AC_DEFUN([AM_AUX_DIR_EXPAND],
++[dnl Rely on autoconf to set up CDPATH properly.
++AC_PREREQ([2.50])dnl
++# expand $ac_aux_dir to an absolute path
++am_aux_dir=`cd $ac_aux_dir && pwd`
++])
++
++# AM_CONDITIONAL -*- Autoconf -*-
++
++# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
++# Free Software Foundation, Inc.
++#
++# This file is free software; the Free Software Foundation
++# gives unlimited permission to copy and/or distribute it,
++# with or without modifications, as long as this notice is preserved.
++
++# serial 9
++
++# AM_CONDITIONAL(NAME, SHELL-CONDITION)
++# -------------------------------------
++# Define a conditional.
++AC_DEFUN([AM_CONDITIONAL],
++[AC_PREREQ(2.52)dnl
++ ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
++ [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
++AC_SUBST([$1_TRUE])dnl
++AC_SUBST([$1_FALSE])dnl
++_AM_SUBST_NOTMAKE([$1_TRUE])dnl
++_AM_SUBST_NOTMAKE([$1_FALSE])dnl
++m4_define([_AM_COND_VALUE_$1], [$2])dnl
++if $2; then
++ $1_TRUE=
++ $1_FALSE='#'
++else
++ $1_TRUE='#'
++ $1_FALSE=
++fi
++AC_CONFIG_COMMANDS_PRE(
++[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
++ AC_MSG_ERROR([[conditional "$1" was never defined.
++Usually this means the macro was only invoked conditionally.]])
++fi])])
++
++# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
++# Free Software Foundation, Inc.
++#
++# This file is free software; the Free Software Foundation
++# gives unlimited permission to copy and/or distribute it,
++# with or without modifications, as long as this notice is preserved.
++
++# serial 10
++
++# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
++# written in clear, in which case automake, when reading aclocal.m4,
++# will think it sees a *use*, and therefore will trigger all it's
++# C support machinery. Also note that it means that autoscan, seeing
++# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
++
++
++# _AM_DEPENDENCIES(NAME)
++# ----------------------
++# See how the compiler implements dependency checking.
++# NAME is "CC", "CXX", "GCJ", or "OBJC".
++# We try a few techniques and use that to set a single cache variable.
++#
++# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
++# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
++# dependency, and given that the user is not expected to run this macro,
++# just rely on AC_PROG_CC.
++AC_DEFUN([_AM_DEPENDENCIES],
++[AC_REQUIRE([AM_SET_DEPDIR])dnl
++AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
++AC_REQUIRE([AM_MAKE_INCLUDE])dnl
++AC_REQUIRE([AM_DEP_TRACK])dnl
++
++ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
++ [$1], CXX, [depcc="$CXX" am_compiler_list=],
++ [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
++ [$1], UPC, [depcc="$UPC" am_compiler_list=],
++ [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
++ [depcc="$$1" am_compiler_list=])
++
++AC_CACHE_CHECK([dependency style of $depcc],
++ [am_cv_$1_dependencies_compiler_type],
++[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
++ # We make a subdir and do the tests there. Otherwise we can end up
++ # making bogus files that we don't know about and never remove. For
++ # instance it was reported that on HP-UX the gcc test will end up
++ # making a dummy file named `D' -- because `-MD' means `put the output
++ # in D'.
++ mkdir conftest.dir
++ # Copy depcomp to subdir because otherwise we won't find it if we're
++ # using a relative directory.
++ cp "$am_depcomp" conftest.dir
++ cd conftest.dir
++ # We will build objects and dependencies in a subdirectory because
++ # it helps to detect inapplicable dependency modes. For instance
++ # both Tru64's cc and ICC support -MD to output dependencies as a
++ # side effect of compilation, but ICC will put the dependencies in
++ # the current directory while Tru64 will put them in the object
++ # directory.
++ mkdir sub
++
++ am_cv_$1_dependencies_compiler_type=none
++ if test "$am_compiler_list" = ""; then
++ am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
++ fi
++ am__universal=false
++ m4_case([$1], [CC],
++ [case " $depcc " in #(
++ *\ -arch\ *\ -arch\ *) am__universal=true ;;
++ esac],
++ [CXX],
++ [case " $depcc " in #(
++ *\ -arch\ *\ -arch\ *) am__universal=true ;;
++ esac])
++
++ for depmode in $am_compiler_list; do
++ # Setup a source with many dependencies, because some compilers
++ # like to wrap large dependency lists on column 80 (with \), and
++ # we should not choose a depcomp mode which is confused by this.
++ #
++ # We need to recreate these files for each test, as the compiler may
++ # overwrite some of them when testing with obscure command lines.
++ # This happens at least with the AIX C compiler.
++ : > sub/conftest.c
++ for i in 1 2 3 4 5 6; do
++ echo '#include "conftst'$i'.h"' >> sub/conftest.c
++ # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
++ # Solaris 8's {/usr,}/bin/sh.
++ touch sub/conftst$i.h
++ done
++ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
++
++ # We check with `-c' and `-o' for the sake of the "dashmstdout"
++ # mode. It turns out that the SunPro C++ compiler does not properly
++ # handle `-M -o', and we need to detect this. Also, some Intel
++ # versions had trouble with output in subdirs
++ am__obj=sub/conftest.${OBJEXT-o}
++ am__minus_obj="-o $am__obj"
++ case $depmode in
++ gcc)
++ # This depmode causes a compiler race in universal mode.
++ test "$am__universal" = false || continue
++ ;;
++ nosideeffect)
++ # after this tag, mechanisms are not by side-effect, so they'll
++ # only be used when explicitly requested
++ if test "x$enable_dependency_tracking" = xyes; then
++ continue
++ else
++ break
++ fi
++ ;;
++ msvisualcpp | msvcmsys)
++ # This compiler won't grok `-c -o', but also, the minuso test has
++ # not run yet. These depmodes are late enough in the game, and
++ # so weak that their functioning should not be impacted.
++ am__obj=conftest.${OBJEXT-o}
++ am__minus_obj=
++ ;;
++ none) break ;;
++ esac
++ if depmode=$depmode \
++ source=sub/conftest.c object=$am__obj \
++ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
++ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
++ >/dev/null 2>conftest.err &&
++ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
++ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
++ grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
++ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
++ # icc doesn't choke on unknown options, it will just issue warnings
++ # or remarks (even with -Werror). So we grep stderr for any message
++ # that says an option was ignored or not supported.
++ # When given -MP, icc 7.0 and 7.1 complain thusly:
++ # icc: Command line warning: ignoring option '-M'; no argument required
++ # The diagnosis changed in icc 8.0:
++ # icc: Command line remark: option '-MP' not supported
++ if (grep 'ignoring option' conftest.err ||
++ grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
++ am_cv_$1_dependencies_compiler_type=$depmode
++ break
++ fi
++ fi
++ done
++
++ cd ..
++ rm -rf conftest.dir
++else
++ am_cv_$1_dependencies_compiler_type=none
++fi
++])
++AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
++AM_CONDITIONAL([am__fastdep$1], [
++ test "x$enable_dependency_tracking" != xno \
++ && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
++])
++
++
++# AM_SET_DEPDIR
++# -------------
++# Choose a directory name for dependency files.
++# This macro is AC_REQUIREd in _AM_DEPENDENCIES
++AC_DEFUN([AM_SET_DEPDIR],
++[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
++AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
++])
++
++
++# AM_DEP_TRACK
++# ------------
++AC_DEFUN([AM_DEP_TRACK],
++[AC_ARG_ENABLE(dependency-tracking,
++[ --disable-dependency-tracking speeds up one-time build
++ --enable-dependency-tracking do not reject slow dependency extractors])
++if test "x$enable_dependency_tracking" != xno; then
++ am_depcomp="$ac_aux_dir/depcomp"
++ AMDEPBACKSLASH='\'
++fi
++AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
++AC_SUBST([AMDEPBACKSLASH])dnl
++_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
++])
++
++# Generate code to set up dependency tracking. -*- Autoconf -*-
++
++# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
++# Free Software Foundation, Inc.
++#
++# This file is free software; the Free Software Foundation
++# gives unlimited permission to copy and/or distribute it,
++# with or without modifications, as long as this notice is preserved.
++
++#serial 5
++
++# _AM_OUTPUT_DEPENDENCY_COMMANDS
++# ------------------------------
++AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
++[{
++ # Autoconf 2.62 quotes --file arguments for eval, but not when files
++ # are listed without --file. Let's play safe and only enable the eval
++ # if we detect the quoting.
++ case $CONFIG_FILES in
++ *\'*) eval set x "$CONFIG_FILES" ;;
++ *) set x $CONFIG_FILES ;;
++ esac
++ shift
++ for mf
++ do
++ # Strip MF so we end up with the name of the file.
++ mf=`echo "$mf" | sed -e 's/:.*$//'`
++ # Check whether this is an Automake generated Makefile or not.
++ # We used to match only the files named `Makefile.in', but
++ # some people rename them; so instead we look at the file content.
++ # Grep'ing the first line is not enough: some people post-process
++ # each Makefile.in and add a new line on top of each file to say so.
++ # Grep'ing the whole file is not good either: AIX grep has a line
++ # limit of 2048, but all sed's we know have understand at least 4000.
++ if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
++ dirpart=`AS_DIRNAME("$mf")`
++ else
++ continue
++ fi
++ # Extract the definition of DEPDIR, am__include, and am__quote
++ # from the Makefile without running `make'.
++ DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
++ test -z "$DEPDIR" && continue
++ am__include=`sed -n 's/^am__include = //p' < "$mf"`
++ test -z "am__include" && continue
++ am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
++ # When using ansi2knr, U may be empty or an underscore; expand it
++ U=`sed -n 's/^U = //p' < "$mf"`
++ # Find all dependency output files, they are included files with
++ # $(DEPDIR) in their names. We invoke sed twice because it is the
++ # simplest approach to changing $(DEPDIR) to its actual value in the
++ # expansion.
++ for file in `sed -n "
++ s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
++ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
++ # Make sure the directory exists.
++ test -f "$dirpart/$file" && continue
++ fdir=`AS_DIRNAME(["$file"])`
++ AS_MKDIR_P([$dirpart/$fdir])
++ # echo "creating $dirpart/$file"
++ echo '# dummy' > "$dirpart/$file"
++ done
++ done
++}
++])# _AM_OUTPUT_DEPENDENCY_COMMANDS
++
++
++# AM_OUTPUT_DEPENDENCY_COMMANDS
++# -----------------------------
++# This macro should only be invoked once -- use via AC_REQUIRE.
++#
++# This code is only required when automatic dependency tracking
++# is enabled. FIXME. This creates each `.P' file that we will
++# need in order to bootstrap the dependency handling code.
++AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
++[AC_CONFIG_COMMANDS([depfiles],
++ [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
++ [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
++])
++
++# Do all the work for Automake. -*- Autoconf -*-
++
++# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
++# 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
++#
++# This file is free software; the Free Software Foundation
++# gives unlimited permission to copy and/or distribute it,
++# with or without modifications, as long as this notice is preserved.
++
++# serial 16
++
++# This macro actually does too much. Some checks are only needed if
++# your package does certain things. But this isn't really a big deal.
++
++# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
++# AM_INIT_AUTOMAKE([OPTIONS])
++# -----------------------------------------------
++# The call with PACKAGE and VERSION arguments is the old style
++# call (pre autoconf-2.50), which is being phased out. PACKAGE
++# and VERSION should now be passed to AC_INIT and removed from
++# the call to AM_INIT_AUTOMAKE.
++# We support both call styles for the transition. After
++# the next Automake release, Autoconf can make the AC_INIT
++# arguments mandatory, and then we can depend on a new Autoconf
++# release and drop the old call support.
++AC_DEFUN([AM_INIT_AUTOMAKE],
++[AC_PREREQ([2.62])dnl
++dnl Autoconf wants to disallow AM_ names. We explicitly allow
++dnl the ones we care about.
++m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
++AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
++AC_REQUIRE([AC_PROG_INSTALL])dnl
++if test "`cd $srcdir && pwd`" != "`pwd`"; then
++ # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
++ # is not polluted with repeated "-I."
++ AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
++ # test to see if srcdir already configured
++ if test -f $srcdir/config.status; then
++ AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
++ fi
++fi
++
++# test whether we have cygpath
++if test -z "$CYGPATH_W"; then
++ if (cygpath --version) >/dev/null 2>/dev/null; then
++ CYGPATH_W='cygpath -w'
++ else
++ CYGPATH_W=echo
++ fi
++fi
++AC_SUBST([CYGPATH_W])
++
++# Define the identity of the package.
++dnl Distinguish between old-style and new-style calls.
++m4_ifval([$2],
++[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
++ AC_SUBST([PACKAGE], [$1])dnl
++ AC_SUBST([VERSION], [$2])],
++[_AM_SET_OPTIONS([$1])dnl
++dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
++m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
++ [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
++ AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
++ AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
++
++_AM_IF_OPTION([no-define],,
++[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
++ AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
++
++# Some tools Automake needs.
++AC_REQUIRE([AM_SANITY_CHECK])dnl
++AC_REQUIRE([AC_ARG_PROGRAM])dnl
++AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
++AM_MISSING_PROG(AUTOCONF, autoconf)
++AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
++AM_MISSING_PROG(AUTOHEADER, autoheader)
++AM_MISSING_PROG(MAKEINFO, makeinfo)
++AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
++AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
++AC_REQUIRE([AM_PROG_MKDIR_P])dnl
++# We need awk for the "check" target. The system "awk" is bad on
++# some platforms.
++AC_REQUIRE([AC_PROG_AWK])dnl
++AC_REQUIRE([AC_PROG_MAKE_SET])dnl
++AC_REQUIRE([AM_SET_LEADING_DOT])dnl
++_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
++ [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
++ [_AM_PROG_TAR([v7])])])
++_AM_IF_OPTION([no-dependencies],,
++[AC_PROVIDE_IFELSE([AC_PROG_CC],
++ [_AM_DEPENDENCIES(CC)],
++ [define([AC_PROG_CC],
++ defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
++AC_PROVIDE_IFELSE([AC_PROG_CXX],
++ [_AM_DEPENDENCIES(CXX)],
++ [define([AC_PROG_CXX],
++ defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
++AC_PROVIDE_IFELSE([AC_PROG_OBJC],
++ [_AM_DEPENDENCIES(OBJC)],
++ [define([AC_PROG_OBJC],
++ defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
++])
++_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
++dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
++dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
++dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
++AC_CONFIG_COMMANDS_PRE(dnl
++[m4_provide_if([_AM_COMPILER_EXEEXT],
++ [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
++])
++
++dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
++dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
++dnl mangled by Autoconf and run in a shell conditional statement.
++m4_define([_AC_COMPILER_EXEEXT],
++m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
++
++
++# When config.status generates a header, we must update the stamp-h file.
++# This file resides in the same directory as the config header
++# that is generated. The stamp files are numbered to have different names.
++
++# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
++# loop where config.status creates the headers, so we can generate
++# our stamp files there.
++AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
++[# Compute $1's index in $config_headers.
++_am_arg=$1
++_am_stamp_count=1
++for _am_header in $config_headers :; do
++ case $_am_header in
++ $_am_arg | $_am_arg:* )
++ break ;;
++ * )
++ _am_stamp_count=`expr $_am_stamp_count + 1` ;;
++ esac
++done
++echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
++
++# Copyright (C) 2001, 2003, 2005, 2008 Free Software Foundation, Inc.
++#
++# This file is free software; the Free Software Foundation
++# gives unlimited permission to copy and/or distribute it,
++# with or without modifications, as long as this notice is preserved.
++
++# AM_PROG_INSTALL_SH
++# ------------------
++# Define $install_sh.
++AC_DEFUN([AM_PROG_INSTALL_SH],
++[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
++if test x"${install_sh}" != xset; then
++ case $am_aux_dir in
++ *\ * | *\ *)
++ install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
++ *)
++ install_sh="\${SHELL} $am_aux_dir/install-sh"
++ esac
++fi
++AC_SUBST(install_sh)])
++
++# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
++#
++# This file is free software; the Free Software Foundation
++# gives unlimited permission to copy and/or distribute it,
++# with or without modifications, as long as this notice is preserved.
++
++# serial 2
++
++# Check whether the underlying file-system supports filenames
++# with a leading dot. For instance MS-DOS doesn't.
++AC_DEFUN([AM_SET_LEADING_DOT],
++[rm -rf .tst 2>/dev/null
++mkdir .tst 2>/dev/null
++if test -d .tst; then
++ am__leading_dot=.
++else
++ am__leading_dot=_
++fi
++rmdir .tst 2>/dev/null
++AC_SUBST([am__leading_dot])])
++
++# Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
++# From Jim Meyering
++
++# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008
++# Free Software Foundation, Inc.
++#
++# This file is free software; the Free Software Foundation
++# gives unlimited permission to copy and/or distribute it,
++# with or without modifications, as long as this notice is preserved.
++
++# serial 5
++
++# AM_MAINTAINER_MODE([DEFAULT-MODE])
++# ----------------------------------
++# Control maintainer-specific portions of Makefiles.
++# Default is to disable them, unless `enable' is passed literally.
++# For symmetry, `disable' may be passed as well. Anyway, the user
++# can override the default with the --enable/--disable switch.
++AC_DEFUN([AM_MAINTAINER_MODE],
++[m4_case(m4_default([$1], [disable]),
++ [enable], [m4_define([am_maintainer_other], [disable])],
++ [disable], [m4_define([am_maintainer_other], [enable])],
++ [m4_define([am_maintainer_other], [enable])
++ m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
++AC_MSG_CHECKING([whether to am_maintainer_other maintainer-specific portions of Makefiles])
++ dnl maintainer-mode's default is 'disable' unless 'enable' is passed
++ AC_ARG_ENABLE([maintainer-mode],
++[ --][am_maintainer_other][-maintainer-mode am_maintainer_other make rules and dependencies not useful
++ (and sometimes confusing) to the casual installer],
++ [USE_MAINTAINER_MODE=$enableval],
++ [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
++ AC_MSG_RESULT([$USE_MAINTAINER_MODE])
++ AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
++ MAINT=$MAINTAINER_MODE_TRUE
++ AC_SUBST([MAINT])dnl
++]
++)
++
++AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
++
++# Check to see how 'make' treats includes. -*- Autoconf -*-
++
++# Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc.
++#
++# This file is free software; the Free Software Foundation
++# gives unlimited permission to copy and/or distribute it,
++# with or without modifications, as long as this notice is preserved.
++
++# serial 4
++
++# AM_MAKE_INCLUDE()
++# -----------------
++# Check to see how make treats includes.
++AC_DEFUN([AM_MAKE_INCLUDE],
++[am_make=${MAKE-make}
++cat > confinc << 'END'
++am__doit:
++ @echo this is the am__doit target
++.PHONY: am__doit
++END
++# If we don't find an include directive, just comment out the code.
++AC_MSG_CHECKING([for style of include used by $am_make])
++am__include="#"
++am__quote=
++_am_result=none
++# First try GNU make style include.
++echo "include confinc" > confmf
++# Ignore all kinds of additional output from `make'.
++case `$am_make -s -f confmf 2> /dev/null` in #(
++*the\ am__doit\ target*)
++ am__include=include
++ am__quote=
++ _am_result=GNU
++ ;;
++esac
++# Now try BSD make style include.
++if test "$am__include" = "#"; then
++ echo '.include "confinc"' > confmf
++ case `$am_make -s -f confmf 2> /dev/null` in #(
++ *the\ am__doit\ target*)
++ am__include=.include
++ am__quote="\""
++ _am_result=BSD
++ ;;
++ esac
++fi
++AC_SUBST([am__include])
++AC_SUBST([am__quote])
++AC_MSG_RESULT([$_am_result])
++rm -f confinc confmf
++])
++
++# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
++
++# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
++# Free Software Foundation, Inc.
++#
++# This file is free software; the Free Software Foundation
++# gives unlimited permission to copy and/or distribute it,
++# with or without modifications, as long as this notice is preserved.
++
++# serial 6
++
++# AM_MISSING_PROG(NAME, PROGRAM)
++# ------------------------------
++AC_DEFUN([AM_MISSING_PROG],
++[AC_REQUIRE([AM_MISSING_HAS_RUN])
++$1=${$1-"${am_missing_run}$2"}
++AC_SUBST($1)])
++
++
++# AM_MISSING_HAS_RUN
++# ------------------
++# Define MISSING if not defined so far and test if it supports --run.
++# If it does, set am_missing_run to use it, otherwise, to nothing.
++AC_DEFUN([AM_MISSING_HAS_RUN],
++[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
++AC_REQUIRE_AUX_FILE([missing])dnl
++if test x"${MISSING+set}" != xset; then
++ case $am_aux_dir in
++ *\ * | *\ *)
++ MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
++ *)
++ MISSING="\${SHELL} $am_aux_dir/missing" ;;
++ esac
++fi
++# Use eval to expand $SHELL
++if eval "$MISSING --run true"; then
++ am_missing_run="$MISSING --run "
++else
++ am_missing_run=
++ AC_MSG_WARN([`missing' script is too old or missing])
++fi
++])
++
++# Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
++#
++# This file is free software; the Free Software Foundation
++# gives unlimited permission to copy and/or distribute it,
++# with or without modifications, as long as this notice is preserved.
++
++# AM_PROG_MKDIR_P
++# ---------------
++# Check for `mkdir -p'.
++AC_DEFUN([AM_PROG_MKDIR_P],
++[AC_PREREQ([2.60])dnl
++AC_REQUIRE([AC_PROG_MKDIR_P])dnl
++dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,
++dnl while keeping a definition of mkdir_p for backward compatibility.
++dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
++dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
++dnl Makefile.ins that do not define MKDIR_P, so we do our own
++dnl adjustment using top_builddir (which is defined more often than
++dnl MKDIR_P).
++AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
++case $mkdir_p in
++ [[\\/$]]* | ?:[[\\/]]*) ;;
++ */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
++esac
++])
++
++# Helper functions for option handling. -*- Autoconf -*-
++
++# Copyright (C) 2001, 2002, 2003, 2005, 2008 Free Software Foundation, Inc.
++#
++# This file is free software; the Free Software Foundation
++# gives unlimited permission to copy and/or distribute it,
++# with or without modifications, as long as this notice is preserved.
++
++# serial 4
++
++# _AM_MANGLE_OPTION(NAME)
++# -----------------------
++AC_DEFUN([_AM_MANGLE_OPTION],
++[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
++
++# _AM_SET_OPTION(NAME)
++# ------------------------------
++# Set option NAME. Presently that only means defining a flag for this option.
++AC_DEFUN([_AM_SET_OPTION],
++[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
++
++# _AM_SET_OPTIONS(OPTIONS)
++# ----------------------------------
++# OPTIONS is a space-separated list of Automake options.
++AC_DEFUN([_AM_SET_OPTIONS],
++[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
++
++# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
++# -------------------------------------------
++# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
++AC_DEFUN([_AM_IF_OPTION],
++[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
++
++# Check to make sure that the build environment is sane. -*- Autoconf -*-
++
++# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
++# Free Software Foundation, Inc.
++#
++# This file is free software; the Free Software Foundation
++# gives unlimited permission to copy and/or distribute it,
++# with or without modifications, as long as this notice is preserved.
++
++# serial 5
++
++# AM_SANITY_CHECK
++# ---------------
++AC_DEFUN([AM_SANITY_CHECK],
++[AC_MSG_CHECKING([whether build environment is sane])
++# Just in case
++sleep 1
++echo timestamp > conftest.file
++# Reject unsafe characters in $srcdir or the absolute working directory
++# name. Accept space and tab only in the latter.
++am_lf='
++'
++case `pwd` in
++ *[[\\\"\#\$\&\'\`$am_lf]]*)
++ AC_MSG_ERROR([unsafe absolute working directory name]);;
++esac
++case $srcdir in
++ *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
++ AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
++esac
++
++# Do `set' in a subshell so we don't clobber the current shell's
++# arguments. Must try -L first in case configure is actually a
++# symlink; some systems play weird games with the mod time of symlinks
++# (eg FreeBSD returns the mod time of the symlink's containing
++# directory).
++if (
++ set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
++ if test "$[*]" = "X"; then
++ # -L didn't work.
++ set X `ls -t "$srcdir/configure" conftest.file`
++ fi
++ rm -f conftest.file
++ if test "$[*]" != "X $srcdir/configure conftest.file" \
++ && test "$[*]" != "X conftest.file $srcdir/configure"; then
++
++ # If neither matched, then we have a broken ls. This can happen
++ # if, for instance, CONFIG_SHELL is bash and it inherits a
++ # broken ls alias from the environment. This has actually
++ # happened. Such a system could not be considered "sane".
++ AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
++alias in your environment])
++ fi
++
++ test "$[2]" = conftest.file
++ )
++then
++ # Ok.
++ :
++else
++ AC_MSG_ERROR([newly created file is older than distributed files!
++Check your system clock])
++fi
++AC_MSG_RESULT(yes)])
++
++# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
++#
++# This file is free software; the Free Software Foundation
++# gives unlimited permission to copy and/or distribute it,
++# with or without modifications, as long as this notice is preserved.
++
++# AM_PROG_INSTALL_STRIP
++# ---------------------
++# One issue with vendor `install' (even GNU) is that you can't
++# specify the program used to strip binaries. This is especially
++# annoying in cross-compiling environments, where the build's strip
++# is unlikely to handle the host's binaries.
++# Fortunately install-sh will honor a STRIPPROG variable, so we
++# always use install-sh in `make install-strip', and initialize
++# STRIPPROG with the value of the STRIP variable (set by the user).
++AC_DEFUN([AM_PROG_INSTALL_STRIP],
++[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
++# Installed binaries are usually stripped using `strip' when the user
++# run `make install-strip'. However `strip' might not be the right
++# tool to use in cross-compilation environments, therefore Automake
++# will honor the `STRIP' environment variable to overrule this program.
++dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
++if test "$cross_compiling" != no; then
++ AC_CHECK_TOOL([STRIP], [strip], :)
++fi
++INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
++AC_SUBST([INSTALL_STRIP_PROGRAM])])
++
++# Copyright (C) 2006, 2008 Free Software Foundation, Inc.
++#
++# This file is free software; the Free Software Foundation
++# gives unlimited permission to copy and/or distribute it,
++# with or without modifications, as long as this notice is preserved.
++
++# serial 2
++
++# _AM_SUBST_NOTMAKE(VARIABLE)
++# ---------------------------
++# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
++# This macro is traced by Automake.
++AC_DEFUN([_AM_SUBST_NOTMAKE])
++
++# AM_SUBST_NOTMAKE(VARIABLE)
++# ---------------------------
++# Public sister of _AM_SUBST_NOTMAKE.
++AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
++
++# Check how to create a tarball. -*- Autoconf -*-
++
++# Copyright (C) 2004, 2005 Free Software Foundation, Inc.
++#
++# This file is free software; the Free Software Foundation
++# gives unlimited permission to copy and/or distribute it,
++# with or without modifications, as long as this notice is preserved.
++
++# serial 2
++
++# _AM_PROG_TAR(FORMAT)
++# --------------------
++# Check how to create a tarball in format FORMAT.
++# FORMAT should be one of `v7', `ustar', or `pax'.
++#
++# Substitute a variable $(am__tar) that is a command
++# writing to stdout a FORMAT-tarball containing the directory
++# $tardir.
++# tardir=directory && $(am__tar) > result.tar
++#
++# Substitute a variable $(am__untar) that extract such
++# a tarball read from stdin.
++# $(am__untar) < result.tar
++AC_DEFUN([_AM_PROG_TAR],
++[# Always define AMTAR for backward compatibility.
++AM_MISSING_PROG([AMTAR], [tar])
++m4_if([$1], [v7],
++ [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
++ [m4_case([$1], [ustar],, [pax],,
++ [m4_fatal([Unknown tar format])])
++AC_MSG_CHECKING([how to create a $1 tar archive])
++# Loop over all known methods to create a tar archive until one works.
++_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
++_am_tools=${am_cv_prog_tar_$1-$_am_tools}
++# Do not fold the above two line into one, because Tru64 sh and
++# Solaris sh will not grok spaces in the rhs of `-'.
++for _am_tool in $_am_tools
++do
++ case $_am_tool in
++ gnutar)
++ for _am_tar in tar gnutar gtar;
++ do
++ AM_RUN_LOG([$_am_tar --version]) && break
++ done
++ am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
++ am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
++ am__untar="$_am_tar -xf -"
++ ;;
++ plaintar)
++ # Must skip GNU tar: if it does not support --format= it doesn't create
++ # ustar tarball either.
++ (tar --version) >/dev/null 2>&1 && continue
++ am__tar='tar chf - "$$tardir"'
++ am__tar_='tar chf - "$tardir"'
++ am__untar='tar xf -'
++ ;;
++ pax)
++ am__tar='pax -L -x $1 -w "$$tardir"'
++ am__tar_='pax -L -x $1 -w "$tardir"'
++ am__untar='pax -r'
++ ;;
++ cpio)
++ am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
++ am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
++ am__untar='cpio -i -H $1 -d'
++ ;;
++ none)
++ am__tar=false
++ am__tar_=false
++ am__untar=false
++ ;;
++ esac
++
++ # If the value was cached, stop now. We just wanted to have am__tar
++ # and am__untar set.
++ test -n "${am_cv_prog_tar_$1}" && break
++
++ # tar/untar a dummy directory, and stop if the command works
++ rm -rf conftest.dir
++ mkdir conftest.dir
++ echo GrepMe > conftest.dir/file
++ AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
++ rm -rf conftest.dir
++ if test -s conftest.tar; then
++ AM_RUN_LOG([$am__untar <conftest.tar])
++ grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
++ fi
++done
++rm -rf conftest.dir
++
++AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
++AC_MSG_RESULT([$am_cv_prog_tar_$1])])
++AC_SUBST([am__tar])
++AC_SUBST([am__untar])
++]) # _AM_PROG_TAR
++
++m4_include([../../../acinclude.m4])
+diff -Naur newlib-1.20.0.orig/newlib/libc/machine/aarch64/configure newlib-1.20.0/newlib/libc/machine/aarch64/configure
+--- newlib-1.20.0.orig/newlib/libc/machine/aarch64/configure 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/newlib/libc/machine/aarch64/configure 2012-10-15 10:31:19.585620525 +0200
+@@ -0,0 +1,4745 @@
++#! /bin/sh
++# Guess values for system-dependent variables and create Makefiles.
++# Generated by GNU Autoconf 2.68 for newlib 1.20.0.
++#
++#
++# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
++# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
++# Foundation, Inc.
++#
++#
++# This configure script is free software; the Free Software Foundation
++# gives unlimited permission to copy, distribute and modify it.
++## -------------------- ##
++## M4sh Initialization. ##
++## -------------------- ##
++
++# Be more Bourne compatible
++DUALCASE=1; export DUALCASE # for MKS sh
++if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
++ emulate sh
++ NULLCMD=:
++ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
++ # is contrary to our usage. Disable this feature.
++ alias -g '${1+"$@"}'='"$@"'
++ setopt NO_GLOB_SUBST
++else
++ case `(set -o) 2>/dev/null` in #(
++ *posix*) :
++ set -o posix ;; #(
++ *) :
++ ;;
++esac
++fi
++
++
++as_nl='
++'
++export as_nl
++# Printing a long string crashes Solaris 7 /usr/bin/printf.
++as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
++as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
++as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
++# Prefer a ksh shell builtin over an external printf program on Solaris,
++# but without wasting forks for bash or zsh.
++if test -z "$BASH_VERSION$ZSH_VERSION" \
++ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
++ as_echo='print -r --'
++ as_echo_n='print -rn --'
++elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
++ as_echo='printf %s\n'
++ as_echo_n='printf %s'
++else
++ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
++ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
++ as_echo_n='/usr/ucb/echo -n'
++ else
++ as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
++ as_echo_n_body='eval
++ arg=$1;
++ case $arg in #(
++ *"$as_nl"*)
++ expr "X$arg" : "X\\(.*\\)$as_nl";
++ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
++ esac;
++ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
++ '
++ export as_echo_n_body
++ as_echo_n='sh -c $as_echo_n_body as_echo'
++ fi
++ export as_echo_body
++ as_echo='sh -c $as_echo_body as_echo'
++fi
++
++# The user is always right.
++if test "${PATH_SEPARATOR+set}" != set; then
++ PATH_SEPARATOR=:
++ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
++ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
++ PATH_SEPARATOR=';'
++ }
++fi
++
++
++# IFS
++# We need space, tab and new line, in precisely that order. Quoting is
++# there to prevent editors from complaining about space-tab.
++# (If _AS_PATH_WALK were called with IFS unset, it would disable word
++# splitting by setting IFS to empty value.)
++IFS=" "" $as_nl"
++
++# Find who we are. Look in the path if we contain no directory separator.
++as_myself=
++case $0 in #((
++ *[\\/]* ) as_myself=$0 ;;
++ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
++ done
++IFS=$as_save_IFS
++
++ ;;
++esac
++# We did not find ourselves, most probably we were run as `sh COMMAND'
++# in which case we are not to be found in the path.
++if test "x$as_myself" = x; then
++ as_myself=$0
++fi
++if test ! -f "$as_myself"; then
++ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
++ exit 1
++fi
++
++# Unset variables that we do not need and which cause bugs (e.g. in
++# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
++# suppresses any "Segmentation fault" message there. '((' could
++# trigger a bug in pdksh 5.2.14.
++for as_var in BASH_ENV ENV MAIL MAILPATH
++do eval test x\${$as_var+set} = xset \
++ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
++done
++PS1='$ '
++PS2='> '
++PS4='+ '
++
++# NLS nuisances.
++LC_ALL=C
++export LC_ALL
++LANGUAGE=C
++export LANGUAGE
++
++# CDPATH.
++(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
++
++if test "x$CONFIG_SHELL" = x; then
++ as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
++ emulate sh
++ NULLCMD=:
++ # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
++ # is contrary to our usage. Disable this feature.
++ alias -g '\${1+\"\$@\"}'='\"\$@\"'
++ setopt NO_GLOB_SUBST
++else
++ case \`(set -o) 2>/dev/null\` in #(
++ *posix*) :
++ set -o posix ;; #(
++ *) :
++ ;;
++esac
++fi
++"
++ as_required="as_fn_return () { (exit \$1); }
++as_fn_success () { as_fn_return 0; }
++as_fn_failure () { as_fn_return 1; }
++as_fn_ret_success () { return 0; }
++as_fn_ret_failure () { return 1; }
++
++exitcode=0
++as_fn_success || { exitcode=1; echo as_fn_success failed.; }
++as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
++as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
++as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
++if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
++
++else
++ exitcode=1; echo positional parameters were not saved.
++fi
++test x\$exitcode = x0 || exit 1"
++ as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
++ as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
++ eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
++ test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
++ if (eval "$as_required") 2>/dev/null; then :
++ as_have_required=yes
++else
++ as_have_required=no
++fi
++ if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
++
++else
++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++as_found=false
++for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ as_found=:
++ case $as_dir in #(
++ /*)
++ for as_base in sh bash ksh sh5; do
++ # Try only shells that exist, to save several forks.
++ as_shell=$as_dir/$as_base
++ if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
++ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
++ CONFIG_SHELL=$as_shell as_have_required=yes
++ if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
++ break 2
++fi
++fi
++ done;;
++ esac
++ as_found=false
++done
++$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
++ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
++ CONFIG_SHELL=$SHELL as_have_required=yes
++fi; }
++IFS=$as_save_IFS
++
++
++ if test "x$CONFIG_SHELL" != x; then :
++ # We cannot yet assume a decent shell, so we have to provide a
++ # neutralization value for shells without unset; and this also
++ # works around shells that cannot unset nonexistent variables.
++ # Preserve -v and -x to the replacement shell.
++ BASH_ENV=/dev/null
++ ENV=/dev/null
++ (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
++ export CONFIG_SHELL
++ case $- in # ((((
++ *v*x* | *x*v* ) as_opts=-vx ;;
++ *v* ) as_opts=-v ;;
++ *x* ) as_opts=-x ;;
++ * ) as_opts= ;;
++ esac
++ exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
++fi
++
++ if test x$as_have_required = xno; then :
++ $as_echo "$0: This script requires a shell more modern than all"
++ $as_echo "$0: the shells that I found on your system."
++ if test x${ZSH_VERSION+set} = xset ; then
++ $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
++ $as_echo "$0: be upgraded to zsh 4.3.4 or later."
++ else
++ $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
++$0: including any error possibly output before this
++$0: message. Then install a modern shell, or manually run
++$0: the script under such a shell if you do have one."
++ fi
++ exit 1
++fi
++fi
++fi
++SHELL=${CONFIG_SHELL-/bin/sh}
++export SHELL
++# Unset more variables known to interfere with behavior of common tools.
++CLICOLOR_FORCE= GREP_OPTIONS=
++unset CLICOLOR_FORCE GREP_OPTIONS
++
++## --------------------- ##
++## M4sh Shell Functions. ##
++## --------------------- ##
++# as_fn_unset VAR
++# ---------------
++# Portably unset VAR.
++as_fn_unset ()
++{
++ { eval $1=; unset $1;}
++}
++as_unset=as_fn_unset
++
++# as_fn_set_status STATUS
++# -----------------------
++# Set $? to STATUS, without forking.
++as_fn_set_status ()
++{
++ return $1
++} # as_fn_set_status
++
++# as_fn_exit STATUS
++# -----------------
++# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
++as_fn_exit ()
++{
++ set +e
++ as_fn_set_status $1
++ exit $1
++} # as_fn_exit
++
++# as_fn_mkdir_p
++# -------------
++# Create "$as_dir" as a directory, including parents if necessary.
++as_fn_mkdir_p ()
++{
++
++ case $as_dir in #(
++ -*) as_dir=./$as_dir;;
++ esac
++ test -d "$as_dir" || eval $as_mkdir_p || {
++ as_dirs=
++ while :; do
++ case $as_dir in #(
++ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
++ *) as_qdir=$as_dir;;
++ esac
++ as_dirs="'$as_qdir' $as_dirs"
++ as_dir=`$as_dirname -- "$as_dir" ||
++$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
++ X"$as_dir" : 'X\(//\)[^/]' \| \
++ X"$as_dir" : 'X\(//\)$' \| \
++ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
++$as_echo X"$as_dir" |
++ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
++ s//\1/
++ q
++ }
++ /^X\(\/\/\)[^/].*/{
++ s//\1/
++ q
++ }
++ /^X\(\/\/\)$/{
++ s//\1/
++ q
++ }
++ /^X\(\/\).*/{
++ s//\1/
++ q
++ }
++ s/.*/./; q'`
++ test -d "$as_dir" && break
++ done
++ test -z "$as_dirs" || eval "mkdir $as_dirs"
++ } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
++
++
++} # as_fn_mkdir_p
++# as_fn_append VAR VALUE
++# ----------------------
++# Append the text in VALUE to the end of the definition contained in VAR. Take
++# advantage of any shell optimizations that allow amortized linear growth over
++# repeated appends, instead of the typical quadratic growth present in naive
++# implementations.
++if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
++ eval 'as_fn_append ()
++ {
++ eval $1+=\$2
++ }'
++else
++ as_fn_append ()
++ {
++ eval $1=\$$1\$2
++ }
++fi # as_fn_append
++
++# as_fn_arith ARG...
++# ------------------
++# Perform arithmetic evaluation on the ARGs, and store the result in the
++# global $as_val. Take advantage of shells that can avoid forks. The arguments
++# must be portable across $(()) and expr.
++if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
++ eval 'as_fn_arith ()
++ {
++ as_val=$(( $* ))
++ }'
++else
++ as_fn_arith ()
++ {
++ as_val=`expr "$@" || test $? -eq 1`
++ }
++fi # as_fn_arith
++
++
++# as_fn_error STATUS ERROR [LINENO LOG_FD]
++# ----------------------------------------
++# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
++# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
++# script with STATUS, using 1 if that was 0.
++as_fn_error ()
++{
++ as_status=$1; test $as_status -eq 0 && as_status=1
++ if test "$4"; then
++ as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
++ $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
++ fi
++ $as_echo "$as_me: error: $2" >&2
++ as_fn_exit $as_status
++} # as_fn_error
++
++if expr a : '\(a\)' >/dev/null 2>&1 &&
++ test "X`expr 00001 : '.*\(...\)'`" = X001; then
++ as_expr=expr
++else
++ as_expr=false
++fi
++
++if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
++ as_basename=basename
++else
++ as_basename=false
++fi
++
++if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
++ as_dirname=dirname
++else
++ as_dirname=false
++fi
++
++as_me=`$as_basename -- "$0" ||
++$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
++ X"$0" : 'X\(//\)$' \| \
++ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
++$as_echo X/"$0" |
++ sed '/^.*\/\([^/][^/]*\)\/*$/{
++ s//\1/
++ q
++ }
++ /^X\/\(\/\/\)$/{
++ s//\1/
++ q
++ }
++ /^X\/\(\/\).*/{
++ s//\1/
++ q
++ }
++ s/.*/./; q'`
++
++# Avoid depending upon Character Ranges.
++as_cr_letters='abcdefghijklmnopqrstuvwxyz'
++as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
++as_cr_Letters=$as_cr_letters$as_cr_LETTERS
++as_cr_digits='0123456789'
++as_cr_alnum=$as_cr_Letters$as_cr_digits
++
++
++ as_lineno_1=$LINENO as_lineno_1a=$LINENO
++ as_lineno_2=$LINENO as_lineno_2a=$LINENO
++ eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
++ test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
++ # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
++ sed -n '
++ p
++ /[$]LINENO/=
++ ' <$as_myself |
++ sed '
++ s/[$]LINENO.*/&-/
++ t lineno
++ b
++ :lineno
++ N
++ :loop
++ s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
++ t loop
++ s/-\n.*//
++ ' >$as_me.lineno &&
++ chmod +x "$as_me.lineno" ||
++ { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
++
++ # Don't try to exec as it changes $[0], causing all sort of problems
++ # (the dirname of $[0] is not the place where we might find the
++ # original and so on. Autoconf is especially sensitive to this).
++ . "./$as_me.lineno"
++ # Exit status is that of the last command.
++ exit
++}
++
++ECHO_C= ECHO_N= ECHO_T=
++case `echo -n x` in #(((((
++-n*)
++ case `echo 'xy\c'` in
++ *c*) ECHO_T=' ';; # ECHO_T is single tab character.
++ xy) ECHO_C='\c';;
++ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
++ ECHO_T=' ';;
++ esac;;
++*)
++ ECHO_N='-n';;
++esac
++
++rm -f conf$$ conf$$.exe conf$$.file
++if test -d conf$$.dir; then
++ rm -f conf$$.dir/conf$$.file
++else
++ rm -f conf$$.dir
++ mkdir conf$$.dir 2>/dev/null
++fi
++if (echo >conf$$.file) 2>/dev/null; then
++ if ln -s conf$$.file conf$$ 2>/dev/null; then
++ as_ln_s='ln -s'
++ # ... but there are two gotchas:
++ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
++ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
++ # In both cases, we have to default to `cp -p'.
++ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
++ as_ln_s='cp -p'
++ elif ln conf$$.file conf$$ 2>/dev/null; then
++ as_ln_s=ln
++ else
++ as_ln_s='cp -p'
++ fi
++else
++ as_ln_s='cp -p'
++fi
++rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
++rmdir conf$$.dir 2>/dev/null
++
++if mkdir -p . 2>/dev/null; then
++ as_mkdir_p='mkdir -p "$as_dir"'
++else
++ test -d ./-p && rmdir ./-p
++ as_mkdir_p=false
++fi
++
++if test -x / >/dev/null 2>&1; then
++ as_test_x='test -x'
++else
++ if ls -dL / >/dev/null 2>&1; then
++ as_ls_L_option=L
++ else
++ as_ls_L_option=
++ fi
++ as_test_x='
++ eval sh -c '\''
++ if test -d "$1"; then
++ test -d "$1/.";
++ else
++ case $1 in #(
++ -*)set "./$1";;
++ esac;
++ case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
++ ???[sx]*):;;*)false;;esac;fi
++ '\'' sh
++ '
++fi
++as_executable_p=$as_test_x
++
++# Sed expression to map a string onto a valid CPP name.
++as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
++
++# Sed expression to map a string onto a valid variable name.
++as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
++
++
++test -n "$DJDIR" || exec 7<&0 </dev/null
++exec 6>&1
++
++# Name of the host.
++# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
++# so uname gets run too.
++ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
++
++#
++# Initializations.
++#
++ac_default_prefix=/usr/local
++ac_clean_files=
++ac_config_libobj_dir=.
++LIBOBJS=
++cross_compiling=no
++subdirs=
++MFLAGS=
++MAKEFLAGS=
++
++# Identity of this package.
++PACKAGE_NAME='newlib'
++PACKAGE_TARNAME='newlib'
++PACKAGE_VERSION='1.20.0'
++PACKAGE_STRING='newlib 1.20.0'
++PACKAGE_BUGREPORT=''
++PACKAGE_URL=''
++
++ac_unique_file="setjmp.S"
++ac_subst_vars='LTLIBOBJS
++LIBOBJS
++sys_dir
++machine_dir
++libm_machine_dir
++lpfx
++aext
++oext
++OBJEXT
++USE_LIBTOOL_FALSE
++USE_LIBTOOL_TRUE
++ELIX_LEVEL_4_FALSE
++ELIX_LEVEL_4_TRUE
++ELIX_LEVEL_3_FALSE
++ELIX_LEVEL_3_TRUE
++ELIX_LEVEL_2_FALSE
++ELIX_LEVEL_2_TRUE
++ELIX_LEVEL_1_FALSE
++ELIX_LEVEL_1_TRUE
++ELIX_LEVEL_0_FALSE
++ELIX_LEVEL_0_TRUE
++LDFLAGS
++NO_INCLUDE_LIST
++NEWLIB_CFLAGS
++CCASFLAGS
++CCAS
++MAINT
++MAINTAINER_MODE_FALSE
++MAINTAINER_MODE_TRUE
++READELF
++RANLIB
++AR
++AS
++am__fastdepCC_FALSE
++am__fastdepCC_TRUE
++CCDEPMODE
++AMDEPBACKSLASH
++AMDEP_FALSE
++AMDEP_TRUE
++am__quote
++am__include
++DEPDIR
++CC
++am__untar
++am__tar
++AMTAR
++am__leading_dot
++SET_MAKE
++AWK
++mkdir_p
++MKDIR_P
++INSTALL_STRIP_PROGRAM
++STRIP
++install_sh
++MAKEINFO
++AUTOHEADER
++AUTOMAKE
++AUTOCONF
++ACLOCAL
++VERSION
++PACKAGE
++CYGPATH_W
++am__isrc
++INSTALL_DATA
++INSTALL_SCRIPT
++INSTALL_PROGRAM
++host_os
++host_vendor
++host_cpu
++host
++build_os
++build_vendor
++build_cpu
++build
++newlib_basedir
++MAY_SUPPLY_SYSCALLS_FALSE
++MAY_SUPPLY_SYSCALLS_TRUE
++target_alias
++host_alias
++build_alias
++LIBS
++ECHO_T
++ECHO_N
++ECHO_C
++DEFS
++mandir
++localedir
++libdir
++psdir
++pdfdir
++dvidir
++htmldir
++infodir
++docdir
++oldincludedir
++includedir
++localstatedir
++sharedstatedir
++sysconfdir
++datadir
++datarootdir
++libexecdir
++sbindir
++bindir
++program_transform_name
++prefix
++exec_prefix
++PACKAGE_URL
++PACKAGE_BUGREPORT
++PACKAGE_STRING
++PACKAGE_VERSION
++PACKAGE_TARNAME
++PACKAGE_NAME
++PATH_SEPARATOR
++SHELL'
++ac_subst_files=''
++ac_user_opts='
++enable_option_checking
++enable_multilib
++enable_target_optspace
++enable_malloc_debugging
++enable_newlib_multithread
++enable_newlib_iconv
++enable_newlib_elix_level
++enable_newlib_io_float
++enable_newlib_supplied_syscalls
++enable_dependency_tracking
++enable_maintainer_mode
++'
++ ac_precious_vars='build_alias
++host_alias
++target_alias
++CCAS
++CCASFLAGS'
++
++
++# Initialize some variables set by options.
++ac_init_help=
++ac_init_version=false
++ac_unrecognized_opts=
++ac_unrecognized_sep=
++# The variables have the same names as the options, with
++# dashes changed to underlines.
++cache_file=/dev/null
++exec_prefix=NONE
++no_create=
++no_recursion=
++prefix=NONE
++program_prefix=NONE
++program_suffix=NONE
++program_transform_name=s,x,x,
++silent=
++site=
++srcdir=
++verbose=
++x_includes=NONE
++x_libraries=NONE
++
++# Installation directory options.
++# These are left unexpanded so users can "make install exec_prefix=/foo"
++# and all the variables that are supposed to be based on exec_prefix
++# by default will actually change.
++# Use braces instead of parens because sh, perl, etc. also accept them.
++# (The list follows the same order as the GNU Coding Standards.)
++bindir='${exec_prefix}/bin'
++sbindir='${exec_prefix}/sbin'
++libexecdir='${exec_prefix}/libexec'
++datarootdir='${prefix}/share'
++datadir='${datarootdir}'
++sysconfdir='${prefix}/etc'
++sharedstatedir='${prefix}/com'
++localstatedir='${prefix}/var'
++includedir='${prefix}/include'
++oldincludedir='/usr/include'
++docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
++infodir='${datarootdir}/info'
++htmldir='${docdir}'
++dvidir='${docdir}'
++pdfdir='${docdir}'
++psdir='${docdir}'
++libdir='${exec_prefix}/lib'
++localedir='${datarootdir}/locale'
++mandir='${datarootdir}/man'
++
++ac_prev=
++ac_dashdash=
++for ac_option
++do
++ # If the previous option needs an argument, assign it.
++ if test -n "$ac_prev"; then
++ eval $ac_prev=\$ac_option
++ ac_prev=
++ continue
++ fi
++
++ case $ac_option in
++ *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
++ *=) ac_optarg= ;;
++ *) ac_optarg=yes ;;
++ esac
++
++ # Accept the important Cygnus configure options, so we can diagnose typos.
++
++ case $ac_dashdash$ac_option in
++ --)
++ ac_dashdash=yes ;;
++
++ -bindir | --bindir | --bindi | --bind | --bin | --bi)
++ ac_prev=bindir ;;
++ -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
++ bindir=$ac_optarg ;;
++
++ -build | --build | --buil | --bui | --bu)
++ ac_prev=build_alias ;;
++ -build=* | --build=* | --buil=* | --bui=* | --bu=*)
++ build_alias=$ac_optarg ;;
++
++ -cache-file | --cache-file | --cache-fil | --cache-fi \
++ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
++ ac_prev=cache_file ;;
++ -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
++ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
++ cache_file=$ac_optarg ;;
++
++ --config-cache | -C)
++ cache_file=config.cache ;;
++
++ -datadir | --datadir | --datadi | --datad)
++ ac_prev=datadir ;;
++ -datadir=* | --datadir=* | --datadi=* | --datad=*)
++ datadir=$ac_optarg ;;
++
++ -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
++ | --dataroo | --dataro | --datar)
++ ac_prev=datarootdir ;;
++ -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
++ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
++ datarootdir=$ac_optarg ;;
++
++ -disable-* | --disable-*)
++ ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
++ # Reject names that are not valid shell variable names.
++ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
++ as_fn_error $? "invalid feature name: $ac_useropt"
++ ac_useropt_orig=$ac_useropt
++ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
++ case $ac_user_opts in
++ *"
++"enable_$ac_useropt"
++"*) ;;
++ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
++ ac_unrecognized_sep=', ';;
++ esac
++ eval enable_$ac_useropt=no ;;
++
++ -docdir | --docdir | --docdi | --doc | --do)
++ ac_prev=docdir ;;
++ -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
++ docdir=$ac_optarg ;;
++
++ -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
++ ac_prev=dvidir ;;
++ -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
++ dvidir=$ac_optarg ;;
++
++ -enable-* | --enable-*)
++ ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
++ # Reject names that are not valid shell variable names.
++ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
++ as_fn_error $? "invalid feature name: $ac_useropt"
++ ac_useropt_orig=$ac_useropt
++ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
++ case $ac_user_opts in
++ *"
++"enable_$ac_useropt"
++"*) ;;
++ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
++ ac_unrecognized_sep=', ';;
++ esac
++ eval enable_$ac_useropt=\$ac_optarg ;;
++
++ -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
++ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
++ | --exec | --exe | --ex)
++ ac_prev=exec_prefix ;;
++ -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
++ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
++ | --exec=* | --exe=* | --ex=*)
++ exec_prefix=$ac_optarg ;;
++
++ -gas | --gas | --ga | --g)
++ # Obsolete; use --with-gas.
++ with_gas=yes ;;
++
++ -help | --help | --hel | --he | -h)
++ ac_init_help=long ;;
++ -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
++ ac_init_help=recursive ;;
++ -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
++ ac_init_help=short ;;
++
++ -host | --host | --hos | --ho)
++ ac_prev=host_alias ;;
++ -host=* | --host=* | --hos=* | --ho=*)
++ host_alias=$ac_optarg ;;
++
++ -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
++ ac_prev=htmldir ;;
++ -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
++ | --ht=*)
++ htmldir=$ac_optarg ;;
++
++ -includedir | --includedir | --includedi | --included | --include \
++ | --includ | --inclu | --incl | --inc)
++ ac_prev=includedir ;;
++ -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
++ | --includ=* | --inclu=* | --incl=* | --inc=*)
++ includedir=$ac_optarg ;;
++
++ -infodir | --infodir | --infodi | --infod | --info | --inf)
++ ac_prev=infodir ;;
++ -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
++ infodir=$ac_optarg ;;
++
++ -libdir | --libdir | --libdi | --libd)
++ ac_prev=libdir ;;
++ -libdir=* | --libdir=* | --libdi=* | --libd=*)
++ libdir=$ac_optarg ;;
++
++ -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
++ | --libexe | --libex | --libe)
++ ac_prev=libexecdir ;;
++ -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
++ | --libexe=* | --libex=* | --libe=*)
++ libexecdir=$ac_optarg ;;
++
++ -localedir | --localedir | --localedi | --localed | --locale)
++ ac_prev=localedir ;;
++ -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
++ localedir=$ac_optarg ;;
++
++ -localstatedir | --localstatedir | --localstatedi | --localstated \
++ | --localstate | --localstat | --localsta | --localst | --locals)
++ ac_prev=localstatedir ;;
++ -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
++ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
++ localstatedir=$ac_optarg ;;
++
++ -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
++ ac_prev=mandir ;;
++ -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
++ mandir=$ac_optarg ;;
++
++ -nfp | --nfp | --nf)
++ # Obsolete; use --without-fp.
++ with_fp=no ;;
++
++ -no-create | --no-create | --no-creat | --no-crea | --no-cre \
++ | --no-cr | --no-c | -n)
++ no_create=yes ;;
++
++ -no-recursion | --no-recursion | --no-recursio | --no-recursi \
++ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
++ no_recursion=yes ;;
++
++ -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
++ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
++ | --oldin | --oldi | --old | --ol | --o)
++ ac_prev=oldincludedir ;;
++ -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
++ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
++ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
++ oldincludedir=$ac_optarg ;;
++
++ -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
++ ac_prev=prefix ;;
++ -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
++ prefix=$ac_optarg ;;
++
++ -program-prefix | --program-prefix | --program-prefi | --program-pref \
++ | --program-pre | --program-pr | --program-p)
++ ac_prev=program_prefix ;;
++ -program-prefix=* | --program-prefix=* | --program-prefi=* \
++ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
++ program_prefix=$ac_optarg ;;
++
++ -program-suffix | --program-suffix | --program-suffi | --program-suff \
++ | --program-suf | --program-su | --program-s)
++ ac_prev=program_suffix ;;
++ -program-suffix=* | --program-suffix=* | --program-suffi=* \
++ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
++ program_suffix=$ac_optarg ;;
++
++ -program-transform-name | --program-transform-name \
++ | --program-transform-nam | --program-transform-na \
++ | --program-transform-n | --program-transform- \
++ | --program-transform | --program-transfor \
++ | --program-transfo | --program-transf \
++ | --program-trans | --program-tran \
++ | --progr-tra | --program-tr | --program-t)
++ ac_prev=program_transform_name ;;
++ -program-transform-name=* | --program-transform-name=* \
++ | --program-transform-nam=* | --program-transform-na=* \
++ | --program-transform-n=* | --program-transform-=* \
++ | --program-transform=* | --program-transfor=* \
++ | --program-transfo=* | --program-transf=* \
++ | --program-trans=* | --program-tran=* \
++ | --progr-tra=* | --program-tr=* | --program-t=*)
++ program_transform_name=$ac_optarg ;;
++
++ -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
++ ac_prev=pdfdir ;;
++ -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
++ pdfdir=$ac_optarg ;;
++
++ -psdir | --psdir | --psdi | --psd | --ps)
++ ac_prev=psdir ;;
++ -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
++ psdir=$ac_optarg ;;
++
++ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
++ | -silent | --silent | --silen | --sile | --sil)
++ silent=yes ;;
++
++ -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
++ ac_prev=sbindir ;;
++ -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
++ | --sbi=* | --sb=*)
++ sbindir=$ac_optarg ;;
++
++ -sharedstatedir | --sharedstatedir | --sharedstatedi \
++ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
++ | --sharedst | --shareds | --shared | --share | --shar \
++ | --sha | --sh)
++ ac_prev=sharedstatedir ;;
++ -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
++ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
++ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
++ | --sha=* | --sh=*)
++ sharedstatedir=$ac_optarg ;;
++
++ -site | --site | --sit)
++ ac_prev=site ;;
++ -site=* | --site=* | --sit=*)
++ site=$ac_optarg ;;
++
++ -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
++ ac_prev=srcdir ;;
++ -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
++ srcdir=$ac_optarg ;;
++
++ -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
++ | --syscon | --sysco | --sysc | --sys | --sy)
++ ac_prev=sysconfdir ;;
++ -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
++ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
++ sysconfdir=$ac_optarg ;;
++
++ -target | --target | --targe | --targ | --tar | --ta | --t)
++ ac_prev=target_alias ;;
++ -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
++ target_alias=$ac_optarg ;;
++
++ -v | -verbose | --verbose | --verbos | --verbo | --verb)
++ verbose=yes ;;
++
++ -version | --version | --versio | --versi | --vers | -V)
++ ac_init_version=: ;;
++
++ -with-* | --with-*)
++ ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
++ # Reject names that are not valid shell variable names.
++ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
++ as_fn_error $? "invalid package name: $ac_useropt"
++ ac_useropt_orig=$ac_useropt
++ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
++ case $ac_user_opts in
++ *"
++"with_$ac_useropt"
++"*) ;;
++ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
++ ac_unrecognized_sep=', ';;
++ esac
++ eval with_$ac_useropt=\$ac_optarg ;;
++
++ -without-* | --without-*)
++ ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
++ # Reject names that are not valid shell variable names.
++ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
++ as_fn_error $? "invalid package name: $ac_useropt"
++ ac_useropt_orig=$ac_useropt
++ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
++ case $ac_user_opts in
++ *"
++"with_$ac_useropt"
++"*) ;;
++ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
++ ac_unrecognized_sep=', ';;
++ esac
++ eval with_$ac_useropt=no ;;
++
++ --x)
++ # Obsolete; use --with-x.
++ with_x=yes ;;
++
++ -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
++ | --x-incl | --x-inc | --x-in | --x-i)
++ ac_prev=x_includes ;;
++ -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
++ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
++ x_includes=$ac_optarg ;;
++
++ -x-libraries | --x-libraries | --x-librarie | --x-librari \
++ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
++ ac_prev=x_libraries ;;
++ -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
++ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
++ x_libraries=$ac_optarg ;;
++
++ -*) as_fn_error $? "unrecognized option: \`$ac_option'
++Try \`$0 --help' for more information"
++ ;;
++
++ *=*)
++ ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
++ # Reject names that are not valid shell variable names.
++ case $ac_envvar in #(
++ '' | [0-9]* | *[!_$as_cr_alnum]* )
++ as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
++ esac
++ eval $ac_envvar=\$ac_optarg
++ export $ac_envvar ;;
++
++ *)
++ # FIXME: should be removed in autoconf 3.0.
++ $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
++ expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
++ $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
++ : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
++ ;;
++
++ esac
++done
++
++if test -n "$ac_prev"; then
++ ac_option=--`echo $ac_prev | sed 's/_/-/g'`
++ as_fn_error $? "missing argument to $ac_option"
++fi
++
++if test -n "$ac_unrecognized_opts"; then
++ case $enable_option_checking in
++ no) ;;
++ fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
++ *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
++ esac
++fi
++
++# Check all directory arguments for consistency.
++for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
++ datadir sysconfdir sharedstatedir localstatedir includedir \
++ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
++ libdir localedir mandir
++do
++ eval ac_val=\$$ac_var
++ # Remove trailing slashes.
++ case $ac_val in
++ */ )
++ ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
++ eval $ac_var=\$ac_val;;
++ esac
++ # Be sure to have absolute directory names.
++ case $ac_val in
++ [\\/$]* | ?:[\\/]* ) continue;;
++ NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
++ esac
++ as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
++done
++
++# There might be people who depend on the old broken behavior: `$host'
++# used to hold the argument of --host etc.
++# FIXME: To remove some day.
++build=$build_alias
++host=$host_alias
++target=$target_alias
++
++# FIXME: To remove some day.
++if test "x$host_alias" != x; then
++ if test "x$build_alias" = x; then
++ cross_compiling=maybe
++ $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
++ If a cross compiler is detected then cross compile mode will be used" >&2
++ elif test "x$build_alias" != "x$host_alias"; then
++ cross_compiling=yes
++ fi
++fi
++
++ac_tool_prefix=
++test -n "$host_alias" && ac_tool_prefix=$host_alias-
++
++test "$silent" = yes && exec 6>/dev/null
++
++
++ac_pwd=`pwd` && test -n "$ac_pwd" &&
++ac_ls_di=`ls -di .` &&
++ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
++ as_fn_error $? "working directory cannot be determined"
++test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
++ as_fn_error $? "pwd does not report name of working directory"
++
++
++# Find the source files, if location was not specified.
++if test -z "$srcdir"; then
++ ac_srcdir_defaulted=yes
++ # Try the directory containing this script, then the parent directory.
++ ac_confdir=`$as_dirname -- "$as_myself" ||
++$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
++ X"$as_myself" : 'X\(//\)[^/]' \| \
++ X"$as_myself" : 'X\(//\)$' \| \
++ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
++$as_echo X"$as_myself" |
++ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
++ s//\1/
++ q
++ }
++ /^X\(\/\/\)[^/].*/{
++ s//\1/
++ q
++ }
++ /^X\(\/\/\)$/{
++ s//\1/
++ q
++ }
++ /^X\(\/\).*/{
++ s//\1/
++ q
++ }
++ s/.*/./; q'`
++ srcdir=$ac_confdir
++ if test ! -r "$srcdir/$ac_unique_file"; then
++ srcdir=..
++ fi
++else
++ ac_srcdir_defaulted=no
++fi
++if test ! -r "$srcdir/$ac_unique_file"; then
++ test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
++ as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
++fi
++ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
++ac_abs_confdir=`(
++ cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
++ pwd)`
++# When building in place, set srcdir=.
++if test "$ac_abs_confdir" = "$ac_pwd"; then
++ srcdir=.
++fi
++# Remove unnecessary trailing slashes from srcdir.
++# Double slashes in file names in object file debugging info
++# mess up M-x gdb in Emacs.
++case $srcdir in
++*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
++esac
++for ac_var in $ac_precious_vars; do
++ eval ac_env_${ac_var}_set=\${${ac_var}+set}
++ eval ac_env_${ac_var}_value=\$${ac_var}
++ eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
++ eval ac_cv_env_${ac_var}_value=\$${ac_var}
++done
++
++#
++# Report the --help message.
++#
++if test "$ac_init_help" = "long"; then
++ # Omit some internal or obsolete options to make the list less imposing.
++ # This message is too long to be a string in the A/UX 3.1 sh.
++ cat <<_ACEOF
++\`configure' configures newlib 1.20.0 to adapt to many kinds of systems.
++
++Usage: $0 [OPTION]... [VAR=VALUE]...
++
++To assign environment variables (e.g., CC, CFLAGS...), specify them as
++VAR=VALUE. See below for descriptions of some of the useful variables.
++
++Defaults for the options are specified in brackets.
++
++Configuration:
++ -h, --help display this help and exit
++ --help=short display options specific to this package
++ --help=recursive display the short help of all the included packages
++ -V, --version display version information and exit
++ -q, --quiet, --silent do not print \`checking ...' messages
++ --cache-file=FILE cache test results in FILE [disabled]
++ -C, --config-cache alias for \`--cache-file=config.cache'
++ -n, --no-create do not create output files
++ --srcdir=DIR find the sources in DIR [configure dir or \`..']
++
++Installation directories:
++ --prefix=PREFIX install architecture-independent files in PREFIX
++ [$ac_default_prefix]
++ --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
++ [PREFIX]
++
++By default, \`make install' will install all the files in
++\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
++an installation prefix other than \`$ac_default_prefix' using \`--prefix',
++for instance \`--prefix=\$HOME'.
++
++For better control, use the options below.
++
++Fine tuning of the installation directories:
++ --bindir=DIR user executables [EPREFIX/bin]
++ --sbindir=DIR system admin executables [EPREFIX/sbin]
++ --libexecdir=DIR program executables [EPREFIX/libexec]
++ --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
++ --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
++ --localstatedir=DIR modifiable single-machine data [PREFIX/var]
++ --libdir=DIR object code libraries [EPREFIX/lib]
++ --includedir=DIR C header files [PREFIX/include]
++ --oldincludedir=DIR C header files for non-gcc [/usr/include]
++ --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
++ --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
++ --infodir=DIR info documentation [DATAROOTDIR/info]
++ --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
++ --mandir=DIR man documentation [DATAROOTDIR/man]
++ --docdir=DIR documentation root [DATAROOTDIR/doc/newlib]
++ --htmldir=DIR html documentation [DOCDIR]
++ --dvidir=DIR dvi documentation [DOCDIR]
++ --pdfdir=DIR pdf documentation [DOCDIR]
++ --psdir=DIR ps documentation [DOCDIR]
++_ACEOF
++
++ cat <<\_ACEOF
++
++Program names:
++ --program-prefix=PREFIX prepend PREFIX to installed program names
++ --program-suffix=SUFFIX append SUFFIX to installed program names
++ --program-transform-name=PROGRAM run sed PROGRAM on installed program names
++
++System types:
++ --build=BUILD configure for building on BUILD [guessed]
++ --host=HOST cross-compile to build programs to run on HOST [BUILD]
++_ACEOF
++fi
++
++if test -n "$ac_init_help"; then
++ case $ac_init_help in
++ short | recursive ) echo "Configuration of newlib 1.20.0:";;
++ esac
++ cat <<\_ACEOF
++
++Optional Features:
++ --disable-option-checking ignore unrecognized --enable/--with options
++ --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
++ --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
++ --enable-multilib build many library versions (default)
++ --enable-target-optspace optimize for space
++ --enable-malloc-debugging indicate malloc debugging requested
++ --enable-newlib-multithread enable support for multiple threads
++ --enable-newlib-iconv enable iconv library support
++ --enable-newlib-elix-level supply desired elix library level (1-4)
++ --disable-newlib-io-float disable printf/scanf family float support
++ --disable-newlib-supplied-syscalls disable newlib from supplying syscalls
++ --disable-dependency-tracking speeds up one-time build
++ --enable-dependency-tracking do not reject slow dependency extractors
++ --enable-maintainer-mode enable make rules and dependencies not useful
++ (and sometimes confusing) to the casual installer
++
++Some influential environment variables:
++ CCAS assembler compiler command (defaults to CC)
++ CCASFLAGS assembler compiler flags (defaults to CFLAGS)
++
++Use these variables to override the choices made by `configure' or to help
++it to find libraries and programs with nonstandard names/locations.
++
++Report bugs to the package provider.
++_ACEOF
++ac_status=$?
++fi
++
++if test "$ac_init_help" = "recursive"; then
++ # If there are subdirs, report their specific --help.
++ for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
++ test -d "$ac_dir" ||
++ { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
++ continue
++ ac_builddir=.
++
++case "$ac_dir" in
++.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
++*)
++ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
++ # A ".." for each directory in $ac_dir_suffix.
++ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
++ case $ac_top_builddir_sub in
++ "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
++ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
++ esac ;;
++esac
++ac_abs_top_builddir=$ac_pwd
++ac_abs_builddir=$ac_pwd$ac_dir_suffix
++# for backward compatibility:
++ac_top_builddir=$ac_top_build_prefix
++
++case $srcdir in
++ .) # We are building in place.
++ ac_srcdir=.
++ ac_top_srcdir=$ac_top_builddir_sub
++ ac_abs_top_srcdir=$ac_pwd ;;
++ [\\/]* | ?:[\\/]* ) # Absolute name.
++ ac_srcdir=$srcdir$ac_dir_suffix;
++ ac_top_srcdir=$srcdir
++ ac_abs_top_srcdir=$srcdir ;;
++ *) # Relative name.
++ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
++ ac_top_srcdir=$ac_top_build_prefix$srcdir
++ ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
++esac
++ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
++
++ cd "$ac_dir" || { ac_status=$?; continue; }
++ # Check for guested configure.
++ if test -f "$ac_srcdir/configure.gnu"; then
++ echo &&
++ $SHELL "$ac_srcdir/configure.gnu" --help=recursive
++ elif test -f "$ac_srcdir/configure"; then
++ echo &&
++ $SHELL "$ac_srcdir/configure" --help=recursive
++ else
++ $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
++ fi || ac_status=$?
++ cd "$ac_pwd" || { ac_status=$?; break; }
++ done
++fi
++
++test -n "$ac_init_help" && exit $ac_status
++if $ac_init_version; then
++ cat <<\_ACEOF
++newlib configure 1.20.0
++generated by GNU Autoconf 2.68
++
++Copyright (C) 2010 Free Software Foundation, Inc.
++This configure script is free software; the Free Software Foundation
++gives unlimited permission to copy, distribute and modify it.
++_ACEOF
++ exit
++fi
++
++## ------------------------ ##
++## Autoconf initialization. ##
++## ------------------------ ##
++
++# ac_fn_c_try_compile LINENO
++# --------------------------
++# Try to compile conftest.$ac_ext, and return whether this succeeded.
++ac_fn_c_try_compile ()
++{
++ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
++ rm -f conftest.$ac_objext
++ if { { ac_try="$ac_compile"
++case "(($ac_try" in
++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
++ *) ac_try_echo=$ac_try;;
++esac
++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
++$as_echo "$ac_try_echo"; } >&5
++ (eval "$ac_compile") 2>conftest.err
++ ac_status=$?
++ if test -s conftest.err; then
++ grep -v '^ *+' conftest.err >conftest.er1
++ cat conftest.er1 >&5
++ mv -f conftest.er1 conftest.err
++ fi
++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
++ test $ac_status = 0; } && {
++ test -z "$ac_c_werror_flag" ||
++ test ! -s conftest.err
++ } && test -s conftest.$ac_objext; then :
++ ac_retval=0
++else
++ $as_echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ ac_retval=1
++fi
++ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
++ as_fn_set_status $ac_retval
++
++} # ac_fn_c_try_compile
++cat >config.log <<_ACEOF
++This file contains any messages produced by compilers while
++running configure, to aid debugging if configure makes a mistake.
++
++It was created by newlib $as_me 1.20.0, which was
++generated by GNU Autoconf 2.68. Invocation command line was
++
++ $ $0 $@
++
++_ACEOF
++exec 5>>config.log
++{
++cat <<_ASUNAME
++## --------- ##
++## Platform. ##
++## --------- ##
++
++hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
++uname -m = `(uname -m) 2>/dev/null || echo unknown`
++uname -r = `(uname -r) 2>/dev/null || echo unknown`
++uname -s = `(uname -s) 2>/dev/null || echo unknown`
++uname -v = `(uname -v) 2>/dev/null || echo unknown`
++
++/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
++/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
++
++/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
++/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
++/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
++/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
++/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
++/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
++/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
++
++_ASUNAME
++
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ $as_echo "PATH: $as_dir"
++ done
++IFS=$as_save_IFS
++
++} >&5
++
++cat >&5 <<_ACEOF
++
++
++## ----------- ##
++## Core tests. ##
++## ----------- ##
++
++_ACEOF
++
++
++# Keep a trace of the command line.
++# Strip out --no-create and --no-recursion so they do not pile up.
++# Strip out --silent because we don't want to record it for future runs.
++# Also quote any args containing shell meta-characters.
++# Make two passes to allow for proper duplicate-argument suppression.
++ac_configure_args=
++ac_configure_args0=
++ac_configure_args1=
++ac_must_keep_next=false
++for ac_pass in 1 2
++do
++ for ac_arg
++ do
++ case $ac_arg in
++ -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
++ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
++ | -silent | --silent | --silen | --sile | --sil)
++ continue ;;
++ *\'*)
++ ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
++ esac
++ case $ac_pass in
++ 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
++ 2)
++ as_fn_append ac_configure_args1 " '$ac_arg'"
++ if test $ac_must_keep_next = true; then
++ ac_must_keep_next=false # Got value, back to normal.
++ else
++ case $ac_arg in
++ *=* | --config-cache | -C | -disable-* | --disable-* \
++ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
++ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
++ | -with-* | --with-* | -without-* | --without-* | --x)
++ case "$ac_configure_args0 " in
++ "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
++ esac
++ ;;
++ -* ) ac_must_keep_next=true ;;
++ esac
++ fi
++ as_fn_append ac_configure_args " '$ac_arg'"
++ ;;
++ esac
++ done
++done
++{ ac_configure_args0=; unset ac_configure_args0;}
++{ ac_configure_args1=; unset ac_configure_args1;}
++
++# When interrupted or exit'd, cleanup temporary files, and complete
++# config.log. We remove comments because anyway the quotes in there
++# would cause problems or look ugly.
++# WARNING: Use '\'' to represent an apostrophe within the trap.
++# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
++trap 'exit_status=$?
++ # Save into config.log some information that might help in debugging.
++ {
++ echo
++
++ $as_echo "## ---------------- ##
++## Cache variables. ##
++## ---------------- ##"
++ echo
++ # The following way of writing the cache mishandles newlines in values,
++(
++ for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
++ eval ac_val=\$$ac_var
++ case $ac_val in #(
++ *${as_nl}*)
++ case $ac_var in #(
++ *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
++$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
++ esac
++ case $ac_var in #(
++ _ | IFS | as_nl) ;; #(
++ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
++ *) { eval $ac_var=; unset $ac_var;} ;;
++ esac ;;
++ esac
++ done
++ (set) 2>&1 |
++ case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
++ *${as_nl}ac_space=\ *)
++ sed -n \
++ "s/'\''/'\''\\\\'\'''\''/g;
++ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
++ ;; #(
++ *)
++ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
++ ;;
++ esac |
++ sort
++)
++ echo
++
++ $as_echo "## ----------------- ##
++## Output variables. ##
++## ----------------- ##"
++ echo
++ for ac_var in $ac_subst_vars
++ do
++ eval ac_val=\$$ac_var
++ case $ac_val in
++ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
++ esac
++ $as_echo "$ac_var='\''$ac_val'\''"
++ done | sort
++ echo
++
++ if test -n "$ac_subst_files"; then
++ $as_echo "## ------------------- ##
++## File substitutions. ##
++## ------------------- ##"
++ echo
++ for ac_var in $ac_subst_files
++ do
++ eval ac_val=\$$ac_var
++ case $ac_val in
++ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
++ esac
++ $as_echo "$ac_var='\''$ac_val'\''"
++ done | sort
++ echo
++ fi
++
++ if test -s confdefs.h; then
++ $as_echo "## ----------- ##
++## confdefs.h. ##
++## ----------- ##"
++ echo
++ cat confdefs.h
++ echo
++ fi
++ test "$ac_signal" != 0 &&
++ $as_echo "$as_me: caught signal $ac_signal"
++ $as_echo "$as_me: exit $exit_status"
++ } >&5
++ rm -f core *.core core.conftest.* &&
++ rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
++ exit $exit_status
++' 0
++for ac_signal in 1 2 13 15; do
++ trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
++done
++ac_signal=0
++
++# confdefs.h avoids OS command line length limits that DEFS can exceed.
++rm -f -r conftest* confdefs.h
++
++$as_echo "/* confdefs.h */" > confdefs.h
++
++# Predefined preprocessor variables.
++
++cat >>confdefs.h <<_ACEOF
++#define PACKAGE_NAME "$PACKAGE_NAME"
++_ACEOF
++
++cat >>confdefs.h <<_ACEOF
++#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
++_ACEOF
++
++cat >>confdefs.h <<_ACEOF
++#define PACKAGE_VERSION "$PACKAGE_VERSION"
++_ACEOF
++
++cat >>confdefs.h <<_ACEOF
++#define PACKAGE_STRING "$PACKAGE_STRING"
++_ACEOF
++
++cat >>confdefs.h <<_ACEOF
++#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
++_ACEOF
++
++cat >>confdefs.h <<_ACEOF
++#define PACKAGE_URL "$PACKAGE_URL"
++_ACEOF
++
++
++# Let the site file select an alternate cache file if it wants to.
++# Prefer an explicitly selected file to automatically selected ones.
++ac_site_file1=NONE
++ac_site_file2=NONE
++if test -n "$CONFIG_SITE"; then
++ # We do not want a PATH search for config.site.
++ case $CONFIG_SITE in #((
++ -*) ac_site_file1=./$CONFIG_SITE;;
++ */*) ac_site_file1=$CONFIG_SITE;;
++ *) ac_site_file1=./$CONFIG_SITE;;
++ esac
++elif test "x$prefix" != xNONE; then
++ ac_site_file1=$prefix/share/config.site
++ ac_site_file2=$prefix/etc/config.site
++else
++ ac_site_file1=$ac_default_prefix/share/config.site
++ ac_site_file2=$ac_default_prefix/etc/config.site
++fi
++for ac_site_file in "$ac_site_file1" "$ac_site_file2"
++do
++ test "x$ac_site_file" = xNONE && continue
++ if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
++$as_echo "$as_me: loading site script $ac_site_file" >&6;}
++ sed 's/^/| /' "$ac_site_file" >&5
++ . "$ac_site_file" \
++ || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
++$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
++as_fn_error $? "failed to load site script $ac_site_file
++See \`config.log' for more details" "$LINENO" 5; }
++ fi
++done
++
++if test -r "$cache_file"; then
++ # Some versions of bash will fail to source /dev/null (special files
++ # actually), so we avoid doing that. DJGPP emulates it as a regular file.
++ if test /dev/null != "$cache_file" && test -f "$cache_file"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
++$as_echo "$as_me: loading cache $cache_file" >&6;}
++ case $cache_file in
++ [\\/]* | ?:[\\/]* ) . "$cache_file";;
++ *) . "./$cache_file";;
++ esac
++ fi
++else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
++$as_echo "$as_me: creating cache $cache_file" >&6;}
++ >$cache_file
++fi
++
++# Check that the precious variables saved in the cache have kept the same
++# value.
++ac_cache_corrupted=false
++for ac_var in $ac_precious_vars; do
++ eval ac_old_set=\$ac_cv_env_${ac_var}_set
++ eval ac_new_set=\$ac_env_${ac_var}_set
++ eval ac_old_val=\$ac_cv_env_${ac_var}_value
++ eval ac_new_val=\$ac_env_${ac_var}_value
++ case $ac_old_set,$ac_new_set in
++ set,)
++ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
++$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
++ ac_cache_corrupted=: ;;
++ ,set)
++ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
++$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
++ ac_cache_corrupted=: ;;
++ ,);;
++ *)
++ if test "x$ac_old_val" != "x$ac_new_val"; then
++ # differences in whitespace do not lead to failure.
++ ac_old_val_w=`echo x $ac_old_val`
++ ac_new_val_w=`echo x $ac_new_val`
++ if test "$ac_old_val_w" != "$ac_new_val_w"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
++$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
++ ac_cache_corrupted=:
++ else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
++$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
++ eval $ac_var=\$ac_old_val
++ fi
++ { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
++$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
++ { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
++$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
++ fi;;
++ esac
++ # Pass precious variables to config.status.
++ if test "$ac_new_set" = set; then
++ case $ac_new_val in
++ *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
++ *) ac_arg=$ac_var=$ac_new_val ;;
++ esac
++ case " $ac_configure_args " in
++ *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
++ *) as_fn_append ac_configure_args " '$ac_arg'" ;;
++ esac
++ fi
++done
++if $ac_cache_corrupted; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
++$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
++ { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
++$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
++ as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
++fi
++## -------------------- ##
++## Main body of script. ##
++## -------------------- ##
++
++ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++
++
++
++
++ac_aux_dir=
++for ac_dir in ../../../.. "$srcdir"/../../../..; do
++ if test -f "$ac_dir/install-sh"; then
++ ac_aux_dir=$ac_dir
++ ac_install_sh="$ac_aux_dir/install-sh -c"
++ break
++ elif test -f "$ac_dir/install.sh"; then
++ ac_aux_dir=$ac_dir
++ ac_install_sh="$ac_aux_dir/install.sh -c"
++ break
++ elif test -f "$ac_dir/shtool"; then
++ ac_aux_dir=$ac_dir
++ ac_install_sh="$ac_aux_dir/shtool install -c"
++ break
++ fi
++done
++if test -z "$ac_aux_dir"; then
++ as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../../../.. \"$srcdir\"/../../../.." "$LINENO" 5
++fi
++
++# These three variables are undocumented and unsupported,
++# and are intended to be withdrawn in a future Autoconf release.
++# They can cause serious problems if a builder's source tree is in a directory
++# whose full name contains unusual characters.
++ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
++ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
++ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
++
++
++
++
++# Make sure we can run config.sub.
++$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
++ as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
++
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
++$as_echo_n "checking build system type... " >&6; }
++if ${ac_cv_build+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ ac_build_alias=$build_alias
++test "x$ac_build_alias" = x &&
++ ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
++test "x$ac_build_alias" = x &&
++ as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
++ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
++ as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
++
++fi
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
++$as_echo "$ac_cv_build" >&6; }
++case $ac_cv_build in
++*-*-*) ;;
++*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
++esac
++build=$ac_cv_build
++ac_save_IFS=$IFS; IFS='-'
++set x $ac_cv_build
++shift
++build_cpu=$1
++build_vendor=$2
++shift; shift
++# Remember, the first character of IFS is used to create $*,
++# except with old shells:
++build_os=$*
++IFS=$ac_save_IFS
++case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
++
++
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
++$as_echo_n "checking host system type... " >&6; }
++if ${ac_cv_host+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ if test "x$host_alias" = x; then
++ ac_cv_host=$ac_cv_build
++else
++ ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
++ as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
++fi
++
++fi
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
++$as_echo "$ac_cv_host" >&6; }
++case $ac_cv_host in
++*-*-*) ;;
++*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
++esac
++host=$ac_cv_host
++ac_save_IFS=$IFS; IFS='-'
++set x $ac_cv_host
++shift
++host_cpu=$1
++host_vendor=$2
++shift; shift
++# Remember, the first character of IFS is used to create $*,
++# except with old shells:
++host_os=$*
++IFS=$ac_save_IFS
++case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
++
++
++am__api_version='1.11'
++
++# Find a good install program. We prefer a C program (faster),
++# so one script is as good as another. But avoid the broken or
++# incompatible versions:
++# SysV /etc/install, /usr/sbin/install
++# SunOS /usr/etc/install
++# IRIX /sbin/install
++# AIX /bin/install
++# AmigaOS /C/install, which installs bootblocks on floppy discs
++# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
++# AFS /usr/afsws/bin/install, which mishandles nonexistent args
++# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
++# OS/2's system install, which has a completely different semantic
++# ./install, which can be erroneously created by make from ./install.sh.
++# Reject install programs that cannot install multiple files.
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
++$as_echo_n "checking for a BSD-compatible install... " >&6; }
++if test -z "$INSTALL"; then
++if ${ac_cv_path_install+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ # Account for people who put trailing slashes in PATH elements.
++case $as_dir/ in #((
++ ./ | .// | /[cC]/* | \
++ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
++ ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
++ /usr/ucb/* ) ;;
++ *)
++ # OSF1 and SCO ODT 3.0 have their own names for install.
++ # Don't use installbsd from OSF since it installs stuff as root
++ # by default.
++ for ac_prog in ginstall scoinst install; do
++ for ac_exec_ext in '' $ac_executable_extensions; do
++ if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
++ if test $ac_prog = install &&
++ grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
++ # AIX install. It has an incompatible calling convention.
++ :
++ elif test $ac_prog = install &&
++ grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
++ # program-specific install script used by HP pwplus--don't use.
++ :
++ else
++ rm -rf conftest.one conftest.two conftest.dir
++ echo one > conftest.one
++ echo two > conftest.two
++ mkdir conftest.dir
++ if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
++ test -s conftest.one && test -s conftest.two &&
++ test -s conftest.dir/conftest.one &&
++ test -s conftest.dir/conftest.two
++ then
++ ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
++ break 3
++ fi
++ fi
++ fi
++ done
++ done
++ ;;
++esac
++
++ done
++IFS=$as_save_IFS
++
++rm -rf conftest.one conftest.two conftest.dir
++
++fi
++ if test "${ac_cv_path_install+set}" = set; then
++ INSTALL=$ac_cv_path_install
++ else
++ # As a last resort, use the slow shell script. Don't cache a
++ # value for INSTALL within a source directory, because that will
++ # break other packages using the cache if that directory is
++ # removed, or if the value is a relative name.
++ INSTALL=$ac_install_sh
++ fi
++fi
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
++$as_echo "$INSTALL" >&6; }
++
++# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
++# It thinks the first close brace ends the variable substitution.
++test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
++
++test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
++
++test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
++
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
++$as_echo_n "checking whether build environment is sane... " >&6; }
++# Just in case
++sleep 1
++echo timestamp > conftest.file
++# Reject unsafe characters in $srcdir or the absolute working directory
++# name. Accept space and tab only in the latter.
++am_lf='
++'
++case `pwd` in
++ *[\\\"\#\$\&\'\`$am_lf]*)
++ as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
++esac
++case $srcdir in
++ *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
++ as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
++esac
++
++# Do `set' in a subshell so we don't clobber the current shell's
++# arguments. Must try -L first in case configure is actually a
++# symlink; some systems play weird games with the mod time of symlinks
++# (eg FreeBSD returns the mod time of the symlink's containing
++# directory).
++if (
++ set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
++ if test "$*" = "X"; then
++ # -L didn't work.
++ set X `ls -t "$srcdir/configure" conftest.file`
++ fi
++ rm -f conftest.file
++ if test "$*" != "X $srcdir/configure conftest.file" \
++ && test "$*" != "X conftest.file $srcdir/configure"; then
++
++ # If neither matched, then we have a broken ls. This can happen
++ # if, for instance, CONFIG_SHELL is bash and it inherits a
++ # broken ls alias from the environment. This has actually
++ # happened. Such a system could not be considered "sane".
++ as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
++alias in your environment" "$LINENO" 5
++ fi
++
++ test "$2" = conftest.file
++ )
++then
++ # Ok.
++ :
++else
++ as_fn_error $? "newly created file is older than distributed files!
++Check your system clock" "$LINENO" 5
++fi
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
++$as_echo "yes" >&6; }
++test "$program_prefix" != NONE &&
++ program_transform_name="s&^&$program_prefix&;$program_transform_name"
++# Use a double $ so make ignores it.
++test "$program_suffix" != NONE &&
++ program_transform_name="s&\$&$program_suffix&;$program_transform_name"
++# Double any \ or $.
++# By default was `s,x,x', remove it if useless.
++ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
++program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
++
++# expand $ac_aux_dir to an absolute path
++am_aux_dir=`cd $ac_aux_dir && pwd`
++
++if test x"${MISSING+set}" != xset; then
++ case $am_aux_dir in
++ *\ * | *\ *)
++ MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
++ *)
++ MISSING="\${SHELL} $am_aux_dir/missing" ;;
++ esac
++fi
++# Use eval to expand $SHELL
++if eval "$MISSING --run true"; then
++ am_missing_run="$MISSING --run "
++else
++ am_missing_run=
++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
++$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
++fi
++
++if test x"${install_sh}" != xset; then
++ case $am_aux_dir in
++ *\ * | *\ *)
++ install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
++ *)
++ install_sh="\${SHELL} $am_aux_dir/install-sh"
++ esac
++fi
++
++# Installed binaries are usually stripped using `strip' when the user
++# run `make install-strip'. However `strip' might not be the right
++# tool to use in cross-compilation environments, therefore Automake
++# will honor the `STRIP' environment variable to overrule this program.
++if test "$cross_compiling" != no; then
++ if test -n "$ac_tool_prefix"; then
++ # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
++set dummy ${ac_tool_prefix}strip; ac_word=$2
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
++$as_echo_n "checking for $ac_word... " >&6; }
++if ${ac_cv_prog_STRIP+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ if test -n "$STRIP"; then
++ ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ for ac_exec_ext in '' $ac_executable_extensions; do
++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
++ ac_cv_prog_STRIP="${ac_tool_prefix}strip"
++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
++ break 2
++ fi
++done
++ done
++IFS=$as_save_IFS
++
++fi
++fi
++STRIP=$ac_cv_prog_STRIP
++if test -n "$STRIP"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
++$as_echo "$STRIP" >&6; }
++else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
++$as_echo "no" >&6; }
++fi
++
++
++fi
++if test -z "$ac_cv_prog_STRIP"; then
++ ac_ct_STRIP=$STRIP
++ # Extract the first word of "strip", so it can be a program name with args.
++set dummy strip; ac_word=$2
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
++$as_echo_n "checking for $ac_word... " >&6; }
++if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ if test -n "$ac_ct_STRIP"; then
++ ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ for ac_exec_ext in '' $ac_executable_extensions; do
++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
++ ac_cv_prog_ac_ct_STRIP="strip"
++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
++ break 2
++ fi
++done
++ done
++IFS=$as_save_IFS
++
++fi
++fi
++ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
++if test -n "$ac_ct_STRIP"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
++$as_echo "$ac_ct_STRIP" >&6; }
++else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
++$as_echo "no" >&6; }
++fi
++
++ if test "x$ac_ct_STRIP" = x; then
++ STRIP=":"
++ else
++ case $cross_compiling:$ac_tool_warned in
++yes:)
++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
++$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
++ac_tool_warned=yes ;;
++esac
++ STRIP=$ac_ct_STRIP
++ fi
++else
++ STRIP="$ac_cv_prog_STRIP"
++fi
++
++fi
++INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
++
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
++$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
++if test -z "$MKDIR_P"; then
++ if ${ac_cv_path_mkdir+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ for ac_prog in mkdir gmkdir; do
++ for ac_exec_ext in '' $ac_executable_extensions; do
++ { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
++ case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
++ 'mkdir (GNU coreutils) '* | \
++ 'mkdir (coreutils) '* | \
++ 'mkdir (fileutils) '4.1*)
++ ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
++ break 3;;
++ esac
++ done
++ done
++ done
++IFS=$as_save_IFS
++
++fi
++
++ test -d ./--version && rmdir ./--version
++ if test "${ac_cv_path_mkdir+set}" = set; then
++ MKDIR_P="$ac_cv_path_mkdir -p"
++ else
++ # As a last resort, use the slow shell script. Don't cache a
++ # value for MKDIR_P within a source directory, because that will
++ # break other packages using the cache if that directory is
++ # removed, or if the value is a relative name.
++ MKDIR_P="$ac_install_sh -d"
++ fi
++fi
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
++$as_echo "$MKDIR_P" >&6; }
++
++mkdir_p="$MKDIR_P"
++case $mkdir_p in
++ [\\/$]* | ?:[\\/]*) ;;
++ */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
++esac
++
++for ac_prog in gawk mawk nawk awk
++do
++ # Extract the first word of "$ac_prog", so it can be a program name with args.
++set dummy $ac_prog; ac_word=$2
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
++$as_echo_n "checking for $ac_word... " >&6; }
++if ${ac_cv_prog_AWK+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ if test -n "$AWK"; then
++ ac_cv_prog_AWK="$AWK" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ for ac_exec_ext in '' $ac_executable_extensions; do
++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
++ ac_cv_prog_AWK="$ac_prog"
++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
++ break 2
++ fi
++done
++ done
++IFS=$as_save_IFS
++
++fi
++fi
++AWK=$ac_cv_prog_AWK
++if test -n "$AWK"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
++$as_echo "$AWK" >&6; }
++else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
++$as_echo "no" >&6; }
++fi
++
++
++ test -n "$AWK" && break
++done
++
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
++$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
++set x ${MAKE-make}
++ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
++if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ cat >conftest.make <<\_ACEOF
++SHELL = /bin/sh
++all:
++ @echo '@@@%%%=$(MAKE)=@@@%%%'
++_ACEOF
++# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
++case `${MAKE-make} -f conftest.make 2>/dev/null` in
++ *@@@%%%=?*=@@@%%%*)
++ eval ac_cv_prog_make_${ac_make}_set=yes;;
++ *)
++ eval ac_cv_prog_make_${ac_make}_set=no;;
++esac
++rm -f conftest.make
++fi
++if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
++$as_echo "yes" >&6; }
++ SET_MAKE=
++else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
++$as_echo "no" >&6; }
++ SET_MAKE="MAKE=${MAKE-make}"
++fi
++
++rm -rf .tst 2>/dev/null
++mkdir .tst 2>/dev/null
++if test -d .tst; then
++ am__leading_dot=.
++else
++ am__leading_dot=_
++fi
++rmdir .tst 2>/dev/null
++
++DEPDIR="${am__leading_dot}deps"
++
++ac_config_commands="$ac_config_commands depfiles"
++
++
++am_make=${MAKE-make}
++cat > confinc << 'END'
++am__doit:
++ @echo this is the am__doit target
++.PHONY: am__doit
++END
++# If we don't find an include directive, just comment out the code.
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
++$as_echo_n "checking for style of include used by $am_make... " >&6; }
++am__include="#"
++am__quote=
++_am_result=none
++# First try GNU make style include.
++echo "include confinc" > confmf
++# Ignore all kinds of additional output from `make'.
++case `$am_make -s -f confmf 2> /dev/null` in #(
++*the\ am__doit\ target*)
++ am__include=include
++ am__quote=
++ _am_result=GNU
++ ;;
++esac
++# Now try BSD make style include.
++if test "$am__include" = "#"; then
++ echo '.include "confinc"' > confmf
++ case `$am_make -s -f confmf 2> /dev/null` in #(
++ *the\ am__doit\ target*)
++ am__include=.include
++ am__quote="\""
++ _am_result=BSD
++ ;;
++ esac
++fi
++
++
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
++$as_echo "$_am_result" >&6; }
++rm -f confinc confmf
++
++# Check whether --enable-dependency-tracking was given.
++if test "${enable_dependency_tracking+set}" = set; then :
++ enableval=$enable_dependency_tracking;
++fi
++
++if test "x$enable_dependency_tracking" != xno; then
++ am_depcomp="$ac_aux_dir/depcomp"
++ AMDEPBACKSLASH='\'
++fi
++ if test "x$enable_dependency_tracking" != xno; then
++ AMDEP_TRUE=
++ AMDEP_FALSE='#'
++else
++ AMDEP_TRUE='#'
++ AMDEP_FALSE=
++fi
++
++
++
++# Check whether --enable-multilib was given.
++if test "${enable_multilib+set}" = set; then :
++ enableval=$enable_multilib; case "${enableval}" in
++ yes) multilib=yes ;;
++ no) multilib=no ;;
++ *) as_fn_error $? "bad value ${enableval} for multilib option" "$LINENO" 5 ;;
++ esac
++else
++ multilib=yes
++fi
++
++# Check whether --enable-target-optspace was given.
++if test "${enable_target_optspace+set}" = set; then :
++ enableval=$enable_target_optspace; case "${enableval}" in
++ yes) target_optspace=yes ;;
++ no) target_optspace=no ;;
++ *) as_fn_error $? "bad value ${enableval} for target-optspace option" "$LINENO" 5 ;;
++ esac
++else
++ target_optspace=
++fi
++
++# Check whether --enable-malloc-debugging was given.
++if test "${enable_malloc_debugging+set}" = set; then :
++ enableval=$enable_malloc_debugging; case "${enableval}" in
++ yes) malloc_debugging=yes ;;
++ no) malloc_debugging=no ;;
++ *) as_fn_error $? "bad value ${enableval} for malloc-debugging option" "$LINENO" 5 ;;
++ esac
++else
++ malloc_debugging=
++fi
++
++# Check whether --enable-newlib-multithread was given.
++if test "${enable_newlib_multithread+set}" = set; then :
++ enableval=$enable_newlib_multithread; case "${enableval}" in
++ yes) newlib_multithread=yes ;;
++ no) newlib_multithread=no ;;
++ *) as_fn_error $? "bad value ${enableval} for newlib-multithread option" "$LINENO" 5 ;;
++ esac
++else
++ newlib_multithread=yes
++fi
++
++# Check whether --enable-newlib-iconv was given.
++if test "${enable_newlib_iconv+set}" = set; then :
++ enableval=$enable_newlib_iconv; if test "${newlib_iconv+set}" != set; then
++ case "${enableval}" in
++ yes) newlib_iconv=yes ;;
++ no) newlib_iconv=no ;;
++ *) as_fn_error $? "bad value ${enableval} for newlib-iconv option" "$LINENO" 5 ;;
++ esac
++ fi
++else
++ newlib_iconv=${newlib_iconv}
++fi
++
++# Check whether --enable-newlib-elix-level was given.
++if test "${enable_newlib_elix_level+set}" = set; then :
++ enableval=$enable_newlib_elix_level; case "${enableval}" in
++ 0) newlib_elix_level=0 ;;
++ 1) newlib_elix_level=1 ;;
++ 2) newlib_elix_level=2 ;;
++ 3) newlib_elix_level=3 ;;
++ 4) newlib_elix_level=4 ;;
++ *) as_fn_error $? "bad value ${enableval} for newlib-elix-level option" "$LINENO" 5 ;;
++ esac
++else
++ newlib_elix_level=0
++fi
++
++# Check whether --enable-newlib-io-float was given.
++if test "${enable_newlib_io_float+set}" = set; then :
++ enableval=$enable_newlib_io_float; case "${enableval}" in
++ yes) newlib_io_float=yes ;;
++ no) newlib_io_float=no ;;
++ *) as_fn_error $? "bad value ${enableval} for newlib-io-float option" "$LINENO" 5 ;;
++ esac
++else
++ newlib_io_float=yes
++fi
++
++# Check whether --enable-newlib-supplied-syscalls was given.
++if test "${enable_newlib_supplied_syscalls+set}" = set; then :
++ enableval=$enable_newlib_supplied_syscalls; case "${enableval}" in
++ yes) newlib_may_supply_syscalls=yes ;;
++ no) newlib_may_supply_syscalls=no ;;
++ *) as_fn_error $? "bad value ${enableval} for newlib-supplied-syscalls option" "$LINENO" 5 ;;
++ esac
++else
++ newlib_may_supply_syscalls=yes
++fi
++
++ if test x${newlib_may_supply_syscalls} = xyes; then
++ MAY_SUPPLY_SYSCALLS_TRUE=
++ MAY_SUPPLY_SYSCALLS_FALSE='#'
++else
++ MAY_SUPPLY_SYSCALLS_TRUE='#'
++ MAY_SUPPLY_SYSCALLS_FALSE=
++fi
++
++
++
++test -z "${with_target_subdir}" && with_target_subdir=.
++
++if test "${srcdir}" = "."; then
++ if test "${with_target_subdir}" != "."; then
++ newlib_basedir="${srcdir}/${with_multisrctop}../../../.."
++ else
++ newlib_basedir="${srcdir}/${with_multisrctop}../../.."
++ fi
++else
++ newlib_basedir="${srcdir}/../../.."
++fi
++
++
++
++
++if test "`cd $srcdir && pwd`" != "`pwd`"; then
++ # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
++ # is not polluted with repeated "-I."
++ am__isrc=' -I$(srcdir)'
++ # test to see if srcdir already configured
++ if test -f $srcdir/config.status; then
++ as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
++ fi
++fi
++
++# test whether we have cygpath
++if test -z "$CYGPATH_W"; then
++ if (cygpath --version) >/dev/null 2>/dev/null; then
++ CYGPATH_W='cygpath -w'
++ else
++ CYGPATH_W=echo
++ fi
++fi
++
++
++# Define the identity of the package.
++ PACKAGE='newlib'
++ VERSION='1.20.0'
++
++
++# Some tools Automake needs.
++
++ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
++
++
++AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
++
++
++AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
++
++
++AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
++
++
++MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
++
++# We need awk for the "check" target. The system "awk" is bad on
++# some platforms.
++# Always define AMTAR for backward compatibility.
++
++AMTAR=${AMTAR-"${am_missing_run}tar"}
++
++am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
++
++
++
++
++
++
++# FIXME: We temporarily define our own version of AC_PROG_CC. This is
++# copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
++# are probably using a cross compiler, which will not be able to fully
++# link an executable. This should really be fixed in autoconf
++# itself.
++
++
++
++
++
++
++
++# Extract the first word of "gcc", so it can be a program name with args.
++set dummy gcc; ac_word=$2
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
++$as_echo_n "checking for $ac_word... " >&6; }
++if ${ac_cv_prog_CC+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ if test -n "$CC"; then
++ ac_cv_prog_CC="$CC" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ for ac_exec_ext in '' $ac_executable_extensions; do
++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
++ ac_cv_prog_CC="gcc"
++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
++ break 2
++ fi
++done
++ done
++IFS=$as_save_IFS
++
++fi
++fi
++CC=$ac_cv_prog_CC
++if test -n "$CC"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
++$as_echo "$CC" >&6; }
++else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
++$as_echo "no" >&6; }
++fi
++
++
++
++depcc="$CC" am_compiler_list=
++
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
++$as_echo_n "checking dependency style of $depcc... " >&6; }
++if ${am_cv_CC_dependencies_compiler_type+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
++ # We make a subdir and do the tests there. Otherwise we can end up
++ # making bogus files that we don't know about and never remove. For
++ # instance it was reported that on HP-UX the gcc test will end up
++ # making a dummy file named `D' -- because `-MD' means `put the output
++ # in D'.
++ mkdir conftest.dir
++ # Copy depcomp to subdir because otherwise we won't find it if we're
++ # using a relative directory.
++ cp "$am_depcomp" conftest.dir
++ cd conftest.dir
++ # We will build objects and dependencies in a subdirectory because
++ # it helps to detect inapplicable dependency modes. For instance
++ # both Tru64's cc and ICC support -MD to output dependencies as a
++ # side effect of compilation, but ICC will put the dependencies in
++ # the current directory while Tru64 will put them in the object
++ # directory.
++ mkdir sub
++
++ am_cv_CC_dependencies_compiler_type=none
++ if test "$am_compiler_list" = ""; then
++ am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
++ fi
++ am__universal=false
++ case " $depcc " in #(
++ *\ -arch\ *\ -arch\ *) am__universal=true ;;
++ esac
++
++ for depmode in $am_compiler_list; do
++ # Setup a source with many dependencies, because some compilers
++ # like to wrap large dependency lists on column 80 (with \), and
++ # we should not choose a depcomp mode which is confused by this.
++ #
++ # We need to recreate these files for each test, as the compiler may
++ # overwrite some of them when testing with obscure command lines.
++ # This happens at least with the AIX C compiler.
++ : > sub/conftest.c
++ for i in 1 2 3 4 5 6; do
++ echo '#include "conftst'$i'.h"' >> sub/conftest.c
++ # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
++ # Solaris 8's {/usr,}/bin/sh.
++ touch sub/conftst$i.h
++ done
++ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
++
++ # We check with `-c' and `-o' for the sake of the "dashmstdout"
++ # mode. It turns out that the SunPro C++ compiler does not properly
++ # handle `-M -o', and we need to detect this. Also, some Intel
++ # versions had trouble with output in subdirs
++ am__obj=sub/conftest.${OBJEXT-o}
++ am__minus_obj="-o $am__obj"
++ case $depmode in
++ gcc)
++ # This depmode causes a compiler race in universal mode.
++ test "$am__universal" = false || continue
++ ;;
++ nosideeffect)
++ # after this tag, mechanisms are not by side-effect, so they'll
++ # only be used when explicitly requested
++ if test "x$enable_dependency_tracking" = xyes; then
++ continue
++ else
++ break
++ fi
++ ;;
++ msvisualcpp | msvcmsys)
++ # This compiler won't grok `-c -o', but also, the minuso test has
++ # not run yet. These depmodes are late enough in the game, and
++ # so weak that their functioning should not be impacted.
++ am__obj=conftest.${OBJEXT-o}
++ am__minus_obj=
++ ;;
++ none) break ;;
++ esac
++ if depmode=$depmode \
++ source=sub/conftest.c object=$am__obj \
++ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
++ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
++ >/dev/null 2>conftest.err &&
++ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
++ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
++ grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
++ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
++ # icc doesn't choke on unknown options, it will just issue warnings
++ # or remarks (even with -Werror). So we grep stderr for any message
++ # that says an option was ignored or not supported.
++ # When given -MP, icc 7.0 and 7.1 complain thusly:
++ # icc: Command line warning: ignoring option '-M'; no argument required
++ # The diagnosis changed in icc 8.0:
++ # icc: Command line remark: option '-MP' not supported
++ if (grep 'ignoring option' conftest.err ||
++ grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
++ am_cv_CC_dependencies_compiler_type=$depmode
++ break
++ fi
++ fi
++ done
++
++ cd ..
++ rm -rf conftest.dir
++else
++ am_cv_CC_dependencies_compiler_type=none
++fi
++
++fi
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
++$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
++CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
++
++ if
++ test "x$enable_dependency_tracking" != xno \
++ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
++ am__fastdepCC_TRUE=
++ am__fastdepCC_FALSE='#'
++else
++ am__fastdepCC_TRUE='#'
++ am__fastdepCC_FALSE=
++fi
++
++
++if test -z "$CC"; then
++ # Extract the first word of "cc", so it can be a program name with args.
++set dummy cc; ac_word=$2
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
++$as_echo_n "checking for $ac_word... " >&6; }
++if ${ac_cv_prog_CC+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ if test -n "$CC"; then
++ ac_cv_prog_CC="$CC" # Let the user override the test.
++else
++ ac_prog_rejected=no
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ for ac_exec_ext in '' $ac_executable_extensions; do
++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
++ if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
++ ac_prog_rejected=yes
++ continue
++ fi
++ ac_cv_prog_CC="cc"
++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
++ break 2
++ fi
++done
++ done
++IFS=$as_save_IFS
++
++if test $ac_prog_rejected = yes; then
++ # We found a bogon in the path, so make sure we never use it.
++ set dummy $ac_cv_prog_CC
++ shift
++ if test $# != 0; then
++ # We chose a different compiler from the bogus one.
++ # However, it has the same basename, so the bogon will be chosen
++ # first if we set CC to just the basename; use the full file name.
++ shift
++ ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
++ fi
++fi
++fi
++fi
++CC=$ac_cv_prog_CC
++if test -n "$CC"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
++$as_echo "$CC" >&6; }
++else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
++$as_echo "no" >&6; }
++fi
++
++
++ test -z "$CC" && as_fn_error $? "no acceptable cc found in \$PATH" "$LINENO" 5
++fi
++
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using GNU C" >&5
++$as_echo_n "checking whether we are using GNU C... " >&6; }
++if ${ac_cv_c_compiler_gnu+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ cat > conftest.c <<EOF
++#ifdef __GNUC__
++ yes;
++#endif
++EOF
++if { ac_try='${CC-cc} -E conftest.c'
++ { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
++ (eval $ac_try) 2>&5
++ ac_status=$?
++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
++ test $ac_status = 0; }; } | egrep yes >/dev/null 2>&1; then
++ ac_cv_c_compiler_gnu=yes
++else
++ ac_cv_c_compiler_gnu=no
++fi
++fi
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
++$as_echo "$ac_cv_c_compiler_gnu" >&6; }
++
++if test $ac_cv_c_compiler_gnu = yes; then
++ GCC=yes
++ ac_test_CFLAGS="${CFLAGS+set}"
++ ac_save_CFLAGS="$CFLAGS"
++ ac_test_CFLAGS=${CFLAGS+set}
++ac_save_CFLAGS=$CFLAGS
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
++$as_echo_n "checking whether $CC accepts -g... " >&6; }
++if ${ac_cv_prog_cc_g+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ ac_save_c_werror_flag=$ac_c_werror_flag
++ ac_c_werror_flag=yes
++ ac_cv_prog_cc_g=no
++ CFLAGS="-g"
++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
++/* end confdefs.h. */
++
++int
++main ()
++{
++
++ ;
++ return 0;
++}
++_ACEOF
++if ac_fn_c_try_compile "$LINENO"; then :
++ ac_cv_prog_cc_g=yes
++else
++ CFLAGS=""
++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
++/* end confdefs.h. */
++
++int
++main ()
++{
++
++ ;
++ return 0;
++}
++_ACEOF
++if ac_fn_c_try_compile "$LINENO"; then :
++
++else
++ ac_c_werror_flag=$ac_save_c_werror_flag
++ CFLAGS="-g"
++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
++/* end confdefs.h. */
++
++int
++main ()
++{
++
++ ;
++ return 0;
++}
++_ACEOF
++if ac_fn_c_try_compile "$LINENO"; then :
++ ac_cv_prog_cc_g=yes
++fi
++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
++ ac_c_werror_flag=$ac_save_c_werror_flag
++fi
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
++$as_echo "$ac_cv_prog_cc_g" >&6; }
++if test "$ac_test_CFLAGS" = set; then
++ CFLAGS=$ac_save_CFLAGS
++elif test $ac_cv_prog_cc_g = yes; then
++ if test "$GCC" = yes; then
++ CFLAGS="-g -O2"
++ else
++ CFLAGS="-g"
++ fi
++else
++ if test "$GCC" = yes; then
++ CFLAGS="-O2"
++ else
++ CFLAGS=
++ fi
++fi
++ if test "$ac_test_CFLAGS" = set; then
++ CFLAGS="$ac_save_CFLAGS"
++ elif test $ac_cv_prog_cc_g = yes; then
++ CFLAGS="-g -O2"
++ else
++ CFLAGS="-O2"
++ fi
++else
++ GCC=
++ test "${CFLAGS+set}" = set || CFLAGS="-g"
++fi
++
++
++if test -n "$ac_tool_prefix"; then
++ # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
++set dummy ${ac_tool_prefix}as; ac_word=$2
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
++$as_echo_n "checking for $ac_word... " >&6; }
++if ${ac_cv_prog_AS+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ if test -n "$AS"; then
++ ac_cv_prog_AS="$AS" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ for ac_exec_ext in '' $ac_executable_extensions; do
++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
++ ac_cv_prog_AS="${ac_tool_prefix}as"
++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
++ break 2
++ fi
++done
++ done
++IFS=$as_save_IFS
++
++fi
++fi
++AS=$ac_cv_prog_AS
++if test -n "$AS"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
++$as_echo "$AS" >&6; }
++else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
++$as_echo "no" >&6; }
++fi
++
++
++fi
++if test -z "$ac_cv_prog_AS"; then
++ ac_ct_AS=$AS
++ # Extract the first word of "as", so it can be a program name with args.
++set dummy as; ac_word=$2
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
++$as_echo_n "checking for $ac_word... " >&6; }
++if ${ac_cv_prog_ac_ct_AS+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ if test -n "$ac_ct_AS"; then
++ ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ for ac_exec_ext in '' $ac_executable_extensions; do
++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
++ ac_cv_prog_ac_ct_AS="as"
++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
++ break 2
++ fi
++done
++ done
++IFS=$as_save_IFS
++
++fi
++fi
++ac_ct_AS=$ac_cv_prog_ac_ct_AS
++if test -n "$ac_ct_AS"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
++$as_echo "$ac_ct_AS" >&6; }
++else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
++$as_echo "no" >&6; }
++fi
++
++ if test "x$ac_ct_AS" = x; then
++ AS=""
++ else
++ case $cross_compiling:$ac_tool_warned in
++yes:)
++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
++$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
++ac_tool_warned=yes ;;
++esac
++ AS=$ac_ct_AS
++ fi
++else
++ AS="$ac_cv_prog_AS"
++fi
++
++if test -n "$ac_tool_prefix"; then
++ # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
++set dummy ${ac_tool_prefix}ar; ac_word=$2
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
++$as_echo_n "checking for $ac_word... " >&6; }
++if ${ac_cv_prog_AR+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ if test -n "$AR"; then
++ ac_cv_prog_AR="$AR" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ for ac_exec_ext in '' $ac_executable_extensions; do
++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
++ ac_cv_prog_AR="${ac_tool_prefix}ar"
++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
++ break 2
++ fi
++done
++ done
++IFS=$as_save_IFS
++
++fi
++fi
++AR=$ac_cv_prog_AR
++if test -n "$AR"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
++$as_echo "$AR" >&6; }
++else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
++$as_echo "no" >&6; }
++fi
++
++
++fi
++if test -z "$ac_cv_prog_AR"; then
++ ac_ct_AR=$AR
++ # Extract the first word of "ar", so it can be a program name with args.
++set dummy ar; ac_word=$2
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
++$as_echo_n "checking for $ac_word... " >&6; }
++if ${ac_cv_prog_ac_ct_AR+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ if test -n "$ac_ct_AR"; then
++ ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ for ac_exec_ext in '' $ac_executable_extensions; do
++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
++ ac_cv_prog_ac_ct_AR="ar"
++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
++ break 2
++ fi
++done
++ done
++IFS=$as_save_IFS
++
++fi
++fi
++ac_ct_AR=$ac_cv_prog_ac_ct_AR
++if test -n "$ac_ct_AR"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
++$as_echo "$ac_ct_AR" >&6; }
++else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
++$as_echo "no" >&6; }
++fi
++
++ if test "x$ac_ct_AR" = x; then
++ AR=""
++ else
++ case $cross_compiling:$ac_tool_warned in
++yes:)
++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
++$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
++ac_tool_warned=yes ;;
++esac
++ AR=$ac_ct_AR
++ fi
++else
++ AR="$ac_cv_prog_AR"
++fi
++
++if test -n "$ac_tool_prefix"; then
++ # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
++set dummy ${ac_tool_prefix}ranlib; ac_word=$2
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
++$as_echo_n "checking for $ac_word... " >&6; }
++if ${ac_cv_prog_RANLIB+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ if test -n "$RANLIB"; then
++ ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ for ac_exec_ext in '' $ac_executable_extensions; do
++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
++ ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
++ break 2
++ fi
++done
++ done
++IFS=$as_save_IFS
++
++fi
++fi
++RANLIB=$ac_cv_prog_RANLIB
++if test -n "$RANLIB"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
++$as_echo "$RANLIB" >&6; }
++else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
++$as_echo "no" >&6; }
++fi
++
++
++fi
++if test -z "$ac_cv_prog_RANLIB"; then
++ ac_ct_RANLIB=$RANLIB
++ # Extract the first word of "ranlib", so it can be a program name with args.
++set dummy ranlib; ac_word=$2
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
++$as_echo_n "checking for $ac_word... " >&6; }
++if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ if test -n "$ac_ct_RANLIB"; then
++ ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ for ac_exec_ext in '' $ac_executable_extensions; do
++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
++ ac_cv_prog_ac_ct_RANLIB="ranlib"
++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
++ break 2
++ fi
++done
++ done
++IFS=$as_save_IFS
++
++fi
++fi
++ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
++if test -n "$ac_ct_RANLIB"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
++$as_echo "$ac_ct_RANLIB" >&6; }
++else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
++$as_echo "no" >&6; }
++fi
++
++ if test "x$ac_ct_RANLIB" = x; then
++ RANLIB=":"
++ else
++ case $cross_compiling:$ac_tool_warned in
++yes:)
++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
++$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
++ac_tool_warned=yes ;;
++esac
++ RANLIB=$ac_ct_RANLIB
++ fi
++else
++ RANLIB="$ac_cv_prog_RANLIB"
++fi
++
++if test -n "$ac_tool_prefix"; then
++ # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
++set dummy ${ac_tool_prefix}readelf; ac_word=$2
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
++$as_echo_n "checking for $ac_word... " >&6; }
++if ${ac_cv_prog_READELF+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ if test -n "$READELF"; then
++ ac_cv_prog_READELF="$READELF" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ for ac_exec_ext in '' $ac_executable_extensions; do
++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
++ ac_cv_prog_READELF="${ac_tool_prefix}readelf"
++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
++ break 2
++ fi
++done
++ done
++IFS=$as_save_IFS
++
++fi
++fi
++READELF=$ac_cv_prog_READELF
++if test -n "$READELF"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
++$as_echo "$READELF" >&6; }
++else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
++$as_echo "no" >&6; }
++fi
++
++
++fi
++if test -z "$ac_cv_prog_READELF"; then
++ ac_ct_READELF=$READELF
++ # Extract the first word of "readelf", so it can be a program name with args.
++set dummy readelf; ac_word=$2
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
++$as_echo_n "checking for $ac_word... " >&6; }
++if ${ac_cv_prog_ac_ct_READELF+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ if test -n "$ac_ct_READELF"; then
++ ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ for ac_exec_ext in '' $ac_executable_extensions; do
++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
++ ac_cv_prog_ac_ct_READELF="readelf"
++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
++ break 2
++ fi
++done
++ done
++IFS=$as_save_IFS
++
++fi
++fi
++ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
++if test -n "$ac_ct_READELF"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
++$as_echo "$ac_ct_READELF" >&6; }
++else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
++$as_echo "no" >&6; }
++fi
++
++ if test "x$ac_ct_READELF" = x; then
++ READELF=":"
++ else
++ case $cross_compiling:$ac_tool_warned in
++yes:)
++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
++$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
++ac_tool_warned=yes ;;
++esac
++ READELF=$ac_ct_READELF
++ fi
++else
++ READELF="$ac_cv_prog_READELF"
++fi
++
++
++
++
++# Hack to ensure that INSTALL won't be set to "../" with autoconf 2.13. */
++ac_given_INSTALL=$INSTALL
++
++
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
++$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
++ # Check whether --enable-maintainer-mode was given.
++if test "${enable_maintainer_mode+set}" = set; then :
++ enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
++else
++ USE_MAINTAINER_MODE=no
++fi
++
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
++$as_echo "$USE_MAINTAINER_MODE" >&6; }
++ if test $USE_MAINTAINER_MODE = yes; then
++ MAINTAINER_MODE_TRUE=
++ MAINTAINER_MODE_FALSE='#'
++else
++ MAINTAINER_MODE_TRUE='#'
++ MAINTAINER_MODE_FALSE=
++fi
++
++ MAINT=$MAINTAINER_MODE_TRUE
++
++
++# By default we simply use the C compiler to build assembly code.
++
++test "${CCAS+set}" = set || CCAS=$CC
++test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
++
++
++
++
++# We need AC_EXEEXT to keep automake happy in cygnus mode. However,
++# at least currently, we never actually build a program, so we never
++# need to use $(EXEEXT). Moreover, the test for EXEEXT normally
++# fails, because we are probably configuring with a cross compiler
++# which can't create executables. So we include AC_EXEEXT to keep
++# automake happy, but we don't execute it, since we don't care about
++# the result.
++if false; then
++
++ dummy_var=1
++fi
++
++. ${newlib_basedir}/configure.host
++
++newlib_cflags="${newlib_cflags} -fno-builtin"
++
++NEWLIB_CFLAGS=${newlib_cflags}
++
++
++NO_INCLUDE_LIST=${noinclude}
++
++
++LDFLAGS=${ldflags}
++
++
++ if test x${newlib_elix_level} = x0; then
++ ELIX_LEVEL_0_TRUE=
++ ELIX_LEVEL_0_FALSE='#'
++else
++ ELIX_LEVEL_0_TRUE='#'
++ ELIX_LEVEL_0_FALSE=
++fi
++
++ if test x${newlib_elix_level} = x1; then
++ ELIX_LEVEL_1_TRUE=
++ ELIX_LEVEL_1_FALSE='#'
++else
++ ELIX_LEVEL_1_TRUE='#'
++ ELIX_LEVEL_1_FALSE=
++fi
++
++ if test x${newlib_elix_level} = x2; then
++ ELIX_LEVEL_2_TRUE=
++ ELIX_LEVEL_2_FALSE='#'
++else
++ ELIX_LEVEL_2_TRUE='#'
++ ELIX_LEVEL_2_FALSE=
++fi
++
++ if test x${newlib_elix_level} = x3; then
++ ELIX_LEVEL_3_TRUE=
++ ELIX_LEVEL_3_FALSE='#'
++else
++ ELIX_LEVEL_3_TRUE='#'
++ ELIX_LEVEL_3_FALSE=
++fi
++
++ if test x${newlib_elix_level} = x4; then
++ ELIX_LEVEL_4_TRUE=
++ ELIX_LEVEL_4_FALSE='#'
++else
++ ELIX_LEVEL_4_TRUE='#'
++ ELIX_LEVEL_4_FALSE=
++fi
++
++
++ if test x${use_libtool} = xyes; then
++ USE_LIBTOOL_TRUE=
++ USE_LIBTOOL_FALSE='#'
++else
++ USE_LIBTOOL_TRUE='#'
++ USE_LIBTOOL_FALSE=
++fi
++
++
++# Hard-code OBJEXT. Normally it is set by AC_OBJEXT, but we
++# use oext, which is set in configure.host based on the target platform.
++OBJEXT=${oext}
++
++
++
++
++
++
++
++
++
++
++
++ac_config_files="$ac_config_files Makefile"
++
++cat >confcache <<\_ACEOF
++# This file is a shell script that caches the results of configure
++# tests run on this system so they can be shared between configure
++# scripts and configure runs, see configure's option --config-cache.
++# It is not useful on other systems. If it contains results you don't
++# want to keep, you may remove or edit it.
++#
++# config.status only pays attention to the cache file if you give it
++# the --recheck option to rerun configure.
++#
++# `ac_cv_env_foo' variables (set or unset) will be overridden when
++# loading this file, other *unset* `ac_cv_foo' will be assigned the
++# following values.
++
++_ACEOF
++
++# The following way of writing the cache mishandles newlines in values,
++# but we know of no workaround that is simple, portable, and efficient.
++# So, we kill variables containing newlines.
++# Ultrix sh set writes to stderr and can't be redirected directly,
++# and sets the high bit in the cache file unless we assign to the vars.
++(
++ for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
++ eval ac_val=\$$ac_var
++ case $ac_val in #(
++ *${as_nl}*)
++ case $ac_var in #(
++ *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
++$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
++ esac
++ case $ac_var in #(
++ _ | IFS | as_nl) ;; #(
++ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
++ *) { eval $ac_var=; unset $ac_var;} ;;
++ esac ;;
++ esac
++ done
++
++ (set) 2>&1 |
++ case $as_nl`(ac_space=' '; set) 2>&1` in #(
++ *${as_nl}ac_space=\ *)
++ # `set' does not quote correctly, so add quotes: double-quote
++ # substitution turns \\\\ into \\, and sed turns \\ into \.
++ sed -n \
++ "s/'/'\\\\''/g;
++ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
++ ;; #(
++ *)
++ # `set' quotes correctly as required by POSIX, so do not add quotes.
++ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
++ ;;
++ esac |
++ sort
++) |
++ sed '
++ /^ac_cv_env_/b end
++ t clear
++ :clear
++ s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
++ t end
++ s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
++ :end' >>confcache
++if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
++ if test -w "$cache_file"; then
++ if test "x$cache_file" != "x/dev/null"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
++$as_echo "$as_me: updating cache $cache_file" >&6;}
++ if test ! -f "$cache_file" || test -h "$cache_file"; then
++ cat confcache >"$cache_file"
++ else
++ case $cache_file in #(
++ */* | ?:*)
++ mv -f confcache "$cache_file"$$ &&
++ mv -f "$cache_file"$$ "$cache_file" ;; #(
++ *)
++ mv -f confcache "$cache_file" ;;
++ esac
++ fi
++ fi
++ else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
++$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
++ fi
++fi
++rm -f confcache
++
++test "x$prefix" = xNONE && prefix=$ac_default_prefix
++# Let make expand exec_prefix.
++test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
++
++# Transform confdefs.h into DEFS.
++# Protect against shell expansion while executing Makefile rules.
++# Protect against Makefile macro expansion.
++#
++# If the first sed substitution is executed (which looks for macros that
++# take arguments), then branch to the quote section. Otherwise,
++# look for a macro that doesn't take arguments.
++ac_script='
++:mline
++/\\$/{
++ N
++ s,\\\n,,
++ b mline
++}
++t clear
++:clear
++s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
++t quote
++s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
++t quote
++b any
++:quote
++s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
++s/\[/\\&/g
++s/\]/\\&/g
++s/\$/$$/g
++H
++:any
++${
++ g
++ s/^\n//
++ s/\n/ /g
++ p
++}
++'
++DEFS=`sed -n "$ac_script" confdefs.h`
++
++
++ac_libobjs=
++ac_ltlibobjs=
++U=
++for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
++ # 1. Remove the extension, and $U if already installed.
++ ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
++ ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
++ # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
++ # will be set to the directory where LIBOBJS objects are built.
++ as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
++ as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
++done
++LIBOBJS=$ac_libobjs
++
++LTLIBOBJS=$ac_ltlibobjs
++
++
++if test -z "${MAY_SUPPLY_SYSCALLS_TRUE}" && test -z "${MAY_SUPPLY_SYSCALLS_FALSE}"; then
++ as_fn_error $? "conditional \"MAY_SUPPLY_SYSCALLS\" was never defined.
++Usually this means the macro was only invoked conditionally." "$LINENO" 5
++fi
++
++if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
++ as_fn_error $? "conditional \"AMDEP\" was never defined.
++Usually this means the macro was only invoked conditionally." "$LINENO" 5
++fi
++if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
++ as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
++Usually this means the macro was only invoked conditionally." "$LINENO" 5
++fi
++if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
++ as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
++Usually this means the macro was only invoked conditionally." "$LINENO" 5
++fi
++if test -z "${ELIX_LEVEL_0_TRUE}" && test -z "${ELIX_LEVEL_0_FALSE}"; then
++ as_fn_error $? "conditional \"ELIX_LEVEL_0\" was never defined.
++Usually this means the macro was only invoked conditionally." "$LINENO" 5
++fi
++if test -z "${ELIX_LEVEL_1_TRUE}" && test -z "${ELIX_LEVEL_1_FALSE}"; then
++ as_fn_error $? "conditional \"ELIX_LEVEL_1\" was never defined.
++Usually this means the macro was only invoked conditionally." "$LINENO" 5
++fi
++if test -z "${ELIX_LEVEL_2_TRUE}" && test -z "${ELIX_LEVEL_2_FALSE}"; then
++ as_fn_error $? "conditional \"ELIX_LEVEL_2\" was never defined.
++Usually this means the macro was only invoked conditionally." "$LINENO" 5
++fi
++if test -z "${ELIX_LEVEL_3_TRUE}" && test -z "${ELIX_LEVEL_3_FALSE}"; then
++ as_fn_error $? "conditional \"ELIX_LEVEL_3\" was never defined.
++Usually this means the macro was only invoked conditionally." "$LINENO" 5
++fi
++if test -z "${ELIX_LEVEL_4_TRUE}" && test -z "${ELIX_LEVEL_4_FALSE}"; then
++ as_fn_error $? "conditional \"ELIX_LEVEL_4\" was never defined.
++Usually this means the macro was only invoked conditionally." "$LINENO" 5
++fi
++if test -z "${USE_LIBTOOL_TRUE}" && test -z "${USE_LIBTOOL_FALSE}"; then
++ as_fn_error $? "conditional \"USE_LIBTOOL\" was never defined.
++Usually this means the macro was only invoked conditionally." "$LINENO" 5
++fi
++
++: "${CONFIG_STATUS=./config.status}"
++ac_write_fail=0
++ac_clean_files_save=$ac_clean_files
++ac_clean_files="$ac_clean_files $CONFIG_STATUS"
++{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
++$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
++as_write_fail=0
++cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
++#! $SHELL
++# Generated by $as_me.
++# Run this file to recreate the current configuration.
++# Compiler output produced by configure, useful for debugging
++# configure, is in config.log if it exists.
++
++debug=false
++ac_cs_recheck=false
++ac_cs_silent=false
++
++SHELL=\${CONFIG_SHELL-$SHELL}
++export SHELL
++_ASEOF
++cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
++## -------------------- ##
++## M4sh Initialization. ##
++## -------------------- ##
++
++# Be more Bourne compatible
++DUALCASE=1; export DUALCASE # for MKS sh
++if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
++ emulate sh
++ NULLCMD=:
++ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
++ # is contrary to our usage. Disable this feature.
++ alias -g '${1+"$@"}'='"$@"'
++ setopt NO_GLOB_SUBST
++else
++ case `(set -o) 2>/dev/null` in #(
++ *posix*) :
++ set -o posix ;; #(
++ *) :
++ ;;
++esac
++fi
++
++
++as_nl='
++'
++export as_nl
++# Printing a long string crashes Solaris 7 /usr/bin/printf.
++as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
++as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
++as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
++# Prefer a ksh shell builtin over an external printf program on Solaris,
++# but without wasting forks for bash or zsh.
++if test -z "$BASH_VERSION$ZSH_VERSION" \
++ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
++ as_echo='print -r --'
++ as_echo_n='print -rn --'
++elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
++ as_echo='printf %s\n'
++ as_echo_n='printf %s'
++else
++ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
++ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
++ as_echo_n='/usr/ucb/echo -n'
++ else
++ as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
++ as_echo_n_body='eval
++ arg=$1;
++ case $arg in #(
++ *"$as_nl"*)
++ expr "X$arg" : "X\\(.*\\)$as_nl";
++ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
++ esac;
++ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
++ '
++ export as_echo_n_body
++ as_echo_n='sh -c $as_echo_n_body as_echo'
++ fi
++ export as_echo_body
++ as_echo='sh -c $as_echo_body as_echo'
++fi
++
++# The user is always right.
++if test "${PATH_SEPARATOR+set}" != set; then
++ PATH_SEPARATOR=:
++ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
++ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
++ PATH_SEPARATOR=';'
++ }
++fi
++
++
++# IFS
++# We need space, tab and new line, in precisely that order. Quoting is
++# there to prevent editors from complaining about space-tab.
++# (If _AS_PATH_WALK were called with IFS unset, it would disable word
++# splitting by setting IFS to empty value.)
++IFS=" "" $as_nl"
++
++# Find who we are. Look in the path if we contain no directory separator.
++as_myself=
++case $0 in #((
++ *[\\/]* ) as_myself=$0 ;;
++ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
++ done
++IFS=$as_save_IFS
++
++ ;;
++esac
++# We did not find ourselves, most probably we were run as `sh COMMAND'
++# in which case we are not to be found in the path.
++if test "x$as_myself" = x; then
++ as_myself=$0
++fi
++if test ! -f "$as_myself"; then
++ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
++ exit 1
++fi
++
++# Unset variables that we do not need and which cause bugs (e.g. in
++# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
++# suppresses any "Segmentation fault" message there. '((' could
++# trigger a bug in pdksh 5.2.14.
++for as_var in BASH_ENV ENV MAIL MAILPATH
++do eval test x\${$as_var+set} = xset \
++ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
++done
++PS1='$ '
++PS2='> '
++PS4='+ '
++
++# NLS nuisances.
++LC_ALL=C
++export LC_ALL
++LANGUAGE=C
++export LANGUAGE
++
++# CDPATH.
++(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
++
++
++# as_fn_error STATUS ERROR [LINENO LOG_FD]
++# ----------------------------------------
++# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
++# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
++# script with STATUS, using 1 if that was 0.
++as_fn_error ()
++{
++ as_status=$1; test $as_status -eq 0 && as_status=1
++ if test "$4"; then
++ as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
++ $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
++ fi
++ $as_echo "$as_me: error: $2" >&2
++ as_fn_exit $as_status
++} # as_fn_error
++
++
++# as_fn_set_status STATUS
++# -----------------------
++# Set $? to STATUS, without forking.
++as_fn_set_status ()
++{
++ return $1
++} # as_fn_set_status
++
++# as_fn_exit STATUS
++# -----------------
++# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
++as_fn_exit ()
++{
++ set +e
++ as_fn_set_status $1
++ exit $1
++} # as_fn_exit
++
++# as_fn_unset VAR
++# ---------------
++# Portably unset VAR.
++as_fn_unset ()
++{
++ { eval $1=; unset $1;}
++}
++as_unset=as_fn_unset
++# as_fn_append VAR VALUE
++# ----------------------
++# Append the text in VALUE to the end of the definition contained in VAR. Take
++# advantage of any shell optimizations that allow amortized linear growth over
++# repeated appends, instead of the typical quadratic growth present in naive
++# implementations.
++if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
++ eval 'as_fn_append ()
++ {
++ eval $1+=\$2
++ }'
++else
++ as_fn_append ()
++ {
++ eval $1=\$$1\$2
++ }
++fi # as_fn_append
++
++# as_fn_arith ARG...
++# ------------------
++# Perform arithmetic evaluation on the ARGs, and store the result in the
++# global $as_val. Take advantage of shells that can avoid forks. The arguments
++# must be portable across $(()) and expr.
++if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
++ eval 'as_fn_arith ()
++ {
++ as_val=$(( $* ))
++ }'
++else
++ as_fn_arith ()
++ {
++ as_val=`expr "$@" || test $? -eq 1`
++ }
++fi # as_fn_arith
++
++
++if expr a : '\(a\)' >/dev/null 2>&1 &&
++ test "X`expr 00001 : '.*\(...\)'`" = X001; then
++ as_expr=expr
++else
++ as_expr=false
++fi
++
++if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
++ as_basename=basename
++else
++ as_basename=false
++fi
++
++if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
++ as_dirname=dirname
++else
++ as_dirname=false
++fi
++
++as_me=`$as_basename -- "$0" ||
++$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
++ X"$0" : 'X\(//\)$' \| \
++ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
++$as_echo X/"$0" |
++ sed '/^.*\/\([^/][^/]*\)\/*$/{
++ s//\1/
++ q
++ }
++ /^X\/\(\/\/\)$/{
++ s//\1/
++ q
++ }
++ /^X\/\(\/\).*/{
++ s//\1/
++ q
++ }
++ s/.*/./; q'`
++
++# Avoid depending upon Character Ranges.
++as_cr_letters='abcdefghijklmnopqrstuvwxyz'
++as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
++as_cr_Letters=$as_cr_letters$as_cr_LETTERS
++as_cr_digits='0123456789'
++as_cr_alnum=$as_cr_Letters$as_cr_digits
++
++ECHO_C= ECHO_N= ECHO_T=
++case `echo -n x` in #(((((
++-n*)
++ case `echo 'xy\c'` in
++ *c*) ECHO_T=' ';; # ECHO_T is single tab character.
++ xy) ECHO_C='\c';;
++ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
++ ECHO_T=' ';;
++ esac;;
++*)
++ ECHO_N='-n';;
++esac
++
++rm -f conf$$ conf$$.exe conf$$.file
++if test -d conf$$.dir; then
++ rm -f conf$$.dir/conf$$.file
++else
++ rm -f conf$$.dir
++ mkdir conf$$.dir 2>/dev/null
++fi
++if (echo >conf$$.file) 2>/dev/null; then
++ if ln -s conf$$.file conf$$ 2>/dev/null; then
++ as_ln_s='ln -s'
++ # ... but there are two gotchas:
++ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
++ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
++ # In both cases, we have to default to `cp -p'.
++ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
++ as_ln_s='cp -p'
++ elif ln conf$$.file conf$$ 2>/dev/null; then
++ as_ln_s=ln
++ else
++ as_ln_s='cp -p'
++ fi
++else
++ as_ln_s='cp -p'
++fi
++rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
++rmdir conf$$.dir 2>/dev/null
++
++
++# as_fn_mkdir_p
++# -------------
++# Create "$as_dir" as a directory, including parents if necessary.
++as_fn_mkdir_p ()
++{
++
++ case $as_dir in #(
++ -*) as_dir=./$as_dir;;
++ esac
++ test -d "$as_dir" || eval $as_mkdir_p || {
++ as_dirs=
++ while :; do
++ case $as_dir in #(
++ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
++ *) as_qdir=$as_dir;;
++ esac
++ as_dirs="'$as_qdir' $as_dirs"
++ as_dir=`$as_dirname -- "$as_dir" ||
++$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
++ X"$as_dir" : 'X\(//\)[^/]' \| \
++ X"$as_dir" : 'X\(//\)$' \| \
++ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
++$as_echo X"$as_dir" |
++ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
++ s//\1/
++ q
++ }
++ /^X\(\/\/\)[^/].*/{
++ s//\1/
++ q
++ }
++ /^X\(\/\/\)$/{
++ s//\1/
++ q
++ }
++ /^X\(\/\).*/{
++ s//\1/
++ q
++ }
++ s/.*/./; q'`
++ test -d "$as_dir" && break
++ done
++ test -z "$as_dirs" || eval "mkdir $as_dirs"
++ } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
++
++
++} # as_fn_mkdir_p
++if mkdir -p . 2>/dev/null; then
++ as_mkdir_p='mkdir -p "$as_dir"'
++else
++ test -d ./-p && rmdir ./-p
++ as_mkdir_p=false
++fi
++
++if test -x / >/dev/null 2>&1; then
++ as_test_x='test -x'
++else
++ if ls -dL / >/dev/null 2>&1; then
++ as_ls_L_option=L
++ else
++ as_ls_L_option=
++ fi
++ as_test_x='
++ eval sh -c '\''
++ if test -d "$1"; then
++ test -d "$1/.";
++ else
++ case $1 in #(
++ -*)set "./$1";;
++ esac;
++ case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
++ ???[sx]*):;;*)false;;esac;fi
++ '\'' sh
++ '
++fi
++as_executable_p=$as_test_x
++
++# Sed expression to map a string onto a valid CPP name.
++as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
++
++# Sed expression to map a string onto a valid variable name.
++as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
++
++
++exec 6>&1
++## ----------------------------------- ##
++## Main body of $CONFIG_STATUS script. ##
++## ----------------------------------- ##
++_ASEOF
++test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
++
++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
++# Save the log message, to keep $0 and so on meaningful, and to
++# report actual input values of CONFIG_FILES etc. instead of their
++# values after options handling.
++ac_log="
++This file was extended by newlib $as_me 1.20.0, which was
++generated by GNU Autoconf 2.68. Invocation command line was
++
++ CONFIG_FILES = $CONFIG_FILES
++ CONFIG_HEADERS = $CONFIG_HEADERS
++ CONFIG_LINKS = $CONFIG_LINKS
++ CONFIG_COMMANDS = $CONFIG_COMMANDS
++ $ $0 $@
++
++on `(hostname || uname -n) 2>/dev/null | sed 1q`
++"
++
++_ACEOF
++
++case $ac_config_files in *"
++"*) set x $ac_config_files; shift; ac_config_files=$*;;
++esac
++
++
++
++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
++# Files that config.status was made for.
++config_files="$ac_config_files"
++config_commands="$ac_config_commands"
++
++_ACEOF
++
++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
++ac_cs_usage="\
++\`$as_me' instantiates files and other configuration actions
++from templates according to the current configuration. Unless the files
++and actions are specified as TAGs, all are instantiated by default.
++
++Usage: $0 [OPTION]... [TAG]...
++
++ -h, --help print this help, then exit
++ -V, --version print version number and configuration settings, then exit
++ --config print configuration, then exit
++ -q, --quiet, --silent
++ do not print progress messages
++ -d, --debug don't remove temporary files
++ --recheck update $as_me by reconfiguring in the same conditions
++ --file=FILE[:TEMPLATE]
++ instantiate the configuration file FILE
++
++Configuration files:
++$config_files
++
++Configuration commands:
++$config_commands
++
++Report bugs to the package provider."
++
++_ACEOF
++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
++ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
++ac_cs_version="\\
++newlib config.status 1.20.0
++configured by $0, generated by GNU Autoconf 2.68,
++ with options \\"\$ac_cs_config\\"
++
++Copyright (C) 2010 Free Software Foundation, Inc.
++This config.status script is free software; the Free Software Foundation
++gives unlimited permission to copy, distribute and modify it."
++
++ac_pwd='$ac_pwd'
++srcdir='$srcdir'
++INSTALL='$INSTALL'
++MKDIR_P='$MKDIR_P'
++AWK='$AWK'
++test -n "\$AWK" || AWK=awk
++_ACEOF
++
++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
++# The default lists apply if the user does not specify any file.
++ac_need_defaults=:
++while test $# != 0
++do
++ case $1 in
++ --*=?*)
++ ac_option=`expr "X$1" : 'X\([^=]*\)='`
++ ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
++ ac_shift=:
++ ;;
++ --*=)
++ ac_option=`expr "X$1" : 'X\([^=]*\)='`
++ ac_optarg=
++ ac_shift=:
++ ;;
++ *)
++ ac_option=$1
++ ac_optarg=$2
++ ac_shift=shift
++ ;;
++ esac
++
++ case $ac_option in
++ # Handling of the options.
++ -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
++ ac_cs_recheck=: ;;
++ --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
++ $as_echo "$ac_cs_version"; exit ;;
++ --config | --confi | --conf | --con | --co | --c )
++ $as_echo "$ac_cs_config"; exit ;;
++ --debug | --debu | --deb | --de | --d | -d )
++ debug=: ;;
++ --file | --fil | --fi | --f )
++ $ac_shift
++ case $ac_optarg in
++ *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
++ '') as_fn_error $? "missing file argument" ;;
++ esac
++ as_fn_append CONFIG_FILES " '$ac_optarg'"
++ ac_need_defaults=false;;
++ --he | --h | --help | --hel | -h )
++ $as_echo "$ac_cs_usage"; exit ;;
++ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
++ | -silent | --silent | --silen | --sile | --sil | --si | --s)
++ ac_cs_silent=: ;;
++
++ # This is an error.
++ -*) as_fn_error $? "unrecognized option: \`$1'
++Try \`$0 --help' for more information." ;;
++
++ *) as_fn_append ac_config_targets " $1"
++ ac_need_defaults=false ;;
++
++ esac
++ shift
++done
++
++ac_configure_extra_args=
++
++if $ac_cs_silent; then
++ exec 6>/dev/null
++ ac_configure_extra_args="$ac_configure_extra_args --silent"
++fi
++
++_ACEOF
++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
++if \$ac_cs_recheck; then
++ set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
++ shift
++ \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
++ CONFIG_SHELL='$SHELL'
++ export CONFIG_SHELL
++ exec "\$@"
++fi
++
++_ACEOF
++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
++exec 5>>config.log
++{
++ echo
++ sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
++## Running $as_me. ##
++_ASBOX
++ $as_echo "$ac_log"
++} >&5
++
++_ACEOF
++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
++#
++# INIT-COMMANDS
++#
++AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
++
++_ACEOF
++
++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
++
++# Handling of arguments.
++for ac_config_target in $ac_config_targets
++do
++ case $ac_config_target in
++ "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
++ "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
++
++ *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
++ esac
++done
++
++
++# If the user did not use the arguments to specify the items to instantiate,
++# then the envvar interface is used. Set only those that are not.
++# We use the long form for the default assignment because of an extremely
++# bizarre bug on SunOS 4.1.3.
++if $ac_need_defaults; then
++ test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
++ test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
++fi
++
++# Have a temporary directory for convenience. Make it in the build tree
++# simply because there is no reason against having it here, and in addition,
++# creating and moving files from /tmp can sometimes cause problems.
++# Hook for its removal unless debugging.
++# Note that there is a small window in which the directory will not be cleaned:
++# after its creation but before its name has been assigned to `$tmp'.
++$debug ||
++{
++ tmp= ac_tmp=
++ trap 'exit_status=$?
++ : "${ac_tmp:=$tmp}"
++ { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
++' 0
++ trap 'as_fn_exit 1' 1 2 13 15
++}
++# Create a (secure) tmp directory for tmp files.
++
++{
++ tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
++ test -d "$tmp"
++} ||
++{
++ tmp=./conf$$-$RANDOM
++ (umask 077 && mkdir "$tmp")
++} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
++ac_tmp=$tmp
++
++# Set up the scripts for CONFIG_FILES section.
++# No need to generate them if there are no CONFIG_FILES.
++# This happens for instance with `./config.status config.h'.
++if test -n "$CONFIG_FILES"; then
++
++
++ac_cr=`echo X | tr X '\015'`
++# On cygwin, bash can eat \r inside `` if the user requested igncr.
++# But we know of no other shell where ac_cr would be empty at this
++# point, so we can use a bashism as a fallback.
++if test "x$ac_cr" = x; then
++ eval ac_cr=\$\'\\r\'
++fi
++ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
++if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
++ ac_cs_awk_cr='\\r'
++else
++ ac_cs_awk_cr=$ac_cr
++fi
++
++echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
++_ACEOF
++
++
++{
++ echo "cat >conf$$subs.awk <<_ACEOF" &&
++ echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
++ echo "_ACEOF"
++} >conf$$subs.sh ||
++ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
++ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
++ac_delim='%!_!# '
++for ac_last_try in false false false false false :; do
++ . ./conf$$subs.sh ||
++ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
++
++ ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
++ if test $ac_delim_n = $ac_delim_num; then
++ break
++ elif $ac_last_try; then
++ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
++ else
++ ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
++ fi
++done
++rm -f conf$$subs.sh
++
++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
++cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
++_ACEOF
++sed -n '
++h
++s/^/S["/; s/!.*/"]=/
++p
++g
++s/^[^!]*!//
++:repl
++t repl
++s/'"$ac_delim"'$//
++t delim
++:nl
++h
++s/\(.\{148\}\)..*/\1/
++t more1
++s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
++p
++n
++b repl
++:more1
++s/["\\]/\\&/g; s/^/"/; s/$/"\\/
++p
++g
++s/.\{148\}//
++t nl
++:delim
++h
++s/\(.\{148\}\)..*/\1/
++t more2
++s/["\\]/\\&/g; s/^/"/; s/$/"/
++p
++b
++:more2
++s/["\\]/\\&/g; s/^/"/; s/$/"\\/
++p
++g
++s/.\{148\}//
++t delim
++' <conf$$subs.awk | sed '
++/^[^""]/{
++ N
++ s/\n//
++}
++' >>$CONFIG_STATUS || ac_write_fail=1
++rm -f conf$$subs.awk
++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
++_ACAWK
++cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
++ for (key in S) S_is_set[key] = 1
++ FS = ""
++
++}
++{
++ line = $ 0
++ nfields = split(line, field, "@")
++ substed = 0
++ len = length(field[1])
++ for (i = 2; i < nfields; i++) {
++ key = field[i]
++ keylen = length(key)
++ if (S_is_set[key]) {
++ value = S[key]
++ line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
++ len += length(value) + length(field[++i])
++ substed = 1
++ } else
++ len += 1 + keylen
++ }
++
++ print line
++}
++
++_ACAWK
++_ACEOF
++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
++if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
++ sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
++else
++ cat
++fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
++ || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
++_ACEOF
++
++# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
++# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
++# trailing colons and then remove the whole line if VPATH becomes empty
++# (actually we leave an empty line to preserve line numbers).
++if test "x$srcdir" = x.; then
++ ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
++h
++s///
++s/^/:/
++s/[ ]*$/:/
++s/:\$(srcdir):/:/g
++s/:\${srcdir}:/:/g
++s/:@srcdir@:/:/g
++s/^:*//
++s/:*$//
++x
++s/\(=[ ]*\).*/\1/
++G
++s/\n//
++s/^[^=]*=[ ]*$//
++}'
++fi
++
++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
++fi # test -n "$CONFIG_FILES"
++
++
++eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
++shift
++for ac_tag
++do
++ case $ac_tag in
++ :[FHLC]) ac_mode=$ac_tag; continue;;
++ esac
++ case $ac_mode$ac_tag in
++ :[FHL]*:*);;
++ :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
++ :[FH]-) ac_tag=-:-;;
++ :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
++ esac
++ ac_save_IFS=$IFS
++ IFS=:
++ set x $ac_tag
++ IFS=$ac_save_IFS
++ shift
++ ac_file=$1
++ shift
++
++ case $ac_mode in
++ :L) ac_source=$1;;
++ :[FH])
++ ac_file_inputs=
++ for ac_f
++ do
++ case $ac_f in
++ -) ac_f="$ac_tmp/stdin";;
++ *) # Look for the file first in the build tree, then in the source tree
++ # (if the path is not absolute). The absolute path cannot be DOS-style,
++ # because $ac_f cannot contain `:'.
++ test -f "$ac_f" ||
++ case $ac_f in
++ [\\/$]*) false;;
++ *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
++ esac ||
++ as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
++ esac
++ case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
++ as_fn_append ac_file_inputs " '$ac_f'"
++ done
++
++ # Let's still pretend it is `configure' which instantiates (i.e., don't
++ # use $as_me), people would be surprised to read:
++ # /* config.h. Generated by config.status. */
++ configure_input='Generated from '`
++ $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
++ `' by configure.'
++ if test x"$ac_file" != x-; then
++ configure_input="$ac_file. $configure_input"
++ { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
++$as_echo "$as_me: creating $ac_file" >&6;}
++ fi
++ # Neutralize special characters interpreted by sed in replacement strings.
++ case $configure_input in #(
++ *\&* | *\|* | *\\* )
++ ac_sed_conf_input=`$as_echo "$configure_input" |
++ sed 's/[\\\\&|]/\\\\&/g'`;; #(
++ *) ac_sed_conf_input=$configure_input;;
++ esac
++
++ case $ac_tag in
++ *:-:* | *:-) cat >"$ac_tmp/stdin" \
++ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
++ esac
++ ;;
++ esac
++
++ ac_dir=`$as_dirname -- "$ac_file" ||
++$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
++ X"$ac_file" : 'X\(//\)[^/]' \| \
++ X"$ac_file" : 'X\(//\)$' \| \
++ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
++$as_echo X"$ac_file" |
++ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
++ s//\1/
++ q
++ }
++ /^X\(\/\/\)[^/].*/{
++ s//\1/
++ q
++ }
++ /^X\(\/\/\)$/{
++ s//\1/
++ q
++ }
++ /^X\(\/\).*/{
++ s//\1/
++ q
++ }
++ s/.*/./; q'`
++ as_dir="$ac_dir"; as_fn_mkdir_p
++ ac_builddir=.
++
++case "$ac_dir" in
++.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
++*)
++ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
++ # A ".." for each directory in $ac_dir_suffix.
++ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
++ case $ac_top_builddir_sub in
++ "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
++ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
++ esac ;;
++esac
++ac_abs_top_builddir=$ac_pwd
++ac_abs_builddir=$ac_pwd$ac_dir_suffix
++# for backward compatibility:
++ac_top_builddir=$ac_top_build_prefix
++
++case $srcdir in
++ .) # We are building in place.
++ ac_srcdir=.
++ ac_top_srcdir=$ac_top_builddir_sub
++ ac_abs_top_srcdir=$ac_pwd ;;
++ [\\/]* | ?:[\\/]* ) # Absolute name.
++ ac_srcdir=$srcdir$ac_dir_suffix;
++ ac_top_srcdir=$srcdir
++ ac_abs_top_srcdir=$srcdir ;;
++ *) # Relative name.
++ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
++ ac_top_srcdir=$ac_top_build_prefix$srcdir
++ ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
++esac
++ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
++
++
++ case $ac_mode in
++ :F)
++ #
++ # CONFIG_FILE
++ #
++
++ case $INSTALL in
++ [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
++ *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
++ esac
++ ac_MKDIR_P=$MKDIR_P
++ case $MKDIR_P in
++ [\\/$]* | ?:[\\/]* ) ;;
++ */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
++ esac
++_ACEOF
++
++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
++# If the template does not know about datarootdir, expand it.
++# FIXME: This hack should be removed a few years after 2.60.
++ac_datarootdir_hack=; ac_datarootdir_seen=
++ac_sed_dataroot='
++/datarootdir/ {
++ p
++ q
++}
++/@datadir@/p
++/@docdir@/p
++/@infodir@/p
++/@localedir@/p
++/@mandir@/p'
++case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
++*datarootdir*) ac_datarootdir_seen=yes;;
++*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
++$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
++_ACEOF
++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
++ ac_datarootdir_hack='
++ s&@datadir@&$datadir&g
++ s&@docdir@&$docdir&g
++ s&@infodir@&$infodir&g
++ s&@localedir@&$localedir&g
++ s&@mandir@&$mandir&g
++ s&\\\${datarootdir}&$datarootdir&g' ;;
++esac
++_ACEOF
++
++# Neutralize VPATH when `$srcdir' = `.'.
++# Shell code in configure.ac might set extrasub.
++# FIXME: do we really want to maintain this feature?
++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
++ac_sed_extra="$ac_vpsub
++$extrasub
++_ACEOF
++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
++:t
++/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
++s|@configure_input@|$ac_sed_conf_input|;t t
++s&@top_builddir@&$ac_top_builddir_sub&;t t
++s&@top_build_prefix@&$ac_top_build_prefix&;t t
++s&@srcdir@&$ac_srcdir&;t t
++s&@abs_srcdir@&$ac_abs_srcdir&;t t
++s&@top_srcdir@&$ac_top_srcdir&;t t
++s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
++s&@builddir@&$ac_builddir&;t t
++s&@abs_builddir@&$ac_abs_builddir&;t t
++s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
++s&@INSTALL@&$ac_INSTALL&;t t
++s&@MKDIR_P@&$ac_MKDIR_P&;t t
++$ac_datarootdir_hack
++"
++eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
++ >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
++
++test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
++ { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
++ { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
++ "$ac_tmp/out"`; test -z "$ac_out"; } &&
++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
++which seems to be undefined. Please make sure it is defined" >&5
++$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
++which seems to be undefined. Please make sure it is defined" >&2;}
++
++ rm -f "$ac_tmp/stdin"
++ case $ac_file in
++ -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
++ *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
++ esac \
++ || as_fn_error $? "could not create $ac_file" "$LINENO" 5
++ ;;
++
++
++ :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
++$as_echo "$as_me: executing $ac_file commands" >&6;}
++ ;;
++ esac
++
++
++ case $ac_file$ac_mode in
++ "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
++ # Autoconf 2.62 quotes --file arguments for eval, but not when files
++ # are listed without --file. Let's play safe and only enable the eval
++ # if we detect the quoting.
++ case $CONFIG_FILES in
++ *\'*) eval set x "$CONFIG_FILES" ;;
++ *) set x $CONFIG_FILES ;;
++ esac
++ shift
++ for mf
++ do
++ # Strip MF so we end up with the name of the file.
++ mf=`echo "$mf" | sed -e 's/:.*$//'`
++ # Check whether this is an Automake generated Makefile or not.
++ # We used to match only the files named `Makefile.in', but
++ # some people rename them; so instead we look at the file content.
++ # Grep'ing the first line is not enough: some people post-process
++ # each Makefile.in and add a new line on top of each file to say so.
++ # Grep'ing the whole file is not good either: AIX grep has a line
++ # limit of 2048, but all sed's we know have understand at least 4000.
++ if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
++ dirpart=`$as_dirname -- "$mf" ||
++$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
++ X"$mf" : 'X\(//\)[^/]' \| \
++ X"$mf" : 'X\(//\)$' \| \
++ X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
++$as_echo X"$mf" |
++ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
++ s//\1/
++ q
++ }
++ /^X\(\/\/\)[^/].*/{
++ s//\1/
++ q
++ }
++ /^X\(\/\/\)$/{
++ s//\1/
++ q
++ }
++ /^X\(\/\).*/{
++ s//\1/
++ q
++ }
++ s/.*/./; q'`
++ else
++ continue
++ fi
++ # Extract the definition of DEPDIR, am__include, and am__quote
++ # from the Makefile without running `make'.
++ DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
++ test -z "$DEPDIR" && continue
++ am__include=`sed -n 's/^am__include = //p' < "$mf"`
++ test -z "am__include" && continue
++ am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
++ # When using ansi2knr, U may be empty or an underscore; expand it
++ U=`sed -n 's/^U = //p' < "$mf"`
++ # Find all dependency output files, they are included files with
++ # $(DEPDIR) in their names. We invoke sed twice because it is the
++ # simplest approach to changing $(DEPDIR) to its actual value in the
++ # expansion.
++ for file in `sed -n "
++ s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
++ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
++ # Make sure the directory exists.
++ test -f "$dirpart/$file" && continue
++ fdir=`$as_dirname -- "$file" ||
++$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
++ X"$file" : 'X\(//\)[^/]' \| \
++ X"$file" : 'X\(//\)$' \| \
++ X"$file" : 'X\(/\)' \| . 2>/dev/null ||
++$as_echo X"$file" |
++ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
++ s//\1/
++ q
++ }
++ /^X\(\/\/\)[^/].*/{
++ s//\1/
++ q
++ }
++ /^X\(\/\/\)$/{
++ s//\1/
++ q
++ }
++ /^X\(\/\).*/{
++ s//\1/
++ q
++ }
++ s/.*/./; q'`
++ as_dir=$dirpart/$fdir; as_fn_mkdir_p
++ # echo "creating $dirpart/$file"
++ echo '# dummy' > "$dirpart/$file"
++ done
++ done
++}
++ ;;
++
++ esac
++done # for ac_tag
++
++
++as_fn_exit 0
++_ACEOF
++ac_clean_files=$ac_clean_files_save
++
++test $ac_write_fail = 0 ||
++ as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
++
++
++# configure is writing to config.log, and then calls config.status.
++# config.status does its own redirection, appending to config.log.
++# Unfortunately, on DOS this fails, as config.log is still kept open
++# by configure, so config.status won't be able to write to it; its
++# output is simply discarded. So we exec the FD to /dev/null,
++# effectively closing config.log, so it can be properly (re)opened and
++# appended to by config.status. When coming back to configure, we
++# need to make the FD available again.
++if test "$no_create" != yes; then
++ ac_cs_success=:
++ ac_config_status_args=
++ test "$silent" = yes &&
++ ac_config_status_args="$ac_config_status_args --quiet"
++ exec 5>/dev/null
++ $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
++ exec 5>>config.log
++ # Use ||, not &&, to avoid exiting from the if with $? = 1, which
++ # would make configure fail if this is the last instruction.
++ $ac_cs_success || as_fn_exit 1
++fi
++if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
++$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
++fi
++
+diff -Naur newlib-1.20.0.orig/newlib/libc/machine/aarch64/configure.in newlib-1.20.0/newlib/libc/machine/aarch64/configure.in
+--- newlib-1.20.0.orig/newlib/libc/machine/aarch64/configure.in 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/newlib/libc/machine/aarch64/configure.in 2012-10-15 10:31:19.586620542 +0200
+@@ -0,0 +1,14 @@
++dnl This is the newlib/libc/machine/aarch64 configure.in file.
++dnl Process this file with autoconf to produce a configure script.
++
++AC_PREREQ(2.59)
++AC_INIT([newlib],[NEWLIB_VERSION])
++AC_CONFIG_SRCDIR([setjmp.S])
++
++dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake.
++AC_CONFIG_AUX_DIR(../../../..)
++
++NEWLIB_CONFIGURE(../../..)
++
++AC_CONFIG_FILES([Makefile])
++AC_OUTPUT
+diff -Naur newlib-1.20.0.orig/newlib/libc/machine/aarch64/Makefile.am newlib-1.20.0/newlib/libc/machine/aarch64/Makefile.am
+--- newlib-1.20.0.orig/newlib/libc/machine/aarch64/Makefile.am 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/newlib/libc/machine/aarch64/Makefile.am 2012-10-15 10:31:19.581620463 +0200
+@@ -0,0 +1,17 @@
++## Process this file with automake to generate Makefile.in
++
++AUTOMAKE_OPTIONS = cygnus
++
++INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
++
++AM_CCASFLAGS = $(INCLUDES)
++
++noinst_LIBRARIES = lib.a
++
++lib_a_SOURCES = setjmp.S
++
++lib_a_CCASFLAGS=$(AM_CCASFLAGS)
++lib_a_CFLAGS=$(AM_CFLAGS)
++
++ACLOCAL_AMFLAGS = -I ../../.. -I ../../../..
++CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host
+diff -Naur newlib-1.20.0.orig/newlib/libc/machine/aarch64/Makefile.in newlib-1.20.0/newlib/libc/machine/aarch64/Makefile.in
+--- newlib-1.20.0.orig/newlib/libc/machine/aarch64/Makefile.in 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/newlib/libc/machine/aarch64/Makefile.in 2012-10-15 10:31:19.582620479 +0200
+@@ -0,0 +1,413 @@
++# Makefile.in generated by automake 1.11.1 from Makefile.am.
++# @configure_input@
++
++# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
++# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
++# Inc.
++# This Makefile.in is free software; the Free Software Foundation
++# gives unlimited permission to copy and/or distribute it,
++# with or without modifications, as long as this notice is preserved.
++
++# This program is distributed in the hope that it will be useful,
++# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
++# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
++# PARTICULAR PURPOSE.
++
++@SET_MAKE@
++
++VPATH = @srcdir@
++pkgdatadir = $(datadir)/@PACKAGE@
++pkgincludedir = $(includedir)/@PACKAGE@
++pkglibdir = $(libdir)/@PACKAGE@
++pkglibexecdir = $(libexecdir)/@PACKAGE@
++am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
++install_sh_DATA = $(install_sh) -c -m 644
++install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
++INSTALL_HEADER = $(INSTALL_DATA)
++transform = $(program_transform_name)
++NORMAL_INSTALL = :
++PRE_INSTALL = :
++POST_INSTALL = :
++NORMAL_UNINSTALL = :
++PRE_UNINSTALL = :
++POST_UNINSTALL = :
++build_triplet = @build@
++host_triplet = @host@
++subdir = .
++DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
++ $(top_srcdir)/configure $(am__configure_deps) \
++ $(srcdir)/../../../../mkinstalldirs
++ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
++am__aclocal_m4_deps = $(top_srcdir)/../../../acinclude.m4 \
++ $(top_srcdir)/configure.in
++am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
++ $(ACLOCAL_M4)
++am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
++ configure.lineno config.status.lineno
++mkinstalldirs = $(SHELL) $(top_srcdir)/../../../../mkinstalldirs
++CONFIG_CLEAN_FILES =
++CONFIG_CLEAN_VPATH_FILES =
++LIBRARIES = $(noinst_LIBRARIES)
++ARFLAGS = cru
++lib_a_AR = $(AR) $(ARFLAGS)
++lib_a_LIBADD =
++am_lib_a_OBJECTS = lib_a-setjmp.$(OBJEXT)
++lib_a_OBJECTS = $(am_lib_a_OBJECTS)
++DEFAULT_INCLUDES = -I.@am__isrc@
++depcomp =
++am__depfiles_maybe =
++CPPASCOMPILE = $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
++ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CCASFLAGS) $(CCASFLAGS)
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++CCLD = $(CC)
++LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
++SOURCES = $(lib_a_SOURCES)
++ETAGS = etags
++CTAGS = ctags
++ACLOCAL = @ACLOCAL@
++AMTAR = @AMTAR@
++AR = @AR@
++AS = @AS@
++AUTOCONF = @AUTOCONF@
++AUTOHEADER = @AUTOHEADER@
++AUTOMAKE = @AUTOMAKE@
++AWK = @AWK@
++CC = @CC@
++CCAS = @CCAS@
++CCASFLAGS = @CCASFLAGS@
++CCDEPMODE = @CCDEPMODE@
++CYGPATH_W = @CYGPATH_W@
++DEFS = @DEFS@
++DEPDIR = @DEPDIR@
++ECHO_C = @ECHO_C@
++ECHO_N = @ECHO_N@
++ECHO_T = @ECHO_T@
++INSTALL = @INSTALL@
++INSTALL_DATA = @INSTALL_DATA@
++INSTALL_PROGRAM = @INSTALL_PROGRAM@
++INSTALL_SCRIPT = @INSTALL_SCRIPT@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
++LDFLAGS = @LDFLAGS@
++LIBOBJS = @LIBOBJS@
++LIBS = @LIBS@
++LTLIBOBJS = @LTLIBOBJS@
++MAINT = @MAINT@
++MAKEINFO = @MAKEINFO@
++MKDIR_P = @MKDIR_P@
++NEWLIB_CFLAGS = @NEWLIB_CFLAGS@
++NO_INCLUDE_LIST = @NO_INCLUDE_LIST@
++OBJEXT = @OBJEXT@
++PACKAGE = @PACKAGE@
++PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
++PACKAGE_NAME = @PACKAGE_NAME@
++PACKAGE_STRING = @PACKAGE_STRING@
++PACKAGE_TARNAME = @PACKAGE_TARNAME@
++PACKAGE_URL = @PACKAGE_URL@
++PACKAGE_VERSION = @PACKAGE_VERSION@
++PATH_SEPARATOR = @PATH_SEPARATOR@
++RANLIB = @RANLIB@
++READELF = @READELF@
++SET_MAKE = @SET_MAKE@
++SHELL = @SHELL@
++STRIP = @STRIP@
++VERSION = @VERSION@
++abs_builddir = @abs_builddir@
++abs_srcdir = @abs_srcdir@
++abs_top_builddir = @abs_top_builddir@
++abs_top_srcdir = @abs_top_srcdir@
++aext = @aext@
++am__include = @am__include@
++am__leading_dot = @am__leading_dot@
++am__quote = @am__quote@
++am__tar = @am__tar@
++am__untar = @am__untar@
++bindir = @bindir@
++build = @build@
++build_alias = @build_alias@
++build_cpu = @build_cpu@
++build_os = @build_os@
++build_vendor = @build_vendor@
++builddir = @builddir@
++datadir = @datadir@
++datarootdir = @datarootdir@
++docdir = @docdir@
++dvidir = @dvidir@
++exec_prefix = @exec_prefix@
++host = @host@
++host_alias = @host_alias@
++host_cpu = @host_cpu@
++host_os = @host_os@
++host_vendor = @host_vendor@
++htmldir = @htmldir@
++includedir = @includedir@
++infodir = @infodir@
++install_sh = @install_sh@
++libdir = @libdir@
++libexecdir = @libexecdir@
++libm_machine_dir = @libm_machine_dir@
++localedir = @localedir@
++localstatedir = @localstatedir@
++lpfx = @lpfx@
++machine_dir = @machine_dir@
++mandir = @mandir@
++mkdir_p = @mkdir_p@
++newlib_basedir = @newlib_basedir@
++oext = @oext@
++oldincludedir = @oldincludedir@
++pdfdir = @pdfdir@
++prefix = @prefix@
++program_transform_name = @program_transform_name@
++psdir = @psdir@
++sbindir = @sbindir@
++sharedstatedir = @sharedstatedir@
++srcdir = @srcdir@
++sys_dir = @sys_dir@
++sysconfdir = @sysconfdir@
++target_alias = @target_alias@
++top_build_prefix = @top_build_prefix@
++top_builddir = @top_builddir@
++top_srcdir = @top_srcdir@
++AUTOMAKE_OPTIONS = cygnus
++INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
++AM_CCASFLAGS = $(INCLUDES)
++noinst_LIBRARIES = lib.a
++lib_a_SOURCES = setjmp.S
++lib_a_CCASFLAGS = $(AM_CCASFLAGS)
++lib_a_CFLAGS = $(AM_CFLAGS)
++ACLOCAL_AMFLAGS = -I ../../.. -I ../../../..
++CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host
++all: all-am
++
++.SUFFIXES:
++.SUFFIXES: .S .o .obj
++am--refresh:
++ @:
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
++ @for dep in $?; do \
++ case '$(am__configure_deps)' in \
++ *$$dep*) \
++ echo ' cd $(srcdir) && $(AUTOMAKE) --cygnus'; \
++ $(am__cd) $(srcdir) && $(AUTOMAKE) --cygnus \
++ && exit 0; \
++ exit 1;; \
++ esac; \
++ done; \
++ echo ' cd $(top_srcdir) && $(AUTOMAKE) --cygnus Makefile'; \
++ $(am__cd) $(top_srcdir) && \
++ $(AUTOMAKE) --cygnus Makefile
++.PRECIOUS: Makefile
++Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
++ @case '$?' in \
++ *config.status*) \
++ echo ' $(SHELL) ./config.status'; \
++ $(SHELL) ./config.status;; \
++ *) \
++ echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
++ cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
++ esac;
++
++$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
++ $(SHELL) ./config.status --recheck
++
++$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
++ $(am__cd) $(srcdir) && $(AUTOCONF)
++$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
++ $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
++$(am__aclocal_m4_deps):
++
++clean-noinstLIBRARIES:
++ -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
++lib.a: $(lib_a_OBJECTS) $(lib_a_DEPENDENCIES)
++ -rm -f lib.a
++ $(lib_a_AR) lib.a $(lib_a_OBJECTS) $(lib_a_LIBADD)
++ $(RANLIB) lib.a
++
++mostlyclean-compile:
++ -rm -f *.$(OBJEXT)
++
++distclean-compile:
++ -rm -f *.tab.c
++
++.S.o:
++ $(CPPASCOMPILE) -c -o $@ $<
++
++.S.obj:
++ $(CPPASCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
++
++lib_a-setjmp.o: setjmp.S
++ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CCASFLAGS) $(CCASFLAGS) -c -o lib_a-setjmp.o `test -f 'setjmp.S' || echo '$(srcdir)/'`setjmp.S
++
++lib_a-setjmp.obj: setjmp.S
++ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CCASFLAGS) $(CCASFLAGS) -c -o lib_a-setjmp.obj `if test -f 'setjmp.S'; then $(CYGPATH_W) 'setjmp.S'; else $(CYGPATH_W) '$(srcdir)/setjmp.S'; fi`
++
++ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
++ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
++ unique=`for i in $$list; do \
++ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
++ done | \
++ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
++ END { if (nonempty) { for (i in files) print i; }; }'`; \
++ mkid -fID $$unique
++tags: TAGS
++
++TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
++ $(TAGS_FILES) $(LISP)
++ set x; \
++ here=`pwd`; \
++ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
++ unique=`for i in $$list; do \
++ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
++ done | \
++ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
++ END { if (nonempty) { for (i in files) print i; }; }'`; \
++ shift; \
++ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
++ test -n "$$unique" || unique=$$empty_fix; \
++ if test $$# -gt 0; then \
++ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
++ "$$@" $$unique; \
++ else \
++ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
++ $$unique; \
++ fi; \
++ fi
++ctags: CTAGS
++CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
++ $(TAGS_FILES) $(LISP)
++ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
++ unique=`for i in $$list; do \
++ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
++ done | \
++ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
++ END { if (nonempty) { for (i in files) print i; }; }'`; \
++ test -z "$(CTAGS_ARGS)$$unique" \
++ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
++ $$unique
++
++GTAGS:
++ here=`$(am__cd) $(top_builddir) && pwd` \
++ && $(am__cd) $(top_srcdir) \
++ && gtags -i $(GTAGS_ARGS) "$$here"
++
++distclean-tags:
++ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
++check-am:
++check: check-am
++all-am: Makefile $(LIBRARIES)
++installdirs:
++install: install-am
++install-exec: install-exec-am
++install-data: install-data-am
++uninstall: uninstall-am
++
++install-am: all-am
++ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
++
++installcheck: installcheck-am
++install-strip:
++ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
++ `test -z '$(STRIP)' || \
++ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
++mostlyclean-generic:
++
++clean-generic:
++
++distclean-generic:
++ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
++ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
++
++maintainer-clean-generic:
++ @echo "This command is intended for maintainers to use"
++ @echo "it deletes files that may require special tools to rebuild."
++clean: clean-am
++
++clean-am: clean-generic clean-noinstLIBRARIES mostlyclean-am
++
++distclean: distclean-am
++ -rm -f $(am__CONFIG_DISTCLEAN_FILES)
++ -rm -f Makefile
++distclean-am: clean-am distclean-compile distclean-generic \
++ distclean-tags
++
++dvi: dvi-am
++
++dvi-am:
++
++html: html-am
++
++html-am:
++
++info: info-am
++
++info-am:
++
++install-data-am:
++
++install-dvi: install-dvi-am
++
++install-dvi-am:
++
++install-exec-am:
++
++install-html: install-html-am
++
++install-html-am:
++
++install-info: install-info-am
++
++install-info-am:
++
++install-man:
++
++install-pdf: install-pdf-am
++
++install-pdf-am:
++
++install-ps: install-ps-am
++
++install-ps-am:
++
++installcheck-am:
++
++maintainer-clean: maintainer-clean-am
++ -rm -f $(am__CONFIG_DISTCLEAN_FILES)
++ -rm -rf $(top_srcdir)/autom4te.cache
++ -rm -f Makefile
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-am
++
++mostlyclean-am: mostlyclean-compile mostlyclean-generic
++
++pdf: pdf-am
++
++pdf-am:
++
++ps: ps-am
++
++ps-am:
++
++uninstall-am:
++
++.MAKE: install-am install-strip
++
++.PHONY: CTAGS GTAGS all all-am am--refresh check check-am clean \
++ clean-generic clean-noinstLIBRARIES ctags distclean \
++ distclean-compile distclean-generic distclean-tags dvi dvi-am \
++ html html-am info info-am install install-am install-data \
++ install-data-am install-dvi install-dvi-am install-exec \
++ install-exec-am install-html install-html-am install-info \
++ install-info-am install-man install-pdf install-pdf-am \
++ install-ps install-ps-am install-strip installcheck \
++ installcheck-am installdirs maintainer-clean \
++ maintainer-clean-generic mostlyclean mostlyclean-compile \
++ mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
++ uninstall-am
++
++
++# Tell versions [3.59,3.63) of GNU make to not export all variables.
++# Otherwise a system limit (for SysV at least) may be exceeded.
++.NOEXPORT:
+diff -Naur newlib-1.20.0.orig/newlib/libc/machine/aarch64/setjmp.S newlib-1.20.0/newlib/libc/machine/aarch64/setjmp.S
+--- newlib-1.20.0.orig/newlib/libc/machine/aarch64/setjmp.S 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/newlib/libc/machine/aarch64/setjmp.S 2012-10-15 10:31:19.586620542 +0200
+@@ -0,0 +1,74 @@
++/*
++ Copyright (c) 2011, 2012 ARM Ltd
++ All rights reserved.
++
++ Redistribution and use in source and binary forms, with or without
++ modification, are permitted provided that the following conditions
++ are met:
++ 1. Redistributions of source code must retain the above copyright
++ notice, this list of conditions and the following disclaimer.
++ 2. Redistributions in binary form must reproduce the above copyright
++ notice, this list of conditions and the following disclaimer in the
++ documentation and/or other materials provided with the distribution.
++ 3. The name of the company may not be used to endorse or promote
++ products derived from this software without specific prior written
++ permission.
++
++ THIS SOFTWARE IS PROVIDED BY ARM LTD ``AS IS'' AND ANY EXPRESS OR IMPLIED
++ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
++ MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
++ IN NO EVENT SHALL ARM LTD BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
++ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
++ TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
++ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
++ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
++ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
++ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
++ */
++
++#define GPR_LAYOUT \
++ REG_PAIR (x19, x20, 0); \
++ REG_PAIR (x21, x22, 16); \
++ REG_PAIR (x23, x24, 32); \
++ REG_PAIR (x25, x26, 48); \
++ REG_PAIR (x27, x28, 64); \
++ REG_PAIR (x29, x30, 80); \
++ REG_ONE (x16, 96)
++
++#define FPR_LAYOUT \
++ REG_PAIR ( d8, d9, 112); \
++ REG_PAIR (d10, d11, 128); \
++ REG_PAIR (d12, d13, 144); \
++ REG_PAIR (d14, d15, 160);
++
++// int setjmp (jmp_buf)
++ .global setjmp
++ .type setjmp, %function
++setjmp:
++ mov x16, sp
++#define REG_PAIR(REG1, REG2, OFFS) stp REG1, REG2, [x0, OFFS]
++#define REG_ONE(REG1, OFFS) str REG1, [x0, OFFS]
++ GPR_LAYOUT
++ FPR_LAYOUT
++#undef REG_PAIR
++#undef REG_ONE
++ mov w0, #0
++ ret
++ .size setjmp, .-setjmp
++
++// void longjmp (jmp_buf, int) __attribute__ ((noreturn))
++ .global longjmp
++ .type longjmp, %function
++longjmp:
++#define REG_PAIR(REG1, REG2, OFFS) ldp REG1, REG2, [x0, OFFS]
++#define REG_ONE(REG1, OFFS) ldr REG1, [x0, OFFS]
++ GPR_LAYOUT
++ FPR_LAYOUT
++#undef REG_PAIR
++#undef REG_ONE
++ mov sp, x16
++ cmp w1, #0
++ cinc w0, w1, eq
++ // use br not ret, as ret is guaranteed to mispredict
++ br x30
++ .size longjmp, .-longjmp
+diff -Naur newlib-1.20.0.orig/newlib/libc/machine/arm/access.c newlib-1.20.0/newlib/libc/machine/arm/access.c
+--- newlib-1.20.0.orig/newlib/libc/machine/arm/access.c 2004-06-09 21:05:09.000000000 +0200
++++ newlib-1.20.0/newlib/libc/machine/arm/access.c 2012-10-15 10:31:19.587620559 +0200
+@@ -3,7 +3,7 @@
+ * Copyright (C) 1993 DJ Delorie
+ * All rights reserved.
+ *
+- * Redistribution and use in source and binary forms is permitted
++ * Redistribution, modification, and use in source and binary forms is permitted
+ * provided that the above copyright notice and following paragraph are
+ * duplicated in all such forms.
+ *
+diff -Naur newlib-1.20.0.orig/newlib/libc/machine/arm/arm_asm.h newlib-1.20.0/newlib/libc/machine/arm/arm_asm.h
+--- newlib-1.20.0.orig/newlib/libc/machine/arm/arm_asm.h 2011-10-18 13:35:17.000000000 +0200
++++ newlib-1.20.0/newlib/libc/machine/arm/arm_asm.h 2012-10-15 10:31:19.587620559 +0200
+@@ -62,22 +62,7 @@
+
+
+ /* Now some macros for common instruction sequences. */
+-#ifdef __ASSEMBLER__
+-.macro RETURN cond=
+-#if defined (_ISA_ARM_4T) || defined (_ISA_THUMB_1)
+- bx\cond lr
+-#else
+- mov\cond pc, lr
+-#endif
+-.endm
+-
+-.macro optpld base, offset=#0
+-#if defined (_ISA_ARM_7)
+- pld [\base, \offset]
+-#endif
+-.endm
+
+-#else
+ asm(".macro RETURN cond=\n\t"
+ #if defined (_ISA_ARM_4T) || defined (_ISA_THUMB_1)
+ "bx\\cond lr\n\t"
+@@ -93,6 +78,5 @@
+ #endif
+ ".endm"
+ );
+-#endif
+
+ #endif /* ARM_ASM__H */
+diff -Naur newlib-1.20.0.orig/newlib/libc/machine/arm/Makefile.am newlib-1.20.0/newlib/libc/machine/arm/Makefile.am
+--- newlib-1.20.0.orig/newlib/libc/machine/arm/Makefile.am 2011-10-18 13:35:17.000000000 +0200
++++ newlib-1.20.0/newlib/libc/machine/arm/Makefile.am 2012-10-15 10:31:19.586620542 +0200
+@@ -8,9 +8,7 @@
+
+ noinst_LIBRARIES = lib.a
+
+-lib_a_SOURCES = setjmp.S access.c strlen.c strcmp.c strcpy.c \
+- memcpy.S memcpy-stub.c memchr-stub.c memchr.S \
+- strlen.c strlen-armv7.S
++lib_a_SOURCES = setjmp.S access.c strlen.c strcmp.c strcpy.c
+ lib_a_CCASFLAGS=$(AM_CCASFLAGS)
+ lib_a_CFLAGS = $(AM_CFLAGS)
+
+diff -Naur newlib-1.20.0.orig/newlib/libc/machine/arm/Makefile.in newlib-1.20.0/newlib/libc/machine/arm/Makefile.in
+--- newlib-1.20.0.orig/newlib/libc/machine/arm/Makefile.in 2012-04-27 11:00:26.832002960 +0200
++++ newlib-1.20.0/newlib/libc/machine/arm/Makefile.in 2012-10-15 10:31:19.587620559 +0200
+@@ -54,10 +54,7 @@
+ lib_a_LIBADD =
+ am_lib_a_OBJECTS = lib_a-setjmp.$(OBJEXT) lib_a-access.$(OBJEXT) \
+ lib_a-strlen.$(OBJEXT) lib_a-strcmp.$(OBJEXT) \
+- lib_a-strcpy.$(OBJEXT) lib_a-memcpy.$(OBJEXT) \
+- lib_a-memcpy-stub.$(OBJEXT) lib_a-memchr-stub.$(OBJEXT) \
+- lib_a-memchr.$(OBJEXT) lib_a-strlen.$(OBJEXT) \
+- lib_a-strlen-armv7.$(OBJEXT)
++ lib_a-strcpy.$(OBJEXT)
+ lib_a_OBJECTS = $(am_lib_a_OBJECTS)
+ DEFAULT_INCLUDES = -I.@am__isrc@
+ depcomp =
+@@ -178,10 +175,7 @@
+ INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
+ AM_CCASFLAGS = $(INCLUDES)
+ noinst_LIBRARIES = lib.a
+-lib_a_SOURCES = setjmp.S access.c strlen.c strcmp.c strcpy.c \
+- memcpy.S memcpy-stub.c memchr-stub.c memchr.S \
+- strlen.c strlen-armv7.S
+-
++lib_a_SOURCES = setjmp.S access.c strlen.c strcmp.c strcpy.c
+ lib_a_CCASFLAGS = $(AM_CCASFLAGS)
+ lib_a_CFLAGS = $(AM_CFLAGS)
+ ACLOCAL_AMFLAGS = -I ../../.. -I ../../../..
+@@ -250,24 +244,6 @@
+ lib_a-setjmp.obj: setjmp.S
+ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CCASFLAGS) $(CCASFLAGS) -c -o lib_a-setjmp.obj `if test -f 'setjmp.S'; then $(CYGPATH_W) 'setjmp.S'; else $(CYGPATH_W) '$(srcdir)/setjmp.S'; fi`
+
+-lib_a-memcpy.o: memcpy.S
+- $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CCASFLAGS) $(CCASFLAGS) -c -o lib_a-memcpy.o `test -f 'memcpy.S' || echo '$(srcdir)/'`memcpy.S
+-
+-lib_a-memcpy.obj: memcpy.S
+- $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CCASFLAGS) $(CCASFLAGS) -c -o lib_a-memcpy.obj `if test -f 'memcpy.S'; then $(CYGPATH_W) 'memcpy.S'; else $(CYGPATH_W) '$(srcdir)/memcpy.S'; fi`
+-
+-lib_a-memchr.o: memchr.S
+- $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CCASFLAGS) $(CCASFLAGS) -c -o lib_a-memchr.o `test -f 'memchr.S' || echo '$(srcdir)/'`memchr.S
+-
+-lib_a-memchr.obj: memchr.S
+- $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CCASFLAGS) $(CCASFLAGS) -c -o lib_a-memchr.obj `if test -f 'memchr.S'; then $(CYGPATH_W) 'memchr.S'; else $(CYGPATH_W) '$(srcdir)/memchr.S'; fi`
+-
+-lib_a-strlen-armv7.o: strlen-armv7.S
+- $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CCASFLAGS) $(CCASFLAGS) -c -o lib_a-strlen-armv7.o `test -f 'strlen-armv7.S' || echo '$(srcdir)/'`strlen-armv7.S
+-
+-lib_a-strlen-armv7.obj: strlen-armv7.S
+- $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CCASFLAGS) $(CCASFLAGS) -c -o lib_a-strlen-armv7.obj `if test -f 'strlen-armv7.S'; then $(CYGPATH_W) 'strlen-armv7.S'; else $(CYGPATH_W) '$(srcdir)/strlen-armv7.S'; fi`
+-
+ .c.o:
+ $(COMPILE) -c $<
+
+@@ -298,18 +274,6 @@
+ lib_a-strcpy.obj: strcpy.c
+ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CFLAGS) $(CFLAGS) -c -o lib_a-strcpy.obj `if test -f 'strcpy.c'; then $(CYGPATH_W) 'strcpy.c'; else $(CYGPATH_W) '$(srcdir)/strcpy.c'; fi`
+
+-lib_a-memcpy-stub.o: memcpy-stub.c
+- $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CFLAGS) $(CFLAGS) -c -o lib_a-memcpy-stub.o `test -f 'memcpy-stub.c' || echo '$(srcdir)/'`memcpy-stub.c
+-
+-lib_a-memcpy-stub.obj: memcpy-stub.c
+- $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CFLAGS) $(CFLAGS) -c -o lib_a-memcpy-stub.obj `if test -f 'memcpy-stub.c'; then $(CYGPATH_W) 'memcpy-stub.c'; else $(CYGPATH_W) '$(srcdir)/memcpy-stub.c'; fi`
+-
+-lib_a-memchr-stub.o: memchr-stub.c
+- $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CFLAGS) $(CFLAGS) -c -o lib_a-memchr-stub.o `test -f 'memchr-stub.c' || echo '$(srcdir)/'`memchr-stub.c
+-
+-lib_a-memchr-stub.obj: memchr-stub.c
+- $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CFLAGS) $(CFLAGS) -c -o lib_a-memchr-stub.obj `if test -f 'memchr-stub.c'; then $(CYGPATH_W) 'memchr-stub.c'; else $(CYGPATH_W) '$(srcdir)/memchr-stub.c'; fi`
+-
+ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ unique=`for i in $$list; do \
+diff -Naur newlib-1.20.0.orig/newlib/libc/machine/arm/memchr.S newlib-1.20.0/newlib/libc/machine/arm/memchr.S
+--- newlib-1.20.0.orig/newlib/libc/machine/arm/memchr.S 2011-10-18 13:35:17.000000000 +0200
++++ newlib-1.20.0/newlib/libc/machine/arm/memchr.S 1970-01-01 01:00:00.000000000 +0100
+@@ -1,166 +0,0 @@
+-/* Copyright (c) 2010-2011, Linaro Limited
+- All rights reserved.
+-
+- Redistribution and use in source and binary forms, with or without
+- modification, are permitted provided that the following conditions
+- are met:
+-
+- * Redistributions of source code must retain the above copyright
+- notice, this list of conditions and the following disclaimer.
+-
+- * Redistributions in binary form must reproduce the above copyright
+- notice, this list of conditions and the following disclaimer in the
+- documentation and/or other materials provided with the distribution.
+-
+- * Neither the name of Linaro Limited nor the names of its
+- contributors may be used to endorse or promote products derived
+- from this software without specific prior written permission.
+-
+- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+- THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+-
+- Written by Dave Gilbert <david.gilbert@linaro.org>
+-
+- This memchr routine is optimised on a Cortex-A9 and should work on
+- all ARMv7 processors. It has a fast path for short sizes, and has
+- an optimised path for large data sets; the worst case is finding the
+- match early in a large data set. */
+-
+-@ 2011-02-07 david.gilbert@linaro.org
+-@ Extracted from local git a5b438d861
+-@ 2011-07-14 david.gilbert@linaro.org
+-@ Import endianness fix from local git ea786f1b
+-@ 2011-10-11 david.gilbert@linaro.org
+-@ Import from cortex-strings bzr rev 63
+-@ Flip to ldrd (as suggested by Greta Yorsh)
+-@ Make conditional on CPU type
+-@ tidy
+-
+- .syntax unified
+- .arch armv7-a
+-
+-#include "arm_asm.h"
+-
+-@ NOTE: This ifdef MUST match the one in memchr-stub.c
+-#if defined(_ISA_ARM_7) || defined(__ARM_ARCH_6T2__)
+-
+-@ this lets us check a flag in a 00/ff byte easily in either endianness
+-#ifdef __ARMEB__
+-#define CHARTSTMASK(c) 1<<(31-(c*8))
+-#else
+-#define CHARTSTMASK(c) 1<<(c*8)
+-#endif
+- .text
+- .thumb
+-
+-@ ---------------------------------------------------------------------------
+- .thumb_func
+- .align 2
+- .p2align 4,,15
+- .global memchr
+- .type memchr,%function
+-memchr:
+- @ r0 = start of memory to scan
+- @ r1 = character to look for
+- @ r2 = length
+- @ returns r0 = pointer to character or NULL if not found
+- and r1,r1,#0xff @ Don't trust the caller to pass a char
+-
+- cmp r2,#16 @ If short don't bother with anything clever
+- blt 20f
+-
+- tst r0, #7 @ If it's already aligned skip the next bit
+- beq 10f
+-
+- @ Work up to an aligned point
+-5:
+- ldrb r3, [r0],#1
+- subs r2, r2, #1
+- cmp r3, r1
+- beq 50f @ If it matches exit found
+- tst r0, #7
+- cbz r2, 40f @ If we run off the end, exit not found
+- bne 5b @ If not aligned yet then do next byte
+-
+-10:
+- @ We are aligned, we know we have at least 8 bytes to work with
+- push {r4,r5,r6,r7}
+- orr r1, r1, r1, lsl #8 @ expand the match word across all bytes
+- orr r1, r1, r1, lsl #16
+- bic r4, r2, #7 @ Number of double words to work with * 8
+- mvns r7, #0 @ all F's
+- movs r3, #0
+-
+-15:
+- ldrd r5,r6,[r0],#8
+- subs r4, r4, #8
+- eor r5,r5, r1 @ r5,r6 have 00's where bytes match the target
+- eor r6,r6, r1
+- uadd8 r5, r5, r7 @ Par add 0xff - sets GE bits for bytes!=0
+- sel r5, r3, r7 @ bytes are 00 for none-00 bytes,
+- @ or ff for 00 bytes - NOTE INVERSION
+- uadd8 r6, r6, r7 @ Par add 0xff - sets GE bits for bytes!=0
+- sel r6, r5, r7 @ chained....bytes are 00 for none-00 bytes
+- @ or ff for 00 bytes - NOTE INVERSION
+- cbnz r6, 60f
+- bne 15b @ (Flags from the subs above)
+-
+- pop {r4,r5,r6,r7}
+- and r1,r1,#0xff @ r1 back to a single character
+- and r2,r2,#7 @ Leave the count remaining as the number
+- @ after the double words have been done
+-
+-20:
+- cbz r2, 40f @ 0 length or hit the end already then not found
+-
+-21: @ Post aligned section, or just a short call
+- ldrb r3,[r0],#1
+- subs r2,r2,#1
+- eor r3,r3,r1 @ r3 = 0 if match - doesn't break flags from sub
+- cbz r3, 50f
+- bne 21b @ on r2 flags
+-
+-40:
+- movs r0,#0 @ not found
+- bx lr
+-
+-50:
+- subs r0,r0,#1 @ found
+- bx lr
+-
+-60: @ We're here because the fast path found a hit
+- @ now we have to track down exactly which word it was
+- @ r0 points to the start of the double word after the one tested
+- @ r5 has the 00/ff pattern for the first word, r6 has the chained value
+- cmp r5, #0
+- itte eq
+- moveq r5, r6 @ the end is in the 2nd word
+- subeq r0,r0,#3 @ Points to 2nd byte of 2nd word
+- subne r0,r0,#7 @ or 2nd byte of 1st word
+-
+- @ r0 currently points to the 2nd byte of the word containing the hit
+- tst r5, # CHARTSTMASK(0) @ 1st character
+- bne 61f
+- adds r0,r0,#1
+- tst r5, # CHARTSTMASK(1) @ 2nd character
+- ittt eq
+- addeq r0,r0,#1
+- tsteq r5, # (3<<15) @ 2nd & 3rd character
+- @ If not the 3rd must be the last one
+- addeq r0,r0,#1
+-
+-61:
+- pop {r4,r5,r6,r7}
+- subs r0,r0,#1
+- bx lr
+-
+-#endif
+diff -Naur newlib-1.20.0.orig/newlib/libc/machine/arm/memchr-stub.c newlib-1.20.0/newlib/libc/machine/arm/memchr-stub.c
+--- newlib-1.20.0.orig/newlib/libc/machine/arm/memchr-stub.c 2011-10-18 13:35:17.000000000 +0200
++++ newlib-1.20.0/newlib/libc/machine/arm/memchr-stub.c 1970-01-01 01:00:00.000000000 +0100
+@@ -1,42 +0,0 @@
+-/* Copyright (c) 2010-2011, Linaro Limited
+- All rights reserved.
+-
+- Redistribution and use in source and binary forms, with or without
+- modification, are permitted provided that the following conditions
+- are met:
+-
+- * Redistributions of source code must retain the above copyright
+- notice, this list of conditions and the following disclaimer.
+-
+- * Redistributions in binary form must reproduce the above copyright
+- notice, this list of conditions and the following disclaimer in the
+- documentation and/or other materials provided with the distribution.
+-
+- * Neither the name of Linaro Limited nor the names of its
+- contributors may be used to endorse or promote products derived
+- from this software without specific prior written permission.
+-
+- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+- THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+-*/
+-
+-#include "arm_asm.h"
+-
+-
+-/* Note: This ifdef MUST match the one in memchr.S */
+-#if defined(_ISA_ARM_7) || defined(__ARM_ARCH_6T2__)
+- /* Do nothing - the memchr.S will get used */
+-#else
+- /* For an older CPU we just fall back to the .c code */
+-#include "../../string/memchr.c"
+-#endif
+-
+diff -Naur newlib-1.20.0.orig/newlib/libc/machine/arm/memcpy.S newlib-1.20.0/newlib/libc/machine/arm/memcpy.S
+--- newlib-1.20.0.orig/newlib/libc/machine/arm/memcpy.S 2011-10-04 18:02:25.000000000 +0200
++++ newlib-1.20.0/newlib/libc/machine/arm/memcpy.S 1970-01-01 01:00:00.000000000 +0100
+@@ -1,423 +0,0 @@
+-/*
+- * Copyright (c) 2011 ARM Ltd
+- * All rights reserved.
+- *
+- * Redistribution and use in source and binary forms, with or without
+- * modification, are permitted provided that the following conditions
+- * are met:
+- * 1. Redistributions of source code must retain the above copyright
+- * notice, this list of conditions and the following disclaimer.
+- * 2. Redistributions in binary form must reproduce the above copyright
+- * notice, this list of conditions and the following disclaimer in the
+- * documentation and/or other materials provided with the distribution.
+- * 3. The name of the company may not be used to endorse or promote
+- * products derived from this software without specific prior written
+- * permission.
+- *
+- * THIS SOFTWARE IS PROVIDED BY ARM LTD ``AS IS'' AND ANY EXPRESS OR IMPLIED
+- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+- * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+- * IN NO EVENT SHALL ARM LTD BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
+- * TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+- * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+- */
+-
+-#if (defined (__OPTIMIZE_SIZE__) || defined (PREFER_SIZE_OVER_SPEED) || \
+- (!(defined (__ARM_ARCH_7A__))))
+-
+- /* Do nothing here. See memcpy-stub.c in the same directory. */
+-
+-#else
+- /* Prototype: void *memcpy (void *dst, const void *src, size_t count). */
+-
+- /* Use the version of memcpy implemented using LDRD and STRD.
+- This version is tuned for Cortex-A15.
+- This might not be the best for other ARMv7-A CPUs,
+- but there is no predefine to distinguish between
+- different CPUs in the same architecture,
+- and this version is better than the plain memcpy provided in newlib.
+-
+- Therefore, we use this version for all ARMv7-A CPUS. */
+-
+- /* To make the same code compile for both ARM and Thumb instruction
+- sets, switch to unified syntax at the beginning of this function.
+- However, by using the same code, we may be missing optimization
+- opportunities. For instance, in LDRD/STRD instructions, the first
+- destination register must be even and the second consecutive in
+- ARM state, but not in Thumb state. */
+-
+- .syntax unified
+-
+-#if defined (__thumb__)
+- .thumb
+- .thumb_func
+-#endif
+-
+- .global memcpy
+- .type memcpy, %function
+-memcpy:
+-
+- /* Assumes that n >= 0, and dst, src are valid pointers.
+- If there is at least 8 bytes to copy, use LDRD/STRD.
+- If src and dst are misaligned with different offsets,
+- first copy byte by byte until dst is aligned,
+- and then copy using LDRD/STRD and shift if needed.
+- When less than 8 left, copy a word and then byte by byte. */
+-
+- /* Save registers (r0 holds the return value):
+- optimized push {r0, r4, r5, lr}.
+- To try and improve performance, stack layout changed,
+- i.e., not keeping the stack looking like users expect
+- (highest numbered register at highest address). */
+- push {r0, lr}
+- strd r4, r5, [sp, #-8]!
+-
+- /* TODO: Add debug frame directives.
+- We don't need exception unwind directives, because the code below
+- does not throw any exceptions and does not call any other functions.
+- Generally, newlib functions like this lack debug information for
+- assembler source. */
+-
+- /* Get copying of tiny blocks out of the way first. */
+- /* Is there at least 4 bytes to copy? */
+- subs r2, r2, #4
+- blt copy_less_than_4 /* If n < 4. */
+-
+- /* Check word alignment. */
+- ands ip, r0, #3 /* ip = last 2 bits of dst. */
+- bne dst_not_word_aligned /* If dst is not word-aligned. */
+-
+- /* Get here if dst is word-aligned. */
+- ands ip, r1, #3 /* ip = last 2 bits of src. */
+- bne src_not_word_aligned /* If src is not word-aligned. */
+-word_aligned:
+- /* Get here if source and dst both are word-aligned.
+- The number of bytes remaining to copy is r2+4. */
+-
+- /* Is there is at least 64 bytes to copy? */
+- subs r2, r2, #60
+- blt copy_less_than_64 /* If r2 + 4 < 64. */
+-
+- /* First, align the destination buffer to 8-bytes,
+- to make sure double loads and stores don't cross cache line boundary,
+- as they are then more expensive even if the data is in the cache
+- (require two load/store issue cycles instead of one).
+- If only one of the buffers is not 8-bytes aligned,
+- then it's more important to align dst than src,
+- because there is more penalty for stores
+- than loads that cross cacheline boundary.
+- This check and realignment are only worth doing
+- if there is a lot to copy. */
+-
+- /* Get here if dst is word aligned,
+- i.e., the 2 least significant bits are 0.
+- If dst is not 2w aligned (i.e., the 3rd bit is not set in dst),
+- then copy 1 word (4 bytes). */
+- ands r3, r0, #4
+- beq 11f /* If dst already two-word aligned. */
+- ldr r3, [r1], #4
+- str r3, [r0], #4
+- subs r2, r2, #4
+- blt copy_less_than_64
+-
+-11:
+- /* TODO: Align to cacheline (useful for PLD optimization). */
+-
+- /* Every loop iteration copies 64 bytes. */
+-1:
+- .irp offset, #0, #8, #16, #24, #32, #40, #48, #56
+- ldrd r4, r5, [r1, \offset]
+- strd r4, r5, [r0, \offset]
+- .endr
+-
+- add r0, r0, #64
+- add r1, r1, #64
+- subs r2, r2, #64
+- bge 1b /* If there is more to copy. */
+-
+-copy_less_than_64:
+-
+- /* Get here if less than 64 bytes to copy, -64 <= r2 < 0.
+- Restore the count if there is more than 7 bytes to copy. */
+- adds r2, r2, #56
+- blt copy_less_than_8
+-
+- /* Copy 8 bytes at a time. */
+-2:
+- ldrd r4, r5, [r1], #8
+- strd r4, r5, [r0], #8
+- subs r2, r2, #8
+- bge 2b /* If there is more to copy. */
+-
+-copy_less_than_8:
+-
+- /* Get here if less than 8 bytes to copy, -8 <= r2 < 0.
+- Check if there is more to copy. */
+- cmn r2, #8
+- beq return /* If r2 + 8 == 0. */
+-
+- /* Restore the count if there is more than 3 bytes to copy. */
+- adds r2, r2, #4
+- blt copy_less_than_4
+-
+- /* Copy 4 bytes. */
+- ldr r3, [r1], #4
+- str r3, [r0], #4
+-
+-copy_less_than_4:
+- /* Get here if less than 4 bytes to copy, -4 <= r2 < 0. */
+-
+- /* Restore the count, check if there is more to copy. */
+- adds r2, r2, #4
+- beq return /* If r2 == 0. */
+-
+- /* Get here with r2 is in {1,2,3}={01,10,11}. */
+- /* Logical shift left r2, insert 0s, update flags. */
+- lsls r2, r2, #31
+-
+- /* Copy byte by byte.
+- Condition ne means the last bit of r2 is 0.
+- Condition cs means the second to last bit of r2 is set,
+- i.e., r2 is 1 or 3. */
+- itt ne
+- ldrbne r3, [r1], #1
+- strbne r3, [r0], #1
+-
+- itttt cs
+- ldrbcs r4, [r1], #1
+- ldrbcs r5, [r1]
+- strbcs r4, [r0], #1
+- strbcs r5, [r0]
+-
+-return:
+- /* Restore registers: optimized pop {r0, r4, r5, pc} */
+- ldrd r4, r5, [sp], #8
+- pop {r0, pc} /* This is the only return point of memcpy. */
+-
+-#ifndef __ARM_FEATURE_UNALIGNED
+-
+- /* The following assembly macro implements misaligned copy in software.
+- Assumes that dst is word aligned, src is at offset "pull" bits from
+- word, push = 32 - pull, and the number of bytes that remain to copy
+- is r2 + 4, r2 >= 0. */
+-
+- /* In the code below, r2 is the number of bytes that remain to be
+- written. The number of bytes read is always larger, because we have
+- partial words in the shift queue. */
+-
+- .macro miscopy pull push shiftleft shiftright
+-
+- /* Align src to the previous word boundary. */
+- bic r1, r1, #3
+-
+- /* Initialize the shift queue. */
+- ldr r5, [r1], #4 /* Load a word from source. */
+-
+- subs r2, r2, #4
+- blt 6f /* Go to misaligned copy of less than 8 bytes. */
+-
+- /* Get here if there is more than 8 bytes to copy.
+- The number of bytes to copy is r2+8, r2 >= 0. */
+-
+- /* Save registers: push { r6, r7 }.
+- We need additional registers for LDRD and STRD, because in ARM state
+- the first destination register must be even and the second
+- consecutive. */
+- strd r6, r7, [sp, #-8]!
+-
+- subs r2, r2, #56
+- blt 4f /* Go to misaligned copy of less than 64 bytes. */
+-
+-3:
+- /* Get here if there is more than 64 bytes to copy.
+- The number of bytes to copy is r2+64, r2 >= 0. */
+-
+- /* Copy 64 bytes in every iteration.
+- Use a partial word from the shift queue. */
+- .irp offset, #0, #8, #16, #24, #32, #40, #48, #56
+- mov r6, r5, \shiftleft #\pull
+- ldrd r4, r5, [r1, \offset]
+- orr r6, r6, r4, \shiftright #\push
+- mov r7, r4, \shiftleft #\pull
+- orr r7, r7, r5, \shiftright #\push
+- strd r6, r7, [r0, \offset]
+- .endr
+-
+- add r1, r1, #64
+- add r0, r0, #64
+- subs r2, r2, #64
+- bge 3b
+-
+-4:
+- /* Get here if there is less than 64 bytes to copy (-64 <= r2 < 0)
+- and they are misaligned. */
+-
+- /* Restore the count if there is more than 7 bytes to copy. */
+- adds r2, r2, #56
+-
+- /* If less than 8 bytes to copy,
+- restore registers saved for this loop: optimized poplt { r6, r7 }. */
+- itt lt
+- ldrdlt r6, r7, [sp], #8
+- blt 6f /* Go to misaligned copy of less than 8 bytes. */
+-
+-5:
+- /* Copy 8 bytes at a time.
+- Use a partial word from the shift queue. */
+- mov r6, r5, \shiftleft #\pull
+- ldrd r4, r5, [r1], #8
+- orr r6, r6, r4, \shiftright #\push
+- mov r7, r4, \shiftleft #\pull
+- orr r7, r7, r5, \shiftright #\push
+- strd r6, r7, [r0], #8
+-
+- subs r2, r2, #8
+- bge 5b /* If there is more to copy. */
+-
+- /* Restore registers saved for this loop: optimized pop { r6, r7 }. */
+- ldrd r6, r7, [sp], #8
+-
+-6:
+- /* Get here if there less than 8 bytes to copy (-8 <= r2 < 0)
+- and they are misaligned. */
+-
+- /* Check if there is more to copy. */
+- cmn r2, #8
+- beq return
+-
+- /* Check if there is less than 4 bytes to copy. */
+- cmn r2, #4
+-
+- itt lt
+- /* Restore src offset from word-align. */
+- sublt r1, r1, #(\push / 8)
+- blt copy_less_than_4
+-
+- /* Use a partial word from the shift queue. */
+- mov r3, r5, \shiftleft #\pull
+- /* Load a word from src, but without writeback
+- (this word is not fully written to dst). */
+- ldr r5, [r1]
+-
+- /* Restore src offset from word-align. */
+- add r1, r1, #(\pull / 8)
+-
+- /* Shift bytes to create one dst word and store it. */
+- orr r3, r3, r5, \shiftright #\push
+- str r3, [r0], #4
+-
+- /* Use single byte copying of the remaining bytes. */
+- b copy_less_than_4
+-
+- .endm
+-
+-#endif /* not __ARM_FEATURE_UNALIGNED */
+-
+-dst_not_word_aligned:
+-
+- /* Get here when dst is not aligned and ip has the last 2 bits of dst,
+- i.e., ip is the offset of dst from word.
+- The number of bytes that remains to copy is r2 + 4,
+- i.e., there are at least 4 bytes to copy.
+- Write a partial word (0 to 3 bytes), such that dst becomes
+- word-aligned. */
+-
+- /* If dst is at ip bytes offset from a word (with 0 < ip < 4),
+- then there are (4 - ip) bytes to fill up to align dst to the next
+- word. */
+- rsb ip, ip, #4 /* ip = #4 - ip. */
+- cmp ip, #2
+-
+- /* Copy byte by byte with conditionals. */
+- itt gt
+- ldrbgt r3, [r1], #1
+- strbgt r3, [r0], #1
+-
+- itt ge
+- ldrbge r4, [r1], #1
+- strbge r4, [r0], #1
+-
+- ldrb lr, [r1], #1
+- strb lr, [r0], #1
+-
+- /* Update the count.
+- ip holds the number of bytes we have just copied. */
+- subs r2, r2, ip /* r2 = r2 - ip. */
+- blt copy_less_than_4 /* If r2 < ip. */
+-
+- /* Get here if there are more than 4 bytes to copy.
+- Check if src is aligned. If beforehand src and dst were not word
+- aligned but congruent (same offset), then now they are both
+- word-aligned, and we can copy the rest efficiently (without
+- shifting). */
+- ands ip, r1, #3 /* ip = last 2 bits of src. */
+- beq word_aligned /* If r1 is word-aligned. */
+-
+-src_not_word_aligned:
+- /* Get here when src is not word-aligned, but dst is word-aligned.
+- The number of bytes that remains to copy is r2+4. */
+-
+-#ifdef __ARM_FEATURE_UNALIGNED
+- /* Copy word by word using LDR when alignment can be done in hardware,
+- i.e., SCTLR.A is set, supporting unaligned access in LDR and STR. */
+- subs r2, r2, #60
+- blt 8f
+-
+-7:
+- /* Copy 64 bytes in every loop iteration. */
+- .irp offset, #0, #4, #8, #12, #16, #20, #24, #28, #32, #36, #40, #44, #48, #52, #56, #60
+- ldr r3, [r1, \offset]
+- str r3, [r0, \offset]
+- .endr
+-
+- add r0, r0, #64
+- add r1, r1, #64
+- subs r2, r2, #64
+- bge 7b
+-
+-8:
+- /* Get here if less than 64 bytes to copy, -64 <= r2 < 0.
+- Check if there is more than 3 bytes to copy. */
+- adds r2, r2, #60
+- blt copy_less_than_4
+-
+-9:
+- /* Get here if there is less than 64 but at least 4 bytes to copy,
+- where the number of bytes to copy is r2+4. */
+- ldr r3, [r1], #4
+- str r3, [r0], #4
+- subs r2, r2, #4
+- bge 9b
+-
+- b copy_less_than_4
+-
+-#else /* not __ARM_FEATURE_UNALIGNED */
+-
+- /* ip has last 2 bits of src,
+- i.e., ip is the offset of src from word, and ip > 0.
+- Compute shifts needed to copy from src to dst. */
+- cmp ip, #2
+- beq miscopy_16_16 /* If ip == 2. */
+- bge miscopy_24_8 /* If ip == 3. */
+-
+- /* Get here if ip == 1. */
+-
+- /* Endian independent macros for shifting bytes within registers. */
+-
+-#ifndef __ARMEB__
+-miscopy_8_24: miscopy pull=8 push=24 shiftleft=lsr shiftright=lsl
+-miscopy_16_16: miscopy pull=16 push=16 shiftleft=lsr shiftright=lsl
+-miscopy_24_8: miscopy pull=24 push=8 shiftleft=lsr shiftright=lsl
+-#else /* not __ARMEB__ */
+-miscopy_8_24: miscopy pull=8 push=24 shiftleft=lsl shiftright=lsr
+-miscopy_16_16: miscopy pull=16 push=16 shiftleft=lsl shiftright=lsr
+-miscopy_24_8: miscopy pull=24 push=8 shiftleft=lsl shiftright=lsr
+-#endif /* not __ARMEB__ */
+-
+-#endif /* not __ARM_FEATURE_UNALIGNED */
+-
+-#endif /* memcpy */
+diff -Naur newlib-1.20.0.orig/newlib/libc/machine/arm/memcpy-stub.c newlib-1.20.0/newlib/libc/machine/arm/memcpy-stub.c
+--- newlib-1.20.0.orig/newlib/libc/machine/arm/memcpy-stub.c 2011-09-29 15:28:50.000000000 +0200
++++ newlib-1.20.0/newlib/libc/machine/arm/memcpy-stub.c 1970-01-01 01:00:00.000000000 +0100
+@@ -1,38 +0,0 @@
+-/*
+- * Copyright (c) 2011 ARM Ltd
+- * All rights reserved.
+- *
+- * Redistribution and use in source and binary forms, with or without
+- * modification, are permitted provided that the following conditions
+- * are met:
+- * 1. Redistributions of source code must retain the above copyright
+- * notice, this list of conditions and the following disclaimer.
+- * 2. Redistributions in binary form must reproduce the above copyright
+- * notice, this list of conditions and the following disclaimer in the
+- * documentation and/or other materials provided with the distribution.
+- * 3. The name of the company may not be used to endorse or promote
+- * products derived from this software without specific prior written
+- * permission.
+- *
+- * THIS SOFTWARE IS PROVIDED BY ARM LTD ``AS IS'' AND ANY EXPRESS OR IMPLIED
+- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+- * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+- * IN NO EVENT SHALL ARM LTD BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
+- * TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+- * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+- */
+-
+-/* The sole purpose of this file is to include the plain memcpy provided in newlib.
+- An optimized version of memcpy is provided in the assembly file memcpy.S in this directory. */
+-#if (defined (__OPTIMIZE_SIZE__) || defined (PREFER_SIZE_OVER_SPEED) || \
+- (!(defined (__ARM_ARCH_7A__))))
+-
+-#include "../../string/memcpy.c"
+-
+-#else
+- /* Do nothing. See memcpy.S in this directory. */
+-#endif
+diff -Naur newlib-1.20.0.orig/newlib/libc/machine/arm/strlen-armv7.S newlib-1.20.0/newlib/libc/machine/arm/strlen-armv7.S
+--- newlib-1.20.0.orig/newlib/libc/machine/arm/strlen-armv7.S 2011-10-18 13:35:17.000000000 +0200
++++ newlib-1.20.0/newlib/libc/machine/arm/strlen-armv7.S 1970-01-01 01:00:00.000000000 +0100
+@@ -1,127 +0,0 @@
+-/* Copyright (c) 2010-2011, Linaro Limited
+- All rights reserved.
+-
+- Redistribution and use in source and binary forms, with or without
+- modification, are permitted provided that the following conditions
+- are met:
+-
+- * Redistributions of source code must retain the above copyright
+- notice, this list of conditions and the following disclaimer.
+-
+- * Redistributions in binary form must reproduce the above copyright
+- notice, this list of conditions and the following disclaimer in the
+- documentation and/or other materials provided with the distribution.
+-
+- * Neither the name of Linaro Limited nor the names of its
+- contributors may be used to endorse or promote products derived
+- from this software without specific prior written permission.
+-
+- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+- THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+-
+- Written by Dave Gilbert <david.gilbert@linaro.org>
+-
+- This strlen routine is optimised on a Cortex-A9 and should work on
+- all ARMv7 processors. This routine is reasonably fast for short
+- strings, but is probably slower than a simple implementation if all
+- your strings are very short */
+-
+-@ 2011-02-08 david.gilbert@linaro.org
+-@ Extracted from local git 6848613a
+-@ 2011-10-13 david.gilbert@linaro.org
+-@ Extracted from cortex-strings bzr rev 63
+-@ Integrate to newlib, flip to ldrd
+-@ Pull in Endian macro from my memchr
+-
+-#include "arm_asm.h"
+-
+-@ NOTE: This ifdef MUST match the ones in arm/strlen.c
+-@ We fallback to the one in arm/strlen.c for size optimised or
+-@ for older arch's
+-#if defined(_ISA_ARM_7) || defined(__ARM_ARCH_6T2__) && \
+- !(defined (__OPTIMIZE_SIZE__) || defined (PREFER_SIZE_OVER_SPEED) || \
+- (defined (__thumb__) && !defined (__thumb2__)))
+-
+-@ this lets us check a flag in a 00/ff byte easily in either endianness
+-#ifdef __ARMEB__
+-#define CHARTSTMASK(c) 1<<(31-(c*8))
+-#else
+-#define CHARTSTMASK(c) 1<<(c*8)
+-#endif
+-
+-@------------------------------------------------------------------------------
+- .syntax unified
+- .arch armv7-a
+-
+- .thumb_func
+- .align 2
+- .p2align 4,,15
+- .global strlen
+- .type strlen,%function
+-strlen:
+- @ r0 = string
+- @ returns count of bytes in string not including terminator
+- mov r1, r0
+- push { r4,r6 }
+- mvns r6, #0 @ all F
+- movs r4, #0
+- tst r0, #7
+- beq 2f
+-
+-1:
+- ldrb r2, [r1], #1
+- tst r1, #7 @ Hit alignment yet?
+- cbz r2, 10f @ Exit if we found the 0
+- bne 1b
+-
+- @ So we're now aligned
+-2:
+- ldrd r2,r3,[r1],#8
+- uadd8 r2, r2, r6 @ Par add 0xff - sets the GE bits for bytes!=0
+- sel r2, r4, r6 @ bytes are 00 for none-00 bytes,
+- @ or ff for 00 bytes - NOTE INVERSION
+- uadd8 r3, r3, r6 @ Par add 0xff - sets the GE bits for bytes!=0
+- sel r3, r2, r6 @ chained...bytes are 00 for none-00 bytes,
+- @ or ff for 00 bytes - NOTE INVERSION
+- cmp r3, #0
+- beq 2b
+-
+-strlenendtmp:
+- @ One (or more) of the bytes we loaded was 0 - but which one?
+- @ r2 has the mask corresponding to the first loaded word
+- @ r3 has a combined mask of the two words - but if r2 was all-non 0
+- @ then it's just the 2nd words
+- cmp r2, #0
+- itte eq
+- moveq r2, r3 @ the end is in the 2nd word
+- subeq r1,r1,#3
+- subne r1,r1,#7
+-
+- @ r1 currently points to the 2nd byte of the word containing the 0
+- tst r2, # CHARTSTMASK(0) @ 1st character
+- bne 10f
+- adds r1,r1,#1
+- tst r2, # CHARTSTMASK(1) @ 2nd character
+- ittt eq
+- addeq r1,r1,#1
+- tsteq r2, # (3<<15) @ 2nd & 3rd character
+- @ If not the 3rd must be the last one
+- addeq r1,r1,#1
+-
+-10:
+- @ r0 is still at the beginning, r1 is pointing 1 byte after the nul
+- sub r0, r1, r0
+- subs r0, r0, #1
+- pop { r4, r6 }
+- bx lr
+-
+-#endif
+diff -Naur newlib-1.20.0.orig/newlib/libc/machine/arm/strlen.c newlib-1.20.0/newlib/libc/machine/arm/strlen.c
+--- newlib-1.20.0.orig/newlib/libc/machine/arm/strlen.c 2011-10-18 13:35:17.000000000 +0200
++++ newlib-1.20.0/newlib/libc/machine/arm/strlen.c 2012-10-15 10:31:19.589620590 +0200
+@@ -60,8 +60,6 @@
+ }
+ #else
+
+-#if !(defined(_ISA_ARM_7) || defined(__ARM_ARCH_6T2__))
+-
+ size_t __attribute__((naked))
+ strlen (const char* str)
+ {
+@@ -180,4 +178,3 @@
+ "RETURN");
+ }
+ #endif
+-#endif
+diff -Naur newlib-1.20.0.orig/newlib/libc/machine/configure newlib-1.20.0/newlib/libc/machine/configure
+--- newlib-1.20.0.orig/newlib/libc/machine/configure 2011-12-19 23:03:21.000000000 +0100
++++ newlib-1.20.0/newlib/libc/machine/configure 2012-10-15 10:31:19.592620638 +0200
+@@ -784,6 +784,7 @@
+ CPPFLAGS
+ CPP'
+ ac_subdirs_all='a29k
++aarch64
+ arm
+ bfin
+ cr16
+@@ -791,6 +792,7 @@
+ crx
+ d10v
+ d30v
++epiphany
+ fr30
+ frv
+ h8300
+@@ -11455,7 +11457,7 @@
+ lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
+ lt_status=$lt_dlunknown
+ cat > conftest.$ac_ext <<_LT_EOF
+-#line 11458 "configure"
++#line 11460 "configure"
+ #include "confdefs.h"
+
+ #if HAVE_DLFCN_H
+@@ -11561,7 +11563,7 @@
+ lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
+ lt_status=$lt_dlunknown
+ cat > conftest.$ac_ext <<_LT_EOF
+-#line 11564 "configure"
++#line 11566 "configure"
+ #include "confdefs.h"
+
+ #if HAVE_DLFCN_H
+@@ -11806,6 +11808,8 @@
+
+ subdirs="$subdirs a29k"
+ ;;
++ aarch64) subdirs="$subdirs aarch64"
++ ;;
+ arm) subdirs="$subdirs arm"
+ ;;
+ bfin) subdirs="$subdirs bfin"
+@@ -11820,6 +11824,8 @@
+ ;;
+ d30v) subdirs="$subdirs d30v"
+ ;;
++ epiphany) subdirs="$subdirs epiphany"
++ ;;
+ fr30) subdirs="$subdirs fr30"
+ ;;
+ frv) subdirs="$subdirs frv"
+diff -Naur newlib-1.20.0.orig/newlib/libc/machine/configure.in newlib-1.20.0/newlib/libc/machine/configure.in
+--- newlib-1.20.0.orig/newlib/libc/machine/configure.in 2011-11-29 07:33:49.000000000 +0100
++++ newlib-1.20.0/newlib/libc/machine/configure.in 2012-10-15 10:31:19.593620656 +0200
+@@ -24,6 +24,7 @@
+ if test -n "${machine_dir}"; then
+ case ${machine_dir} in
+ a29k) AC_CONFIG_SUBDIRS(a29k) ;;
++ aarch64) AC_CONFIG_SUBDIRS(aarch64) ;;
+ arm) AC_CONFIG_SUBDIRS(arm) ;;
+ bfin) AC_CONFIG_SUBDIRS(bfin) ;;
+ cr16) AC_CONFIG_SUBDIRS(cr16) ;;
+@@ -31,6 +32,7 @@
+ crx) AC_CONFIG_SUBDIRS(crx) ;;
+ d10v) AC_CONFIG_SUBDIRS(d10v) ;;
+ d30v) AC_CONFIG_SUBDIRS(d30v) ;;
++ epiphany) AC_CONFIG_SUBDIRS(epiphany) ;;
+ fr30) AC_CONFIG_SUBDIRS(fr30) ;;
+ frv) AC_CONFIG_SUBDIRS(frv) ;;
+ h8300) AC_CONFIG_SUBDIRS(h8300) ;;
+diff -Naur newlib-1.20.0.orig/newlib/libc/machine/cr16/sys/asm.h newlib-1.20.0/newlib/libc/machine/cr16/sys/asm.h
+--- newlib-1.20.0.orig/newlib/libc/machine/cr16/sys/asm.h 2010-12-02 20:30:47.000000000 +0100
++++ newlib-1.20.0/newlib/libc/machine/cr16/sys/asm.h 2012-10-15 10:31:19.594620673 +0200
+@@ -1,6 +1,6 @@
+ /* asm.h -- CR16 architecture intrinsic functions
+ *
+- * Copyright (c) 2004 National Semiconductor Corporation
++ * Copyright (c) 2012 National Semiconductor Corporation
+ *
+ * The authors hereby grant permission to use, copy, modify, distribute,
+ * and license this software and its documentation for any purpose, provided
+@@ -20,14 +20,6 @@
+ the user's responsibility to use the intrinsic functions with appropriate
+ immediate values. */
+
+-/* Absolute Instructions */
+-#define _absb_(src, dest) __asm__("absb %1, %0" : "=r" (dest) : \
+- "r" ((char)src) , "0" (dest))
+-#define _absw_(src, dest) __asm__("absw %1,%0" : "=r" (dest) : \
+- "r" ((short)src) , "0" (dest))
+-#define _absd_(src, dest) __asm__("absd %1, %0" : "=r" (dest) : \
+- "r" ((int)src) , "0" (dest))
+-
+ /* Addition Instructions */
+ #define _addb_(src, dest) __asm__("addb %1, %0" : "=r" (dest) : \
+ "ri" ((unsigned char)src), "0" (dest) : "cc")
+@@ -38,166 +30,97 @@
+ #define _adduw_(src, dest) __asm__("adduw %1, %0" : "=r" (dest) : \
+ "ri" ((unsigned short)src), "0" (dest) : "cc")
+ #define _addd_(src, dest) __asm__("addd %1, %0" : "=r" (dest) : \
+- "ri" ((unsigned int)src), "0" (dest) : "cc")
+-#define _addud_(src, dest) __asm__("addud %1, %0" : "=r" (dest) : \
+- "ri" ((unsigned int)src), "0" (dest) : "cc")
++ "ri" ((unsigned long)src), "0" (dest) : "cc")
++
+ /* Add with Carry */
+ #define _addcb_(src, dest) __asm__("addcb %1, %0" : "=r" (dest) : \
+ "ri" ((unsigned char)src), "0" (dest) : "cc")
+ #define _addcw_(src, dest) __asm__("addcw %1, %0" : "=r" (dest) : \
+ "ri" ((unsigned short)src), "0" (dest) : "cc")
+-#define _addcd_(src, dest) __asm__("addcd %1, %0" : "=r" (dest) : \
+- "ri" ((unsigned int)src), "0" (dest) : "cc")
+-/* Q-format Add */
+-#define _addqb_(src, dest) __asm__("addqb %1, %0" : "=r" (dest) : \
+- "r" ((unsigned char)src), "0" (dest) : "cc")
+-#define _addqw_(src, dest) __asm__("addqw %1, %0" : "=r" (dest) : \
+- "r" ((unsigned short)src), "0" (dest) : "cc")
+-#define _addqd_(src, dest) __asm__("addqd %1, %0" : "=r" (dest) : \
+- "r" ((unsigned int)src), "0" (dest) : "cc")
+-
++
+ /* Bitwise Logical AND */
++#define _andb_(src, dest) __asm__("andb %1,%0" : "=r" (dest) : \
++ "ri" ((unsigned char)src) , "0" (dest))
++#define _andw_(src, dest) __asm__("andw %1,%0" : "=r" (dest) : \
++ "ri" ((unsigned short)src) , "0" (dest))
++#define _andd_(src, dest) __asm__("andd %1,%0" : "=r" (dest) : \
++ "ri" ((unsigned long)src) , "0" (dest))
++
++/* Arithmetic shift Instructions */
++#define _ashub_(count, dest) __asm__("ashub %1,%0" : "=r" (dest) : \
++ "ri" ((char)count) , "0" (dest) )
++#define _ashuw_(count, dest) __asm__("ashuw %1,%0" : "=r" (dest) : \
++ "ri" ((char)count) , "0" (dest) )
++#define _ashud_(count, dest) __asm__("ashud %1,%0" : "=r" (dest) : \
++ "ri" ((char)count) , "0" (dest) )
+
+-#define _andb_(src, dest) __asm__("andb %1,%0" : "=r" (dest) : \
+- "ri" ((unsigned char)src) , "0" (dest))
+-#define _andw_(src, dest) __asm__("andw %1,%0" : "=r" (dest) : \
+- "ri" ((unsigned short)src) , "0" (dest))
+-#define _andd_(src, dest) __asm__("andd %1,%0" : "=r" (dest) : \
+- "ri" ((unsigned int)src) , "0" (dest))
+-
+-/* bswap Instruction */
+-#define _bswap_(src, dest) __asm__("bswap %1,%0" : "=r" (dest) : \
+- "r" ((unsigned int)src) , "0" (dest))
+ /* cbit (clear bit) Instructions */
+-#define _cbitb_(pos, dest) __asm__("cbitb %1,%0" : "=mr" (dest) : \
+- "i" ((unsigned char)pos) , "0" (dest) : "cc")
+-#define _cbitw_(pos, dest) __asm__("cbitw %1,%0" : "=mr" (dest) : \
+- "i" ((unsigned char)pos) , "0" (dest) : "cc")
+-#define _cbitd_(pos, dest) __asm__("cbitd %1,%0" : "=r" (dest) : \
+- "i" ((unsigned char)pos) , "0" (dest) : "cc")
++#define _cbitb_(pos, dest) __asm__("cbitb %1,%0" : "=mr" (dest) : \
++ "i" ((unsigned char)pos) , "0" (dest) : "cc")
++#define _cbitw_(pos, dest) __asm__("cbitw %1,%0" : "=mr" (dest) : \
++ "i" ((unsigned char)pos) , "0" (dest) : "cc")
+
+ /* Compare Instructions */
+-#define _cmpb_(src1, src2) __asm__("cmpb %0,%1" : /* no output */ : \
+- "ri" ((unsigned char)src1) , "r" (src2) : "cc")
+-#define _cmpw_(src1,src2) __asm__("cmpw %0,%1" : /* no output */ \
+- : "ri" ((unsigned short)src1) , "r" (src2) : "cc")
+-#define _cmpd_(src1,src2) __asm__("cmpd %0,%1" : /* no output */ \
+- : "ri" ((unsigned int)src1) , "r" (src2) : "cc")
+-
+-/* cntl Count Leading Ones Instructions */
+-#define _cntl1b_(src, dest) __asm__("cntl1b %1,%0" : "=r" (dest) : \
+- "r" ((char)src) , "0" (dest))
+-#define _cntl1w_(src, dest) __asm__("cntl1w %1,%0" : "=r" (dest) : \
+- "r" ((short)src) , "0" (dest))
+-#define _cntl1d_(src, dest) __asm__("cntl1d %1,%0" : "=r" (dest) : \
+- "r" ((int)src) , "0" (dest))
+-
+-/* cntl Count Leading Zeros Instructions */
+-#define _cntl0b_(src, dest) __asm__("cntl0b %1,%0" : "=r" (dest) : \
+- "r" ((char)src) , "0" (dest))
+-#define _cntl0w_(src, dest) __asm__("cntl0w %1,%0" : "=r" (dest) : \
+- "r" ((short)src) , "0" (dest))
+-#define _cntl0d_(src, dest) __asm__("cntl0d %1,%0" : "=r" (dest) : \
+- "r" ((int)src) , "0" (dest))
+-
+-/* cntl Count Leading Signs Instructions */
+-#define _cntlsb_(src, dest) __asm__("cntlsb %1,%0" : "=r" (dest) : \
+- "r" ((char)src) , "0" (dest))
+-#define _cntlsw_(src, dest) __asm__("cntlsw %1,%0" : "=r" (dest) : \
+- "r" ((short)src) , "0" (dest))
+-#define _cntlsd_(src, dest) __asm__("cntlsd %1,%0" : "=r" (dest) : \
+- "r" ((int)src) , "0" (dest))
++#define _cmpb_(src1, src2) __asm__("cmpb %0,%1" : /* no output */ : \
++ "ri" ((unsigned char)src1) , "r" (src2) : "cc")
++#define _cmpw_(src1, src2) __asm__("cmpw %0,%1" : /* no output */ : \
++ "ri" ((unsigned short)src1) , "r" (src2) : "cc")
++#define _cmpd_(src1, src2) __asm__("cmpd %0,%1" : /* no output */ : \
++ "ri" ((unsigned long)src1) , "r" (src2) : "cc")
+
+ /* Disable Inerrupts instructions */
+-#define _di_() __asm__ volatile ("di\n" : : : "cc")
+-#define _disable_() __asm__ volatile ("di\n" : : : "cc")
++#define _di_() __asm__ volatile ("di\n" : : : "cc")
++#define _disable_() __asm__ volatile ("di\n" : : : "cc")
++#define _disable_interrupt_() _di_
+
+ /* Enable Inerrupts instructions */
+-#define _ei_() __asm__ volatile ("ei\n" : : : "cc")
+-#define _enable_() __asm__ volatile ("ei\n" : : : "cc")
++#define _ei_() __asm__ volatile ("ei\n" : : : "cc")
++#define _enable_() __asm__ volatile ("ei\n" : : : "cc")
++#define _enable_interrupt_() _ei_
+
+ /* Enable Inerrupts instructions and Wait */
+-#define _eiwait_() __asm__ volatile ("eiwait" : : : "cc")
++#define _eiwait_() __asm__ volatile ("eiwait" : : : "cc")
+
+ /* excp Instructions */
+-#define _excp_(vector) __asm__ volatile ("excp " # vector)
+-
+-/* getpid Instruction */
+-#define _getrfid_(dest) __asm__("getrfid %0" : "=r" (dest) : \
+- /* No input */ : "cc")
+-
++#define _excp_(vector) __asm__ volatile ("excp " # vector)
++
++/* lpr and lprd Instructions */
++#define _lpr_(procreg, src) __asm__("lpr\t%0," procreg : \
++ /* no output */ : "r" (src) : "cc")
++#define _lprd_(procregd, src) __asm__("lprd\t%0," procregd : \
++ /* no output */ : "r" (src) : "cc")
++/* Left Shift Instructions */
++#define _lshb_(count, dest) __asm__("lshb %1,%0" : "=r" (dest) : \
++ "ri" ((char)count) , "0" (dest) )
++#define _lshw_(count, dest) __asm__("lshw %1,%0" : "=r" (dest) : \
++ "ri" ((char)count) , "0" (dest) )
++#define _lshd_(count, dest) __asm__("lshd %1,%0" : "=r" (dest) : \
++ "ri" ((char)count) , "0" (dest) )
++
+ /* Load Instructions */
+-#define _loadb_(base,dest) __asm__("loadb %1,%0" : "=r" (dest) : \
++#define _loadb_(base, dest) __asm__("loadb %1,%0" : "=r" (dest) : \
+ "m" (base) , "0" (dest))
+-#define _loadw_(base,dest) __asm__("loadw %1,%0" : "=r" (dest) : \
+- "m" (base) , "0" (dest))
+-#define _loadd_(base,dest) __asm__("loadd %1,%0" : "=r" (dest) : \
++#define _loadw_(base, dest) __asm__("loadw %1,%0" : "=r" (dest) : \
++ "m" (base) , "0" (dest))
++#define _loadd_(base, dest) __asm__("loadd %1,%0" : "=r" (dest) : \
+ "m" (base) , "0" (dest))
+
+ /* Load Multiple Instructions */
+-#define _loadm_(src, mask) __asm__("loadm %0,%1" : /* No output */ : \
++#define _loadm_(src, mask) __asm__("loadm %0,%1" : /* No output */ : \
+ "r" ((unsigned int)src) , "i" (mask))
+-#define _loadmp_(src, mask) __asm__("loadmp %0,%1" : /* No output */ : \
++#define _loadmp_(src, mask) __asm__("loadmp %0,%1" : /* No output */ : \
+ "r" ((unsigned int)src) , "i" (mask))
+
+ /* Multiply Accumulate Instrutions */
+-#define _macsb_(hi, lo, src1, src2) __asm__("macsb %1,%0" \
+- : =l (lo), =h (hi) \
+- : "r" ((char)src1) , "r" (src2))
+-#define _macsw_(hi, lo, src1, src2) __asm__("macsw %1,%0" \
+- : =l (lo), =h (hi) \
+- : "r" ((short)src1) , "r" (src2))
+-#define _macsd_(hi, lo, src1, src2) __asm__("macsd %1,%0" \
+- : =l (lo), =h (hi) \
+- : "r" ((int)src1) , "r" (src2))
+-#define _macub_(hi, lo, src1, src2) __asm__("macub %1,%0" \
+- : =l (lo), =h (hi) \
+- :"r" ((unsigned char)src1) , "r" (src2))
+-#define _macuw_(hi, lo, src1, src2) __asm__("macuw %1,%0" \
+- : =l (lo), =h (hi) \
+- : "r" ((unsigned short)src1) , "r" (src2))
+-#define _macud_(hi, lo, src1, src2) __asm__("macud %1,%0" \
+- : =l (lo), =h (hi) \
+- : "r" ((unsigned int)src1) , "r" (src2))
+-
+-/* Q-Format Multiply Accumulate Instrutions */
+-#define _macqb_(src1, src2) __asm__("macqb %1,%0" \
+- : =l (lo), =h (hi) \
+- :"r" ((char)src1) , "r" (src2))
+-#define _macqw_(src1, src2) __asm__("macqw %1,%0" \
+- : =l (lo), =h (hi) \
+- :"r" ((short)src1) , "r" (src2))
+-#define _macqd_(src1, src2) __asm__("macqd %1,%0" \
+- : =l (lo), =h (hi) \
+- :"r" ((int)src1) , "r" (src2))
+-
+-/* Maximum Instructions */
+-#define _maxsb_(src, dest) __asm__("maxsb %1,%0" : "=r" (dest) : \
+- "r" ((char)src) , "0" (dest))
+-#define _maxsw_(src, dest) __asm__("maxsw %1,%0" : "=r" (dest) : \
+- "r" ((short)src) , "0" (dest))
+-#define _maxsd_(src, dest) __asm__("maxsd %1,%0" : "=r" (dest) : \
+- "r" ((int)src) , "0" (dest))
+-#define _maxub_(src, dest) __asm__("maxub %1,%0" : "=r" (dest) : \
+- "r" ((unsigned char)src) , "0" (dest))
+-#define _maxuw_(src, dest) __asm__("maxuw %1,%0" : "=r" (dest) : \
+- "r" ((unsigned short)src) , "0" (dest))
+-#define _maxud_(src, dest) __asm__("maxud %1,%0" : "=r" (dest) : \
+- "r" ((unsigned int)src) , "0" (dest))
+-
+-/* Minimum Instructions */
+-#define _minsb_(src, dest) __asm__("minsb %1,%0" : "=r" (dest) : \
+- "r" ((char)src) , "0" (dest))
+-#define _minsw_(src, dest) __asm__("minsw %1,%0" : "=r" (dest) : \
+- "r" ((short)src) , "0" (dest))
+-#define _minsd_(src, dest) __asm__("minsd %1,%0" : "=r" (dest) : \
+- "r" ((int)src) , "0" (dest))
+-#define _minub_(src, dest) __asm__("minub %1,%0" : "=r" (dest) : \
+- "r" ((unsigned char)src) , "0" (dest))
+-#define _minuw_(src, dest) __asm__("minuw %1,%0" : "=r" (dest) : \
+- "r" ((unsigned short)src) , "0" (dest))
+-#define _minud_(src, dest) __asm__("minud %1,%0" : "=r" (dest) : \
+- "r" ((unsigned int)src) , "0" (dest))
++#define _macsw_(hi, lo, src1, src2) __asm__("macsw %1,%0" \
++ : =l (lo), =h (hi) \
++ : "r" ((short)src1) , "r" (src2))
++#define _macuw_(hi, lo, src1, src2) __asm__("macuw %1,%0" \
++ : =l (lo), =h (hi) \
++ : "r" ((unsigned short)src1) , "r" (src2))
++#define _macqw_(src1, src2) __asm__("macqw %1,%0" \
++ : =l (lo), =h (hi) \
++ :"r" ((short)src1) , "r" (src2))
+
+ /* Move Instructions */
+ #define _movb_(src, dest) __asm__("movb %1,%0" : "=r" (dest) : \
+@@ -206,152 +129,59 @@
+ "ri" ((unsigned short)src) , "0" (dest))
+ #define _movd_(src, dest) __asm__("movd %1,%0" : "=r" (dest) : \
+ "ri" ((unsigned int)src) , "0" (dest))
+-
+-/* mtpr and mfpr Insturctions */
+-#define _mtpr_(procregd, src) __asm__("mtpr\t%0," procregd : /* no output */ : \
+- "r" (src) : "cc")
+-#define _mfpr_(procregd, dest) __asm__("mfpr\t" procregd ",%0" : "=r" (dest) : \
+- /* no input */ "0" (dest) : "cc")
+-
++#define _movxb_(src, dest) __asm__("movxb %1,%0" : "=r" (dest) : \
++ "r" (src), "0" (dest) )
++#define _movzb_(src, dest) __asm__("movzb %1,%0" : "=r" (dest) : \
++ "r" (src), "0" (dest) )
++#define _movxw_(src, dest) __asm__("movxw %1,%0" : "=r" (dest) : \
++ "r" (src), "0" (dest) )
++#define _movzw_(src, dest) __asm__("movzw %1,%0" : "=r" (dest) : \
++ "r" (src), "0" (dest) )
++
+ /* Multiplication Instructions */
+-#define _mulsbw_(src, dest) __asm__("mulsbw %1,%0" : "=r" (dest) : \
+- "r" ((char)src) , "0" (dest))
+-#define _mulubw_(src, dest) __asm__("mulubw %1,%0" : "=r" (dest) : \
+- "r" ((unsigned char)src) , "0" (dest))
+-#define _mulswd_(src, dest) __asm__("mulswd %1,%0" : "=r" (dest) : \
+- "r" ((short)src) , "0" (dest))
+-#define _muluwd_(src, dest) __asm__("muluwd %1,%0" : "=r" (dest) : \
+- "r" ((unsigned short)src) , "0" (dest))
+ #define _mulb_(src, dest) __asm__("mulb %1,%0" : "=r" (dest) : \
+ "ri" ((char)src) , "0" (dest))
+ #define _mulw_(src, dest) __asm__("mulw %1,%0" : "=r" (dest) : \
+ "ri" ((short)src) , "0" (dest))
+-#define _muld_(src, dest) __asm__("muld %1,%0" : "=r" (dest) : \
+- "ri" ((int)src) , "0" (dest))
+-#define _mullsd_(hi, lo, src1, src2) __asm__("mullsd %2,%3" \
+- : =l (lo), =h (hi) \
+- : "r" ((unsigned int)src1) , "r" ((unsigned int)src2))
+-#define _mullud_(hi, lo, src1, src2) __asm__("mullud %2,%3" \
+- : =l (lo), =h (hi) \
+- : "r" ((int)src1) , "r" ((int)src2))
+-
+-/* Q-Format Multiplication Instructions */
+-#define _mulqb_(src, dest) __asm__("mulqb %1,%0" : "=r" (dest) : \
++#define _mulsb_(src, dest) __asm__("mulsb %1,%0" : "=r" (dest) : \
+ "r" ((char)src) , "0" (dest))
+-#define _mulqw_(src, dest) __asm__("mulqw %1,%0" : "=r" (dest) : \
++#define _mulsw_(src, dest) __asm__("mulsw %1,%0" : "=r" (dest) : \
+ "r" ((short)src) , "0" (dest))
++#define _muluw_(src, dest) __asm__("muluw %1,%0" : "=r" (dest) : \
++ "r" ((unsigned short)src) , "0" (dest))
+
+ /* nop Instruction */
+-#define _nop_() __asm__("nop")
+-
+-/* Negate Instructions */
+-#define _negb_(src, dest) __asm__("negb %1,%0" : "=r" (dest) : \
+- "r" ((char)src) , "0" (dest))
+-#define _negw_(src, dest) __asm__("negw %1,%0" : "=r" (dest) : \
+- "r" ((short)src) , "0" (dest))
+-#define _negd_(src, dest) __asm__("negd %1,%0" : "=r" (dest) : \
+- "r" ((int)src) , "0" (dest))
++#define _nop_() __asm__("nop")
+
+ /* or Instructions */
+ #define _orb_(src, dest) __asm__("orb %1,%0" : "=r" (dest) : \
+- "ri" ((unsigned char)src) , "0" (dest))
++ "ri" ((unsigned char)src) , "0" (dest))
+ #define _orw_(src, dest) __asm__("orw %1,%0" : "=r" (dest) : \
+- "ri" ((unsigned short)src) , "0" (dest))
++ "ri" ((unsigned short)src) , "0" (dest))
+ #define _ord_(src, dest) __asm__("ord %1,%0" : "=r" (dest) : \
+- "ri" ((unsigned int)src) , "0" (dest))
+-
+-/* Pop 1's Count Instructions */
+-#define _popcntb_(src, dest) __asm__("popcntb %1,%0" : "=r" (dest) : \
+- "r" ((char)src) , "0" (dest))
+-#define _popcntw_(src, dest) __asm__("popcntw %1,%0" : "=r" (dest) : \
+- "r" ((short)src) , "0" (dest))
+-#define _popcntd_(src, dest) __asm__("popcntd %1,%0" : "=r" (dest) : \
+- "r" ((int)src) , "0" (dest))
+-
+-/* Rotate and Mask Instructions */
+-#define _ram_(shift, end, begin, dest, src) __asm__("ram %1, %2, %3, %0, %4" : \
+- "=r" (dest) : \
+- "i" ((unsigned char) shift), \
+- "i" (end), "i" (begin), \
+- "r" (src), "0" (dest))
+-#define _rim_(shift, end, begin, dest, src) __asm__("rim %1, %2, %3, %0, %4" : \
+- "=r" (dest) : \
+- "i" ((unsigned char) shift), \
+- "i" (end), "i" (begin), \
+- "r" (src), "0" (dest))
++ "ri" ((unsigned int)src) , "0" (dest))
+
+ /* retx Instruction */
+-#define _retx_() __asm__("retx")
+-
+-/* Rotate Instructions */
+-#define _rotb_(shift, dest) __asm__("rotb %1,%0" : "=r" (dest) : \
+- "i" ((unsigned char)shift) , "0" (dest))
+-#define _rotw_(shift, dest) __asm__("rotw %1,%0" : "=r" (dest) : \
+- "i" ((unsigned char)shift) , "0" (dest))
+-#define _rotd_(shift, dest) __asm__("rotd %1,%0" : "=r" (dest) : \
+- "i" ((unsigned char)shift) , "0" (dest))
+-#define _rotlb_(shift, dest) __asm__("rotlb %1,%0" : "=r" (dest) : \
+- "r" ((unsigned char)shift) , "0" (dest))
+-#define _rotlw_(shift, dest) __asm__("rotlw %1,%0" : "=r" (dest) : \
+- "r" ((unsigned char)shift) , "0" (dest))
+-#define _rotld_(shift, dest) __asm__("rotld %1,%0" : "=r" (dest) : \
+- "r" ((unsigned char)shift) , "0" (dest))
+-#define _rotrb_(shift, dest) __asm__("rotrb %1,%0" : "=r" (dest) : \
+- "r" ((unsigned char)shift) , "0" (dest))
+-#define _rotrw_(shift, dest) __asm__("rotrw %1,%0" : "=r" (dest) : \
+- "r" ((unsigned char)shift) , "0" (dest))
+-#define _rotrd_(shift, dest) __asm__("rotrd %1,%0" : "=r" (dest) : \
+- "r" ((unsigned char)shift) , "0" (dest))
++#define _retx_() __asm__("retx")
+
+ /* Set Bit Instructions */
+-#define _sbitb_(pos,dest) __asm__("sbitb %1,%0" : "=mr" (dest) : \
+- "i" ((unsigned char)pos) , "0" (dest) : "cc")
+-#define _sbitw_(pos,dest) __asm__("sbitw %1,%0" : "=mr" (dest) : \
+- "i" ((unsigned char)pos) , "0" (dest) : "cc")
+-#define _sbitd_(pos,dest) __asm__("sbitd %1,%0" : "=mr" (dest) : \
+- "i" ((unsigned char)pos) , "0" (dest) : "cc")
+-
+-/* setrfid Instruction */
+-#define _setrfid_(src) __asm__("setrfid %0" : /* No output */ : \
+- "r" (src) : "cc")
+-
+-/* Sign Extend Instructions */
+-#define _sextbw_(src, dest) __asm__("sextbw %1,%0" : "=r" (dest) : \
+- "r" ((char)src) , "0" (dest) )
+-#define _sextbd_(src, dest) __asm__("sextbd %1,%0" : "=r" (dest) : \
+- "r" ((char)src) , "0" (dest) )
+-#define _sextwd_(src, dest) __asm__("sextwd %1,%0" : "=r" (dest) : \
+- "r" ((short)src) , "0" (dest) )
++#define _sbitb_(pos, dest) __asm__("sbitb %1,%0" : "=mr" (dest) : \
++ "i" ((unsigned char)pos) , "0" (dest) : "cc")
++#define _sbitw_(pos, dest) __asm__("sbitw %1,%0" : "=mr" (dest) : \
++ "i" ((unsigned char)pos) , "0" (dest) : "cc")
++
++/* spr and sprd Instructions */
++#define _spr_(procreg, dest) __asm__("spr\t" procreg ",%0" : \
++ "=r" (dest) : /* no input */ "0" (dest) : "cc")
++#define _sprd_(procregd, dest) __asm__("sprd\t" procregd ",%0" : \
++ "=r" (dest) : /* no input */ "0" (dest) : "cc")
+
+-/* Shift Left Logical Instructions */
+-#define _sllb_(src, dest) __asm__("sllb %1,%0" : "=r" (dest) : \
+- "ri" ((unsigned char)src) , "0" (dest))
+-#define _sllw_(src, dest) __asm__("sllw %1,%0" : "=r" (dest) : \
+- "ri" ((unsigned char)src) , "0" (dest))
+-#define _slld_(src, dest) __asm__("slld %1,%0" : "=r" (dest) : \
+- "ri" ((unsigned char)src) , "0" (dest))
+-/* Shift Right Arithmetic Instructions */
+-#define _srab_(src, dest) __asm__("srab %1,%0" : "=r" (dest) : \
+- "ri" ((unsigned char)src) , "0" (dest))
+-#define _sraw_(src, dest) __asm__("sraw %1,%0" : "=r" (dest) : \
+- "ri" ((unsigned char)src) , "0" (dest))
+-#define _srad_(src, dest) __asm__("srad %1,%0" : "=r" (dest) : \
+- "ri" ((unsigned char)src) , "0" (dest))
+-
+-/* Shift Right Logical Instructions */
+-#define _srlb_(src, dest) __asm__("srlb %1,%0" : "=r" (dest) : \
+- "ri" ((unsigned char)src) , "0" (dest))
+-#define _srlw_(src, dest) __asm__("srlw %1,%0" : "=r" (dest) : \
+- "ri" ((unsigned char)src) , "0" (dest))
+-#define _srld_(src, dest) __asm__("srld %1,%0" : "=r" (dest) : \
+- "ri" ((unsigned char)src) , "0" (dest))
+-
+ /* Store Instructions */
+-#define _storb_(src,address) __asm__("storb %1,%0" : "=m" (address) : \
++#define _storb_(src, address) __asm__("storb %1,%0" : "=m" (address) : \
+ "ri" ((unsigned int)src))
+-#define _storw_(src,address) __asm__("storw %1,%0" : "=m" (address) : \
++#define _storw_(src, address) __asm__("storw %1,%0" : "=m" (address) : \
+ "ri" ((unsigned int)src))
+-#define _stord_(src,address) __asm__("stord %1,%0" : "=m" (address) : \
++#define _stord_(src, address) __asm__("stord %1,%0" : "=m" (address) : \
+ "ri" ((unsigned int)src))
+
+ /* Store Multiple Instructions */
+@@ -361,61 +191,90 @@
+ "i" (mask) , "r" ((unsigned int)src))
+
+ /* Substruct Instructions */
+-#define _subb_(src, dest) __asm__("subb %1, %0" : "=r" (dest) : \
+- "ri" ((unsigned char)src), "0" (dest) : "cc")
+-#define _subw_(src, dest) __asm__("subw %1, %0" : "=r" (dest) : \
+- "ri" ((unsigned short)src), "0" (dest) : "cc")
+-#define _subd_(src, dest) __asm__("subd %1, %0" : "=r" (dest) : \
+- "ri" ((unsigned int)src), "0" (dest) : "cc")
++#define _subb_(src, dest) __asm__("subb %1, %0" : "=r" (dest) : \
++ "ri" ((unsigned char)src), "0" (dest) : "cc")
++#define _subw_(src, dest) __asm__("subw %1, %0" : "=r" (dest) : \
++ "ri" ((unsigned short)src), "0" (dest) : "cc")
++#define _subd_(src, dest) __asm__("subd %1, %0" : "=r" (dest) : \
++ "ri" ((unsigned long)src), "0" (dest) : "cc")
+
+ /* Substruct with Carry Instructions */
+-#define _subcb_(src, dest) __asm__("subcb %1, %0" : "=r" (dest) : \
+- "ri" ((unsigned char)src), "0" (dest) : "cc")
+-#define _subcw_(src, dest) __asm__("subcw %1, %0" : "=r" (dest) : \
+- "ri" ((unsigned short)src), "0" (dest) : "cc")
+-#define _subcd_(src, dest) __asm__("subcd %1, %0" : "=r" (dest) : \
+- "ri" ((unsigned int)src), "0" (dest) : "cc")
+-
+-/* Q-Format Substruct Instructions */
+-#define _subqb_(src, dest) __asm__("subqw %1,%0" : "=r" (dest) : \
+- "r" ((char)src) , "0" (dest))
+-#define _subqw_(src, dest) __asm__("subqw %1,%0" : "=r" (dest) : \
+- "r" ((short)src) , "0" (dest))
+-#define _subqd_(src, dest) __asm__("subqd %1,%0" : "=r" (dest) : \
+- "r" ((short)src) , "0" (dest))
+-
++#define _subcb_(src, dest) __asm__("subcb %1, %0" : "=r" (dest) : \
++ "ri" ((unsigned char)src), "0" (dest) : "cc")
++#define _subcw_(src, dest) __asm__("subcw %1, %0" : "=r" (dest) : \
++ "ri" ((unsigned short)src), "0" (dest) : "cc")
++
+ /* Test Bit Instructions */
+-#define _tbitb_(pos,dest) __asm__("tbitb %0,%1" : /* No output */ : \
+- "i" ((unsigned char)pos) , "rm" (dest) : "cc")
+-#define _tbitw_(pos,dest) __asm__("tbitw %0,%1" : /* No output */ : \
+- "i" ((unsigned char)pos) , "rm" (dest) : "cc")
+-#define _tbitd_(pos,dest) __asm__("tbitd %0,%1" : /* No output */ : \
+- "i" ((unsigned char)pos) , "rm" (dest) : "cc")
++#define _tbit_(offset, base) __asm__("tbit %0,%1" : /* no output */ : \
++ "ri" ((unsigned char)offset) , "r" (base) : "cc")
++#define _tbitb_(pos, dest) __asm__("tbitb %0,%1" : /* No output */ : \
++ "i" ((unsigned char)pos) , "m" (dest) : "cc")
++#define _tbitw_(pos, dest) __asm__("tbitw %0,%1" : /* No output */ : \
++ "i" ((unsigned char)pos) , "m" (dest) : "cc")
+
+ /* wait Instruction*/
+ #define _wait_() __asm__ volatile ("wait" : : : "cc")
+
+ /* xor Instructions */
+ #define _xorb_(src, dest) __asm__("xorb %1,%0" : "=r" (dest) : \
+- "ri" ((unsigned char)src) , "0" (dest))
++ "ri" ((unsigned char)src) , "0" (dest))
+ #define _xorw_(src, dest) __asm__("xorw %1,%0" : "=r" (dest) : \
+- "ri" ((unsigned short)src) , "0" (dest))
++ "ri" ((unsigned short)src) , "0" (dest))
+ #define _xord_(src, dest) __asm__("xord %1,%0" : "=r" (dest) : \
+- "ri" ((unsigned int)src) , "0" (dest))
++ "ri" ((unsigned long)src) , "0" (dest))
+
+-/* Zero Extend Instructions */
+-#define _zextbw_(src, dest) __asm__("zextbw %1,%0" : "=r" (dest) : \
+- "r" ((unsigned char)src) , "0" (dest))
+-#define _zextbd_(src, dest) __asm__("zextbd %1,%0" : "=r" (dest) : \
+- "r" ((unsigned char)src) , "0" (dest))
+-#define _zextwd_(src, dest) __asm__("zextwd %1,%0" : "=r" (dest) : \
+- "r" ((unsigned short)src) , "0" (dest))
+-
+-#define _save_asm_(x) \
+- __asm__ volatile (x ::: "memory","cc", \
+- "r0","r1","r2","r3","r4","r5","r6","r7", \
++#if !defined (__CR16C__)
++#define _di_() __asm__ volatile ("di\n" : : : "cc")
++#else
++/* In CR16C architecture the "nop" instruction is required after the di instruction
++ in order to be sure the interrupts are indeed disabled.
++ For details, refer the the CR16C Programmers Reference Manual. */
++#define _di_() __asm__ volatile ("di\n\tnop" : : : "cc")
++#endif
++
++/* mtgpr Instruction */
++#define _mtgpr_(src, gpr) \
++__asm__ volatile ("movd\t%[_src], " gpr : /* no output */ \
++ : [_src] "ri" (src) \
++ : gpr )
++
++/* mfgpr Instruction */
++#define _mfgpr_(gpr, dest) \
++__asm__ volatile ("movd\t" gpr ", %[_dest]" : [_dest] "=r" (dest) \
++ : /* no inputs */ )
++
++/* set_i_bit Operation Definition */
++#define set_i_bit() \
++ do \
++ { \
++ unsigned short tpsr; \
++ _spr_("psr", tpsr); \
++ tpsr |= 0x0800; \
++ _lpr_("psr",tpsr); \
++ } while(0)
++
++/* set_i_bit Macro Definition */
++#define _enable_global_interrupt_ set_i_bit
++
++/* clear_i_bit Operation Definition */
++#define clear_i_bit() \
++ do \
++ { \
++ unsigned short tpsr; \
++ _spr_("psr", tpsr); \
++ tpsr &= 0xf7ff; \
++ _lpr_("psr",tpsr); \
++ } while(0)
++
++/* clear_i_bit Macro Definition */
++#define _disbale_global_interrupt_ clear_i_bit
++
++#define _save_asm_(x) \
++ __asm__ volatile (x ::: "memory","cc", \
++ "r0","r1","r2","r3","r4","r5","r6","r7", \
+ "r8","r9","r10","r11","r12","r13")
+
+ #endif /* _ASM */
+
+
++
+diff -Naur newlib-1.20.0.orig/newlib/libc/machine/epiphany/aclocal.m4 newlib-1.20.0/newlib/libc/machine/epiphany/aclocal.m4
+--- newlib-1.20.0.orig/newlib/libc/machine/epiphany/aclocal.m4 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/newlib/libc/machine/epiphany/aclocal.m4 2012-10-15 10:31:19.595620689 +0200
+@@ -0,0 +1,992 @@
++# generated automatically by aclocal 1.11.1 -*- Autoconf -*-
++
++# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
++# 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
++# This file is free software; the Free Software Foundation
++# gives unlimited permission to copy and/or distribute it,
++# with or without modifications, as long as this notice is preserved.
++
++# This program is distributed in the hope that it will be useful,
++# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
++# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
++# PARTICULAR PURPOSE.
++
++m4_ifndef([AC_AUTOCONF_VERSION],
++ [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
++m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.68],,
++[m4_warning([this file was generated for autoconf 2.68.
++You have another version of autoconf. It may work, but is not guaranteed to.
++If you have problems, you may need to regenerate the build system entirely.
++To do so, use the procedure documented by the package, typically `autoreconf'.])])
++
++# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
++#
++# This file is free software; the Free Software Foundation
++# gives unlimited permission to copy and/or distribute it,
++# with or without modifications, as long as this notice is preserved.
++
++# AM_AUTOMAKE_VERSION(VERSION)
++# ----------------------------
++# Automake X.Y traces this macro to ensure aclocal.m4 has been
++# generated from the m4 files accompanying Automake X.Y.
++# (This private macro should not be called outside this file.)
++AC_DEFUN([AM_AUTOMAKE_VERSION],
++[am__api_version='1.11'
++dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
++dnl require some minimum version. Point them to the right macro.
++m4_if([$1], [1.11.1], [],
++ [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
++])
++
++# _AM_AUTOCONF_VERSION(VERSION)
++# -----------------------------
++# aclocal traces this macro to find the Autoconf version.
++# This is a private macro too. Using m4_define simplifies
++# the logic in aclocal, which can simply ignore this definition.
++m4_define([_AM_AUTOCONF_VERSION], [])
++
++# AM_SET_CURRENT_AUTOMAKE_VERSION
++# -------------------------------
++# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
++# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
++AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
++[AM_AUTOMAKE_VERSION([1.11.1])dnl
++m4_ifndef([AC_AUTOCONF_VERSION],
++ [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
++_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
++
++# AM_AUX_DIR_EXPAND -*- Autoconf -*-
++
++# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
++#
++# This file is free software; the Free Software Foundation
++# gives unlimited permission to copy and/or distribute it,
++# with or without modifications, as long as this notice is preserved.
++
++# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
++# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
++# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
++#
++# Of course, Automake must honor this variable whenever it calls a
++# tool from the auxiliary directory. The problem is that $srcdir (and
++# therefore $ac_aux_dir as well) can be either absolute or relative,
++# depending on how configure is run. This is pretty annoying, since
++# it makes $ac_aux_dir quite unusable in subdirectories: in the top
++# source directory, any form will work fine, but in subdirectories a
++# relative path needs to be adjusted first.
++#
++# $ac_aux_dir/missing
++# fails when called from a subdirectory if $ac_aux_dir is relative
++# $top_srcdir/$ac_aux_dir/missing
++# fails if $ac_aux_dir is absolute,
++# fails when called from a subdirectory in a VPATH build with
++# a relative $ac_aux_dir
++#
++# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
++# are both prefixed by $srcdir. In an in-source build this is usually
++# harmless because $srcdir is `.', but things will broke when you
++# start a VPATH build or use an absolute $srcdir.
++#
++# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
++# iff we strip the leading $srcdir from $ac_aux_dir. That would be:
++# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
++# and then we would define $MISSING as
++# MISSING="\${SHELL} $am_aux_dir/missing"
++# This will work as long as MISSING is not called from configure, because
++# unfortunately $(top_srcdir) has no meaning in configure.
++# However there are other variables, like CC, which are often used in
++# configure, and could therefore not use this "fixed" $ac_aux_dir.
++#
++# Another solution, used here, is to always expand $ac_aux_dir to an
++# absolute PATH. The drawback is that using absolute paths prevent a
++# configured tree to be moved without reconfiguration.
++
++AC_DEFUN([AM_AUX_DIR_EXPAND],
++[dnl Rely on autoconf to set up CDPATH properly.
++AC_PREREQ([2.50])dnl
++# expand $ac_aux_dir to an absolute path
++am_aux_dir=`cd $ac_aux_dir && pwd`
++])
++
++# AM_CONDITIONAL -*- Autoconf -*-
++
++# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
++# Free Software Foundation, Inc.
++#
++# This file is free software; the Free Software Foundation
++# gives unlimited permission to copy and/or distribute it,
++# with or without modifications, as long as this notice is preserved.
++
++# serial 9
++
++# AM_CONDITIONAL(NAME, SHELL-CONDITION)
++# -------------------------------------
++# Define a conditional.
++AC_DEFUN([AM_CONDITIONAL],
++[AC_PREREQ(2.52)dnl
++ ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
++ [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
++AC_SUBST([$1_TRUE])dnl
++AC_SUBST([$1_FALSE])dnl
++_AM_SUBST_NOTMAKE([$1_TRUE])dnl
++_AM_SUBST_NOTMAKE([$1_FALSE])dnl
++m4_define([_AM_COND_VALUE_$1], [$2])dnl
++if $2; then
++ $1_TRUE=
++ $1_FALSE='#'
++else
++ $1_TRUE='#'
++ $1_FALSE=
++fi
++AC_CONFIG_COMMANDS_PRE(
++[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
++ AC_MSG_ERROR([[conditional "$1" was never defined.
++Usually this means the macro was only invoked conditionally.]])
++fi])])
++
++# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
++# Free Software Foundation, Inc.
++#
++# This file is free software; the Free Software Foundation
++# gives unlimited permission to copy and/or distribute it,
++# with or without modifications, as long as this notice is preserved.
++
++# serial 10
++
++# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
++# written in clear, in which case automake, when reading aclocal.m4,
++# will think it sees a *use*, and therefore will trigger all it's
++# C support machinery. Also note that it means that autoscan, seeing
++# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
++
++
++# _AM_DEPENDENCIES(NAME)
++# ----------------------
++# See how the compiler implements dependency checking.
++# NAME is "CC", "CXX", "GCJ", or "OBJC".
++# We try a few techniques and use that to set a single cache variable.
++#
++# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
++# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
++# dependency, and given that the user is not expected to run this macro,
++# just rely on AC_PROG_CC.
++AC_DEFUN([_AM_DEPENDENCIES],
++[AC_REQUIRE([AM_SET_DEPDIR])dnl
++AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
++AC_REQUIRE([AM_MAKE_INCLUDE])dnl
++AC_REQUIRE([AM_DEP_TRACK])dnl
++
++ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
++ [$1], CXX, [depcc="$CXX" am_compiler_list=],
++ [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
++ [$1], UPC, [depcc="$UPC" am_compiler_list=],
++ [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
++ [depcc="$$1" am_compiler_list=])
++
++AC_CACHE_CHECK([dependency style of $depcc],
++ [am_cv_$1_dependencies_compiler_type],
++[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
++ # We make a subdir and do the tests there. Otherwise we can end up
++ # making bogus files that we don't know about and never remove. For
++ # instance it was reported that on HP-UX the gcc test will end up
++ # making a dummy file named `D' -- because `-MD' means `put the output
++ # in D'.
++ mkdir conftest.dir
++ # Copy depcomp to subdir because otherwise we won't find it if we're
++ # using a relative directory.
++ cp "$am_depcomp" conftest.dir
++ cd conftest.dir
++ # We will build objects and dependencies in a subdirectory because
++ # it helps to detect inapplicable dependency modes. For instance
++ # both Tru64's cc and ICC support -MD to output dependencies as a
++ # side effect of compilation, but ICC will put the dependencies in
++ # the current directory while Tru64 will put them in the object
++ # directory.
++ mkdir sub
++
++ am_cv_$1_dependencies_compiler_type=none
++ if test "$am_compiler_list" = ""; then
++ am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
++ fi
++ am__universal=false
++ m4_case([$1], [CC],
++ [case " $depcc " in #(
++ *\ -arch\ *\ -arch\ *) am__universal=true ;;
++ esac],
++ [CXX],
++ [case " $depcc " in #(
++ *\ -arch\ *\ -arch\ *) am__universal=true ;;
++ esac])
++
++ for depmode in $am_compiler_list; do
++ # Setup a source with many dependencies, because some compilers
++ # like to wrap large dependency lists on column 80 (with \), and
++ # we should not choose a depcomp mode which is confused by this.
++ #
++ # We need to recreate these files for each test, as the compiler may
++ # overwrite some of them when testing with obscure command lines.
++ # This happens at least with the AIX C compiler.
++ : > sub/conftest.c
++ for i in 1 2 3 4 5 6; do
++ echo '#include "conftst'$i'.h"' >> sub/conftest.c
++ # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
++ # Solaris 8's {/usr,}/bin/sh.
++ touch sub/conftst$i.h
++ done
++ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
++
++ # We check with `-c' and `-o' for the sake of the "dashmstdout"
++ # mode. It turns out that the SunPro C++ compiler does not properly
++ # handle `-M -o', and we need to detect this. Also, some Intel
++ # versions had trouble with output in subdirs
++ am__obj=sub/conftest.${OBJEXT-o}
++ am__minus_obj="-o $am__obj"
++ case $depmode in
++ gcc)
++ # This depmode causes a compiler race in universal mode.
++ test "$am__universal" = false || continue
++ ;;
++ nosideeffect)
++ # after this tag, mechanisms are not by side-effect, so they'll
++ # only be used when explicitly requested
++ if test "x$enable_dependency_tracking" = xyes; then
++ continue
++ else
++ break
++ fi
++ ;;
++ msvisualcpp | msvcmsys)
++ # This compiler won't grok `-c -o', but also, the minuso test has
++ # not run yet. These depmodes are late enough in the game, and
++ # so weak that their functioning should not be impacted.
++ am__obj=conftest.${OBJEXT-o}
++ am__minus_obj=
++ ;;
++ none) break ;;
++ esac
++ if depmode=$depmode \
++ source=sub/conftest.c object=$am__obj \
++ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
++ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
++ >/dev/null 2>conftest.err &&
++ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
++ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
++ grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
++ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
++ # icc doesn't choke on unknown options, it will just issue warnings
++ # or remarks (even with -Werror). So we grep stderr for any message
++ # that says an option was ignored or not supported.
++ # When given -MP, icc 7.0 and 7.1 complain thusly:
++ # icc: Command line warning: ignoring option '-M'; no argument required
++ # The diagnosis changed in icc 8.0:
++ # icc: Command line remark: option '-MP' not supported
++ if (grep 'ignoring option' conftest.err ||
++ grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
++ am_cv_$1_dependencies_compiler_type=$depmode
++ break
++ fi
++ fi
++ done
++
++ cd ..
++ rm -rf conftest.dir
++else
++ am_cv_$1_dependencies_compiler_type=none
++fi
++])
++AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
++AM_CONDITIONAL([am__fastdep$1], [
++ test "x$enable_dependency_tracking" != xno \
++ && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
++])
++
++
++# AM_SET_DEPDIR
++# -------------
++# Choose a directory name for dependency files.
++# This macro is AC_REQUIREd in _AM_DEPENDENCIES
++AC_DEFUN([AM_SET_DEPDIR],
++[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
++AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
++])
++
++
++# AM_DEP_TRACK
++# ------------
++AC_DEFUN([AM_DEP_TRACK],
++[AC_ARG_ENABLE(dependency-tracking,
++[ --disable-dependency-tracking speeds up one-time build
++ --enable-dependency-tracking do not reject slow dependency extractors])
++if test "x$enable_dependency_tracking" != xno; then
++ am_depcomp="$ac_aux_dir/depcomp"
++ AMDEPBACKSLASH='\'
++fi
++AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
++AC_SUBST([AMDEPBACKSLASH])dnl
++_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
++])
++
++# Generate code to set up dependency tracking. -*- Autoconf -*-
++
++# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
++# Free Software Foundation, Inc.
++#
++# This file is free software; the Free Software Foundation
++# gives unlimited permission to copy and/or distribute it,
++# with or without modifications, as long as this notice is preserved.
++
++#serial 5
++
++# _AM_OUTPUT_DEPENDENCY_COMMANDS
++# ------------------------------
++AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
++[{
++ # Autoconf 2.62 quotes --file arguments for eval, but not when files
++ # are listed without --file. Let's play safe and only enable the eval
++ # if we detect the quoting.
++ case $CONFIG_FILES in
++ *\'*) eval set x "$CONFIG_FILES" ;;
++ *) set x $CONFIG_FILES ;;
++ esac
++ shift
++ for mf
++ do
++ # Strip MF so we end up with the name of the file.
++ mf=`echo "$mf" | sed -e 's/:.*$//'`
++ # Check whether this is an Automake generated Makefile or not.
++ # We used to match only the files named `Makefile.in', but
++ # some people rename them; so instead we look at the file content.
++ # Grep'ing the first line is not enough: some people post-process
++ # each Makefile.in and add a new line on top of each file to say so.
++ # Grep'ing the whole file is not good either: AIX grep has a line
++ # limit of 2048, but all sed's we know have understand at least 4000.
++ if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
++ dirpart=`AS_DIRNAME("$mf")`
++ else
++ continue
++ fi
++ # Extract the definition of DEPDIR, am__include, and am__quote
++ # from the Makefile without running `make'.
++ DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
++ test -z "$DEPDIR" && continue
++ am__include=`sed -n 's/^am__include = //p' < "$mf"`
++ test -z "am__include" && continue
++ am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
++ # When using ansi2knr, U may be empty or an underscore; expand it
++ U=`sed -n 's/^U = //p' < "$mf"`
++ # Find all dependency output files, they are included files with
++ # $(DEPDIR) in their names. We invoke sed twice because it is the
++ # simplest approach to changing $(DEPDIR) to its actual value in the
++ # expansion.
++ for file in `sed -n "
++ s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
++ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
++ # Make sure the directory exists.
++ test -f "$dirpart/$file" && continue
++ fdir=`AS_DIRNAME(["$file"])`
++ AS_MKDIR_P([$dirpart/$fdir])
++ # echo "creating $dirpart/$file"
++ echo '# dummy' > "$dirpart/$file"
++ done
++ done
++}
++])# _AM_OUTPUT_DEPENDENCY_COMMANDS
++
++
++# AM_OUTPUT_DEPENDENCY_COMMANDS
++# -----------------------------
++# This macro should only be invoked once -- use via AC_REQUIRE.
++#
++# This code is only required when automatic dependency tracking
++# is enabled. FIXME. This creates each `.P' file that we will
++# need in order to bootstrap the dependency handling code.
++AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
++[AC_CONFIG_COMMANDS([depfiles],
++ [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
++ [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
++])
++
++# Do all the work for Automake. -*- Autoconf -*-
++
++# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
++# 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
++#
++# This file is free software; the Free Software Foundation
++# gives unlimited permission to copy and/or distribute it,
++# with or without modifications, as long as this notice is preserved.
++
++# serial 16
++
++# This macro actually does too much. Some checks are only needed if
++# your package does certain things. But this isn't really a big deal.
++
++# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
++# AM_INIT_AUTOMAKE([OPTIONS])
++# -----------------------------------------------
++# The call with PACKAGE and VERSION arguments is the old style
++# call (pre autoconf-2.50), which is being phased out. PACKAGE
++# and VERSION should now be passed to AC_INIT and removed from
++# the call to AM_INIT_AUTOMAKE.
++# We support both call styles for the transition. After
++# the next Automake release, Autoconf can make the AC_INIT
++# arguments mandatory, and then we can depend on a new Autoconf
++# release and drop the old call support.
++AC_DEFUN([AM_INIT_AUTOMAKE],
++[AC_PREREQ([2.62])dnl
++dnl Autoconf wants to disallow AM_ names. We explicitly allow
++dnl the ones we care about.
++m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
++AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
++AC_REQUIRE([AC_PROG_INSTALL])dnl
++if test "`cd $srcdir && pwd`" != "`pwd`"; then
++ # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
++ # is not polluted with repeated "-I."
++ AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
++ # test to see if srcdir already configured
++ if test -f $srcdir/config.status; then
++ AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
++ fi
++fi
++
++# test whether we have cygpath
++if test -z "$CYGPATH_W"; then
++ if (cygpath --version) >/dev/null 2>/dev/null; then
++ CYGPATH_W='cygpath -w'
++ else
++ CYGPATH_W=echo
++ fi
++fi
++AC_SUBST([CYGPATH_W])
++
++# Define the identity of the package.
++dnl Distinguish between old-style and new-style calls.
++m4_ifval([$2],
++[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
++ AC_SUBST([PACKAGE], [$1])dnl
++ AC_SUBST([VERSION], [$2])],
++[_AM_SET_OPTIONS([$1])dnl
++dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
++m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
++ [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
++ AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
++ AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
++
++_AM_IF_OPTION([no-define],,
++[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
++ AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
++
++# Some tools Automake needs.
++AC_REQUIRE([AM_SANITY_CHECK])dnl
++AC_REQUIRE([AC_ARG_PROGRAM])dnl
++AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
++AM_MISSING_PROG(AUTOCONF, autoconf)
++AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
++AM_MISSING_PROG(AUTOHEADER, autoheader)
++AM_MISSING_PROG(MAKEINFO, makeinfo)
++AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
++AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
++AC_REQUIRE([AM_PROG_MKDIR_P])dnl
++# We need awk for the "check" target. The system "awk" is bad on
++# some platforms.
++AC_REQUIRE([AC_PROG_AWK])dnl
++AC_REQUIRE([AC_PROG_MAKE_SET])dnl
++AC_REQUIRE([AM_SET_LEADING_DOT])dnl
++_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
++ [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
++ [_AM_PROG_TAR([v7])])])
++_AM_IF_OPTION([no-dependencies],,
++[AC_PROVIDE_IFELSE([AC_PROG_CC],
++ [_AM_DEPENDENCIES(CC)],
++ [define([AC_PROG_CC],
++ defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
++AC_PROVIDE_IFELSE([AC_PROG_CXX],
++ [_AM_DEPENDENCIES(CXX)],
++ [define([AC_PROG_CXX],
++ defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
++AC_PROVIDE_IFELSE([AC_PROG_OBJC],
++ [_AM_DEPENDENCIES(OBJC)],
++ [define([AC_PROG_OBJC],
++ defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
++])
++_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
++dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
++dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
++dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
++AC_CONFIG_COMMANDS_PRE(dnl
++[m4_provide_if([_AM_COMPILER_EXEEXT],
++ [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
++])
++
++dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
++dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
++dnl mangled by Autoconf and run in a shell conditional statement.
++m4_define([_AC_COMPILER_EXEEXT],
++m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
++
++
++# When config.status generates a header, we must update the stamp-h file.
++# This file resides in the same directory as the config header
++# that is generated. The stamp files are numbered to have different names.
++
++# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
++# loop where config.status creates the headers, so we can generate
++# our stamp files there.
++AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
++[# Compute $1's index in $config_headers.
++_am_arg=$1
++_am_stamp_count=1
++for _am_header in $config_headers :; do
++ case $_am_header in
++ $_am_arg | $_am_arg:* )
++ break ;;
++ * )
++ _am_stamp_count=`expr $_am_stamp_count + 1` ;;
++ esac
++done
++echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
++
++# Copyright (C) 2001, 2003, 2005, 2008 Free Software Foundation, Inc.
++#
++# This file is free software; the Free Software Foundation
++# gives unlimited permission to copy and/or distribute it,
++# with or without modifications, as long as this notice is preserved.
++
++# AM_PROG_INSTALL_SH
++# ------------------
++# Define $install_sh.
++AC_DEFUN([AM_PROG_INSTALL_SH],
++[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
++if test x"${install_sh}" != xset; then
++ case $am_aux_dir in
++ *\ * | *\ *)
++ install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
++ *)
++ install_sh="\${SHELL} $am_aux_dir/install-sh"
++ esac
++fi
++AC_SUBST(install_sh)])
++
++# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
++#
++# This file is free software; the Free Software Foundation
++# gives unlimited permission to copy and/or distribute it,
++# with or without modifications, as long as this notice is preserved.
++
++# serial 2
++
++# Check whether the underlying file-system supports filenames
++# with a leading dot. For instance MS-DOS doesn't.
++AC_DEFUN([AM_SET_LEADING_DOT],
++[rm -rf .tst 2>/dev/null
++mkdir .tst 2>/dev/null
++if test -d .tst; then
++ am__leading_dot=.
++else
++ am__leading_dot=_
++fi
++rmdir .tst 2>/dev/null
++AC_SUBST([am__leading_dot])])
++
++# Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
++# From Jim Meyering
++
++# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008
++# Free Software Foundation, Inc.
++#
++# This file is free software; the Free Software Foundation
++# gives unlimited permission to copy and/or distribute it,
++# with or without modifications, as long as this notice is preserved.
++
++# serial 5
++
++# AM_MAINTAINER_MODE([DEFAULT-MODE])
++# ----------------------------------
++# Control maintainer-specific portions of Makefiles.
++# Default is to disable them, unless `enable' is passed literally.
++# For symmetry, `disable' may be passed as well. Anyway, the user
++# can override the default with the --enable/--disable switch.
++AC_DEFUN([AM_MAINTAINER_MODE],
++[m4_case(m4_default([$1], [disable]),
++ [enable], [m4_define([am_maintainer_other], [disable])],
++ [disable], [m4_define([am_maintainer_other], [enable])],
++ [m4_define([am_maintainer_other], [enable])
++ m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
++AC_MSG_CHECKING([whether to am_maintainer_other maintainer-specific portions of Makefiles])
++ dnl maintainer-mode's default is 'disable' unless 'enable' is passed
++ AC_ARG_ENABLE([maintainer-mode],
++[ --][am_maintainer_other][-maintainer-mode am_maintainer_other make rules and dependencies not useful
++ (and sometimes confusing) to the casual installer],
++ [USE_MAINTAINER_MODE=$enableval],
++ [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
++ AC_MSG_RESULT([$USE_MAINTAINER_MODE])
++ AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
++ MAINT=$MAINTAINER_MODE_TRUE
++ AC_SUBST([MAINT])dnl
++]
++)
++
++AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
++
++# Check to see how 'make' treats includes. -*- Autoconf -*-
++
++# Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc.
++#
++# This file is free software; the Free Software Foundation
++# gives unlimited permission to copy and/or distribute it,
++# with or without modifications, as long as this notice is preserved.
++
++# serial 4
++
++# AM_MAKE_INCLUDE()
++# -----------------
++# Check to see how make treats includes.
++AC_DEFUN([AM_MAKE_INCLUDE],
++[am_make=${MAKE-make}
++cat > confinc << 'END'
++am__doit:
++ @echo this is the am__doit target
++.PHONY: am__doit
++END
++# If we don't find an include directive, just comment out the code.
++AC_MSG_CHECKING([for style of include used by $am_make])
++am__include="#"
++am__quote=
++_am_result=none
++# First try GNU make style include.
++echo "include confinc" > confmf
++# Ignore all kinds of additional output from `make'.
++case `$am_make -s -f confmf 2> /dev/null` in #(
++*the\ am__doit\ target*)
++ am__include=include
++ am__quote=
++ _am_result=GNU
++ ;;
++esac
++# Now try BSD make style include.
++if test "$am__include" = "#"; then
++ echo '.include "confinc"' > confmf
++ case `$am_make -s -f confmf 2> /dev/null` in #(
++ *the\ am__doit\ target*)
++ am__include=.include
++ am__quote="\""
++ _am_result=BSD
++ ;;
++ esac
++fi
++AC_SUBST([am__include])
++AC_SUBST([am__quote])
++AC_MSG_RESULT([$_am_result])
++rm -f confinc confmf
++])
++
++# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
++
++# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
++# Free Software Foundation, Inc.
++#
++# This file is free software; the Free Software Foundation
++# gives unlimited permission to copy and/or distribute it,
++# with or without modifications, as long as this notice is preserved.
++
++# serial 6
++
++# AM_MISSING_PROG(NAME, PROGRAM)
++# ------------------------------
++AC_DEFUN([AM_MISSING_PROG],
++[AC_REQUIRE([AM_MISSING_HAS_RUN])
++$1=${$1-"${am_missing_run}$2"}
++AC_SUBST($1)])
++
++
++# AM_MISSING_HAS_RUN
++# ------------------
++# Define MISSING if not defined so far and test if it supports --run.
++# If it does, set am_missing_run to use it, otherwise, to nothing.
++AC_DEFUN([AM_MISSING_HAS_RUN],
++[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
++AC_REQUIRE_AUX_FILE([missing])dnl
++if test x"${MISSING+set}" != xset; then
++ case $am_aux_dir in
++ *\ * | *\ *)
++ MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
++ *)
++ MISSING="\${SHELL} $am_aux_dir/missing" ;;
++ esac
++fi
++# Use eval to expand $SHELL
++if eval "$MISSING --run true"; then
++ am_missing_run="$MISSING --run "
++else
++ am_missing_run=
++ AC_MSG_WARN([`missing' script is too old or missing])
++fi
++])
++
++# Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
++#
++# This file is free software; the Free Software Foundation
++# gives unlimited permission to copy and/or distribute it,
++# with or without modifications, as long as this notice is preserved.
++
++# AM_PROG_MKDIR_P
++# ---------------
++# Check for `mkdir -p'.
++AC_DEFUN([AM_PROG_MKDIR_P],
++[AC_PREREQ([2.60])dnl
++AC_REQUIRE([AC_PROG_MKDIR_P])dnl
++dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,
++dnl while keeping a definition of mkdir_p for backward compatibility.
++dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
++dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
++dnl Makefile.ins that do not define MKDIR_P, so we do our own
++dnl adjustment using top_builddir (which is defined more often than
++dnl MKDIR_P).
++AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
++case $mkdir_p in
++ [[\\/$]]* | ?:[[\\/]]*) ;;
++ */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
++esac
++])
++
++# Helper functions for option handling. -*- Autoconf -*-
++
++# Copyright (C) 2001, 2002, 2003, 2005, 2008 Free Software Foundation, Inc.
++#
++# This file is free software; the Free Software Foundation
++# gives unlimited permission to copy and/or distribute it,
++# with or without modifications, as long as this notice is preserved.
++
++# serial 4
++
++# _AM_MANGLE_OPTION(NAME)
++# -----------------------
++AC_DEFUN([_AM_MANGLE_OPTION],
++[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
++
++# _AM_SET_OPTION(NAME)
++# ------------------------------
++# Set option NAME. Presently that only means defining a flag for this option.
++AC_DEFUN([_AM_SET_OPTION],
++[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
++
++# _AM_SET_OPTIONS(OPTIONS)
++# ----------------------------------
++# OPTIONS is a space-separated list of Automake options.
++AC_DEFUN([_AM_SET_OPTIONS],
++[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
++
++# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
++# -------------------------------------------
++# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
++AC_DEFUN([_AM_IF_OPTION],
++[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
++
++# Check to make sure that the build environment is sane. -*- Autoconf -*-
++
++# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
++# Free Software Foundation, Inc.
++#
++# This file is free software; the Free Software Foundation
++# gives unlimited permission to copy and/or distribute it,
++# with or without modifications, as long as this notice is preserved.
++
++# serial 5
++
++# AM_SANITY_CHECK
++# ---------------
++AC_DEFUN([AM_SANITY_CHECK],
++[AC_MSG_CHECKING([whether build environment is sane])
++# Just in case
++sleep 1
++echo timestamp > conftest.file
++# Reject unsafe characters in $srcdir or the absolute working directory
++# name. Accept space and tab only in the latter.
++am_lf='
++'
++case `pwd` in
++ *[[\\\"\#\$\&\'\`$am_lf]]*)
++ AC_MSG_ERROR([unsafe absolute working directory name]);;
++esac
++case $srcdir in
++ *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
++ AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
++esac
++
++# Do `set' in a subshell so we don't clobber the current shell's
++# arguments. Must try -L first in case configure is actually a
++# symlink; some systems play weird games with the mod time of symlinks
++# (eg FreeBSD returns the mod time of the symlink's containing
++# directory).
++if (
++ set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
++ if test "$[*]" = "X"; then
++ # -L didn't work.
++ set X `ls -t "$srcdir/configure" conftest.file`
++ fi
++ rm -f conftest.file
++ if test "$[*]" != "X $srcdir/configure conftest.file" \
++ && test "$[*]" != "X conftest.file $srcdir/configure"; then
++
++ # If neither matched, then we have a broken ls. This can happen
++ # if, for instance, CONFIG_SHELL is bash and it inherits a
++ # broken ls alias from the environment. This has actually
++ # happened. Such a system could not be considered "sane".
++ AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
++alias in your environment])
++ fi
++
++ test "$[2]" = conftest.file
++ )
++then
++ # Ok.
++ :
++else
++ AC_MSG_ERROR([newly created file is older than distributed files!
++Check your system clock])
++fi
++AC_MSG_RESULT(yes)])
++
++# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
++#
++# This file is free software; the Free Software Foundation
++# gives unlimited permission to copy and/or distribute it,
++# with or without modifications, as long as this notice is preserved.
++
++# AM_PROG_INSTALL_STRIP
++# ---------------------
++# One issue with vendor `install' (even GNU) is that you can't
++# specify the program used to strip binaries. This is especially
++# annoying in cross-compiling environments, where the build's strip
++# is unlikely to handle the host's binaries.
++# Fortunately install-sh will honor a STRIPPROG variable, so we
++# always use install-sh in `make install-strip', and initialize
++# STRIPPROG with the value of the STRIP variable (set by the user).
++AC_DEFUN([AM_PROG_INSTALL_STRIP],
++[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
++# Installed binaries are usually stripped using `strip' when the user
++# run `make install-strip'. However `strip' might not be the right
++# tool to use in cross-compilation environments, therefore Automake
++# will honor the `STRIP' environment variable to overrule this program.
++dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
++if test "$cross_compiling" != no; then
++ AC_CHECK_TOOL([STRIP], [strip], :)
++fi
++INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
++AC_SUBST([INSTALL_STRIP_PROGRAM])])
++
++# Copyright (C) 2006, 2008 Free Software Foundation, Inc.
++#
++# This file is free software; the Free Software Foundation
++# gives unlimited permission to copy and/or distribute it,
++# with or without modifications, as long as this notice is preserved.
++
++# serial 2
++
++# _AM_SUBST_NOTMAKE(VARIABLE)
++# ---------------------------
++# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
++# This macro is traced by Automake.
++AC_DEFUN([_AM_SUBST_NOTMAKE])
++
++# AM_SUBST_NOTMAKE(VARIABLE)
++# ---------------------------
++# Public sister of _AM_SUBST_NOTMAKE.
++AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
++
++# Check how to create a tarball. -*- Autoconf -*-
++
++# Copyright (C) 2004, 2005 Free Software Foundation, Inc.
++#
++# This file is free software; the Free Software Foundation
++# gives unlimited permission to copy and/or distribute it,
++# with or without modifications, as long as this notice is preserved.
++
++# serial 2
++
++# _AM_PROG_TAR(FORMAT)
++# --------------------
++# Check how to create a tarball in format FORMAT.
++# FORMAT should be one of `v7', `ustar', or `pax'.
++#
++# Substitute a variable $(am__tar) that is a command
++# writing to stdout a FORMAT-tarball containing the directory
++# $tardir.
++# tardir=directory && $(am__tar) > result.tar
++#
++# Substitute a variable $(am__untar) that extract such
++# a tarball read from stdin.
++# $(am__untar) < result.tar
++AC_DEFUN([_AM_PROG_TAR],
++[# Always define AMTAR for backward compatibility.
++AM_MISSING_PROG([AMTAR], [tar])
++m4_if([$1], [v7],
++ [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
++ [m4_case([$1], [ustar],, [pax],,
++ [m4_fatal([Unknown tar format])])
++AC_MSG_CHECKING([how to create a $1 tar archive])
++# Loop over all known methods to create a tar archive until one works.
++_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
++_am_tools=${am_cv_prog_tar_$1-$_am_tools}
++# Do not fold the above two line into one, because Tru64 sh and
++# Solaris sh will not grok spaces in the rhs of `-'.
++for _am_tool in $_am_tools
++do
++ case $_am_tool in
++ gnutar)
++ for _am_tar in tar gnutar gtar;
++ do
++ AM_RUN_LOG([$_am_tar --version]) && break
++ done
++ am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
++ am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
++ am__untar="$_am_tar -xf -"
++ ;;
++ plaintar)
++ # Must skip GNU tar: if it does not support --format= it doesn't create
++ # ustar tarball either.
++ (tar --version) >/dev/null 2>&1 && continue
++ am__tar='tar chf - "$$tardir"'
++ am__tar_='tar chf - "$tardir"'
++ am__untar='tar xf -'
++ ;;
++ pax)
++ am__tar='pax -L -x $1 -w "$$tardir"'
++ am__tar_='pax -L -x $1 -w "$tardir"'
++ am__untar='pax -r'
++ ;;
++ cpio)
++ am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
++ am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
++ am__untar='cpio -i -H $1 -d'
++ ;;
++ none)
++ am__tar=false
++ am__tar_=false
++ am__untar=false
++ ;;
++ esac
++
++ # If the value was cached, stop now. We just wanted to have am__tar
++ # and am__untar set.
++ test -n "${am_cv_prog_tar_$1}" && break
++
++ # tar/untar a dummy directory, and stop if the command works
++ rm -rf conftest.dir
++ mkdir conftest.dir
++ echo GrepMe > conftest.dir/file
++ AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
++ rm -rf conftest.dir
++ if test -s conftest.tar; then
++ AM_RUN_LOG([$am__untar <conftest.tar])
++ grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
++ fi
++done
++rm -rf conftest.dir
++
++AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
++AC_MSG_RESULT([$am_cv_prog_tar_$1])])
++AC_SUBST([am__tar])
++AC_SUBST([am__untar])
++]) # _AM_PROG_TAR
++
++m4_include([../../../acinclude.m4])
+diff -Naur newlib-1.20.0.orig/newlib/libc/machine/epiphany/configure newlib-1.20.0/newlib/libc/machine/epiphany/configure
+--- newlib-1.20.0.orig/newlib/libc/machine/epiphany/configure 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/newlib/libc/machine/epiphany/configure 2012-10-15 10:31:19.598620735 +0200
+@@ -0,0 +1,4745 @@
++#! /bin/sh
++# Guess values for system-dependent variables and create Makefiles.
++# Generated by GNU Autoconf 2.68 for newlib 1.20.0.
++#
++#
++# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
++# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
++# Foundation, Inc.
++#
++#
++# This configure script is free software; the Free Software Foundation
++# gives unlimited permission to copy, distribute and modify it.
++## -------------------- ##
++## M4sh Initialization. ##
++## -------------------- ##
++
++# Be more Bourne compatible
++DUALCASE=1; export DUALCASE # for MKS sh
++if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
++ emulate sh
++ NULLCMD=:
++ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
++ # is contrary to our usage. Disable this feature.
++ alias -g '${1+"$@"}'='"$@"'
++ setopt NO_GLOB_SUBST
++else
++ case `(set -o) 2>/dev/null` in #(
++ *posix*) :
++ set -o posix ;; #(
++ *) :
++ ;;
++esac
++fi
++
++
++as_nl='
++'
++export as_nl
++# Printing a long string crashes Solaris 7 /usr/bin/printf.
++as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
++as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
++as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
++# Prefer a ksh shell builtin over an external printf program on Solaris,
++# but without wasting forks for bash or zsh.
++if test -z "$BASH_VERSION$ZSH_VERSION" \
++ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
++ as_echo='print -r --'
++ as_echo_n='print -rn --'
++elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
++ as_echo='printf %s\n'
++ as_echo_n='printf %s'
++else
++ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
++ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
++ as_echo_n='/usr/ucb/echo -n'
++ else
++ as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
++ as_echo_n_body='eval
++ arg=$1;
++ case $arg in #(
++ *"$as_nl"*)
++ expr "X$arg" : "X\\(.*\\)$as_nl";
++ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
++ esac;
++ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
++ '
++ export as_echo_n_body
++ as_echo_n='sh -c $as_echo_n_body as_echo'
++ fi
++ export as_echo_body
++ as_echo='sh -c $as_echo_body as_echo'
++fi
++
++# The user is always right.
++if test "${PATH_SEPARATOR+set}" != set; then
++ PATH_SEPARATOR=:
++ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
++ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
++ PATH_SEPARATOR=';'
++ }
++fi
++
++
++# IFS
++# We need space, tab and new line, in precisely that order. Quoting is
++# there to prevent editors from complaining about space-tab.
++# (If _AS_PATH_WALK were called with IFS unset, it would disable word
++# splitting by setting IFS to empty value.)
++IFS=" "" $as_nl"
++
++# Find who we are. Look in the path if we contain no directory separator.
++as_myself=
++case $0 in #((
++ *[\\/]* ) as_myself=$0 ;;
++ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
++ done
++IFS=$as_save_IFS
++
++ ;;
++esac
++# We did not find ourselves, most probably we were run as `sh COMMAND'
++# in which case we are not to be found in the path.
++if test "x$as_myself" = x; then
++ as_myself=$0
++fi
++if test ! -f "$as_myself"; then
++ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
++ exit 1
++fi
++
++# Unset variables that we do not need and which cause bugs (e.g. in
++# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
++# suppresses any "Segmentation fault" message there. '((' could
++# trigger a bug in pdksh 5.2.14.
++for as_var in BASH_ENV ENV MAIL MAILPATH
++do eval test x\${$as_var+set} = xset \
++ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
++done
++PS1='$ '
++PS2='> '
++PS4='+ '
++
++# NLS nuisances.
++LC_ALL=C
++export LC_ALL
++LANGUAGE=C
++export LANGUAGE
++
++# CDPATH.
++(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
++
++if test "x$CONFIG_SHELL" = x; then
++ as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
++ emulate sh
++ NULLCMD=:
++ # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
++ # is contrary to our usage. Disable this feature.
++ alias -g '\${1+\"\$@\"}'='\"\$@\"'
++ setopt NO_GLOB_SUBST
++else
++ case \`(set -o) 2>/dev/null\` in #(
++ *posix*) :
++ set -o posix ;; #(
++ *) :
++ ;;
++esac
++fi
++"
++ as_required="as_fn_return () { (exit \$1); }
++as_fn_success () { as_fn_return 0; }
++as_fn_failure () { as_fn_return 1; }
++as_fn_ret_success () { return 0; }
++as_fn_ret_failure () { return 1; }
++
++exitcode=0
++as_fn_success || { exitcode=1; echo as_fn_success failed.; }
++as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
++as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
++as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
++if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
++
++else
++ exitcode=1; echo positional parameters were not saved.
++fi
++test x\$exitcode = x0 || exit 1"
++ as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
++ as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
++ eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
++ test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
++ if (eval "$as_required") 2>/dev/null; then :
++ as_have_required=yes
++else
++ as_have_required=no
++fi
++ if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
++
++else
++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++as_found=false
++for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ as_found=:
++ case $as_dir in #(
++ /*)
++ for as_base in sh bash ksh sh5; do
++ # Try only shells that exist, to save several forks.
++ as_shell=$as_dir/$as_base
++ if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
++ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
++ CONFIG_SHELL=$as_shell as_have_required=yes
++ if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
++ break 2
++fi
++fi
++ done;;
++ esac
++ as_found=false
++done
++$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
++ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
++ CONFIG_SHELL=$SHELL as_have_required=yes
++fi; }
++IFS=$as_save_IFS
++
++
++ if test "x$CONFIG_SHELL" != x; then :
++ # We cannot yet assume a decent shell, so we have to provide a
++ # neutralization value for shells without unset; and this also
++ # works around shells that cannot unset nonexistent variables.
++ # Preserve -v and -x to the replacement shell.
++ BASH_ENV=/dev/null
++ ENV=/dev/null
++ (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
++ export CONFIG_SHELL
++ case $- in # ((((
++ *v*x* | *x*v* ) as_opts=-vx ;;
++ *v* ) as_opts=-v ;;
++ *x* ) as_opts=-x ;;
++ * ) as_opts= ;;
++ esac
++ exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
++fi
++
++ if test x$as_have_required = xno; then :
++ $as_echo "$0: This script requires a shell more modern than all"
++ $as_echo "$0: the shells that I found on your system."
++ if test x${ZSH_VERSION+set} = xset ; then
++ $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
++ $as_echo "$0: be upgraded to zsh 4.3.4 or later."
++ else
++ $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
++$0: including any error possibly output before this
++$0: message. Then install a modern shell, or manually run
++$0: the script under such a shell if you do have one."
++ fi
++ exit 1
++fi
++fi
++fi
++SHELL=${CONFIG_SHELL-/bin/sh}
++export SHELL
++# Unset more variables known to interfere with behavior of common tools.
++CLICOLOR_FORCE= GREP_OPTIONS=
++unset CLICOLOR_FORCE GREP_OPTIONS
++
++## --------------------- ##
++## M4sh Shell Functions. ##
++## --------------------- ##
++# as_fn_unset VAR
++# ---------------
++# Portably unset VAR.
++as_fn_unset ()
++{
++ { eval $1=; unset $1;}
++}
++as_unset=as_fn_unset
++
++# as_fn_set_status STATUS
++# -----------------------
++# Set $? to STATUS, without forking.
++as_fn_set_status ()
++{
++ return $1
++} # as_fn_set_status
++
++# as_fn_exit STATUS
++# -----------------
++# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
++as_fn_exit ()
++{
++ set +e
++ as_fn_set_status $1
++ exit $1
++} # as_fn_exit
++
++# as_fn_mkdir_p
++# -------------
++# Create "$as_dir" as a directory, including parents if necessary.
++as_fn_mkdir_p ()
++{
++
++ case $as_dir in #(
++ -*) as_dir=./$as_dir;;
++ esac
++ test -d "$as_dir" || eval $as_mkdir_p || {
++ as_dirs=
++ while :; do
++ case $as_dir in #(
++ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
++ *) as_qdir=$as_dir;;
++ esac
++ as_dirs="'$as_qdir' $as_dirs"
++ as_dir=`$as_dirname -- "$as_dir" ||
++$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
++ X"$as_dir" : 'X\(//\)[^/]' \| \
++ X"$as_dir" : 'X\(//\)$' \| \
++ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
++$as_echo X"$as_dir" |
++ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
++ s//\1/
++ q
++ }
++ /^X\(\/\/\)[^/].*/{
++ s//\1/
++ q
++ }
++ /^X\(\/\/\)$/{
++ s//\1/
++ q
++ }
++ /^X\(\/\).*/{
++ s//\1/
++ q
++ }
++ s/.*/./; q'`
++ test -d "$as_dir" && break
++ done
++ test -z "$as_dirs" || eval "mkdir $as_dirs"
++ } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
++
++
++} # as_fn_mkdir_p
++# as_fn_append VAR VALUE
++# ----------------------
++# Append the text in VALUE to the end of the definition contained in VAR. Take
++# advantage of any shell optimizations that allow amortized linear growth over
++# repeated appends, instead of the typical quadratic growth present in naive
++# implementations.
++if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
++ eval 'as_fn_append ()
++ {
++ eval $1+=\$2
++ }'
++else
++ as_fn_append ()
++ {
++ eval $1=\$$1\$2
++ }
++fi # as_fn_append
++
++# as_fn_arith ARG...
++# ------------------
++# Perform arithmetic evaluation on the ARGs, and store the result in the
++# global $as_val. Take advantage of shells that can avoid forks. The arguments
++# must be portable across $(()) and expr.
++if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
++ eval 'as_fn_arith ()
++ {
++ as_val=$(( $* ))
++ }'
++else
++ as_fn_arith ()
++ {
++ as_val=`expr "$@" || test $? -eq 1`
++ }
++fi # as_fn_arith
++
++
++# as_fn_error STATUS ERROR [LINENO LOG_FD]
++# ----------------------------------------
++# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
++# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
++# script with STATUS, using 1 if that was 0.
++as_fn_error ()
++{
++ as_status=$1; test $as_status -eq 0 && as_status=1
++ if test "$4"; then
++ as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
++ $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
++ fi
++ $as_echo "$as_me: error: $2" >&2
++ as_fn_exit $as_status
++} # as_fn_error
++
++if expr a : '\(a\)' >/dev/null 2>&1 &&
++ test "X`expr 00001 : '.*\(...\)'`" = X001; then
++ as_expr=expr
++else
++ as_expr=false
++fi
++
++if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
++ as_basename=basename
++else
++ as_basename=false
++fi
++
++if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
++ as_dirname=dirname
++else
++ as_dirname=false
++fi
++
++as_me=`$as_basename -- "$0" ||
++$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
++ X"$0" : 'X\(//\)$' \| \
++ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
++$as_echo X/"$0" |
++ sed '/^.*\/\([^/][^/]*\)\/*$/{
++ s//\1/
++ q
++ }
++ /^X\/\(\/\/\)$/{
++ s//\1/
++ q
++ }
++ /^X\/\(\/\).*/{
++ s//\1/
++ q
++ }
++ s/.*/./; q'`
++
++# Avoid depending upon Character Ranges.
++as_cr_letters='abcdefghijklmnopqrstuvwxyz'
++as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
++as_cr_Letters=$as_cr_letters$as_cr_LETTERS
++as_cr_digits='0123456789'
++as_cr_alnum=$as_cr_Letters$as_cr_digits
++
++
++ as_lineno_1=$LINENO as_lineno_1a=$LINENO
++ as_lineno_2=$LINENO as_lineno_2a=$LINENO
++ eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
++ test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
++ # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
++ sed -n '
++ p
++ /[$]LINENO/=
++ ' <$as_myself |
++ sed '
++ s/[$]LINENO.*/&-/
++ t lineno
++ b
++ :lineno
++ N
++ :loop
++ s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
++ t loop
++ s/-\n.*//
++ ' >$as_me.lineno &&
++ chmod +x "$as_me.lineno" ||
++ { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
++
++ # Don't try to exec as it changes $[0], causing all sort of problems
++ # (the dirname of $[0] is not the place where we might find the
++ # original and so on. Autoconf is especially sensitive to this).
++ . "./$as_me.lineno"
++ # Exit status is that of the last command.
++ exit
++}
++
++ECHO_C= ECHO_N= ECHO_T=
++case `echo -n x` in #(((((
++-n*)
++ case `echo 'xy\c'` in
++ *c*) ECHO_T=' ';; # ECHO_T is single tab character.
++ xy) ECHO_C='\c';;
++ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
++ ECHO_T=' ';;
++ esac;;
++*)
++ ECHO_N='-n';;
++esac
++
++rm -f conf$$ conf$$.exe conf$$.file
++if test -d conf$$.dir; then
++ rm -f conf$$.dir/conf$$.file
++else
++ rm -f conf$$.dir
++ mkdir conf$$.dir 2>/dev/null
++fi
++if (echo >conf$$.file) 2>/dev/null; then
++ if ln -s conf$$.file conf$$ 2>/dev/null; then
++ as_ln_s='ln -s'
++ # ... but there are two gotchas:
++ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
++ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
++ # In both cases, we have to default to `cp -p'.
++ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
++ as_ln_s='cp -p'
++ elif ln conf$$.file conf$$ 2>/dev/null; then
++ as_ln_s=ln
++ else
++ as_ln_s='cp -p'
++ fi
++else
++ as_ln_s='cp -p'
++fi
++rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
++rmdir conf$$.dir 2>/dev/null
++
++if mkdir -p . 2>/dev/null; then
++ as_mkdir_p='mkdir -p "$as_dir"'
++else
++ test -d ./-p && rmdir ./-p
++ as_mkdir_p=false
++fi
++
++if test -x / >/dev/null 2>&1; then
++ as_test_x='test -x'
++else
++ if ls -dL / >/dev/null 2>&1; then
++ as_ls_L_option=L
++ else
++ as_ls_L_option=
++ fi
++ as_test_x='
++ eval sh -c '\''
++ if test -d "$1"; then
++ test -d "$1/.";
++ else
++ case $1 in #(
++ -*)set "./$1";;
++ esac;
++ case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
++ ???[sx]*):;;*)false;;esac;fi
++ '\'' sh
++ '
++fi
++as_executable_p=$as_test_x
++
++# Sed expression to map a string onto a valid CPP name.
++as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
++
++# Sed expression to map a string onto a valid variable name.
++as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
++
++
++test -n "$DJDIR" || exec 7<&0 </dev/null
++exec 6>&1
++
++# Name of the host.
++# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
++# so uname gets run too.
++ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
++
++#
++# Initializations.
++#
++ac_default_prefix=/usr/local
++ac_clean_files=
++ac_config_libobj_dir=.
++LIBOBJS=
++cross_compiling=no
++subdirs=
++MFLAGS=
++MAKEFLAGS=
++
++# Identity of this package.
++PACKAGE_NAME='newlib'
++PACKAGE_TARNAME='newlib'
++PACKAGE_VERSION='1.20.0'
++PACKAGE_STRING='newlib 1.20.0'
++PACKAGE_BUGREPORT=''
++PACKAGE_URL=''
++
++ac_unique_file="Makefile.am"
++ac_subst_vars='LTLIBOBJS
++LIBOBJS
++sys_dir
++machine_dir
++libm_machine_dir
++lpfx
++aext
++oext
++OBJEXT
++USE_LIBTOOL_FALSE
++USE_LIBTOOL_TRUE
++ELIX_LEVEL_4_FALSE
++ELIX_LEVEL_4_TRUE
++ELIX_LEVEL_3_FALSE
++ELIX_LEVEL_3_TRUE
++ELIX_LEVEL_2_FALSE
++ELIX_LEVEL_2_TRUE
++ELIX_LEVEL_1_FALSE
++ELIX_LEVEL_1_TRUE
++ELIX_LEVEL_0_FALSE
++ELIX_LEVEL_0_TRUE
++LDFLAGS
++NO_INCLUDE_LIST
++NEWLIB_CFLAGS
++CCASFLAGS
++CCAS
++MAINT
++MAINTAINER_MODE_FALSE
++MAINTAINER_MODE_TRUE
++READELF
++RANLIB
++AR
++AS
++am__fastdepCC_FALSE
++am__fastdepCC_TRUE
++CCDEPMODE
++AMDEPBACKSLASH
++AMDEP_FALSE
++AMDEP_TRUE
++am__quote
++am__include
++DEPDIR
++CC
++am__untar
++am__tar
++AMTAR
++am__leading_dot
++SET_MAKE
++AWK
++mkdir_p
++MKDIR_P
++INSTALL_STRIP_PROGRAM
++STRIP
++install_sh
++MAKEINFO
++AUTOHEADER
++AUTOMAKE
++AUTOCONF
++ACLOCAL
++VERSION
++PACKAGE
++CYGPATH_W
++am__isrc
++INSTALL_DATA
++INSTALL_SCRIPT
++INSTALL_PROGRAM
++host_os
++host_vendor
++host_cpu
++host
++build_os
++build_vendor
++build_cpu
++build
++newlib_basedir
++MAY_SUPPLY_SYSCALLS_FALSE
++MAY_SUPPLY_SYSCALLS_TRUE
++target_alias
++host_alias
++build_alias
++LIBS
++ECHO_T
++ECHO_N
++ECHO_C
++DEFS
++mandir
++localedir
++libdir
++psdir
++pdfdir
++dvidir
++htmldir
++infodir
++docdir
++oldincludedir
++includedir
++localstatedir
++sharedstatedir
++sysconfdir
++datadir
++datarootdir
++libexecdir
++sbindir
++bindir
++program_transform_name
++prefix
++exec_prefix
++PACKAGE_URL
++PACKAGE_BUGREPORT
++PACKAGE_STRING
++PACKAGE_VERSION
++PACKAGE_TARNAME
++PACKAGE_NAME
++PATH_SEPARATOR
++SHELL'
++ac_subst_files=''
++ac_user_opts='
++enable_option_checking
++enable_multilib
++enable_target_optspace
++enable_malloc_debugging
++enable_newlib_multithread
++enable_newlib_iconv
++enable_newlib_elix_level
++enable_newlib_io_float
++enable_newlib_supplied_syscalls
++enable_dependency_tracking
++enable_maintainer_mode
++'
++ ac_precious_vars='build_alias
++host_alias
++target_alias
++CCAS
++CCASFLAGS'
++
++
++# Initialize some variables set by options.
++ac_init_help=
++ac_init_version=false
++ac_unrecognized_opts=
++ac_unrecognized_sep=
++# The variables have the same names as the options, with
++# dashes changed to underlines.
++cache_file=/dev/null
++exec_prefix=NONE
++no_create=
++no_recursion=
++prefix=NONE
++program_prefix=NONE
++program_suffix=NONE
++program_transform_name=s,x,x,
++silent=
++site=
++srcdir=
++verbose=
++x_includes=NONE
++x_libraries=NONE
++
++# Installation directory options.
++# These are left unexpanded so users can "make install exec_prefix=/foo"
++# and all the variables that are supposed to be based on exec_prefix
++# by default will actually change.
++# Use braces instead of parens because sh, perl, etc. also accept them.
++# (The list follows the same order as the GNU Coding Standards.)
++bindir='${exec_prefix}/bin'
++sbindir='${exec_prefix}/sbin'
++libexecdir='${exec_prefix}/libexec'
++datarootdir='${prefix}/share'
++datadir='${datarootdir}'
++sysconfdir='${prefix}/etc'
++sharedstatedir='${prefix}/com'
++localstatedir='${prefix}/var'
++includedir='${prefix}/include'
++oldincludedir='/usr/include'
++docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
++infodir='${datarootdir}/info'
++htmldir='${docdir}'
++dvidir='${docdir}'
++pdfdir='${docdir}'
++psdir='${docdir}'
++libdir='${exec_prefix}/lib'
++localedir='${datarootdir}/locale'
++mandir='${datarootdir}/man'
++
++ac_prev=
++ac_dashdash=
++for ac_option
++do
++ # If the previous option needs an argument, assign it.
++ if test -n "$ac_prev"; then
++ eval $ac_prev=\$ac_option
++ ac_prev=
++ continue
++ fi
++
++ case $ac_option in
++ *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
++ *=) ac_optarg= ;;
++ *) ac_optarg=yes ;;
++ esac
++
++ # Accept the important Cygnus configure options, so we can diagnose typos.
++
++ case $ac_dashdash$ac_option in
++ --)
++ ac_dashdash=yes ;;
++
++ -bindir | --bindir | --bindi | --bind | --bin | --bi)
++ ac_prev=bindir ;;
++ -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
++ bindir=$ac_optarg ;;
++
++ -build | --build | --buil | --bui | --bu)
++ ac_prev=build_alias ;;
++ -build=* | --build=* | --buil=* | --bui=* | --bu=*)
++ build_alias=$ac_optarg ;;
++
++ -cache-file | --cache-file | --cache-fil | --cache-fi \
++ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
++ ac_prev=cache_file ;;
++ -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
++ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
++ cache_file=$ac_optarg ;;
++
++ --config-cache | -C)
++ cache_file=config.cache ;;
++
++ -datadir | --datadir | --datadi | --datad)
++ ac_prev=datadir ;;
++ -datadir=* | --datadir=* | --datadi=* | --datad=*)
++ datadir=$ac_optarg ;;
++
++ -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
++ | --dataroo | --dataro | --datar)
++ ac_prev=datarootdir ;;
++ -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
++ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
++ datarootdir=$ac_optarg ;;
++
++ -disable-* | --disable-*)
++ ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
++ # Reject names that are not valid shell variable names.
++ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
++ as_fn_error $? "invalid feature name: $ac_useropt"
++ ac_useropt_orig=$ac_useropt
++ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
++ case $ac_user_opts in
++ *"
++"enable_$ac_useropt"
++"*) ;;
++ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
++ ac_unrecognized_sep=', ';;
++ esac
++ eval enable_$ac_useropt=no ;;
++
++ -docdir | --docdir | --docdi | --doc | --do)
++ ac_prev=docdir ;;
++ -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
++ docdir=$ac_optarg ;;
++
++ -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
++ ac_prev=dvidir ;;
++ -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
++ dvidir=$ac_optarg ;;
++
++ -enable-* | --enable-*)
++ ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
++ # Reject names that are not valid shell variable names.
++ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
++ as_fn_error $? "invalid feature name: $ac_useropt"
++ ac_useropt_orig=$ac_useropt
++ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
++ case $ac_user_opts in
++ *"
++"enable_$ac_useropt"
++"*) ;;
++ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
++ ac_unrecognized_sep=', ';;
++ esac
++ eval enable_$ac_useropt=\$ac_optarg ;;
++
++ -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
++ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
++ | --exec | --exe | --ex)
++ ac_prev=exec_prefix ;;
++ -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
++ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
++ | --exec=* | --exe=* | --ex=*)
++ exec_prefix=$ac_optarg ;;
++
++ -gas | --gas | --ga | --g)
++ # Obsolete; use --with-gas.
++ with_gas=yes ;;
++
++ -help | --help | --hel | --he | -h)
++ ac_init_help=long ;;
++ -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
++ ac_init_help=recursive ;;
++ -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
++ ac_init_help=short ;;
++
++ -host | --host | --hos | --ho)
++ ac_prev=host_alias ;;
++ -host=* | --host=* | --hos=* | --ho=*)
++ host_alias=$ac_optarg ;;
++
++ -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
++ ac_prev=htmldir ;;
++ -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
++ | --ht=*)
++ htmldir=$ac_optarg ;;
++
++ -includedir | --includedir | --includedi | --included | --include \
++ | --includ | --inclu | --incl | --inc)
++ ac_prev=includedir ;;
++ -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
++ | --includ=* | --inclu=* | --incl=* | --inc=*)
++ includedir=$ac_optarg ;;
++
++ -infodir | --infodir | --infodi | --infod | --info | --inf)
++ ac_prev=infodir ;;
++ -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
++ infodir=$ac_optarg ;;
++
++ -libdir | --libdir | --libdi | --libd)
++ ac_prev=libdir ;;
++ -libdir=* | --libdir=* | --libdi=* | --libd=*)
++ libdir=$ac_optarg ;;
++
++ -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
++ | --libexe | --libex | --libe)
++ ac_prev=libexecdir ;;
++ -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
++ | --libexe=* | --libex=* | --libe=*)
++ libexecdir=$ac_optarg ;;
++
++ -localedir | --localedir | --localedi | --localed | --locale)
++ ac_prev=localedir ;;
++ -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
++ localedir=$ac_optarg ;;
++
++ -localstatedir | --localstatedir | --localstatedi | --localstated \
++ | --localstate | --localstat | --localsta | --localst | --locals)
++ ac_prev=localstatedir ;;
++ -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
++ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
++ localstatedir=$ac_optarg ;;
++
++ -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
++ ac_prev=mandir ;;
++ -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
++ mandir=$ac_optarg ;;
++
++ -nfp | --nfp | --nf)
++ # Obsolete; use --without-fp.
++ with_fp=no ;;
++
++ -no-create | --no-create | --no-creat | --no-crea | --no-cre \
++ | --no-cr | --no-c | -n)
++ no_create=yes ;;
++
++ -no-recursion | --no-recursion | --no-recursio | --no-recursi \
++ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
++ no_recursion=yes ;;
++
++ -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
++ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
++ | --oldin | --oldi | --old | --ol | --o)
++ ac_prev=oldincludedir ;;
++ -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
++ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
++ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
++ oldincludedir=$ac_optarg ;;
++
++ -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
++ ac_prev=prefix ;;
++ -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
++ prefix=$ac_optarg ;;
++
++ -program-prefix | --program-prefix | --program-prefi | --program-pref \
++ | --program-pre | --program-pr | --program-p)
++ ac_prev=program_prefix ;;
++ -program-prefix=* | --program-prefix=* | --program-prefi=* \
++ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
++ program_prefix=$ac_optarg ;;
++
++ -program-suffix | --program-suffix | --program-suffi | --program-suff \
++ | --program-suf | --program-su | --program-s)
++ ac_prev=program_suffix ;;
++ -program-suffix=* | --program-suffix=* | --program-suffi=* \
++ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
++ program_suffix=$ac_optarg ;;
++
++ -program-transform-name | --program-transform-name \
++ | --program-transform-nam | --program-transform-na \
++ | --program-transform-n | --program-transform- \
++ | --program-transform | --program-transfor \
++ | --program-transfo | --program-transf \
++ | --program-trans | --program-tran \
++ | --progr-tra | --program-tr | --program-t)
++ ac_prev=program_transform_name ;;
++ -program-transform-name=* | --program-transform-name=* \
++ | --program-transform-nam=* | --program-transform-na=* \
++ | --program-transform-n=* | --program-transform-=* \
++ | --program-transform=* | --program-transfor=* \
++ | --program-transfo=* | --program-transf=* \
++ | --program-trans=* | --program-tran=* \
++ | --progr-tra=* | --program-tr=* | --program-t=*)
++ program_transform_name=$ac_optarg ;;
++
++ -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
++ ac_prev=pdfdir ;;
++ -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
++ pdfdir=$ac_optarg ;;
++
++ -psdir | --psdir | --psdi | --psd | --ps)
++ ac_prev=psdir ;;
++ -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
++ psdir=$ac_optarg ;;
++
++ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
++ | -silent | --silent | --silen | --sile | --sil)
++ silent=yes ;;
++
++ -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
++ ac_prev=sbindir ;;
++ -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
++ | --sbi=* | --sb=*)
++ sbindir=$ac_optarg ;;
++
++ -sharedstatedir | --sharedstatedir | --sharedstatedi \
++ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
++ | --sharedst | --shareds | --shared | --share | --shar \
++ | --sha | --sh)
++ ac_prev=sharedstatedir ;;
++ -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
++ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
++ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
++ | --sha=* | --sh=*)
++ sharedstatedir=$ac_optarg ;;
++
++ -site | --site | --sit)
++ ac_prev=site ;;
++ -site=* | --site=* | --sit=*)
++ site=$ac_optarg ;;
++
++ -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
++ ac_prev=srcdir ;;
++ -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
++ srcdir=$ac_optarg ;;
++
++ -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
++ | --syscon | --sysco | --sysc | --sys | --sy)
++ ac_prev=sysconfdir ;;
++ -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
++ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
++ sysconfdir=$ac_optarg ;;
++
++ -target | --target | --targe | --targ | --tar | --ta | --t)
++ ac_prev=target_alias ;;
++ -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
++ target_alias=$ac_optarg ;;
++
++ -v | -verbose | --verbose | --verbos | --verbo | --verb)
++ verbose=yes ;;
++
++ -version | --version | --versio | --versi | --vers | -V)
++ ac_init_version=: ;;
++
++ -with-* | --with-*)
++ ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
++ # Reject names that are not valid shell variable names.
++ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
++ as_fn_error $? "invalid package name: $ac_useropt"
++ ac_useropt_orig=$ac_useropt
++ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
++ case $ac_user_opts in
++ *"
++"with_$ac_useropt"
++"*) ;;
++ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
++ ac_unrecognized_sep=', ';;
++ esac
++ eval with_$ac_useropt=\$ac_optarg ;;
++
++ -without-* | --without-*)
++ ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
++ # Reject names that are not valid shell variable names.
++ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
++ as_fn_error $? "invalid package name: $ac_useropt"
++ ac_useropt_orig=$ac_useropt
++ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
++ case $ac_user_opts in
++ *"
++"with_$ac_useropt"
++"*) ;;
++ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
++ ac_unrecognized_sep=', ';;
++ esac
++ eval with_$ac_useropt=no ;;
++
++ --x)
++ # Obsolete; use --with-x.
++ with_x=yes ;;
++
++ -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
++ | --x-incl | --x-inc | --x-in | --x-i)
++ ac_prev=x_includes ;;
++ -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
++ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
++ x_includes=$ac_optarg ;;
++
++ -x-libraries | --x-libraries | --x-librarie | --x-librari \
++ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
++ ac_prev=x_libraries ;;
++ -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
++ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
++ x_libraries=$ac_optarg ;;
++
++ -*) as_fn_error $? "unrecognized option: \`$ac_option'
++Try \`$0 --help' for more information"
++ ;;
++
++ *=*)
++ ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
++ # Reject names that are not valid shell variable names.
++ case $ac_envvar in #(
++ '' | [0-9]* | *[!_$as_cr_alnum]* )
++ as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
++ esac
++ eval $ac_envvar=\$ac_optarg
++ export $ac_envvar ;;
++
++ *)
++ # FIXME: should be removed in autoconf 3.0.
++ $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
++ expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
++ $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
++ : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
++ ;;
++
++ esac
++done
++
++if test -n "$ac_prev"; then
++ ac_option=--`echo $ac_prev | sed 's/_/-/g'`
++ as_fn_error $? "missing argument to $ac_option"
++fi
++
++if test -n "$ac_unrecognized_opts"; then
++ case $enable_option_checking in
++ no) ;;
++ fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
++ *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
++ esac
++fi
++
++# Check all directory arguments for consistency.
++for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
++ datadir sysconfdir sharedstatedir localstatedir includedir \
++ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
++ libdir localedir mandir
++do
++ eval ac_val=\$$ac_var
++ # Remove trailing slashes.
++ case $ac_val in
++ */ )
++ ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
++ eval $ac_var=\$ac_val;;
++ esac
++ # Be sure to have absolute directory names.
++ case $ac_val in
++ [\\/$]* | ?:[\\/]* ) continue;;
++ NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
++ esac
++ as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
++done
++
++# There might be people who depend on the old broken behavior: `$host'
++# used to hold the argument of --host etc.
++# FIXME: To remove some day.
++build=$build_alias
++host=$host_alias
++target=$target_alias
++
++# FIXME: To remove some day.
++if test "x$host_alias" != x; then
++ if test "x$build_alias" = x; then
++ cross_compiling=maybe
++ $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
++ If a cross compiler is detected then cross compile mode will be used" >&2
++ elif test "x$build_alias" != "x$host_alias"; then
++ cross_compiling=yes
++ fi
++fi
++
++ac_tool_prefix=
++test -n "$host_alias" && ac_tool_prefix=$host_alias-
++
++test "$silent" = yes && exec 6>/dev/null
++
++
++ac_pwd=`pwd` && test -n "$ac_pwd" &&
++ac_ls_di=`ls -di .` &&
++ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
++ as_fn_error $? "working directory cannot be determined"
++test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
++ as_fn_error $? "pwd does not report name of working directory"
++
++
++# Find the source files, if location was not specified.
++if test -z "$srcdir"; then
++ ac_srcdir_defaulted=yes
++ # Try the directory containing this script, then the parent directory.
++ ac_confdir=`$as_dirname -- "$as_myself" ||
++$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
++ X"$as_myself" : 'X\(//\)[^/]' \| \
++ X"$as_myself" : 'X\(//\)$' \| \
++ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
++$as_echo X"$as_myself" |
++ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
++ s//\1/
++ q
++ }
++ /^X\(\/\/\)[^/].*/{
++ s//\1/
++ q
++ }
++ /^X\(\/\/\)$/{
++ s//\1/
++ q
++ }
++ /^X\(\/\).*/{
++ s//\1/
++ q
++ }
++ s/.*/./; q'`
++ srcdir=$ac_confdir
++ if test ! -r "$srcdir/$ac_unique_file"; then
++ srcdir=..
++ fi
++else
++ ac_srcdir_defaulted=no
++fi
++if test ! -r "$srcdir/$ac_unique_file"; then
++ test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
++ as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
++fi
++ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
++ac_abs_confdir=`(
++ cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
++ pwd)`
++# When building in place, set srcdir=.
++if test "$ac_abs_confdir" = "$ac_pwd"; then
++ srcdir=.
++fi
++# Remove unnecessary trailing slashes from srcdir.
++# Double slashes in file names in object file debugging info
++# mess up M-x gdb in Emacs.
++case $srcdir in
++*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
++esac
++for ac_var in $ac_precious_vars; do
++ eval ac_env_${ac_var}_set=\${${ac_var}+set}
++ eval ac_env_${ac_var}_value=\$${ac_var}
++ eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
++ eval ac_cv_env_${ac_var}_value=\$${ac_var}
++done
++
++#
++# Report the --help message.
++#
++if test "$ac_init_help" = "long"; then
++ # Omit some internal or obsolete options to make the list less imposing.
++ # This message is too long to be a string in the A/UX 3.1 sh.
++ cat <<_ACEOF
++\`configure' configures newlib 1.20.0 to adapt to many kinds of systems.
++
++Usage: $0 [OPTION]... [VAR=VALUE]...
++
++To assign environment variables (e.g., CC, CFLAGS...), specify them as
++VAR=VALUE. See below for descriptions of some of the useful variables.
++
++Defaults for the options are specified in brackets.
++
++Configuration:
++ -h, --help display this help and exit
++ --help=short display options specific to this package
++ --help=recursive display the short help of all the included packages
++ -V, --version display version information and exit
++ -q, --quiet, --silent do not print \`checking ...' messages
++ --cache-file=FILE cache test results in FILE [disabled]
++ -C, --config-cache alias for \`--cache-file=config.cache'
++ -n, --no-create do not create output files
++ --srcdir=DIR find the sources in DIR [configure dir or \`..']
++
++Installation directories:
++ --prefix=PREFIX install architecture-independent files in PREFIX
++ [$ac_default_prefix]
++ --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
++ [PREFIX]
++
++By default, \`make install' will install all the files in
++\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
++an installation prefix other than \`$ac_default_prefix' using \`--prefix',
++for instance \`--prefix=\$HOME'.
++
++For better control, use the options below.
++
++Fine tuning of the installation directories:
++ --bindir=DIR user executables [EPREFIX/bin]
++ --sbindir=DIR system admin executables [EPREFIX/sbin]
++ --libexecdir=DIR program executables [EPREFIX/libexec]
++ --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
++ --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
++ --localstatedir=DIR modifiable single-machine data [PREFIX/var]
++ --libdir=DIR object code libraries [EPREFIX/lib]
++ --includedir=DIR C header files [PREFIX/include]
++ --oldincludedir=DIR C header files for non-gcc [/usr/include]
++ --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
++ --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
++ --infodir=DIR info documentation [DATAROOTDIR/info]
++ --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
++ --mandir=DIR man documentation [DATAROOTDIR/man]
++ --docdir=DIR documentation root [DATAROOTDIR/doc/newlib]
++ --htmldir=DIR html documentation [DOCDIR]
++ --dvidir=DIR dvi documentation [DOCDIR]
++ --pdfdir=DIR pdf documentation [DOCDIR]
++ --psdir=DIR ps documentation [DOCDIR]
++_ACEOF
++
++ cat <<\_ACEOF
++
++Program names:
++ --program-prefix=PREFIX prepend PREFIX to installed program names
++ --program-suffix=SUFFIX append SUFFIX to installed program names
++ --program-transform-name=PROGRAM run sed PROGRAM on installed program names
++
++System types:
++ --build=BUILD configure for building on BUILD [guessed]
++ --host=HOST cross-compile to build programs to run on HOST [BUILD]
++_ACEOF
++fi
++
++if test -n "$ac_init_help"; then
++ case $ac_init_help in
++ short | recursive ) echo "Configuration of newlib 1.20.0:";;
++ esac
++ cat <<\_ACEOF
++
++Optional Features:
++ --disable-option-checking ignore unrecognized --enable/--with options
++ --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
++ --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
++ --enable-multilib build many library versions (default)
++ --enable-target-optspace optimize for space
++ --enable-malloc-debugging indicate malloc debugging requested
++ --enable-newlib-multithread enable support for multiple threads
++ --enable-newlib-iconv enable iconv library support
++ --enable-newlib-elix-level supply desired elix library level (1-4)
++ --disable-newlib-io-float disable printf/scanf family float support
++ --disable-newlib-supplied-syscalls disable newlib from supplying syscalls
++ --disable-dependency-tracking speeds up one-time build
++ --enable-dependency-tracking do not reject slow dependency extractors
++ --enable-maintainer-mode enable make rules and dependencies not useful
++ (and sometimes confusing) to the casual installer
++
++Some influential environment variables:
++ CCAS assembler compiler command (defaults to CC)
++ CCASFLAGS assembler compiler flags (defaults to CFLAGS)
++
++Use these variables to override the choices made by `configure' or to help
++it to find libraries and programs with nonstandard names/locations.
++
++Report bugs to the package provider.
++_ACEOF
++ac_status=$?
++fi
++
++if test "$ac_init_help" = "recursive"; then
++ # If there are subdirs, report their specific --help.
++ for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
++ test -d "$ac_dir" ||
++ { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
++ continue
++ ac_builddir=.
++
++case "$ac_dir" in
++.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
++*)
++ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
++ # A ".." for each directory in $ac_dir_suffix.
++ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
++ case $ac_top_builddir_sub in
++ "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
++ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
++ esac ;;
++esac
++ac_abs_top_builddir=$ac_pwd
++ac_abs_builddir=$ac_pwd$ac_dir_suffix
++# for backward compatibility:
++ac_top_builddir=$ac_top_build_prefix
++
++case $srcdir in
++ .) # We are building in place.
++ ac_srcdir=.
++ ac_top_srcdir=$ac_top_builddir_sub
++ ac_abs_top_srcdir=$ac_pwd ;;
++ [\\/]* | ?:[\\/]* ) # Absolute name.
++ ac_srcdir=$srcdir$ac_dir_suffix;
++ ac_top_srcdir=$srcdir
++ ac_abs_top_srcdir=$srcdir ;;
++ *) # Relative name.
++ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
++ ac_top_srcdir=$ac_top_build_prefix$srcdir
++ ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
++esac
++ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
++
++ cd "$ac_dir" || { ac_status=$?; continue; }
++ # Check for guested configure.
++ if test -f "$ac_srcdir/configure.gnu"; then
++ echo &&
++ $SHELL "$ac_srcdir/configure.gnu" --help=recursive
++ elif test -f "$ac_srcdir/configure"; then
++ echo &&
++ $SHELL "$ac_srcdir/configure" --help=recursive
++ else
++ $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
++ fi || ac_status=$?
++ cd "$ac_pwd" || { ac_status=$?; break; }
++ done
++fi
++
++test -n "$ac_init_help" && exit $ac_status
++if $ac_init_version; then
++ cat <<\_ACEOF
++newlib configure 1.20.0
++generated by GNU Autoconf 2.68
++
++Copyright (C) 2010 Free Software Foundation, Inc.
++This configure script is free software; the Free Software Foundation
++gives unlimited permission to copy, distribute and modify it.
++_ACEOF
++ exit
++fi
++
++## ------------------------ ##
++## Autoconf initialization. ##
++## ------------------------ ##
++
++# ac_fn_c_try_compile LINENO
++# --------------------------
++# Try to compile conftest.$ac_ext, and return whether this succeeded.
++ac_fn_c_try_compile ()
++{
++ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
++ rm -f conftest.$ac_objext
++ if { { ac_try="$ac_compile"
++case "(($ac_try" in
++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
++ *) ac_try_echo=$ac_try;;
++esac
++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
++$as_echo "$ac_try_echo"; } >&5
++ (eval "$ac_compile") 2>conftest.err
++ ac_status=$?
++ if test -s conftest.err; then
++ grep -v '^ *+' conftest.err >conftest.er1
++ cat conftest.er1 >&5
++ mv -f conftest.er1 conftest.err
++ fi
++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
++ test $ac_status = 0; } && {
++ test -z "$ac_c_werror_flag" ||
++ test ! -s conftest.err
++ } && test -s conftest.$ac_objext; then :
++ ac_retval=0
++else
++ $as_echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ ac_retval=1
++fi
++ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
++ as_fn_set_status $ac_retval
++
++} # ac_fn_c_try_compile
++cat >config.log <<_ACEOF
++This file contains any messages produced by compilers while
++running configure, to aid debugging if configure makes a mistake.
++
++It was created by newlib $as_me 1.20.0, which was
++generated by GNU Autoconf 2.68. Invocation command line was
++
++ $ $0 $@
++
++_ACEOF
++exec 5>>config.log
++{
++cat <<_ASUNAME
++## --------- ##
++## Platform. ##
++## --------- ##
++
++hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
++uname -m = `(uname -m) 2>/dev/null || echo unknown`
++uname -r = `(uname -r) 2>/dev/null || echo unknown`
++uname -s = `(uname -s) 2>/dev/null || echo unknown`
++uname -v = `(uname -v) 2>/dev/null || echo unknown`
++
++/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
++/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
++
++/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
++/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
++/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
++/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
++/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
++/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
++/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
++
++_ASUNAME
++
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ $as_echo "PATH: $as_dir"
++ done
++IFS=$as_save_IFS
++
++} >&5
++
++cat >&5 <<_ACEOF
++
++
++## ----------- ##
++## Core tests. ##
++## ----------- ##
++
++_ACEOF
++
++
++# Keep a trace of the command line.
++# Strip out --no-create and --no-recursion so they do not pile up.
++# Strip out --silent because we don't want to record it for future runs.
++# Also quote any args containing shell meta-characters.
++# Make two passes to allow for proper duplicate-argument suppression.
++ac_configure_args=
++ac_configure_args0=
++ac_configure_args1=
++ac_must_keep_next=false
++for ac_pass in 1 2
++do
++ for ac_arg
++ do
++ case $ac_arg in
++ -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
++ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
++ | -silent | --silent | --silen | --sile | --sil)
++ continue ;;
++ *\'*)
++ ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
++ esac
++ case $ac_pass in
++ 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
++ 2)
++ as_fn_append ac_configure_args1 " '$ac_arg'"
++ if test $ac_must_keep_next = true; then
++ ac_must_keep_next=false # Got value, back to normal.
++ else
++ case $ac_arg in
++ *=* | --config-cache | -C | -disable-* | --disable-* \
++ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
++ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
++ | -with-* | --with-* | -without-* | --without-* | --x)
++ case "$ac_configure_args0 " in
++ "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
++ esac
++ ;;
++ -* ) ac_must_keep_next=true ;;
++ esac
++ fi
++ as_fn_append ac_configure_args " '$ac_arg'"
++ ;;
++ esac
++ done
++done
++{ ac_configure_args0=; unset ac_configure_args0;}
++{ ac_configure_args1=; unset ac_configure_args1;}
++
++# When interrupted or exit'd, cleanup temporary files, and complete
++# config.log. We remove comments because anyway the quotes in there
++# would cause problems or look ugly.
++# WARNING: Use '\'' to represent an apostrophe within the trap.
++# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
++trap 'exit_status=$?
++ # Save into config.log some information that might help in debugging.
++ {
++ echo
++
++ $as_echo "## ---------------- ##
++## Cache variables. ##
++## ---------------- ##"
++ echo
++ # The following way of writing the cache mishandles newlines in values,
++(
++ for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
++ eval ac_val=\$$ac_var
++ case $ac_val in #(
++ *${as_nl}*)
++ case $ac_var in #(
++ *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
++$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
++ esac
++ case $ac_var in #(
++ _ | IFS | as_nl) ;; #(
++ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
++ *) { eval $ac_var=; unset $ac_var;} ;;
++ esac ;;
++ esac
++ done
++ (set) 2>&1 |
++ case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
++ *${as_nl}ac_space=\ *)
++ sed -n \
++ "s/'\''/'\''\\\\'\'''\''/g;
++ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
++ ;; #(
++ *)
++ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
++ ;;
++ esac |
++ sort
++)
++ echo
++
++ $as_echo "## ----------------- ##
++## Output variables. ##
++## ----------------- ##"
++ echo
++ for ac_var in $ac_subst_vars
++ do
++ eval ac_val=\$$ac_var
++ case $ac_val in
++ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
++ esac
++ $as_echo "$ac_var='\''$ac_val'\''"
++ done | sort
++ echo
++
++ if test -n "$ac_subst_files"; then
++ $as_echo "## ------------------- ##
++## File substitutions. ##
++## ------------------- ##"
++ echo
++ for ac_var in $ac_subst_files
++ do
++ eval ac_val=\$$ac_var
++ case $ac_val in
++ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
++ esac
++ $as_echo "$ac_var='\''$ac_val'\''"
++ done | sort
++ echo
++ fi
++
++ if test -s confdefs.h; then
++ $as_echo "## ----------- ##
++## confdefs.h. ##
++## ----------- ##"
++ echo
++ cat confdefs.h
++ echo
++ fi
++ test "$ac_signal" != 0 &&
++ $as_echo "$as_me: caught signal $ac_signal"
++ $as_echo "$as_me: exit $exit_status"
++ } >&5
++ rm -f core *.core core.conftest.* &&
++ rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
++ exit $exit_status
++' 0
++for ac_signal in 1 2 13 15; do
++ trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
++done
++ac_signal=0
++
++# confdefs.h avoids OS command line length limits that DEFS can exceed.
++rm -f -r conftest* confdefs.h
++
++$as_echo "/* confdefs.h */" > confdefs.h
++
++# Predefined preprocessor variables.
++
++cat >>confdefs.h <<_ACEOF
++#define PACKAGE_NAME "$PACKAGE_NAME"
++_ACEOF
++
++cat >>confdefs.h <<_ACEOF
++#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
++_ACEOF
++
++cat >>confdefs.h <<_ACEOF
++#define PACKAGE_VERSION "$PACKAGE_VERSION"
++_ACEOF
++
++cat >>confdefs.h <<_ACEOF
++#define PACKAGE_STRING "$PACKAGE_STRING"
++_ACEOF
++
++cat >>confdefs.h <<_ACEOF
++#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
++_ACEOF
++
++cat >>confdefs.h <<_ACEOF
++#define PACKAGE_URL "$PACKAGE_URL"
++_ACEOF
++
++
++# Let the site file select an alternate cache file if it wants to.
++# Prefer an explicitly selected file to automatically selected ones.
++ac_site_file1=NONE
++ac_site_file2=NONE
++if test -n "$CONFIG_SITE"; then
++ # We do not want a PATH search for config.site.
++ case $CONFIG_SITE in #((
++ -*) ac_site_file1=./$CONFIG_SITE;;
++ */*) ac_site_file1=$CONFIG_SITE;;
++ *) ac_site_file1=./$CONFIG_SITE;;
++ esac
++elif test "x$prefix" != xNONE; then
++ ac_site_file1=$prefix/share/config.site
++ ac_site_file2=$prefix/etc/config.site
++else
++ ac_site_file1=$ac_default_prefix/share/config.site
++ ac_site_file2=$ac_default_prefix/etc/config.site
++fi
++for ac_site_file in "$ac_site_file1" "$ac_site_file2"
++do
++ test "x$ac_site_file" = xNONE && continue
++ if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
++$as_echo "$as_me: loading site script $ac_site_file" >&6;}
++ sed 's/^/| /' "$ac_site_file" >&5
++ . "$ac_site_file" \
++ || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
++$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
++as_fn_error $? "failed to load site script $ac_site_file
++See \`config.log' for more details" "$LINENO" 5; }
++ fi
++done
++
++if test -r "$cache_file"; then
++ # Some versions of bash will fail to source /dev/null (special files
++ # actually), so we avoid doing that. DJGPP emulates it as a regular file.
++ if test /dev/null != "$cache_file" && test -f "$cache_file"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
++$as_echo "$as_me: loading cache $cache_file" >&6;}
++ case $cache_file in
++ [\\/]* | ?:[\\/]* ) . "$cache_file";;
++ *) . "./$cache_file";;
++ esac
++ fi
++else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
++$as_echo "$as_me: creating cache $cache_file" >&6;}
++ >$cache_file
++fi
++
++# Check that the precious variables saved in the cache have kept the same
++# value.
++ac_cache_corrupted=false
++for ac_var in $ac_precious_vars; do
++ eval ac_old_set=\$ac_cv_env_${ac_var}_set
++ eval ac_new_set=\$ac_env_${ac_var}_set
++ eval ac_old_val=\$ac_cv_env_${ac_var}_value
++ eval ac_new_val=\$ac_env_${ac_var}_value
++ case $ac_old_set,$ac_new_set in
++ set,)
++ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
++$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
++ ac_cache_corrupted=: ;;
++ ,set)
++ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
++$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
++ ac_cache_corrupted=: ;;
++ ,);;
++ *)
++ if test "x$ac_old_val" != "x$ac_new_val"; then
++ # differences in whitespace do not lead to failure.
++ ac_old_val_w=`echo x $ac_old_val`
++ ac_new_val_w=`echo x $ac_new_val`
++ if test "$ac_old_val_w" != "$ac_new_val_w"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
++$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
++ ac_cache_corrupted=:
++ else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
++$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
++ eval $ac_var=\$ac_old_val
++ fi
++ { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
++$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
++ { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
++$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
++ fi;;
++ esac
++ # Pass precious variables to config.status.
++ if test "$ac_new_set" = set; then
++ case $ac_new_val in
++ *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
++ *) ac_arg=$ac_var=$ac_new_val ;;
++ esac
++ case " $ac_configure_args " in
++ *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
++ *) as_fn_append ac_configure_args " '$ac_arg'" ;;
++ esac
++ fi
++done
++if $ac_cache_corrupted; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
++$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
++ { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
++$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
++ as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
++fi
++## -------------------- ##
++## Main body of script. ##
++## -------------------- ##
++
++ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++
++
++
++
++ac_aux_dir=
++for ac_dir in ../../../.. "$srcdir"/../../../..; do
++ if test -f "$ac_dir/install-sh"; then
++ ac_aux_dir=$ac_dir
++ ac_install_sh="$ac_aux_dir/install-sh -c"
++ break
++ elif test -f "$ac_dir/install.sh"; then
++ ac_aux_dir=$ac_dir
++ ac_install_sh="$ac_aux_dir/install.sh -c"
++ break
++ elif test -f "$ac_dir/shtool"; then
++ ac_aux_dir=$ac_dir
++ ac_install_sh="$ac_aux_dir/shtool install -c"
++ break
++ fi
++done
++if test -z "$ac_aux_dir"; then
++ as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../../../.. \"$srcdir\"/../../../.." "$LINENO" 5
++fi
++
++# These three variables are undocumented and unsupported,
++# and are intended to be withdrawn in a future Autoconf release.
++# They can cause serious problems if a builder's source tree is in a directory
++# whose full name contains unusual characters.
++ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
++ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
++ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
++
++
++
++
++# Make sure we can run config.sub.
++$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
++ as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
++
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
++$as_echo_n "checking build system type... " >&6; }
++if ${ac_cv_build+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ ac_build_alias=$build_alias
++test "x$ac_build_alias" = x &&
++ ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
++test "x$ac_build_alias" = x &&
++ as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
++ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
++ as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
++
++fi
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
++$as_echo "$ac_cv_build" >&6; }
++case $ac_cv_build in
++*-*-*) ;;
++*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
++esac
++build=$ac_cv_build
++ac_save_IFS=$IFS; IFS='-'
++set x $ac_cv_build
++shift
++build_cpu=$1
++build_vendor=$2
++shift; shift
++# Remember, the first character of IFS is used to create $*,
++# except with old shells:
++build_os=$*
++IFS=$ac_save_IFS
++case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
++
++
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
++$as_echo_n "checking host system type... " >&6; }
++if ${ac_cv_host+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ if test "x$host_alias" = x; then
++ ac_cv_host=$ac_cv_build
++else
++ ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
++ as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
++fi
++
++fi
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
++$as_echo "$ac_cv_host" >&6; }
++case $ac_cv_host in
++*-*-*) ;;
++*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
++esac
++host=$ac_cv_host
++ac_save_IFS=$IFS; IFS='-'
++set x $ac_cv_host
++shift
++host_cpu=$1
++host_vendor=$2
++shift; shift
++# Remember, the first character of IFS is used to create $*,
++# except with old shells:
++host_os=$*
++IFS=$ac_save_IFS
++case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
++
++
++am__api_version='1.11'
++
++# Find a good install program. We prefer a C program (faster),
++# so one script is as good as another. But avoid the broken or
++# incompatible versions:
++# SysV /etc/install, /usr/sbin/install
++# SunOS /usr/etc/install
++# IRIX /sbin/install
++# AIX /bin/install
++# AmigaOS /C/install, which installs bootblocks on floppy discs
++# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
++# AFS /usr/afsws/bin/install, which mishandles nonexistent args
++# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
++# OS/2's system install, which has a completely different semantic
++# ./install, which can be erroneously created by make from ./install.sh.
++# Reject install programs that cannot install multiple files.
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
++$as_echo_n "checking for a BSD-compatible install... " >&6; }
++if test -z "$INSTALL"; then
++if ${ac_cv_path_install+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ # Account for people who put trailing slashes in PATH elements.
++case $as_dir/ in #((
++ ./ | .// | /[cC]/* | \
++ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
++ ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
++ /usr/ucb/* ) ;;
++ *)
++ # OSF1 and SCO ODT 3.0 have their own names for install.
++ # Don't use installbsd from OSF since it installs stuff as root
++ # by default.
++ for ac_prog in ginstall scoinst install; do
++ for ac_exec_ext in '' $ac_executable_extensions; do
++ if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
++ if test $ac_prog = install &&
++ grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
++ # AIX install. It has an incompatible calling convention.
++ :
++ elif test $ac_prog = install &&
++ grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
++ # program-specific install script used by HP pwplus--don't use.
++ :
++ else
++ rm -rf conftest.one conftest.two conftest.dir
++ echo one > conftest.one
++ echo two > conftest.two
++ mkdir conftest.dir
++ if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
++ test -s conftest.one && test -s conftest.two &&
++ test -s conftest.dir/conftest.one &&
++ test -s conftest.dir/conftest.two
++ then
++ ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
++ break 3
++ fi
++ fi
++ fi
++ done
++ done
++ ;;
++esac
++
++ done
++IFS=$as_save_IFS
++
++rm -rf conftest.one conftest.two conftest.dir
++
++fi
++ if test "${ac_cv_path_install+set}" = set; then
++ INSTALL=$ac_cv_path_install
++ else
++ # As a last resort, use the slow shell script. Don't cache a
++ # value for INSTALL within a source directory, because that will
++ # break other packages using the cache if that directory is
++ # removed, or if the value is a relative name.
++ INSTALL=$ac_install_sh
++ fi
++fi
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
++$as_echo "$INSTALL" >&6; }
++
++# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
++# It thinks the first close brace ends the variable substitution.
++test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
++
++test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
++
++test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
++
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
++$as_echo_n "checking whether build environment is sane... " >&6; }
++# Just in case
++sleep 1
++echo timestamp > conftest.file
++# Reject unsafe characters in $srcdir or the absolute working directory
++# name. Accept space and tab only in the latter.
++am_lf='
++'
++case `pwd` in
++ *[\\\"\#\$\&\'\`$am_lf]*)
++ as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
++esac
++case $srcdir in
++ *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
++ as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
++esac
++
++# Do `set' in a subshell so we don't clobber the current shell's
++# arguments. Must try -L first in case configure is actually a
++# symlink; some systems play weird games with the mod time of symlinks
++# (eg FreeBSD returns the mod time of the symlink's containing
++# directory).
++if (
++ set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
++ if test "$*" = "X"; then
++ # -L didn't work.
++ set X `ls -t "$srcdir/configure" conftest.file`
++ fi
++ rm -f conftest.file
++ if test "$*" != "X $srcdir/configure conftest.file" \
++ && test "$*" != "X conftest.file $srcdir/configure"; then
++
++ # If neither matched, then we have a broken ls. This can happen
++ # if, for instance, CONFIG_SHELL is bash and it inherits a
++ # broken ls alias from the environment. This has actually
++ # happened. Such a system could not be considered "sane".
++ as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
++alias in your environment" "$LINENO" 5
++ fi
++
++ test "$2" = conftest.file
++ )
++then
++ # Ok.
++ :
++else
++ as_fn_error $? "newly created file is older than distributed files!
++Check your system clock" "$LINENO" 5
++fi
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
++$as_echo "yes" >&6; }
++test "$program_prefix" != NONE &&
++ program_transform_name="s&^&$program_prefix&;$program_transform_name"
++# Use a double $ so make ignores it.
++test "$program_suffix" != NONE &&
++ program_transform_name="s&\$&$program_suffix&;$program_transform_name"
++# Double any \ or $.
++# By default was `s,x,x', remove it if useless.
++ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
++program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
++
++# expand $ac_aux_dir to an absolute path
++am_aux_dir=`cd $ac_aux_dir && pwd`
++
++if test x"${MISSING+set}" != xset; then
++ case $am_aux_dir in
++ *\ * | *\ *)
++ MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
++ *)
++ MISSING="\${SHELL} $am_aux_dir/missing" ;;
++ esac
++fi
++# Use eval to expand $SHELL
++if eval "$MISSING --run true"; then
++ am_missing_run="$MISSING --run "
++else
++ am_missing_run=
++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
++$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
++fi
++
++if test x"${install_sh}" != xset; then
++ case $am_aux_dir in
++ *\ * | *\ *)
++ install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
++ *)
++ install_sh="\${SHELL} $am_aux_dir/install-sh"
++ esac
++fi
++
++# Installed binaries are usually stripped using `strip' when the user
++# run `make install-strip'. However `strip' might not be the right
++# tool to use in cross-compilation environments, therefore Automake
++# will honor the `STRIP' environment variable to overrule this program.
++if test "$cross_compiling" != no; then
++ if test -n "$ac_tool_prefix"; then
++ # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
++set dummy ${ac_tool_prefix}strip; ac_word=$2
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
++$as_echo_n "checking for $ac_word... " >&6; }
++if ${ac_cv_prog_STRIP+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ if test -n "$STRIP"; then
++ ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ for ac_exec_ext in '' $ac_executable_extensions; do
++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
++ ac_cv_prog_STRIP="${ac_tool_prefix}strip"
++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
++ break 2
++ fi
++done
++ done
++IFS=$as_save_IFS
++
++fi
++fi
++STRIP=$ac_cv_prog_STRIP
++if test -n "$STRIP"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
++$as_echo "$STRIP" >&6; }
++else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
++$as_echo "no" >&6; }
++fi
++
++
++fi
++if test -z "$ac_cv_prog_STRIP"; then
++ ac_ct_STRIP=$STRIP
++ # Extract the first word of "strip", so it can be a program name with args.
++set dummy strip; ac_word=$2
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
++$as_echo_n "checking for $ac_word... " >&6; }
++if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ if test -n "$ac_ct_STRIP"; then
++ ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ for ac_exec_ext in '' $ac_executable_extensions; do
++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
++ ac_cv_prog_ac_ct_STRIP="strip"
++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
++ break 2
++ fi
++done
++ done
++IFS=$as_save_IFS
++
++fi
++fi
++ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
++if test -n "$ac_ct_STRIP"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
++$as_echo "$ac_ct_STRIP" >&6; }
++else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
++$as_echo "no" >&6; }
++fi
++
++ if test "x$ac_ct_STRIP" = x; then
++ STRIP=":"
++ else
++ case $cross_compiling:$ac_tool_warned in
++yes:)
++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
++$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
++ac_tool_warned=yes ;;
++esac
++ STRIP=$ac_ct_STRIP
++ fi
++else
++ STRIP="$ac_cv_prog_STRIP"
++fi
++
++fi
++INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
++
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
++$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
++if test -z "$MKDIR_P"; then
++ if ${ac_cv_path_mkdir+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ for ac_prog in mkdir gmkdir; do
++ for ac_exec_ext in '' $ac_executable_extensions; do
++ { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
++ case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
++ 'mkdir (GNU coreutils) '* | \
++ 'mkdir (coreutils) '* | \
++ 'mkdir (fileutils) '4.1*)
++ ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
++ break 3;;
++ esac
++ done
++ done
++ done
++IFS=$as_save_IFS
++
++fi
++
++ test -d ./--version && rmdir ./--version
++ if test "${ac_cv_path_mkdir+set}" = set; then
++ MKDIR_P="$ac_cv_path_mkdir -p"
++ else
++ # As a last resort, use the slow shell script. Don't cache a
++ # value for MKDIR_P within a source directory, because that will
++ # break other packages using the cache if that directory is
++ # removed, or if the value is a relative name.
++ MKDIR_P="$ac_install_sh -d"
++ fi
++fi
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
++$as_echo "$MKDIR_P" >&6; }
++
++mkdir_p="$MKDIR_P"
++case $mkdir_p in
++ [\\/$]* | ?:[\\/]*) ;;
++ */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
++esac
++
++for ac_prog in gawk mawk nawk awk
++do
++ # Extract the first word of "$ac_prog", so it can be a program name with args.
++set dummy $ac_prog; ac_word=$2
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
++$as_echo_n "checking for $ac_word... " >&6; }
++if ${ac_cv_prog_AWK+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ if test -n "$AWK"; then
++ ac_cv_prog_AWK="$AWK" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ for ac_exec_ext in '' $ac_executable_extensions; do
++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
++ ac_cv_prog_AWK="$ac_prog"
++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
++ break 2
++ fi
++done
++ done
++IFS=$as_save_IFS
++
++fi
++fi
++AWK=$ac_cv_prog_AWK
++if test -n "$AWK"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
++$as_echo "$AWK" >&6; }
++else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
++$as_echo "no" >&6; }
++fi
++
++
++ test -n "$AWK" && break
++done
++
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
++$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
++set x ${MAKE-make}
++ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
++if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ cat >conftest.make <<\_ACEOF
++SHELL = /bin/sh
++all:
++ @echo '@@@%%%=$(MAKE)=@@@%%%'
++_ACEOF
++# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
++case `${MAKE-make} -f conftest.make 2>/dev/null` in
++ *@@@%%%=?*=@@@%%%*)
++ eval ac_cv_prog_make_${ac_make}_set=yes;;
++ *)
++ eval ac_cv_prog_make_${ac_make}_set=no;;
++esac
++rm -f conftest.make
++fi
++if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
++$as_echo "yes" >&6; }
++ SET_MAKE=
++else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
++$as_echo "no" >&6; }
++ SET_MAKE="MAKE=${MAKE-make}"
++fi
++
++rm -rf .tst 2>/dev/null
++mkdir .tst 2>/dev/null
++if test -d .tst; then
++ am__leading_dot=.
++else
++ am__leading_dot=_
++fi
++rmdir .tst 2>/dev/null
++
++DEPDIR="${am__leading_dot}deps"
++
++ac_config_commands="$ac_config_commands depfiles"
++
++
++am_make=${MAKE-make}
++cat > confinc << 'END'
++am__doit:
++ @echo this is the am__doit target
++.PHONY: am__doit
++END
++# If we don't find an include directive, just comment out the code.
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
++$as_echo_n "checking for style of include used by $am_make... " >&6; }
++am__include="#"
++am__quote=
++_am_result=none
++# First try GNU make style include.
++echo "include confinc" > confmf
++# Ignore all kinds of additional output from `make'.
++case `$am_make -s -f confmf 2> /dev/null` in #(
++*the\ am__doit\ target*)
++ am__include=include
++ am__quote=
++ _am_result=GNU
++ ;;
++esac
++# Now try BSD make style include.
++if test "$am__include" = "#"; then
++ echo '.include "confinc"' > confmf
++ case `$am_make -s -f confmf 2> /dev/null` in #(
++ *the\ am__doit\ target*)
++ am__include=.include
++ am__quote="\""
++ _am_result=BSD
++ ;;
++ esac
++fi
++
++
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
++$as_echo "$_am_result" >&6; }
++rm -f confinc confmf
++
++# Check whether --enable-dependency-tracking was given.
++if test "${enable_dependency_tracking+set}" = set; then :
++ enableval=$enable_dependency_tracking;
++fi
++
++if test "x$enable_dependency_tracking" != xno; then
++ am_depcomp="$ac_aux_dir/depcomp"
++ AMDEPBACKSLASH='\'
++fi
++ if test "x$enable_dependency_tracking" != xno; then
++ AMDEP_TRUE=
++ AMDEP_FALSE='#'
++else
++ AMDEP_TRUE='#'
++ AMDEP_FALSE=
++fi
++
++
++
++# Check whether --enable-multilib was given.
++if test "${enable_multilib+set}" = set; then :
++ enableval=$enable_multilib; case "${enableval}" in
++ yes) multilib=yes ;;
++ no) multilib=no ;;
++ *) as_fn_error $? "bad value ${enableval} for multilib option" "$LINENO" 5 ;;
++ esac
++else
++ multilib=yes
++fi
++
++# Check whether --enable-target-optspace was given.
++if test "${enable_target_optspace+set}" = set; then :
++ enableval=$enable_target_optspace; case "${enableval}" in
++ yes) target_optspace=yes ;;
++ no) target_optspace=no ;;
++ *) as_fn_error $? "bad value ${enableval} for target-optspace option" "$LINENO" 5 ;;
++ esac
++else
++ target_optspace=
++fi
++
++# Check whether --enable-malloc-debugging was given.
++if test "${enable_malloc_debugging+set}" = set; then :
++ enableval=$enable_malloc_debugging; case "${enableval}" in
++ yes) malloc_debugging=yes ;;
++ no) malloc_debugging=no ;;
++ *) as_fn_error $? "bad value ${enableval} for malloc-debugging option" "$LINENO" 5 ;;
++ esac
++else
++ malloc_debugging=
++fi
++
++# Check whether --enable-newlib-multithread was given.
++if test "${enable_newlib_multithread+set}" = set; then :
++ enableval=$enable_newlib_multithread; case "${enableval}" in
++ yes) newlib_multithread=yes ;;
++ no) newlib_multithread=no ;;
++ *) as_fn_error $? "bad value ${enableval} for newlib-multithread option" "$LINENO" 5 ;;
++ esac
++else
++ newlib_multithread=yes
++fi
++
++# Check whether --enable-newlib-iconv was given.
++if test "${enable_newlib_iconv+set}" = set; then :
++ enableval=$enable_newlib_iconv; if test "${newlib_iconv+set}" != set; then
++ case "${enableval}" in
++ yes) newlib_iconv=yes ;;
++ no) newlib_iconv=no ;;
++ *) as_fn_error $? "bad value ${enableval} for newlib-iconv option" "$LINENO" 5 ;;
++ esac
++ fi
++else
++ newlib_iconv=${newlib_iconv}
++fi
++
++# Check whether --enable-newlib-elix-level was given.
++if test "${enable_newlib_elix_level+set}" = set; then :
++ enableval=$enable_newlib_elix_level; case "${enableval}" in
++ 0) newlib_elix_level=0 ;;
++ 1) newlib_elix_level=1 ;;
++ 2) newlib_elix_level=2 ;;
++ 3) newlib_elix_level=3 ;;
++ 4) newlib_elix_level=4 ;;
++ *) as_fn_error $? "bad value ${enableval} for newlib-elix-level option" "$LINENO" 5 ;;
++ esac
++else
++ newlib_elix_level=0
++fi
++
++# Check whether --enable-newlib-io-float was given.
++if test "${enable_newlib_io_float+set}" = set; then :
++ enableval=$enable_newlib_io_float; case "${enableval}" in
++ yes) newlib_io_float=yes ;;
++ no) newlib_io_float=no ;;
++ *) as_fn_error $? "bad value ${enableval} for newlib-io-float option" "$LINENO" 5 ;;
++ esac
++else
++ newlib_io_float=yes
++fi
++
++# Check whether --enable-newlib-supplied-syscalls was given.
++if test "${enable_newlib_supplied_syscalls+set}" = set; then :
++ enableval=$enable_newlib_supplied_syscalls; case "${enableval}" in
++ yes) newlib_may_supply_syscalls=yes ;;
++ no) newlib_may_supply_syscalls=no ;;
++ *) as_fn_error $? "bad value ${enableval} for newlib-supplied-syscalls option" "$LINENO" 5 ;;
++ esac
++else
++ newlib_may_supply_syscalls=yes
++fi
++
++ if test x${newlib_may_supply_syscalls} = xyes; then
++ MAY_SUPPLY_SYSCALLS_TRUE=
++ MAY_SUPPLY_SYSCALLS_FALSE='#'
++else
++ MAY_SUPPLY_SYSCALLS_TRUE='#'
++ MAY_SUPPLY_SYSCALLS_FALSE=
++fi
++
++
++
++test -z "${with_target_subdir}" && with_target_subdir=.
++
++if test "${srcdir}" = "."; then
++ if test "${with_target_subdir}" != "."; then
++ newlib_basedir="${srcdir}/${with_multisrctop}../../../.."
++ else
++ newlib_basedir="${srcdir}/${with_multisrctop}../../.."
++ fi
++else
++ newlib_basedir="${srcdir}/../../.."
++fi
++
++
++
++
++if test "`cd $srcdir && pwd`" != "`pwd`"; then
++ # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
++ # is not polluted with repeated "-I."
++ am__isrc=' -I$(srcdir)'
++ # test to see if srcdir already configured
++ if test -f $srcdir/config.status; then
++ as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
++ fi
++fi
++
++# test whether we have cygpath
++if test -z "$CYGPATH_W"; then
++ if (cygpath --version) >/dev/null 2>/dev/null; then
++ CYGPATH_W='cygpath -w'
++ else
++ CYGPATH_W=echo
++ fi
++fi
++
++
++# Define the identity of the package.
++ PACKAGE='newlib'
++ VERSION='1.20.0'
++
++
++# Some tools Automake needs.
++
++ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
++
++
++AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
++
++
++AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
++
++
++AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
++
++
++MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
++
++# We need awk for the "check" target. The system "awk" is bad on
++# some platforms.
++# Always define AMTAR for backward compatibility.
++
++AMTAR=${AMTAR-"${am_missing_run}tar"}
++
++am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
++
++
++
++
++
++
++# FIXME: We temporarily define our own version of AC_PROG_CC. This is
++# copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
++# are probably using a cross compiler, which will not be able to fully
++# link an executable. This should really be fixed in autoconf
++# itself.
++
++
++
++
++
++
++
++# Extract the first word of "gcc", so it can be a program name with args.
++set dummy gcc; ac_word=$2
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
++$as_echo_n "checking for $ac_word... " >&6; }
++if ${ac_cv_prog_CC+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ if test -n "$CC"; then
++ ac_cv_prog_CC="$CC" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ for ac_exec_ext in '' $ac_executable_extensions; do
++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
++ ac_cv_prog_CC="gcc"
++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
++ break 2
++ fi
++done
++ done
++IFS=$as_save_IFS
++
++fi
++fi
++CC=$ac_cv_prog_CC
++if test -n "$CC"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
++$as_echo "$CC" >&6; }
++else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
++$as_echo "no" >&6; }
++fi
++
++
++
++depcc="$CC" am_compiler_list=
++
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
++$as_echo_n "checking dependency style of $depcc... " >&6; }
++if ${am_cv_CC_dependencies_compiler_type+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
++ # We make a subdir and do the tests there. Otherwise we can end up
++ # making bogus files that we don't know about and never remove. For
++ # instance it was reported that on HP-UX the gcc test will end up
++ # making a dummy file named `D' -- because `-MD' means `put the output
++ # in D'.
++ mkdir conftest.dir
++ # Copy depcomp to subdir because otherwise we won't find it if we're
++ # using a relative directory.
++ cp "$am_depcomp" conftest.dir
++ cd conftest.dir
++ # We will build objects and dependencies in a subdirectory because
++ # it helps to detect inapplicable dependency modes. For instance
++ # both Tru64's cc and ICC support -MD to output dependencies as a
++ # side effect of compilation, but ICC will put the dependencies in
++ # the current directory while Tru64 will put them in the object
++ # directory.
++ mkdir sub
++
++ am_cv_CC_dependencies_compiler_type=none
++ if test "$am_compiler_list" = ""; then
++ am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
++ fi
++ am__universal=false
++ case " $depcc " in #(
++ *\ -arch\ *\ -arch\ *) am__universal=true ;;
++ esac
++
++ for depmode in $am_compiler_list; do
++ # Setup a source with many dependencies, because some compilers
++ # like to wrap large dependency lists on column 80 (with \), and
++ # we should not choose a depcomp mode which is confused by this.
++ #
++ # We need to recreate these files for each test, as the compiler may
++ # overwrite some of them when testing with obscure command lines.
++ # This happens at least with the AIX C compiler.
++ : > sub/conftest.c
++ for i in 1 2 3 4 5 6; do
++ echo '#include "conftst'$i'.h"' >> sub/conftest.c
++ # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
++ # Solaris 8's {/usr,}/bin/sh.
++ touch sub/conftst$i.h
++ done
++ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
++
++ # We check with `-c' and `-o' for the sake of the "dashmstdout"
++ # mode. It turns out that the SunPro C++ compiler does not properly
++ # handle `-M -o', and we need to detect this. Also, some Intel
++ # versions had trouble with output in subdirs
++ am__obj=sub/conftest.${OBJEXT-o}
++ am__minus_obj="-o $am__obj"
++ case $depmode in
++ gcc)
++ # This depmode causes a compiler race in universal mode.
++ test "$am__universal" = false || continue
++ ;;
++ nosideeffect)
++ # after this tag, mechanisms are not by side-effect, so they'll
++ # only be used when explicitly requested
++ if test "x$enable_dependency_tracking" = xyes; then
++ continue
++ else
++ break
++ fi
++ ;;
++ msvisualcpp | msvcmsys)
++ # This compiler won't grok `-c -o', but also, the minuso test has
++ # not run yet. These depmodes are late enough in the game, and
++ # so weak that their functioning should not be impacted.
++ am__obj=conftest.${OBJEXT-o}
++ am__minus_obj=
++ ;;
++ none) break ;;
++ esac
++ if depmode=$depmode \
++ source=sub/conftest.c object=$am__obj \
++ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
++ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
++ >/dev/null 2>conftest.err &&
++ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
++ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
++ grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
++ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
++ # icc doesn't choke on unknown options, it will just issue warnings
++ # or remarks (even with -Werror). So we grep stderr for any message
++ # that says an option was ignored or not supported.
++ # When given -MP, icc 7.0 and 7.1 complain thusly:
++ # icc: Command line warning: ignoring option '-M'; no argument required
++ # The diagnosis changed in icc 8.0:
++ # icc: Command line remark: option '-MP' not supported
++ if (grep 'ignoring option' conftest.err ||
++ grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
++ am_cv_CC_dependencies_compiler_type=$depmode
++ break
++ fi
++ fi
++ done
++
++ cd ..
++ rm -rf conftest.dir
++else
++ am_cv_CC_dependencies_compiler_type=none
++fi
++
++fi
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
++$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
++CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
++
++ if
++ test "x$enable_dependency_tracking" != xno \
++ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
++ am__fastdepCC_TRUE=
++ am__fastdepCC_FALSE='#'
++else
++ am__fastdepCC_TRUE='#'
++ am__fastdepCC_FALSE=
++fi
++
++
++if test -z "$CC"; then
++ # Extract the first word of "cc", so it can be a program name with args.
++set dummy cc; ac_word=$2
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
++$as_echo_n "checking for $ac_word... " >&6; }
++if ${ac_cv_prog_CC+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ if test -n "$CC"; then
++ ac_cv_prog_CC="$CC" # Let the user override the test.
++else
++ ac_prog_rejected=no
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ for ac_exec_ext in '' $ac_executable_extensions; do
++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
++ if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
++ ac_prog_rejected=yes
++ continue
++ fi
++ ac_cv_prog_CC="cc"
++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
++ break 2
++ fi
++done
++ done
++IFS=$as_save_IFS
++
++if test $ac_prog_rejected = yes; then
++ # We found a bogon in the path, so make sure we never use it.
++ set dummy $ac_cv_prog_CC
++ shift
++ if test $# != 0; then
++ # We chose a different compiler from the bogus one.
++ # However, it has the same basename, so the bogon will be chosen
++ # first if we set CC to just the basename; use the full file name.
++ shift
++ ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
++ fi
++fi
++fi
++fi
++CC=$ac_cv_prog_CC
++if test -n "$CC"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
++$as_echo "$CC" >&6; }
++else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
++$as_echo "no" >&6; }
++fi
++
++
++ test -z "$CC" && as_fn_error $? "no acceptable cc found in \$PATH" "$LINENO" 5
++fi
++
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using GNU C" >&5
++$as_echo_n "checking whether we are using GNU C... " >&6; }
++if ${ac_cv_c_compiler_gnu+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ cat > conftest.c <<EOF
++#ifdef __GNUC__
++ yes;
++#endif
++EOF
++if { ac_try='${CC-cc} -E conftest.c'
++ { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
++ (eval $ac_try) 2>&5
++ ac_status=$?
++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
++ test $ac_status = 0; }; } | egrep yes >/dev/null 2>&1; then
++ ac_cv_c_compiler_gnu=yes
++else
++ ac_cv_c_compiler_gnu=no
++fi
++fi
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
++$as_echo "$ac_cv_c_compiler_gnu" >&6; }
++
++if test $ac_cv_c_compiler_gnu = yes; then
++ GCC=yes
++ ac_test_CFLAGS="${CFLAGS+set}"
++ ac_save_CFLAGS="$CFLAGS"
++ ac_test_CFLAGS=${CFLAGS+set}
++ac_save_CFLAGS=$CFLAGS
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
++$as_echo_n "checking whether $CC accepts -g... " >&6; }
++if ${ac_cv_prog_cc_g+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ ac_save_c_werror_flag=$ac_c_werror_flag
++ ac_c_werror_flag=yes
++ ac_cv_prog_cc_g=no
++ CFLAGS="-g"
++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
++/* end confdefs.h. */
++
++int
++main ()
++{
++
++ ;
++ return 0;
++}
++_ACEOF
++if ac_fn_c_try_compile "$LINENO"; then :
++ ac_cv_prog_cc_g=yes
++else
++ CFLAGS=""
++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
++/* end confdefs.h. */
++
++int
++main ()
++{
++
++ ;
++ return 0;
++}
++_ACEOF
++if ac_fn_c_try_compile "$LINENO"; then :
++
++else
++ ac_c_werror_flag=$ac_save_c_werror_flag
++ CFLAGS="-g"
++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
++/* end confdefs.h. */
++
++int
++main ()
++{
++
++ ;
++ return 0;
++}
++_ACEOF
++if ac_fn_c_try_compile "$LINENO"; then :
++ ac_cv_prog_cc_g=yes
++fi
++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
++ ac_c_werror_flag=$ac_save_c_werror_flag
++fi
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
++$as_echo "$ac_cv_prog_cc_g" >&6; }
++if test "$ac_test_CFLAGS" = set; then
++ CFLAGS=$ac_save_CFLAGS
++elif test $ac_cv_prog_cc_g = yes; then
++ if test "$GCC" = yes; then
++ CFLAGS="-g -O2"
++ else
++ CFLAGS="-g"
++ fi
++else
++ if test "$GCC" = yes; then
++ CFLAGS="-O2"
++ else
++ CFLAGS=
++ fi
++fi
++ if test "$ac_test_CFLAGS" = set; then
++ CFLAGS="$ac_save_CFLAGS"
++ elif test $ac_cv_prog_cc_g = yes; then
++ CFLAGS="-g -O2"
++ else
++ CFLAGS="-O2"
++ fi
++else
++ GCC=
++ test "${CFLAGS+set}" = set || CFLAGS="-g"
++fi
++
++
++if test -n "$ac_tool_prefix"; then
++ # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
++set dummy ${ac_tool_prefix}as; ac_word=$2
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
++$as_echo_n "checking for $ac_word... " >&6; }
++if ${ac_cv_prog_AS+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ if test -n "$AS"; then
++ ac_cv_prog_AS="$AS" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ for ac_exec_ext in '' $ac_executable_extensions; do
++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
++ ac_cv_prog_AS="${ac_tool_prefix}as"
++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
++ break 2
++ fi
++done
++ done
++IFS=$as_save_IFS
++
++fi
++fi
++AS=$ac_cv_prog_AS
++if test -n "$AS"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
++$as_echo "$AS" >&6; }
++else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
++$as_echo "no" >&6; }
++fi
++
++
++fi
++if test -z "$ac_cv_prog_AS"; then
++ ac_ct_AS=$AS
++ # Extract the first word of "as", so it can be a program name with args.
++set dummy as; ac_word=$2
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
++$as_echo_n "checking for $ac_word... " >&6; }
++if ${ac_cv_prog_ac_ct_AS+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ if test -n "$ac_ct_AS"; then
++ ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ for ac_exec_ext in '' $ac_executable_extensions; do
++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
++ ac_cv_prog_ac_ct_AS="as"
++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
++ break 2
++ fi
++done
++ done
++IFS=$as_save_IFS
++
++fi
++fi
++ac_ct_AS=$ac_cv_prog_ac_ct_AS
++if test -n "$ac_ct_AS"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
++$as_echo "$ac_ct_AS" >&6; }
++else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
++$as_echo "no" >&6; }
++fi
++
++ if test "x$ac_ct_AS" = x; then
++ AS=""
++ else
++ case $cross_compiling:$ac_tool_warned in
++yes:)
++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
++$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
++ac_tool_warned=yes ;;
++esac
++ AS=$ac_ct_AS
++ fi
++else
++ AS="$ac_cv_prog_AS"
++fi
++
++if test -n "$ac_tool_prefix"; then
++ # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
++set dummy ${ac_tool_prefix}ar; ac_word=$2
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
++$as_echo_n "checking for $ac_word... " >&6; }
++if ${ac_cv_prog_AR+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ if test -n "$AR"; then
++ ac_cv_prog_AR="$AR" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ for ac_exec_ext in '' $ac_executable_extensions; do
++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
++ ac_cv_prog_AR="${ac_tool_prefix}ar"
++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
++ break 2
++ fi
++done
++ done
++IFS=$as_save_IFS
++
++fi
++fi
++AR=$ac_cv_prog_AR
++if test -n "$AR"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
++$as_echo "$AR" >&6; }
++else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
++$as_echo "no" >&6; }
++fi
++
++
++fi
++if test -z "$ac_cv_prog_AR"; then
++ ac_ct_AR=$AR
++ # Extract the first word of "ar", so it can be a program name with args.
++set dummy ar; ac_word=$2
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
++$as_echo_n "checking for $ac_word... " >&6; }
++if ${ac_cv_prog_ac_ct_AR+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ if test -n "$ac_ct_AR"; then
++ ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ for ac_exec_ext in '' $ac_executable_extensions; do
++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
++ ac_cv_prog_ac_ct_AR="ar"
++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
++ break 2
++ fi
++done
++ done
++IFS=$as_save_IFS
++
++fi
++fi
++ac_ct_AR=$ac_cv_prog_ac_ct_AR
++if test -n "$ac_ct_AR"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
++$as_echo "$ac_ct_AR" >&6; }
++else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
++$as_echo "no" >&6; }
++fi
++
++ if test "x$ac_ct_AR" = x; then
++ AR=""
++ else
++ case $cross_compiling:$ac_tool_warned in
++yes:)
++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
++$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
++ac_tool_warned=yes ;;
++esac
++ AR=$ac_ct_AR
++ fi
++else
++ AR="$ac_cv_prog_AR"
++fi
++
++if test -n "$ac_tool_prefix"; then
++ # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
++set dummy ${ac_tool_prefix}ranlib; ac_word=$2
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
++$as_echo_n "checking for $ac_word... " >&6; }
++if ${ac_cv_prog_RANLIB+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ if test -n "$RANLIB"; then
++ ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ for ac_exec_ext in '' $ac_executable_extensions; do
++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
++ ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
++ break 2
++ fi
++done
++ done
++IFS=$as_save_IFS
++
++fi
++fi
++RANLIB=$ac_cv_prog_RANLIB
++if test -n "$RANLIB"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
++$as_echo "$RANLIB" >&6; }
++else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
++$as_echo "no" >&6; }
++fi
++
++
++fi
++if test -z "$ac_cv_prog_RANLIB"; then
++ ac_ct_RANLIB=$RANLIB
++ # Extract the first word of "ranlib", so it can be a program name with args.
++set dummy ranlib; ac_word=$2
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
++$as_echo_n "checking for $ac_word... " >&6; }
++if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ if test -n "$ac_ct_RANLIB"; then
++ ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ for ac_exec_ext in '' $ac_executable_extensions; do
++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
++ ac_cv_prog_ac_ct_RANLIB="ranlib"
++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
++ break 2
++ fi
++done
++ done
++IFS=$as_save_IFS
++
++fi
++fi
++ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
++if test -n "$ac_ct_RANLIB"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
++$as_echo "$ac_ct_RANLIB" >&6; }
++else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
++$as_echo "no" >&6; }
++fi
++
++ if test "x$ac_ct_RANLIB" = x; then
++ RANLIB=":"
++ else
++ case $cross_compiling:$ac_tool_warned in
++yes:)
++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
++$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
++ac_tool_warned=yes ;;
++esac
++ RANLIB=$ac_ct_RANLIB
++ fi
++else
++ RANLIB="$ac_cv_prog_RANLIB"
++fi
++
++if test -n "$ac_tool_prefix"; then
++ # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
++set dummy ${ac_tool_prefix}readelf; ac_word=$2
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
++$as_echo_n "checking for $ac_word... " >&6; }
++if ${ac_cv_prog_READELF+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ if test -n "$READELF"; then
++ ac_cv_prog_READELF="$READELF" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ for ac_exec_ext in '' $ac_executable_extensions; do
++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
++ ac_cv_prog_READELF="${ac_tool_prefix}readelf"
++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
++ break 2
++ fi
++done
++ done
++IFS=$as_save_IFS
++
++fi
++fi
++READELF=$ac_cv_prog_READELF
++if test -n "$READELF"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
++$as_echo "$READELF" >&6; }
++else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
++$as_echo "no" >&6; }
++fi
++
++
++fi
++if test -z "$ac_cv_prog_READELF"; then
++ ac_ct_READELF=$READELF
++ # Extract the first word of "readelf", so it can be a program name with args.
++set dummy readelf; ac_word=$2
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
++$as_echo_n "checking for $ac_word... " >&6; }
++if ${ac_cv_prog_ac_ct_READELF+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ if test -n "$ac_ct_READELF"; then
++ ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ for ac_exec_ext in '' $ac_executable_extensions; do
++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
++ ac_cv_prog_ac_ct_READELF="readelf"
++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
++ break 2
++ fi
++done
++ done
++IFS=$as_save_IFS
++
++fi
++fi
++ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
++if test -n "$ac_ct_READELF"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
++$as_echo "$ac_ct_READELF" >&6; }
++else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
++$as_echo "no" >&6; }
++fi
++
++ if test "x$ac_ct_READELF" = x; then
++ READELF=":"
++ else
++ case $cross_compiling:$ac_tool_warned in
++yes:)
++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
++$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
++ac_tool_warned=yes ;;
++esac
++ READELF=$ac_ct_READELF
++ fi
++else
++ READELF="$ac_cv_prog_READELF"
++fi
++
++
++
++
++# Hack to ensure that INSTALL won't be set to "../" with autoconf 2.13. */
++ac_given_INSTALL=$INSTALL
++
++
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
++$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
++ # Check whether --enable-maintainer-mode was given.
++if test "${enable_maintainer_mode+set}" = set; then :
++ enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
++else
++ USE_MAINTAINER_MODE=no
++fi
++
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
++$as_echo "$USE_MAINTAINER_MODE" >&6; }
++ if test $USE_MAINTAINER_MODE = yes; then
++ MAINTAINER_MODE_TRUE=
++ MAINTAINER_MODE_FALSE='#'
++else
++ MAINTAINER_MODE_TRUE='#'
++ MAINTAINER_MODE_FALSE=
++fi
++
++ MAINT=$MAINTAINER_MODE_TRUE
++
++
++# By default we simply use the C compiler to build assembly code.
++
++test "${CCAS+set}" = set || CCAS=$CC
++test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
++
++
++
++
++# We need AC_EXEEXT to keep automake happy in cygnus mode. However,
++# at least currently, we never actually build a program, so we never
++# need to use $(EXEEXT). Moreover, the test for EXEEXT normally
++# fails, because we are probably configuring with a cross compiler
++# which can't create executables. So we include AC_EXEEXT to keep
++# automake happy, but we don't execute it, since we don't care about
++# the result.
++if false; then
++
++ dummy_var=1
++fi
++
++. ${newlib_basedir}/configure.host
++
++newlib_cflags="${newlib_cflags} -fno-builtin"
++
++NEWLIB_CFLAGS=${newlib_cflags}
++
++
++NO_INCLUDE_LIST=${noinclude}
++
++
++LDFLAGS=${ldflags}
++
++
++ if test x${newlib_elix_level} = x0; then
++ ELIX_LEVEL_0_TRUE=
++ ELIX_LEVEL_0_FALSE='#'
++else
++ ELIX_LEVEL_0_TRUE='#'
++ ELIX_LEVEL_0_FALSE=
++fi
++
++ if test x${newlib_elix_level} = x1; then
++ ELIX_LEVEL_1_TRUE=
++ ELIX_LEVEL_1_FALSE='#'
++else
++ ELIX_LEVEL_1_TRUE='#'
++ ELIX_LEVEL_1_FALSE=
++fi
++
++ if test x${newlib_elix_level} = x2; then
++ ELIX_LEVEL_2_TRUE=
++ ELIX_LEVEL_2_FALSE='#'
++else
++ ELIX_LEVEL_2_TRUE='#'
++ ELIX_LEVEL_2_FALSE=
++fi
++
++ if test x${newlib_elix_level} = x3; then
++ ELIX_LEVEL_3_TRUE=
++ ELIX_LEVEL_3_FALSE='#'
++else
++ ELIX_LEVEL_3_TRUE='#'
++ ELIX_LEVEL_3_FALSE=
++fi
++
++ if test x${newlib_elix_level} = x4; then
++ ELIX_LEVEL_4_TRUE=
++ ELIX_LEVEL_4_FALSE='#'
++else
++ ELIX_LEVEL_4_TRUE='#'
++ ELIX_LEVEL_4_FALSE=
++fi
++
++
++ if test x${use_libtool} = xyes; then
++ USE_LIBTOOL_TRUE=
++ USE_LIBTOOL_FALSE='#'
++else
++ USE_LIBTOOL_TRUE='#'
++ USE_LIBTOOL_FALSE=
++fi
++
++
++# Hard-code OBJEXT. Normally it is set by AC_OBJEXT, but we
++# use oext, which is set in configure.host based on the target platform.
++OBJEXT=${oext}
++
++
++
++
++
++
++
++
++
++
++
++ac_config_files="$ac_config_files Makefile"
++
++cat >confcache <<\_ACEOF
++# This file is a shell script that caches the results of configure
++# tests run on this system so they can be shared between configure
++# scripts and configure runs, see configure's option --config-cache.
++# It is not useful on other systems. If it contains results you don't
++# want to keep, you may remove or edit it.
++#
++# config.status only pays attention to the cache file if you give it
++# the --recheck option to rerun configure.
++#
++# `ac_cv_env_foo' variables (set or unset) will be overridden when
++# loading this file, other *unset* `ac_cv_foo' will be assigned the
++# following values.
++
++_ACEOF
++
++# The following way of writing the cache mishandles newlines in values,
++# but we know of no workaround that is simple, portable, and efficient.
++# So, we kill variables containing newlines.
++# Ultrix sh set writes to stderr and can't be redirected directly,
++# and sets the high bit in the cache file unless we assign to the vars.
++(
++ for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
++ eval ac_val=\$$ac_var
++ case $ac_val in #(
++ *${as_nl}*)
++ case $ac_var in #(
++ *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
++$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
++ esac
++ case $ac_var in #(
++ _ | IFS | as_nl) ;; #(
++ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
++ *) { eval $ac_var=; unset $ac_var;} ;;
++ esac ;;
++ esac
++ done
++
++ (set) 2>&1 |
++ case $as_nl`(ac_space=' '; set) 2>&1` in #(
++ *${as_nl}ac_space=\ *)
++ # `set' does not quote correctly, so add quotes: double-quote
++ # substitution turns \\\\ into \\, and sed turns \\ into \.
++ sed -n \
++ "s/'/'\\\\''/g;
++ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
++ ;; #(
++ *)
++ # `set' quotes correctly as required by POSIX, so do not add quotes.
++ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
++ ;;
++ esac |
++ sort
++) |
++ sed '
++ /^ac_cv_env_/b end
++ t clear
++ :clear
++ s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
++ t end
++ s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
++ :end' >>confcache
++if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
++ if test -w "$cache_file"; then
++ if test "x$cache_file" != "x/dev/null"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
++$as_echo "$as_me: updating cache $cache_file" >&6;}
++ if test ! -f "$cache_file" || test -h "$cache_file"; then
++ cat confcache >"$cache_file"
++ else
++ case $cache_file in #(
++ */* | ?:*)
++ mv -f confcache "$cache_file"$$ &&
++ mv -f "$cache_file"$$ "$cache_file" ;; #(
++ *)
++ mv -f confcache "$cache_file" ;;
++ esac
++ fi
++ fi
++ else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
++$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
++ fi
++fi
++rm -f confcache
++
++test "x$prefix" = xNONE && prefix=$ac_default_prefix
++# Let make expand exec_prefix.
++test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
++
++# Transform confdefs.h into DEFS.
++# Protect against shell expansion while executing Makefile rules.
++# Protect against Makefile macro expansion.
++#
++# If the first sed substitution is executed (which looks for macros that
++# take arguments), then branch to the quote section. Otherwise,
++# look for a macro that doesn't take arguments.
++ac_script='
++:mline
++/\\$/{
++ N
++ s,\\\n,,
++ b mline
++}
++t clear
++:clear
++s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
++t quote
++s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
++t quote
++b any
++:quote
++s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
++s/\[/\\&/g
++s/\]/\\&/g
++s/\$/$$/g
++H
++:any
++${
++ g
++ s/^\n//
++ s/\n/ /g
++ p
++}
++'
++DEFS=`sed -n "$ac_script" confdefs.h`
++
++
++ac_libobjs=
++ac_ltlibobjs=
++U=
++for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
++ # 1. Remove the extension, and $U if already installed.
++ ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
++ ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
++ # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
++ # will be set to the directory where LIBOBJS objects are built.
++ as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
++ as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
++done
++LIBOBJS=$ac_libobjs
++
++LTLIBOBJS=$ac_ltlibobjs
++
++
++if test -z "${MAY_SUPPLY_SYSCALLS_TRUE}" && test -z "${MAY_SUPPLY_SYSCALLS_FALSE}"; then
++ as_fn_error $? "conditional \"MAY_SUPPLY_SYSCALLS\" was never defined.
++Usually this means the macro was only invoked conditionally." "$LINENO" 5
++fi
++
++if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
++ as_fn_error $? "conditional \"AMDEP\" was never defined.
++Usually this means the macro was only invoked conditionally." "$LINENO" 5
++fi
++if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
++ as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
++Usually this means the macro was only invoked conditionally." "$LINENO" 5
++fi
++if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
++ as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
++Usually this means the macro was only invoked conditionally." "$LINENO" 5
++fi
++if test -z "${ELIX_LEVEL_0_TRUE}" && test -z "${ELIX_LEVEL_0_FALSE}"; then
++ as_fn_error $? "conditional \"ELIX_LEVEL_0\" was never defined.
++Usually this means the macro was only invoked conditionally." "$LINENO" 5
++fi
++if test -z "${ELIX_LEVEL_1_TRUE}" && test -z "${ELIX_LEVEL_1_FALSE}"; then
++ as_fn_error $? "conditional \"ELIX_LEVEL_1\" was never defined.
++Usually this means the macro was only invoked conditionally." "$LINENO" 5
++fi
++if test -z "${ELIX_LEVEL_2_TRUE}" && test -z "${ELIX_LEVEL_2_FALSE}"; then
++ as_fn_error $? "conditional \"ELIX_LEVEL_2\" was never defined.
++Usually this means the macro was only invoked conditionally." "$LINENO" 5
++fi
++if test -z "${ELIX_LEVEL_3_TRUE}" && test -z "${ELIX_LEVEL_3_FALSE}"; then
++ as_fn_error $? "conditional \"ELIX_LEVEL_3\" was never defined.
++Usually this means the macro was only invoked conditionally." "$LINENO" 5
++fi
++if test -z "${ELIX_LEVEL_4_TRUE}" && test -z "${ELIX_LEVEL_4_FALSE}"; then
++ as_fn_error $? "conditional \"ELIX_LEVEL_4\" was never defined.
++Usually this means the macro was only invoked conditionally." "$LINENO" 5
++fi
++if test -z "${USE_LIBTOOL_TRUE}" && test -z "${USE_LIBTOOL_FALSE}"; then
++ as_fn_error $? "conditional \"USE_LIBTOOL\" was never defined.
++Usually this means the macro was only invoked conditionally." "$LINENO" 5
++fi
++
++: "${CONFIG_STATUS=./config.status}"
++ac_write_fail=0
++ac_clean_files_save=$ac_clean_files
++ac_clean_files="$ac_clean_files $CONFIG_STATUS"
++{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
++$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
++as_write_fail=0
++cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
++#! $SHELL
++# Generated by $as_me.
++# Run this file to recreate the current configuration.
++# Compiler output produced by configure, useful for debugging
++# configure, is in config.log if it exists.
++
++debug=false
++ac_cs_recheck=false
++ac_cs_silent=false
++
++SHELL=\${CONFIG_SHELL-$SHELL}
++export SHELL
++_ASEOF
++cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
++## -------------------- ##
++## M4sh Initialization. ##
++## -------------------- ##
++
++# Be more Bourne compatible
++DUALCASE=1; export DUALCASE # for MKS sh
++if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
++ emulate sh
++ NULLCMD=:
++ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
++ # is contrary to our usage. Disable this feature.
++ alias -g '${1+"$@"}'='"$@"'
++ setopt NO_GLOB_SUBST
++else
++ case `(set -o) 2>/dev/null` in #(
++ *posix*) :
++ set -o posix ;; #(
++ *) :
++ ;;
++esac
++fi
++
++
++as_nl='
++'
++export as_nl
++# Printing a long string crashes Solaris 7 /usr/bin/printf.
++as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
++as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
++as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
++# Prefer a ksh shell builtin over an external printf program on Solaris,
++# but without wasting forks for bash or zsh.
++if test -z "$BASH_VERSION$ZSH_VERSION" \
++ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
++ as_echo='print -r --'
++ as_echo_n='print -rn --'
++elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
++ as_echo='printf %s\n'
++ as_echo_n='printf %s'
++else
++ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
++ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
++ as_echo_n='/usr/ucb/echo -n'
++ else
++ as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
++ as_echo_n_body='eval
++ arg=$1;
++ case $arg in #(
++ *"$as_nl"*)
++ expr "X$arg" : "X\\(.*\\)$as_nl";
++ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
++ esac;
++ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
++ '
++ export as_echo_n_body
++ as_echo_n='sh -c $as_echo_n_body as_echo'
++ fi
++ export as_echo_body
++ as_echo='sh -c $as_echo_body as_echo'
++fi
++
++# The user is always right.
++if test "${PATH_SEPARATOR+set}" != set; then
++ PATH_SEPARATOR=:
++ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
++ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
++ PATH_SEPARATOR=';'
++ }
++fi
++
++
++# IFS
++# We need space, tab and new line, in precisely that order. Quoting is
++# there to prevent editors from complaining about space-tab.
++# (If _AS_PATH_WALK were called with IFS unset, it would disable word
++# splitting by setting IFS to empty value.)
++IFS=" "" $as_nl"
++
++# Find who we are. Look in the path if we contain no directory separator.
++as_myself=
++case $0 in #((
++ *[\\/]* ) as_myself=$0 ;;
++ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
++ done
++IFS=$as_save_IFS
++
++ ;;
++esac
++# We did not find ourselves, most probably we were run as `sh COMMAND'
++# in which case we are not to be found in the path.
++if test "x$as_myself" = x; then
++ as_myself=$0
++fi
++if test ! -f "$as_myself"; then
++ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
++ exit 1
++fi
++
++# Unset variables that we do not need and which cause bugs (e.g. in
++# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
++# suppresses any "Segmentation fault" message there. '((' could
++# trigger a bug in pdksh 5.2.14.
++for as_var in BASH_ENV ENV MAIL MAILPATH
++do eval test x\${$as_var+set} = xset \
++ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
++done
++PS1='$ '
++PS2='> '
++PS4='+ '
++
++# NLS nuisances.
++LC_ALL=C
++export LC_ALL
++LANGUAGE=C
++export LANGUAGE
++
++# CDPATH.
++(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
++
++
++# as_fn_error STATUS ERROR [LINENO LOG_FD]
++# ----------------------------------------
++# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
++# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
++# script with STATUS, using 1 if that was 0.
++as_fn_error ()
++{
++ as_status=$1; test $as_status -eq 0 && as_status=1
++ if test "$4"; then
++ as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
++ $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
++ fi
++ $as_echo "$as_me: error: $2" >&2
++ as_fn_exit $as_status
++} # as_fn_error
++
++
++# as_fn_set_status STATUS
++# -----------------------
++# Set $? to STATUS, without forking.
++as_fn_set_status ()
++{
++ return $1
++} # as_fn_set_status
++
++# as_fn_exit STATUS
++# -----------------
++# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
++as_fn_exit ()
++{
++ set +e
++ as_fn_set_status $1
++ exit $1
++} # as_fn_exit
++
++# as_fn_unset VAR
++# ---------------
++# Portably unset VAR.
++as_fn_unset ()
++{
++ { eval $1=; unset $1;}
++}
++as_unset=as_fn_unset
++# as_fn_append VAR VALUE
++# ----------------------
++# Append the text in VALUE to the end of the definition contained in VAR. Take
++# advantage of any shell optimizations that allow amortized linear growth over
++# repeated appends, instead of the typical quadratic growth present in naive
++# implementations.
++if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
++ eval 'as_fn_append ()
++ {
++ eval $1+=\$2
++ }'
++else
++ as_fn_append ()
++ {
++ eval $1=\$$1\$2
++ }
++fi # as_fn_append
++
++# as_fn_arith ARG...
++# ------------------
++# Perform arithmetic evaluation on the ARGs, and store the result in the
++# global $as_val. Take advantage of shells that can avoid forks. The arguments
++# must be portable across $(()) and expr.
++if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
++ eval 'as_fn_arith ()
++ {
++ as_val=$(( $* ))
++ }'
++else
++ as_fn_arith ()
++ {
++ as_val=`expr "$@" || test $? -eq 1`
++ }
++fi # as_fn_arith
++
++
++if expr a : '\(a\)' >/dev/null 2>&1 &&
++ test "X`expr 00001 : '.*\(...\)'`" = X001; then
++ as_expr=expr
++else
++ as_expr=false
++fi
++
++if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
++ as_basename=basename
++else
++ as_basename=false
++fi
++
++if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
++ as_dirname=dirname
++else
++ as_dirname=false
++fi
++
++as_me=`$as_basename -- "$0" ||
++$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
++ X"$0" : 'X\(//\)$' \| \
++ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
++$as_echo X/"$0" |
++ sed '/^.*\/\([^/][^/]*\)\/*$/{
++ s//\1/
++ q
++ }
++ /^X\/\(\/\/\)$/{
++ s//\1/
++ q
++ }
++ /^X\/\(\/\).*/{
++ s//\1/
++ q
++ }
++ s/.*/./; q'`
++
++# Avoid depending upon Character Ranges.
++as_cr_letters='abcdefghijklmnopqrstuvwxyz'
++as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
++as_cr_Letters=$as_cr_letters$as_cr_LETTERS
++as_cr_digits='0123456789'
++as_cr_alnum=$as_cr_Letters$as_cr_digits
++
++ECHO_C= ECHO_N= ECHO_T=
++case `echo -n x` in #(((((
++-n*)
++ case `echo 'xy\c'` in
++ *c*) ECHO_T=' ';; # ECHO_T is single tab character.
++ xy) ECHO_C='\c';;
++ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
++ ECHO_T=' ';;
++ esac;;
++*)
++ ECHO_N='-n';;
++esac
++
++rm -f conf$$ conf$$.exe conf$$.file
++if test -d conf$$.dir; then
++ rm -f conf$$.dir/conf$$.file
++else
++ rm -f conf$$.dir
++ mkdir conf$$.dir 2>/dev/null
++fi
++if (echo >conf$$.file) 2>/dev/null; then
++ if ln -s conf$$.file conf$$ 2>/dev/null; then
++ as_ln_s='ln -s'
++ # ... but there are two gotchas:
++ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
++ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
++ # In both cases, we have to default to `cp -p'.
++ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
++ as_ln_s='cp -p'
++ elif ln conf$$.file conf$$ 2>/dev/null; then
++ as_ln_s=ln
++ else
++ as_ln_s='cp -p'
++ fi
++else
++ as_ln_s='cp -p'
++fi
++rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
++rmdir conf$$.dir 2>/dev/null
++
++
++# as_fn_mkdir_p
++# -------------
++# Create "$as_dir" as a directory, including parents if necessary.
++as_fn_mkdir_p ()
++{
++
++ case $as_dir in #(
++ -*) as_dir=./$as_dir;;
++ esac
++ test -d "$as_dir" || eval $as_mkdir_p || {
++ as_dirs=
++ while :; do
++ case $as_dir in #(
++ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
++ *) as_qdir=$as_dir;;
++ esac
++ as_dirs="'$as_qdir' $as_dirs"
++ as_dir=`$as_dirname -- "$as_dir" ||
++$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
++ X"$as_dir" : 'X\(//\)[^/]' \| \
++ X"$as_dir" : 'X\(//\)$' \| \
++ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
++$as_echo X"$as_dir" |
++ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
++ s//\1/
++ q
++ }
++ /^X\(\/\/\)[^/].*/{
++ s//\1/
++ q
++ }
++ /^X\(\/\/\)$/{
++ s//\1/
++ q
++ }
++ /^X\(\/\).*/{
++ s//\1/
++ q
++ }
++ s/.*/./; q'`
++ test -d "$as_dir" && break
++ done
++ test -z "$as_dirs" || eval "mkdir $as_dirs"
++ } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
++
++
++} # as_fn_mkdir_p
++if mkdir -p . 2>/dev/null; then
++ as_mkdir_p='mkdir -p "$as_dir"'
++else
++ test -d ./-p && rmdir ./-p
++ as_mkdir_p=false
++fi
++
++if test -x / >/dev/null 2>&1; then
++ as_test_x='test -x'
++else
++ if ls -dL / >/dev/null 2>&1; then
++ as_ls_L_option=L
++ else
++ as_ls_L_option=
++ fi
++ as_test_x='
++ eval sh -c '\''
++ if test -d "$1"; then
++ test -d "$1/.";
++ else
++ case $1 in #(
++ -*)set "./$1";;
++ esac;
++ case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
++ ???[sx]*):;;*)false;;esac;fi
++ '\'' sh
++ '
++fi
++as_executable_p=$as_test_x
++
++# Sed expression to map a string onto a valid CPP name.
++as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
++
++# Sed expression to map a string onto a valid variable name.
++as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
++
++
++exec 6>&1
++## ----------------------------------- ##
++## Main body of $CONFIG_STATUS script. ##
++## ----------------------------------- ##
++_ASEOF
++test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
++
++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
++# Save the log message, to keep $0 and so on meaningful, and to
++# report actual input values of CONFIG_FILES etc. instead of their
++# values after options handling.
++ac_log="
++This file was extended by newlib $as_me 1.20.0, which was
++generated by GNU Autoconf 2.68. Invocation command line was
++
++ CONFIG_FILES = $CONFIG_FILES
++ CONFIG_HEADERS = $CONFIG_HEADERS
++ CONFIG_LINKS = $CONFIG_LINKS
++ CONFIG_COMMANDS = $CONFIG_COMMANDS
++ $ $0 $@
++
++on `(hostname || uname -n) 2>/dev/null | sed 1q`
++"
++
++_ACEOF
++
++case $ac_config_files in *"
++"*) set x $ac_config_files; shift; ac_config_files=$*;;
++esac
++
++
++
++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
++# Files that config.status was made for.
++config_files="$ac_config_files"
++config_commands="$ac_config_commands"
++
++_ACEOF
++
++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
++ac_cs_usage="\
++\`$as_me' instantiates files and other configuration actions
++from templates according to the current configuration. Unless the files
++and actions are specified as TAGs, all are instantiated by default.
++
++Usage: $0 [OPTION]... [TAG]...
++
++ -h, --help print this help, then exit
++ -V, --version print version number and configuration settings, then exit
++ --config print configuration, then exit
++ -q, --quiet, --silent
++ do not print progress messages
++ -d, --debug don't remove temporary files
++ --recheck update $as_me by reconfiguring in the same conditions
++ --file=FILE[:TEMPLATE]
++ instantiate the configuration file FILE
++
++Configuration files:
++$config_files
++
++Configuration commands:
++$config_commands
++
++Report bugs to the package provider."
++
++_ACEOF
++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
++ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
++ac_cs_version="\\
++newlib config.status 1.20.0
++configured by $0, generated by GNU Autoconf 2.68,
++ with options \\"\$ac_cs_config\\"
++
++Copyright (C) 2010 Free Software Foundation, Inc.
++This config.status script is free software; the Free Software Foundation
++gives unlimited permission to copy, distribute and modify it."
++
++ac_pwd='$ac_pwd'
++srcdir='$srcdir'
++INSTALL='$INSTALL'
++MKDIR_P='$MKDIR_P'
++AWK='$AWK'
++test -n "\$AWK" || AWK=awk
++_ACEOF
++
++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
++# The default lists apply if the user does not specify any file.
++ac_need_defaults=:
++while test $# != 0
++do
++ case $1 in
++ --*=?*)
++ ac_option=`expr "X$1" : 'X\([^=]*\)='`
++ ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
++ ac_shift=:
++ ;;
++ --*=)
++ ac_option=`expr "X$1" : 'X\([^=]*\)='`
++ ac_optarg=
++ ac_shift=:
++ ;;
++ *)
++ ac_option=$1
++ ac_optarg=$2
++ ac_shift=shift
++ ;;
++ esac
++
++ case $ac_option in
++ # Handling of the options.
++ -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
++ ac_cs_recheck=: ;;
++ --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
++ $as_echo "$ac_cs_version"; exit ;;
++ --config | --confi | --conf | --con | --co | --c )
++ $as_echo "$ac_cs_config"; exit ;;
++ --debug | --debu | --deb | --de | --d | -d )
++ debug=: ;;
++ --file | --fil | --fi | --f )
++ $ac_shift
++ case $ac_optarg in
++ *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
++ '') as_fn_error $? "missing file argument" ;;
++ esac
++ as_fn_append CONFIG_FILES " '$ac_optarg'"
++ ac_need_defaults=false;;
++ --he | --h | --help | --hel | -h )
++ $as_echo "$ac_cs_usage"; exit ;;
++ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
++ | -silent | --silent | --silen | --sile | --sil | --si | --s)
++ ac_cs_silent=: ;;
++
++ # This is an error.
++ -*) as_fn_error $? "unrecognized option: \`$1'
++Try \`$0 --help' for more information." ;;
++
++ *) as_fn_append ac_config_targets " $1"
++ ac_need_defaults=false ;;
++
++ esac
++ shift
++done
++
++ac_configure_extra_args=
++
++if $ac_cs_silent; then
++ exec 6>/dev/null
++ ac_configure_extra_args="$ac_configure_extra_args --silent"
++fi
++
++_ACEOF
++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
++if \$ac_cs_recheck; then
++ set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
++ shift
++ \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
++ CONFIG_SHELL='$SHELL'
++ export CONFIG_SHELL
++ exec "\$@"
++fi
++
++_ACEOF
++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
++exec 5>>config.log
++{
++ echo
++ sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
++## Running $as_me. ##
++_ASBOX
++ $as_echo "$ac_log"
++} >&5
++
++_ACEOF
++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
++#
++# INIT-COMMANDS
++#
++AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
++
++_ACEOF
++
++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
++
++# Handling of arguments.
++for ac_config_target in $ac_config_targets
++do
++ case $ac_config_target in
++ "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
++ "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
++
++ *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
++ esac
++done
++
++
++# If the user did not use the arguments to specify the items to instantiate,
++# then the envvar interface is used. Set only those that are not.
++# We use the long form for the default assignment because of an extremely
++# bizarre bug on SunOS 4.1.3.
++if $ac_need_defaults; then
++ test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
++ test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
++fi
++
++# Have a temporary directory for convenience. Make it in the build tree
++# simply because there is no reason against having it here, and in addition,
++# creating and moving files from /tmp can sometimes cause problems.
++# Hook for its removal unless debugging.
++# Note that there is a small window in which the directory will not be cleaned:
++# after its creation but before its name has been assigned to `$tmp'.
++$debug ||
++{
++ tmp= ac_tmp=
++ trap 'exit_status=$?
++ : "${ac_tmp:=$tmp}"
++ { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
++' 0
++ trap 'as_fn_exit 1' 1 2 13 15
++}
++# Create a (secure) tmp directory for tmp files.
++
++{
++ tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
++ test -d "$tmp"
++} ||
++{
++ tmp=./conf$$-$RANDOM
++ (umask 077 && mkdir "$tmp")
++} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
++ac_tmp=$tmp
++
++# Set up the scripts for CONFIG_FILES section.
++# No need to generate them if there are no CONFIG_FILES.
++# This happens for instance with `./config.status config.h'.
++if test -n "$CONFIG_FILES"; then
++
++
++ac_cr=`echo X | tr X '\015'`
++# On cygwin, bash can eat \r inside `` if the user requested igncr.
++# But we know of no other shell where ac_cr would be empty at this
++# point, so we can use a bashism as a fallback.
++if test "x$ac_cr" = x; then
++ eval ac_cr=\$\'\\r\'
++fi
++ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
++if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
++ ac_cs_awk_cr='\\r'
++else
++ ac_cs_awk_cr=$ac_cr
++fi
++
++echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
++_ACEOF
++
++
++{
++ echo "cat >conf$$subs.awk <<_ACEOF" &&
++ echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
++ echo "_ACEOF"
++} >conf$$subs.sh ||
++ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
++ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
++ac_delim='%!_!# '
++for ac_last_try in false false false false false :; do
++ . ./conf$$subs.sh ||
++ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
++
++ ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
++ if test $ac_delim_n = $ac_delim_num; then
++ break
++ elif $ac_last_try; then
++ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
++ else
++ ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
++ fi
++done
++rm -f conf$$subs.sh
++
++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
++cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
++_ACEOF
++sed -n '
++h
++s/^/S["/; s/!.*/"]=/
++p
++g
++s/^[^!]*!//
++:repl
++t repl
++s/'"$ac_delim"'$//
++t delim
++:nl
++h
++s/\(.\{148\}\)..*/\1/
++t more1
++s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
++p
++n
++b repl
++:more1
++s/["\\]/\\&/g; s/^/"/; s/$/"\\/
++p
++g
++s/.\{148\}//
++t nl
++:delim
++h
++s/\(.\{148\}\)..*/\1/
++t more2
++s/["\\]/\\&/g; s/^/"/; s/$/"/
++p
++b
++:more2
++s/["\\]/\\&/g; s/^/"/; s/$/"\\/
++p
++g
++s/.\{148\}//
++t delim
++' <conf$$subs.awk | sed '
++/^[^""]/{
++ N
++ s/\n//
++}
++' >>$CONFIG_STATUS || ac_write_fail=1
++rm -f conf$$subs.awk
++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
++_ACAWK
++cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
++ for (key in S) S_is_set[key] = 1
++ FS = ""
++
++}
++{
++ line = $ 0
++ nfields = split(line, field, "@")
++ substed = 0
++ len = length(field[1])
++ for (i = 2; i < nfields; i++) {
++ key = field[i]
++ keylen = length(key)
++ if (S_is_set[key]) {
++ value = S[key]
++ line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
++ len += length(value) + length(field[++i])
++ substed = 1
++ } else
++ len += 1 + keylen
++ }
++
++ print line
++}
++
++_ACAWK
++_ACEOF
++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
++if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
++ sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
++else
++ cat
++fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
++ || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
++_ACEOF
++
++# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
++# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
++# trailing colons and then remove the whole line if VPATH becomes empty
++# (actually we leave an empty line to preserve line numbers).
++if test "x$srcdir" = x.; then
++ ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
++h
++s///
++s/^/:/
++s/[ ]*$/:/
++s/:\$(srcdir):/:/g
++s/:\${srcdir}:/:/g
++s/:@srcdir@:/:/g
++s/^:*//
++s/:*$//
++x
++s/\(=[ ]*\).*/\1/
++G
++s/\n//
++s/^[^=]*=[ ]*$//
++}'
++fi
++
++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
++fi # test -n "$CONFIG_FILES"
++
++
++eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
++shift
++for ac_tag
++do
++ case $ac_tag in
++ :[FHLC]) ac_mode=$ac_tag; continue;;
++ esac
++ case $ac_mode$ac_tag in
++ :[FHL]*:*);;
++ :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
++ :[FH]-) ac_tag=-:-;;
++ :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
++ esac
++ ac_save_IFS=$IFS
++ IFS=:
++ set x $ac_tag
++ IFS=$ac_save_IFS
++ shift
++ ac_file=$1
++ shift
++
++ case $ac_mode in
++ :L) ac_source=$1;;
++ :[FH])
++ ac_file_inputs=
++ for ac_f
++ do
++ case $ac_f in
++ -) ac_f="$ac_tmp/stdin";;
++ *) # Look for the file first in the build tree, then in the source tree
++ # (if the path is not absolute). The absolute path cannot be DOS-style,
++ # because $ac_f cannot contain `:'.
++ test -f "$ac_f" ||
++ case $ac_f in
++ [\\/$]*) false;;
++ *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
++ esac ||
++ as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
++ esac
++ case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
++ as_fn_append ac_file_inputs " '$ac_f'"
++ done
++
++ # Let's still pretend it is `configure' which instantiates (i.e., don't
++ # use $as_me), people would be surprised to read:
++ # /* config.h. Generated by config.status. */
++ configure_input='Generated from '`
++ $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
++ `' by configure.'
++ if test x"$ac_file" != x-; then
++ configure_input="$ac_file. $configure_input"
++ { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
++$as_echo "$as_me: creating $ac_file" >&6;}
++ fi
++ # Neutralize special characters interpreted by sed in replacement strings.
++ case $configure_input in #(
++ *\&* | *\|* | *\\* )
++ ac_sed_conf_input=`$as_echo "$configure_input" |
++ sed 's/[\\\\&|]/\\\\&/g'`;; #(
++ *) ac_sed_conf_input=$configure_input;;
++ esac
++
++ case $ac_tag in
++ *:-:* | *:-) cat >"$ac_tmp/stdin" \
++ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
++ esac
++ ;;
++ esac
++
++ ac_dir=`$as_dirname -- "$ac_file" ||
++$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
++ X"$ac_file" : 'X\(//\)[^/]' \| \
++ X"$ac_file" : 'X\(//\)$' \| \
++ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
++$as_echo X"$ac_file" |
++ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
++ s//\1/
++ q
++ }
++ /^X\(\/\/\)[^/].*/{
++ s//\1/
++ q
++ }
++ /^X\(\/\/\)$/{
++ s//\1/
++ q
++ }
++ /^X\(\/\).*/{
++ s//\1/
++ q
++ }
++ s/.*/./; q'`
++ as_dir="$ac_dir"; as_fn_mkdir_p
++ ac_builddir=.
++
++case "$ac_dir" in
++.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
++*)
++ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
++ # A ".." for each directory in $ac_dir_suffix.
++ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
++ case $ac_top_builddir_sub in
++ "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
++ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
++ esac ;;
++esac
++ac_abs_top_builddir=$ac_pwd
++ac_abs_builddir=$ac_pwd$ac_dir_suffix
++# for backward compatibility:
++ac_top_builddir=$ac_top_build_prefix
++
++case $srcdir in
++ .) # We are building in place.
++ ac_srcdir=.
++ ac_top_srcdir=$ac_top_builddir_sub
++ ac_abs_top_srcdir=$ac_pwd ;;
++ [\\/]* | ?:[\\/]* ) # Absolute name.
++ ac_srcdir=$srcdir$ac_dir_suffix;
++ ac_top_srcdir=$srcdir
++ ac_abs_top_srcdir=$srcdir ;;
++ *) # Relative name.
++ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
++ ac_top_srcdir=$ac_top_build_prefix$srcdir
++ ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
++esac
++ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
++
++
++ case $ac_mode in
++ :F)
++ #
++ # CONFIG_FILE
++ #
++
++ case $INSTALL in
++ [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
++ *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
++ esac
++ ac_MKDIR_P=$MKDIR_P
++ case $MKDIR_P in
++ [\\/$]* | ?:[\\/]* ) ;;
++ */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
++ esac
++_ACEOF
++
++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
++# If the template does not know about datarootdir, expand it.
++# FIXME: This hack should be removed a few years after 2.60.
++ac_datarootdir_hack=; ac_datarootdir_seen=
++ac_sed_dataroot='
++/datarootdir/ {
++ p
++ q
++}
++/@datadir@/p
++/@docdir@/p
++/@infodir@/p
++/@localedir@/p
++/@mandir@/p'
++case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
++*datarootdir*) ac_datarootdir_seen=yes;;
++*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
++$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
++_ACEOF
++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
++ ac_datarootdir_hack='
++ s&@datadir@&$datadir&g
++ s&@docdir@&$docdir&g
++ s&@infodir@&$infodir&g
++ s&@localedir@&$localedir&g
++ s&@mandir@&$mandir&g
++ s&\\\${datarootdir}&$datarootdir&g' ;;
++esac
++_ACEOF
++
++# Neutralize VPATH when `$srcdir' = `.'.
++# Shell code in configure.ac might set extrasub.
++# FIXME: do we really want to maintain this feature?
++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
++ac_sed_extra="$ac_vpsub
++$extrasub
++_ACEOF
++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
++:t
++/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
++s|@configure_input@|$ac_sed_conf_input|;t t
++s&@top_builddir@&$ac_top_builddir_sub&;t t
++s&@top_build_prefix@&$ac_top_build_prefix&;t t
++s&@srcdir@&$ac_srcdir&;t t
++s&@abs_srcdir@&$ac_abs_srcdir&;t t
++s&@top_srcdir@&$ac_top_srcdir&;t t
++s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
++s&@builddir@&$ac_builddir&;t t
++s&@abs_builddir@&$ac_abs_builddir&;t t
++s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
++s&@INSTALL@&$ac_INSTALL&;t t
++s&@MKDIR_P@&$ac_MKDIR_P&;t t
++$ac_datarootdir_hack
++"
++eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
++ >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
++
++test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
++ { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
++ { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
++ "$ac_tmp/out"`; test -z "$ac_out"; } &&
++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
++which seems to be undefined. Please make sure it is defined" >&5
++$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
++which seems to be undefined. Please make sure it is defined" >&2;}
++
++ rm -f "$ac_tmp/stdin"
++ case $ac_file in
++ -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
++ *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
++ esac \
++ || as_fn_error $? "could not create $ac_file" "$LINENO" 5
++ ;;
++
++
++ :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
++$as_echo "$as_me: executing $ac_file commands" >&6;}
++ ;;
++ esac
++
++
++ case $ac_file$ac_mode in
++ "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
++ # Autoconf 2.62 quotes --file arguments for eval, but not when files
++ # are listed without --file. Let's play safe and only enable the eval
++ # if we detect the quoting.
++ case $CONFIG_FILES in
++ *\'*) eval set x "$CONFIG_FILES" ;;
++ *) set x $CONFIG_FILES ;;
++ esac
++ shift
++ for mf
++ do
++ # Strip MF so we end up with the name of the file.
++ mf=`echo "$mf" | sed -e 's/:.*$//'`
++ # Check whether this is an Automake generated Makefile or not.
++ # We used to match only the files named `Makefile.in', but
++ # some people rename them; so instead we look at the file content.
++ # Grep'ing the first line is not enough: some people post-process
++ # each Makefile.in and add a new line on top of each file to say so.
++ # Grep'ing the whole file is not good either: AIX grep has a line
++ # limit of 2048, but all sed's we know have understand at least 4000.
++ if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
++ dirpart=`$as_dirname -- "$mf" ||
++$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
++ X"$mf" : 'X\(//\)[^/]' \| \
++ X"$mf" : 'X\(//\)$' \| \
++ X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
++$as_echo X"$mf" |
++ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
++ s//\1/
++ q
++ }
++ /^X\(\/\/\)[^/].*/{
++ s//\1/
++ q
++ }
++ /^X\(\/\/\)$/{
++ s//\1/
++ q
++ }
++ /^X\(\/\).*/{
++ s//\1/
++ q
++ }
++ s/.*/./; q'`
++ else
++ continue
++ fi
++ # Extract the definition of DEPDIR, am__include, and am__quote
++ # from the Makefile without running `make'.
++ DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
++ test -z "$DEPDIR" && continue
++ am__include=`sed -n 's/^am__include = //p' < "$mf"`
++ test -z "am__include" && continue
++ am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
++ # When using ansi2knr, U may be empty or an underscore; expand it
++ U=`sed -n 's/^U = //p' < "$mf"`
++ # Find all dependency output files, they are included files with
++ # $(DEPDIR) in their names. We invoke sed twice because it is the
++ # simplest approach to changing $(DEPDIR) to its actual value in the
++ # expansion.
++ for file in `sed -n "
++ s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
++ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
++ # Make sure the directory exists.
++ test -f "$dirpart/$file" && continue
++ fdir=`$as_dirname -- "$file" ||
++$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
++ X"$file" : 'X\(//\)[^/]' \| \
++ X"$file" : 'X\(//\)$' \| \
++ X"$file" : 'X\(/\)' \| . 2>/dev/null ||
++$as_echo X"$file" |
++ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
++ s//\1/
++ q
++ }
++ /^X\(\/\/\)[^/].*/{
++ s//\1/
++ q
++ }
++ /^X\(\/\/\)$/{
++ s//\1/
++ q
++ }
++ /^X\(\/\).*/{
++ s//\1/
++ q
++ }
++ s/.*/./; q'`
++ as_dir=$dirpart/$fdir; as_fn_mkdir_p
++ # echo "creating $dirpart/$file"
++ echo '# dummy' > "$dirpart/$file"
++ done
++ done
++}
++ ;;
++
++ esac
++done # for ac_tag
++
++
++as_fn_exit 0
++_ACEOF
++ac_clean_files=$ac_clean_files_save
++
++test $ac_write_fail = 0 ||
++ as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
++
++
++# configure is writing to config.log, and then calls config.status.
++# config.status does its own redirection, appending to config.log.
++# Unfortunately, on DOS this fails, as config.log is still kept open
++# by configure, so config.status won't be able to write to it; its
++# output is simply discarded. So we exec the FD to /dev/null,
++# effectively closing config.log, so it can be properly (re)opened and
++# appended to by config.status. When coming back to configure, we
++# need to make the FD available again.
++if test "$no_create" != yes; then
++ ac_cs_success=:
++ ac_config_status_args=
++ test "$silent" = yes &&
++ ac_config_status_args="$ac_config_status_args --quiet"
++ exec 5>/dev/null
++ $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
++ exec 5>>config.log
++ # Use ||, not &&, to avoid exiting from the if with $? = 1, which
++ # would make configure fail if this is the last instruction.
++ $ac_cs_success || as_fn_exit 1
++fi
++if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
++$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
++fi
++
+diff -Naur newlib-1.20.0.orig/newlib/libc/machine/epiphany/configure.in newlib-1.20.0/newlib/libc/machine/epiphany/configure.in
+--- newlib-1.20.0.orig/newlib/libc/machine/epiphany/configure.in 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/newlib/libc/machine/epiphany/configure.in 2012-10-15 10:31:19.598620735 +0200
+@@ -0,0 +1,41 @@
++dnl This is the newlib/libc/machine/epiphany configure.in file.
++
++dnl Copyright (c) 2011, 2012 Adapteva, Inc.
++dnl All rights reserved.
++
++dnl Redistribution and use in source and binary forms, with or without
++dnl modification, are permitted provided that the following conditions are met:
++dnl * Redistributions of source code must retain the above copyright notice,
++dnl this list of conditions and the following disclaimer.
++dnl * Redistributions in binary form must reproduce the above copyright
++dnl notice, this list of conditions and the following disclaimer in the
++dnl documentation and/or other materials provided with the distribution.
++dnl * Neither the name of Adapteva nor the names of its contributors may be
++dnl used to endorse or promote products derived from this software without
++dnl specific prior written permission.
++
++dnl THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
++dnl AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
++dnl IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
++dnl ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
++dnl LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
++dnl CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
++dnl SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
++dnl INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
++dnl CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
++dnl ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
++dnl POSSIBILITY OF SUCH DAMAGE.
++
++dnl Process this file with autoconf to produce a configure script.
++
++AC_PREREQ(2.59)
++AC_INIT([newlib],[NEWLIB_VERSION])
++AC_CONFIG_SRCDIR([Makefile.am])
++
++dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake.
++AC_CONFIG_AUX_DIR(../../../..)
++
++NEWLIB_CONFIGURE(../../..)
++
++AC_CONFIG_FILES([Makefile])
++AC_OUTPUT
+diff -Naur newlib-1.20.0.orig/newlib/libc/machine/epiphany/machine/stdlib.h newlib-1.20.0/newlib/libc/machine/epiphany/machine/stdlib.h
+--- newlib-1.20.0.orig/newlib/libc/machine/epiphany/machine/stdlib.h 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/newlib/libc/machine/epiphany/machine/stdlib.h 2012-10-15 10:31:19.599620752 +0200
+@@ -0,0 +1,15 @@
++static __inline__ long int
++random (void)
++{
++ extern int rand(void);
++
++ return rand ();
++}
++
++static __inline__ void
++srandom (unsigned int seed)
++{
++ void srand(unsigned int seed);
++
++ srand (seed);
++}
+diff -Naur newlib-1.20.0.orig/newlib/libc/machine/epiphany/Makefile.am newlib-1.20.0/newlib/libc/machine/epiphany/Makefile.am
+--- newlib-1.20.0.orig/newlib/libc/machine/epiphany/Makefile.am 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/newlib/libc/machine/epiphany/Makefile.am 2012-10-15 10:31:19.594620673 +0200
+@@ -0,0 +1,42 @@
++## Copyright (c) 2011, Adapteva, Inc.
++## All rights reserved.
++
++## Redistribution and use in source and binary forms, with or without
++## modification, are permitted provided that the following conditions are met:
++## * Redistributions of source code must retain the above copyright notice,
++## this list of conditions and the following disclaimer.
++## * Redistributions in binary form must reproduce the above copyright
++## notice, this list of conditions and the following disclaimer in the
++## documentation and/or other materials provided with the distribution.
++## * Neither the name of Adapteva nor the names of its contributors may be
++## used to endorse or promote products derived from this software without
++## specific prior written permission.
++
++## THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
++## AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
++## IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
++## ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
++## LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
++## CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
++## SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
++## INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
++## CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
++## ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
++## POSSIBILITY OF SUCH DAMAGE.
++
++## Process this file with automake to generate Makefile.in
++
++AUTOMAKE_OPTIONS = cygnus
++
++INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
++
++AM_CCASFLAGS = $(INCLUDES)
++
++noinst_LIBRARIES = lib.a
++
++lib_a_SOURCES = setjmp.S
++lib_a_CCASFLAGS=$(AM_CCASFLAGS)
++lib_a_CFLAGS = $(AM_CFLAGS)
++
++ACLOCAL_AMFLAGS = -I ../../.. -I ../../../..
++CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host
+diff -Naur newlib-1.20.0.orig/newlib/libc/machine/epiphany/Makefile.in newlib-1.20.0/newlib/libc/machine/epiphany/Makefile.in
+--- newlib-1.20.0.orig/newlib/libc/machine/epiphany/Makefile.in 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/newlib/libc/machine/epiphany/Makefile.in 2012-10-15 10:31:19.594620673 +0200
+@@ -0,0 +1,413 @@
++# Makefile.in generated by automake 1.11.1 from Makefile.am.
++# @configure_input@
++
++# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
++# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
++# Inc.
++# This Makefile.in is free software; the Free Software Foundation
++# gives unlimited permission to copy and/or distribute it,
++# with or without modifications, as long as this notice is preserved.
++
++# This program is distributed in the hope that it will be useful,
++# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
++# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
++# PARTICULAR PURPOSE.
++
++@SET_MAKE@
++
++VPATH = @srcdir@
++pkgdatadir = $(datadir)/@PACKAGE@
++pkgincludedir = $(includedir)/@PACKAGE@
++pkglibdir = $(libdir)/@PACKAGE@
++pkglibexecdir = $(libexecdir)/@PACKAGE@
++am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
++install_sh_DATA = $(install_sh) -c -m 644
++install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
++INSTALL_HEADER = $(INSTALL_DATA)
++transform = $(program_transform_name)
++NORMAL_INSTALL = :
++PRE_INSTALL = :
++POST_INSTALL = :
++NORMAL_UNINSTALL = :
++PRE_UNINSTALL = :
++POST_UNINSTALL = :
++build_triplet = @build@
++host_triplet = @host@
++subdir = .
++DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
++ $(top_srcdir)/configure $(am__configure_deps) \
++ $(srcdir)/../../../../mkinstalldirs
++ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
++am__aclocal_m4_deps = $(top_srcdir)/../../../acinclude.m4 \
++ $(top_srcdir)/configure.in
++am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
++ $(ACLOCAL_M4)
++am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
++ configure.lineno config.status.lineno
++mkinstalldirs = $(SHELL) $(top_srcdir)/../../../../mkinstalldirs
++CONFIG_CLEAN_FILES =
++CONFIG_CLEAN_VPATH_FILES =
++LIBRARIES = $(noinst_LIBRARIES)
++ARFLAGS = cru
++lib_a_AR = $(AR) $(ARFLAGS)
++lib_a_LIBADD =
++am_lib_a_OBJECTS = lib_a-setjmp.$(OBJEXT)
++lib_a_OBJECTS = $(am_lib_a_OBJECTS)
++DEFAULT_INCLUDES = -I.@am__isrc@
++depcomp =
++am__depfiles_maybe =
++CPPASCOMPILE = $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
++ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CCASFLAGS) $(CCASFLAGS)
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++CCLD = $(CC)
++LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
++SOURCES = $(lib_a_SOURCES)
++ETAGS = etags
++CTAGS = ctags
++ACLOCAL = @ACLOCAL@
++AMTAR = @AMTAR@
++AR = @AR@
++AS = @AS@
++AUTOCONF = @AUTOCONF@
++AUTOHEADER = @AUTOHEADER@
++AUTOMAKE = @AUTOMAKE@
++AWK = @AWK@
++CC = @CC@
++CCAS = @CCAS@
++CCASFLAGS = @CCASFLAGS@
++CCDEPMODE = @CCDEPMODE@
++CYGPATH_W = @CYGPATH_W@
++DEFS = @DEFS@
++DEPDIR = @DEPDIR@
++ECHO_C = @ECHO_C@
++ECHO_N = @ECHO_N@
++ECHO_T = @ECHO_T@
++INSTALL = @INSTALL@
++INSTALL_DATA = @INSTALL_DATA@
++INSTALL_PROGRAM = @INSTALL_PROGRAM@
++INSTALL_SCRIPT = @INSTALL_SCRIPT@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
++LDFLAGS = @LDFLAGS@
++LIBOBJS = @LIBOBJS@
++LIBS = @LIBS@
++LTLIBOBJS = @LTLIBOBJS@
++MAINT = @MAINT@
++MAKEINFO = @MAKEINFO@
++MKDIR_P = @MKDIR_P@
++NEWLIB_CFLAGS = @NEWLIB_CFLAGS@
++NO_INCLUDE_LIST = @NO_INCLUDE_LIST@
++OBJEXT = @OBJEXT@
++PACKAGE = @PACKAGE@
++PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
++PACKAGE_NAME = @PACKAGE_NAME@
++PACKAGE_STRING = @PACKAGE_STRING@
++PACKAGE_TARNAME = @PACKAGE_TARNAME@
++PACKAGE_URL = @PACKAGE_URL@
++PACKAGE_VERSION = @PACKAGE_VERSION@
++PATH_SEPARATOR = @PATH_SEPARATOR@
++RANLIB = @RANLIB@
++READELF = @READELF@
++SET_MAKE = @SET_MAKE@
++SHELL = @SHELL@
++STRIP = @STRIP@
++VERSION = @VERSION@
++abs_builddir = @abs_builddir@
++abs_srcdir = @abs_srcdir@
++abs_top_builddir = @abs_top_builddir@
++abs_top_srcdir = @abs_top_srcdir@
++aext = @aext@
++am__include = @am__include@
++am__leading_dot = @am__leading_dot@
++am__quote = @am__quote@
++am__tar = @am__tar@
++am__untar = @am__untar@
++bindir = @bindir@
++build = @build@
++build_alias = @build_alias@
++build_cpu = @build_cpu@
++build_os = @build_os@
++build_vendor = @build_vendor@
++builddir = @builddir@
++datadir = @datadir@
++datarootdir = @datarootdir@
++docdir = @docdir@
++dvidir = @dvidir@
++exec_prefix = @exec_prefix@
++host = @host@
++host_alias = @host_alias@
++host_cpu = @host_cpu@
++host_os = @host_os@
++host_vendor = @host_vendor@
++htmldir = @htmldir@
++includedir = @includedir@
++infodir = @infodir@
++install_sh = @install_sh@
++libdir = @libdir@
++libexecdir = @libexecdir@
++libm_machine_dir = @libm_machine_dir@
++localedir = @localedir@
++localstatedir = @localstatedir@
++lpfx = @lpfx@
++machine_dir = @machine_dir@
++mandir = @mandir@
++mkdir_p = @mkdir_p@
++newlib_basedir = @newlib_basedir@
++oext = @oext@
++oldincludedir = @oldincludedir@
++pdfdir = @pdfdir@
++prefix = @prefix@
++program_transform_name = @program_transform_name@
++psdir = @psdir@
++sbindir = @sbindir@
++sharedstatedir = @sharedstatedir@
++srcdir = @srcdir@
++sys_dir = @sys_dir@
++sysconfdir = @sysconfdir@
++target_alias = @target_alias@
++top_build_prefix = @top_build_prefix@
++top_builddir = @top_builddir@
++top_srcdir = @top_srcdir@
++AUTOMAKE_OPTIONS = cygnus
++INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
++AM_CCASFLAGS = $(INCLUDES)
++noinst_LIBRARIES = lib.a
++lib_a_SOURCES = setjmp.S
++lib_a_CCASFLAGS = $(AM_CCASFLAGS)
++lib_a_CFLAGS = $(AM_CFLAGS)
++ACLOCAL_AMFLAGS = -I ../../.. -I ../../../..
++CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host
++all: all-am
++
++.SUFFIXES:
++.SUFFIXES: .S .o .obj
++am--refresh:
++ @:
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
++ @for dep in $?; do \
++ case '$(am__configure_deps)' in \
++ *$$dep*) \
++ echo ' cd $(srcdir) && $(AUTOMAKE) --cygnus'; \
++ $(am__cd) $(srcdir) && $(AUTOMAKE) --cygnus \
++ && exit 0; \
++ exit 1;; \
++ esac; \
++ done; \
++ echo ' cd $(top_srcdir) && $(AUTOMAKE) --cygnus Makefile'; \
++ $(am__cd) $(top_srcdir) && \
++ $(AUTOMAKE) --cygnus Makefile
++.PRECIOUS: Makefile
++Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
++ @case '$?' in \
++ *config.status*) \
++ echo ' $(SHELL) ./config.status'; \
++ $(SHELL) ./config.status;; \
++ *) \
++ echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
++ cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
++ esac;
++
++$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
++ $(SHELL) ./config.status --recheck
++
++$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
++ $(am__cd) $(srcdir) && $(AUTOCONF)
++$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
++ $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
++$(am__aclocal_m4_deps):
++
++clean-noinstLIBRARIES:
++ -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
++lib.a: $(lib_a_OBJECTS) $(lib_a_DEPENDENCIES)
++ -rm -f lib.a
++ $(lib_a_AR) lib.a $(lib_a_OBJECTS) $(lib_a_LIBADD)
++ $(RANLIB) lib.a
++
++mostlyclean-compile:
++ -rm -f *.$(OBJEXT)
++
++distclean-compile:
++ -rm -f *.tab.c
++
++.S.o:
++ $(CPPASCOMPILE) -c -o $@ $<
++
++.S.obj:
++ $(CPPASCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
++
++lib_a-setjmp.o: setjmp.S
++ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CCASFLAGS) $(CCASFLAGS) -c -o lib_a-setjmp.o `test -f 'setjmp.S' || echo '$(srcdir)/'`setjmp.S
++
++lib_a-setjmp.obj: setjmp.S
++ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CCASFLAGS) $(CCASFLAGS) -c -o lib_a-setjmp.obj `if test -f 'setjmp.S'; then $(CYGPATH_W) 'setjmp.S'; else $(CYGPATH_W) '$(srcdir)/setjmp.S'; fi`
++
++ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
++ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
++ unique=`for i in $$list; do \
++ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
++ done | \
++ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
++ END { if (nonempty) { for (i in files) print i; }; }'`; \
++ mkid -fID $$unique
++tags: TAGS
++
++TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
++ $(TAGS_FILES) $(LISP)
++ set x; \
++ here=`pwd`; \
++ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
++ unique=`for i in $$list; do \
++ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
++ done | \
++ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
++ END { if (nonempty) { for (i in files) print i; }; }'`; \
++ shift; \
++ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
++ test -n "$$unique" || unique=$$empty_fix; \
++ if test $$# -gt 0; then \
++ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
++ "$$@" $$unique; \
++ else \
++ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
++ $$unique; \
++ fi; \
++ fi
++ctags: CTAGS
++CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
++ $(TAGS_FILES) $(LISP)
++ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
++ unique=`for i in $$list; do \
++ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
++ done | \
++ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
++ END { if (nonempty) { for (i in files) print i; }; }'`; \
++ test -z "$(CTAGS_ARGS)$$unique" \
++ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
++ $$unique
++
++GTAGS:
++ here=`$(am__cd) $(top_builddir) && pwd` \
++ && $(am__cd) $(top_srcdir) \
++ && gtags -i $(GTAGS_ARGS) "$$here"
++
++distclean-tags:
++ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
++check-am:
++check: check-am
++all-am: Makefile $(LIBRARIES)
++installdirs:
++install: install-am
++install-exec: install-exec-am
++install-data: install-data-am
++uninstall: uninstall-am
++
++install-am: all-am
++ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
++
++installcheck: installcheck-am
++install-strip:
++ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
++ `test -z '$(STRIP)' || \
++ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
++mostlyclean-generic:
++
++clean-generic:
++
++distclean-generic:
++ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
++ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
++
++maintainer-clean-generic:
++ @echo "This command is intended for maintainers to use"
++ @echo "it deletes files that may require special tools to rebuild."
++clean: clean-am
++
++clean-am: clean-generic clean-noinstLIBRARIES mostlyclean-am
++
++distclean: distclean-am
++ -rm -f $(am__CONFIG_DISTCLEAN_FILES)
++ -rm -f Makefile
++distclean-am: clean-am distclean-compile distclean-generic \
++ distclean-tags
++
++dvi: dvi-am
++
++dvi-am:
++
++html: html-am
++
++html-am:
++
++info: info-am
++
++info-am:
++
++install-data-am:
++
++install-dvi: install-dvi-am
++
++install-dvi-am:
++
++install-exec-am:
++
++install-html: install-html-am
++
++install-html-am:
++
++install-info: install-info-am
++
++install-info-am:
++
++install-man:
++
++install-pdf: install-pdf-am
++
++install-pdf-am:
++
++install-ps: install-ps-am
++
++install-ps-am:
++
++installcheck-am:
++
++maintainer-clean: maintainer-clean-am
++ -rm -f $(am__CONFIG_DISTCLEAN_FILES)
++ -rm -rf $(top_srcdir)/autom4te.cache
++ -rm -f Makefile
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-am
++
++mostlyclean-am: mostlyclean-compile mostlyclean-generic
++
++pdf: pdf-am
++
++pdf-am:
++
++ps: ps-am
++
++ps-am:
++
++uninstall-am:
++
++.MAKE: install-am install-strip
++
++.PHONY: CTAGS GTAGS all all-am am--refresh check check-am clean \
++ clean-generic clean-noinstLIBRARIES ctags distclean \
++ distclean-compile distclean-generic distclean-tags dvi dvi-am \
++ html html-am info info-am install install-am install-data \
++ install-data-am install-dvi install-dvi-am install-exec \
++ install-exec-am install-html install-html-am install-info \
++ install-info-am install-man install-pdf install-pdf-am \
++ install-ps install-ps-am install-strip installcheck \
++ installcheck-am installdirs maintainer-clean \
++ maintainer-clean-generic mostlyclean mostlyclean-compile \
++ mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
++ uninstall-am
++
++
++# Tell versions [3.59,3.63) of GNU make to not export all variables.
++# Otherwise a system limit (for SysV at least) may be exceeded.
++.NOEXPORT:
+diff -Naur newlib-1.20.0.orig/newlib/libc/machine/epiphany/setjmp.S newlib-1.20.0/newlib/libc/machine/epiphany/setjmp.S
+--- newlib-1.20.0.orig/newlib/libc/machine/epiphany/setjmp.S 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/newlib/libc/machine/epiphany/setjmp.S 2012-10-15 10:31:19.599620752 +0200
+@@ -0,0 +1,65 @@
++/* setjmp and longjmp
++
++ Copyright (c) 2011, Adapteva, Inc.
++ All rights reserved.
++
++ Redistribution and use in source and binary forms, with or without
++ modification, are permitted provided that the following conditions are met:
++ * Redistributions of source code must retain the above copyright notice,
++ this list of conditions and the following disclaimer.
++ * Redistributions in binary form must reproduce the above copyright
++ notice, this list of conditions and the following disclaimer in the
++ documentation and/or other materials provided with the distribution.
++ * Neither the name of Adapteva nor the names of its contributors may be
++ used to endorse or promote products derived from this software without
++ specific prior written permission.
++
++ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
++ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
++ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
++ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
++ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
++ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
++ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
++ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
++ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
++ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
++ POSSIBILITY OF SUCH DAMAGE. */
++
++ .file "setjmp.S"
++ .section .text
++ .align 4
++ .global _setjmp
++ .type _setjmp, %function
++_setjmp:
++ strd lr,[r0]
++ strd r4,[r0,1]
++ strd r6,[r0,2]
++ strd r8,[r0,3]
++ strd r10,[r0,4]
++ strd r32,[r0,5]
++ strd r34,[r0,6]
++ strd r36,[r0,7]
++ strd r38,[r0,8]
++ str sp,[r0,18]
++ mov r0,#0
++ rts
++ .size _setjmp, .-_setjmp
++
++ .global _longjmp
++_longjmp:
++ ldrd lr,[r0] ; return address / r15
++ ldrd r4,[r0,1]
++ ldrd r6,[r0,2]
++ ldrd r8,[r0,3]
++ ldrd r10,[r0,4]
++ ldrd r32,[r0,5]
++ ldrd r34,[r0,6]
++ ldrd r36,[r0,7]
++ ldrd r38,[r0,8]
++ ldr sp,[r0,18]
++ sub r1,r1,0
++ mov r0,#1
++ movne r0,r1
++ jr lr
++ .size _longjmp, .-_longjmp
+diff -Naur newlib-1.20.0.orig/newlib/libc/machine/i386/setjmp.S newlib-1.20.0/newlib/libc/machine/i386/setjmp.S
+--- newlib-1.20.0.orig/newlib/libc/machine/i386/setjmp.S 2010-11-16 18:52:21.000000000 +0100
++++ newlib-1.20.0/newlib/libc/machine/i386/setjmp.S 2012-10-15 10:31:19.599620752 +0200
+@@ -8,7 +8,7 @@
+ * Copyright (C) 1991 DJ Delorie
+ * All rights reserved.
+ *
+- * Redistribution and use in source and binary forms is permitted
++ * Redistribution, modification, and use in source and binary forms is permitted
+ * provided that the above copyright notice and following paragraph are
+ * duplicated in all such forms.
+ *
+diff -Naur newlib-1.20.0.orig/newlib/libc/machine/m68k/memcpy.S newlib-1.20.0/newlib/libc/machine/m68k/memcpy.S
+--- newlib-1.20.0.orig/newlib/libc/machine/m68k/memcpy.S 2010-02-08 18:24:22.000000000 +0100
++++ newlib-1.20.0/newlib/libc/machine/m68k/memcpy.S 2012-10-15 10:31:19.599620752 +0200
+@@ -15,7 +15,7 @@
+
+ #include "m68kasm.h"
+
+-#if defined (__mcoldfire__) || defined (__mc68010__) || defined (__mc68020__) || defined (__mc68030__) || defined (__mc68040__) || defined (__mc68060__)
++#if defined (__mcoldfire__) || defined (__mcpu32__) || defined (__mc68010__) || defined (__mc68020__) || defined (__mc68030__) || defined (__mc68040__) || defined (__mc68060__)
+ # define MISALIGNED_OK 1
+ #else
+ # define MISALIGNED_OK 0
+diff -Naur newlib-1.20.0.orig/newlib/libc/machine/powerpc/Makefile.am newlib-1.20.0/newlib/libc/machine/powerpc/Makefile.am
+--- newlib-1.20.0.orig/newlib/libc/machine/powerpc/Makefile.am 2007-05-24 19:33:35.000000000 +0200
++++ newlib-1.20.0/newlib/libc/machine/powerpc/Makefile.am 2012-10-15 10:31:19.600620769 +0200
+@@ -10,7 +10,7 @@
+
+ AM_CFLAGS = -I $(srcdir)/../../stdio -I $(srcdir)/../../stdlib
+
+-lib_a_SOURCES = setjmp.S times.c
++lib_a_SOURCES = setjmp.S
+ lib_a_CCASFLAGS=$(AM_CCASFLAGS)
+ lib_a_CFLAGS=$(AM_CFLAGS)
+ lib_a_LIBADD = @extra_objs@
+diff -Naur newlib-1.20.0.orig/newlib/libc/machine/powerpc/Makefile.in newlib-1.20.0/newlib/libc/machine/powerpc/Makefile.in
+--- newlib-1.20.0.orig/newlib/libc/machine/powerpc/Makefile.in 2012-04-27 11:00:26.829002912 +0200
++++ newlib-1.20.0/newlib/libc/machine/powerpc/Makefile.in 2012-10-15 10:31:19.600620769 +0200
+@@ -51,7 +51,7 @@
+ LIBRARIES = $(noinst_LIBRARIES)
+ ARFLAGS = cru
+ lib_a_AR = $(AR) $(ARFLAGS)
+-am_lib_a_OBJECTS = lib_a-setjmp.$(OBJEXT) lib_a-times.$(OBJEXT)
++am_lib_a_OBJECTS = lib_a-setjmp.$(OBJEXT)
+ lib_a_OBJECTS = $(am_lib_a_OBJECTS)
+ DEFAULT_INCLUDES = -I.@am__isrc@
+ depcomp =
+@@ -175,7 +175,7 @@
+ AM_CCASFLAGS = $(INCLUDES)
+ noinst_LIBRARIES = lib.a
+ AM_CFLAGS = -I $(srcdir)/../../stdio -I $(srcdir)/../../stdlib
+-lib_a_SOURCES = setjmp.S times.c
++lib_a_SOURCES = setjmp.S
+ lib_a_CCASFLAGS = $(AM_CCASFLAGS)
+ lib_a_CFLAGS = $(AM_CFLAGS)
+ lib_a_LIBADD = @extra_objs@
+@@ -186,7 +186,7 @@
+ all: all-am
+
+ .SUFFIXES:
+-.SUFFIXES: .S .c .o .obj
++.SUFFIXES: .S .o .obj
+ am--refresh:
+ @:
+ $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
+@@ -247,18 +247,6 @@
+ lib_a-setjmp.obj: setjmp.S
+ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CCASFLAGS) $(CCASFLAGS) -c -o lib_a-setjmp.obj `if test -f 'setjmp.S'; then $(CYGPATH_W) 'setjmp.S'; else $(CYGPATH_W) '$(srcdir)/setjmp.S'; fi`
+
+-.c.o:
+- $(COMPILE) -c $<
+-
+-.c.obj:
+- $(COMPILE) -c `$(CYGPATH_W) '$<'`
+-
+-lib_a-times.o: times.c
+- $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CFLAGS) $(CFLAGS) -c -o lib_a-times.o `test -f 'times.c' || echo '$(srcdir)/'`times.c
+-
+-lib_a-times.obj: times.c
+- $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CFLAGS) $(CFLAGS) -c -o lib_a-times.obj `if test -f 'times.c'; then $(CYGPATH_W) 'times.c'; else $(CYGPATH_W) '$(srcdir)/times.c'; fi`
+-
+ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ unique=`for i in $$list; do \
+diff -Naur newlib-1.20.0.orig/newlib/libc/machine/powerpc/times.c newlib-1.20.0/newlib/libc/machine/powerpc/times.c
+--- newlib-1.20.0.orig/newlib/libc/machine/powerpc/times.c 2002-07-22 22:26:51.000000000 +0200
++++ newlib-1.20.0/newlib/libc/machine/powerpc/times.c 1970-01-01 01:00:00.000000000 +0100
+@@ -1,36 +0,0 @@
+-/* Time support routines for PowerPC.
+- *
+- * Written by Aldy Hernandez.
+- */
+-
+-#include <_ansi.h>
+-#include <reent.h>
+-#include <sys/time.h>
+-#include <sys/times.h>
+-#include <sys/resource.h>
+-
+-clock_t
+-times (struct tms *tp)
+-{
+- struct rusage usage;
+- union {
+- struct rusage r;
+- /* Newlib's rusage has only 2 fields. We need to make room for
+- when we call the system's rusage. This should be enough. */
+- int filler[32];
+- } host_ru;
+-
+- getrusage (RUSAGE_SELF, (void *)&host_ru);
+-
+- if (tp)
+- {
+- tp->tms_utime = host_ru.r.ru_utime.tv_sec * 1000
+- + host_ru.r.ru_utime.tv_usec;
+- tp->tms_stime = host_ru.r.ru_stime.tv_sec * 1000
+- + host_ru.r.ru_stime.tv_usec;
+- tp->tms_cutime = 0; /* user time, children */
+- tp->tms_cstime = 0; /* system time, children */
+- }
+-
+- return tp->tms_utime;
+-}
+diff -Naur newlib-1.20.0.orig/newlib/libc/machine/rl78/setjmp.S newlib-1.20.0/newlib/libc/machine/rl78/setjmp.S
+--- newlib-1.20.0.orig/newlib/libc/machine/rl78/setjmp.S 2011-11-29 07:33:49.000000000 +0100
++++ newlib-1.20.0/newlib/libc/machine/rl78/setjmp.S 2012-10-15 10:31:19.601620785 +0200
+@@ -57,8 +57,14 @@
+ PC 4 bytes
+ */
+
+-#define SAVEB(ofs,reg) mov a,reg | mov [hl+ofs],a
+-#define SAVE(ofs,reg) movw ax,reg | movw [hl+ofs],ax
++ .macro _saveb ofs,reg
++ mov a,\reg
++ mov [hl+\ofs],a
++ .endm
++ .macro _save ofs,reg
++ movw ax,\reg
++ movw [hl+\ofs],ax
++ .endm
+
+ .global _setjmp
+ .type _setjmp, @function
+@@ -72,28 +78,28 @@
+ movw hl, ax
+ pop ax
+ movw [hl], ax
+- SAVE (2, bc)
+- SAVE (4, de)
++ _save 2, bc
++ _save 4, de
+ pop ax
+ movw [hl+6], ax
+- SAVE (8, r8)
+- SAVE (10, r10)
+- SAVE (12, r12)
+- SAVE (14, r14)
+- SAVE (16, r16)
+- SAVE (18, r18)
+- SAVE (20, r20)
+- SAVE (22, r22)
++ _save 8, r8
++ _save 10, r10
++ _save 12, r12
++ _save 14, r14
++ _save 16, r16
++ _save 18, r18
++ _save 20, r20
++ _save 22, r22
+
+ ;; The sp we have now includes one more pushed reg, plus $PC
+ movw ax, sp
+ addw ax, #6
+ movw [hl+24], ax
+
+- SAVEB (26, es)
+- SAVEB (27, cs)
+- SAVE (28, [sp+2])
+- SAVE (30, [sp+4])
++ _saveb 26, es
++ _saveb 27, cs
++ _save 28, [sp+2]
++ _save 30, [sp+4]
+
+ clrw ax
+ movw r8, ax
+@@ -102,9 +108,18 @@
+
+ .size _setjmp, . - _setjmp
+
+-#define LOADB(ofs,reg) mov a,[hl+ofs] | mov reg,a
+-#define LOAD(ofs,reg) movw ax,[hl+ofs] | movw reg,ax
+-#define PUSH(ofs) movw ax,[hl+ofs] | push ax
++ .macro _loadb ofs,reg
++ mov a,[hl+\ofs]
++ mov \reg,a
++ .endm
++ .macro _load ofs,reg
++ movw ax,[hl+\ofs]
++ movw \reg,ax
++ .endm
++ .macro _push ofs
++ movw ax,[hl+\ofs]
++ push ax
++ .endm
+
+ .global _longjmp
+ .type _longjmp, @function
+@@ -121,24 +136,24 @@
+ movw ax, [hl+24]
+ movw sp, ax ; this is the *new* stack
+
+- PUSH (30) ; high half of PC
+- PUSH (28) ; low half of PC
+- PUSH (6) ; HL
+- PUSH (0) ; AX
+-
+- LOAD (2, bc)
+- LOAD (4, de)
+-
+- LOAD (10, r10)
+- LOAD (12, r12)
+- LOAD (14, r14)
+- LOAD (16, r16)
+- LOAD (18, r18)
+- LOAD (20, r20)
+- LOAD (22, r22)
++ _push 30 ; high half of PC
++ _push 28 ; low half of PC
++ _push 6 ; HL
++ _push 0 ; AX
++
++ _load 2, bc
++ _load 4, de
++
++ _load 10, r10
++ _load 12, r12
++ _load 14, r14
++ _load 16, r16
++ _load 18, r18
++ _load 20, r20
++ _load 22, r22
+
+- LOADB (26, es)
+- LOADB (27, cs)
++ _loadb 26, es
++ _loadb 27, cs
+
+ pop ax
+ pop hl
+diff -Naur newlib-1.20.0.orig/newlib/libc/Makefile.am newlib-1.20.0/newlib/libc/Makefile.am
+--- newlib-1.20.0.orig/newlib/libc/Makefile.am 2011-01-05 18:18:16.000000000 +0100
++++ newlib-1.20.0/newlib/libc/Makefile.am 2012-10-15 10:31:19.567620234 +0200
+@@ -36,6 +36,8 @@
+
+ if HAVE_XDR_DIR
+ XDR_SUBDIR = xdr
++rpcincludedir = $(tooldir)
++nobase_rpcinclude_HEADERS = include/rpc/xdr.h include/rpc/types.h
+ endif
+
+ # The order of SUBDIRS is important for the integrated documentation.
+diff -Naur newlib-1.20.0.orig/newlib/libc/Makefile.in newlib-1.20.0/newlib/libc/Makefile.in
+--- newlib-1.20.0.orig/newlib/libc/Makefile.in 2012-04-27 11:00:26.824002834 +0200
++++ newlib-1.20.0/newlib/libc/Makefile.in 2012-10-15 10:31:19.567620234 +0200
+@@ -17,6 +17,7 @@
+
+
+
++
+ VPATH = @srcdir@
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+@@ -39,7 +40,8 @@
+ subdir = .
+ DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
+ $(top_srcdir)/configure $(am__configure_deps) \
+- $(srcdir)/../../mkinstalldirs $(libc_TEXINFOS)
++ $(srcdir)/../../mkinstalldirs $(libc_TEXINFOS) \
++ $(am__nobase_rpcinclude_HEADERS_DIST)
+ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+ am__aclocal_m4_deps = $(top_srcdir)/../../libtool.m4 \
+ $(top_srcdir)/../../ltoptions.m4 \
+@@ -155,6 +157,10 @@
+ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
+ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
+ DATA = $(noinst_DATA)
++am__nobase_rpcinclude_HEADERS_DIST = include/rpc/xdr.h \
++ include/rpc/types.h
++am__installdirs = "$(DESTDIR)$(rpcincludedir)"
++HEADERS = $(nobase_rpcinclude_HEADERS)
+ RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
+ distclean-recursive maintainer-clean-recursive
+ AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
+@@ -320,6 +326,8 @@
+ @ENABLE_NEWLIB_ICONV_FALSE@NEWLIB_ICONV_LIBS =
+ @ENABLE_NEWLIB_ICONV_TRUE@NEWLIB_ICONV_LIBS = iconv/ces/lib.$(aext) iconv/ccs/lib.$(aext) iconv/lib/lib.$(aext)
+ @HAVE_XDR_DIR_TRUE@XDR_SUBDIR = xdr
++@HAVE_XDR_DIR_TRUE@rpcincludedir = $(tooldir)
++@HAVE_XDR_DIR_TRUE@nobase_rpcinclude_HEADERS = include/rpc/xdr.h include/rpc/types.h
+
+ # The order of SUBDIRS is important for the integrated documentation.
+ # Do not change the order without considering the doc impact.
+@@ -638,6 +646,29 @@
+ done
+
+ clean-info: mostlyclean-aminfo clean-aminfo
++install-nobase_rpcincludeHEADERS: $(nobase_rpcinclude_HEADERS)
++ @$(NORMAL_INSTALL)
++ test -z "$(rpcincludedir)" || $(MKDIR_P) "$(DESTDIR)$(rpcincludedir)"
++ @list='$(nobase_rpcinclude_HEADERS)'; test -n "$(rpcincludedir)" || list=; \
++ $(am__nobase_list) | while read dir files; do \
++ xfiles=; for file in $$files; do \
++ if test -f "$$file"; then xfiles="$$xfiles $$file"; \
++ else xfiles="$$xfiles $(srcdir)/$$file"; fi; done; \
++ test -z "$$xfiles" || { \
++ test "x$$dir" = x. || { \
++ echo "$(MKDIR_P) '$(DESTDIR)$(rpcincludedir)/$$dir'"; \
++ $(MKDIR_P) "$(DESTDIR)$(rpcincludedir)/$$dir"; }; \
++ echo " $(INSTALL_HEADER) $$xfiles '$(DESTDIR)$(rpcincludedir)/$$dir'"; \
++ $(INSTALL_HEADER) $$xfiles "$(DESTDIR)$(rpcincludedir)/$$dir" || exit $$?; }; \
++ done
++
++uninstall-nobase_rpcincludeHEADERS:
++ @$(NORMAL_UNINSTALL)
++ @list='$(nobase_rpcinclude_HEADERS)'; test -n "$(rpcincludedir)" || list=; \
++ $(am__nobase_strip_setup); files=`$(am__nobase_strip)`; \
++ test -n "$$files" || exit 0; \
++ echo " ( cd '$(DESTDIR)$(rpcincludedir)' && rm -f" $$files ")"; \
++ cd "$(DESTDIR)$(rpcincludedir)" && rm -f $$files
+
+ # This directory's subdirectories are mostly independent; you can cd
+ # into them and run `make' without going through this Makefile.
+@@ -775,9 +806,12 @@
+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+ check-am:
+ check: check-recursive
+-all-am: Makefile $(LIBRARIES) $(LTLIBRARIES) $(DATA)
++all-am: Makefile $(LIBRARIES) $(LTLIBRARIES) $(DATA) $(HEADERS)
+ installdirs: installdirs-recursive
+ installdirs-am:
++ for dir in "$(DESTDIR)$(rpcincludedir)"; do \
++ test -z "$$dir" || $(MKDIR_P) "$$dir"; \
++ done
+ install: install-recursive
+ install-exec: install-exec-recursive
+ install-data: install-data-recursive
+@@ -827,7 +861,7 @@
+
+ info-am: $(INFO_DEPS)
+
+-install-data-am:
++install-data-am: install-nobase_rpcincludeHEADERS
+
+ install-dvi: install-dvi-recursive
+
+@@ -952,7 +986,8 @@
+ ps-am: $(PSS)
+
+ uninstall-am: uninstall-dvi-am uninstall-html-am uninstall-info-am \
+- uninstall-pdf-am uninstall-ps-am
++ uninstall-nobase_rpcincludeHEADERS uninstall-pdf-am \
++ uninstall-ps-am
+
+ .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
+ install-am install-strip tags-recursive
+@@ -966,14 +1001,16 @@
+ info-am install install-am install-data install-data-am \
+ install-dvi install-dvi-am install-exec install-exec-am \
+ install-html install-html-am install-info install-info-am \
+- install-man install-pdf install-pdf-am install-ps \
+- install-ps-am install-strip installcheck installcheck-am \
+- installdirs installdirs-am maintainer-clean \
+- maintainer-clean-aminfo maintainer-clean-generic mostlyclean \
+- mostlyclean-aminfo mostlyclean-compile mostlyclean-generic \
+- mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \
+- uninstall uninstall-am uninstall-dvi-am uninstall-html-am \
+- uninstall-info-am uninstall-pdf-am uninstall-ps-am
++ install-man install-nobase_rpcincludeHEADERS install-pdf \
++ install-pdf-am install-ps install-ps-am install-strip \
++ installcheck installcheck-am installdirs installdirs-am \
++ maintainer-clean maintainer-clean-aminfo \
++ maintainer-clean-generic mostlyclean mostlyclean-aminfo \
++ mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
++ pdf pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \
++ uninstall-dvi-am uninstall-html-am uninstall-info-am \
++ uninstall-nobase_rpcincludeHEADERS uninstall-pdf-am \
++ uninstall-ps-am
+
+ @USE_LIBTOOL_FALSE@libc.a: $(SUBLIBS)
+ @USE_LIBTOOL_FALSE@ rm -f $@
+diff -Naur newlib-1.20.0.orig/newlib/libc/misc/__dprintf.c newlib-1.20.0/newlib/libc/misc/__dprintf.c
+--- newlib-1.20.0.orig/newlib/libc/misc/__dprintf.c 2008-12-11 18:27:55.000000000 +0100
++++ newlib-1.20.0/newlib/libc/misc/__dprintf.c 2012-10-15 10:31:19.601620785 +0200
+@@ -5,6 +5,7 @@
+ */
+
+ #include <_ansi.h>
++#include <stdint.h>
+ #include "ctype.h"
+ #include "reent.h"
+ #include "string.h"
+@@ -131,7 +132,7 @@
+ write_string (unctrl (c));
+ break;
+ case 'p' :
+- l = (_POINTER_INT) va_arg (args, char *);
++ l = (intptr_t) va_arg (args, char *);
+ print_number (16, 1, l);
+ break;
+ case 'd' :
+diff -Naur newlib-1.20.0.orig/newlib/libc/posix/collate.c newlib-1.20.0/newlib/libc/posix/collate.c
+--- newlib-1.20.0.orig/newlib/libc/posix/collate.c 2011-05-25 20:41:10.000000000 +0200
++++ newlib-1.20.0/newlib/libc/posix/collate.c 2012-10-15 10:31:19.601620785 +0200
+@@ -117,24 +117,26 @@
+ const u_char *s;
+ {
+ int dest_len, len, nlen;
+- int delta = strlen(s);
++ int delta = strlen((const char *) s);
+ u_char *dest_str = NULL;
+
+ if(s == NULL || *s == '\0')
+- return __collate_strdup("");
++ return __collate_strdup((u_char *) "");
+ delta += delta / 8;
+- dest_str = malloc(dest_len = delta);
++ dest_str = (u_char *) malloc(dest_len = delta);
+ if(dest_str == NULL)
+ __collate_err(EX_OSERR, __FUNCTION__);
+ len = 0;
+ while(*s) {
+- nlen = len + strlen(__collate_substitute_table[*s]);
++ nlen = len + strlen((const char *)
++ __collate_substitute_table[*s]);
+ if (dest_len <= nlen) {
+ dest_str = reallocf(dest_str, dest_len = nlen + delta);
+ if(dest_str == NULL)
+ __collate_err(EX_OSERR, __FUNCTION__);
+ }
+- strcpy(dest_str + len, __collate_substitute_table[*s++]);
++ strcpy((char *) dest_str + len,
++ (const char *) __collate_substitute_table[*s++]);
+ len = nlen;
+ }
+ return dest_str;
+@@ -150,8 +152,9 @@
+ *len = 1;
+ *prim = *sec = 0;
+ for(p2 = __collate_chain_pri_table; p2->str[0]; p2++) {
+- if(strncmp(t, p2->str, strlen(p2->str)) == 0) {
+- *len = strlen(p2->str);
++ if(strncmp((const char *) t, (const char *) p2->str,
++ strlen((const char *) p2->str)) == 0) {
++ *len = strlen((const char *) p2->str);
+ *prim = p2->prim;
+ *sec = p2->sec;
+ return;
+@@ -165,7 +168,7 @@
+ __collate_strdup(s)
+ u_char *s;
+ {
+- u_char *t = strdup(s);
++ u_char *t = (u_char *) strdup((const char *) s);
+
+ if (t == NULL)
+ __collate_err(EX_OSERR, __FUNCTION__);
+diff -Naur newlib-1.20.0.orig/newlib/libc/posix/engine.c newlib-1.20.0/newlib/libc/posix/engine.c
+--- newlib-1.20.0.orig/newlib/libc/posix/engine.c 2008-10-31 22:03:41.000000000 +0100
++++ newlib-1.20.0/newlib/libc/posix/engine.c 2012-10-15 10:31:19.602620801 +0200
+@@ -145,7 +145,7 @@
+ int i;
+ struct match mv;
+ struct match *m = &mv;
+- char *dp;
++ char *dp = NULL;
+ const sopno gf = g->firststate+1; /* +1 for OEND */
+ const sopno gl = g->laststate;
+ char *start;
+@@ -181,8 +181,8 @@
+ pp = mustlast;
+ for (dp = start+g->mlen-1; dp < stop;) {
+ /* Fast skip non-matches */
+- while (dp < stop && charjump[*dp])
+- dp += charjump[*dp];
++ while (dp < stop && charjump[(unsigned char) *dp])
++ dp += charjump[(unsigned char) *dp];
+
+ if (dp >= stop)
+ break;
+@@ -198,7 +198,7 @@
+
+ /* Jump to next possible match */
+ mj = matchjump[pp - mustfirst];
+- cj = charjump[*dp];
++ cj = charjump[(unsigned char) *dp];
+ dp += (cj < mj ? mj : cj);
+ pp = mustlast;
+ }
+@@ -364,6 +364,12 @@
+ char *ssp; /* start of string matched by subsubRE */
+ char *sep; /* end of string matched by subsubRE */
+ char *oldssp; /* previous ssp */
++#if defined (__GNUC__) && \
++ ((__GNUC__ == 4 && __GNUC_MINOR__ >= 6) || __GNUC__ > 4)
++/* dp is only used for assertion testing which, for some reason, is not
++ recognized as usage. */
++#pragma GCC diagnostic ignored "-Wunused-but-set-variable"
++#endif
+ char *dp;
+
+ AT("diss", start, stop, startst, stopst);
+diff -Naur newlib-1.20.0.orig/newlib/libc/posix/glob.c newlib-1.20.0/newlib/libc/posix/glob.c
+--- newlib-1.20.0.orig/newlib/libc/posix/glob.c 2008-10-31 22:03:41.000000000 +0100
++++ newlib-1.20.0/newlib/libc/posix/glob.c 2012-10-15 10:31:19.602620801 +0200
+@@ -30,6 +30,10 @@
+ * SUCH DAMAGE.
+ */
+
++#ifdef __CYGWIN__
++#define _NO_GLOB /* Cygwin provides its own glob. */
++#endif
++
+ #ifndef _NO_GLOB
+
+ #if defined(LIBC_SCCS) && !defined(lint)
+diff -Naur newlib-1.20.0.orig/newlib/libc/posix/popen.c newlib-1.20.0/newlib/libc/posix/popen.c
+--- newlib-1.20.0.orig/newlib/libc/posix/popen.c 2009-08-18 19:07:55.000000000 +0200
++++ newlib-1.20.0/newlib/libc/posix/popen.c 2012-10-15 10:31:19.602620801 +0200
+@@ -113,7 +113,7 @@
+ const char *program _AND
+ const char *type)
+ {
+- struct pid *cur, *last;
++ struct pid *cur;
+ FILE *iop;
+ int pdes[2], pid;
+
+@@ -159,8 +159,7 @@
+ (void)close(pdes[1]);
+ }
+ /* Close all fd's created by prior popen. */
+- for (last = NULL, cur = pidlist; cur;
+- last = cur, cur = cur->next)
++ for (cur = pidlist; cur; cur = cur->next)
+ (void)close (fileno (cur->fp));
+ execl(_PATH_BSHELL, "sh", "-c", program, NULL);
+ _exit(127);
+diff -Naur newlib-1.20.0.orig/newlib/libc/posix/readdir.c newlib-1.20.0/newlib/libc/posix/readdir.c
+--- newlib-1.20.0.orig/newlib/libc/posix/readdir.c 2003-06-06 21:57:51.000000000 +0200
++++ newlib-1.20.0/newlib/libc/posix/readdir.c 2012-10-15 10:31:19.603620817 +0200
+@@ -75,12 +75,6 @@
+ continue;
+ }
+ dp = (struct dirent *)(dirp->dd_buf + dirp->dd_loc);
+- if ((int)dp & 03) { /* bogus pointer check */
+-#ifdef HAVE_DD_LOCK
+- __lock_release_recursive(dirp->dd_lock);
+-#endif
+- return NULL;
+- }
+ if (dp->d_reclen <= 0 ||
+ dp->d_reclen > dirp->dd_len + 1 - dirp->dd_loc) {
+ #ifdef HAVE_DD_LOCK
+diff -Naur newlib-1.20.0.orig/newlib/libc/posix/readdir_r.c newlib-1.20.0/newlib/libc/posix/readdir_r.c
+--- newlib-1.20.0.orig/newlib/libc/posix/readdir_r.c 2003-06-06 21:57:51.000000000 +0200
++++ newlib-1.20.0/newlib/libc/posix/readdir_r.c 2012-10-15 10:31:19.603620817 +0200
+@@ -76,7 +76,7 @@
+ __lock_release_recursive(dirp->dd_lock);
+ #endif
+ *dpp = NULL;
+- return errno;
++ return dirp->dd_size == 0 ? 0 : errno;
+ }
+ }
+ if (dirp->dd_loc >= dirp->dd_size) {
+diff -Naur newlib-1.20.0.orig/newlib/libc/posix/regcomp.c newlib-1.20.0/newlib/libc/posix/regcomp.c
+--- newlib-1.20.0.orig/newlib/libc/posix/regcomp.c 2008-10-31 22:03:41.000000000 +0100
++++ newlib-1.20.0/newlib/libc/posix/regcomp.c 2012-10-15 10:31:19.603620817 +0200
+@@ -103,8 +103,8 @@
+ static int freezeset(struct parse *p, cset *cs);
+ static int firstch(struct parse *p, cset *cs);
+ static int nch(struct parse *p, cset *cs);
+-static void mcadd(struct parse *p, cset *cs, char *cp);
+ #if used
++static void mcadd(struct parse *p, cset *cs, char *cp);
+ static void mcsub(cset *cs, char *cp);
+ static int mcin(cset *cs, char *cp);
+ static char *mcfind(cset *cs, char *cp);
+@@ -308,8 +308,8 @@
+ int stop; /* character this ERE should end at */
+ {
+ char c;
+- sopno prevback;
+- sopno prevfwd;
++ sopno prevback = 0;
++ sopno prevfwd = 0;
+ sopno conc;
+ int first = 1; /* is this the first alternative? */
+
+@@ -1333,6 +1333,7 @@
+ return(n);
+ }
+
++#if used
+ /*
+ - mcadd - add a collating element to a cset
+ == static void mcadd(struct parse *p, cset *cs, \
+@@ -1360,7 +1361,6 @@
+ cs->multis[cs->smultis - 1] = '\0';
+ }
+
+-#if used
+ /*
+ - mcsub - subtract a collating element from a cset
+ == static void mcsub(cset *cs, char *cp);
+@@ -1688,8 +1688,8 @@
+ struct re_guts *g;
+ {
+ sop *scan;
+- sop *start;
+- sop *newstart;
++ sop *start = NULL;
++ sop *newstart = NULL;
+ sopno newlen;
+ sop s;
+ char *cp;
+@@ -1961,7 +1961,7 @@
+ * is the first one that would be matched).
+ */
+ for (mindex = 0; mindex < g->mlen; mindex++)
+- g->charjump[g->must[mindex]] = g->mlen - mindex - 1;
++ g->charjump[(unsigned char) g->must[mindex]] = g->mlen - mindex - 1;
+ }
+
+ /*
+diff -Naur newlib-1.20.0.orig/newlib/libc/posix/telldir.c newlib-1.20.0/newlib/libc/posix/telldir.c
+--- newlib-1.20.0.orig/newlib/libc/posix/telldir.c 2010-03-09 21:38:18.000000000 +0100
++++ newlib-1.20.0/newlib/libc/posix/telldir.c 2012-10-15 10:31:19.604620833 +0200
+@@ -69,7 +69,10 @@
+
+ static long dd_loccnt = 1; /* Index of entry for sequential readdir's */
+ static struct ddloc *dd_hash[NDIRHASH]; /* Hash list heads for ddlocs */
++
++#ifdef HAVE_DD_LOCK
+ __LOCK_INIT(static, dd_hash_lock);
++#endif
+
+ /*
+ * return a pointer into a directory
+diff -Naur newlib-1.20.0.orig/newlib/libc/posix/wordexp2.h newlib-1.20.0/newlib/libc/posix/wordexp2.h
+--- newlib-1.20.0.orig/newlib/libc/posix/wordexp2.h 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/newlib/libc/posix/wordexp2.h 2012-10-15 10:31:19.604620833 +0200
+@@ -0,0 +1,21 @@
++/* Copyright (C) 2012 by Peter Rosin. All rights reserved.
++ *
++ * Permission to use, copy, modify, and distribute this software
++ * is freely granted, provided that this notice is preserved.
++ */
++#ifndef _WORDEXP2_H_
++
++struct ewords_entry {
++ SLIST_ENTRY(ewords_entry) next;
++ char ewords[1];
++};
++
++typedef struct {
++ SLIST_HEAD(ewords_head, ewords_entry) list;
++ char *we_wordv[1];
++} ext_wordv_t;
++
++#define WE_WORDV_TO_EXT_WORDV(wordv) \
++ (ext_wordv_t *)((void *)(wordv) - offsetof(ext_wordv_t, we_wordv))
++
++#endif /* !_WORDEXP2_H_ */
+diff -Naur newlib-1.20.0.orig/newlib/libc/posix/wordexp.c newlib-1.20.0/newlib/libc/posix/wordexp.c
+--- newlib-1.20.0.orig/newlib/libc/posix/wordexp.c 2008-10-31 22:03:41.000000000 +0100
++++ newlib-1.20.0/newlib/libc/posix/wordexp.c 2012-10-15 10:31:19.604620833 +0200
+@@ -18,8 +18,10 @@
+ #include <string.h>
+ #include <unistd.h>
+ #include <sys/wait.h>
++#include <sys/queue.h>
+
+ #include <wordexp.h>
++#include "wordexp2.h"
+
+ #define MAXLINELEN 500
+
+@@ -29,8 +31,8 @@
+ int
+ wordexp(const char *words, wordexp_t *pwordexp, int flags)
+ {
+- FILE *f;
+- FILE *f_err;
++ FILE *f = NULL;
++ FILE *f_err = NULL;
+ char tmp[MAXLINELEN];
+ int i = 0;
+ int offs = 0;
+@@ -40,7 +42,10 @@
+ int num_bytes = 0;
+ int fd[2];
+ int fd_err[2];
+- int err = 0;
++ int err = WRDE_NOSPACE;
++ ext_wordv_t *wordv = NULL;
++ char *eword;
++ struct ewords_entry *entry;
+
+ if (pwordexp == NULL)
+ {
+@@ -60,18 +65,39 @@
+ {
+ offs = pwordexp->we_offs;
+
+- if(!(pwordexp->we_wordv = (char **)realloc(pwordexp->we_wordv, (pwordexp->we_wordc + offs + 1) * sizeof(char *))))
+- return WRDE_NOSPACE;
++ if (pwordexp->we_wordv)
++ wordv = WE_WORDV_TO_EXT_WORDV(pwordexp->we_wordv);
++ wordv = (ext_wordv_t *)realloc(wordv, sizeof(ext_wordv_t) + (offs + pwordexp->we_wordc) * sizeof(char *));
++ if (!wordv)
++ return err;
++ if (!pwordexp->we_wordv)
++ SLIST_INIT(&wordv->list);
++ pwordexp->we_wordv = wordv->we_wordv;
+
+ for (i = 0; i < offs; i++)
+ pwordexp->we_wordv[i] = NULL;
+ }
+
+- pipe(fd);
+- pipe(fd_err);
++ if (pipe(fd))
++ return err;
++ if (pipe(fd_err))
++ {
++ close(fd[0]);
++ close(fd[1]);
++ return err;
++ }
+ pid = fork();
+
+- if (pid > 0)
++ if (pid == -1)
++ {
++ /* In "parent" process, but fork failed */
++ close(fd_err[0]);
++ close(fd_err[1]);
++ close(fd[0]);
++ close(fd[1]);
++ return err;
++ }
++ else if (pid > 0)
+ {
+ /* In parent process. */
+
+@@ -80,7 +106,8 @@
+ close(fd_err[1]);
+
+ /* f_err is the standard error from the shell command. */
+- f_err = fdopen(fd_err[0], "r");
++ if (!(f_err = fdopen(fd_err[0], "r")))
++ goto cleanup;
+
+ /* Check for errors. */
+ if (fgets(tmp, MAXLINELEN, f_err))
+@@ -105,54 +132,79 @@
+ fprintf(stderr, tmp);
+ }
+
+- return err;
++ goto cleanup;
+ }
+
+ /* f is the standard output from the shell command. */
+- f = fdopen(fd[0], "r");
++ if (!(f = fdopen(fd[0], "r")))
++ goto cleanup;
+
+ /* Get number of words expanded by shell. */
+- fgets(tmp, MAXLINELEN, f);
++ if (!fgets(tmp, MAXLINELEN, f))
++ goto cleanup;
+
+ if((iter = strchr(tmp, '\n')))
+ *iter = '\0';
+
+ num_words = atoi(tmp);
+
+- if(!(pwordexp->we_wordv = (char **)realloc(pwordexp->we_wordv,
+- (pwordexp->we_wordc + num_words + offs + 1) * sizeof(char *))))
+- return WRDE_NOSPACE;
+-
+- /* Get number of bytes required for storage of num_words words. */
+- fgets(tmp, MAXLINELEN, f);
++ if (pwordexp->we_wordv)
++ wordv = WE_WORDV_TO_EXT_WORDV(pwordexp->we_wordv);
++ wordv = (ext_wordv_t *)realloc(wordv, sizeof(ext_wordv_t) + (offs + pwordexp->we_wordc + num_words) * sizeof(char *));
++ if (!wordv)
++ return err;
++ if (!pwordexp->we_wordv)
++ SLIST_INIT(&wordv->list);
++ pwordexp->we_wordv = wordv->we_wordv;
++
++ /* Get number of bytes required for storage of all num_words words. */
++ if (!fgets(tmp, MAXLINELEN, f))
++ goto cleanup;
+
+ if((iter = strchr(tmp, '\n')))
+ *iter = '\0';
+
+- num_bytes = atoi(tmp) + pwordexp->we_wordc;
++ num_bytes = atoi(tmp);
+
+- /* Get each expansion from the shell output, and store each in
+- pwordexp's we_wordv vector. */
+- for(i = 0; i < num_words; i++)
++ if (!(entry = (struct ewords_entry *)malloc(sizeof(struct ewords_entry) + num_bytes + num_words)))
++ goto cleanup;
++ SLIST_INSERT_HEAD(&wordv->list, entry, next);
++
++ /* Get expansion from the shell output. */
++ if (!fread(entry->ewords, 1, num_bytes + num_words, f))
++ goto cleanup;
++ entry->ewords[num_bytes + num_words] = 0;
++
++ /* Store each entry in pwordexp's we_wordv vector. */
++ eword = entry->ewords;
++ for(i = 0; i < num_words; i++, eword = iter)
+ {
+- fgets(tmp, MAXLINELEN, f);
+-
+- if((iter = strchr(tmp, '\n')))
+- *iter = '\0';
+-
+- pwordexp->we_wordv[pwordexp->we_wordc + offs + i] = strdup(tmp);
++ if (!eword)
++ break;
++ pwordexp->we_wordv[offs + pwordexp->we_wordc + i] = eword;
++ if ((iter = strchr(eword, '\n')))
++ *iter++ = '\0';
+ }
+
+- pwordexp->we_wordv[pwordexp->we_wordc + offs + i] = NULL;
++ pwordexp->we_wordv[offs + pwordexp->we_wordc + i] = NULL;
+ pwordexp->we_wordc += num_words;
++ if (i == num_words)
++ err = WRDE_SUCCESS;
+
+- close(fd[0]);
+- close(fd_err[0]);
++cleanup:
++ if (f)
++ fclose(f);
++ else
++ close(fd[0]);
++ if (f_err)
++ fclose(f_err);
++ else
++ close(fd_err[0]);
+
+ /* Wait for child to finish. */
+ waitpid (pid, NULL, 0);
+
+- return WRDE_SUCCESS;
++ return err;
+ }
+ else
+ {
+@@ -165,7 +217,8 @@
+ /* Pipe standard output to parent process via fd. */
+ if (fd[1] != STDOUT_FILENO)
+ {
+- dup2(fd[1], STDOUT_FILENO);
++ if (dup2(fd[1], STDOUT_FILENO) == -1)
++ _exit(EXIT_FAILURE);
+ /* fd[1] no longer required. */
+ close(fd[1]);
+ }
+@@ -173,7 +226,8 @@
+ /* Pipe standard error to parent process via fd_err. */
+ if (fd_err[1] != STDERR_FILENO)
+ {
+- dup2(fd_err[1], STDERR_FILENO);
++ if (dup2(fd_err[1], STDERR_FILENO) == -1)
++ _exit(EXIT_FAILURE);
+ /* fd_err[1] no longer required. */
+ close(fd_err[1]);
+ }
+@@ -182,6 +236,7 @@
+ execl("/bin/bash", "bash", "--protected", "--wordexp", words, (char *)0);
+ else
+ execl("/bin/bash", "bash", "--wordexp", words, (char *)0);
++ _exit(EXIT_FAILURE);
+ }
+ return WRDE_SUCCESS;
+ }
+diff -Naur newlib-1.20.0.orig/newlib/libc/posix/wordfree.c newlib-1.20.0/newlib/libc/posix/wordfree.c
+--- newlib-1.20.0.orig/newlib/libc/posix/wordfree.c 2008-10-31 22:03:41.000000000 +0100
++++ newlib-1.20.0/newlib/libc/posix/wordfree.c 2012-10-15 10:31:19.605620849 +0200
+@@ -18,13 +18,15 @@
+ #include <stdlib.h>
+ #include <string.h>
+ #include <unistd.h>
++#include <sys/queue.h>
+
+ #include <wordexp.h>
++#include "wordexp2.h"
+
+ void
+ wordfree(wordexp_t *pwordexp)
+ {
+- int i;
++ ext_wordv_t *wordv;
+
+ if (pwordexp == NULL)
+ return;
+@@ -32,10 +34,14 @@
+ if (pwordexp->we_wordv == NULL)
+ return;
+
+- for(i = 0; i < pwordexp->we_wordc; i++)
+- free(pwordexp->we_wordv[i]);
++ wordv = WE_WORDV_TO_EXT_WORDV(pwordexp->we_wordv);
++ while (!SLIST_EMPTY(&wordv->list)) {
++ struct ewords_entry *entry = SLIST_FIRST(&wordv->list);
++ SLIST_REMOVE_HEAD(&wordv->list, next);
++ free(entry);
++ }
+
+- free(pwordexp->we_wordv);
++ free(wordv);
+ pwordexp->we_wordv = NULL;
+ }
+
+diff -Naur newlib-1.20.0.orig/newlib/libc/reent/mkdirr.c newlib-1.20.0/newlib/libc/reent/mkdirr.c
+--- newlib-1.20.0.orig/newlib/libc/reent/mkdirr.c 2009-08-12 20:22:38.000000000 +0200
++++ newlib-1.20.0/newlib/libc/reent/mkdirr.c 2012-10-15 10:31:19.605620849 +0200
+@@ -44,6 +44,8 @@
+ <<errno>>.
+ */
+
++#include <sys/stat.h>
++
+ int
+ _DEFUN (_mkdir_r, (ptr, path, mode),
+ struct _reent *ptr _AND
+diff -Naur newlib-1.20.0.orig/newlib/libc/reent/renamer.c newlib-1.20.0/newlib/libc/reent/renamer.c
+--- newlib-1.20.0.orig/newlib/libc/reent/renamer.c 2008-11-24 22:27:33.000000000 +0100
++++ newlib-1.20.0/newlib/libc/reent/renamer.c 2012-10-15 10:31:19.605620849 +0200
+@@ -1,6 +1,7 @@
+ /* Reentrant version of rename system call. */
+
+ #include <reent.h>
++#include <stdio.h>
+ #include <unistd.h>
+ #include <sys/stat.h>
+ #include <_syslist.h>
+diff -Naur newlib-1.20.0.orig/newlib/libc/search/db_local.h newlib-1.20.0/newlib/libc/search/db_local.h
+--- newlib-1.20.0.orig/newlib/libc/search/db_local.h 2010-03-05 09:55:15.000000000 +0100
++++ newlib-1.20.0/newlib/libc/search/db_local.h 2012-10-15 10:31:19.605620849 +0200
+@@ -102,11 +102,11 @@
+ typedef struct __db {
+ DBTYPE type; /* Underlying db type. */
+ int (*close)(struct __db *);
+- int (*del)(const struct __db *, const DBT *, u_int);
+- int (*get)(const struct __db *, const DBT *, DBT *, u_int);
+- int (*put)(const struct __db *, DBT *, const DBT *, u_int);
+- int (*seq)(const struct __db *, DBT *, DBT *, u_int);
+- int (*sync)(const struct __db *, u_int);
++ int (*del)(const struct __db *, const DBT *, __uint32_t);
++ int (*get)(const struct __db *, const DBT *, DBT *, __uint32_t);
++ int (*put)(const struct __db *, DBT *, const DBT *, __uint32_t);
++ int (*seq)(const struct __db *, DBT *, DBT *, __uint32_t);
++ int (*sync)(const struct __db *, __uint32_t);
+ void *internal; /* Access method private. */
+ int (*fd)(const struct __db *);
+ } DB;
+diff -Naur newlib-1.20.0.orig/newlib/libc/search/extern.h newlib-1.20.0/newlib/libc/search/extern.h
+--- newlib-1.20.0.orig/newlib/libc/search/extern.h 2002-06-20 21:51:31.000000000 +0200
++++ newlib-1.20.0/newlib/libc/search/extern.h 2012-10-15 10:31:19.606620865 +0200
+@@ -43,7 +43,7 @@
+ int __big_split(HTAB *, BUFHEAD *, BUFHEAD *, BUFHEAD *,
+ int, __uint32_t, SPLIT_RETURN *);
+ int __buf_free(HTAB *, int, int);
+-void __buf_init(HTAB *, int);
++void __buf_init(HTAB *, __uint32_t);
+ __uint32_t __call_hash(HTAB *, char *, int);
+ int __delpair(HTAB *, BUFHEAD *, int);
+ int __expand_table(HTAB *);
+diff -Naur newlib-1.20.0.orig/newlib/libc/search/hash_bigkey.c newlib-1.20.0/newlib/libc/search/hash_bigkey.c
+--- newlib-1.20.0.orig/newlib/libc/search/hash_bigkey.c 2006-06-07 21:22:59.000000000 +0200
++++ newlib-1.20.0/newlib/libc/search/hash_bigkey.c 2012-10-15 10:31:19.607620881 +0200
+@@ -123,7 +123,7 @@
+ if (!bufp)
+ return (-1);
+ n = p[0];
+- if (!key_size)
++ if (!key_size) {
+ if (FREESPACE(p)) {
+ move_bytes = MIN(FREESPACE(p), val_size);
+ off = OFFSET(p) - move_bytes;
+@@ -136,6 +136,7 @@
+ OFFSET(p) = off;
+ } else
+ p[n - 2] = FULL_KEY;
++ }
+ p = (__uint16_t *)bufp->page;
+ cp = bufp->page;
+ bufp->flags |= BUF_MOD;
+diff -Naur newlib-1.20.0.orig/newlib/libc/search/hash_buf.c newlib-1.20.0/newlib/libc/search/hash_buf.c
+--- newlib-1.20.0.orig/newlib/libc/search/hash_buf.c 2004-05-26 19:57:10.000000000 +0200
++++ newlib-1.20.0/newlib/libc/search/hash_buf.c 2012-10-15 10:31:19.607620881 +0200
+@@ -118,9 +118,9 @@
+ int newpage; /* If prev_bp set, indicates a new overflow page. */
+ {
+ BUFHEAD *bp;
+- __uint32_t is_disk_mask;
+- int is_disk, segment_ndx;
+- SEGMENT segp;
++ ptrdiff_t is_disk_mask;
++ int is_disk, segment_ndx = 0;
++ SEGMENT segp = NULL;
+
+ is_disk = 0;
+ is_disk_mask = 0;
+@@ -298,7 +298,7 @@
+ extern void
+ __buf_init(hashp, nbytes)
+ HTAB *hashp;
+- int nbytes;
++ __uint32_t nbytes;
+ {
+ BUFHEAD *bfp;
+ int npages;
+diff -Naur newlib-1.20.0.orig/newlib/libc/search/hash.c newlib-1.20.0/newlib/libc/search/hash.c
+--- newlib-1.20.0.orig/newlib/libc/search/hash.c 2010-03-05 09:55:15.000000000 +0100
++++ newlib-1.20.0/newlib/libc/search/hash.c 2012-10-15 10:31:19.606620865 +0200
+@@ -141,9 +141,9 @@
+ new_table = 0;
+ if (!file || (flags & O_TRUNC) ||
+ #ifdef __USE_INTERNAL_STAT64
+- (stat64(file, &statbuf) && (errno == ENOENT))) {
++ (_stat64(file, &statbuf) && (errno == ENOENT))) {
+ #else
+- (stat(file, &statbuf) && (errno == ENOENT))) {
++ (_stat(file, &statbuf) && (errno == ENOENT))) {
+ #endif
+ if (errno == ENOENT)
+ errno = 0; /* Just in case someone looks at errno */
+@@ -157,9 +157,9 @@
+ a new .db file, then reinitialize the database */
+ if ((flags & O_CREAT) &&
+ #ifdef __USE_INTERNAL_STAT64
+- fstat64(hashp->fp, &statbuf) == 0 && statbuf.st_size == 0)
++ _fstat64(hashp->fp, &statbuf) == 0 && statbuf.st_size == 0)
+ #else
+- fstat(hashp->fp, &statbuf) == 0 && statbuf.st_size == 0)
++ _fstat(hashp->fp, &statbuf) == 0 && statbuf.st_size == 0)
+ #endif
+ new_table = 1;
+
+@@ -316,7 +316,11 @@
+ const char *file;
+ const HASHINFO *info;
+ {
++#ifdef __USE_INTERNAL_STAT64
++ struct stat64 statbuf;
++#else
+ struct stat statbuf;
++#endif
+ int nelem;
+
+ nelem = 1;
+@@ -335,9 +339,9 @@
+ /* Fix bucket size to be optimal for file system */
+ if (file != NULL) {
+ #ifdef __USE_INTERNAL_STAT64
+- if (stat64(file, &statbuf))
++ if (_stat64(file, &statbuf))
+ #else
+- if (stat(file, &statbuf))
++ if (_stat(file, &statbuf))
+ #endif
+ return (NULL);
+ hashp->BSIZE = statbuf.st_blksize;
+diff -Naur newlib-1.20.0.orig/newlib/libc/search/hash.h newlib-1.20.0/newlib/libc/search/hash.h
+--- newlib-1.20.0.orig/newlib/libc/search/hash.h 2008-07-02 20:38:45.000000000 +0200
++++ newlib-1.20.0/newlib/libc/search/hash.h 2012-10-15 10:31:19.606620865 +0200
+@@ -82,7 +82,7 @@
+
+ /* Hash Table Information */
+ typedef struct hashhdr { /* Disk resident portion */
+- int magic; /* Magic NO for hash tables */
++ __uint32_t magic; /* Magic NO for hash tables */
+ int version; /* Version ID */
+ __uint32_t lorder; /* Byte Order */
+ int bsize; /* Bucket/Page Size */
+@@ -97,7 +97,7 @@
+ int high_mask; /* Mask to modulo into entire table */
+ int low_mask; /* Mask to modulo into lower half of
+ * table */
+- int ffactor; /* Fill factor */
++ __uint32_t ffactor; /* Fill factor */
+ int nkeys; /* Number of keys in hash table */
+ int hdrpages; /* Size of table header */
+ int h_charkey; /* value of hash(CHARKEY) */
+diff -Naur newlib-1.20.0.orig/newlib/libc/search/hash_page.c newlib-1.20.0/newlib/libc/search/hash_page.c
+--- newlib-1.20.0.orig/newlib/libc/search/hash_page.c 2002-09-19 23:28:51.000000000 +0200
++++ newlib-1.20.0/newlib/libc/search/hash_page.c 2012-10-15 10:31:19.608620898 +0200
+@@ -667,7 +667,7 @@
+ overflow_page(hashp)
+ HTAB *hashp;
+ {
+- __uint32_t *freep;
++ __uint32_t *freep = NULL;
+ int max_free, offset, splitnum;
+ __uint16_t addr;
+ int bit, first_page, free_bit, free_page, i, in_use_bits, j;
+diff -Naur newlib-1.20.0.orig/newlib/libc/search/hcreate_r.c newlib-1.20.0/newlib/libc/search/hcreate_r.c
+--- newlib-1.20.0.orig/newlib/libc/search/hcreate_r.c 2002-07-03 02:33:57.000000000 +0200
++++ newlib-1.20.0/newlib/libc/search/hcreate_r.c 2012-10-15 10:31:19.608620898 +0200
+@@ -123,9 +123,10 @@
+ void
+ hdestroy_r(struct hsearch_data *htab)
+ {
++#if 0
+ struct internal_entry *ie;
+ size_t idx;
+-
++#endif
+ if (htab->htable == NULL)
+ return;
+
+diff -Naur newlib-1.20.0.orig/newlib/libc/stdio/asiprintf.c newlib-1.20.0/newlib/libc/stdio/asiprintf.c
+--- newlib-1.20.0.orig/newlib/libc/stdio/asiprintf.c 2008-04-30 04:47:14.000000000 +0200
++++ newlib-1.20.0/newlib/libc/stdio/asiprintf.c 2012-10-15 10:31:19.608620898 +0200
+@@ -45,7 +45,7 @@
+ if (ret >= 0)
+ {
+ *f._p = 0;
+- *strp = f._bf._base;
++ *strp = (char *) f._bf._base;
+ }
+ return (ret);
+ }
+@@ -72,7 +72,7 @@
+ if (ret >= 0)
+ {
+ *f._p = 0;
+- *strp = f._bf._base;
++ *strp = (char *) f._bf._base;
+ }
+ return (ret);
+ }
+diff -Naur newlib-1.20.0.orig/newlib/libc/stdio/asprintf.c newlib-1.20.0/newlib/libc/stdio/asprintf.c
+--- newlib-1.20.0.orig/newlib/libc/stdio/asprintf.c 2008-04-14 23:14:55.000000000 +0200
++++ newlib-1.20.0/newlib/libc/stdio/asprintf.c 2012-10-15 10:31:19.608620898 +0200
+@@ -45,7 +45,7 @@
+ if (ret >= 0)
+ {
+ *f._p = 0;
+- *strp = f._bf._base;
++ *strp = (char *) f._bf._base;
+ }
+ return (ret);
+ }
+@@ -72,7 +72,7 @@
+ if (ret >= 0)
+ {
+ *f._p = 0;
+- *strp = f._bf._base;
++ *strp = (char *) f._bf._base;
+ }
+ return (ret);
+ }
+diff -Naur newlib-1.20.0.orig/newlib/libc/stdio/fgets.c newlib-1.20.0/newlib/libc/stdio/fgets.c
+--- newlib-1.20.0.orig/newlib/libc/stdio/fgets.c 2011-01-28 11:49:11.000000000 +0100
++++ newlib-1.20.0/newlib/libc/stdio/fgets.c 2012-10-15 10:31:19.609620915 +0200
+@@ -102,7 +102,7 @@
+ #ifdef __SCLE
+ if (fp->_flags & __SCLE)
+ {
+- int c;
++ int c = 0;
+ /* Sorry, have to do it the slow way */
+ while (--n > 0 && (c = __sgetc_r (ptr, fp)) != EOF)
+ {
+diff -Naur newlib-1.20.0.orig/newlib/libc/stdio/fgetws.c newlib-1.20.0/newlib/libc/stdio/fgetws.c
+--- newlib-1.20.0.orig/newlib/libc/stdio/fgetws.c 2011-01-28 11:49:11.000000000 +0100
++++ newlib-1.20.0/newlib/libc/stdio/fgetws.c 2012-10-15 10:31:19.609620915 +0200
+@@ -110,9 +110,13 @@
+ {
+ src = (char *) fp->_p;
+ nl = memchr (fp->_p, '\n', fp->_r);
+- nconv = _mbsrtowcs_r (ptr, wsp, &src,
+- nl != NULL ? (nl - fp->_p + 1) : fp->_r,
+- &fp->_mbstate);
++ nconv = _mbsnrtowcs_r (ptr, wsp, &src,
++ /* Read all bytes up to the next NL, or up to the
++ end of the buffer if there is no NL. */
++ nl != NULL ? (nl - fp->_p + 1) : fp->_r,
++ /* But never more than n - 1 wide chars. */
++ n - 1,
++ &fp->_mbstate);
+ if (nconv == (size_t) -1)
+ /* Conversion error */
+ goto error;
+diff -Naur newlib-1.20.0.orig/newlib/libc/stdio/fileno.c newlib-1.20.0/newlib/libc/stdio/fileno.c
+--- newlib-1.20.0.orig/newlib/libc/stdio/fileno.c 2006-09-26 23:22:19.000000000 +0200
++++ newlib-1.20.0/newlib/libc/stdio/fileno.c 2012-10-15 10:31:19.609620915 +0200
+@@ -47,6 +47,7 @@
+
+ #include <_ansi.h>
+ #include <stdio.h>
++#include <errno.h>
+ #include "local.h"
+
+ int
+@@ -56,7 +57,13 @@
+ int result;
+ CHECK_INIT (_REENT, f);
+ _flockfile (f);
+- result = __sfileno (f);
++ if (f->_flags)
++ result = __sfileno (f);
++ else
++ {
++ result = -1;
++ _REENT->_errno = EBADF;
++ }
+ _funlockfile (f);
+ return result;
+ }
+diff -Naur newlib-1.20.0.orig/newlib/libc/stdio/findfp.c newlib-1.20.0/newlib/libc/stdio/findfp.c
+--- newlib-1.20.0.orig/newlib/libc/stdio/findfp.c 2008-12-11 00:43:12.000000000 +0100
++++ newlib-1.20.0/newlib/libc/stdio/findfp.c 2012-10-15 10:31:19.610620931 +0200
+@@ -192,7 +192,6 @@
+
+ /* make sure we clean up on exit */
+ s->__cleanup = _cleanup_r; /* conservative */
+- s->__sdidinit = 1;
+
+ s->__sglue._next = NULL;
+ #ifndef _REENT_SMALL
+@@ -201,6 +200,11 @@
+ #else
+ s->__sglue._niobs = 0;
+ s->__sglue._iobs = NULL;
++ /* Avoid infinite recursion when calling __sfp for _GLOBAL_REENT. The
++ problem is that __sfp checks for _GLOBAL_REENT->__sdidinit and calls
++ __sinit if it's 0. */
++ if (s == _GLOBAL_REENT)
++ s->__sdidinit = 1;
+ s->_stdin = __sfp(s);
+ s->_stdout = __sfp(s);
+ s->_stderr = __sfp(s);
+@@ -224,6 +228,8 @@
+ when the underlying fd 2 is write-only. */
+ std (s->_stderr, __SRW | __SNBF, 2, s);
+
++ s->__sdidinit = 1;
++
+ __sinit_lock_release ();
+ }
+
+diff -Naur newlib-1.20.0.orig/newlib/libc/stdio/flags.c newlib-1.20.0/newlib/libc/stdio/flags.c
+--- newlib-1.20.0.orig/newlib/libc/stdio/flags.c 2007-06-04 20:10:17.000000000 +0200
++++ newlib-1.20.0/newlib/libc/stdio/flags.c 2012-10-15 10:31:19.610620931 +0200
+@@ -60,27 +60,40 @@
+ ptr->_errno = EINVAL;
+ return (0);
+ }
+- if (mode[1] && (mode[1] == '+' || mode[2] == '+'))
+- {
+- ret = (ret & ~(__SRD | __SWR)) | __SRW;
+- m = O_RDWR;
+- }
+- if (mode[1] && (mode[1] == 'b' || mode[2] == 'b'))
++ while (*++mode)
+ {
++ switch (*mode)
++ {
++ case '+':
++ ret = (ret & ~(__SRD | __SWR)) | __SRW;
++ m = (m & ~O_ACCMODE) | O_RDWR;
++ break;
++ case 'b':
+ #ifdef O_BINARY
+- m |= O_BINARY;
++ m |= O_BINARY;
+ #endif
+- }
++ break;
+ #ifdef __CYGWIN__
+- else if (mode[1] && (mode[1] == 't' || mode[2] == 't'))
+-#else
+- else
++ case 't':
++ m |= O_TEXT;
++ break;
+ #endif
+- {
+-#ifdef O_TEXT
+- m |= O_TEXT;
++#if defined (O_CLOEXEC) && defined (_GLIBC_EXTENSION)
++ case 'e':
++ m |= O_CLOEXEC;
++ break;
+ #endif
++ case 'x':
++ m |= O_EXCL;
++ break;
++ default:
++ break;
++ }
+ }
++#if defined (O_TEXT) && !defined (__CYGWIN__)
++ if (!(m | O_BINARY))
++ m |= O_TEXT;
++#endif
+ *optr = m | o;
+ return ret;
+ }
+diff -Naur newlib-1.20.0.orig/newlib/libc/stdio/freopen.c newlib-1.20.0/newlib/libc/stdio/freopen.c
+--- newlib-1.20.0.orig/newlib/libc/stdio/freopen.c 2011-01-28 11:49:11.000000000 +0100
++++ newlib-1.20.0/newlib/libc/stdio/freopen.c 2012-10-15 10:31:19.610620931 +0200
+@@ -199,7 +199,7 @@
+ if (HASLB (fp))
+ FREELB (ptr, fp);
+ fp->_lb._size = 0;
+- fp->_flags & ~__SORD;
++ fp->_flags &= ~__SORD;
+ fp->_flags2 = 0;
+ memset (&fp->_mbstate, 0, sizeof (_mbstate_t));
+
+diff -Naur newlib-1.20.0.orig/newlib/libc/stdio/fvwrite.c newlib-1.20.0/newlib/libc/stdio/fvwrite.c
+--- newlib-1.20.0.orig/newlib/libc/stdio/fvwrite.c 2011-06-14 05:56:05.000000000 +0200
++++ newlib-1.20.0/newlib/libc/stdio/fvwrite.c 2012-10-15 10:31:19.610620931 +0200
+@@ -155,8 +155,10 @@
+ newsize);
+ if (!str)
+ {
+- /* Free buffer which is no longer used. */
++ /* Free buffer which is no longer used and clear
++ __SMBF flag to avoid double free in fclose. */
+ _free_r (ptr, fp->_bf._base);
++ fp->_flags &= ~__SMBF;
+ /* Ensure correct errno, even if free changed it. */
+ ptr->_errno = ENOMEM;
+ goto err;
+diff -Naur newlib-1.20.0.orig/newlib/libc/stdio/mktemp.c newlib-1.20.0/newlib/libc/stdio/mktemp.c
+--- newlib-1.20.0.orig/newlib/libc/stdio/mktemp.c 2010-07-19 20:21:11.000000000 +0200
++++ newlib-1.20.0/newlib/libc/stdio/mktemp.c 2012-10-15 10:31:19.611620947 +0200
+@@ -247,7 +247,7 @@
+ else
+ {
+ /* Safe, since it only encounters 7-bit characters. */
+- if (isdigit (*trv))
++ if (isdigit ((unsigned char) *trv))
+ *trv = 'a';
+ else
+ ++ * trv;
+diff -Naur newlib-1.20.0.orig/newlib/libc/stdio/open_memstream.c newlib-1.20.0/newlib/libc/stdio/open_memstream.c
+--- newlib-1.20.0.orig/newlib/libc/stdio/open_memstream.c 2011-01-05 18:38:42.000000000 +0100
++++ newlib-1.20.0/newlib/libc/stdio/open_memstream.c 2012-10-15 10:31:19.611620947 +0200
+@@ -330,9 +330,9 @@
+ c->max *= sizeof(wchar_t);
+ if (c->max < 64)
+ c->max = 64;
+-#if (SIZE_MAX >= 64 * 1024)
+- else if (c->max > 64 * 1024)
+- c->max = 64 * 1024;
++#if (SIZE_MAX >= 0x10000)
++ else if (c->max > 0x10000)
++ c->max = 0x10000;
+ #endif
+ *size = 0;
+ *buf = _malloc_r (ptr, c->max);
+diff -Naur newlib-1.20.0.orig/newlib/libc/stdio/sprintf.c newlib-1.20.0/newlib/libc/stdio/sprintf.c
+--- newlib-1.20.0.orig/newlib/libc/stdio/sprintf.c 2009-03-12 11:27:10.000000000 +0100
++++ newlib-1.20.0/newlib/libc/stdio/sprintf.c 2012-10-15 10:31:19.611620947 +0200
+@@ -518,6 +518,10 @@
+ implementation is similar to <<%#tx>>), except
+ that <<0x>> appears even for the NULL pointer.
+
++ o m
++ Prints the output of <<strerror(errno)>>; no
++ argument is required. A GNU extension.
++
+ o-
+ O-
+
+diff -Naur newlib-1.20.0.orig/newlib/libc/stdio/swprintf.c newlib-1.20.0/newlib/libc/stdio/swprintf.c
+--- newlib-1.20.0.orig/newlib/libc/stdio/swprintf.c 2009-03-12 11:27:10.000000000 +0100
++++ newlib-1.20.0/newlib/libc/stdio/swprintf.c 2012-10-15 10:31:19.612620963 +0200
+@@ -498,6 +498,10 @@
+ implementation is similar to <<%#tx>>), except
+ that <<0x>> appears even for the NULL pointer.
+
++ o m
++ Prints the output of <<strerror(errno)>>; no
++ argument is required. A GNU extension.
++
+ o-
+ O-
+
+diff -Naur newlib-1.20.0.orig/newlib/libc/stdio/tmpnam.c newlib-1.20.0/newlib/libc/stdio/tmpnam.c
+--- newlib-1.20.0.orig/newlib/libc/stdio/tmpnam.c 2004-04-23 22:01:55.000000000 +0200
++++ newlib-1.20.0/newlib/libc/stdio/tmpnam.c 2012-10-15 10:31:19.612620963 +0200
+@@ -94,11 +94,13 @@
+ #include <_ansi.h>
+ #include <reent.h>
+ #include <stdio.h>
++#include <stdint.h>
+ #include <stdlib.h>
+ #include <string.h>
+ #include <fcntl.h>
+ #include <reent.h>
+ #include <errno.h>
++#include <inttypes.h>
+
+ /* Try to open the file specified, if it can't be opened then try
+ another one. Return nonzero if successful, otherwise zero. */
+@@ -109,7 +111,7 @@
+ char *result _AND
+ _CONST char *part1 _AND
+ _CONST char *part2 _AND
+- int part3 _AND
++ intptr_t part3 _AND
+ int *part4)
+ {
+ /* Generate the filename and make sure that there isn't one called
+@@ -118,7 +120,7 @@
+ while (1)
+ {
+ int t;
+- _sprintf_r (ptr, result, "%s/%s%x.%x", part1, part2, part3, *part4);
++ _sprintf_r (ptr, result, "%s/%s%" PRIxPTR ".%x", part1, part2, part3, *part4);
+ (*part4)++;
+ t = _open_r (ptr, result, O_RDONLY, 0);
+ if (t == -1)
+@@ -183,7 +185,7 @@
+ if (filename)
+ {
+ if (! worker (p, filename, dir, prefix,
+- _getpid_r (p) ^ (int) (_POINTER_INT) p, &p->_inc))
++ _getpid_r (p) ^ (intptr_t) p, &p->_inc))
+ return NULL;
+ }
+ return filename;
+diff -Naur newlib-1.20.0.orig/newlib/libc/stdio/vasiprintf.c newlib-1.20.0/newlib/libc/stdio/vasiprintf.c
+--- newlib-1.20.0.orig/newlib/libc/stdio/vasiprintf.c 2011-08-19 19:00:32.000000000 +0200
++++ newlib-1.20.0/newlib/libc/stdio/vasiprintf.c 2012-10-15 10:31:19.612620963 +0200
+@@ -59,7 +59,7 @@
+ if (ret >= 0)
+ {
+ *f._p = 0;
+- *strp = f._bf._base;
++ *strp = (char *) f._bf._base;
+ }
+ return ret;
+ }
+diff -Naur newlib-1.20.0.orig/newlib/libc/stdio/vasprintf.c newlib-1.20.0/newlib/libc/stdio/vasprintf.c
+--- newlib-1.20.0.orig/newlib/libc/stdio/vasprintf.c 2011-08-19 19:00:32.000000000 +0200
++++ newlib-1.20.0/newlib/libc/stdio/vasprintf.c 2012-10-15 10:31:19.613620979 +0200
+@@ -59,7 +59,7 @@
+ if (ret >= 0)
+ {
+ *f._p = 0;
+- *strp = f._bf._base;
++ *strp = (char *) f._bf._base;
+ }
+ return ret;
+ }
+diff -Naur newlib-1.20.0.orig/newlib/libc/stdio/vfprintf.c newlib-1.20.0/newlib/libc/stdio/vfprintf.c
+--- newlib-1.20.0.orig/newlib/libc/stdio/vfprintf.c 2010-02-15 17:10:28.000000000 +0100
++++ newlib-1.20.0/newlib/libc/stdio/vfprintf.c 2012-10-15 10:31:19.613620979 +0200
+@@ -114,7 +114,7 @@
+
+ #if defined(LIBC_SCCS) && !defined(lint)
+ /*static char *sccsid = "from: @(#)vfprintf.c 5.50 (Berkeley) 12/16/92";*/
+-static char *rcsid = "$Id: vfprintf.c,v 1.43 2002/08/13 02:40:06 fitzsim Exp $";
++static char *rcsid = "$Id$";
+ #endif /* LIBC_SCCS and not lint */
+
+ /*
+@@ -567,9 +567,9 @@
+ char sign; /* sign prefix (' ', '+', '-', or \0) */
+ #ifdef _WANT_IO_C99_FORMATS
+ /* locale specific numeric grouping */
+- char *thousands_sep;
+- size_t thsnd_len;
+- const char *grouping;
++ char *thousands_sep = NULL;
++ size_t thsnd_len = 0;
++ const char *grouping = NULL;
+ #endif
+ #ifdef FLOATING_POINT
+ char *decimal_point = _localeconv_r (data)->decimal_point;
+@@ -585,7 +585,7 @@
+ #if defined (FLOATING_POINT) || defined (_WANT_IO_C99_FORMATS)
+ int ndig = 0; /* actual number of digits returned by cvt */
+ #endif
+-#ifdef _WANT_IO_C99_FORMATS
++#if defined (FLOATING_POINT) && defined (_WANT_IO_C99_FORMATS)
+ int nseps; /* number of group separators with ' */
+ int nrepeats; /* number of repeats of the last group */
+ #endif
+@@ -793,10 +793,10 @@
+ sign = '\0';
+ #ifdef FLOATING_POINT
+ lead = 0;
+-#endif
+ #ifdef _WANT_IO_C99_FORMATS
+ nseps = nrepeats = 0;
+ #endif
++#endif
+ #ifndef _NO_POS_ARGS
+ N = arg_index;
+ is_pos_arg = 0;
+@@ -1225,6 +1225,15 @@
+ sign = '-';
+ break;
+ #endif /* FLOATING_POINT */
++#ifdef _GLIBC_EXTENSION
++ case 'm': /* extension */
++ {
++ int dummy;
++ cp = _strerror_r (data, data->_errno, 1, &dummy);
++ }
++ flags &= ~LONGINT;
++ goto string;
++#endif
+ case 'n':
+ #ifndef _NO_LONGLONG
+ if (flags & QUADINT)
+@@ -1272,8 +1281,11 @@
+ #ifdef _WANT_IO_C99_FORMATS
+ case 'S':
+ #endif
+- sign = '\0';
+ cp = GET_ARG (N, ap, char_ptr_t);
++#ifdef _GLIBC_EXTENSION
++string:
++#endif
++ sign = '\0';
+ #ifndef __OPTIMIZE_SIZE__
+ /* Behavior is undefined if the user passed a
+ NULL string when precision is not 0.
+diff -Naur newlib-1.20.0.orig/newlib/libc/stdio/vfscanf.c newlib-1.20.0/newlib/libc/stdio/vfscanf.c
+--- newlib-1.20.0.orig/newlib/libc/stdio/vfscanf.c 2011-08-23 13:59:55.000000000 +0200
++++ newlib-1.20.0/newlib/libc/stdio/vfscanf.c 2012-10-15 10:31:19.614620995 +0200
+@@ -241,10 +241,7 @@
+ #define CT_INT 3 /* integer, i.e., strtol or strtoul */
+ #define CT_FLOAT 4 /* floating, i.e., strtod */
+
+-#if 0
+ #define u_char unsigned char
+-#endif
+-#define u_char char
+ #define u_long unsigned long
+
+ #ifndef _NO_LONGLONG
+@@ -511,8 +508,8 @@
+ #ifndef _MB_CAPABLE
+ wc = *fmt;
+ #else
+- nbytes = __mbtowc (rptr, &wc, fmt, MB_CUR_MAX, __locale_charset (),
+- &state);
++ nbytes = __mbtowc (rptr, &wc, (char *) fmt, MB_CUR_MAX,
++ __locale_charset (), &state);
+ if (nbytes < 0) {
+ wc = 0xFFFD; /* Unicode replacement character */
+ nbytes = 1;
+diff -Naur newlib-1.20.0.orig/newlib/libc/stdio/vfwprintf.c newlib-1.20.0/newlib/libc/stdio/vfwprintf.c
+--- newlib-1.20.0.orig/newlib/libc/stdio/vfwprintf.c 2011-07-15 19:20:16.000000000 +0200
++++ newlib-1.20.0/newlib/libc/stdio/vfwprintf.c 2012-10-15 10:31:19.614620995 +0200
+@@ -396,10 +396,11 @@
+ wchar_t sign; /* sign prefix (' ', '+', '-', or \0) */
+ #ifdef _WANT_IO_C99_FORMATS
+ /* locale specific numeric grouping */
+- wchar_t thousands_sep;
+- const char *grouping;
++ wchar_t thousands_sep = L'\0';
++ const char *grouping = NULL;
+ #endif
+-#ifdef _MB_CAPABLE
++#if defined (_MB_CAPABLE) && !defined (__HAVE_LOCALE_INFO_EXTENDED__) \
++ && (defined (FLOATING_POINT) || defined (_WANT_IO_C99_FORMATS))
+ mbstate_t state; /* mbtowc calls from library must not change state */
+ #endif
+ #ifdef FLOATING_POINT
+@@ -415,7 +416,7 @@
+ #if defined (FLOATING_POINT) || defined (_WANT_IO_C99_FORMATS)
+ int ndig = 0; /* actual number of digits returned by cvt */
+ #endif
+-#ifdef _WANT_IO_C99_FORMATS
++#if defined (FLOATING_POINT) && defined (_WANT_IO_C99_FORMATS)
+ int nseps; /* number of group separators with ' */
+ int nrepeats; /* number of repeats of the last group */
+ #endif
+@@ -619,10 +620,10 @@
+ sign = L'\0';
+ #ifdef FLOATING_POINT
+ lead = 0;
+-#endif
+ #ifdef _WANT_IO_C99_FORMATS
+ nseps = nrepeats = 0;
+ #endif
++#endif
+ #ifndef _NO_POS_ARGS
+ N = arg_index;
+ is_pos_arg = 0;
+@@ -1074,6 +1075,15 @@
+ sign = L'-';
+ break;
+ #endif /* FLOATING_POINT */
++#ifdef _GLIBC_EXTENSION
++ case L'm': /* GNU extension */
++ {
++ int dummy;
++ cp = (wchar_t *) _strerror_r (data, data->_errno, 1, &dummy);
++ }
++ flags &= ~LONGINT;
++ goto string;
++#endif
+ case L'n':
+ #ifndef _NO_LONGLONG
+ if (flags & QUADINT)
+@@ -1118,8 +1128,11 @@
+ #ifdef _WANT_IO_C99_FORMATS
+ case L'S': /* POSIX extension */
+ #endif
+- sign = '\0';
+ cp = GET_ARG (N, ap, wchar_ptr_t);
++#ifdef _GLIBC_EXTENSION
++string:
++#endif
++ sign = '\0';
+ #ifndef __OPTIMIZE_SIZE__
+ /* Behavior is undefined if the user passed a
+ NULL string when precision is not 0.
+@@ -1132,7 +1145,7 @@
+ else
+ #endif /* __OPTIMIZE_SIZE__ */
+ #ifdef _MB_CAPABLE
+- if (ch == L's' && !(flags & LONGINT)) {
++ if (ch != L'S' && !(flags & LONGINT)) {
+ char *arg = (char *) cp;
+ size_t insize = 0, nchars = 0, nconv = 0;
+ mbstate_t ps;
+diff -Naur newlib-1.20.0.orig/newlib/libc/stdlib/__atexit.c newlib-1.20.0/newlib/libc/stdlib/__atexit.c
+--- newlib-1.20.0.orig/newlib/libc/stdlib/__atexit.c 2010-04-06 22:20:36.000000000 +0200
++++ newlib-1.20.0/newlib/libc/stdlib/__atexit.c 2012-10-15 10:31:19.616621027 +0200
+@@ -74,7 +74,7 @@
+ if (args == NULL)
+ {
+ #ifndef __SINGLE_THREAD__
+- __lock_release(lock);
++ __lock_release(__atexit_lock);
+ #endif
+ return -1;
+ }
+diff -Naur newlib-1.20.0.orig/newlib/libc/stdlib/atof.c newlib-1.20.0/newlib/libc/stdlib/atof.c
+--- newlib-1.20.0.orig/newlib/libc/stdlib/atof.c 2003-10-20 20:46:37.000000000 +0200
++++ newlib-1.20.0/newlib/libc/stdlib/atof.c 2012-10-15 10:31:19.616621027 +0200
+@@ -1,6 +1,6 @@
+ /*
+ FUNCTION
+- <<atof>>, <<atoff>>---string to double or float
++ <<atof>> ---string to double
+
+ INDEX
+ atof
+@@ -10,19 +10,14 @@
+ ANSI_SYNOPSIS
+ #include <stdlib.h>
+ double atof(const char *<[s]>);
+- float atoff(const char *<[s]>);
+
+ TRAD_SYNOPSIS
+ #include <stdlib.h>
+ double atof(<[s]>)
+ char *<[s]>;
+
+- float atoff(<[s]>)
+- char *<[s]>;
+-
+ DESCRIPTION
+ <<atof>> converts the initial portion of a string to a <<double>>.
+-<<atoff>> converts the initial portion of a string to a <<float>>.
+
+ The functions parse the character string <[s]>,
+ locating a substring which can be converted to a floating-point
+@@ -36,7 +31,6 @@
+ something other than <<+>>, <<->>, <<.>>, or a digit.
+
+ <<atof(<[s]>)>> is implemented as <<strtod(<[s]>, NULL)>>.
+-<<atoff(<[s]>)>> is implemented as <<strtof(<[s]>, NULL)>>.
+
+ RETURNS
+ <<atof>> returns the converted substring value, if any, as a
+@@ -47,12 +41,9 @@
+ If the correct value would cause underflow, <<0.0>> is returned
+ and <<ERANGE>> is stored in <<errno>>.
+
+-<<atoff>> obeys the same rules as <<atof>>, except that it
+-returns a <<float>>.
+-
+ PORTABILITY
+-<<atof>> is ANSI C. <<atof>>, <<atoi>>, and <<atol>> are subsumed by <<strod>>
+-and <<strol>>, but are used extensively in existing code. These functions are
++<<atof>> is ANSI C. <<atof>>, <<atoi>>, and <<atol>> are subsumed by <<strtod>>
++and <<strtol>>, but are used extensively in existing code. These functions are
+ less reliable, but may be faster if the argument is verified to be in a valid
+ range.
+
+diff -Naur newlib-1.20.0.orig/newlib/libc/stdlib/atoff.c newlib-1.20.0/newlib/libc/stdlib/atoff.c
+--- newlib-1.20.0.orig/newlib/libc/stdlib/atoff.c 2002-12-06 19:58:51.000000000 +0100
++++ newlib-1.20.0/newlib/libc/stdlib/atoff.c 1970-01-01 01:00:00.000000000 +0100
+@@ -1,9 +0,0 @@
+-#include <stdlib.h>
+-#include <_ansi.h>
+-
+-float
+-_DEFUN (atoff, (s),
+- _CONST char *s)
+-{
+- return strtof (s, NULL);
+-}
+diff -Naur newlib-1.20.0.orig/newlib/libc/stdlib/btowc.c newlib-1.20.0/newlib/libc/stdlib/btowc.c
+--- newlib-1.20.0.orig/newlib/libc/stdlib/btowc.c 2010-04-06 16:46:31.000000000 +0200
++++ newlib-1.20.0/newlib/libc/stdlib/btowc.c 2012-10-15 10:31:19.616621027 +0200
+@@ -23,7 +23,8 @@
+
+ _REENT_CHECK_MISC(_REENT);
+
+- retval = __mbtowc (_REENT, &pwc, &b, 1, __locale_charset (), &mbs);
++ retval = __mbtowc (_REENT, &pwc, (const char *) &b, 1,
++ __locale_charset (), &mbs);
+
+ if (retval != 0 && retval != 1)
+ return WEOF;
+diff -Naur newlib-1.20.0.orig/newlib/libc/stdlib/Makefile.am newlib-1.20.0/newlib/libc/stdlib/Makefile.am
+--- newlib-1.20.0.orig/newlib/libc/stdlib/Makefile.am 2009-04-16 20:24:35.000000000 +0200
++++ newlib-1.20.0/newlib/libc/stdlib/Makefile.am 2012-10-15 10:31:19.615621011 +0200
+@@ -16,7 +16,6 @@
+ assert.c \
+ atexit.c \
+ atof.c \
+- atoff.c \
+ atoi.c \
+ atol.c \
+ calloc.c \
+diff -Naur newlib-1.20.0.orig/newlib/libc/stdlib/Makefile.in newlib-1.20.0/newlib/libc/stdlib/Makefile.in
+--- newlib-1.20.0.orig/newlib/libc/stdlib/Makefile.in 2012-04-27 11:00:26.889003857 +0200
++++ newlib-1.20.0/newlib/libc/stdlib/Makefile.in 2012-10-15 10:31:19.615621011 +0200
+@@ -69,8 +69,7 @@
+ lib_a-__ten_mu.$(OBJEXT) lib_a-_Exit.$(OBJEXT) \
+ lib_a-abort.$(OBJEXT) lib_a-abs.$(OBJEXT) \
+ lib_a-assert.$(OBJEXT) lib_a-atexit.$(OBJEXT) \
+- lib_a-atof.$(OBJEXT) lib_a-atoff.$(OBJEXT) \
+- lib_a-atoi.$(OBJEXT) lib_a-atol.$(OBJEXT) \
++ lib_a-atof.$(OBJEXT) lib_a-atoi.$(OBJEXT) lib_a-atol.$(OBJEXT) \
+ lib_a-calloc.$(OBJEXT) lib_a-div.$(OBJEXT) \
+ lib_a-dtoa.$(OBJEXT) lib_a-dtoastub.$(OBJEXT) \
+ lib_a-environ.$(OBJEXT) lib_a-envlock.$(OBJEXT) \
+@@ -132,15 +131,15 @@
+ @HAVE_LONG_DOUBLE_TRUE@am__objects_8 = strtold.lo wcstold.lo
+ am__objects_9 = __adjust.lo __atexit.lo __call_atexit.lo __exp10.lo \
+ __ten_mu.lo _Exit.lo abort.lo abs.lo assert.lo atexit.lo \
+- atof.lo atoff.lo atoi.lo atol.lo calloc.lo div.lo dtoa.lo \
+- dtoastub.lo environ.lo envlock.lo eprintf.lo exit.lo \
+- gdtoa-gethex.lo gdtoa-hexnan.lo getenv.lo getenv_r.lo labs.lo \
+- ldiv.lo ldtoa.lo malloc.lo mblen.lo mblen_r.lo mbstowcs.lo \
+- mbstowcs_r.lo mbtowc.lo mbtowc_r.lo mlock.lo mprec.lo \
+- mstats.lo rand.lo rand_r.lo realloc.lo reallocf.lo \
+- sb_charsets.lo strtod.lo strtol.lo strtoul.lo wcstod.lo \
+- wcstol.lo wcstoul.lo wcstombs.lo wcstombs_r.lo wctomb.lo \
+- wctomb_r.lo $(am__objects_8)
++ atof.lo atoi.lo atol.lo calloc.lo div.lo dtoa.lo dtoastub.lo \
++ environ.lo envlock.lo eprintf.lo exit.lo gdtoa-gethex.lo \
++ gdtoa-hexnan.lo getenv.lo getenv_r.lo labs.lo ldiv.lo ldtoa.lo \
++ malloc.lo mblen.lo mblen_r.lo mbstowcs.lo mbstowcs_r.lo \
++ mbtowc.lo mbtowc_r.lo mlock.lo mprec.lo mstats.lo rand.lo \
++ rand_r.lo realloc.lo reallocf.lo sb_charsets.lo strtod.lo \
++ strtol.lo strtoul.lo wcstod.lo wcstol.lo wcstoul.lo \
++ wcstombs.lo wcstombs_r.lo wctomb.lo wctomb_r.lo \
++ $(am__objects_8)
+ am__objects_10 = cxa_atexit.lo cxa_finalize.lo drand48.lo ecvtbuf.lo \
+ efgcvt.lo erand48.lo jrand48.lo lcong48.lo lrand48.lo \
+ mrand48.lo msize.lo mtrim.lo nrand48.lo rand48.lo seed48.lo \
+@@ -331,13 +330,13 @@
+ INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
+ GENERAL_SOURCES = __adjust.c __atexit.c __call_atexit.c __exp10.c \
+ __ten_mu.c _Exit.c abort.c abs.c assert.c atexit.c atof.c \
+- atoff.c atoi.c atol.c calloc.c div.c dtoa.c dtoastub.c \
+- environ.c envlock.c eprintf.c exit.c gdtoa-gethex.c \
+- gdtoa-hexnan.c getenv.c getenv_r.c labs.c ldiv.c ldtoa.c \
+- malloc.c mblen.c mblen_r.c mbstowcs.c mbstowcs_r.c mbtowc.c \
+- mbtowc_r.c mlock.c mprec.c mstats.c rand.c rand_r.c realloc.c \
+- reallocf.c sb_charsets.c strtod.c strtol.c strtoul.c wcstod.c \
+- wcstol.c wcstoul.c wcstombs.c wcstombs_r.c wctomb.c wctomb_r.c \
++ atoi.c atol.c calloc.c div.c dtoa.c dtoastub.c environ.c \
++ envlock.c eprintf.c exit.c gdtoa-gethex.c gdtoa-hexnan.c \
++ getenv.c getenv_r.c labs.c ldiv.c ldtoa.c malloc.c mblen.c \
++ mblen_r.c mbstowcs.c mbstowcs_r.c mbtowc.c mbtowc_r.c mlock.c \
++ mprec.c mstats.c rand.c rand_r.c realloc.c reallocf.c \
++ sb_charsets.c strtod.c strtol.c strtoul.c wcstod.c wcstol.c \
++ wcstoul.c wcstombs.c wcstombs_r.c wctomb.c wctomb_r.c \
+ $(am__append_1)
+ EXTENDED_SOURCES = \
+ cxa_atexit.c \
+@@ -617,12 +616,6 @@
+ lib_a-atof.obj: atof.c
+ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CFLAGS) $(CFLAGS) -c -o lib_a-atof.obj `if test -f 'atof.c'; then $(CYGPATH_W) 'atof.c'; else $(CYGPATH_W) '$(srcdir)/atof.c'; fi`
+
+-lib_a-atoff.o: atoff.c
+- $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CFLAGS) $(CFLAGS) -c -o lib_a-atoff.o `test -f 'atoff.c' || echo '$(srcdir)/'`atoff.c
+-
+-lib_a-atoff.obj: atoff.c
+- $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CFLAGS) $(CFLAGS) -c -o lib_a-atoff.obj `if test -f 'atoff.c'; then $(CYGPATH_W) 'atoff.c'; else $(CYGPATH_W) '$(srcdir)/atoff.c'; fi`
+-
+ lib_a-atoi.o: atoi.c
+ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CFLAGS) $(CFLAGS) -c -o lib_a-atoi.o `test -f 'atoi.c' || echo '$(srcdir)/'`atoi.c
+
+diff -Naur newlib-1.20.0.orig/newlib/libc/stdlib/mbtowc_r.c newlib-1.20.0/newlib/libc/stdlib/mbtowc_r.c
+--- newlib-1.20.0.orig/newlib/libc/stdlib/mbtowc_r.c 2010-01-17 10:39:06.000000000 +0100
++++ newlib-1.20.0/newlib/libc/stdlib/mbtowc_r.c 2012-10-15 10:31:19.617621043 +0200
+@@ -78,6 +78,7 @@
+ * is 2 (switch to JIS) + 2 (JIS characters) + 2 (switch back to ASCII) = 6.
+ *************************************************************************************/
+
++#ifndef __CYGWIN__
+ static JIS_STATE JIS_state_table[JIS_S_NUM][JIS_C_NUM] = {
+ /* ESCAPE DOLLAR BRACKET AT B J NUL JIS_CHAR OTHER */
+ /* ASCII */ { A_ESC, ASCII, ASCII, ASCII, ASCII, ASCII, ASCII, ASCII, ASCII },
+@@ -99,6 +100,7 @@
+ /* J_ESC */ { ERROR, ERROR, NOOP, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR },
+ /* J_ESC_BR */{ ERROR, ERROR, ERROR, ERROR, MAKE_A, MAKE_A, ERROR, ERROR, ERROR },
+ };
++#endif /* !__CYGWIN__ */
+
+ /* we override the mbstate_t __count field for more complex encodings and use it store a state value */
+ #define __state __count
+diff -Naur newlib-1.20.0.orig/newlib/libc/stdlib/mprec.h newlib-1.20.0/newlib/libc/stdlib/mprec.h
+--- newlib-1.20.0.orig/newlib/libc/stdlib/mprec.h 2008-06-25 03:45:02.000000000 +0200
++++ newlib-1.20.0/newlib/libc/stdlib/mprec.h 2012-10-15 10:31:19.617621043 +0200
+@@ -98,7 +98,7 @@
+ #define SI 0
+ #endif
+
+-#define Storeinc(a,b,c) (*(a)++ = (b) << 16 | (c) & 0xffff)
++#define Storeinc(a,b,c) (*(a)++ = ((b) << 16) | ((c) & 0xffff))
+
+ /* #define P DBL_MANT_DIG */
+ /* Ten_pmax = floor(P*log(2)/log(5)) */
+diff -Naur newlib-1.20.0.orig/newlib/libc/stdlib/wctomb_r.c newlib-1.20.0/newlib/libc/stdlib/wctomb_r.c
+--- newlib-1.20.0.orig/newlib/libc/stdlib/wctomb_r.c 2010-01-17 10:39:06.000000000 +0100
++++ newlib-1.20.0/newlib/libc/stdlib/wctomb_r.c 2012-10-15 10:31:19.617621043 +0200
+@@ -81,7 +81,7 @@
+ to return extra 3 bytes. */
+ wchar_t tmp;
+ tmp = (state->__value.__wchb[0] << 16 | state->__value.__wchb[1] << 8)
+- - 0x10000 >> 10 | 0xd80d;
++ - (0x10000 >> 10 | 0xd80d);
+ *s++ = 0xe0 | ((tmp & 0xf000) >> 12);
+ *s++ = 0x80 | ((tmp & 0xfc0) >> 6);
+ *s++ = 0x80 | (tmp & 0x3f);
+diff -Naur newlib-1.20.0.orig/newlib/libc/string/Makefile.am newlib-1.20.0/newlib/libc/string/Makefile.am
+--- newlib-1.20.0.orig/newlib/libc/string/Makefile.am 2011-03-28 16:51:28.000000000 +0200
++++ newlib-1.20.0/newlib/libc/string/Makefile.am 2012-10-15 10:31:19.618621059 +0200
+@@ -103,6 +103,7 @@
+ else
+ ELIX_4_SOURCES = \
+ memmem.c \
++ memrchr.c \
+ wcscasecmp.c \
+ wcsncasecmp.c
+ endif !ELIX_LEVEL_3
+@@ -140,7 +141,7 @@
+ wcsrchr.def wcsspn.def wcsstr.def wcstok.def \
+ wcswidth.def wcsxfrm.def wcwidth.def wmemchr.def \
+ wmemcmp.def wmemcpy.def wmemmove.def wmemset.def \
+-memmem.def
++memmem.def memrchr.def
+
+ SUFFIXES = .def
+
+diff -Naur newlib-1.20.0.orig/newlib/libc/string/Makefile.in newlib-1.20.0/newlib/libc/string/Makefile.in
+--- newlib-1.20.0.orig/newlib/libc/string/Makefile.in 2012-04-27 11:00:26.820002770 +0200
++++ newlib-1.20.0/newlib/libc/string/Makefile.in 2012-10-15 10:31:19.618621059 +0200
+@@ -102,6 +102,7 @@
+ @ELIX_LEVEL_1_FALSE@ lib_a-wcpncpy.$(OBJEXT) \
+ @ELIX_LEVEL_1_FALSE@ lib_a-wcsdup.$(OBJEXT)
+ @ELIX_LEVEL_1_FALSE@@ELIX_LEVEL_2_FALSE@@ELIX_LEVEL_3_FALSE@am__objects_3 = lib_a-memmem.$(OBJEXT) \
++@ELIX_LEVEL_1_FALSE@@ELIX_LEVEL_2_FALSE@@ELIX_LEVEL_3_FALSE@ lib_a-memrchr.$(OBJEXT) \
+ @ELIX_LEVEL_1_FALSE@@ELIX_LEVEL_2_FALSE@@ELIX_LEVEL_3_FALSE@ lib_a-wcscasecmp.$(OBJEXT) \
+ @ELIX_LEVEL_1_FALSE@@ELIX_LEVEL_2_FALSE@@ELIX_LEVEL_3_FALSE@ lib_a-wcsncasecmp.$(OBJEXT)
+ @USE_LIBTOOL_FALSE@am_lib_a_OBJECTS = $(am__objects_1) \
+@@ -127,6 +128,7 @@
+ @ELIX_LEVEL_1_FALSE@ strcasestr.lo strchrnul.lo strndup_r.lo \
+ @ELIX_LEVEL_1_FALSE@ wcpcpy.lo wcpncpy.lo wcsdup.lo
+ @ELIX_LEVEL_1_FALSE@@ELIX_LEVEL_2_FALSE@@ELIX_LEVEL_3_FALSE@am__objects_6 = memmem.lo \
++@ELIX_LEVEL_1_FALSE@@ELIX_LEVEL_2_FALSE@@ELIX_LEVEL_3_FALSE@ memrchr.lo \
+ @ELIX_LEVEL_1_FALSE@@ELIX_LEVEL_2_FALSE@@ELIX_LEVEL_3_FALSE@ wcscasecmp.lo \
+ @ELIX_LEVEL_1_FALSE@@ELIX_LEVEL_2_FALSE@@ELIX_LEVEL_3_FALSE@ wcsncasecmp.lo
+ @USE_LIBTOOL_TRUE@am_libstring_la_OBJECTS = $(am__objects_4) \
+@@ -385,6 +387,7 @@
+ @ELIX_LEVEL_1_TRUE@ELIX_2_SOURCES =
+ @ELIX_LEVEL_1_FALSE@@ELIX_LEVEL_2_FALSE@@ELIX_LEVEL_3_FALSE@ELIX_4_SOURCES = \
+ @ELIX_LEVEL_1_FALSE@@ELIX_LEVEL_2_FALSE@@ELIX_LEVEL_3_FALSE@ memmem.c \
++@ELIX_LEVEL_1_FALSE@@ELIX_LEVEL_2_FALSE@@ELIX_LEVEL_3_FALSE@ memrchr.c \
+ @ELIX_LEVEL_1_FALSE@@ELIX_LEVEL_2_FALSE@@ELIX_LEVEL_3_FALSE@ wcscasecmp.c \
+ @ELIX_LEVEL_1_FALSE@@ELIX_LEVEL_2_FALSE@@ELIX_LEVEL_3_FALSE@ wcsncasecmp.c
+
+@@ -415,7 +418,7 @@
+ wcsrchr.def wcsspn.def wcsstr.def wcstok.def \
+ wcswidth.def wcsxfrm.def wcwidth.def wmemchr.def \
+ wmemcmp.def wmemcpy.def wmemmove.def wmemset.def \
+-memmem.def
++memmem.def memrchr.def
+
+ SUFFIXES = .def
+ CHEW = ../../doc/makedoc -f $(srcdir)/../../doc/doc.str
+@@ -975,6 +978,12 @@
+ lib_a-memmem.obj: memmem.c
+ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CFLAGS) $(CFLAGS) -c -o lib_a-memmem.obj `if test -f 'memmem.c'; then $(CYGPATH_W) 'memmem.c'; else $(CYGPATH_W) '$(srcdir)/memmem.c'; fi`
+
++lib_a-memrchr.o: memrchr.c
++ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CFLAGS) $(CFLAGS) -c -o lib_a-memrchr.o `test -f 'memrchr.c' || echo '$(srcdir)/'`memrchr.c
++
++lib_a-memrchr.obj: memrchr.c
++ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CFLAGS) $(CFLAGS) -c -o lib_a-memrchr.obj `if test -f 'memrchr.c'; then $(CYGPATH_W) 'memrchr.c'; else $(CYGPATH_W) '$(srcdir)/memrchr.c'; fi`
++
+ lib_a-wcscasecmp.o: wcscasecmp.c
+ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CFLAGS) $(CFLAGS) -c -o lib_a-wcscasecmp.o `test -f 'wcscasecmp.c' || echo '$(srcdir)/'`wcscasecmp.c
+
+diff -Naur newlib-1.20.0.orig/newlib/libc/string/memccpy.c newlib-1.20.0/newlib/libc/string/memccpy.c
+--- newlib-1.20.0.orig/newlib/libc/string/memccpy.c 2010-09-22 05:15:07.000000000 +0200
++++ newlib-1.20.0/newlib/libc/string/memccpy.c 2012-10-15 10:31:19.619621075 +0200
+@@ -35,13 +35,14 @@
+ */
+
+ #include <_ansi.h>
++#include <stdint.h>
+ #include <stddef.h>
+ #include <string.h>
+ #include <limits.h>
+
+ /* Nonzero if either X or Y is not aligned on a "long" boundary. */
+ #define UNALIGNED(X, Y) \
+- (((long)X & (sizeof (long) - 1)) | ((long)Y & (sizeof (long) - 1)))
++ (((intptr_t)X & (sizeof (long) - 1)) | ((intptr_t)Y & (sizeof (long) - 1)))
+
+ /* How many bytes are copied each iteration of the word copy loop. */
+ #define LITTLEBLOCKSIZE (sizeof (long))
+diff -Naur newlib-1.20.0.orig/newlib/libc/string/memchr.c newlib-1.20.0/newlib/libc/string/memchr.c
+--- newlib-1.20.0.orig/newlib/libc/string/memchr.c 2008-05-27 01:31:08.000000000 +0200
++++ newlib-1.20.0/newlib/libc/string/memchr.c 2012-10-15 10:31:19.619621075 +0200
+@@ -38,10 +38,11 @@
+
+ #include <_ansi.h>
+ #include <string.h>
++#include <stdint.h>
+ #include <limits.h>
+
+ /* Nonzero if either X or Y is not aligned on a "long" boundary. */
+-#define UNALIGNED(X) ((long)X & (sizeof (long) - 1))
++#define UNALIGNED(X) ((intptr_t)X & (sizeof (long) - 1))
+
+ /* How many bytes are loaded each iteration of the word copy loop. */
+ #define LBLOCKSIZE (sizeof (long))
+diff -Naur newlib-1.20.0.orig/newlib/libc/string/memcmp.c newlib-1.20.0/newlib/libc/string/memcmp.c
+--- newlib-1.20.0.orig/newlib/libc/string/memcmp.c 2005-03-06 21:40:05.000000000 +0100
++++ newlib-1.20.0/newlib/libc/string/memcmp.c 2012-10-15 10:31:19.619621075 +0200
+@@ -37,11 +37,11 @@
+ */
+
+ #include <string.h>
+-
++#include <stdint.h>
+
+ /* Nonzero if either X or Y is not aligned on a "long" boundary. */
+ #define UNALIGNED(X, Y) \
+- (((long)X & (sizeof (long) - 1)) | ((long)Y & (sizeof (long) - 1)))
++ (((intptr_t)X & (sizeof (long) - 1)) | ((intptr_t)Y & (sizeof (long) - 1)))
+
+ /* How many bytes are copied each iteration of the word copy loop. */
+ #define LBLOCKSIZE (sizeof (long))
+diff -Naur newlib-1.20.0.orig/newlib/libc/string/memcpy.c newlib-1.20.0/newlib/libc/string/memcpy.c
+--- newlib-1.20.0.orig/newlib/libc/string/memcpy.c 2010-09-22 05:15:07.000000000 +0200
++++ newlib-1.20.0/newlib/libc/string/memcpy.c 2012-10-15 10:31:19.619621075 +0200
+@@ -34,11 +34,12 @@
+ */
+
+ #include <_ansi.h>
++#include <stdint.h>
+ #include <string.h>
+
+ /* Nonzero if either X or Y is not aligned on a "long" boundary. */
+ #define UNALIGNED(X, Y) \
+- (((long)X & (sizeof (long) - 1)) | ((long)Y & (sizeof (long) - 1)))
++ (((intptr_t)X & (sizeof (long) - 1)) | ((intptr_t)Y & (sizeof (long) - 1)))
+
+ /* How many bytes are copied each iteration of the 4X unrolled loop. */
+ #define BIGBLOCKSIZE (sizeof (long) << 2)
+diff -Naur newlib-1.20.0.orig/newlib/libc/string/memmove.c newlib-1.20.0/newlib/libc/string/memmove.c
+--- newlib-1.20.0.orig/newlib/libc/string/memmove.c 2010-09-22 05:15:07.000000000 +0200
++++ newlib-1.20.0/newlib/libc/string/memmove.c 2012-10-15 10:31:19.620621092 +0200
+@@ -36,13 +36,14 @@
+ */
+
+ #include <string.h>
++#include <stdint.h>
+ #include <_ansi.h>
+ #include <stddef.h>
+ #include <limits.h>
+
+ /* Nonzero if either X or Y is not aligned on a "long" boundary. */
+ #define UNALIGNED(X, Y) \
+- (((long)X & (sizeof (long) - 1)) | ((long)Y & (sizeof (long) - 1)))
++ (((intptr_t)X & (sizeof (long) - 1)) | ((intptr_t)Y & (sizeof (long) - 1)))
+
+ /* How many bytes are copied each iteration of the 4X unrolled loop. */
+ #define BIGBLOCKSIZE (sizeof (long) << 2)
+diff -Naur newlib-1.20.0.orig/newlib/libc/string/mempcpy.c newlib-1.20.0/newlib/libc/string/mempcpy.c
+--- newlib-1.20.0.orig/newlib/libc/string/mempcpy.c 2010-09-22 05:15:07.000000000 +0200
++++ newlib-1.20.0/newlib/libc/string/mempcpy.c 2012-10-15 10:31:19.620621092 +0200
+@@ -34,10 +34,11 @@
+ #include <stddef.h>
+ #include <limits.h>
+ #include <string.h>
++#include <stdint.h>
+
+ /* Nonzero if either X or Y is not aligned on a "long" boundary. */
+ #define UNALIGNED(X, Y) \
+- (((long)X & (sizeof (long) - 1)) | ((long)Y & (sizeof (long) - 1)))
++ (((intptr_t)X & (sizeof (long) - 1)) | ((uintptr_t)Y & (sizeof (long) - 1)))
+
+ /* How many bytes are copied each iteration of the 4X unrolled loop. */
+ #define BIGBLOCKSIZE (sizeof (long) << 2)
+diff -Naur newlib-1.20.0.orig/newlib/libc/string/memrchr.c newlib-1.20.0/newlib/libc/string/memrchr.c
+--- newlib-1.20.0.orig/newlib/libc/string/memrchr.c 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/newlib/libc/string/memrchr.c 2012-10-15 10:31:19.620621092 +0200
+@@ -0,0 +1,137 @@
++/*
++FUNCTION
++ <<memrchr>>---reverse search for character in memory
++
++INDEX
++ memrchr
++
++ANSI_SYNOPSIS
++ #include <string.h>
++ void *memrchr(const void *<[src]>, int <[c]>, size_t <[length]>);
++
++TRAD_SYNOPSIS
++ #include <string.h>
++ void *memrchr(<[src]>, <[c]>, <[length]>)
++ void *<[src]>;
++ void *<[c]>;
++ size_t <[length]>;
++
++DESCRIPTION
++ This function searches memory starting at <[length]> bytes
++ beyond <<*<[src]>>> backwards for the character <[c]>.
++ The search only ends with the first occurrence of <[c]>; in
++ particular, <<NUL>> does not terminate the search.
++
++RETURNS
++ If the character <[c]> is found within <[length]> characters
++ of <<*<[src]>>>, a pointer to the character is returned. If
++ <[c]> is not found, then <<NULL>> is returned.
++
++PORTABILITY
++<<memrchr>> is a GNU extension.
++
++<<memrchr>> requires no supporting OS subroutines.
++
++QUICKREF
++ memrchr
++*/
++
++#ifdef _GLIBC_EXTENSION
++
++#include <_ansi.h>
++#include <string.h>
++#include <limits.h>
++
++/* Nonzero if X is not aligned on a "long" boundary. */
++#define UNALIGNED(X) ((long)(X + 1) & (sizeof (long) - 1))
++
++/* How many bytes are loaded each iteration of the word copy loop. */
++#define LBLOCKSIZE (sizeof (long))
++
++/* Threshhold for punting to the bytewise iterator. */
++#define TOO_SMALL(LEN) ((LEN) < LBLOCKSIZE)
++
++#if LONG_MAX == 2147483647L
++#define DETECTNULL(X) (((X) - 0x01010101) & ~(X) & 0x80808080)
++#else
++#if LONG_MAX == 9223372036854775807L
++/* Nonzero if X (a long int) contains a NULL byte. */
++#define DETECTNULL(X) (((X) - 0x0101010101010101) & ~(X) & 0x8080808080808080)
++#else
++#error long int is not a 32bit or 64bit type.
++#endif
++#endif
++
++#ifndef DETECTNULL
++#error long int is not a 32bit or 64bit byte
++#endif
++
++/* DETECTCHAR returns nonzero if (long)X contains the byte used
++ to fill (long)MASK. */
++#define DETECTCHAR(X,MASK) (DETECTNULL(X ^ MASK))
++
++_PTR
++_DEFUN (memrchr, (src_void, c, length),
++ _CONST _PTR src_void _AND
++ int c _AND
++ size_t length)
++{
++ _CONST unsigned char *src = (_CONST unsigned char *) src_void + length - 1;
++ unsigned char d = c;
++
++#if !defined(PREFER_SIZE_OVER_SPEED) && !defined(__OPTIMIZE_SIZE__)
++ unsigned long *asrc;
++ unsigned long mask;
++ int i;
++
++ while (UNALIGNED (src))
++ {
++ if (!length--)
++ return NULL;
++ if (*src == d)
++ return (void *) src;
++ src--;
++ }
++
++ if (!TOO_SMALL (length))
++ {
++ /* If we get this far, we know that length is large and src is
++ word-aligned. */
++ /* The fast code reads the source one word at a time and only
++ performs the bytewise search on word-sized segments if they
++ contain the search character, which is detected by XORing
++ the word-sized segment with a word-sized block of the search
++ character and then detecting for the presence of NUL in the
++ result. */
++ asrc = (unsigned long *) (src - LBLOCKSIZE + 1);
++ mask = d << 8 | d;
++ mask = mask << 16 | mask;
++ for (i = 32; i < LBLOCKSIZE * 8; i <<= 1)
++ mask = (mask << i) | mask;
++
++ while (length >= LBLOCKSIZE)
++ {
++ if (DETECTCHAR (*asrc, mask))
++ break;
++ length -= LBLOCKSIZE;
++ asrc--;
++ }
++
++ /* If there are fewer than LBLOCKSIZE characters left,
++ then we resort to the bytewise loop. */
++
++ src = (unsigned char *) asrc + LBLOCKSIZE - 1;
++ }
++
++#endif /* not PREFER_SIZE_OVER_SPEED */
++
++ while (length--)
++ {
++ if (*src == d)
++ return (void *) src;
++ src--;
++ }
++
++ return NULL;
++}
++#endif
+diff -Naur newlib-1.20.0.orig/newlib/libc/string/memset.c newlib-1.20.0/newlib/libc/string/memset.c
+--- newlib-1.20.0.orig/newlib/libc/string/memset.c 2008-05-27 20:44:40.000000000 +0200
++++ newlib-1.20.0/newlib/libc/string/memset.c 2012-10-15 10:31:19.621621109 +0200
+@@ -34,9 +34,10 @@
+ */
+
+ #include <string.h>
++#include <stdint.h>
+
+ #define LBLOCKSIZE (sizeof(long))
+-#define UNALIGNED(X) ((long)X & (LBLOCKSIZE - 1))
++#define UNALIGNED(X) ((intptr_t)X & (LBLOCKSIZE - 1))
+ #define TOO_SMALL(LEN) ((LEN) < LBLOCKSIZE)
+
+ _PTR
+diff -Naur newlib-1.20.0.orig/newlib/libc/string/stpcpy.c newlib-1.20.0/newlib/libc/string/stpcpy.c
+--- newlib-1.20.0.orig/newlib/libc/string/stpcpy.c 2007-06-28 19:07:23.000000000 +0200
++++ newlib-1.20.0/newlib/libc/string/stpcpy.c 2012-10-15 10:31:19.621621109 +0200
+@@ -34,6 +34,7 @@
+ */
+
+ #include <string.h>
++#include <stdint.h>
+ #include <limits.h>
+
+ /*SUPPRESS 560*/
+@@ -41,7 +42,7 @@
+
+ /* Nonzero if either X or Y is not aligned on a "long" boundary. */
+ #define UNALIGNED(X, Y) \
+- (((long)X & (sizeof (long) - 1)) | ((long)Y & (sizeof (long) - 1)))
++ (((intptr_t)X & (sizeof (long) - 1)) | ((intptr_t)Y & (sizeof (long) - 1)))
+
+ #if LONG_MAX == 2147483647L
+ #define DETECTNULL(X) (((X) - 0x01010101) & ~(X) & 0x80808080)
+diff -Naur newlib-1.20.0.orig/newlib/libc/string/stpncpy.c newlib-1.20.0/newlib/libc/string/stpncpy.c
+--- newlib-1.20.0.orig/newlib/libc/string/stpncpy.c 2007-06-28 19:07:23.000000000 +0200
++++ newlib-1.20.0/newlib/libc/string/stpncpy.c 2012-10-15 10:31:19.621621109 +0200
+@@ -40,6 +40,7 @@
+ */
+
+ #include <string.h>
++#include <stdint.h>
+ #include <limits.h>
+
+ /*SUPPRESS 560*/
+@@ -47,7 +48,7 @@
+
+ /* Nonzero if either X or Y is not aligned on a "long" boundary. */
+ #define UNALIGNED(X, Y) \
+- (((long)X & (sizeof (long) - 1)) | ((long)Y & (sizeof (long) - 1)))
++ (((intptr_t)X & (sizeof (long) - 1)) | ((intptr_t)Y & (sizeof (long) - 1)))
+
+ #if LONG_MAX == 2147483647L
+ #define DETECTNULL(X) (((X) - 0x01010101) & ~(X) & 0x80808080)
+diff -Naur newlib-1.20.0.orig/newlib/libc/string/strcasestr.c newlib-1.20.0/newlib/libc/string/strcasestr.c
+--- newlib-1.20.0.orig/newlib/libc/string/strcasestr.c 2011-08-19 18:58:20.000000000 +0200
++++ newlib-1.20.0/newlib/libc/string/strcasestr.c 2012-10-15 10:31:19.621621109 +0200
+@@ -84,6 +84,11 @@
+ (!memchr ((h) + (h_l), '\0', (j) + (n_l) - (h_l)) \
+ && ((h_l) = (j) + (n_l)))
+ # define CANON_ELEMENT(c) tolower (c)
++#if defined (__GNUC__) && \
++ ((__GNUC__ == 4 && __GNUC_MINOR__ >= 2) || __GNUC__ > 4)
++/* strncasecmp uses signed char, CMP_FUNC is expected to use unsigned char. */
++#pragma GCC diagnostic ignored "-Wpointer-sign"
++#endif
+ # define CMP_FUNC strncasecmp
+ # include "str-two-way.h"
+ #endif
+diff -Naur newlib-1.20.0.orig/newlib/libc/string/strcat.c newlib-1.20.0/newlib/libc/string/strcat.c
+--- newlib-1.20.0.orig/newlib/libc/string/strcat.c 2000-02-17 20:39:48.000000000 +0100
++++ newlib-1.20.0/newlib/libc/string/strcat.c 2012-10-15 10:31:19.622621125 +0200
+@@ -33,12 +33,13 @@
+ strcat ansi pure
+ */
+
++#include <stdint.h>
+ #include <string.h>
+ #include <limits.h>
+
+ /* Nonzero if X is aligned on a "long" boundary. */
+ #define ALIGNED(X) \
+- (((long)X & (sizeof (long) - 1)) == 0)
++ (((uintptr_t)X & (sizeof (long) - 1)) == 0)
+
+ #if LONG_MAX == 2147483647L
+ #define DETECTNULL(X) (((X) - 0x01010101) & ~(X) & 0x80808080)
+diff -Naur newlib-1.20.0.orig/newlib/libc/string/strchr.c newlib-1.20.0/newlib/libc/string/strchr.c
+--- newlib-1.20.0.orig/newlib/libc/string/strchr.c 2008-05-22 04:31:46.000000000 +0200
++++ newlib-1.20.0/newlib/libc/string/strchr.c 2012-10-15 10:31:19.622621125 +0200
+@@ -33,11 +33,12 @@
+ strchr ansi pure
+ */
+
++#include <stdint.h>
+ #include <string.h>
+ #include <limits.h>
+
+ /* Nonzero if X is not aligned on a "long" boundary. */
+-#define UNALIGNED(X) ((long)X & (sizeof (long) - 1))
++#define UNALIGNED(X) ((uintptr_t)X & (sizeof (long) - 1))
+
+ /* How many bytes are loaded each iteration of the word copy loop. */
+ #define LBLOCKSIZE (sizeof (long))
+diff -Naur newlib-1.20.0.orig/newlib/libc/string/strcmp.c newlib-1.20.0/newlib/libc/string/strcmp.c
+--- newlib-1.20.0.orig/newlib/libc/string/strcmp.c 2000-02-17 20:39:48.000000000 +0100
++++ newlib-1.20.0/newlib/libc/string/strcmp.c 2012-10-15 10:31:19.622621125 +0200
+@@ -35,12 +35,13 @@
+ strcmp ansi pure
+ */
+
++#include <stdint.h>
+ #include <string.h>
+ #include <limits.h>
+
+ /* Nonzero if either X or Y is not aligned on a "long" boundary. */
+ #define UNALIGNED(X, Y) \
+- (((long)X & (sizeof (long) - 1)) | ((long)Y & (sizeof (long) - 1)))
++ (((uintptr_t)X & (sizeof (long) - 1)) | ((uintptr_t)Y & (sizeof (long) - 1)))
+
+ /* DETECTNULL returns nonzero if (long)X contains a NULL byte. */
+ #if LONG_MAX == 2147483647L
+diff -Naur newlib-1.20.0.orig/newlib/libc/string/strcpy.c newlib-1.20.0/newlib/libc/string/strcpy.c
+--- newlib-1.20.0.orig/newlib/libc/string/strcpy.c 2007-05-29 23:26:59.000000000 +0200
++++ newlib-1.20.0/newlib/libc/string/strcpy.c 2012-10-15 10:31:19.622621125 +0200
+@@ -32,6 +32,7 @@
+ strcpy ansi pure
+ */
+
++#include <stdint.h>
+ #include <string.h>
+ #include <limits.h>
+
+@@ -40,7 +41,7 @@
+
+ /* Nonzero if either X or Y is not aligned on a "long" boundary. */
+ #define UNALIGNED(X, Y) \
+- (((long)X & (sizeof (long) - 1)) | ((long)Y & (sizeof (long) - 1)))
++ (((intptr_t)X & (sizeof (long) - 1)) | ((intptr_t)Y & (sizeof (long) - 1)))
+
+ #if LONG_MAX == 2147483647L
+ #define DETECTNULL(X) (((X) - 0x01010101) & ~(X) & 0x80808080)
+diff -Naur newlib-1.20.0.orig/newlib/libc/string/strlen.c newlib-1.20.0/newlib/libc/string/strlen.c
+--- newlib-1.20.0.orig/newlib/libc/string/strlen.c 2008-05-27 00:56:14.000000000 +0200
++++ newlib-1.20.0/newlib/libc/string/strlen.c 2012-10-15 10:31:19.624621156 +0200
+@@ -32,11 +32,12 @@
+ */
+
+ #include <_ansi.h>
++#include <stdint.h>
+ #include <string.h>
+ #include <limits.h>
+
+ #define LBLOCKSIZE (sizeof (long))
+-#define UNALIGNED(X) ((long)X & (LBLOCKSIZE - 1))
++#define UNALIGNED(X) ((intptr_t)X & (LBLOCKSIZE - 1))
+
+ #if LONG_MAX == 2147483647L
+ #define DETECTNULL(X) (((X) - 0x01010101) & ~(X) & 0x80808080)
+diff -Naur newlib-1.20.0.orig/newlib/libc/string/strncat.c newlib-1.20.0/newlib/libc/string/strncat.c
+--- newlib-1.20.0.orig/newlib/libc/string/strncat.c 2005-10-28 23:21:07.000000000 +0200
++++ newlib-1.20.0/newlib/libc/string/strncat.c 2012-10-15 10:31:19.624621156 +0200
+@@ -42,11 +42,12 @@
+ */
+
+ #include <string.h>
++#include <stdint.h>
+ #include <limits.h>
+
+ /* Nonzero if X is aligned on a "long" boundary. */
+ #define ALIGNED(X) \
+- (((long)X & (sizeof (long) - 1)) == 0)
++ (((intptr_t)X & (sizeof (long) - 1)) == 0)
+
+ #if LONG_MAX == 2147483647L
+ #define DETECTNULL(X) (((X) - 0x01010101) & ~(X) & 0x80808080)
+diff -Naur newlib-1.20.0.orig/newlib/libc/string/strncmp.c newlib-1.20.0/newlib/libc/string/strncmp.c
+--- newlib-1.20.0.orig/newlib/libc/string/strncmp.c 2000-02-17 20:39:48.000000000 +0100
++++ newlib-1.20.0/newlib/libc/string/strncmp.c 2012-10-15 10:31:19.624621156 +0200
+@@ -36,12 +36,13 @@
+ strncmp ansi pure
+ */
+
++#include <stdint.h>
+ #include <string.h>
+ #include <limits.h>
+
+ /* Nonzero if either X or Y is not aligned on a "long" boundary. */
+ #define UNALIGNED(X, Y) \
+- (((long)X & (sizeof (long) - 1)) | ((long)Y & (sizeof (long) - 1)))
++ (((uintptr_t)X & (sizeof (long) - 1)) | ((uintptr_t)Y & (sizeof (long) - 1)))
+
+ /* DETECTNULL returns nonzero if (long)X contains a NULL byte. */
+ #if LONG_MAX == 2147483647L
+diff -Naur newlib-1.20.0.orig/newlib/libc/string/strncpy.c newlib-1.20.0/newlib/libc/string/strncpy.c
+--- newlib-1.20.0.orig/newlib/libc/string/strncpy.c 2000-02-17 20:39:48.000000000 +0100
++++ newlib-1.20.0/newlib/libc/string/strncpy.c 2012-10-15 10:31:19.624621156 +0200
+@@ -38,6 +38,7 @@
+ */
+
+ #include <string.h>
++#include <stdint.h>
+ #include <limits.h>
+
+ /*SUPPRESS 560*/
+@@ -45,7 +46,7 @@
+
+ /* Nonzero if either X or Y is not aligned on a "long" boundary. */
+ #define UNALIGNED(X, Y) \
+- (((long)X & (sizeof (long) - 1)) | ((long)Y & (sizeof (long) - 1)))
++ (((intptr_t)X & (sizeof (long) - 1)) | ((intptr_t)Y & (sizeof (long) - 1)))
+
+ #if LONG_MAX == 2147483647L
+ #define DETECTNULL(X) (((X) - 0x01010101) & ~(X) & 0x80808080)
+diff -Naur newlib-1.20.0.orig/newlib/libc/sys/arm/arm.h newlib-1.20.0/newlib/libc/sys/arm/arm.h
+--- newlib-1.20.0.orig/newlib/libc/sys/arm/arm.h 2011-10-10 15:00:25.000000000 +0200
++++ newlib-1.20.0/newlib/libc/sys/arm/arm.h 1970-01-01 01:00:00.000000000 +0100
+@@ -1,62 +0,0 @@
+-/*
+- * Copyright (c) 2011 ARM Ltd
+- * All rights reserved.
+- *
+- * Redistribution and use in source and binary forms, with or without
+- * modification, are permitted provided that the following conditions
+- * are met:
+- * 1. Redistributions of source code must retain the above copyright
+- * notice, this list of conditions and the following disclaimer.
+- * 2. Redistributions in binary form must reproduce the above copyright
+- * notice, this list of conditions and the following disclaimer in the
+- * documentation and/or other materials provided with the distribution.
+- * 3. The name of the company may not be used to endorse or promote
+- * products derived from this software without specific prior written
+- * permission.
+- *
+- * THIS SOFTWARE IS PROVIDED BY ARM LTD ``AS IS'' AND ANY EXPRESS OR IMPLIED
+- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+- * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+- * IN NO EVENT SHALL ARM LTD BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
+- * TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+- * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+- */
+-
+-#ifndef _LIBGLOSS_ARM_H
+-#define _LIBGLOSS_ARM_H
+-
+-/* __thumb2__ stands for thumb on armva7(A/R/M/EM) architectures,
+- __ARM_ARCH_6M__ stands for armv6-M(thumb only) architecture,
+- __ARM_ARCH_7M__ stands for armv7-M(thumb only) architecture.
+- __ARM_ARCH_7EM__ stands for armv7e-M(thumb only) architecture.
+- There are some macro combinations used many times in libgloss/arm,
+- like (__thumb2__ || (__thumb__ && __ARM_ARCH_6M__)), so factor
+- it out and use THUMB_V7_V6M instead, which stands for thumb on
+- v6-m/v7 arch as the combination does. */
+-#if defined(__thumb2__) || (defined(__thumb__) && defined(__ARM_ARCH_6M__))
+-# define THUMB_V7_V6M
+-#endif
+-
+-/* The (__ARM_ARCH_7EM__ || __ARM_ARCH_7M__ || __ARM_ARCH_6M__) combination
+- stands for cortex-M profile architectures, which don't support ARM state.
+- Factor it out and use THUMB_V7M_V6M instead. */
+-#if defined(__ARM_ARCH_7M__) \
+- || defined(__ARM_ARCH_7EM__) \
+- || defined(__ARM_ARCH_6M__)
+-# define THUMB_V7M_V6M
+-#endif
+-
+-/* Defined if this target supports the BLX Rm instruction. */
+-#if !defined(__ARM_ARCH_2__) \
+- && !defined(__ARM_ARCH_3__) \
+- && !defined(__ARM_ARCH_3M__) \
+- && !defined(__ARM_ARCH_4__) \
+- && !defined(__ARM_ARCH_4T__)
+-# define HAVE_CALL_INDIRECT
+-#endif
+-
+-#endif /* _LIBGLOSS_ARM_H */
+diff -Naur newlib-1.20.0.orig/newlib/libc/sys/arm/crt0.S newlib-1.20.0/newlib/libc/sys/arm/crt0.S
+--- newlib-1.20.0.orig/newlib/libc/sys/arm/crt0.S 2011-12-13 23:40:45.000000000 +0100
++++ newlib-1.20.0/newlib/libc/sys/arm/crt0.S 2012-10-15 10:31:19.624621156 +0200
+@@ -1,5 +1,4 @@
+ #include "newlib.h"
+-#include "arm.h"
+ #include "swi.h"
+
+ /* ANSI concatenation macros. */
+@@ -17,37 +16,13 @@
+ #define _fini __libc_fini_array
+ #endif
+
+-#if defined(__ARM_EABI__) && defined(__thumb__) && !defined(__thumb2__)
+-/* For Thumb1 we need to force the architecture to be sure that we get the
+- correct attributes on the object file; otherwise the assembler will get
+- confused and mark the object as being v6T2. */
+-#if defined(__ARM_ARCH_4T__)
+- .arch armv4t
+-#elif defined(__ARM_ARCH_5T__) || defined(__ARM_ARCH_5TE__)
+- /* Nothing in this object requires higher than v5. */
+- .arch armv5t
+-#elif defined(__ARM_ARCH_6__) || defined(__ARM_ARCH_6J__) \
+- || defined(__ARM_ARCH_6K__) || defined(__ARM_ARCH_6Z__) \
+- || defined(__ARM_ARCH_6ZK__)
+- /* Nothing in this object requires higher than v6. */
+- .arch armv6
+-#elif defined(__ARM_ARCH_6M__)
+-#ifdef ARM_RDP_MONITOR
+- /* Object file uses SVC, so mark as v6s-m. */
+- .arch armv6s-m
+-#else
+- .arch armv6-m
+-#endif
+-#endif
+-#endif
+-
+ /* .text is used instead of .section .text so it works with arm-aout too. */
+ .text
++#if defined(__thumb2__)
+ .syntax unified
+-#ifdef THUMB_V7_V6M
+ .thumb
+ .macro FUNC_START name
+- .global \name
++ .global \name
+ .thumb_func
+ \name:
+ .endm
+@@ -58,16 +33,6 @@
+ \name:
+ .endm
+ #endif
+-
+-.macro indirect_call reg
+-#ifdef HAVE_CALL_INDIRECT
+- blx \reg
+-#else
+- mov lr, pc
+- mov pc, \reg
+-#endif
+-.endm
+-
+ .align 0
+
+ FUNC_START _mainCRTStartup
+@@ -78,141 +43,34 @@
+ .fnstart
+ #endif
+
+-/* Start by setting up a stack. */
++/* Start by setting up a stack */
+ #ifdef ARM_RDP_MONITOR
+- /* Issue Demon SWI to read stack info. */
+- swi SWI_GetEnv /* Returns command line in r0. */
+- mov sp,r1 /* and the highest memory address in r1. */
+-
+- /* Stack limit is at end of data. */
+- /* Allow slop for stack overflow handling and small frames. */
+-#ifdef __ARM_ARCH_6M__
+- ldr r0, .LC2
+- adds r0, #128
+- adds r0, #128
+- mov sl, r0
+-#else
+- ldr sl, .LC2
+- add sl, sl, #256
+-#endif
++ /* Issue Demon SWI to read stack info */
++ swi SWI_GetEnv /* Returns command line in r0 */
++ mov sp,r1 /* and the highest memory address in r1 */
++ ldr sl, .LC2 /* stack limit is at end of data */
++ add sl, sl, #256 /* allow slop for stack overflow handling */
++ /* and small frames */
+ #else
+ #ifdef ARM_RDI_MONITOR
+- /* Issue Angel SWI to read stack info. */
+- movs r0, #AngelSWI_Reason_HeapInfo
+- adr r1, .LC0 /* Point at ptr to 4 words to receive data. */
+-#ifdef THUMB_V7M_V6M
++ /* Issue Angel SWI to read stack info */
++ mov r0, #AngelSWI_Reason_HeapInfo
++ adr r1, .LC0 /* point at ptr to 4 words to receive data */
++#if defined(__thumb2__)
+ bkpt AngelSWI
+-#elif defined(__thumb2__)
+- /* We are in thumb mode for startup on armv7 architectures. */
+- AngelSWIAsm AngelSWI
+ #else
+- /* We are always in ARM mode for startup on pre armv7 archs. */
++ /* We are always in ARM mode for startup */
+ AngelSWIAsm AngelSWI_ARM
+ #endif
+- ldr r0, .LC0 /* Point at values read. */
+-
+- ldr r1, [r0, #0]
+- cmp r1, #0
+- bne .LC32
+- /* If the heap base value [r0, #0] is 0 then the heap base is actually
+- at the end of program data (i.e. __end__). See:
+- http://infocenter.arm.com/help/topic/com.arm.doc.dui0471-/Bacbefaa.html
+- for more information. */
+- ldr r1, .LC31
+- str r1, [r0, #0]
+-.LC32:
+- ldr r1, [r0, #8]
+- ldr r2, [r0, #12]
+- /* We skip setting sp/sl if 0 returned from semihosting.
+- - According to semihosting docs, if 0 returned from semihosting,
+- the system was unable to calculate the real value, so it's ok
+- to skip setting sp/sl to 0 here.
+- - Considering M-profile processors, We might want to initialize
+- sp by the first entry of vector table and return 0 to SYS_HEAPINFO
+- semihosting call, which will be skipped here. */
+- cmp r1, #0
+- beq .LC26
+- mov sp, r1
+-.LC26:
+- cmp r2, #0
+- beq .LC27
+-
+- /* Allow slop for stack overflow handling and small frames. */
+-#ifdef __ARM_ARCH_6M__
+- adds r2, #128
+- adds r2, #128
+- mov sl, r2
+-#else
+- add sl, r2, #256
+-#endif
+-
+-.LC27:
+-#else
+- /* Set up the stack pointer to a fixed value. */
+- /* Changes by toralf:
+- - Allow linker script to provide stack via __stack symbol - see
+- defintion of .Lstack
+- - Provide "hooks" that may be used by the application to add
+- custom init code - see .Lhwinit and .Lswinit
+- - Go through all execution modes and set up stack for each of them.
+- Loosely based on init.s from ARM/Motorola example code.
+- Note: Mode switch via CPSR is not allowed once in non-privileged
+- mode, so we take care not to enter "User" to set up its sp,
+- and also skip most operations if already in that mode. */
+-
+- ldr r3, .Lstack
+- cmp r3, #0
+-#ifdef __thumb2__
+- it eq
+-#endif
+-#ifdef __ARM_ARCH_6M__
+- bne .LC28
+- ldr r3, .LC0
+-.LC28:
++ ldr r0, .LC0 /* point at values read */
++ ldr sp, [r0, #8]
++ ldr sl, [r0, #12]
++ add sl, sl, #256 /* allow slop for stack overflow handling */
++ /* and small frames */
+ #else
+- ldreq r3, .LC0
+-#endif
+- /* Note: This 'mov' is essential when starting in User, and ensures we
+- always get *some* sp value for the initial mode, even if we
+- have somehow missed it below (in which case it gets the same
+- value as FIQ - not ideal, but better than nothing). */
+- mov sp, r3
+-#ifdef THUMB_V7_V6M
+- /* XXX Fill in stack assignments for interrupt modes. */
+-#else
+- mrs r2, CPSR
+- tst r2, #0x0F /* Test mode bits - in User of all are 0. */
+- beq .LC23 /* "eq" means r2 AND #0x0F is 0. */
+- msr CPSR_c, #0xD1 /* FIRQ mode, interrupts disabled. */
++ /* Set up the stack pointer to a fixed value */
++ ldr r3, .LC0
+ mov sp, r3
+- sub sl, sp, #0x1000 /* This mode also has its own sl (see below). */
+-
+- mov r3, sl
+- msr CPSR_c, #0xD7 /* Abort mode, interrupts disabled. */
+- mov sp, r3
+- sub r3, r3, #0x1000
+-
+- msr CPSR_c, #0xDB /* Undefined mode, interrupts disabled. */
+- mov sp, r3
+- sub r3, r3, #0x1000
+-
+- msr CPSR_c, #0xD2 /* IRQ mode, interrupts disabled. */
+- mov sp, r3
+- sub r3, r3, #0x2000
+-
+- msr CPSR_c, #0xD3 /* Supervisory mode, interrupts disabled. */
+-
+- mov sp, r3
+- sub r3, r3, #0x8000 /* Min size 32k. */
+- bic r3, r3, #0x00FF /* Align with current 64k block. */
+- bic r3, r3, #0xFF00
+-
+- str r3, [r3, #-4] /* Move value into user mode sp without */
+- ldmdb r3, {sp}^ /* changing modes, via '^' form of ldm. */
+- orr r2, r2, #0xC0 /* Back to original mode, presumably SVC, */
+- msr CPSR_c, r2 /* with FIQ/IRQ disable bits forced to 1. */
+-#endif
+-.LC23:
+ /* Setup a default stack-limit in-case the code has been
+ compiled with "-mapcs-stack-check". Hard-wiring this value
+ is not ideal, since there is currently no support for
+@@ -220,30 +78,23 @@
+ this default 64k is enough for the program being executed.
+ However, it ensures that this simple crt0 world will not
+ immediately cause an overflow event: */
+-#ifdef __ARM_ARCH_6M__
+- movs r2, #64
+- lsls r2, r2, #10
+- subs r2, r3, r2
+- mov sl, r2
+-#else
+- sub sl, r3, #64 << 10 /* Still assumes 256bytes below sl. */
+-#endif
++ sub sl, sp, #64 << 10 /* Still assumes 256bytes below sl */
+ #endif
+ #endif
+ /* Zero the memory in the .bss section. */
+- movs a2, #0 /* Second arg: fill value. */
+- mov fp, a2 /* Null frame pointer. */
+- mov r7, a2 /* Null frame pointer for Thumb. */
++ mov a2, #0 /* Second arg: fill value */
++ mov fp, a2 /* Null frame pointer */
++ mov r7, a2 /* Null frame pointer for Thumb */
+
+- ldr a1, .LC1 /* First arg: start of memory block. */
++ ldr a1, .LC1 /* First arg: start of memory block */
+ ldr a3, .LC2
+- subs a3, a3, a1 /* Third arg: length of block. */
++ sub a3, a3, a1 /* Third arg: length of block */
+
+
+-#if defined(__thumb__) && !defined(THUMB_V7_V6M)
+- /* Enter Thumb mode... */
+- add a4, pc, #1 /* Get the address of the Thumb block. */
+- bx a4 /* Go there and start Thumb decoding. */
++#if defined(__thumb__) && !defined(__thumb2__)
++ /* Enter Thumb mode.... */
++ add a4, pc, #1 /* Get the address of the Thumb block */
++ bx a4 /* Go there and start Thumb decoding */
+
+ .code 16
+ .global __change_mode
+@@ -253,41 +104,23 @@
+
+ bl FUNCTION (memset)
+ #if !defined (ARM_RDP_MONITOR) && !defined (ARM_RDI_MONITOR)
+-/* Changes by toralf: Taken from libgloss/m68k/crt0.S
+- initialize target specific stuff. Only execute these
+- functions it they exist. */
+- ldr r3, .Lhwinit
+- cmp r3, #0
+- beq .LC24
+- indirect_call r3
+-.LC24:
+- ldr r3, .Lswinit
+- cmp r3, #0
+- beq .LC25
+- indirect_call r3
+-
+-.LC25:
+- movs r0, #0 /* No arguments. */
+- movs r1, #0 /* No argv either. */
++ mov r0, #0 /* no arguments */
++ mov r1, #0 /* no argv either */
+ #else
+- /* Need to set up standard file handles. */
++ /* Need to set up standard file handles */
+ bl FUNCTION (initialise_monitor_handles)
+
+ #ifdef ARM_RDP_MONITOR
+- swi SWI_GetEnv /* Sets r0 to point to the command line. */
+- movs r1, r0
+-#else
+- movs r0, #AngelSWI_Reason_GetCmdLine
+- adr r1, .LC30 /* Space for command line. */
+-#ifdef THUMB_V7M_V6M
+- bkpt AngelSWI
++ swi SWI_GetEnv /* sets r0 to point to the command line */
++ mov r1, r0
+ #else
+- AngelSWIAsm AngelSWI
+-#endif
++ mov r0, #AngelSWI_Reason_GetCmdLine
++ adr r1, .LC30 /* Space for command line */
++ AngelSWIAsm AngelSWI
+ ldr r1, .LC30
+ #endif
+- /* Parse string at r1. */
+- movs r0, #0 /* Count of arguments so far. */
++ /* Parse string at r1 */
++ mov r0, #0 /* count of arguments so far */
+ /* Push a NULL argument onto the end of the list. */
+ #ifdef __thumb__
+ push {r0}
+@@ -295,10 +128,10 @@
+ stmfd sp!, {r0}
+ #endif
+ .LC10:
+-/* Skip leading blanks. */
++/* Skip leading blanks */
+ #ifdef __thumb__
+ ldrb r3, [r1]
+- adds r1, #1
++ add r1, #1
+ #else
+ ldrb r3, [r1], #1
+ #endif
+@@ -307,78 +140,78 @@
+ cmp r3, #' '
+ beq .LC10
+
+-/* See whether we are scanning a string. */
+- cmp r3, #'\"'
++/* See whether we are scanning a string */
++ cmp r3, #'"'
+ #ifdef __thumb__
+ beq .LC20
+ cmp r3, #'\''
+ bne .LC21
+ .LC20:
+- movs r2, r3
++ mov r2, r3
+ b .LC22
+
+ .LC21:
+- movs r2, #' ' /* Terminator type. */
+- subs r1, r1, #1 /* Adjust back to point at start char. */
++ mov r2, #' ' /* terminator type */
++ sub r1, r1, #1 /* adjust back to point at start char */
+ .LC22:
+ #else
+ cmpne r3, #'\''
+ moveq r2, r3
+- movne r2, #' ' /* Terminator type. */
+- subne r1, r1, #1 /* Adjust back to point at start char. */
++ movne r2, #' ' /* terminator type */
++ subne r1, r1, #1 /* adjust back to point at start char */
+ #endif
+
+-/* Stack a pointer to the current argument. */
++/* Stack a pointer to the current argument */
+ #ifdef __thumb__
+ push {r1}
+ #else
+ stmfd sp!, {r1}
+ #endif
+- adds r0, r0, #1
++ add r0, r0, #1
+ .LC11:
+ #ifdef __thumb__
+ ldrb r3, [r1]
+- adds r1, #1
++ add r1, #1
+ #else
+ ldrb r3, [r1], #1
+ #endif
+ cmp r3, #0
+ beq .LC12
+- cmp r2, r3 /* Reached terminator ? */
++ cmp r2, r3 /* reached terminator? */
+ bne .LC11
+- movs r2, #0
+- subs r3, r1, #1
+- strb r2, [r3] /* Terminate the arg string. */
++ mov r2, #0
++ sub r3, r1, #1
++ strb r2, [r3] /* terminate the arg string */
+ b .LC10
+
+ .LC12:
+- mov r1, sp /* Point at stacked arg pointers. */
+- /* We've now got the stacked args in order, reverse them. */
++ mov r1, sp /* point at stacked arg pointers */
++ /* We've now got the stacked args in order reverse the */
+ #ifdef __thumb__
+- movs r2, r0
+- lsls r2, #2
++ mov r2, r0
++ lsl r2, #2
+ add r2, sp
+ mov r3, sp
+ .LC15: cmp r2, r3
+ bls .LC14
+- subs r2, #4
++ sub r2, #4
+ ldr r4, [r2]
+ ldr r5, [r3]
+ str r5, [r2]
+ str r4, [r3]
+- adds r3, #4
++ add r3, #4
+ b .LC15
+ .LC14:
+ /* Ensure doubleword stack alignment. */
+ mov r4, sp
+- movs r5, #7
+- bics r4, r5
++ mov r5, #7
++ bic r4, r5
+ mov sp, r4
+ #else
+- add r2, sp, r0, LSL #2 /* End of args. */
+- mov r3, sp /* Start of args. */
++ add r2, sp, r0, LSL #2 /* End of args */
++ mov r3, sp /* Start of args */
+ .LC13: cmp r2, r3
+- ldrhi r4,[r2, #-4] /* Reverse ends of list. */
++ ldrhi r4,[r2, #-4] /* Reverse ends of list */
+ ldrhi r5, [r3]
+ strhi r5, [r2, #-4]!
+ strhi r4, [r3], #4
+@@ -393,20 +226,21 @@
+ to create constructors and destructors, and for these
+ targets we need to call the _init function and arrange
+ for _fini to be called at program exit. */
+- movs r4, r0
+- movs r5, r1
++ mov r4, r0
++ mov r5, r1
+ ldr r0, .Lfini
+ bl FUNCTION (atexit)
+ bl FUNCTION (_init)
+- movs r0, r4
+- movs r1, r5
++ mov r0, r4
++ mov r1, r5
+ #endif
+ bl FUNCTION (main)
+
+ bl FUNCTION (exit) /* Should not return. */
+
+-#if defined(__thumb__) && !defined(THUMB_V7_V6M)
++#if defined(__thumb__) && !defined(__thumb2__)
+ /* Come out of Thumb mode. This code should be redundant. */
++
+ mov a4, pc
+ bx a4
+
+@@ -421,42 +255,20 @@
+ #endif
+
+ /* For Thumb, constants must be after the code since only
+- positive offsets are supported for PC relative addresses. */
++ positive offsets are supported for PC relative addresses. */
++
+ .align 0
+ .LC0:
+ #ifdef ARM_RDI_MONITOR
+ .word HeapBase
+ #else
+ #ifndef ARM_RDP_MONITOR
+- /* Changes by toralf: Provide alternative "stack" variable whose value
+- may be defined externally; .Lstack will be used instead of .LC0 if
+- it points to a non-0 value. Also set up references to "hooks" that
+- may be used by the application to provide additional init code. */
+ #ifdef __pe__
+ .word 0x800000
+ #else
+- .word 0x80000 /* Top of RAM on the PIE board. */
++/* .word 0x80000 */ /* Top of RAM on the PIE board. */
+ #endif
+-
+-.Lstack:
+- .word __stack
+-.Lhwinit:
+- .word FUNCTION (hardware_init_hook)
+-.Lswinit:
+- .word FUNCTION (software_init_hook)
+-
+- /* Set up defaults for the above variables in the form of weak symbols
+- - so that application will link correctly, and get value 0 in
+- runtime (meaning "ignore setting") for the variables, when the user
+- does not provide the symbols. (The linker uses a weak symbol if,
+- and only if, a normal version of the same symbol isn't provided
+- e.g. by a linker script or another object file). */
+-
+- .weak __stack
+- .weak FUNCTION (hardware_init_hook)
+- .weak FUNCTION (software_init_hook)
+ #endif
+-
+ #endif
+ #if defined(__ELF__) && !defined(__USING_SJLJ_EXCEPTIONS__)
+ /* Protect against unhandled exceptions. */
+@@ -475,8 +287,6 @@
+ .LC30:
+ .word CommandLine
+ .word 255
+-.LC31:
+- .word __end__
+
+ /* Workspace for Angel calls. */
+ .data
+diff -Naur newlib-1.20.0.orig/newlib/libc/sys/configure newlib-1.20.0/newlib/libc/sys/configure
+--- newlib-1.20.0.orig/newlib/libc/sys/configure 2011-12-19 23:03:37.000000000 +0100
++++ newlib-1.20.0/newlib/libc/sys/configure 2012-10-15 10:31:19.627621204 +0200
+@@ -789,6 +789,7 @@
+ arm
+ d10v
+ decstation
++epiphany
+ h8300hms
+ h8500hms
+ linux
+@@ -11435,7 +11436,7 @@
+ lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
+ lt_status=$lt_dlunknown
+ cat > conftest.$ac_ext <<_LT_EOF
+-#line 11438 "configure"
++#line 11439 "configure"
+ #include "confdefs.h"
+
+ #if HAVE_DLFCN_H
+@@ -11541,7 +11542,7 @@
+ lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
+ lt_status=$lt_dlunknown
+ cat > conftest.$ac_ext <<_LT_EOF
+-#line 11544 "configure"
++#line 11545 "configure"
+ #include "confdefs.h"
+
+ #if HAVE_DLFCN_H
+@@ -11794,6 +11795,8 @@
+ ;;
+ decstation) subdirs="$subdirs decstation"
+ ;;
++ epiphany) subdirs="$subdirs epiphany"
++ ;;
+ h8300hms) subdirs="$subdirs h8300hms"
+ ;;
+ h8500hms) subdirs="$subdirs h8500hms"
+diff -Naur newlib-1.20.0.orig/newlib/libc/sys/configure.in newlib-1.20.0/newlib/libc/sys/configure.in
+--- newlib-1.20.0.orig/newlib/libc/sys/configure.in 2010-02-24 21:59:55.000000000 +0100
++++ newlib-1.20.0/newlib/libc/sys/configure.in 2012-10-15 10:31:19.628621220 +0200
+@@ -27,6 +27,7 @@
+ arm) AC_CONFIG_SUBDIRS(arm) ;;
+ d10v) AC_CONFIG_SUBDIRS(d10v) ;;
+ decstation) AC_CONFIG_SUBDIRS(decstation) ;;
++ epiphany) AC_CONFIG_SUBDIRS(epiphany) ;;
+ h8300hms) AC_CONFIG_SUBDIRS(h8300hms) ;;
+ h8500hms) AC_CONFIG_SUBDIRS(h8500hms) ;;
+ linux) AC_CONFIG_SUBDIRS(linux) ;;
+diff -Naur newlib-1.20.0.orig/newlib/libc/sys/epiphany/aclocal.m4 newlib-1.20.0/newlib/libc/sys/epiphany/aclocal.m4
+--- newlib-1.20.0.orig/newlib/libc/sys/epiphany/aclocal.m4 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/newlib/libc/sys/epiphany/aclocal.m4 2012-10-15 10:31:19.630621252 +0200
+@@ -0,0 +1,992 @@
++# generated automatically by aclocal 1.11.1 -*- Autoconf -*-
++
++# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
++# 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
++# This file is free software; the Free Software Foundation
++# gives unlimited permission to copy and/or distribute it,
++# with or without modifications, as long as this notice is preserved.
++
++# This program is distributed in the hope that it will be useful,
++# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
++# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
++# PARTICULAR PURPOSE.
++
++m4_ifndef([AC_AUTOCONF_VERSION],
++ [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
++m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.68],,
++[m4_warning([this file was generated for autoconf 2.68.
++You have another version of autoconf. It may work, but is not guaranteed to.
++If you have problems, you may need to regenerate the build system entirely.
++To do so, use the procedure documented by the package, typically `autoreconf'.])])
++
++# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
++#
++# This file is free software; the Free Software Foundation
++# gives unlimited permission to copy and/or distribute it,
++# with or without modifications, as long as this notice is preserved.
++
++# AM_AUTOMAKE_VERSION(VERSION)
++# ----------------------------
++# Automake X.Y traces this macro to ensure aclocal.m4 has been
++# generated from the m4 files accompanying Automake X.Y.
++# (This private macro should not be called outside this file.)
++AC_DEFUN([AM_AUTOMAKE_VERSION],
++[am__api_version='1.11'
++dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
++dnl require some minimum version. Point them to the right macro.
++m4_if([$1], [1.11.1], [],
++ [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
++])
++
++# _AM_AUTOCONF_VERSION(VERSION)
++# -----------------------------
++# aclocal traces this macro to find the Autoconf version.
++# This is a private macro too. Using m4_define simplifies
++# the logic in aclocal, which can simply ignore this definition.
++m4_define([_AM_AUTOCONF_VERSION], [])
++
++# AM_SET_CURRENT_AUTOMAKE_VERSION
++# -------------------------------
++# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
++# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
++AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
++[AM_AUTOMAKE_VERSION([1.11.1])dnl
++m4_ifndef([AC_AUTOCONF_VERSION],
++ [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
++_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
++
++# AM_AUX_DIR_EXPAND -*- Autoconf -*-
++
++# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
++#
++# This file is free software; the Free Software Foundation
++# gives unlimited permission to copy and/or distribute it,
++# with or without modifications, as long as this notice is preserved.
++
++# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
++# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
++# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
++#
++# Of course, Automake must honor this variable whenever it calls a
++# tool from the auxiliary directory. The problem is that $srcdir (and
++# therefore $ac_aux_dir as well) can be either absolute or relative,
++# depending on how configure is run. This is pretty annoying, since
++# it makes $ac_aux_dir quite unusable in subdirectories: in the top
++# source directory, any form will work fine, but in subdirectories a
++# relative path needs to be adjusted first.
++#
++# $ac_aux_dir/missing
++# fails when called from a subdirectory if $ac_aux_dir is relative
++# $top_srcdir/$ac_aux_dir/missing
++# fails if $ac_aux_dir is absolute,
++# fails when called from a subdirectory in a VPATH build with
++# a relative $ac_aux_dir
++#
++# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
++# are both prefixed by $srcdir. In an in-source build this is usually
++# harmless because $srcdir is `.', but things will broke when you
++# start a VPATH build or use an absolute $srcdir.
++#
++# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
++# iff we strip the leading $srcdir from $ac_aux_dir. That would be:
++# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
++# and then we would define $MISSING as
++# MISSING="\${SHELL} $am_aux_dir/missing"
++# This will work as long as MISSING is not called from configure, because
++# unfortunately $(top_srcdir) has no meaning in configure.
++# However there are other variables, like CC, which are often used in
++# configure, and could therefore not use this "fixed" $ac_aux_dir.
++#
++# Another solution, used here, is to always expand $ac_aux_dir to an
++# absolute PATH. The drawback is that using absolute paths prevent a
++# configured tree to be moved without reconfiguration.
++
++AC_DEFUN([AM_AUX_DIR_EXPAND],
++[dnl Rely on autoconf to set up CDPATH properly.
++AC_PREREQ([2.50])dnl
++# expand $ac_aux_dir to an absolute path
++am_aux_dir=`cd $ac_aux_dir && pwd`
++])
++
++# AM_CONDITIONAL -*- Autoconf -*-
++
++# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
++# Free Software Foundation, Inc.
++#
++# This file is free software; the Free Software Foundation
++# gives unlimited permission to copy and/or distribute it,
++# with or without modifications, as long as this notice is preserved.
++
++# serial 9
++
++# AM_CONDITIONAL(NAME, SHELL-CONDITION)
++# -------------------------------------
++# Define a conditional.
++AC_DEFUN([AM_CONDITIONAL],
++[AC_PREREQ(2.52)dnl
++ ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
++ [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
++AC_SUBST([$1_TRUE])dnl
++AC_SUBST([$1_FALSE])dnl
++_AM_SUBST_NOTMAKE([$1_TRUE])dnl
++_AM_SUBST_NOTMAKE([$1_FALSE])dnl
++m4_define([_AM_COND_VALUE_$1], [$2])dnl
++if $2; then
++ $1_TRUE=
++ $1_FALSE='#'
++else
++ $1_TRUE='#'
++ $1_FALSE=
++fi
++AC_CONFIG_COMMANDS_PRE(
++[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
++ AC_MSG_ERROR([[conditional "$1" was never defined.
++Usually this means the macro was only invoked conditionally.]])
++fi])])
++
++# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
++# Free Software Foundation, Inc.
++#
++# This file is free software; the Free Software Foundation
++# gives unlimited permission to copy and/or distribute it,
++# with or without modifications, as long as this notice is preserved.
++
++# serial 10
++
++# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
++# written in clear, in which case automake, when reading aclocal.m4,
++# will think it sees a *use*, and therefore will trigger all it's
++# C support machinery. Also note that it means that autoscan, seeing
++# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
++
++
++# _AM_DEPENDENCIES(NAME)
++# ----------------------
++# See how the compiler implements dependency checking.
++# NAME is "CC", "CXX", "GCJ", or "OBJC".
++# We try a few techniques and use that to set a single cache variable.
++#
++# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
++# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
++# dependency, and given that the user is not expected to run this macro,
++# just rely on AC_PROG_CC.
++AC_DEFUN([_AM_DEPENDENCIES],
++[AC_REQUIRE([AM_SET_DEPDIR])dnl
++AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
++AC_REQUIRE([AM_MAKE_INCLUDE])dnl
++AC_REQUIRE([AM_DEP_TRACK])dnl
++
++ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
++ [$1], CXX, [depcc="$CXX" am_compiler_list=],
++ [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
++ [$1], UPC, [depcc="$UPC" am_compiler_list=],
++ [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
++ [depcc="$$1" am_compiler_list=])
++
++AC_CACHE_CHECK([dependency style of $depcc],
++ [am_cv_$1_dependencies_compiler_type],
++[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
++ # We make a subdir and do the tests there. Otherwise we can end up
++ # making bogus files that we don't know about and never remove. For
++ # instance it was reported that on HP-UX the gcc test will end up
++ # making a dummy file named `D' -- because `-MD' means `put the output
++ # in D'.
++ mkdir conftest.dir
++ # Copy depcomp to subdir because otherwise we won't find it if we're
++ # using a relative directory.
++ cp "$am_depcomp" conftest.dir
++ cd conftest.dir
++ # We will build objects and dependencies in a subdirectory because
++ # it helps to detect inapplicable dependency modes. For instance
++ # both Tru64's cc and ICC support -MD to output dependencies as a
++ # side effect of compilation, but ICC will put the dependencies in
++ # the current directory while Tru64 will put them in the object
++ # directory.
++ mkdir sub
++
++ am_cv_$1_dependencies_compiler_type=none
++ if test "$am_compiler_list" = ""; then
++ am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
++ fi
++ am__universal=false
++ m4_case([$1], [CC],
++ [case " $depcc " in #(
++ *\ -arch\ *\ -arch\ *) am__universal=true ;;
++ esac],
++ [CXX],
++ [case " $depcc " in #(
++ *\ -arch\ *\ -arch\ *) am__universal=true ;;
++ esac])
++
++ for depmode in $am_compiler_list; do
++ # Setup a source with many dependencies, because some compilers
++ # like to wrap large dependency lists on column 80 (with \), and
++ # we should not choose a depcomp mode which is confused by this.
++ #
++ # We need to recreate these files for each test, as the compiler may
++ # overwrite some of them when testing with obscure command lines.
++ # This happens at least with the AIX C compiler.
++ : > sub/conftest.c
++ for i in 1 2 3 4 5 6; do
++ echo '#include "conftst'$i'.h"' >> sub/conftest.c
++ # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
++ # Solaris 8's {/usr,}/bin/sh.
++ touch sub/conftst$i.h
++ done
++ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
++
++ # We check with `-c' and `-o' for the sake of the "dashmstdout"
++ # mode. It turns out that the SunPro C++ compiler does not properly
++ # handle `-M -o', and we need to detect this. Also, some Intel
++ # versions had trouble with output in subdirs
++ am__obj=sub/conftest.${OBJEXT-o}
++ am__minus_obj="-o $am__obj"
++ case $depmode in
++ gcc)
++ # This depmode causes a compiler race in universal mode.
++ test "$am__universal" = false || continue
++ ;;
++ nosideeffect)
++ # after this tag, mechanisms are not by side-effect, so they'll
++ # only be used when explicitly requested
++ if test "x$enable_dependency_tracking" = xyes; then
++ continue
++ else
++ break
++ fi
++ ;;
++ msvisualcpp | msvcmsys)
++ # This compiler won't grok `-c -o', but also, the minuso test has
++ # not run yet. These depmodes are late enough in the game, and
++ # so weak that their functioning should not be impacted.
++ am__obj=conftest.${OBJEXT-o}
++ am__minus_obj=
++ ;;
++ none) break ;;
++ esac
++ if depmode=$depmode \
++ source=sub/conftest.c object=$am__obj \
++ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
++ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
++ >/dev/null 2>conftest.err &&
++ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
++ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
++ grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
++ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
++ # icc doesn't choke on unknown options, it will just issue warnings
++ # or remarks (even with -Werror). So we grep stderr for any message
++ # that says an option was ignored or not supported.
++ # When given -MP, icc 7.0 and 7.1 complain thusly:
++ # icc: Command line warning: ignoring option '-M'; no argument required
++ # The diagnosis changed in icc 8.0:
++ # icc: Command line remark: option '-MP' not supported
++ if (grep 'ignoring option' conftest.err ||
++ grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
++ am_cv_$1_dependencies_compiler_type=$depmode
++ break
++ fi
++ fi
++ done
++
++ cd ..
++ rm -rf conftest.dir
++else
++ am_cv_$1_dependencies_compiler_type=none
++fi
++])
++AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
++AM_CONDITIONAL([am__fastdep$1], [
++ test "x$enable_dependency_tracking" != xno \
++ && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
++])
++
++
++# AM_SET_DEPDIR
++# -------------
++# Choose a directory name for dependency files.
++# This macro is AC_REQUIREd in _AM_DEPENDENCIES
++AC_DEFUN([AM_SET_DEPDIR],
++[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
++AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
++])
++
++
++# AM_DEP_TRACK
++# ------------
++AC_DEFUN([AM_DEP_TRACK],
++[AC_ARG_ENABLE(dependency-tracking,
++[ --disable-dependency-tracking speeds up one-time build
++ --enable-dependency-tracking do not reject slow dependency extractors])
++if test "x$enable_dependency_tracking" != xno; then
++ am_depcomp="$ac_aux_dir/depcomp"
++ AMDEPBACKSLASH='\'
++fi
++AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
++AC_SUBST([AMDEPBACKSLASH])dnl
++_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
++])
++
++# Generate code to set up dependency tracking. -*- Autoconf -*-
++
++# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
++# Free Software Foundation, Inc.
++#
++# This file is free software; the Free Software Foundation
++# gives unlimited permission to copy and/or distribute it,
++# with or without modifications, as long as this notice is preserved.
++
++#serial 5
++
++# _AM_OUTPUT_DEPENDENCY_COMMANDS
++# ------------------------------
++AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
++[{
++ # Autoconf 2.62 quotes --file arguments for eval, but not when files
++ # are listed without --file. Let's play safe and only enable the eval
++ # if we detect the quoting.
++ case $CONFIG_FILES in
++ *\'*) eval set x "$CONFIG_FILES" ;;
++ *) set x $CONFIG_FILES ;;
++ esac
++ shift
++ for mf
++ do
++ # Strip MF so we end up with the name of the file.
++ mf=`echo "$mf" | sed -e 's/:.*$//'`
++ # Check whether this is an Automake generated Makefile or not.
++ # We used to match only the files named `Makefile.in', but
++ # some people rename them; so instead we look at the file content.
++ # Grep'ing the first line is not enough: some people post-process
++ # each Makefile.in and add a new line on top of each file to say so.
++ # Grep'ing the whole file is not good either: AIX grep has a line
++ # limit of 2048, but all sed's we know have understand at least 4000.
++ if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
++ dirpart=`AS_DIRNAME("$mf")`
++ else
++ continue
++ fi
++ # Extract the definition of DEPDIR, am__include, and am__quote
++ # from the Makefile without running `make'.
++ DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
++ test -z "$DEPDIR" && continue
++ am__include=`sed -n 's/^am__include = //p' < "$mf"`
++ test -z "am__include" && continue
++ am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
++ # When using ansi2knr, U may be empty or an underscore; expand it
++ U=`sed -n 's/^U = //p' < "$mf"`
++ # Find all dependency output files, they are included files with
++ # $(DEPDIR) in their names. We invoke sed twice because it is the
++ # simplest approach to changing $(DEPDIR) to its actual value in the
++ # expansion.
++ for file in `sed -n "
++ s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
++ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
++ # Make sure the directory exists.
++ test -f "$dirpart/$file" && continue
++ fdir=`AS_DIRNAME(["$file"])`
++ AS_MKDIR_P([$dirpart/$fdir])
++ # echo "creating $dirpart/$file"
++ echo '# dummy' > "$dirpart/$file"
++ done
++ done
++}
++])# _AM_OUTPUT_DEPENDENCY_COMMANDS
++
++
++# AM_OUTPUT_DEPENDENCY_COMMANDS
++# -----------------------------
++# This macro should only be invoked once -- use via AC_REQUIRE.
++#
++# This code is only required when automatic dependency tracking
++# is enabled. FIXME. This creates each `.P' file that we will
++# need in order to bootstrap the dependency handling code.
++AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
++[AC_CONFIG_COMMANDS([depfiles],
++ [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
++ [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
++])
++
++# Do all the work for Automake. -*- Autoconf -*-
++
++# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
++# 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
++#
++# This file is free software; the Free Software Foundation
++# gives unlimited permission to copy and/or distribute it,
++# with or without modifications, as long as this notice is preserved.
++
++# serial 16
++
++# This macro actually does too much. Some checks are only needed if
++# your package does certain things. But this isn't really a big deal.
++
++# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
++# AM_INIT_AUTOMAKE([OPTIONS])
++# -----------------------------------------------
++# The call with PACKAGE and VERSION arguments is the old style
++# call (pre autoconf-2.50), which is being phased out. PACKAGE
++# and VERSION should now be passed to AC_INIT and removed from
++# the call to AM_INIT_AUTOMAKE.
++# We support both call styles for the transition. After
++# the next Automake release, Autoconf can make the AC_INIT
++# arguments mandatory, and then we can depend on a new Autoconf
++# release and drop the old call support.
++AC_DEFUN([AM_INIT_AUTOMAKE],
++[AC_PREREQ([2.62])dnl
++dnl Autoconf wants to disallow AM_ names. We explicitly allow
++dnl the ones we care about.
++m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
++AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
++AC_REQUIRE([AC_PROG_INSTALL])dnl
++if test "`cd $srcdir && pwd`" != "`pwd`"; then
++ # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
++ # is not polluted with repeated "-I."
++ AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
++ # test to see if srcdir already configured
++ if test -f $srcdir/config.status; then
++ AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
++ fi
++fi
++
++# test whether we have cygpath
++if test -z "$CYGPATH_W"; then
++ if (cygpath --version) >/dev/null 2>/dev/null; then
++ CYGPATH_W='cygpath -w'
++ else
++ CYGPATH_W=echo
++ fi
++fi
++AC_SUBST([CYGPATH_W])
++
++# Define the identity of the package.
++dnl Distinguish between old-style and new-style calls.
++m4_ifval([$2],
++[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
++ AC_SUBST([PACKAGE], [$1])dnl
++ AC_SUBST([VERSION], [$2])],
++[_AM_SET_OPTIONS([$1])dnl
++dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
++m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
++ [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
++ AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
++ AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
++
++_AM_IF_OPTION([no-define],,
++[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
++ AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
++
++# Some tools Automake needs.
++AC_REQUIRE([AM_SANITY_CHECK])dnl
++AC_REQUIRE([AC_ARG_PROGRAM])dnl
++AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
++AM_MISSING_PROG(AUTOCONF, autoconf)
++AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
++AM_MISSING_PROG(AUTOHEADER, autoheader)
++AM_MISSING_PROG(MAKEINFO, makeinfo)
++AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
++AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
++AC_REQUIRE([AM_PROG_MKDIR_P])dnl
++# We need awk for the "check" target. The system "awk" is bad on
++# some platforms.
++AC_REQUIRE([AC_PROG_AWK])dnl
++AC_REQUIRE([AC_PROG_MAKE_SET])dnl
++AC_REQUIRE([AM_SET_LEADING_DOT])dnl
++_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
++ [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
++ [_AM_PROG_TAR([v7])])])
++_AM_IF_OPTION([no-dependencies],,
++[AC_PROVIDE_IFELSE([AC_PROG_CC],
++ [_AM_DEPENDENCIES(CC)],
++ [define([AC_PROG_CC],
++ defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
++AC_PROVIDE_IFELSE([AC_PROG_CXX],
++ [_AM_DEPENDENCIES(CXX)],
++ [define([AC_PROG_CXX],
++ defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
++AC_PROVIDE_IFELSE([AC_PROG_OBJC],
++ [_AM_DEPENDENCIES(OBJC)],
++ [define([AC_PROG_OBJC],
++ defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
++])
++_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
++dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
++dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
++dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
++AC_CONFIG_COMMANDS_PRE(dnl
++[m4_provide_if([_AM_COMPILER_EXEEXT],
++ [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
++])
++
++dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
++dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
++dnl mangled by Autoconf and run in a shell conditional statement.
++m4_define([_AC_COMPILER_EXEEXT],
++m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
++
++
++# When config.status generates a header, we must update the stamp-h file.
++# This file resides in the same directory as the config header
++# that is generated. The stamp files are numbered to have different names.
++
++# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
++# loop where config.status creates the headers, so we can generate
++# our stamp files there.
++AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
++[# Compute $1's index in $config_headers.
++_am_arg=$1
++_am_stamp_count=1
++for _am_header in $config_headers :; do
++ case $_am_header in
++ $_am_arg | $_am_arg:* )
++ break ;;
++ * )
++ _am_stamp_count=`expr $_am_stamp_count + 1` ;;
++ esac
++done
++echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
++
++# Copyright (C) 2001, 2003, 2005, 2008 Free Software Foundation, Inc.
++#
++# This file is free software; the Free Software Foundation
++# gives unlimited permission to copy and/or distribute it,
++# with or without modifications, as long as this notice is preserved.
++
++# AM_PROG_INSTALL_SH
++# ------------------
++# Define $install_sh.
++AC_DEFUN([AM_PROG_INSTALL_SH],
++[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
++if test x"${install_sh}" != xset; then
++ case $am_aux_dir in
++ *\ * | *\ *)
++ install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
++ *)
++ install_sh="\${SHELL} $am_aux_dir/install-sh"
++ esac
++fi
++AC_SUBST(install_sh)])
++
++# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
++#
++# This file is free software; the Free Software Foundation
++# gives unlimited permission to copy and/or distribute it,
++# with or without modifications, as long as this notice is preserved.
++
++# serial 2
++
++# Check whether the underlying file-system supports filenames
++# with a leading dot. For instance MS-DOS doesn't.
++AC_DEFUN([AM_SET_LEADING_DOT],
++[rm -rf .tst 2>/dev/null
++mkdir .tst 2>/dev/null
++if test -d .tst; then
++ am__leading_dot=.
++else
++ am__leading_dot=_
++fi
++rmdir .tst 2>/dev/null
++AC_SUBST([am__leading_dot])])
++
++# Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
++# From Jim Meyering
++
++# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008
++# Free Software Foundation, Inc.
++#
++# This file is free software; the Free Software Foundation
++# gives unlimited permission to copy and/or distribute it,
++# with or without modifications, as long as this notice is preserved.
++
++# serial 5
++
++# AM_MAINTAINER_MODE([DEFAULT-MODE])
++# ----------------------------------
++# Control maintainer-specific portions of Makefiles.
++# Default is to disable them, unless `enable' is passed literally.
++# For symmetry, `disable' may be passed as well. Anyway, the user
++# can override the default with the --enable/--disable switch.
++AC_DEFUN([AM_MAINTAINER_MODE],
++[m4_case(m4_default([$1], [disable]),
++ [enable], [m4_define([am_maintainer_other], [disable])],
++ [disable], [m4_define([am_maintainer_other], [enable])],
++ [m4_define([am_maintainer_other], [enable])
++ m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
++AC_MSG_CHECKING([whether to am_maintainer_other maintainer-specific portions of Makefiles])
++ dnl maintainer-mode's default is 'disable' unless 'enable' is passed
++ AC_ARG_ENABLE([maintainer-mode],
++[ --][am_maintainer_other][-maintainer-mode am_maintainer_other make rules and dependencies not useful
++ (and sometimes confusing) to the casual installer],
++ [USE_MAINTAINER_MODE=$enableval],
++ [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
++ AC_MSG_RESULT([$USE_MAINTAINER_MODE])
++ AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
++ MAINT=$MAINTAINER_MODE_TRUE
++ AC_SUBST([MAINT])dnl
++]
++)
++
++AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
++
++# Check to see how 'make' treats includes. -*- Autoconf -*-
++
++# Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc.
++#
++# This file is free software; the Free Software Foundation
++# gives unlimited permission to copy and/or distribute it,
++# with or without modifications, as long as this notice is preserved.
++
++# serial 4
++
++# AM_MAKE_INCLUDE()
++# -----------------
++# Check to see how make treats includes.
++AC_DEFUN([AM_MAKE_INCLUDE],
++[am_make=${MAKE-make}
++cat > confinc << 'END'
++am__doit:
++ @echo this is the am__doit target
++.PHONY: am__doit
++END
++# If we don't find an include directive, just comment out the code.
++AC_MSG_CHECKING([for style of include used by $am_make])
++am__include="#"
++am__quote=
++_am_result=none
++# First try GNU make style include.
++echo "include confinc" > confmf
++# Ignore all kinds of additional output from `make'.
++case `$am_make -s -f confmf 2> /dev/null` in #(
++*the\ am__doit\ target*)
++ am__include=include
++ am__quote=
++ _am_result=GNU
++ ;;
++esac
++# Now try BSD make style include.
++if test "$am__include" = "#"; then
++ echo '.include "confinc"' > confmf
++ case `$am_make -s -f confmf 2> /dev/null` in #(
++ *the\ am__doit\ target*)
++ am__include=.include
++ am__quote="\""
++ _am_result=BSD
++ ;;
++ esac
++fi
++AC_SUBST([am__include])
++AC_SUBST([am__quote])
++AC_MSG_RESULT([$_am_result])
++rm -f confinc confmf
++])
++
++# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
++
++# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
++# Free Software Foundation, Inc.
++#
++# This file is free software; the Free Software Foundation
++# gives unlimited permission to copy and/or distribute it,
++# with or without modifications, as long as this notice is preserved.
++
++# serial 6
++
++# AM_MISSING_PROG(NAME, PROGRAM)
++# ------------------------------
++AC_DEFUN([AM_MISSING_PROG],
++[AC_REQUIRE([AM_MISSING_HAS_RUN])
++$1=${$1-"${am_missing_run}$2"}
++AC_SUBST($1)])
++
++
++# AM_MISSING_HAS_RUN
++# ------------------
++# Define MISSING if not defined so far and test if it supports --run.
++# If it does, set am_missing_run to use it, otherwise, to nothing.
++AC_DEFUN([AM_MISSING_HAS_RUN],
++[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
++AC_REQUIRE_AUX_FILE([missing])dnl
++if test x"${MISSING+set}" != xset; then
++ case $am_aux_dir in
++ *\ * | *\ *)
++ MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
++ *)
++ MISSING="\${SHELL} $am_aux_dir/missing" ;;
++ esac
++fi
++# Use eval to expand $SHELL
++if eval "$MISSING --run true"; then
++ am_missing_run="$MISSING --run "
++else
++ am_missing_run=
++ AC_MSG_WARN([`missing' script is too old or missing])
++fi
++])
++
++# Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
++#
++# This file is free software; the Free Software Foundation
++# gives unlimited permission to copy and/or distribute it,
++# with or without modifications, as long as this notice is preserved.
++
++# AM_PROG_MKDIR_P
++# ---------------
++# Check for `mkdir -p'.
++AC_DEFUN([AM_PROG_MKDIR_P],
++[AC_PREREQ([2.60])dnl
++AC_REQUIRE([AC_PROG_MKDIR_P])dnl
++dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,
++dnl while keeping a definition of mkdir_p for backward compatibility.
++dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
++dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
++dnl Makefile.ins that do not define MKDIR_P, so we do our own
++dnl adjustment using top_builddir (which is defined more often than
++dnl MKDIR_P).
++AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
++case $mkdir_p in
++ [[\\/$]]* | ?:[[\\/]]*) ;;
++ */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
++esac
++])
++
++# Helper functions for option handling. -*- Autoconf -*-
++
++# Copyright (C) 2001, 2002, 2003, 2005, 2008 Free Software Foundation, Inc.
++#
++# This file is free software; the Free Software Foundation
++# gives unlimited permission to copy and/or distribute it,
++# with or without modifications, as long as this notice is preserved.
++
++# serial 4
++
++# _AM_MANGLE_OPTION(NAME)
++# -----------------------
++AC_DEFUN([_AM_MANGLE_OPTION],
++[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
++
++# _AM_SET_OPTION(NAME)
++# ------------------------------
++# Set option NAME. Presently that only means defining a flag for this option.
++AC_DEFUN([_AM_SET_OPTION],
++[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
++
++# _AM_SET_OPTIONS(OPTIONS)
++# ----------------------------------
++# OPTIONS is a space-separated list of Automake options.
++AC_DEFUN([_AM_SET_OPTIONS],
++[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
++
++# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
++# -------------------------------------------
++# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
++AC_DEFUN([_AM_IF_OPTION],
++[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
++
++# Check to make sure that the build environment is sane. -*- Autoconf -*-
++
++# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
++# Free Software Foundation, Inc.
++#
++# This file is free software; the Free Software Foundation
++# gives unlimited permission to copy and/or distribute it,
++# with or without modifications, as long as this notice is preserved.
++
++# serial 5
++
++# AM_SANITY_CHECK
++# ---------------
++AC_DEFUN([AM_SANITY_CHECK],
++[AC_MSG_CHECKING([whether build environment is sane])
++# Just in case
++sleep 1
++echo timestamp > conftest.file
++# Reject unsafe characters in $srcdir or the absolute working directory
++# name. Accept space and tab only in the latter.
++am_lf='
++'
++case `pwd` in
++ *[[\\\"\#\$\&\'\`$am_lf]]*)
++ AC_MSG_ERROR([unsafe absolute working directory name]);;
++esac
++case $srcdir in
++ *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
++ AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
++esac
++
++# Do `set' in a subshell so we don't clobber the current shell's
++# arguments. Must try -L first in case configure is actually a
++# symlink; some systems play weird games with the mod time of symlinks
++# (eg FreeBSD returns the mod time of the symlink's containing
++# directory).
++if (
++ set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
++ if test "$[*]" = "X"; then
++ # -L didn't work.
++ set X `ls -t "$srcdir/configure" conftest.file`
++ fi
++ rm -f conftest.file
++ if test "$[*]" != "X $srcdir/configure conftest.file" \
++ && test "$[*]" != "X conftest.file $srcdir/configure"; then
++
++ # If neither matched, then we have a broken ls. This can happen
++ # if, for instance, CONFIG_SHELL is bash and it inherits a
++ # broken ls alias from the environment. This has actually
++ # happened. Such a system could not be considered "sane".
++ AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
++alias in your environment])
++ fi
++
++ test "$[2]" = conftest.file
++ )
++then
++ # Ok.
++ :
++else
++ AC_MSG_ERROR([newly created file is older than distributed files!
++Check your system clock])
++fi
++AC_MSG_RESULT(yes)])
++
++# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
++#
++# This file is free software; the Free Software Foundation
++# gives unlimited permission to copy and/or distribute it,
++# with or without modifications, as long as this notice is preserved.
++
++# AM_PROG_INSTALL_STRIP
++# ---------------------
++# One issue with vendor `install' (even GNU) is that you can't
++# specify the program used to strip binaries. This is especially
++# annoying in cross-compiling environments, where the build's strip
++# is unlikely to handle the host's binaries.
++# Fortunately install-sh will honor a STRIPPROG variable, so we
++# always use install-sh in `make install-strip', and initialize
++# STRIPPROG with the value of the STRIP variable (set by the user).
++AC_DEFUN([AM_PROG_INSTALL_STRIP],
++[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
++# Installed binaries are usually stripped using `strip' when the user
++# run `make install-strip'. However `strip' might not be the right
++# tool to use in cross-compilation environments, therefore Automake
++# will honor the `STRIP' environment variable to overrule this program.
++dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
++if test "$cross_compiling" != no; then
++ AC_CHECK_TOOL([STRIP], [strip], :)
++fi
++INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
++AC_SUBST([INSTALL_STRIP_PROGRAM])])
++
++# Copyright (C) 2006, 2008 Free Software Foundation, Inc.
++#
++# This file is free software; the Free Software Foundation
++# gives unlimited permission to copy and/or distribute it,
++# with or without modifications, as long as this notice is preserved.
++
++# serial 2
++
++# _AM_SUBST_NOTMAKE(VARIABLE)
++# ---------------------------
++# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
++# This macro is traced by Automake.
++AC_DEFUN([_AM_SUBST_NOTMAKE])
++
++# AM_SUBST_NOTMAKE(VARIABLE)
++# ---------------------------
++# Public sister of _AM_SUBST_NOTMAKE.
++AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
++
++# Check how to create a tarball. -*- Autoconf -*-
++
++# Copyright (C) 2004, 2005 Free Software Foundation, Inc.
++#
++# This file is free software; the Free Software Foundation
++# gives unlimited permission to copy and/or distribute it,
++# with or without modifications, as long as this notice is preserved.
++
++# serial 2
++
++# _AM_PROG_TAR(FORMAT)
++# --------------------
++# Check how to create a tarball in format FORMAT.
++# FORMAT should be one of `v7', `ustar', or `pax'.
++#
++# Substitute a variable $(am__tar) that is a command
++# writing to stdout a FORMAT-tarball containing the directory
++# $tardir.
++# tardir=directory && $(am__tar) > result.tar
++#
++# Substitute a variable $(am__untar) that extract such
++# a tarball read from stdin.
++# $(am__untar) < result.tar
++AC_DEFUN([_AM_PROG_TAR],
++[# Always define AMTAR for backward compatibility.
++AM_MISSING_PROG([AMTAR], [tar])
++m4_if([$1], [v7],
++ [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
++ [m4_case([$1], [ustar],, [pax],,
++ [m4_fatal([Unknown tar format])])
++AC_MSG_CHECKING([how to create a $1 tar archive])
++# Loop over all known methods to create a tar archive until one works.
++_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
++_am_tools=${am_cv_prog_tar_$1-$_am_tools}
++# Do not fold the above two line into one, because Tru64 sh and
++# Solaris sh will not grok spaces in the rhs of `-'.
++for _am_tool in $_am_tools
++do
++ case $_am_tool in
++ gnutar)
++ for _am_tar in tar gnutar gtar;
++ do
++ AM_RUN_LOG([$_am_tar --version]) && break
++ done
++ am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
++ am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
++ am__untar="$_am_tar -xf -"
++ ;;
++ plaintar)
++ # Must skip GNU tar: if it does not support --format= it doesn't create
++ # ustar tarball either.
++ (tar --version) >/dev/null 2>&1 && continue
++ am__tar='tar chf - "$$tardir"'
++ am__tar_='tar chf - "$tardir"'
++ am__untar='tar xf -'
++ ;;
++ pax)
++ am__tar='pax -L -x $1 -w "$$tardir"'
++ am__tar_='pax -L -x $1 -w "$tardir"'
++ am__untar='pax -r'
++ ;;
++ cpio)
++ am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
++ am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
++ am__untar='cpio -i -H $1 -d'
++ ;;
++ none)
++ am__tar=false
++ am__tar_=false
++ am__untar=false
++ ;;
++ esac
++
++ # If the value was cached, stop now. We just wanted to have am__tar
++ # and am__untar set.
++ test -n "${am_cv_prog_tar_$1}" && break
++
++ # tar/untar a dummy directory, and stop if the command works
++ rm -rf conftest.dir
++ mkdir conftest.dir
++ echo GrepMe > conftest.dir/file
++ AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
++ rm -rf conftest.dir
++ if test -s conftest.tar; then
++ AM_RUN_LOG([$am__untar <conftest.tar])
++ grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
++ fi
++done
++rm -rf conftest.dir
++
++AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
++AC_MSG_RESULT([$am_cv_prog_tar_$1])])
++AC_SUBST([am__tar])
++AC_SUBST([am__untar])
++]) # _AM_PROG_TAR
++
++m4_include([../../../acinclude.m4])
+diff -Naur newlib-1.20.0.orig/newlib/libc/sys/epiphany/configure newlib-1.20.0/newlib/libc/sys/epiphany/configure
+--- newlib-1.20.0.orig/newlib/libc/sys/epiphany/configure 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/newlib/libc/sys/epiphany/configure 2012-10-15 10:31:19.633621302 +0200
+@@ -0,0 +1,4745 @@
++#! /bin/sh
++# Guess values for system-dependent variables and create Makefiles.
++# Generated by GNU Autoconf 2.68 for newlib 1.20.0.
++#
++#
++# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
++# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
++# Foundation, Inc.
++#
++#
++# This configure script is free software; the Free Software Foundation
++# gives unlimited permission to copy, distribute and modify it.
++## -------------------- ##
++## M4sh Initialization. ##
++## -------------------- ##
++
++# Be more Bourne compatible
++DUALCASE=1; export DUALCASE # for MKS sh
++if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
++ emulate sh
++ NULLCMD=:
++ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
++ # is contrary to our usage. Disable this feature.
++ alias -g '${1+"$@"}'='"$@"'
++ setopt NO_GLOB_SUBST
++else
++ case `(set -o) 2>/dev/null` in #(
++ *posix*) :
++ set -o posix ;; #(
++ *) :
++ ;;
++esac
++fi
++
++
++as_nl='
++'
++export as_nl
++# Printing a long string crashes Solaris 7 /usr/bin/printf.
++as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
++as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
++as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
++# Prefer a ksh shell builtin over an external printf program on Solaris,
++# but without wasting forks for bash or zsh.
++if test -z "$BASH_VERSION$ZSH_VERSION" \
++ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
++ as_echo='print -r --'
++ as_echo_n='print -rn --'
++elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
++ as_echo='printf %s\n'
++ as_echo_n='printf %s'
++else
++ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
++ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
++ as_echo_n='/usr/ucb/echo -n'
++ else
++ as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
++ as_echo_n_body='eval
++ arg=$1;
++ case $arg in #(
++ *"$as_nl"*)
++ expr "X$arg" : "X\\(.*\\)$as_nl";
++ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
++ esac;
++ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
++ '
++ export as_echo_n_body
++ as_echo_n='sh -c $as_echo_n_body as_echo'
++ fi
++ export as_echo_body
++ as_echo='sh -c $as_echo_body as_echo'
++fi
++
++# The user is always right.
++if test "${PATH_SEPARATOR+set}" != set; then
++ PATH_SEPARATOR=:
++ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
++ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
++ PATH_SEPARATOR=';'
++ }
++fi
++
++
++# IFS
++# We need space, tab and new line, in precisely that order. Quoting is
++# there to prevent editors from complaining about space-tab.
++# (If _AS_PATH_WALK were called with IFS unset, it would disable word
++# splitting by setting IFS to empty value.)
++IFS=" "" $as_nl"
++
++# Find who we are. Look in the path if we contain no directory separator.
++as_myself=
++case $0 in #((
++ *[\\/]* ) as_myself=$0 ;;
++ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
++ done
++IFS=$as_save_IFS
++
++ ;;
++esac
++# We did not find ourselves, most probably we were run as `sh COMMAND'
++# in which case we are not to be found in the path.
++if test "x$as_myself" = x; then
++ as_myself=$0
++fi
++if test ! -f "$as_myself"; then
++ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
++ exit 1
++fi
++
++# Unset variables that we do not need and which cause bugs (e.g. in
++# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
++# suppresses any "Segmentation fault" message there. '((' could
++# trigger a bug in pdksh 5.2.14.
++for as_var in BASH_ENV ENV MAIL MAILPATH
++do eval test x\${$as_var+set} = xset \
++ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
++done
++PS1='$ '
++PS2='> '
++PS4='+ '
++
++# NLS nuisances.
++LC_ALL=C
++export LC_ALL
++LANGUAGE=C
++export LANGUAGE
++
++# CDPATH.
++(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
++
++if test "x$CONFIG_SHELL" = x; then
++ as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
++ emulate sh
++ NULLCMD=:
++ # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
++ # is contrary to our usage. Disable this feature.
++ alias -g '\${1+\"\$@\"}'='\"\$@\"'
++ setopt NO_GLOB_SUBST
++else
++ case \`(set -o) 2>/dev/null\` in #(
++ *posix*) :
++ set -o posix ;; #(
++ *) :
++ ;;
++esac
++fi
++"
++ as_required="as_fn_return () { (exit \$1); }
++as_fn_success () { as_fn_return 0; }
++as_fn_failure () { as_fn_return 1; }
++as_fn_ret_success () { return 0; }
++as_fn_ret_failure () { return 1; }
++
++exitcode=0
++as_fn_success || { exitcode=1; echo as_fn_success failed.; }
++as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
++as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
++as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
++if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
++
++else
++ exitcode=1; echo positional parameters were not saved.
++fi
++test x\$exitcode = x0 || exit 1"
++ as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
++ as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
++ eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
++ test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
++ if (eval "$as_required") 2>/dev/null; then :
++ as_have_required=yes
++else
++ as_have_required=no
++fi
++ if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
++
++else
++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++as_found=false
++for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ as_found=:
++ case $as_dir in #(
++ /*)
++ for as_base in sh bash ksh sh5; do
++ # Try only shells that exist, to save several forks.
++ as_shell=$as_dir/$as_base
++ if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
++ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
++ CONFIG_SHELL=$as_shell as_have_required=yes
++ if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
++ break 2
++fi
++fi
++ done;;
++ esac
++ as_found=false
++done
++$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
++ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
++ CONFIG_SHELL=$SHELL as_have_required=yes
++fi; }
++IFS=$as_save_IFS
++
++
++ if test "x$CONFIG_SHELL" != x; then :
++ # We cannot yet assume a decent shell, so we have to provide a
++ # neutralization value for shells without unset; and this also
++ # works around shells that cannot unset nonexistent variables.
++ # Preserve -v and -x to the replacement shell.
++ BASH_ENV=/dev/null
++ ENV=/dev/null
++ (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
++ export CONFIG_SHELL
++ case $- in # ((((
++ *v*x* | *x*v* ) as_opts=-vx ;;
++ *v* ) as_opts=-v ;;
++ *x* ) as_opts=-x ;;
++ * ) as_opts= ;;
++ esac
++ exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
++fi
++
++ if test x$as_have_required = xno; then :
++ $as_echo "$0: This script requires a shell more modern than all"
++ $as_echo "$0: the shells that I found on your system."
++ if test x${ZSH_VERSION+set} = xset ; then
++ $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
++ $as_echo "$0: be upgraded to zsh 4.3.4 or later."
++ else
++ $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
++$0: including any error possibly output before this
++$0: message. Then install a modern shell, or manually run
++$0: the script under such a shell if you do have one."
++ fi
++ exit 1
++fi
++fi
++fi
++SHELL=${CONFIG_SHELL-/bin/sh}
++export SHELL
++# Unset more variables known to interfere with behavior of common tools.
++CLICOLOR_FORCE= GREP_OPTIONS=
++unset CLICOLOR_FORCE GREP_OPTIONS
++
++## --------------------- ##
++## M4sh Shell Functions. ##
++## --------------------- ##
++# as_fn_unset VAR
++# ---------------
++# Portably unset VAR.
++as_fn_unset ()
++{
++ { eval $1=; unset $1;}
++}
++as_unset=as_fn_unset
++
++# as_fn_set_status STATUS
++# -----------------------
++# Set $? to STATUS, without forking.
++as_fn_set_status ()
++{
++ return $1
++} # as_fn_set_status
++
++# as_fn_exit STATUS
++# -----------------
++# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
++as_fn_exit ()
++{
++ set +e
++ as_fn_set_status $1
++ exit $1
++} # as_fn_exit
++
++# as_fn_mkdir_p
++# -------------
++# Create "$as_dir" as a directory, including parents if necessary.
++as_fn_mkdir_p ()
++{
++
++ case $as_dir in #(
++ -*) as_dir=./$as_dir;;
++ esac
++ test -d "$as_dir" || eval $as_mkdir_p || {
++ as_dirs=
++ while :; do
++ case $as_dir in #(
++ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
++ *) as_qdir=$as_dir;;
++ esac
++ as_dirs="'$as_qdir' $as_dirs"
++ as_dir=`$as_dirname -- "$as_dir" ||
++$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
++ X"$as_dir" : 'X\(//\)[^/]' \| \
++ X"$as_dir" : 'X\(//\)$' \| \
++ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
++$as_echo X"$as_dir" |
++ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
++ s//\1/
++ q
++ }
++ /^X\(\/\/\)[^/].*/{
++ s//\1/
++ q
++ }
++ /^X\(\/\/\)$/{
++ s//\1/
++ q
++ }
++ /^X\(\/\).*/{
++ s//\1/
++ q
++ }
++ s/.*/./; q'`
++ test -d "$as_dir" && break
++ done
++ test -z "$as_dirs" || eval "mkdir $as_dirs"
++ } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
++
++
++} # as_fn_mkdir_p
++# as_fn_append VAR VALUE
++# ----------------------
++# Append the text in VALUE to the end of the definition contained in VAR. Take
++# advantage of any shell optimizations that allow amortized linear growth over
++# repeated appends, instead of the typical quadratic growth present in naive
++# implementations.
++if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
++ eval 'as_fn_append ()
++ {
++ eval $1+=\$2
++ }'
++else
++ as_fn_append ()
++ {
++ eval $1=\$$1\$2
++ }
++fi # as_fn_append
++
++# as_fn_arith ARG...
++# ------------------
++# Perform arithmetic evaluation on the ARGs, and store the result in the
++# global $as_val. Take advantage of shells that can avoid forks. The arguments
++# must be portable across $(()) and expr.
++if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
++ eval 'as_fn_arith ()
++ {
++ as_val=$(( $* ))
++ }'
++else
++ as_fn_arith ()
++ {
++ as_val=`expr "$@" || test $? -eq 1`
++ }
++fi # as_fn_arith
++
++
++# as_fn_error STATUS ERROR [LINENO LOG_FD]
++# ----------------------------------------
++# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
++# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
++# script with STATUS, using 1 if that was 0.
++as_fn_error ()
++{
++ as_status=$1; test $as_status -eq 0 && as_status=1
++ if test "$4"; then
++ as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
++ $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
++ fi
++ $as_echo "$as_me: error: $2" >&2
++ as_fn_exit $as_status
++} # as_fn_error
++
++if expr a : '\(a\)' >/dev/null 2>&1 &&
++ test "X`expr 00001 : '.*\(...\)'`" = X001; then
++ as_expr=expr
++else
++ as_expr=false
++fi
++
++if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
++ as_basename=basename
++else
++ as_basename=false
++fi
++
++if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
++ as_dirname=dirname
++else
++ as_dirname=false
++fi
++
++as_me=`$as_basename -- "$0" ||
++$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
++ X"$0" : 'X\(//\)$' \| \
++ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
++$as_echo X/"$0" |
++ sed '/^.*\/\([^/][^/]*\)\/*$/{
++ s//\1/
++ q
++ }
++ /^X\/\(\/\/\)$/{
++ s//\1/
++ q
++ }
++ /^X\/\(\/\).*/{
++ s//\1/
++ q
++ }
++ s/.*/./; q'`
++
++# Avoid depending upon Character Ranges.
++as_cr_letters='abcdefghijklmnopqrstuvwxyz'
++as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
++as_cr_Letters=$as_cr_letters$as_cr_LETTERS
++as_cr_digits='0123456789'
++as_cr_alnum=$as_cr_Letters$as_cr_digits
++
++
++ as_lineno_1=$LINENO as_lineno_1a=$LINENO
++ as_lineno_2=$LINENO as_lineno_2a=$LINENO
++ eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
++ test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
++ # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
++ sed -n '
++ p
++ /[$]LINENO/=
++ ' <$as_myself |
++ sed '
++ s/[$]LINENO.*/&-/
++ t lineno
++ b
++ :lineno
++ N
++ :loop
++ s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
++ t loop
++ s/-\n.*//
++ ' >$as_me.lineno &&
++ chmod +x "$as_me.lineno" ||
++ { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
++
++ # Don't try to exec as it changes $[0], causing all sort of problems
++ # (the dirname of $[0] is not the place where we might find the
++ # original and so on. Autoconf is especially sensitive to this).
++ . "./$as_me.lineno"
++ # Exit status is that of the last command.
++ exit
++}
++
++ECHO_C= ECHO_N= ECHO_T=
++case `echo -n x` in #(((((
++-n*)
++ case `echo 'xy\c'` in
++ *c*) ECHO_T=' ';; # ECHO_T is single tab character.
++ xy) ECHO_C='\c';;
++ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
++ ECHO_T=' ';;
++ esac;;
++*)
++ ECHO_N='-n';;
++esac
++
++rm -f conf$$ conf$$.exe conf$$.file
++if test -d conf$$.dir; then
++ rm -f conf$$.dir/conf$$.file
++else
++ rm -f conf$$.dir
++ mkdir conf$$.dir 2>/dev/null
++fi
++if (echo >conf$$.file) 2>/dev/null; then
++ if ln -s conf$$.file conf$$ 2>/dev/null; then
++ as_ln_s='ln -s'
++ # ... but there are two gotchas:
++ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
++ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
++ # In both cases, we have to default to `cp -p'.
++ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
++ as_ln_s='cp -p'
++ elif ln conf$$.file conf$$ 2>/dev/null; then
++ as_ln_s=ln
++ else
++ as_ln_s='cp -p'
++ fi
++else
++ as_ln_s='cp -p'
++fi
++rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
++rmdir conf$$.dir 2>/dev/null
++
++if mkdir -p . 2>/dev/null; then
++ as_mkdir_p='mkdir -p "$as_dir"'
++else
++ test -d ./-p && rmdir ./-p
++ as_mkdir_p=false
++fi
++
++if test -x / >/dev/null 2>&1; then
++ as_test_x='test -x'
++else
++ if ls -dL / >/dev/null 2>&1; then
++ as_ls_L_option=L
++ else
++ as_ls_L_option=
++ fi
++ as_test_x='
++ eval sh -c '\''
++ if test -d "$1"; then
++ test -d "$1/.";
++ else
++ case $1 in #(
++ -*)set "./$1";;
++ esac;
++ case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
++ ???[sx]*):;;*)false;;esac;fi
++ '\'' sh
++ '
++fi
++as_executable_p=$as_test_x
++
++# Sed expression to map a string onto a valid CPP name.
++as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
++
++# Sed expression to map a string onto a valid variable name.
++as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
++
++
++test -n "$DJDIR" || exec 7<&0 </dev/null
++exec 6>&1
++
++# Name of the host.
++# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
++# so uname gets run too.
++ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
++
++#
++# Initializations.
++#
++ac_default_prefix=/usr/local
++ac_clean_files=
++ac_config_libobj_dir=.
++LIBOBJS=
++cross_compiling=no
++subdirs=
++MFLAGS=
++MAKEFLAGS=
++
++# Identity of this package.
++PACKAGE_NAME='newlib'
++PACKAGE_TARNAME='newlib'
++PACKAGE_VERSION='1.20.0'
++PACKAGE_STRING='newlib 1.20.0'
++PACKAGE_BUGREPORT=''
++PACKAGE_URL=''
++
++ac_unique_file="e_printf.c"
++ac_subst_vars='LTLIBOBJS
++LIBOBJS
++sys_dir
++machine_dir
++libm_machine_dir
++lpfx
++aext
++oext
++OBJEXT
++USE_LIBTOOL_FALSE
++USE_LIBTOOL_TRUE
++ELIX_LEVEL_4_FALSE
++ELIX_LEVEL_4_TRUE
++ELIX_LEVEL_3_FALSE
++ELIX_LEVEL_3_TRUE
++ELIX_LEVEL_2_FALSE
++ELIX_LEVEL_2_TRUE
++ELIX_LEVEL_1_FALSE
++ELIX_LEVEL_1_TRUE
++ELIX_LEVEL_0_FALSE
++ELIX_LEVEL_0_TRUE
++LDFLAGS
++NO_INCLUDE_LIST
++NEWLIB_CFLAGS
++CCASFLAGS
++CCAS
++MAINT
++MAINTAINER_MODE_FALSE
++MAINTAINER_MODE_TRUE
++READELF
++RANLIB
++AR
++AS
++am__fastdepCC_FALSE
++am__fastdepCC_TRUE
++CCDEPMODE
++AMDEPBACKSLASH
++AMDEP_FALSE
++AMDEP_TRUE
++am__quote
++am__include
++DEPDIR
++CC
++am__untar
++am__tar
++AMTAR
++am__leading_dot
++SET_MAKE
++AWK
++mkdir_p
++MKDIR_P
++INSTALL_STRIP_PROGRAM
++STRIP
++install_sh
++MAKEINFO
++AUTOHEADER
++AUTOMAKE
++AUTOCONF
++ACLOCAL
++VERSION
++PACKAGE
++CYGPATH_W
++am__isrc
++INSTALL_DATA
++INSTALL_SCRIPT
++INSTALL_PROGRAM
++host_os
++host_vendor
++host_cpu
++host
++build_os
++build_vendor
++build_cpu
++build
++newlib_basedir
++MAY_SUPPLY_SYSCALLS_FALSE
++MAY_SUPPLY_SYSCALLS_TRUE
++target_alias
++host_alias
++build_alias
++LIBS
++ECHO_T
++ECHO_N
++ECHO_C
++DEFS
++mandir
++localedir
++libdir
++psdir
++pdfdir
++dvidir
++htmldir
++infodir
++docdir
++oldincludedir
++includedir
++localstatedir
++sharedstatedir
++sysconfdir
++datadir
++datarootdir
++libexecdir
++sbindir
++bindir
++program_transform_name
++prefix
++exec_prefix
++PACKAGE_URL
++PACKAGE_BUGREPORT
++PACKAGE_STRING
++PACKAGE_VERSION
++PACKAGE_TARNAME
++PACKAGE_NAME
++PATH_SEPARATOR
++SHELL'
++ac_subst_files=''
++ac_user_opts='
++enable_option_checking
++enable_multilib
++enable_target_optspace
++enable_malloc_debugging
++enable_newlib_multithread
++enable_newlib_iconv
++enable_newlib_elix_level
++enable_newlib_io_float
++enable_newlib_supplied_syscalls
++enable_dependency_tracking
++enable_maintainer_mode
++'
++ ac_precious_vars='build_alias
++host_alias
++target_alias
++CCAS
++CCASFLAGS'
++
++
++# Initialize some variables set by options.
++ac_init_help=
++ac_init_version=false
++ac_unrecognized_opts=
++ac_unrecognized_sep=
++# The variables have the same names as the options, with
++# dashes changed to underlines.
++cache_file=/dev/null
++exec_prefix=NONE
++no_create=
++no_recursion=
++prefix=NONE
++program_prefix=NONE
++program_suffix=NONE
++program_transform_name=s,x,x,
++silent=
++site=
++srcdir=
++verbose=
++x_includes=NONE
++x_libraries=NONE
++
++# Installation directory options.
++# These are left unexpanded so users can "make install exec_prefix=/foo"
++# and all the variables that are supposed to be based on exec_prefix
++# by default will actually change.
++# Use braces instead of parens because sh, perl, etc. also accept them.
++# (The list follows the same order as the GNU Coding Standards.)
++bindir='${exec_prefix}/bin'
++sbindir='${exec_prefix}/sbin'
++libexecdir='${exec_prefix}/libexec'
++datarootdir='${prefix}/share'
++datadir='${datarootdir}'
++sysconfdir='${prefix}/etc'
++sharedstatedir='${prefix}/com'
++localstatedir='${prefix}/var'
++includedir='${prefix}/include'
++oldincludedir='/usr/include'
++docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
++infodir='${datarootdir}/info'
++htmldir='${docdir}'
++dvidir='${docdir}'
++pdfdir='${docdir}'
++psdir='${docdir}'
++libdir='${exec_prefix}/lib'
++localedir='${datarootdir}/locale'
++mandir='${datarootdir}/man'
++
++ac_prev=
++ac_dashdash=
++for ac_option
++do
++ # If the previous option needs an argument, assign it.
++ if test -n "$ac_prev"; then
++ eval $ac_prev=\$ac_option
++ ac_prev=
++ continue
++ fi
++
++ case $ac_option in
++ *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
++ *=) ac_optarg= ;;
++ *) ac_optarg=yes ;;
++ esac
++
++ # Accept the important Cygnus configure options, so we can diagnose typos.
++
++ case $ac_dashdash$ac_option in
++ --)
++ ac_dashdash=yes ;;
++
++ -bindir | --bindir | --bindi | --bind | --bin | --bi)
++ ac_prev=bindir ;;
++ -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
++ bindir=$ac_optarg ;;
++
++ -build | --build | --buil | --bui | --bu)
++ ac_prev=build_alias ;;
++ -build=* | --build=* | --buil=* | --bui=* | --bu=*)
++ build_alias=$ac_optarg ;;
++
++ -cache-file | --cache-file | --cache-fil | --cache-fi \
++ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
++ ac_prev=cache_file ;;
++ -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
++ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
++ cache_file=$ac_optarg ;;
++
++ --config-cache | -C)
++ cache_file=config.cache ;;
++
++ -datadir | --datadir | --datadi | --datad)
++ ac_prev=datadir ;;
++ -datadir=* | --datadir=* | --datadi=* | --datad=*)
++ datadir=$ac_optarg ;;
++
++ -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
++ | --dataroo | --dataro | --datar)
++ ac_prev=datarootdir ;;
++ -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
++ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
++ datarootdir=$ac_optarg ;;
++
++ -disable-* | --disable-*)
++ ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
++ # Reject names that are not valid shell variable names.
++ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
++ as_fn_error $? "invalid feature name: $ac_useropt"
++ ac_useropt_orig=$ac_useropt
++ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
++ case $ac_user_opts in
++ *"
++"enable_$ac_useropt"
++"*) ;;
++ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
++ ac_unrecognized_sep=', ';;
++ esac
++ eval enable_$ac_useropt=no ;;
++
++ -docdir | --docdir | --docdi | --doc | --do)
++ ac_prev=docdir ;;
++ -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
++ docdir=$ac_optarg ;;
++
++ -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
++ ac_prev=dvidir ;;
++ -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
++ dvidir=$ac_optarg ;;
++
++ -enable-* | --enable-*)
++ ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
++ # Reject names that are not valid shell variable names.
++ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
++ as_fn_error $? "invalid feature name: $ac_useropt"
++ ac_useropt_orig=$ac_useropt
++ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
++ case $ac_user_opts in
++ *"
++"enable_$ac_useropt"
++"*) ;;
++ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
++ ac_unrecognized_sep=', ';;
++ esac
++ eval enable_$ac_useropt=\$ac_optarg ;;
++
++ -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
++ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
++ | --exec | --exe | --ex)
++ ac_prev=exec_prefix ;;
++ -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
++ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
++ | --exec=* | --exe=* | --ex=*)
++ exec_prefix=$ac_optarg ;;
++
++ -gas | --gas | --ga | --g)
++ # Obsolete; use --with-gas.
++ with_gas=yes ;;
++
++ -help | --help | --hel | --he | -h)
++ ac_init_help=long ;;
++ -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
++ ac_init_help=recursive ;;
++ -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
++ ac_init_help=short ;;
++
++ -host | --host | --hos | --ho)
++ ac_prev=host_alias ;;
++ -host=* | --host=* | --hos=* | --ho=*)
++ host_alias=$ac_optarg ;;
++
++ -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
++ ac_prev=htmldir ;;
++ -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
++ | --ht=*)
++ htmldir=$ac_optarg ;;
++
++ -includedir | --includedir | --includedi | --included | --include \
++ | --includ | --inclu | --incl | --inc)
++ ac_prev=includedir ;;
++ -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
++ | --includ=* | --inclu=* | --incl=* | --inc=*)
++ includedir=$ac_optarg ;;
++
++ -infodir | --infodir | --infodi | --infod | --info | --inf)
++ ac_prev=infodir ;;
++ -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
++ infodir=$ac_optarg ;;
++
++ -libdir | --libdir | --libdi | --libd)
++ ac_prev=libdir ;;
++ -libdir=* | --libdir=* | --libdi=* | --libd=*)
++ libdir=$ac_optarg ;;
++
++ -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
++ | --libexe | --libex | --libe)
++ ac_prev=libexecdir ;;
++ -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
++ | --libexe=* | --libex=* | --libe=*)
++ libexecdir=$ac_optarg ;;
++
++ -localedir | --localedir | --localedi | --localed | --locale)
++ ac_prev=localedir ;;
++ -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
++ localedir=$ac_optarg ;;
++
++ -localstatedir | --localstatedir | --localstatedi | --localstated \
++ | --localstate | --localstat | --localsta | --localst | --locals)
++ ac_prev=localstatedir ;;
++ -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
++ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
++ localstatedir=$ac_optarg ;;
++
++ -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
++ ac_prev=mandir ;;
++ -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
++ mandir=$ac_optarg ;;
++
++ -nfp | --nfp | --nf)
++ # Obsolete; use --without-fp.
++ with_fp=no ;;
++
++ -no-create | --no-create | --no-creat | --no-crea | --no-cre \
++ | --no-cr | --no-c | -n)
++ no_create=yes ;;
++
++ -no-recursion | --no-recursion | --no-recursio | --no-recursi \
++ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
++ no_recursion=yes ;;
++
++ -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
++ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
++ | --oldin | --oldi | --old | --ol | --o)
++ ac_prev=oldincludedir ;;
++ -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
++ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
++ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
++ oldincludedir=$ac_optarg ;;
++
++ -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
++ ac_prev=prefix ;;
++ -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
++ prefix=$ac_optarg ;;
++
++ -program-prefix | --program-prefix | --program-prefi | --program-pref \
++ | --program-pre | --program-pr | --program-p)
++ ac_prev=program_prefix ;;
++ -program-prefix=* | --program-prefix=* | --program-prefi=* \
++ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
++ program_prefix=$ac_optarg ;;
++
++ -program-suffix | --program-suffix | --program-suffi | --program-suff \
++ | --program-suf | --program-su | --program-s)
++ ac_prev=program_suffix ;;
++ -program-suffix=* | --program-suffix=* | --program-suffi=* \
++ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
++ program_suffix=$ac_optarg ;;
++
++ -program-transform-name | --program-transform-name \
++ | --program-transform-nam | --program-transform-na \
++ | --program-transform-n | --program-transform- \
++ | --program-transform | --program-transfor \
++ | --program-transfo | --program-transf \
++ | --program-trans | --program-tran \
++ | --progr-tra | --program-tr | --program-t)
++ ac_prev=program_transform_name ;;
++ -program-transform-name=* | --program-transform-name=* \
++ | --program-transform-nam=* | --program-transform-na=* \
++ | --program-transform-n=* | --program-transform-=* \
++ | --program-transform=* | --program-transfor=* \
++ | --program-transfo=* | --program-transf=* \
++ | --program-trans=* | --program-tran=* \
++ | --progr-tra=* | --program-tr=* | --program-t=*)
++ program_transform_name=$ac_optarg ;;
++
++ -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
++ ac_prev=pdfdir ;;
++ -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
++ pdfdir=$ac_optarg ;;
++
++ -psdir | --psdir | --psdi | --psd | --ps)
++ ac_prev=psdir ;;
++ -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
++ psdir=$ac_optarg ;;
++
++ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
++ | -silent | --silent | --silen | --sile | --sil)
++ silent=yes ;;
++
++ -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
++ ac_prev=sbindir ;;
++ -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
++ | --sbi=* | --sb=*)
++ sbindir=$ac_optarg ;;
++
++ -sharedstatedir | --sharedstatedir | --sharedstatedi \
++ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
++ | --sharedst | --shareds | --shared | --share | --shar \
++ | --sha | --sh)
++ ac_prev=sharedstatedir ;;
++ -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
++ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
++ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
++ | --sha=* | --sh=*)
++ sharedstatedir=$ac_optarg ;;
++
++ -site | --site | --sit)
++ ac_prev=site ;;
++ -site=* | --site=* | --sit=*)
++ site=$ac_optarg ;;
++
++ -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
++ ac_prev=srcdir ;;
++ -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
++ srcdir=$ac_optarg ;;
++
++ -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
++ | --syscon | --sysco | --sysc | --sys | --sy)
++ ac_prev=sysconfdir ;;
++ -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
++ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
++ sysconfdir=$ac_optarg ;;
++
++ -target | --target | --targe | --targ | --tar | --ta | --t)
++ ac_prev=target_alias ;;
++ -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
++ target_alias=$ac_optarg ;;
++
++ -v | -verbose | --verbose | --verbos | --verbo | --verb)
++ verbose=yes ;;
++
++ -version | --version | --versio | --versi | --vers | -V)
++ ac_init_version=: ;;
++
++ -with-* | --with-*)
++ ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
++ # Reject names that are not valid shell variable names.
++ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
++ as_fn_error $? "invalid package name: $ac_useropt"
++ ac_useropt_orig=$ac_useropt
++ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
++ case $ac_user_opts in
++ *"
++"with_$ac_useropt"
++"*) ;;
++ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
++ ac_unrecognized_sep=', ';;
++ esac
++ eval with_$ac_useropt=\$ac_optarg ;;
++
++ -without-* | --without-*)
++ ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
++ # Reject names that are not valid shell variable names.
++ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
++ as_fn_error $? "invalid package name: $ac_useropt"
++ ac_useropt_orig=$ac_useropt
++ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
++ case $ac_user_opts in
++ *"
++"with_$ac_useropt"
++"*) ;;
++ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
++ ac_unrecognized_sep=', ';;
++ esac
++ eval with_$ac_useropt=no ;;
++
++ --x)
++ # Obsolete; use --with-x.
++ with_x=yes ;;
++
++ -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
++ | --x-incl | --x-inc | --x-in | --x-i)
++ ac_prev=x_includes ;;
++ -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
++ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
++ x_includes=$ac_optarg ;;
++
++ -x-libraries | --x-libraries | --x-librarie | --x-librari \
++ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
++ ac_prev=x_libraries ;;
++ -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
++ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
++ x_libraries=$ac_optarg ;;
++
++ -*) as_fn_error $? "unrecognized option: \`$ac_option'
++Try \`$0 --help' for more information"
++ ;;
++
++ *=*)
++ ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
++ # Reject names that are not valid shell variable names.
++ case $ac_envvar in #(
++ '' | [0-9]* | *[!_$as_cr_alnum]* )
++ as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
++ esac
++ eval $ac_envvar=\$ac_optarg
++ export $ac_envvar ;;
++
++ *)
++ # FIXME: should be removed in autoconf 3.0.
++ $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
++ expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
++ $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
++ : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
++ ;;
++
++ esac
++done
++
++if test -n "$ac_prev"; then
++ ac_option=--`echo $ac_prev | sed 's/_/-/g'`
++ as_fn_error $? "missing argument to $ac_option"
++fi
++
++if test -n "$ac_unrecognized_opts"; then
++ case $enable_option_checking in
++ no) ;;
++ fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
++ *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
++ esac
++fi
++
++# Check all directory arguments for consistency.
++for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
++ datadir sysconfdir sharedstatedir localstatedir includedir \
++ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
++ libdir localedir mandir
++do
++ eval ac_val=\$$ac_var
++ # Remove trailing slashes.
++ case $ac_val in
++ */ )
++ ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
++ eval $ac_var=\$ac_val;;
++ esac
++ # Be sure to have absolute directory names.
++ case $ac_val in
++ [\\/$]* | ?:[\\/]* ) continue;;
++ NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
++ esac
++ as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
++done
++
++# There might be people who depend on the old broken behavior: `$host'
++# used to hold the argument of --host etc.
++# FIXME: To remove some day.
++build=$build_alias
++host=$host_alias
++target=$target_alias
++
++# FIXME: To remove some day.
++if test "x$host_alias" != x; then
++ if test "x$build_alias" = x; then
++ cross_compiling=maybe
++ $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
++ If a cross compiler is detected then cross compile mode will be used" >&2
++ elif test "x$build_alias" != "x$host_alias"; then
++ cross_compiling=yes
++ fi
++fi
++
++ac_tool_prefix=
++test -n "$host_alias" && ac_tool_prefix=$host_alias-
++
++test "$silent" = yes && exec 6>/dev/null
++
++
++ac_pwd=`pwd` && test -n "$ac_pwd" &&
++ac_ls_di=`ls -di .` &&
++ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
++ as_fn_error $? "working directory cannot be determined"
++test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
++ as_fn_error $? "pwd does not report name of working directory"
++
++
++# Find the source files, if location was not specified.
++if test -z "$srcdir"; then
++ ac_srcdir_defaulted=yes
++ # Try the directory containing this script, then the parent directory.
++ ac_confdir=`$as_dirname -- "$as_myself" ||
++$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
++ X"$as_myself" : 'X\(//\)[^/]' \| \
++ X"$as_myself" : 'X\(//\)$' \| \
++ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
++$as_echo X"$as_myself" |
++ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
++ s//\1/
++ q
++ }
++ /^X\(\/\/\)[^/].*/{
++ s//\1/
++ q
++ }
++ /^X\(\/\/\)$/{
++ s//\1/
++ q
++ }
++ /^X\(\/\).*/{
++ s//\1/
++ q
++ }
++ s/.*/./; q'`
++ srcdir=$ac_confdir
++ if test ! -r "$srcdir/$ac_unique_file"; then
++ srcdir=..
++ fi
++else
++ ac_srcdir_defaulted=no
++fi
++if test ! -r "$srcdir/$ac_unique_file"; then
++ test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
++ as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
++fi
++ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
++ac_abs_confdir=`(
++ cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
++ pwd)`
++# When building in place, set srcdir=.
++if test "$ac_abs_confdir" = "$ac_pwd"; then
++ srcdir=.
++fi
++# Remove unnecessary trailing slashes from srcdir.
++# Double slashes in file names in object file debugging info
++# mess up M-x gdb in Emacs.
++case $srcdir in
++*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
++esac
++for ac_var in $ac_precious_vars; do
++ eval ac_env_${ac_var}_set=\${${ac_var}+set}
++ eval ac_env_${ac_var}_value=\$${ac_var}
++ eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
++ eval ac_cv_env_${ac_var}_value=\$${ac_var}
++done
++
++#
++# Report the --help message.
++#
++if test "$ac_init_help" = "long"; then
++ # Omit some internal or obsolete options to make the list less imposing.
++ # This message is too long to be a string in the A/UX 3.1 sh.
++ cat <<_ACEOF
++\`configure' configures newlib 1.20.0 to adapt to many kinds of systems.
++
++Usage: $0 [OPTION]... [VAR=VALUE]...
++
++To assign environment variables (e.g., CC, CFLAGS...), specify them as
++VAR=VALUE. See below for descriptions of some of the useful variables.
++
++Defaults for the options are specified in brackets.
++
++Configuration:
++ -h, --help display this help and exit
++ --help=short display options specific to this package
++ --help=recursive display the short help of all the included packages
++ -V, --version display version information and exit
++ -q, --quiet, --silent do not print \`checking ...' messages
++ --cache-file=FILE cache test results in FILE [disabled]
++ -C, --config-cache alias for \`--cache-file=config.cache'
++ -n, --no-create do not create output files
++ --srcdir=DIR find the sources in DIR [configure dir or \`..']
++
++Installation directories:
++ --prefix=PREFIX install architecture-independent files in PREFIX
++ [$ac_default_prefix]
++ --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
++ [PREFIX]
++
++By default, \`make install' will install all the files in
++\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
++an installation prefix other than \`$ac_default_prefix' using \`--prefix',
++for instance \`--prefix=\$HOME'.
++
++For better control, use the options below.
++
++Fine tuning of the installation directories:
++ --bindir=DIR user executables [EPREFIX/bin]
++ --sbindir=DIR system admin executables [EPREFIX/sbin]
++ --libexecdir=DIR program executables [EPREFIX/libexec]
++ --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
++ --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
++ --localstatedir=DIR modifiable single-machine data [PREFIX/var]
++ --libdir=DIR object code libraries [EPREFIX/lib]
++ --includedir=DIR C header files [PREFIX/include]
++ --oldincludedir=DIR C header files for non-gcc [/usr/include]
++ --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
++ --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
++ --infodir=DIR info documentation [DATAROOTDIR/info]
++ --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
++ --mandir=DIR man documentation [DATAROOTDIR/man]
++ --docdir=DIR documentation root [DATAROOTDIR/doc/newlib]
++ --htmldir=DIR html documentation [DOCDIR]
++ --dvidir=DIR dvi documentation [DOCDIR]
++ --pdfdir=DIR pdf documentation [DOCDIR]
++ --psdir=DIR ps documentation [DOCDIR]
++_ACEOF
++
++ cat <<\_ACEOF
++
++Program names:
++ --program-prefix=PREFIX prepend PREFIX to installed program names
++ --program-suffix=SUFFIX append SUFFIX to installed program names
++ --program-transform-name=PROGRAM run sed PROGRAM on installed program names
++
++System types:
++ --build=BUILD configure for building on BUILD [guessed]
++ --host=HOST cross-compile to build programs to run on HOST [BUILD]
++_ACEOF
++fi
++
++if test -n "$ac_init_help"; then
++ case $ac_init_help in
++ short | recursive ) echo "Configuration of newlib 1.20.0:";;
++ esac
++ cat <<\_ACEOF
++
++Optional Features:
++ --disable-option-checking ignore unrecognized --enable/--with options
++ --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
++ --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
++ --enable-multilib build many library versions (default)
++ --enable-target-optspace optimize for space
++ --enable-malloc-debugging indicate malloc debugging requested
++ --enable-newlib-multithread enable support for multiple threads
++ --enable-newlib-iconv enable iconv library support
++ --enable-newlib-elix-level supply desired elix library level (1-4)
++ --disable-newlib-io-float disable printf/scanf family float support
++ --disable-newlib-supplied-syscalls disable newlib from supplying syscalls
++ --disable-dependency-tracking speeds up one-time build
++ --enable-dependency-tracking do not reject slow dependency extractors
++ --enable-maintainer-mode enable make rules and dependencies not useful
++ (and sometimes confusing) to the casual installer
++
++Some influential environment variables:
++ CCAS assembler compiler command (defaults to CC)
++ CCASFLAGS assembler compiler flags (defaults to CFLAGS)
++
++Use these variables to override the choices made by `configure' or to help
++it to find libraries and programs with nonstandard names/locations.
++
++Report bugs to the package provider.
++_ACEOF
++ac_status=$?
++fi
++
++if test "$ac_init_help" = "recursive"; then
++ # If there are subdirs, report their specific --help.
++ for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
++ test -d "$ac_dir" ||
++ { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
++ continue
++ ac_builddir=.
++
++case "$ac_dir" in
++.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
++*)
++ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
++ # A ".." for each directory in $ac_dir_suffix.
++ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
++ case $ac_top_builddir_sub in
++ "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
++ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
++ esac ;;
++esac
++ac_abs_top_builddir=$ac_pwd
++ac_abs_builddir=$ac_pwd$ac_dir_suffix
++# for backward compatibility:
++ac_top_builddir=$ac_top_build_prefix
++
++case $srcdir in
++ .) # We are building in place.
++ ac_srcdir=.
++ ac_top_srcdir=$ac_top_builddir_sub
++ ac_abs_top_srcdir=$ac_pwd ;;
++ [\\/]* | ?:[\\/]* ) # Absolute name.
++ ac_srcdir=$srcdir$ac_dir_suffix;
++ ac_top_srcdir=$srcdir
++ ac_abs_top_srcdir=$srcdir ;;
++ *) # Relative name.
++ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
++ ac_top_srcdir=$ac_top_build_prefix$srcdir
++ ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
++esac
++ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
++
++ cd "$ac_dir" || { ac_status=$?; continue; }
++ # Check for guested configure.
++ if test -f "$ac_srcdir/configure.gnu"; then
++ echo &&
++ $SHELL "$ac_srcdir/configure.gnu" --help=recursive
++ elif test -f "$ac_srcdir/configure"; then
++ echo &&
++ $SHELL "$ac_srcdir/configure" --help=recursive
++ else
++ $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
++ fi || ac_status=$?
++ cd "$ac_pwd" || { ac_status=$?; break; }
++ done
++fi
++
++test -n "$ac_init_help" && exit $ac_status
++if $ac_init_version; then
++ cat <<\_ACEOF
++newlib configure 1.20.0
++generated by GNU Autoconf 2.68
++
++Copyright (C) 2010 Free Software Foundation, Inc.
++This configure script is free software; the Free Software Foundation
++gives unlimited permission to copy, distribute and modify it.
++_ACEOF
++ exit
++fi
++
++## ------------------------ ##
++## Autoconf initialization. ##
++## ------------------------ ##
++
++# ac_fn_c_try_compile LINENO
++# --------------------------
++# Try to compile conftest.$ac_ext, and return whether this succeeded.
++ac_fn_c_try_compile ()
++{
++ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
++ rm -f conftest.$ac_objext
++ if { { ac_try="$ac_compile"
++case "(($ac_try" in
++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
++ *) ac_try_echo=$ac_try;;
++esac
++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
++$as_echo "$ac_try_echo"; } >&5
++ (eval "$ac_compile") 2>conftest.err
++ ac_status=$?
++ if test -s conftest.err; then
++ grep -v '^ *+' conftest.err >conftest.er1
++ cat conftest.er1 >&5
++ mv -f conftest.er1 conftest.err
++ fi
++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
++ test $ac_status = 0; } && {
++ test -z "$ac_c_werror_flag" ||
++ test ! -s conftest.err
++ } && test -s conftest.$ac_objext; then :
++ ac_retval=0
++else
++ $as_echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ ac_retval=1
++fi
++ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
++ as_fn_set_status $ac_retval
++
++} # ac_fn_c_try_compile
++cat >config.log <<_ACEOF
++This file contains any messages produced by compilers while
++running configure, to aid debugging if configure makes a mistake.
++
++It was created by newlib $as_me 1.20.0, which was
++generated by GNU Autoconf 2.68. Invocation command line was
++
++ $ $0 $@
++
++_ACEOF
++exec 5>>config.log
++{
++cat <<_ASUNAME
++## --------- ##
++## Platform. ##
++## --------- ##
++
++hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
++uname -m = `(uname -m) 2>/dev/null || echo unknown`
++uname -r = `(uname -r) 2>/dev/null || echo unknown`
++uname -s = `(uname -s) 2>/dev/null || echo unknown`
++uname -v = `(uname -v) 2>/dev/null || echo unknown`
++
++/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
++/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
++
++/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
++/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
++/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
++/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
++/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
++/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
++/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
++
++_ASUNAME
++
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ $as_echo "PATH: $as_dir"
++ done
++IFS=$as_save_IFS
++
++} >&5
++
++cat >&5 <<_ACEOF
++
++
++## ----------- ##
++## Core tests. ##
++## ----------- ##
++
++_ACEOF
++
++
++# Keep a trace of the command line.
++# Strip out --no-create and --no-recursion so they do not pile up.
++# Strip out --silent because we don't want to record it for future runs.
++# Also quote any args containing shell meta-characters.
++# Make two passes to allow for proper duplicate-argument suppression.
++ac_configure_args=
++ac_configure_args0=
++ac_configure_args1=
++ac_must_keep_next=false
++for ac_pass in 1 2
++do
++ for ac_arg
++ do
++ case $ac_arg in
++ -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
++ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
++ | -silent | --silent | --silen | --sile | --sil)
++ continue ;;
++ *\'*)
++ ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
++ esac
++ case $ac_pass in
++ 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
++ 2)
++ as_fn_append ac_configure_args1 " '$ac_arg'"
++ if test $ac_must_keep_next = true; then
++ ac_must_keep_next=false # Got value, back to normal.
++ else
++ case $ac_arg in
++ *=* | --config-cache | -C | -disable-* | --disable-* \
++ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
++ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
++ | -with-* | --with-* | -without-* | --without-* | --x)
++ case "$ac_configure_args0 " in
++ "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
++ esac
++ ;;
++ -* ) ac_must_keep_next=true ;;
++ esac
++ fi
++ as_fn_append ac_configure_args " '$ac_arg'"
++ ;;
++ esac
++ done
++done
++{ ac_configure_args0=; unset ac_configure_args0;}
++{ ac_configure_args1=; unset ac_configure_args1;}
++
++# When interrupted or exit'd, cleanup temporary files, and complete
++# config.log. We remove comments because anyway the quotes in there
++# would cause problems or look ugly.
++# WARNING: Use '\'' to represent an apostrophe within the trap.
++# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
++trap 'exit_status=$?
++ # Save into config.log some information that might help in debugging.
++ {
++ echo
++
++ $as_echo "## ---------------- ##
++## Cache variables. ##
++## ---------------- ##"
++ echo
++ # The following way of writing the cache mishandles newlines in values,
++(
++ for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
++ eval ac_val=\$$ac_var
++ case $ac_val in #(
++ *${as_nl}*)
++ case $ac_var in #(
++ *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
++$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
++ esac
++ case $ac_var in #(
++ _ | IFS | as_nl) ;; #(
++ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
++ *) { eval $ac_var=; unset $ac_var;} ;;
++ esac ;;
++ esac
++ done
++ (set) 2>&1 |
++ case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
++ *${as_nl}ac_space=\ *)
++ sed -n \
++ "s/'\''/'\''\\\\'\'''\''/g;
++ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
++ ;; #(
++ *)
++ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
++ ;;
++ esac |
++ sort
++)
++ echo
++
++ $as_echo "## ----------------- ##
++## Output variables. ##
++## ----------------- ##"
++ echo
++ for ac_var in $ac_subst_vars
++ do
++ eval ac_val=\$$ac_var
++ case $ac_val in
++ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
++ esac
++ $as_echo "$ac_var='\''$ac_val'\''"
++ done | sort
++ echo
++
++ if test -n "$ac_subst_files"; then
++ $as_echo "## ------------------- ##
++## File substitutions. ##
++## ------------------- ##"
++ echo
++ for ac_var in $ac_subst_files
++ do
++ eval ac_val=\$$ac_var
++ case $ac_val in
++ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
++ esac
++ $as_echo "$ac_var='\''$ac_val'\''"
++ done | sort
++ echo
++ fi
++
++ if test -s confdefs.h; then
++ $as_echo "## ----------- ##
++## confdefs.h. ##
++## ----------- ##"
++ echo
++ cat confdefs.h
++ echo
++ fi
++ test "$ac_signal" != 0 &&
++ $as_echo "$as_me: caught signal $ac_signal"
++ $as_echo "$as_me: exit $exit_status"
++ } >&5
++ rm -f core *.core core.conftest.* &&
++ rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
++ exit $exit_status
++' 0
++for ac_signal in 1 2 13 15; do
++ trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
++done
++ac_signal=0
++
++# confdefs.h avoids OS command line length limits that DEFS can exceed.
++rm -f -r conftest* confdefs.h
++
++$as_echo "/* confdefs.h */" > confdefs.h
++
++# Predefined preprocessor variables.
++
++cat >>confdefs.h <<_ACEOF
++#define PACKAGE_NAME "$PACKAGE_NAME"
++_ACEOF
++
++cat >>confdefs.h <<_ACEOF
++#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
++_ACEOF
++
++cat >>confdefs.h <<_ACEOF
++#define PACKAGE_VERSION "$PACKAGE_VERSION"
++_ACEOF
++
++cat >>confdefs.h <<_ACEOF
++#define PACKAGE_STRING "$PACKAGE_STRING"
++_ACEOF
++
++cat >>confdefs.h <<_ACEOF
++#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
++_ACEOF
++
++cat >>confdefs.h <<_ACEOF
++#define PACKAGE_URL "$PACKAGE_URL"
++_ACEOF
++
++
++# Let the site file select an alternate cache file if it wants to.
++# Prefer an explicitly selected file to automatically selected ones.
++ac_site_file1=NONE
++ac_site_file2=NONE
++if test -n "$CONFIG_SITE"; then
++ # We do not want a PATH search for config.site.
++ case $CONFIG_SITE in #((
++ -*) ac_site_file1=./$CONFIG_SITE;;
++ */*) ac_site_file1=$CONFIG_SITE;;
++ *) ac_site_file1=./$CONFIG_SITE;;
++ esac
++elif test "x$prefix" != xNONE; then
++ ac_site_file1=$prefix/share/config.site
++ ac_site_file2=$prefix/etc/config.site
++else
++ ac_site_file1=$ac_default_prefix/share/config.site
++ ac_site_file2=$ac_default_prefix/etc/config.site
++fi
++for ac_site_file in "$ac_site_file1" "$ac_site_file2"
++do
++ test "x$ac_site_file" = xNONE && continue
++ if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
++$as_echo "$as_me: loading site script $ac_site_file" >&6;}
++ sed 's/^/| /' "$ac_site_file" >&5
++ . "$ac_site_file" \
++ || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
++$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
++as_fn_error $? "failed to load site script $ac_site_file
++See \`config.log' for more details" "$LINENO" 5; }
++ fi
++done
++
++if test -r "$cache_file"; then
++ # Some versions of bash will fail to source /dev/null (special files
++ # actually), so we avoid doing that. DJGPP emulates it as a regular file.
++ if test /dev/null != "$cache_file" && test -f "$cache_file"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
++$as_echo "$as_me: loading cache $cache_file" >&6;}
++ case $cache_file in
++ [\\/]* | ?:[\\/]* ) . "$cache_file";;
++ *) . "./$cache_file";;
++ esac
++ fi
++else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
++$as_echo "$as_me: creating cache $cache_file" >&6;}
++ >$cache_file
++fi
++
++# Check that the precious variables saved in the cache have kept the same
++# value.
++ac_cache_corrupted=false
++for ac_var in $ac_precious_vars; do
++ eval ac_old_set=\$ac_cv_env_${ac_var}_set
++ eval ac_new_set=\$ac_env_${ac_var}_set
++ eval ac_old_val=\$ac_cv_env_${ac_var}_value
++ eval ac_new_val=\$ac_env_${ac_var}_value
++ case $ac_old_set,$ac_new_set in
++ set,)
++ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
++$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
++ ac_cache_corrupted=: ;;
++ ,set)
++ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
++$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
++ ac_cache_corrupted=: ;;
++ ,);;
++ *)
++ if test "x$ac_old_val" != "x$ac_new_val"; then
++ # differences in whitespace do not lead to failure.
++ ac_old_val_w=`echo x $ac_old_val`
++ ac_new_val_w=`echo x $ac_new_val`
++ if test "$ac_old_val_w" != "$ac_new_val_w"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
++$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
++ ac_cache_corrupted=:
++ else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
++$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
++ eval $ac_var=\$ac_old_val
++ fi
++ { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
++$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
++ { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
++$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
++ fi;;
++ esac
++ # Pass precious variables to config.status.
++ if test "$ac_new_set" = set; then
++ case $ac_new_val in
++ *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
++ *) ac_arg=$ac_var=$ac_new_val ;;
++ esac
++ case " $ac_configure_args " in
++ *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
++ *) as_fn_append ac_configure_args " '$ac_arg'" ;;
++ esac
++ fi
++done
++if $ac_cache_corrupted; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
++$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
++ { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
++$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
++ as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
++fi
++## -------------------- ##
++## Main body of script. ##
++## -------------------- ##
++
++ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++
++
++
++
++ac_aux_dir=
++for ac_dir in ../../../.. "$srcdir"/../../../..; do
++ if test -f "$ac_dir/install-sh"; then
++ ac_aux_dir=$ac_dir
++ ac_install_sh="$ac_aux_dir/install-sh -c"
++ break
++ elif test -f "$ac_dir/install.sh"; then
++ ac_aux_dir=$ac_dir
++ ac_install_sh="$ac_aux_dir/install.sh -c"
++ break
++ elif test -f "$ac_dir/shtool"; then
++ ac_aux_dir=$ac_dir
++ ac_install_sh="$ac_aux_dir/shtool install -c"
++ break
++ fi
++done
++if test -z "$ac_aux_dir"; then
++ as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../../../.. \"$srcdir\"/../../../.." "$LINENO" 5
++fi
++
++# These three variables are undocumented and unsupported,
++# and are intended to be withdrawn in a future Autoconf release.
++# They can cause serious problems if a builder's source tree is in a directory
++# whose full name contains unusual characters.
++ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
++ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
++ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
++
++
++
++
++# Make sure we can run config.sub.
++$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
++ as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
++
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
++$as_echo_n "checking build system type... " >&6; }
++if ${ac_cv_build+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ ac_build_alias=$build_alias
++test "x$ac_build_alias" = x &&
++ ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
++test "x$ac_build_alias" = x &&
++ as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
++ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
++ as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
++
++fi
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
++$as_echo "$ac_cv_build" >&6; }
++case $ac_cv_build in
++*-*-*) ;;
++*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
++esac
++build=$ac_cv_build
++ac_save_IFS=$IFS; IFS='-'
++set x $ac_cv_build
++shift
++build_cpu=$1
++build_vendor=$2
++shift; shift
++# Remember, the first character of IFS is used to create $*,
++# except with old shells:
++build_os=$*
++IFS=$ac_save_IFS
++case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
++
++
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
++$as_echo_n "checking host system type... " >&6; }
++if ${ac_cv_host+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ if test "x$host_alias" = x; then
++ ac_cv_host=$ac_cv_build
++else
++ ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
++ as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
++fi
++
++fi
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
++$as_echo "$ac_cv_host" >&6; }
++case $ac_cv_host in
++*-*-*) ;;
++*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
++esac
++host=$ac_cv_host
++ac_save_IFS=$IFS; IFS='-'
++set x $ac_cv_host
++shift
++host_cpu=$1
++host_vendor=$2
++shift; shift
++# Remember, the first character of IFS is used to create $*,
++# except with old shells:
++host_os=$*
++IFS=$ac_save_IFS
++case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
++
++
++am__api_version='1.11'
++
++# Find a good install program. We prefer a C program (faster),
++# so one script is as good as another. But avoid the broken or
++# incompatible versions:
++# SysV /etc/install, /usr/sbin/install
++# SunOS /usr/etc/install
++# IRIX /sbin/install
++# AIX /bin/install
++# AmigaOS /C/install, which installs bootblocks on floppy discs
++# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
++# AFS /usr/afsws/bin/install, which mishandles nonexistent args
++# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
++# OS/2's system install, which has a completely different semantic
++# ./install, which can be erroneously created by make from ./install.sh.
++# Reject install programs that cannot install multiple files.
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
++$as_echo_n "checking for a BSD-compatible install... " >&6; }
++if test -z "$INSTALL"; then
++if ${ac_cv_path_install+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ # Account for people who put trailing slashes in PATH elements.
++case $as_dir/ in #((
++ ./ | .// | /[cC]/* | \
++ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
++ ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
++ /usr/ucb/* ) ;;
++ *)
++ # OSF1 and SCO ODT 3.0 have their own names for install.
++ # Don't use installbsd from OSF since it installs stuff as root
++ # by default.
++ for ac_prog in ginstall scoinst install; do
++ for ac_exec_ext in '' $ac_executable_extensions; do
++ if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
++ if test $ac_prog = install &&
++ grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
++ # AIX install. It has an incompatible calling convention.
++ :
++ elif test $ac_prog = install &&
++ grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
++ # program-specific install script used by HP pwplus--don't use.
++ :
++ else
++ rm -rf conftest.one conftest.two conftest.dir
++ echo one > conftest.one
++ echo two > conftest.two
++ mkdir conftest.dir
++ if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
++ test -s conftest.one && test -s conftest.two &&
++ test -s conftest.dir/conftest.one &&
++ test -s conftest.dir/conftest.two
++ then
++ ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
++ break 3
++ fi
++ fi
++ fi
++ done
++ done
++ ;;
++esac
++
++ done
++IFS=$as_save_IFS
++
++rm -rf conftest.one conftest.two conftest.dir
++
++fi
++ if test "${ac_cv_path_install+set}" = set; then
++ INSTALL=$ac_cv_path_install
++ else
++ # As a last resort, use the slow shell script. Don't cache a
++ # value for INSTALL within a source directory, because that will
++ # break other packages using the cache if that directory is
++ # removed, or if the value is a relative name.
++ INSTALL=$ac_install_sh
++ fi
++fi
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
++$as_echo "$INSTALL" >&6; }
++
++# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
++# It thinks the first close brace ends the variable substitution.
++test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
++
++test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
++
++test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
++
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
++$as_echo_n "checking whether build environment is sane... " >&6; }
++# Just in case
++sleep 1
++echo timestamp > conftest.file
++# Reject unsafe characters in $srcdir or the absolute working directory
++# name. Accept space and tab only in the latter.
++am_lf='
++'
++case `pwd` in
++ *[\\\"\#\$\&\'\`$am_lf]*)
++ as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
++esac
++case $srcdir in
++ *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
++ as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
++esac
++
++# Do `set' in a subshell so we don't clobber the current shell's
++# arguments. Must try -L first in case configure is actually a
++# symlink; some systems play weird games with the mod time of symlinks
++# (eg FreeBSD returns the mod time of the symlink's containing
++# directory).
++if (
++ set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
++ if test "$*" = "X"; then
++ # -L didn't work.
++ set X `ls -t "$srcdir/configure" conftest.file`
++ fi
++ rm -f conftest.file
++ if test "$*" != "X $srcdir/configure conftest.file" \
++ && test "$*" != "X conftest.file $srcdir/configure"; then
++
++ # If neither matched, then we have a broken ls. This can happen
++ # if, for instance, CONFIG_SHELL is bash and it inherits a
++ # broken ls alias from the environment. This has actually
++ # happened. Such a system could not be considered "sane".
++ as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
++alias in your environment" "$LINENO" 5
++ fi
++
++ test "$2" = conftest.file
++ )
++then
++ # Ok.
++ :
++else
++ as_fn_error $? "newly created file is older than distributed files!
++Check your system clock" "$LINENO" 5
++fi
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
++$as_echo "yes" >&6; }
++test "$program_prefix" != NONE &&
++ program_transform_name="s&^&$program_prefix&;$program_transform_name"
++# Use a double $ so make ignores it.
++test "$program_suffix" != NONE &&
++ program_transform_name="s&\$&$program_suffix&;$program_transform_name"
++# Double any \ or $.
++# By default was `s,x,x', remove it if useless.
++ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
++program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
++
++# expand $ac_aux_dir to an absolute path
++am_aux_dir=`cd $ac_aux_dir && pwd`
++
++if test x"${MISSING+set}" != xset; then
++ case $am_aux_dir in
++ *\ * | *\ *)
++ MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
++ *)
++ MISSING="\${SHELL} $am_aux_dir/missing" ;;
++ esac
++fi
++# Use eval to expand $SHELL
++if eval "$MISSING --run true"; then
++ am_missing_run="$MISSING --run "
++else
++ am_missing_run=
++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
++$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
++fi
++
++if test x"${install_sh}" != xset; then
++ case $am_aux_dir in
++ *\ * | *\ *)
++ install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
++ *)
++ install_sh="\${SHELL} $am_aux_dir/install-sh"
++ esac
++fi
++
++# Installed binaries are usually stripped using `strip' when the user
++# run `make install-strip'. However `strip' might not be the right
++# tool to use in cross-compilation environments, therefore Automake
++# will honor the `STRIP' environment variable to overrule this program.
++if test "$cross_compiling" != no; then
++ if test -n "$ac_tool_prefix"; then
++ # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
++set dummy ${ac_tool_prefix}strip; ac_word=$2
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
++$as_echo_n "checking for $ac_word... " >&6; }
++if ${ac_cv_prog_STRIP+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ if test -n "$STRIP"; then
++ ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ for ac_exec_ext in '' $ac_executable_extensions; do
++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
++ ac_cv_prog_STRIP="${ac_tool_prefix}strip"
++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
++ break 2
++ fi
++done
++ done
++IFS=$as_save_IFS
++
++fi
++fi
++STRIP=$ac_cv_prog_STRIP
++if test -n "$STRIP"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
++$as_echo "$STRIP" >&6; }
++else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
++$as_echo "no" >&6; }
++fi
++
++
++fi
++if test -z "$ac_cv_prog_STRIP"; then
++ ac_ct_STRIP=$STRIP
++ # Extract the first word of "strip", so it can be a program name with args.
++set dummy strip; ac_word=$2
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
++$as_echo_n "checking for $ac_word... " >&6; }
++if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ if test -n "$ac_ct_STRIP"; then
++ ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ for ac_exec_ext in '' $ac_executable_extensions; do
++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
++ ac_cv_prog_ac_ct_STRIP="strip"
++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
++ break 2
++ fi
++done
++ done
++IFS=$as_save_IFS
++
++fi
++fi
++ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
++if test -n "$ac_ct_STRIP"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
++$as_echo "$ac_ct_STRIP" >&6; }
++else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
++$as_echo "no" >&6; }
++fi
++
++ if test "x$ac_ct_STRIP" = x; then
++ STRIP=":"
++ else
++ case $cross_compiling:$ac_tool_warned in
++yes:)
++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
++$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
++ac_tool_warned=yes ;;
++esac
++ STRIP=$ac_ct_STRIP
++ fi
++else
++ STRIP="$ac_cv_prog_STRIP"
++fi
++
++fi
++INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
++
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
++$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
++if test -z "$MKDIR_P"; then
++ if ${ac_cv_path_mkdir+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ for ac_prog in mkdir gmkdir; do
++ for ac_exec_ext in '' $ac_executable_extensions; do
++ { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
++ case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
++ 'mkdir (GNU coreutils) '* | \
++ 'mkdir (coreutils) '* | \
++ 'mkdir (fileutils) '4.1*)
++ ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
++ break 3;;
++ esac
++ done
++ done
++ done
++IFS=$as_save_IFS
++
++fi
++
++ test -d ./--version && rmdir ./--version
++ if test "${ac_cv_path_mkdir+set}" = set; then
++ MKDIR_P="$ac_cv_path_mkdir -p"
++ else
++ # As a last resort, use the slow shell script. Don't cache a
++ # value for MKDIR_P within a source directory, because that will
++ # break other packages using the cache if that directory is
++ # removed, or if the value is a relative name.
++ MKDIR_P="$ac_install_sh -d"
++ fi
++fi
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
++$as_echo "$MKDIR_P" >&6; }
++
++mkdir_p="$MKDIR_P"
++case $mkdir_p in
++ [\\/$]* | ?:[\\/]*) ;;
++ */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
++esac
++
++for ac_prog in gawk mawk nawk awk
++do
++ # Extract the first word of "$ac_prog", so it can be a program name with args.
++set dummy $ac_prog; ac_word=$2
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
++$as_echo_n "checking for $ac_word... " >&6; }
++if ${ac_cv_prog_AWK+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ if test -n "$AWK"; then
++ ac_cv_prog_AWK="$AWK" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ for ac_exec_ext in '' $ac_executable_extensions; do
++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
++ ac_cv_prog_AWK="$ac_prog"
++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
++ break 2
++ fi
++done
++ done
++IFS=$as_save_IFS
++
++fi
++fi
++AWK=$ac_cv_prog_AWK
++if test -n "$AWK"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
++$as_echo "$AWK" >&6; }
++else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
++$as_echo "no" >&6; }
++fi
++
++
++ test -n "$AWK" && break
++done
++
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
++$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
++set x ${MAKE-make}
++ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
++if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ cat >conftest.make <<\_ACEOF
++SHELL = /bin/sh
++all:
++ @echo '@@@%%%=$(MAKE)=@@@%%%'
++_ACEOF
++# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
++case `${MAKE-make} -f conftest.make 2>/dev/null` in
++ *@@@%%%=?*=@@@%%%*)
++ eval ac_cv_prog_make_${ac_make}_set=yes;;
++ *)
++ eval ac_cv_prog_make_${ac_make}_set=no;;
++esac
++rm -f conftest.make
++fi
++if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
++$as_echo "yes" >&6; }
++ SET_MAKE=
++else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
++$as_echo "no" >&6; }
++ SET_MAKE="MAKE=${MAKE-make}"
++fi
++
++rm -rf .tst 2>/dev/null
++mkdir .tst 2>/dev/null
++if test -d .tst; then
++ am__leading_dot=.
++else
++ am__leading_dot=_
++fi
++rmdir .tst 2>/dev/null
++
++DEPDIR="${am__leading_dot}deps"
++
++ac_config_commands="$ac_config_commands depfiles"
++
++
++am_make=${MAKE-make}
++cat > confinc << 'END'
++am__doit:
++ @echo this is the am__doit target
++.PHONY: am__doit
++END
++# If we don't find an include directive, just comment out the code.
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
++$as_echo_n "checking for style of include used by $am_make... " >&6; }
++am__include="#"
++am__quote=
++_am_result=none
++# First try GNU make style include.
++echo "include confinc" > confmf
++# Ignore all kinds of additional output from `make'.
++case `$am_make -s -f confmf 2> /dev/null` in #(
++*the\ am__doit\ target*)
++ am__include=include
++ am__quote=
++ _am_result=GNU
++ ;;
++esac
++# Now try BSD make style include.
++if test "$am__include" = "#"; then
++ echo '.include "confinc"' > confmf
++ case `$am_make -s -f confmf 2> /dev/null` in #(
++ *the\ am__doit\ target*)
++ am__include=.include
++ am__quote="\""
++ _am_result=BSD
++ ;;
++ esac
++fi
++
++
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
++$as_echo "$_am_result" >&6; }
++rm -f confinc confmf
++
++# Check whether --enable-dependency-tracking was given.
++if test "${enable_dependency_tracking+set}" = set; then :
++ enableval=$enable_dependency_tracking;
++fi
++
++if test "x$enable_dependency_tracking" != xno; then
++ am_depcomp="$ac_aux_dir/depcomp"
++ AMDEPBACKSLASH='\'
++fi
++ if test "x$enable_dependency_tracking" != xno; then
++ AMDEP_TRUE=
++ AMDEP_FALSE='#'
++else
++ AMDEP_TRUE='#'
++ AMDEP_FALSE=
++fi
++
++
++
++# Check whether --enable-multilib was given.
++if test "${enable_multilib+set}" = set; then :
++ enableval=$enable_multilib; case "${enableval}" in
++ yes) multilib=yes ;;
++ no) multilib=no ;;
++ *) as_fn_error $? "bad value ${enableval} for multilib option" "$LINENO" 5 ;;
++ esac
++else
++ multilib=yes
++fi
++
++# Check whether --enable-target-optspace was given.
++if test "${enable_target_optspace+set}" = set; then :
++ enableval=$enable_target_optspace; case "${enableval}" in
++ yes) target_optspace=yes ;;
++ no) target_optspace=no ;;
++ *) as_fn_error $? "bad value ${enableval} for target-optspace option" "$LINENO" 5 ;;
++ esac
++else
++ target_optspace=
++fi
++
++# Check whether --enable-malloc-debugging was given.
++if test "${enable_malloc_debugging+set}" = set; then :
++ enableval=$enable_malloc_debugging; case "${enableval}" in
++ yes) malloc_debugging=yes ;;
++ no) malloc_debugging=no ;;
++ *) as_fn_error $? "bad value ${enableval} for malloc-debugging option" "$LINENO" 5 ;;
++ esac
++else
++ malloc_debugging=
++fi
++
++# Check whether --enable-newlib-multithread was given.
++if test "${enable_newlib_multithread+set}" = set; then :
++ enableval=$enable_newlib_multithread; case "${enableval}" in
++ yes) newlib_multithread=yes ;;
++ no) newlib_multithread=no ;;
++ *) as_fn_error $? "bad value ${enableval} for newlib-multithread option" "$LINENO" 5 ;;
++ esac
++else
++ newlib_multithread=yes
++fi
++
++# Check whether --enable-newlib-iconv was given.
++if test "${enable_newlib_iconv+set}" = set; then :
++ enableval=$enable_newlib_iconv; if test "${newlib_iconv+set}" != set; then
++ case "${enableval}" in
++ yes) newlib_iconv=yes ;;
++ no) newlib_iconv=no ;;
++ *) as_fn_error $? "bad value ${enableval} for newlib-iconv option" "$LINENO" 5 ;;
++ esac
++ fi
++else
++ newlib_iconv=${newlib_iconv}
++fi
++
++# Check whether --enable-newlib-elix-level was given.
++if test "${enable_newlib_elix_level+set}" = set; then :
++ enableval=$enable_newlib_elix_level; case "${enableval}" in
++ 0) newlib_elix_level=0 ;;
++ 1) newlib_elix_level=1 ;;
++ 2) newlib_elix_level=2 ;;
++ 3) newlib_elix_level=3 ;;
++ 4) newlib_elix_level=4 ;;
++ *) as_fn_error $? "bad value ${enableval} for newlib-elix-level option" "$LINENO" 5 ;;
++ esac
++else
++ newlib_elix_level=0
++fi
++
++# Check whether --enable-newlib-io-float was given.
++if test "${enable_newlib_io_float+set}" = set; then :
++ enableval=$enable_newlib_io_float; case "${enableval}" in
++ yes) newlib_io_float=yes ;;
++ no) newlib_io_float=no ;;
++ *) as_fn_error $? "bad value ${enableval} for newlib-io-float option" "$LINENO" 5 ;;
++ esac
++else
++ newlib_io_float=yes
++fi
++
++# Check whether --enable-newlib-supplied-syscalls was given.
++if test "${enable_newlib_supplied_syscalls+set}" = set; then :
++ enableval=$enable_newlib_supplied_syscalls; case "${enableval}" in
++ yes) newlib_may_supply_syscalls=yes ;;
++ no) newlib_may_supply_syscalls=no ;;
++ *) as_fn_error $? "bad value ${enableval} for newlib-supplied-syscalls option" "$LINENO" 5 ;;
++ esac
++else
++ newlib_may_supply_syscalls=yes
++fi
++
++ if test x${newlib_may_supply_syscalls} = xyes; then
++ MAY_SUPPLY_SYSCALLS_TRUE=
++ MAY_SUPPLY_SYSCALLS_FALSE='#'
++else
++ MAY_SUPPLY_SYSCALLS_TRUE='#'
++ MAY_SUPPLY_SYSCALLS_FALSE=
++fi
++
++
++
++test -z "${with_target_subdir}" && with_target_subdir=.
++
++if test "${srcdir}" = "."; then
++ if test "${with_target_subdir}" != "."; then
++ newlib_basedir="${srcdir}/${with_multisrctop}../../../.."
++ else
++ newlib_basedir="${srcdir}/${with_multisrctop}../../.."
++ fi
++else
++ newlib_basedir="${srcdir}/../../.."
++fi
++
++
++
++
++if test "`cd $srcdir && pwd`" != "`pwd`"; then
++ # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
++ # is not polluted with repeated "-I."
++ am__isrc=' -I$(srcdir)'
++ # test to see if srcdir already configured
++ if test -f $srcdir/config.status; then
++ as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
++ fi
++fi
++
++# test whether we have cygpath
++if test -z "$CYGPATH_W"; then
++ if (cygpath --version) >/dev/null 2>/dev/null; then
++ CYGPATH_W='cygpath -w'
++ else
++ CYGPATH_W=echo
++ fi
++fi
++
++
++# Define the identity of the package.
++ PACKAGE='newlib'
++ VERSION='1.20.0'
++
++
++# Some tools Automake needs.
++
++ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
++
++
++AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
++
++
++AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
++
++
++AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
++
++
++MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
++
++# We need awk for the "check" target. The system "awk" is bad on
++# some platforms.
++# Always define AMTAR for backward compatibility.
++
++AMTAR=${AMTAR-"${am_missing_run}tar"}
++
++am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
++
++
++
++
++
++
++# FIXME: We temporarily define our own version of AC_PROG_CC. This is
++# copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
++# are probably using a cross compiler, which will not be able to fully
++# link an executable. This should really be fixed in autoconf
++# itself.
++
++
++
++
++
++
++
++# Extract the first word of "gcc", so it can be a program name with args.
++set dummy gcc; ac_word=$2
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
++$as_echo_n "checking for $ac_word... " >&6; }
++if ${ac_cv_prog_CC+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ if test -n "$CC"; then
++ ac_cv_prog_CC="$CC" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ for ac_exec_ext in '' $ac_executable_extensions; do
++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
++ ac_cv_prog_CC="gcc"
++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
++ break 2
++ fi
++done
++ done
++IFS=$as_save_IFS
++
++fi
++fi
++CC=$ac_cv_prog_CC
++if test -n "$CC"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
++$as_echo "$CC" >&6; }
++else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
++$as_echo "no" >&6; }
++fi
++
++
++
++depcc="$CC" am_compiler_list=
++
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
++$as_echo_n "checking dependency style of $depcc... " >&6; }
++if ${am_cv_CC_dependencies_compiler_type+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
++ # We make a subdir and do the tests there. Otherwise we can end up
++ # making bogus files that we don't know about and never remove. For
++ # instance it was reported that on HP-UX the gcc test will end up
++ # making a dummy file named `D' -- because `-MD' means `put the output
++ # in D'.
++ mkdir conftest.dir
++ # Copy depcomp to subdir because otherwise we won't find it if we're
++ # using a relative directory.
++ cp "$am_depcomp" conftest.dir
++ cd conftest.dir
++ # We will build objects and dependencies in a subdirectory because
++ # it helps to detect inapplicable dependency modes. For instance
++ # both Tru64's cc and ICC support -MD to output dependencies as a
++ # side effect of compilation, but ICC will put the dependencies in
++ # the current directory while Tru64 will put them in the object
++ # directory.
++ mkdir sub
++
++ am_cv_CC_dependencies_compiler_type=none
++ if test "$am_compiler_list" = ""; then
++ am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
++ fi
++ am__universal=false
++ case " $depcc " in #(
++ *\ -arch\ *\ -arch\ *) am__universal=true ;;
++ esac
++
++ for depmode in $am_compiler_list; do
++ # Setup a source with many dependencies, because some compilers
++ # like to wrap large dependency lists on column 80 (with \), and
++ # we should not choose a depcomp mode which is confused by this.
++ #
++ # We need to recreate these files for each test, as the compiler may
++ # overwrite some of them when testing with obscure command lines.
++ # This happens at least with the AIX C compiler.
++ : > sub/conftest.c
++ for i in 1 2 3 4 5 6; do
++ echo '#include "conftst'$i'.h"' >> sub/conftest.c
++ # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
++ # Solaris 8's {/usr,}/bin/sh.
++ touch sub/conftst$i.h
++ done
++ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
++
++ # We check with `-c' and `-o' for the sake of the "dashmstdout"
++ # mode. It turns out that the SunPro C++ compiler does not properly
++ # handle `-M -o', and we need to detect this. Also, some Intel
++ # versions had trouble with output in subdirs
++ am__obj=sub/conftest.${OBJEXT-o}
++ am__minus_obj="-o $am__obj"
++ case $depmode in
++ gcc)
++ # This depmode causes a compiler race in universal mode.
++ test "$am__universal" = false || continue
++ ;;
++ nosideeffect)
++ # after this tag, mechanisms are not by side-effect, so they'll
++ # only be used when explicitly requested
++ if test "x$enable_dependency_tracking" = xyes; then
++ continue
++ else
++ break
++ fi
++ ;;
++ msvisualcpp | msvcmsys)
++ # This compiler won't grok `-c -o', but also, the minuso test has
++ # not run yet. These depmodes are late enough in the game, and
++ # so weak that their functioning should not be impacted.
++ am__obj=conftest.${OBJEXT-o}
++ am__minus_obj=
++ ;;
++ none) break ;;
++ esac
++ if depmode=$depmode \
++ source=sub/conftest.c object=$am__obj \
++ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
++ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
++ >/dev/null 2>conftest.err &&
++ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
++ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
++ grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
++ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
++ # icc doesn't choke on unknown options, it will just issue warnings
++ # or remarks (even with -Werror). So we grep stderr for any message
++ # that says an option was ignored or not supported.
++ # When given -MP, icc 7.0 and 7.1 complain thusly:
++ # icc: Command line warning: ignoring option '-M'; no argument required
++ # The diagnosis changed in icc 8.0:
++ # icc: Command line remark: option '-MP' not supported
++ if (grep 'ignoring option' conftest.err ||
++ grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
++ am_cv_CC_dependencies_compiler_type=$depmode
++ break
++ fi
++ fi
++ done
++
++ cd ..
++ rm -rf conftest.dir
++else
++ am_cv_CC_dependencies_compiler_type=none
++fi
++
++fi
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
++$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
++CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
++
++ if
++ test "x$enable_dependency_tracking" != xno \
++ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
++ am__fastdepCC_TRUE=
++ am__fastdepCC_FALSE='#'
++else
++ am__fastdepCC_TRUE='#'
++ am__fastdepCC_FALSE=
++fi
++
++
++if test -z "$CC"; then
++ # Extract the first word of "cc", so it can be a program name with args.
++set dummy cc; ac_word=$2
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
++$as_echo_n "checking for $ac_word... " >&6; }
++if ${ac_cv_prog_CC+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ if test -n "$CC"; then
++ ac_cv_prog_CC="$CC" # Let the user override the test.
++else
++ ac_prog_rejected=no
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ for ac_exec_ext in '' $ac_executable_extensions; do
++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
++ if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
++ ac_prog_rejected=yes
++ continue
++ fi
++ ac_cv_prog_CC="cc"
++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
++ break 2
++ fi
++done
++ done
++IFS=$as_save_IFS
++
++if test $ac_prog_rejected = yes; then
++ # We found a bogon in the path, so make sure we never use it.
++ set dummy $ac_cv_prog_CC
++ shift
++ if test $# != 0; then
++ # We chose a different compiler from the bogus one.
++ # However, it has the same basename, so the bogon will be chosen
++ # first if we set CC to just the basename; use the full file name.
++ shift
++ ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
++ fi
++fi
++fi
++fi
++CC=$ac_cv_prog_CC
++if test -n "$CC"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
++$as_echo "$CC" >&6; }
++else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
++$as_echo "no" >&6; }
++fi
++
++
++ test -z "$CC" && as_fn_error $? "no acceptable cc found in \$PATH" "$LINENO" 5
++fi
++
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using GNU C" >&5
++$as_echo_n "checking whether we are using GNU C... " >&6; }
++if ${ac_cv_c_compiler_gnu+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ cat > conftest.c <<EOF
++#ifdef __GNUC__
++ yes;
++#endif
++EOF
++if { ac_try='${CC-cc} -E conftest.c'
++ { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
++ (eval $ac_try) 2>&5
++ ac_status=$?
++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
++ test $ac_status = 0; }; } | egrep yes >/dev/null 2>&1; then
++ ac_cv_c_compiler_gnu=yes
++else
++ ac_cv_c_compiler_gnu=no
++fi
++fi
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
++$as_echo "$ac_cv_c_compiler_gnu" >&6; }
++
++if test $ac_cv_c_compiler_gnu = yes; then
++ GCC=yes
++ ac_test_CFLAGS="${CFLAGS+set}"
++ ac_save_CFLAGS="$CFLAGS"
++ ac_test_CFLAGS=${CFLAGS+set}
++ac_save_CFLAGS=$CFLAGS
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
++$as_echo_n "checking whether $CC accepts -g... " >&6; }
++if ${ac_cv_prog_cc_g+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ ac_save_c_werror_flag=$ac_c_werror_flag
++ ac_c_werror_flag=yes
++ ac_cv_prog_cc_g=no
++ CFLAGS="-g"
++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
++/* end confdefs.h. */
++
++int
++main ()
++{
++
++ ;
++ return 0;
++}
++_ACEOF
++if ac_fn_c_try_compile "$LINENO"; then :
++ ac_cv_prog_cc_g=yes
++else
++ CFLAGS=""
++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
++/* end confdefs.h. */
++
++int
++main ()
++{
++
++ ;
++ return 0;
++}
++_ACEOF
++if ac_fn_c_try_compile "$LINENO"; then :
++
++else
++ ac_c_werror_flag=$ac_save_c_werror_flag
++ CFLAGS="-g"
++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
++/* end confdefs.h. */
++
++int
++main ()
++{
++
++ ;
++ return 0;
++}
++_ACEOF
++if ac_fn_c_try_compile "$LINENO"; then :
++ ac_cv_prog_cc_g=yes
++fi
++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
++ ac_c_werror_flag=$ac_save_c_werror_flag
++fi
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
++$as_echo "$ac_cv_prog_cc_g" >&6; }
++if test "$ac_test_CFLAGS" = set; then
++ CFLAGS=$ac_save_CFLAGS
++elif test $ac_cv_prog_cc_g = yes; then
++ if test "$GCC" = yes; then
++ CFLAGS="-g -O2"
++ else
++ CFLAGS="-g"
++ fi
++else
++ if test "$GCC" = yes; then
++ CFLAGS="-O2"
++ else
++ CFLAGS=
++ fi
++fi
++ if test "$ac_test_CFLAGS" = set; then
++ CFLAGS="$ac_save_CFLAGS"
++ elif test $ac_cv_prog_cc_g = yes; then
++ CFLAGS="-g -O2"
++ else
++ CFLAGS="-O2"
++ fi
++else
++ GCC=
++ test "${CFLAGS+set}" = set || CFLAGS="-g"
++fi
++
++
++if test -n "$ac_tool_prefix"; then
++ # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
++set dummy ${ac_tool_prefix}as; ac_word=$2
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
++$as_echo_n "checking for $ac_word... " >&6; }
++if ${ac_cv_prog_AS+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ if test -n "$AS"; then
++ ac_cv_prog_AS="$AS" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ for ac_exec_ext in '' $ac_executable_extensions; do
++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
++ ac_cv_prog_AS="${ac_tool_prefix}as"
++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
++ break 2
++ fi
++done
++ done
++IFS=$as_save_IFS
++
++fi
++fi
++AS=$ac_cv_prog_AS
++if test -n "$AS"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
++$as_echo "$AS" >&6; }
++else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
++$as_echo "no" >&6; }
++fi
++
++
++fi
++if test -z "$ac_cv_prog_AS"; then
++ ac_ct_AS=$AS
++ # Extract the first word of "as", so it can be a program name with args.
++set dummy as; ac_word=$2
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
++$as_echo_n "checking for $ac_word... " >&6; }
++if ${ac_cv_prog_ac_ct_AS+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ if test -n "$ac_ct_AS"; then
++ ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ for ac_exec_ext in '' $ac_executable_extensions; do
++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
++ ac_cv_prog_ac_ct_AS="as"
++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
++ break 2
++ fi
++done
++ done
++IFS=$as_save_IFS
++
++fi
++fi
++ac_ct_AS=$ac_cv_prog_ac_ct_AS
++if test -n "$ac_ct_AS"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
++$as_echo "$ac_ct_AS" >&6; }
++else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
++$as_echo "no" >&6; }
++fi
++
++ if test "x$ac_ct_AS" = x; then
++ AS=""
++ else
++ case $cross_compiling:$ac_tool_warned in
++yes:)
++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
++$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
++ac_tool_warned=yes ;;
++esac
++ AS=$ac_ct_AS
++ fi
++else
++ AS="$ac_cv_prog_AS"
++fi
++
++if test -n "$ac_tool_prefix"; then
++ # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
++set dummy ${ac_tool_prefix}ar; ac_word=$2
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
++$as_echo_n "checking for $ac_word... " >&6; }
++if ${ac_cv_prog_AR+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ if test -n "$AR"; then
++ ac_cv_prog_AR="$AR" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ for ac_exec_ext in '' $ac_executable_extensions; do
++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
++ ac_cv_prog_AR="${ac_tool_prefix}ar"
++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
++ break 2
++ fi
++done
++ done
++IFS=$as_save_IFS
++
++fi
++fi
++AR=$ac_cv_prog_AR
++if test -n "$AR"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
++$as_echo "$AR" >&6; }
++else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
++$as_echo "no" >&6; }
++fi
++
++
++fi
++if test -z "$ac_cv_prog_AR"; then
++ ac_ct_AR=$AR
++ # Extract the first word of "ar", so it can be a program name with args.
++set dummy ar; ac_word=$2
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
++$as_echo_n "checking for $ac_word... " >&6; }
++if ${ac_cv_prog_ac_ct_AR+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ if test -n "$ac_ct_AR"; then
++ ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ for ac_exec_ext in '' $ac_executable_extensions; do
++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
++ ac_cv_prog_ac_ct_AR="ar"
++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
++ break 2
++ fi
++done
++ done
++IFS=$as_save_IFS
++
++fi
++fi
++ac_ct_AR=$ac_cv_prog_ac_ct_AR
++if test -n "$ac_ct_AR"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
++$as_echo "$ac_ct_AR" >&6; }
++else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
++$as_echo "no" >&6; }
++fi
++
++ if test "x$ac_ct_AR" = x; then
++ AR=""
++ else
++ case $cross_compiling:$ac_tool_warned in
++yes:)
++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
++$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
++ac_tool_warned=yes ;;
++esac
++ AR=$ac_ct_AR
++ fi
++else
++ AR="$ac_cv_prog_AR"
++fi
++
++if test -n "$ac_tool_prefix"; then
++ # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
++set dummy ${ac_tool_prefix}ranlib; ac_word=$2
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
++$as_echo_n "checking for $ac_word... " >&6; }
++if ${ac_cv_prog_RANLIB+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ if test -n "$RANLIB"; then
++ ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ for ac_exec_ext in '' $ac_executable_extensions; do
++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
++ ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
++ break 2
++ fi
++done
++ done
++IFS=$as_save_IFS
++
++fi
++fi
++RANLIB=$ac_cv_prog_RANLIB
++if test -n "$RANLIB"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
++$as_echo "$RANLIB" >&6; }
++else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
++$as_echo "no" >&6; }
++fi
++
++
++fi
++if test -z "$ac_cv_prog_RANLIB"; then
++ ac_ct_RANLIB=$RANLIB
++ # Extract the first word of "ranlib", so it can be a program name with args.
++set dummy ranlib; ac_word=$2
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
++$as_echo_n "checking for $ac_word... " >&6; }
++if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ if test -n "$ac_ct_RANLIB"; then
++ ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ for ac_exec_ext in '' $ac_executable_extensions; do
++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
++ ac_cv_prog_ac_ct_RANLIB="ranlib"
++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
++ break 2
++ fi
++done
++ done
++IFS=$as_save_IFS
++
++fi
++fi
++ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
++if test -n "$ac_ct_RANLIB"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
++$as_echo "$ac_ct_RANLIB" >&6; }
++else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
++$as_echo "no" >&6; }
++fi
++
++ if test "x$ac_ct_RANLIB" = x; then
++ RANLIB=":"
++ else
++ case $cross_compiling:$ac_tool_warned in
++yes:)
++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
++$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
++ac_tool_warned=yes ;;
++esac
++ RANLIB=$ac_ct_RANLIB
++ fi
++else
++ RANLIB="$ac_cv_prog_RANLIB"
++fi
++
++if test -n "$ac_tool_prefix"; then
++ # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
++set dummy ${ac_tool_prefix}readelf; ac_word=$2
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
++$as_echo_n "checking for $ac_word... " >&6; }
++if ${ac_cv_prog_READELF+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ if test -n "$READELF"; then
++ ac_cv_prog_READELF="$READELF" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ for ac_exec_ext in '' $ac_executable_extensions; do
++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
++ ac_cv_prog_READELF="${ac_tool_prefix}readelf"
++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
++ break 2
++ fi
++done
++ done
++IFS=$as_save_IFS
++
++fi
++fi
++READELF=$ac_cv_prog_READELF
++if test -n "$READELF"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
++$as_echo "$READELF" >&6; }
++else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
++$as_echo "no" >&6; }
++fi
++
++
++fi
++if test -z "$ac_cv_prog_READELF"; then
++ ac_ct_READELF=$READELF
++ # Extract the first word of "readelf", so it can be a program name with args.
++set dummy readelf; ac_word=$2
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
++$as_echo_n "checking for $ac_word... " >&6; }
++if ${ac_cv_prog_ac_ct_READELF+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ if test -n "$ac_ct_READELF"; then
++ ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ for ac_exec_ext in '' $ac_executable_extensions; do
++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
++ ac_cv_prog_ac_ct_READELF="readelf"
++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
++ break 2
++ fi
++done
++ done
++IFS=$as_save_IFS
++
++fi
++fi
++ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
++if test -n "$ac_ct_READELF"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
++$as_echo "$ac_ct_READELF" >&6; }
++else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
++$as_echo "no" >&6; }
++fi
++
++ if test "x$ac_ct_READELF" = x; then
++ READELF=":"
++ else
++ case $cross_compiling:$ac_tool_warned in
++yes:)
++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
++$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
++ac_tool_warned=yes ;;
++esac
++ READELF=$ac_ct_READELF
++ fi
++else
++ READELF="$ac_cv_prog_READELF"
++fi
++
++
++
++
++# Hack to ensure that INSTALL won't be set to "../" with autoconf 2.13. */
++ac_given_INSTALL=$INSTALL
++
++
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
++$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
++ # Check whether --enable-maintainer-mode was given.
++if test "${enable_maintainer_mode+set}" = set; then :
++ enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
++else
++ USE_MAINTAINER_MODE=no
++fi
++
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
++$as_echo "$USE_MAINTAINER_MODE" >&6; }
++ if test $USE_MAINTAINER_MODE = yes; then
++ MAINTAINER_MODE_TRUE=
++ MAINTAINER_MODE_FALSE='#'
++else
++ MAINTAINER_MODE_TRUE='#'
++ MAINTAINER_MODE_FALSE=
++fi
++
++ MAINT=$MAINTAINER_MODE_TRUE
++
++
++# By default we simply use the C compiler to build assembly code.
++
++test "${CCAS+set}" = set || CCAS=$CC
++test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
++
++
++
++
++# We need AC_EXEEXT to keep automake happy in cygnus mode. However,
++# at least currently, we never actually build a program, so we never
++# need to use $(EXEEXT). Moreover, the test for EXEEXT normally
++# fails, because we are probably configuring with a cross compiler
++# which can't create executables. So we include AC_EXEEXT to keep
++# automake happy, but we don't execute it, since we don't care about
++# the result.
++if false; then
++
++ dummy_var=1
++fi
++
++. ${newlib_basedir}/configure.host
++
++newlib_cflags="${newlib_cflags} -fno-builtin"
++
++NEWLIB_CFLAGS=${newlib_cflags}
++
++
++NO_INCLUDE_LIST=${noinclude}
++
++
++LDFLAGS=${ldflags}
++
++
++ if test x${newlib_elix_level} = x0; then
++ ELIX_LEVEL_0_TRUE=
++ ELIX_LEVEL_0_FALSE='#'
++else
++ ELIX_LEVEL_0_TRUE='#'
++ ELIX_LEVEL_0_FALSE=
++fi
++
++ if test x${newlib_elix_level} = x1; then
++ ELIX_LEVEL_1_TRUE=
++ ELIX_LEVEL_1_FALSE='#'
++else
++ ELIX_LEVEL_1_TRUE='#'
++ ELIX_LEVEL_1_FALSE=
++fi
++
++ if test x${newlib_elix_level} = x2; then
++ ELIX_LEVEL_2_TRUE=
++ ELIX_LEVEL_2_FALSE='#'
++else
++ ELIX_LEVEL_2_TRUE='#'
++ ELIX_LEVEL_2_FALSE=
++fi
++
++ if test x${newlib_elix_level} = x3; then
++ ELIX_LEVEL_3_TRUE=
++ ELIX_LEVEL_3_FALSE='#'
++else
++ ELIX_LEVEL_3_TRUE='#'
++ ELIX_LEVEL_3_FALSE=
++fi
++
++ if test x${newlib_elix_level} = x4; then
++ ELIX_LEVEL_4_TRUE=
++ ELIX_LEVEL_4_FALSE='#'
++else
++ ELIX_LEVEL_4_TRUE='#'
++ ELIX_LEVEL_4_FALSE=
++fi
++
++
++ if test x${use_libtool} = xyes; then
++ USE_LIBTOOL_TRUE=
++ USE_LIBTOOL_FALSE='#'
++else
++ USE_LIBTOOL_TRUE='#'
++ USE_LIBTOOL_FALSE=
++fi
++
++
++# Hard-code OBJEXT. Normally it is set by AC_OBJEXT, but we
++# use oext, which is set in configure.host based on the target platform.
++OBJEXT=${oext}
++
++
++
++
++
++
++
++
++
++
++
++ac_config_files="$ac_config_files Makefile"
++
++cat >confcache <<\_ACEOF
++# This file is a shell script that caches the results of configure
++# tests run on this system so they can be shared between configure
++# scripts and configure runs, see configure's option --config-cache.
++# It is not useful on other systems. If it contains results you don't
++# want to keep, you may remove or edit it.
++#
++# config.status only pays attention to the cache file if you give it
++# the --recheck option to rerun configure.
++#
++# `ac_cv_env_foo' variables (set or unset) will be overridden when
++# loading this file, other *unset* `ac_cv_foo' will be assigned the
++# following values.
++
++_ACEOF
++
++# The following way of writing the cache mishandles newlines in values,
++# but we know of no workaround that is simple, portable, and efficient.
++# So, we kill variables containing newlines.
++# Ultrix sh set writes to stderr and can't be redirected directly,
++# and sets the high bit in the cache file unless we assign to the vars.
++(
++ for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
++ eval ac_val=\$$ac_var
++ case $ac_val in #(
++ *${as_nl}*)
++ case $ac_var in #(
++ *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
++$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
++ esac
++ case $ac_var in #(
++ _ | IFS | as_nl) ;; #(
++ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
++ *) { eval $ac_var=; unset $ac_var;} ;;
++ esac ;;
++ esac
++ done
++
++ (set) 2>&1 |
++ case $as_nl`(ac_space=' '; set) 2>&1` in #(
++ *${as_nl}ac_space=\ *)
++ # `set' does not quote correctly, so add quotes: double-quote
++ # substitution turns \\\\ into \\, and sed turns \\ into \.
++ sed -n \
++ "s/'/'\\\\''/g;
++ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
++ ;; #(
++ *)
++ # `set' quotes correctly as required by POSIX, so do not add quotes.
++ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
++ ;;
++ esac |
++ sort
++) |
++ sed '
++ /^ac_cv_env_/b end
++ t clear
++ :clear
++ s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
++ t end
++ s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
++ :end' >>confcache
++if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
++ if test -w "$cache_file"; then
++ if test "x$cache_file" != "x/dev/null"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
++$as_echo "$as_me: updating cache $cache_file" >&6;}
++ if test ! -f "$cache_file" || test -h "$cache_file"; then
++ cat confcache >"$cache_file"
++ else
++ case $cache_file in #(
++ */* | ?:*)
++ mv -f confcache "$cache_file"$$ &&
++ mv -f "$cache_file"$$ "$cache_file" ;; #(
++ *)
++ mv -f confcache "$cache_file" ;;
++ esac
++ fi
++ fi
++ else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
++$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
++ fi
++fi
++rm -f confcache
++
++test "x$prefix" = xNONE && prefix=$ac_default_prefix
++# Let make expand exec_prefix.
++test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
++
++# Transform confdefs.h into DEFS.
++# Protect against shell expansion while executing Makefile rules.
++# Protect against Makefile macro expansion.
++#
++# If the first sed substitution is executed (which looks for macros that
++# take arguments), then branch to the quote section. Otherwise,
++# look for a macro that doesn't take arguments.
++ac_script='
++:mline
++/\\$/{
++ N
++ s,\\\n,,
++ b mline
++}
++t clear
++:clear
++s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
++t quote
++s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
++t quote
++b any
++:quote
++s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
++s/\[/\\&/g
++s/\]/\\&/g
++s/\$/$$/g
++H
++:any
++${
++ g
++ s/^\n//
++ s/\n/ /g
++ p
++}
++'
++DEFS=`sed -n "$ac_script" confdefs.h`
++
++
++ac_libobjs=
++ac_ltlibobjs=
++U=
++for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
++ # 1. Remove the extension, and $U if already installed.
++ ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
++ ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
++ # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
++ # will be set to the directory where LIBOBJS objects are built.
++ as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
++ as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
++done
++LIBOBJS=$ac_libobjs
++
++LTLIBOBJS=$ac_ltlibobjs
++
++
++if test -z "${MAY_SUPPLY_SYSCALLS_TRUE}" && test -z "${MAY_SUPPLY_SYSCALLS_FALSE}"; then
++ as_fn_error $? "conditional \"MAY_SUPPLY_SYSCALLS\" was never defined.
++Usually this means the macro was only invoked conditionally." "$LINENO" 5
++fi
++
++if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
++ as_fn_error $? "conditional \"AMDEP\" was never defined.
++Usually this means the macro was only invoked conditionally." "$LINENO" 5
++fi
++if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
++ as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
++Usually this means the macro was only invoked conditionally." "$LINENO" 5
++fi
++if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
++ as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
++Usually this means the macro was only invoked conditionally." "$LINENO" 5
++fi
++if test -z "${ELIX_LEVEL_0_TRUE}" && test -z "${ELIX_LEVEL_0_FALSE}"; then
++ as_fn_error $? "conditional \"ELIX_LEVEL_0\" was never defined.
++Usually this means the macro was only invoked conditionally." "$LINENO" 5
++fi
++if test -z "${ELIX_LEVEL_1_TRUE}" && test -z "${ELIX_LEVEL_1_FALSE}"; then
++ as_fn_error $? "conditional \"ELIX_LEVEL_1\" was never defined.
++Usually this means the macro was only invoked conditionally." "$LINENO" 5
++fi
++if test -z "${ELIX_LEVEL_2_TRUE}" && test -z "${ELIX_LEVEL_2_FALSE}"; then
++ as_fn_error $? "conditional \"ELIX_LEVEL_2\" was never defined.
++Usually this means the macro was only invoked conditionally." "$LINENO" 5
++fi
++if test -z "${ELIX_LEVEL_3_TRUE}" && test -z "${ELIX_LEVEL_3_FALSE}"; then
++ as_fn_error $? "conditional \"ELIX_LEVEL_3\" was never defined.
++Usually this means the macro was only invoked conditionally." "$LINENO" 5
++fi
++if test -z "${ELIX_LEVEL_4_TRUE}" && test -z "${ELIX_LEVEL_4_FALSE}"; then
++ as_fn_error $? "conditional \"ELIX_LEVEL_4\" was never defined.
++Usually this means the macro was only invoked conditionally." "$LINENO" 5
++fi
++if test -z "${USE_LIBTOOL_TRUE}" && test -z "${USE_LIBTOOL_FALSE}"; then
++ as_fn_error $? "conditional \"USE_LIBTOOL\" was never defined.
++Usually this means the macro was only invoked conditionally." "$LINENO" 5
++fi
++
++: "${CONFIG_STATUS=./config.status}"
++ac_write_fail=0
++ac_clean_files_save=$ac_clean_files
++ac_clean_files="$ac_clean_files $CONFIG_STATUS"
++{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
++$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
++as_write_fail=0
++cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
++#! $SHELL
++# Generated by $as_me.
++# Run this file to recreate the current configuration.
++# Compiler output produced by configure, useful for debugging
++# configure, is in config.log if it exists.
++
++debug=false
++ac_cs_recheck=false
++ac_cs_silent=false
++
++SHELL=\${CONFIG_SHELL-$SHELL}
++export SHELL
++_ASEOF
++cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
++## -------------------- ##
++## M4sh Initialization. ##
++## -------------------- ##
++
++# Be more Bourne compatible
++DUALCASE=1; export DUALCASE # for MKS sh
++if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
++ emulate sh
++ NULLCMD=:
++ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
++ # is contrary to our usage. Disable this feature.
++ alias -g '${1+"$@"}'='"$@"'
++ setopt NO_GLOB_SUBST
++else
++ case `(set -o) 2>/dev/null` in #(
++ *posix*) :
++ set -o posix ;; #(
++ *) :
++ ;;
++esac
++fi
++
++
++as_nl='
++'
++export as_nl
++# Printing a long string crashes Solaris 7 /usr/bin/printf.
++as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
++as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
++as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
++# Prefer a ksh shell builtin over an external printf program on Solaris,
++# but without wasting forks for bash or zsh.
++if test -z "$BASH_VERSION$ZSH_VERSION" \
++ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
++ as_echo='print -r --'
++ as_echo_n='print -rn --'
++elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
++ as_echo='printf %s\n'
++ as_echo_n='printf %s'
++else
++ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
++ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
++ as_echo_n='/usr/ucb/echo -n'
++ else
++ as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
++ as_echo_n_body='eval
++ arg=$1;
++ case $arg in #(
++ *"$as_nl"*)
++ expr "X$arg" : "X\\(.*\\)$as_nl";
++ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
++ esac;
++ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
++ '
++ export as_echo_n_body
++ as_echo_n='sh -c $as_echo_n_body as_echo'
++ fi
++ export as_echo_body
++ as_echo='sh -c $as_echo_body as_echo'
++fi
++
++# The user is always right.
++if test "${PATH_SEPARATOR+set}" != set; then
++ PATH_SEPARATOR=:
++ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
++ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
++ PATH_SEPARATOR=';'
++ }
++fi
++
++
++# IFS
++# We need space, tab and new line, in precisely that order. Quoting is
++# there to prevent editors from complaining about space-tab.
++# (If _AS_PATH_WALK were called with IFS unset, it would disable word
++# splitting by setting IFS to empty value.)
++IFS=" "" $as_nl"
++
++# Find who we are. Look in the path if we contain no directory separator.
++as_myself=
++case $0 in #((
++ *[\\/]* ) as_myself=$0 ;;
++ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
++ done
++IFS=$as_save_IFS
++
++ ;;
++esac
++# We did not find ourselves, most probably we were run as `sh COMMAND'
++# in which case we are not to be found in the path.
++if test "x$as_myself" = x; then
++ as_myself=$0
++fi
++if test ! -f "$as_myself"; then
++ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
++ exit 1
++fi
++
++# Unset variables that we do not need and which cause bugs (e.g. in
++# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
++# suppresses any "Segmentation fault" message there. '((' could
++# trigger a bug in pdksh 5.2.14.
++for as_var in BASH_ENV ENV MAIL MAILPATH
++do eval test x\${$as_var+set} = xset \
++ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
++done
++PS1='$ '
++PS2='> '
++PS4='+ '
++
++# NLS nuisances.
++LC_ALL=C
++export LC_ALL
++LANGUAGE=C
++export LANGUAGE
++
++# CDPATH.
++(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
++
++
++# as_fn_error STATUS ERROR [LINENO LOG_FD]
++# ----------------------------------------
++# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
++# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
++# script with STATUS, using 1 if that was 0.
++as_fn_error ()
++{
++ as_status=$1; test $as_status -eq 0 && as_status=1
++ if test "$4"; then
++ as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
++ $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
++ fi
++ $as_echo "$as_me: error: $2" >&2
++ as_fn_exit $as_status
++} # as_fn_error
++
++
++# as_fn_set_status STATUS
++# -----------------------
++# Set $? to STATUS, without forking.
++as_fn_set_status ()
++{
++ return $1
++} # as_fn_set_status
++
++# as_fn_exit STATUS
++# -----------------
++# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
++as_fn_exit ()
++{
++ set +e
++ as_fn_set_status $1
++ exit $1
++} # as_fn_exit
++
++# as_fn_unset VAR
++# ---------------
++# Portably unset VAR.
++as_fn_unset ()
++{
++ { eval $1=; unset $1;}
++}
++as_unset=as_fn_unset
++# as_fn_append VAR VALUE
++# ----------------------
++# Append the text in VALUE to the end of the definition contained in VAR. Take
++# advantage of any shell optimizations that allow amortized linear growth over
++# repeated appends, instead of the typical quadratic growth present in naive
++# implementations.
++if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
++ eval 'as_fn_append ()
++ {
++ eval $1+=\$2
++ }'
++else
++ as_fn_append ()
++ {
++ eval $1=\$$1\$2
++ }
++fi # as_fn_append
++
++# as_fn_arith ARG...
++# ------------------
++# Perform arithmetic evaluation on the ARGs, and store the result in the
++# global $as_val. Take advantage of shells that can avoid forks. The arguments
++# must be portable across $(()) and expr.
++if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
++ eval 'as_fn_arith ()
++ {
++ as_val=$(( $* ))
++ }'
++else
++ as_fn_arith ()
++ {
++ as_val=`expr "$@" || test $? -eq 1`
++ }
++fi # as_fn_arith
++
++
++if expr a : '\(a\)' >/dev/null 2>&1 &&
++ test "X`expr 00001 : '.*\(...\)'`" = X001; then
++ as_expr=expr
++else
++ as_expr=false
++fi
++
++if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
++ as_basename=basename
++else
++ as_basename=false
++fi
++
++if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
++ as_dirname=dirname
++else
++ as_dirname=false
++fi
++
++as_me=`$as_basename -- "$0" ||
++$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
++ X"$0" : 'X\(//\)$' \| \
++ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
++$as_echo X/"$0" |
++ sed '/^.*\/\([^/][^/]*\)\/*$/{
++ s//\1/
++ q
++ }
++ /^X\/\(\/\/\)$/{
++ s//\1/
++ q
++ }
++ /^X\/\(\/\).*/{
++ s//\1/
++ q
++ }
++ s/.*/./; q'`
++
++# Avoid depending upon Character Ranges.
++as_cr_letters='abcdefghijklmnopqrstuvwxyz'
++as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
++as_cr_Letters=$as_cr_letters$as_cr_LETTERS
++as_cr_digits='0123456789'
++as_cr_alnum=$as_cr_Letters$as_cr_digits
++
++ECHO_C= ECHO_N= ECHO_T=
++case `echo -n x` in #(((((
++-n*)
++ case `echo 'xy\c'` in
++ *c*) ECHO_T=' ';; # ECHO_T is single tab character.
++ xy) ECHO_C='\c';;
++ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
++ ECHO_T=' ';;
++ esac;;
++*)
++ ECHO_N='-n';;
++esac
++
++rm -f conf$$ conf$$.exe conf$$.file
++if test -d conf$$.dir; then
++ rm -f conf$$.dir/conf$$.file
++else
++ rm -f conf$$.dir
++ mkdir conf$$.dir 2>/dev/null
++fi
++if (echo >conf$$.file) 2>/dev/null; then
++ if ln -s conf$$.file conf$$ 2>/dev/null; then
++ as_ln_s='ln -s'
++ # ... but there are two gotchas:
++ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
++ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
++ # In both cases, we have to default to `cp -p'.
++ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
++ as_ln_s='cp -p'
++ elif ln conf$$.file conf$$ 2>/dev/null; then
++ as_ln_s=ln
++ else
++ as_ln_s='cp -p'
++ fi
++else
++ as_ln_s='cp -p'
++fi
++rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
++rmdir conf$$.dir 2>/dev/null
++
++
++# as_fn_mkdir_p
++# -------------
++# Create "$as_dir" as a directory, including parents if necessary.
++as_fn_mkdir_p ()
++{
++
++ case $as_dir in #(
++ -*) as_dir=./$as_dir;;
++ esac
++ test -d "$as_dir" || eval $as_mkdir_p || {
++ as_dirs=
++ while :; do
++ case $as_dir in #(
++ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
++ *) as_qdir=$as_dir;;
++ esac
++ as_dirs="'$as_qdir' $as_dirs"
++ as_dir=`$as_dirname -- "$as_dir" ||
++$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
++ X"$as_dir" : 'X\(//\)[^/]' \| \
++ X"$as_dir" : 'X\(//\)$' \| \
++ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
++$as_echo X"$as_dir" |
++ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
++ s//\1/
++ q
++ }
++ /^X\(\/\/\)[^/].*/{
++ s//\1/
++ q
++ }
++ /^X\(\/\/\)$/{
++ s//\1/
++ q
++ }
++ /^X\(\/\).*/{
++ s//\1/
++ q
++ }
++ s/.*/./; q'`
++ test -d "$as_dir" && break
++ done
++ test -z "$as_dirs" || eval "mkdir $as_dirs"
++ } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
++
++
++} # as_fn_mkdir_p
++if mkdir -p . 2>/dev/null; then
++ as_mkdir_p='mkdir -p "$as_dir"'
++else
++ test -d ./-p && rmdir ./-p
++ as_mkdir_p=false
++fi
++
++if test -x / >/dev/null 2>&1; then
++ as_test_x='test -x'
++else
++ if ls -dL / >/dev/null 2>&1; then
++ as_ls_L_option=L
++ else
++ as_ls_L_option=
++ fi
++ as_test_x='
++ eval sh -c '\''
++ if test -d "$1"; then
++ test -d "$1/.";
++ else
++ case $1 in #(
++ -*)set "./$1";;
++ esac;
++ case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
++ ???[sx]*):;;*)false;;esac;fi
++ '\'' sh
++ '
++fi
++as_executable_p=$as_test_x
++
++# Sed expression to map a string onto a valid CPP name.
++as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
++
++# Sed expression to map a string onto a valid variable name.
++as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
++
++
++exec 6>&1
++## ----------------------------------- ##
++## Main body of $CONFIG_STATUS script. ##
++## ----------------------------------- ##
++_ASEOF
++test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
++
++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
++# Save the log message, to keep $0 and so on meaningful, and to
++# report actual input values of CONFIG_FILES etc. instead of their
++# values after options handling.
++ac_log="
++This file was extended by newlib $as_me 1.20.0, which was
++generated by GNU Autoconf 2.68. Invocation command line was
++
++ CONFIG_FILES = $CONFIG_FILES
++ CONFIG_HEADERS = $CONFIG_HEADERS
++ CONFIG_LINKS = $CONFIG_LINKS
++ CONFIG_COMMANDS = $CONFIG_COMMANDS
++ $ $0 $@
++
++on `(hostname || uname -n) 2>/dev/null | sed 1q`
++"
++
++_ACEOF
++
++case $ac_config_files in *"
++"*) set x $ac_config_files; shift; ac_config_files=$*;;
++esac
++
++
++
++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
++# Files that config.status was made for.
++config_files="$ac_config_files"
++config_commands="$ac_config_commands"
++
++_ACEOF
++
++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
++ac_cs_usage="\
++\`$as_me' instantiates files and other configuration actions
++from templates according to the current configuration. Unless the files
++and actions are specified as TAGs, all are instantiated by default.
++
++Usage: $0 [OPTION]... [TAG]...
++
++ -h, --help print this help, then exit
++ -V, --version print version number and configuration settings, then exit
++ --config print configuration, then exit
++ -q, --quiet, --silent
++ do not print progress messages
++ -d, --debug don't remove temporary files
++ --recheck update $as_me by reconfiguring in the same conditions
++ --file=FILE[:TEMPLATE]
++ instantiate the configuration file FILE
++
++Configuration files:
++$config_files
++
++Configuration commands:
++$config_commands
++
++Report bugs to the package provider."
++
++_ACEOF
++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
++ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
++ac_cs_version="\\
++newlib config.status 1.20.0
++configured by $0, generated by GNU Autoconf 2.68,
++ with options \\"\$ac_cs_config\\"
++
++Copyright (C) 2010 Free Software Foundation, Inc.
++This config.status script is free software; the Free Software Foundation
++gives unlimited permission to copy, distribute and modify it."
++
++ac_pwd='$ac_pwd'
++srcdir='$srcdir'
++INSTALL='$INSTALL'
++MKDIR_P='$MKDIR_P'
++AWK='$AWK'
++test -n "\$AWK" || AWK=awk
++_ACEOF
++
++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
++# The default lists apply if the user does not specify any file.
++ac_need_defaults=:
++while test $# != 0
++do
++ case $1 in
++ --*=?*)
++ ac_option=`expr "X$1" : 'X\([^=]*\)='`
++ ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
++ ac_shift=:
++ ;;
++ --*=)
++ ac_option=`expr "X$1" : 'X\([^=]*\)='`
++ ac_optarg=
++ ac_shift=:
++ ;;
++ *)
++ ac_option=$1
++ ac_optarg=$2
++ ac_shift=shift
++ ;;
++ esac
++
++ case $ac_option in
++ # Handling of the options.
++ -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
++ ac_cs_recheck=: ;;
++ --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
++ $as_echo "$ac_cs_version"; exit ;;
++ --config | --confi | --conf | --con | --co | --c )
++ $as_echo "$ac_cs_config"; exit ;;
++ --debug | --debu | --deb | --de | --d | -d )
++ debug=: ;;
++ --file | --fil | --fi | --f )
++ $ac_shift
++ case $ac_optarg in
++ *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
++ '') as_fn_error $? "missing file argument" ;;
++ esac
++ as_fn_append CONFIG_FILES " '$ac_optarg'"
++ ac_need_defaults=false;;
++ --he | --h | --help | --hel | -h )
++ $as_echo "$ac_cs_usage"; exit ;;
++ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
++ | -silent | --silent | --silen | --sile | --sil | --si | --s)
++ ac_cs_silent=: ;;
++
++ # This is an error.
++ -*) as_fn_error $? "unrecognized option: \`$1'
++Try \`$0 --help' for more information." ;;
++
++ *) as_fn_append ac_config_targets " $1"
++ ac_need_defaults=false ;;
++
++ esac
++ shift
++done
++
++ac_configure_extra_args=
++
++if $ac_cs_silent; then
++ exec 6>/dev/null
++ ac_configure_extra_args="$ac_configure_extra_args --silent"
++fi
++
++_ACEOF
++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
++if \$ac_cs_recheck; then
++ set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
++ shift
++ \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
++ CONFIG_SHELL='$SHELL'
++ export CONFIG_SHELL
++ exec "\$@"
++fi
++
++_ACEOF
++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
++exec 5>>config.log
++{
++ echo
++ sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
++## Running $as_me. ##
++_ASBOX
++ $as_echo "$ac_log"
++} >&5
++
++_ACEOF
++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
++#
++# INIT-COMMANDS
++#
++AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
++
++_ACEOF
++
++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
++
++# Handling of arguments.
++for ac_config_target in $ac_config_targets
++do
++ case $ac_config_target in
++ "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
++ "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
++
++ *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
++ esac
++done
++
++
++# If the user did not use the arguments to specify the items to instantiate,
++# then the envvar interface is used. Set only those that are not.
++# We use the long form for the default assignment because of an extremely
++# bizarre bug on SunOS 4.1.3.
++if $ac_need_defaults; then
++ test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
++ test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
++fi
++
++# Have a temporary directory for convenience. Make it in the build tree
++# simply because there is no reason against having it here, and in addition,
++# creating and moving files from /tmp can sometimes cause problems.
++# Hook for its removal unless debugging.
++# Note that there is a small window in which the directory will not be cleaned:
++# after its creation but before its name has been assigned to `$tmp'.
++$debug ||
++{
++ tmp= ac_tmp=
++ trap 'exit_status=$?
++ : "${ac_tmp:=$tmp}"
++ { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
++' 0
++ trap 'as_fn_exit 1' 1 2 13 15
++}
++# Create a (secure) tmp directory for tmp files.
++
++{
++ tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
++ test -d "$tmp"
++} ||
++{
++ tmp=./conf$$-$RANDOM
++ (umask 077 && mkdir "$tmp")
++} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
++ac_tmp=$tmp
++
++# Set up the scripts for CONFIG_FILES section.
++# No need to generate them if there are no CONFIG_FILES.
++# This happens for instance with `./config.status config.h'.
++if test -n "$CONFIG_FILES"; then
++
++
++ac_cr=`echo X | tr X '\015'`
++# On cygwin, bash can eat \r inside `` if the user requested igncr.
++# But we know of no other shell where ac_cr would be empty at this
++# point, so we can use a bashism as a fallback.
++if test "x$ac_cr" = x; then
++ eval ac_cr=\$\'\\r\'
++fi
++ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
++if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
++ ac_cs_awk_cr='\\r'
++else
++ ac_cs_awk_cr=$ac_cr
++fi
++
++echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
++_ACEOF
++
++
++{
++ echo "cat >conf$$subs.awk <<_ACEOF" &&
++ echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
++ echo "_ACEOF"
++} >conf$$subs.sh ||
++ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
++ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
++ac_delim='%!_!# '
++for ac_last_try in false false false false false :; do
++ . ./conf$$subs.sh ||
++ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
++
++ ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
++ if test $ac_delim_n = $ac_delim_num; then
++ break
++ elif $ac_last_try; then
++ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
++ else
++ ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
++ fi
++done
++rm -f conf$$subs.sh
++
++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
++cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
++_ACEOF
++sed -n '
++h
++s/^/S["/; s/!.*/"]=/
++p
++g
++s/^[^!]*!//
++:repl
++t repl
++s/'"$ac_delim"'$//
++t delim
++:nl
++h
++s/\(.\{148\}\)..*/\1/
++t more1
++s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
++p
++n
++b repl
++:more1
++s/["\\]/\\&/g; s/^/"/; s/$/"\\/
++p
++g
++s/.\{148\}//
++t nl
++:delim
++h
++s/\(.\{148\}\)..*/\1/
++t more2
++s/["\\]/\\&/g; s/^/"/; s/$/"/
++p
++b
++:more2
++s/["\\]/\\&/g; s/^/"/; s/$/"\\/
++p
++g
++s/.\{148\}//
++t delim
++' <conf$$subs.awk | sed '
++/^[^""]/{
++ N
++ s/\n//
++}
++' >>$CONFIG_STATUS || ac_write_fail=1
++rm -f conf$$subs.awk
++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
++_ACAWK
++cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
++ for (key in S) S_is_set[key] = 1
++ FS = ""
++
++}
++{
++ line = $ 0
++ nfields = split(line, field, "@")
++ substed = 0
++ len = length(field[1])
++ for (i = 2; i < nfields; i++) {
++ key = field[i]
++ keylen = length(key)
++ if (S_is_set[key]) {
++ value = S[key]
++ line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
++ len += length(value) + length(field[++i])
++ substed = 1
++ } else
++ len += 1 + keylen
++ }
++
++ print line
++}
++
++_ACAWK
++_ACEOF
++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
++if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
++ sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
++else
++ cat
++fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
++ || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
++_ACEOF
++
++# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
++# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
++# trailing colons and then remove the whole line if VPATH becomes empty
++# (actually we leave an empty line to preserve line numbers).
++if test "x$srcdir" = x.; then
++ ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
++h
++s///
++s/^/:/
++s/[ ]*$/:/
++s/:\$(srcdir):/:/g
++s/:\${srcdir}:/:/g
++s/:@srcdir@:/:/g
++s/^:*//
++s/:*$//
++x
++s/\(=[ ]*\).*/\1/
++G
++s/\n//
++s/^[^=]*=[ ]*$//
++}'
++fi
++
++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
++fi # test -n "$CONFIG_FILES"
++
++
++eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
++shift
++for ac_tag
++do
++ case $ac_tag in
++ :[FHLC]) ac_mode=$ac_tag; continue;;
++ esac
++ case $ac_mode$ac_tag in
++ :[FHL]*:*);;
++ :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
++ :[FH]-) ac_tag=-:-;;
++ :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
++ esac
++ ac_save_IFS=$IFS
++ IFS=:
++ set x $ac_tag
++ IFS=$ac_save_IFS
++ shift
++ ac_file=$1
++ shift
++
++ case $ac_mode in
++ :L) ac_source=$1;;
++ :[FH])
++ ac_file_inputs=
++ for ac_f
++ do
++ case $ac_f in
++ -) ac_f="$ac_tmp/stdin";;
++ *) # Look for the file first in the build tree, then in the source tree
++ # (if the path is not absolute). The absolute path cannot be DOS-style,
++ # because $ac_f cannot contain `:'.
++ test -f "$ac_f" ||
++ case $ac_f in
++ [\\/$]*) false;;
++ *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
++ esac ||
++ as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
++ esac
++ case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
++ as_fn_append ac_file_inputs " '$ac_f'"
++ done
++
++ # Let's still pretend it is `configure' which instantiates (i.e., don't
++ # use $as_me), people would be surprised to read:
++ # /* config.h. Generated by config.status. */
++ configure_input='Generated from '`
++ $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
++ `' by configure.'
++ if test x"$ac_file" != x-; then
++ configure_input="$ac_file. $configure_input"
++ { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
++$as_echo "$as_me: creating $ac_file" >&6;}
++ fi
++ # Neutralize special characters interpreted by sed in replacement strings.
++ case $configure_input in #(
++ *\&* | *\|* | *\\* )
++ ac_sed_conf_input=`$as_echo "$configure_input" |
++ sed 's/[\\\\&|]/\\\\&/g'`;; #(
++ *) ac_sed_conf_input=$configure_input;;
++ esac
++
++ case $ac_tag in
++ *:-:* | *:-) cat >"$ac_tmp/stdin" \
++ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
++ esac
++ ;;
++ esac
++
++ ac_dir=`$as_dirname -- "$ac_file" ||
++$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
++ X"$ac_file" : 'X\(//\)[^/]' \| \
++ X"$ac_file" : 'X\(//\)$' \| \
++ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
++$as_echo X"$ac_file" |
++ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
++ s//\1/
++ q
++ }
++ /^X\(\/\/\)[^/].*/{
++ s//\1/
++ q
++ }
++ /^X\(\/\/\)$/{
++ s//\1/
++ q
++ }
++ /^X\(\/\).*/{
++ s//\1/
++ q
++ }
++ s/.*/./; q'`
++ as_dir="$ac_dir"; as_fn_mkdir_p
++ ac_builddir=.
++
++case "$ac_dir" in
++.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
++*)
++ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
++ # A ".." for each directory in $ac_dir_suffix.
++ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
++ case $ac_top_builddir_sub in
++ "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
++ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
++ esac ;;
++esac
++ac_abs_top_builddir=$ac_pwd
++ac_abs_builddir=$ac_pwd$ac_dir_suffix
++# for backward compatibility:
++ac_top_builddir=$ac_top_build_prefix
++
++case $srcdir in
++ .) # We are building in place.
++ ac_srcdir=.
++ ac_top_srcdir=$ac_top_builddir_sub
++ ac_abs_top_srcdir=$ac_pwd ;;
++ [\\/]* | ?:[\\/]* ) # Absolute name.
++ ac_srcdir=$srcdir$ac_dir_suffix;
++ ac_top_srcdir=$srcdir
++ ac_abs_top_srcdir=$srcdir ;;
++ *) # Relative name.
++ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
++ ac_top_srcdir=$ac_top_build_prefix$srcdir
++ ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
++esac
++ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
++
++
++ case $ac_mode in
++ :F)
++ #
++ # CONFIG_FILE
++ #
++
++ case $INSTALL in
++ [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
++ *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
++ esac
++ ac_MKDIR_P=$MKDIR_P
++ case $MKDIR_P in
++ [\\/$]* | ?:[\\/]* ) ;;
++ */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
++ esac
++_ACEOF
++
++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
++# If the template does not know about datarootdir, expand it.
++# FIXME: This hack should be removed a few years after 2.60.
++ac_datarootdir_hack=; ac_datarootdir_seen=
++ac_sed_dataroot='
++/datarootdir/ {
++ p
++ q
++}
++/@datadir@/p
++/@docdir@/p
++/@infodir@/p
++/@localedir@/p
++/@mandir@/p'
++case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
++*datarootdir*) ac_datarootdir_seen=yes;;
++*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
++$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
++_ACEOF
++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
++ ac_datarootdir_hack='
++ s&@datadir@&$datadir&g
++ s&@docdir@&$docdir&g
++ s&@infodir@&$infodir&g
++ s&@localedir@&$localedir&g
++ s&@mandir@&$mandir&g
++ s&\\\${datarootdir}&$datarootdir&g' ;;
++esac
++_ACEOF
++
++# Neutralize VPATH when `$srcdir' = `.'.
++# Shell code in configure.ac might set extrasub.
++# FIXME: do we really want to maintain this feature?
++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
++ac_sed_extra="$ac_vpsub
++$extrasub
++_ACEOF
++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
++:t
++/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
++s|@configure_input@|$ac_sed_conf_input|;t t
++s&@top_builddir@&$ac_top_builddir_sub&;t t
++s&@top_build_prefix@&$ac_top_build_prefix&;t t
++s&@srcdir@&$ac_srcdir&;t t
++s&@abs_srcdir@&$ac_abs_srcdir&;t t
++s&@top_srcdir@&$ac_top_srcdir&;t t
++s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
++s&@builddir@&$ac_builddir&;t t
++s&@abs_builddir@&$ac_abs_builddir&;t t
++s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
++s&@INSTALL@&$ac_INSTALL&;t t
++s&@MKDIR_P@&$ac_MKDIR_P&;t t
++$ac_datarootdir_hack
++"
++eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
++ >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
++
++test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
++ { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
++ { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
++ "$ac_tmp/out"`; test -z "$ac_out"; } &&
++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
++which seems to be undefined. Please make sure it is defined" >&5
++$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
++which seems to be undefined. Please make sure it is defined" >&2;}
++
++ rm -f "$ac_tmp/stdin"
++ case $ac_file in
++ -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
++ *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
++ esac \
++ || as_fn_error $? "could not create $ac_file" "$LINENO" 5
++ ;;
++
++
++ :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
++$as_echo "$as_me: executing $ac_file commands" >&6;}
++ ;;
++ esac
++
++
++ case $ac_file$ac_mode in
++ "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
++ # Autoconf 2.62 quotes --file arguments for eval, but not when files
++ # are listed without --file. Let's play safe and only enable the eval
++ # if we detect the quoting.
++ case $CONFIG_FILES in
++ *\'*) eval set x "$CONFIG_FILES" ;;
++ *) set x $CONFIG_FILES ;;
++ esac
++ shift
++ for mf
++ do
++ # Strip MF so we end up with the name of the file.
++ mf=`echo "$mf" | sed -e 's/:.*$//'`
++ # Check whether this is an Automake generated Makefile or not.
++ # We used to match only the files named `Makefile.in', but
++ # some people rename them; so instead we look at the file content.
++ # Grep'ing the first line is not enough: some people post-process
++ # each Makefile.in and add a new line on top of each file to say so.
++ # Grep'ing the whole file is not good either: AIX grep has a line
++ # limit of 2048, but all sed's we know have understand at least 4000.
++ if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
++ dirpart=`$as_dirname -- "$mf" ||
++$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
++ X"$mf" : 'X\(//\)[^/]' \| \
++ X"$mf" : 'X\(//\)$' \| \
++ X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
++$as_echo X"$mf" |
++ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
++ s//\1/
++ q
++ }
++ /^X\(\/\/\)[^/].*/{
++ s//\1/
++ q
++ }
++ /^X\(\/\/\)$/{
++ s//\1/
++ q
++ }
++ /^X\(\/\).*/{
++ s//\1/
++ q
++ }
++ s/.*/./; q'`
++ else
++ continue
++ fi
++ # Extract the definition of DEPDIR, am__include, and am__quote
++ # from the Makefile without running `make'.
++ DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
++ test -z "$DEPDIR" && continue
++ am__include=`sed -n 's/^am__include = //p' < "$mf"`
++ test -z "am__include" && continue
++ am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
++ # When using ansi2knr, U may be empty or an underscore; expand it
++ U=`sed -n 's/^U = //p' < "$mf"`
++ # Find all dependency output files, they are included files with
++ # $(DEPDIR) in their names. We invoke sed twice because it is the
++ # simplest approach to changing $(DEPDIR) to its actual value in the
++ # expansion.
++ for file in `sed -n "
++ s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
++ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
++ # Make sure the directory exists.
++ test -f "$dirpart/$file" && continue
++ fdir=`$as_dirname -- "$file" ||
++$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
++ X"$file" : 'X\(//\)[^/]' \| \
++ X"$file" : 'X\(//\)$' \| \
++ X"$file" : 'X\(/\)' \| . 2>/dev/null ||
++$as_echo X"$file" |
++ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
++ s//\1/
++ q
++ }
++ /^X\(\/\/\)[^/].*/{
++ s//\1/
++ q
++ }
++ /^X\(\/\/\)$/{
++ s//\1/
++ q
++ }
++ /^X\(\/\).*/{
++ s//\1/
++ q
++ }
++ s/.*/./; q'`
++ as_dir=$dirpart/$fdir; as_fn_mkdir_p
++ # echo "creating $dirpart/$file"
++ echo '# dummy' > "$dirpart/$file"
++ done
++ done
++}
++ ;;
++
++ esac
++done # for ac_tag
++
++
++as_fn_exit 0
++_ACEOF
++ac_clean_files=$ac_clean_files_save
++
++test $ac_write_fail = 0 ||
++ as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
++
++
++# configure is writing to config.log, and then calls config.status.
++# config.status does its own redirection, appending to config.log.
++# Unfortunately, on DOS this fails, as config.log is still kept open
++# by configure, so config.status won't be able to write to it; its
++# output is simply discarded. So we exec the FD to /dev/null,
++# effectively closing config.log, so it can be properly (re)opened and
++# appended to by config.status. When coming back to configure, we
++# need to make the FD available again.
++if test "$no_create" != yes; then
++ ac_cs_success=:
++ ac_config_status_args=
++ test "$silent" = yes &&
++ ac_config_status_args="$ac_config_status_args --quiet"
++ exec 5>/dev/null
++ $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
++ exec 5>>config.log
++ # Use ||, not &&, to avoid exiting from the if with $? = 1, which
++ # would make configure fail if this is the last instruction.
++ $ac_cs_success || as_fn_exit 1
++fi
++if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
++$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
++fi
++
+diff -Naur newlib-1.20.0.orig/newlib/libc/sys/epiphany/configure.in newlib-1.20.0/newlib/libc/sys/epiphany/configure.in
+--- newlib-1.20.0.orig/newlib/libc/sys/epiphany/configure.in 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/newlib/libc/sys/epiphany/configure.in 2012-10-15 10:31:19.634621318 +0200
+@@ -0,0 +1,41 @@
++dnl This is the newlib/libc/sys/epiphany configure.in file.
++
++dnl Copyright (c) 2011, Adapteva, Inc.
++dnl All rights reserved.
++
++dnl Redistribution and use in source and binary forms, with or without
++dnl modification, are permitted provided that the following conditions are met:
++dnl * Redistributions of source code must retain the above copyright notice,
++dnl this list of conditions and the following disclaimer.
++dnl * Redistributions in binary form must reproduce the above copyright
++dnl notice, this list of conditions and the following disclaimer in the
++dnl documentation and/or other materials provided with the distribution.
++dnl * Neither the name of Adapteva nor the names of its contributors may be
++dnl used to endorse or promote products derived from this software without
++dnl specific prior written permission.
++
++dnl THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
++dnl AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
++dnl IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
++dnl ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
++dnl LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
++dnl CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
++dnl SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
++dnl INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
++dnl CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
++dnl ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
++dnl POSSIBILITY OF SUCH DAMAGE.
++
++dnl Process this file with autoconf to produce a configure script.
++
++AC_PREREQ(2.59)
++AC_INIT([newlib],[NEWLIB_VERSION])
++AC_CONFIG_SRCDIR([e_printf.c])
++
++dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake.
++AC_CONFIG_AUX_DIR(../../../..)
++
++NEWLIB_CONFIGURE(../../..)
++
++AC_CONFIG_FILES([Makefile])
++AC_OUTPUT
+diff -Naur newlib-1.20.0.orig/newlib/libc/sys/epiphany/e_printf.c newlib-1.20.0/newlib/libc/sys/epiphany/e_printf.c
+--- newlib-1.20.0.orig/newlib/libc/sys/epiphany/e_printf.c 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/newlib/libc/sys/epiphany/e_printf.c 2012-10-15 10:31:19.634621318 +0200
+@@ -0,0 +1,150 @@
++/* e_printf.c
++
++ Copyright (c) 2011, Adapteva, Inc.
++ All rights reserved.
++
++ Redistribution and use in source and binary forms, with or without
++ modification, are permitted provided that the following conditions are met:
++ * Redistributions of source code must retain the above copyright notice,
++ this list of conditions and the following disclaimer.
++ * Redistributions in binary form must reproduce the above copyright
++ notice, this list of conditions and the following disclaimer in the
++ documentation and/or other materials provided with the distribution.
++ * Neither the name of Adapteva nor the names of its contributors may be
++ used to endorse or promote products derived from this software without
++ specific prior written permission.
++
++ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
++ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
++ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
++ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
++ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
++ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
++ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
++ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
++ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
++ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
++ POSSIBILITY OF SUCH DAMAGE. */
++#include <stdarg.h>
++#include <string.h>
++
++
++
++
++int trap_7( char *s , int _bsize, int _argsize) {
++ volatile register void* buff_adrr asm("r0") = s;
++ volatile register unsigned bsize asm("r1") = _bsize;
++ volatile register unsigned argsize asm("r2") = _argsize;
++ volatile register int result asm("r0");
++ __asm__ __volatile__ ("trap 7" : "=r" (result) : "r" (buff_adrr), "r" (bsize) , "r" (argsize));
++ return result;
++
++}
++
++//#include <stdio.h>
++//#include <string.h>
++//#include <stdlib.h>
++
++volatile static int*fp_int =0;
++volatile int getIntFromFloat(float *f) {
++ fp_int= (int*)f;
++
++ return *fp_int;
++}
++
++
++int e_printf(const char *fmt, ...) {
++
++ char buf[256],*p,*fmt_p;
++ va_list args;
++ int percentMet=0;
++ int pos = 0;
++
++ char *v_arg_s;
++ unsigned v_arg_int;
++ float fl_f[1];
++
++ unsigned fmt_len = strnlen(fmt,128);
++
++ fmt_p = (char*)fmt;
++
++ //printf("---- 111 +++ %d \n", strlen(fmt));
++
++ va_start(args, fmt);
++
++ p = (char*)buf;
++
++ strcpy(buf,fmt);
++ pos =fmt_len;
++ p[pos] = '\0';
++ pos++;
++
++ va_start(args, fmt);
++
++ while (*fmt_p) {
++
++// putchar(*p);
++// puts("");
++
++ if(*fmt_p == '%') {
++ percentMet=1;
++ }
++ if(*fmt_p == 's' && percentMet == 1 ) {
++ percentMet=0;
++ v_arg_s = va_arg(args, char *);
++ if (!v_arg_s) v_arg_s = "<NULL>";
++
++ strcpy(p + pos , v_arg_s );
++ pos+=strlen(v_arg_s);
++
++ p[pos] = '\0';
++ pos++;
++ }
++
++ if((*fmt_p == 'i' || *fmt_p == 'd' || *fmt_p == 'u' || *fmt_p == 'x' || *fmt_p == 'f' ) && percentMet == 1 ) {
++ percentMet=0;
++ if(*fmt_p == 'f' ) {
++ fl_f[0] = (float)va_arg(args, double);
++ //printf("v_arg_ float --- %f \n", fl_f[0]);
++ //printf("v_arg_ p --- %x \n", *( (unsigned *)fl_f));
++
++ v_arg_int = getIntFromFloat (fl_f);
++
++ //v_arg_int = 0;
++
++ } else {
++ v_arg_int = (int)va_arg(args, int);
++ }
++
++// if(*fmt_p == 'd') {
++// printf("v_arg_int --- %d \n", v_arg_int);
++// }
++// if(*fmt_p == 'x') {
++// printf("v_arg_int --- %x \n", v_arg_int);
++// }
++// if(*fmt_p == 'f') {
++// printf("fff++v_arg_int --- %x \n", v_arg_int);
++// fl = (float*)&v_arg_int;
++// printf("fff++ v_arg_float --- %f \n", *fl);
++// }
++
++ *(p + pos) = ((v_arg_int>>24) & 0xff);
++ pos++;
++ *(p + pos) = ((v_arg_int>>16) & 0xff);
++ pos++;
++ *(p + pos) = ((v_arg_int>>8) & 0xff);
++ pos++;
++ *(p + pos) = ((v_arg_int>>0) & 0xff);
++ pos++;
++ }
++
++ fmt_p++;
++ }
++
++ va_end(args);
++
++ //printf(" +++ %d %d \n" , strlen(fmt), pos);
++
++ return trap_7((char*)buf ,fmt_len, pos) ;
++ //return 1;
++}
+diff -Naur newlib-1.20.0.orig/newlib/libc/sys/epiphany/Makefile.am newlib-1.20.0/newlib/libc/sys/epiphany/Makefile.am
+--- newlib-1.20.0.orig/newlib/libc/sys/epiphany/Makefile.am 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/newlib/libc/sys/epiphany/Makefile.am 2012-10-15 10:31:19.629621236 +0200
+@@ -0,0 +1,43 @@
++# Copyright (c) 2011, Adapteva, Inc.
++# All rights reserved.
++
++# Redistribution and use in source and binary forms, with or without
++# modification, are permitted provided that the following conditions are met:
++# * Redistributions of source code must retain the above copyright notice,
++# this list of conditions and the following disclaimer.
++# * Redistributions in binary form must reproduce the above copyright
++# notice, this list of conditions and the following disclaimer in the
++# documentation and/or other materials provided with the distribution.
++# * Neither the name of Adapteva nor the names of its contributors may be
++# used to endorse or promote products derived from this software without
++# specific prior written permission.
++
++# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
++# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
++# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
++# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
++# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
++# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
++# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
++# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
++# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
++# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
++# POSSIBILITY OF SUCH DAMAGE.
++
++## Process this file with automake to generate Makefile.in
++
++AUTOMAKE_OPTIONS = cygnus
++
++INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
++
++AM_CCASFLAGS = $(INCLUDES)
++
++noinst_LIBRARIES = lib.a
++
++# crt0.o comes from libgloss
++lib_a_SOURCES = e_printf.c
++lib_a_CCASFLAGS = $(AM_CCASFLAGS)
++lib_a_CFLAGS = $(AM_CFLAGS)
++
++ACLOCAL_AMFLAGS = -I ../../.. -I ../../../..
++CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host
+diff -Naur newlib-1.20.0.orig/newlib/libc/sys/epiphany/Makefile.in newlib-1.20.0/newlib/libc/sys/epiphany/Makefile.in
+--- newlib-1.20.0.orig/newlib/libc/sys/epiphany/Makefile.in 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/newlib/libc/sys/epiphany/Makefile.in 2012-10-15 10:31:19.629621236 +0200
+@@ -0,0 +1,439 @@
++# Makefile.in generated by automake 1.11.1 from Makefile.am.
++# @configure_input@
++
++# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
++# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
++# Inc.
++# This Makefile.in is free software; the Free Software Foundation
++# gives unlimited permission to copy and/or distribute it,
++# with or without modifications, as long as this notice is preserved.
++
++# This program is distributed in the hope that it will be useful,
++# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
++# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
++# PARTICULAR PURPOSE.
++
++@SET_MAKE@
++
++# Copyright (c) 2011, Adapteva, Inc.
++# All rights reserved.
++
++# Redistribution and use in source and binary forms, with or without
++# modification, are permitted provided that the following conditions are met:
++# * Redistributions of source code must retain the above copyright notice,
++# this list of conditions and the following disclaimer.
++# * Redistributions in binary form must reproduce the above copyright
++# notice, this list of conditions and the following disclaimer in the
++# documentation and/or other materials provided with the distribution.
++# * Neither the name of Adapteva nor the names of its contributors may be
++# used to endorse or promote products derived from this software without
++# specific prior written permission.
++
++# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
++# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
++# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
++# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
++# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
++# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
++# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
++# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
++# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
++# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
++# POSSIBILITY OF SUCH DAMAGE.
++
++VPATH = @srcdir@
++pkgdatadir = $(datadir)/@PACKAGE@
++pkgincludedir = $(includedir)/@PACKAGE@
++pkglibdir = $(libdir)/@PACKAGE@
++pkglibexecdir = $(libexecdir)/@PACKAGE@
++am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
++install_sh_DATA = $(install_sh) -c -m 644
++install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
++INSTALL_HEADER = $(INSTALL_DATA)
++transform = $(program_transform_name)
++NORMAL_INSTALL = :
++PRE_INSTALL = :
++POST_INSTALL = :
++NORMAL_UNINSTALL = :
++PRE_UNINSTALL = :
++POST_UNINSTALL = :
++build_triplet = @build@
++host_triplet = @host@
++subdir = .
++DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
++ $(top_srcdir)/configure $(am__configure_deps) \
++ $(srcdir)/../../../../mkinstalldirs
++ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
++am__aclocal_m4_deps = $(top_srcdir)/../../../acinclude.m4 \
++ $(top_srcdir)/configure.in
++am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
++ $(ACLOCAL_M4)
++am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
++ configure.lineno config.status.lineno
++mkinstalldirs = $(SHELL) $(top_srcdir)/../../../../mkinstalldirs
++CONFIG_CLEAN_FILES =
++CONFIG_CLEAN_VPATH_FILES =
++LIBRARIES = $(noinst_LIBRARIES)
++ARFLAGS = cru
++lib_a_AR = $(AR) $(ARFLAGS)
++lib_a_LIBADD =
++am_lib_a_OBJECTS = lib_a-e_printf.$(OBJEXT)
++lib_a_OBJECTS = $(am_lib_a_OBJECTS)
++DEFAULT_INCLUDES = -I.@am__isrc@
++depcomp =
++am__depfiles_maybe =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++CCLD = $(CC)
++LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
++SOURCES = $(lib_a_SOURCES)
++ETAGS = etags
++CTAGS = ctags
++ACLOCAL = @ACLOCAL@
++AMTAR = @AMTAR@
++AR = @AR@
++AS = @AS@
++AUTOCONF = @AUTOCONF@
++AUTOHEADER = @AUTOHEADER@
++AUTOMAKE = @AUTOMAKE@
++AWK = @AWK@
++CC = @CC@
++CCAS = @CCAS@
++CCASFLAGS = @CCASFLAGS@
++CCDEPMODE = @CCDEPMODE@
++CYGPATH_W = @CYGPATH_W@
++DEFS = @DEFS@
++DEPDIR = @DEPDIR@
++ECHO_C = @ECHO_C@
++ECHO_N = @ECHO_N@
++ECHO_T = @ECHO_T@
++INSTALL = @INSTALL@
++INSTALL_DATA = @INSTALL_DATA@
++INSTALL_PROGRAM = @INSTALL_PROGRAM@
++INSTALL_SCRIPT = @INSTALL_SCRIPT@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
++LDFLAGS = @LDFLAGS@
++LIBOBJS = @LIBOBJS@
++LIBS = @LIBS@
++LTLIBOBJS = @LTLIBOBJS@
++MAINT = @MAINT@
++MAKEINFO = @MAKEINFO@
++MKDIR_P = @MKDIR_P@
++NEWLIB_CFLAGS = @NEWLIB_CFLAGS@
++NO_INCLUDE_LIST = @NO_INCLUDE_LIST@
++OBJEXT = @OBJEXT@
++PACKAGE = @PACKAGE@
++PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
++PACKAGE_NAME = @PACKAGE_NAME@
++PACKAGE_STRING = @PACKAGE_STRING@
++PACKAGE_TARNAME = @PACKAGE_TARNAME@
++PACKAGE_URL = @PACKAGE_URL@
++PACKAGE_VERSION = @PACKAGE_VERSION@
++PATH_SEPARATOR = @PATH_SEPARATOR@
++RANLIB = @RANLIB@
++READELF = @READELF@
++SET_MAKE = @SET_MAKE@
++SHELL = @SHELL@
++STRIP = @STRIP@
++VERSION = @VERSION@
++abs_builddir = @abs_builddir@
++abs_srcdir = @abs_srcdir@
++abs_top_builddir = @abs_top_builddir@
++abs_top_srcdir = @abs_top_srcdir@
++aext = @aext@
++am__include = @am__include@
++am__leading_dot = @am__leading_dot@
++am__quote = @am__quote@
++am__tar = @am__tar@
++am__untar = @am__untar@
++bindir = @bindir@
++build = @build@
++build_alias = @build_alias@
++build_cpu = @build_cpu@
++build_os = @build_os@
++build_vendor = @build_vendor@
++builddir = @builddir@
++datadir = @datadir@
++datarootdir = @datarootdir@
++docdir = @docdir@
++dvidir = @dvidir@
++exec_prefix = @exec_prefix@
++host = @host@
++host_alias = @host_alias@
++host_cpu = @host_cpu@
++host_os = @host_os@
++host_vendor = @host_vendor@
++htmldir = @htmldir@
++includedir = @includedir@
++infodir = @infodir@
++install_sh = @install_sh@
++libdir = @libdir@
++libexecdir = @libexecdir@
++libm_machine_dir = @libm_machine_dir@
++localedir = @localedir@
++localstatedir = @localstatedir@
++lpfx = @lpfx@
++machine_dir = @machine_dir@
++mandir = @mandir@
++mkdir_p = @mkdir_p@
++newlib_basedir = @newlib_basedir@
++oext = @oext@
++oldincludedir = @oldincludedir@
++pdfdir = @pdfdir@
++prefix = @prefix@
++program_transform_name = @program_transform_name@
++psdir = @psdir@
++sbindir = @sbindir@
++sharedstatedir = @sharedstatedir@
++srcdir = @srcdir@
++sys_dir = @sys_dir@
++sysconfdir = @sysconfdir@
++target_alias = @target_alias@
++top_build_prefix = @top_build_prefix@
++top_builddir = @top_builddir@
++top_srcdir = @top_srcdir@
++AUTOMAKE_OPTIONS = cygnus
++INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
++AM_CCASFLAGS = $(INCLUDES)
++noinst_LIBRARIES = lib.a
++
++# crt0.o comes from libgloss
++lib_a_SOURCES = e_printf.c
++lib_a_CCASFLAGS = $(AM_CCASFLAGS)
++lib_a_CFLAGS = $(AM_CFLAGS)
++ACLOCAL_AMFLAGS = -I ../../.. -I ../../../..
++CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host
++all: all-am
++
++.SUFFIXES:
++.SUFFIXES: .c .o .obj
++am--refresh:
++ @:
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
++ @for dep in $?; do \
++ case '$(am__configure_deps)' in \
++ *$$dep*) \
++ echo ' cd $(srcdir) && $(AUTOMAKE) --cygnus'; \
++ $(am__cd) $(srcdir) && $(AUTOMAKE) --cygnus \
++ && exit 0; \
++ exit 1;; \
++ esac; \
++ done; \
++ echo ' cd $(top_srcdir) && $(AUTOMAKE) --cygnus Makefile'; \
++ $(am__cd) $(top_srcdir) && \
++ $(AUTOMAKE) --cygnus Makefile
++.PRECIOUS: Makefile
++Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
++ @case '$?' in \
++ *config.status*) \
++ echo ' $(SHELL) ./config.status'; \
++ $(SHELL) ./config.status;; \
++ *) \
++ echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
++ cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
++ esac;
++
++$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
++ $(SHELL) ./config.status --recheck
++
++$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
++ $(am__cd) $(srcdir) && $(AUTOCONF)
++$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
++ $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
++$(am__aclocal_m4_deps):
++
++clean-noinstLIBRARIES:
++ -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
++lib.a: $(lib_a_OBJECTS) $(lib_a_DEPENDENCIES)
++ -rm -f lib.a
++ $(lib_a_AR) lib.a $(lib_a_OBJECTS) $(lib_a_LIBADD)
++ $(RANLIB) lib.a
++
++mostlyclean-compile:
++ -rm -f *.$(OBJEXT)
++
++distclean-compile:
++ -rm -f *.tab.c
++
++.c.o:
++ $(COMPILE) -c $<
++
++.c.obj:
++ $(COMPILE) -c `$(CYGPATH_W) '$<'`
++
++lib_a-e_printf.o: e_printf.c
++ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CFLAGS) $(CFLAGS) -c -o lib_a-e_printf.o `test -f 'e_printf.c' || echo '$(srcdir)/'`e_printf.c
++
++lib_a-e_printf.obj: e_printf.c
++ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CFLAGS) $(CFLAGS) -c -o lib_a-e_printf.obj `if test -f 'e_printf.c'; then $(CYGPATH_W) 'e_printf.c'; else $(CYGPATH_W) '$(srcdir)/e_printf.c'; fi`
++
++ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
++ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
++ unique=`for i in $$list; do \
++ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
++ done | \
++ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
++ END { if (nonempty) { for (i in files) print i; }; }'`; \
++ mkid -fID $$unique
++tags: TAGS
++
++TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
++ $(TAGS_FILES) $(LISP)
++ set x; \
++ here=`pwd`; \
++ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
++ unique=`for i in $$list; do \
++ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
++ done | \
++ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
++ END { if (nonempty) { for (i in files) print i; }; }'`; \
++ shift; \
++ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
++ test -n "$$unique" || unique=$$empty_fix; \
++ if test $$# -gt 0; then \
++ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
++ "$$@" $$unique; \
++ else \
++ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
++ $$unique; \
++ fi; \
++ fi
++ctags: CTAGS
++CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
++ $(TAGS_FILES) $(LISP)
++ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
++ unique=`for i in $$list; do \
++ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
++ done | \
++ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
++ END { if (nonempty) { for (i in files) print i; }; }'`; \
++ test -z "$(CTAGS_ARGS)$$unique" \
++ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
++ $$unique
++
++GTAGS:
++ here=`$(am__cd) $(top_builddir) && pwd` \
++ && $(am__cd) $(top_srcdir) \
++ && gtags -i $(GTAGS_ARGS) "$$here"
++
++distclean-tags:
++ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
++check-am:
++check: check-am
++all-am: Makefile $(LIBRARIES)
++installdirs:
++install: install-am
++install-exec: install-exec-am
++install-data: install-data-am
++uninstall: uninstall-am
++
++install-am: all-am
++ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
++
++installcheck: installcheck-am
++install-strip:
++ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
++ `test -z '$(STRIP)' || \
++ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
++mostlyclean-generic:
++
++clean-generic:
++
++distclean-generic:
++ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
++ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
++
++maintainer-clean-generic:
++ @echo "This command is intended for maintainers to use"
++ @echo "it deletes files that may require special tools to rebuild."
++clean: clean-am
++
++clean-am: clean-generic clean-noinstLIBRARIES mostlyclean-am
++
++distclean: distclean-am
++ -rm -f $(am__CONFIG_DISTCLEAN_FILES)
++ -rm -f Makefile
++distclean-am: clean-am distclean-compile distclean-generic \
++ distclean-tags
++
++dvi: dvi-am
++
++dvi-am:
++
++html: html-am
++
++html-am:
++
++info: info-am
++
++info-am:
++
++install-data-am:
++
++install-dvi: install-dvi-am
++
++install-dvi-am:
++
++install-exec-am:
++
++install-html: install-html-am
++
++install-html-am:
++
++install-info: install-info-am
++
++install-info-am:
++
++install-man:
++
++install-pdf: install-pdf-am
++
++install-pdf-am:
++
++install-ps: install-ps-am
++
++install-ps-am:
++
++installcheck-am:
++
++maintainer-clean: maintainer-clean-am
++ -rm -f $(am__CONFIG_DISTCLEAN_FILES)
++ -rm -rf $(top_srcdir)/autom4te.cache
++ -rm -f Makefile
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-am
++
++mostlyclean-am: mostlyclean-compile mostlyclean-generic
++
++pdf: pdf-am
++
++pdf-am:
++
++ps: ps-am
++
++ps-am:
++
++uninstall-am:
++
++.MAKE: install-am install-strip
++
++.PHONY: CTAGS GTAGS all all-am am--refresh check check-am clean \
++ clean-generic clean-noinstLIBRARIES ctags distclean \
++ distclean-compile distclean-generic distclean-tags dvi dvi-am \
++ html html-am info info-am install install-am install-data \
++ install-data-am install-dvi install-dvi-am install-exec \
++ install-exec-am install-html install-html-am install-info \
++ install-info-am install-man install-pdf install-pdf-am \
++ install-ps install-ps-am install-strip installcheck \
++ installcheck-am installdirs maintainer-clean \
++ maintainer-clean-generic mostlyclean mostlyclean-compile \
++ mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
++ uninstall-am
++
++
++# Tell versions [3.59,3.63) of GNU make to not export all variables.
++# Otherwise a system limit (for SysV at least) may be exceeded.
++.NOEXPORT:
+diff -Naur newlib-1.20.0.orig/newlib/libc/sys/h8300hms/sys/file.h newlib-1.20.0/newlib/libc/sys/h8300hms/sys/file.h
+--- newlib-1.20.0.orig/newlib/libc/sys/h8300hms/sys/file.h 2001-02-22 23:12:42.000000000 +0100
++++ newlib-1.20.0/newlib/libc/sys/h8300hms/sys/file.h 2012-10-15 10:31:19.634621318 +0200
+@@ -3,7 +3,7 @@
+ * Copyright (C) 1991 DJ Delorie
+ * All rights reserved.
+ *
+- * Redistribution and use in source and binary forms is permitted
++ * Redistribution, modification, and use in source and binary forms is permitted
+ * provided that the above copyright notice and following paragraph are
+ * duplicated in all such forms.
+ *
+diff -Naur newlib-1.20.0.orig/newlib/libc/sys/linux/machine/i386/setjmp.S newlib-1.20.0/newlib/libc/sys/linux/machine/i386/setjmp.S
+--- newlib-1.20.0.orig/newlib/libc/sys/linux/machine/i386/setjmp.S 2002-05-18 01:39:38.000000000 +0200
++++ newlib-1.20.0/newlib/libc/sys/linux/machine/i386/setjmp.S 2012-10-15 10:31:19.635621334 +0200
+@@ -8,7 +8,7 @@
+ * Copyright (C) 1991 DJ Delorie
+ * All rights reserved.
+ *
+- * Redistribution and use in source and binary forms is permitted
++ * Redistribution, modification, and use in source and binary forms is permitted
+ * provided that the above copyright notice and following paragraph are
+ * duplicated in all such forms.
+ *
+diff -Naur newlib-1.20.0.orig/newlib/libc/sys/rtems/machine/_types.h newlib-1.20.0/newlib/libc/sys/rtems/machine/_types.h
+--- newlib-1.20.0.orig/newlib/libc/sys/rtems/machine/_types.h 2010-11-16 18:29:39.000000000 +0100
++++ newlib-1.20.0/newlib/libc/sys/rtems/machine/_types.h 2012-10-15 10:31:19.635621334 +0200
+@@ -13,7 +13,7 @@
+ * could be applied here.
+ */
+
+-#if defined(__i386__) || defined(__m32r__) || defined(__h8300__) || defined(__arm__) || defined(__bfin__) || defined(__m68k__)
++#if defined(__i386__) || defined(__m32r__) || defined(__h8300__) || (defined(__arm__) && !defined(__ARM_EABI__)) || defined(__bfin__) || defined(__m68k__) || defined(__MICROBLAZE__)
+ #if defined(__H8300__)
+ typedef signed int _ssize_t;
+ #else
+@@ -23,7 +23,8 @@
+ #elif defined(__sparc__) && defined(__LP64__)
+ typedef long signed int _ssize_t;
+ #define __ssize_t_defined 1
+-#elif defined(__AVR__) || defined(__lm32__) || defined(__m32c__) || defined(__mips__) || defined(__moxie__) || defined(__PPC__) || defined(__sparc__) || defined(__sh__)
++#elif defined(__AVR__) || defined(__lm32__) || defined(__m32c__) || defined(__mips__) || defined(__moxie__) || defined(__PPC__) || defined(__sparc__) || defined(__sh__) || defined(__ARM_EABI__) \
++ || defined(__v850__) || defined(__v851__)
+ typedef signed int _ssize_t;
+ #define __ssize_t_defined 1
+ #else
+diff -Naur newlib-1.20.0.orig/newlib/libc/sys/rtems/sys/dirent.h newlib-1.20.0/newlib/libc/sys/rtems/sys/dirent.h
+--- newlib-1.20.0.orig/newlib/libc/sys/rtems/sys/dirent.h 2011-07-26 06:04:45.000000000 +0200
++++ newlib-1.20.0/newlib/libc/sys/rtems/sys/dirent.h 2012-10-15 10:31:19.635621334 +0200
+@@ -1,6 +1,8 @@
+ #ifndef _SYS_DIRENT_H
+ # define _SYS_DIRENT_H
+
++#include <limits.h> /* NAME_MAX */
++
+ #ifdef __cplusplus
+ extern "C" {
+ #endif
+diff -Naur newlib-1.20.0.orig/newlib/libc/sys/rtems/sys/utime.h newlib-1.20.0/newlib/libc/sys/rtems/sys/utime.h
+--- newlib-1.20.0.orig/newlib/libc/sys/rtems/sys/utime.h 2002-11-07 20:27:36.000000000 +0100
++++ newlib-1.20.0/newlib/libc/sys/rtems/sys/utime.h 2012-10-15 10:31:19.636621350 +0200
+@@ -1,10 +1,12 @@
+ /*
+- * $Id: utime.h,v 1.1 2002/11/07 19:27:36 jjohnstn Exp $
++ * $Id$
+ */
+
+ #ifndef __UTIME_h__
+ #define __UTIME_h__
+
++#include <sys/types.h>
++
+ #ifdef __cplusplus
+ extern "C" {
+ #endif
+diff -Naur newlib-1.20.0.orig/newlib/libc/sys/sysmec/access.c newlib-1.20.0/newlib/libc/sys/sysmec/access.c
+--- newlib-1.20.0.orig/newlib/libc/sys/sysmec/access.c 2001-02-22 23:12:43.000000000 +0100
++++ newlib-1.20.0/newlib/libc/sys/sysmec/access.c 2012-10-15 10:31:19.636621350 +0200
+@@ -3,7 +3,7 @@
+ * Copyright (C) 1993 DJ Delorie
+ * All rights reserved.
+ *
+- * Redistribution and use in source and binary forms is permitted
++ * Redistribution, modification, and use in source and binary forms is permitted
+ * provided that the above copyright notice and following paragraph are
+ * duplicated in all such forms.
+ *
+diff -Naur newlib-1.20.0.orig/newlib/libc/sys/sysnecv850/access.c newlib-1.20.0/newlib/libc/sys/sysnecv850/access.c
+--- newlib-1.20.0.orig/newlib/libc/sys/sysnecv850/access.c 2001-02-22 23:12:43.000000000 +0100
++++ newlib-1.20.0/newlib/libc/sys/sysnecv850/access.c 2012-10-15 10:31:19.636621350 +0200
+@@ -3,7 +3,7 @@
+ * Copyright (C) 1993 DJ Delorie
+ * All rights reserved.
+ *
+- * Redistribution and use in source and binary forms is permitted
++ * Redistribution, modification, and use in source and binary forms is permitted
+ * provided that the above copyright notice and following paragraph are
+ * duplicated in all such forms.
+ *
+diff -Naur newlib-1.20.0.orig/newlib/libc/sys/sysnecv850/crt0.S newlib-1.20.0/newlib/libc/sys/sysnecv850/crt0.S
+--- newlib-1.20.0.orig/newlib/libc/sys/sysnecv850/crt0.S 2008-05-21 09:44:32.000000000 +0200
++++ newlib-1.20.0/newlib/libc/sys/sysnecv850/crt0.S 2012-10-15 10:31:19.636621350 +0200
+@@ -5,7 +5,7 @@
+
+ _start:
+
+-#if defined __v850e__
++#if defined(__v850e__) || defined(__v850e2__) || defined(__v850e2v3__)
+
+ movea 255, r0, r20
+ mov 65535, r21
+diff -Naur newlib-1.20.0.orig/newlib/libc/sys/sysnecv850/sbrk.c newlib-1.20.0/newlib/libc/sys/sysnecv850/sbrk.c
+--- newlib-1.20.0.orig/newlib/libc/sys/sysnecv850/sbrk.c 2011-05-27 12:46:47.000000000 +0200
++++ newlib-1.20.0/newlib/libc/sys/sysnecv850/sbrk.c 2012-10-15 10:31:19.637621366 +0200
+@@ -6,13 +6,13 @@
+ caddr_t
+ _sbrk (int incr)
+ {
+- extern char heap_start; /* Defined by the linker script. */
++ extern char heap_start[]; /* Defined by the linker script. */
+ static char * heap_end = NULL;
+ char * prev_heap_end;
+ char * sp = (char *) & sp;
+
+ if (heap_end == NULL)
+- heap_end = & heap_start;
++ heap_end = heap_start;
+
+ prev_heap_end = heap_end;
+
+diff -Naur newlib-1.20.0.orig/newlib/libc/time/strftime.c newlib-1.20.0/newlib/libc/time/strftime.c
+--- newlib-1.20.0.orig/newlib/libc/time/strftime.c 2011-12-12 11:48:29.000000000 +0100
++++ newlib-1.20.0/newlib/libc/time/strftime.c 2012-10-15 10:31:19.637621366 +0200
+@@ -693,7 +693,7 @@
+ #endif /* !_WANT_C99_TIME_FORMATS */
+ {
+ size_t count = 0;
+- int i, len;
++ int i, len = 0;
+ const CHAR *ctloc;
+ #if defined (MAKE_WCSFTIME) && !defined (__HAVE_LOCALE_INFO_EXTENDED__)
+ CHAR ctlocbuf[CTLOCBUFLEN];
+diff -Naur newlib-1.20.0.orig/newlib/libc/time/strptime.c newlib-1.20.0/newlib/libc/time/strptime.c
+--- newlib-1.20.0.orig/newlib/libc/time/strptime.c 2011-08-19 18:58:20.000000000 +0200
++++ newlib-1.20.0/newlib/libc/time/strptime.c 2012-10-15 10:31:19.638621382 +0200
+@@ -165,8 +165,8 @@
+ char *s;
+ int ret;
+
+- if (isspace (c)) {
+- while (isspace (*buf))
++ if (isspace ((unsigned char) c)) {
++ while (isspace ((unsigned char) *buf))
+ ++buf;
+ } else if (c == '%' && format[1] != '\0') {
+ c = *++format;
+diff -Naur newlib-1.20.0.orig/newlib/libm/common/modfl.c newlib-1.20.0/newlib/libm/common/modfl.c
+--- newlib-1.20.0.orig/newlib/libm/common/modfl.c 2009-04-18 00:15:43.000000000 +0200
++++ newlib-1.20.0/newlib/libm/common/modfl.c 2012-10-15 10:31:19.638621382 +0200
+@@ -36,7 +36,7 @@
+ long double
+ modfl (long double x, long double *iptr)
+ {
+- return modf(x, iptr);
++ return modf(x, (double*) iptr);
+ }
+ #endif
+
+diff -Naur newlib-1.20.0.orig/newlib/libm/common/sf_round.c newlib-1.20.0/newlib/libm/common/sf_round.c
+--- newlib-1.20.0.orig/newlib/libm/common/sf_round.c 2010-10-08 17:24:56.000000000 +0200
++++ newlib-1.20.0/newlib/libm/common/sf_round.c 2012-10-15 10:31:19.638621382 +0200
+@@ -18,16 +18,12 @@
+ float x;
+ #endif
+ {
+- int signbit;
+ __uint32_t w;
+ /* Most significant word, least significant word. */
+ int exponent_less_127;
+
+ GET_FLOAT_WORD(w, x);
+
+- /* Extract sign bit. */
+- signbit = w & 0x80000000;
+-
+ /* Extract exponent field. */
+ exponent_less_127 = (int)((w & 0x7f800000) >> 23) - 127;
+
+diff -Naur newlib-1.20.0.orig/newlib/libm/common/s_round.c newlib-1.20.0/newlib/libm/common/s_round.c
+--- newlib-1.20.0.orig/newlib/libm/common/s_round.c 2009-03-25 20:13:01.000000000 +0100
++++ newlib-1.20.0/newlib/libm/common/s_round.c 2012-10-15 10:31:19.638621382 +0200
+@@ -68,7 +68,7 @@
+ msw &= 0x80000000;
+ if (exponent_less_1023 == -1)
+ /* Result is +1.0 or -1.0. */
+- msw |= (1023 << 20);
++ msw |= ((__int32_t)1023 << 20);
+ lsw = 0;
+ }
+ else
+diff -Naur newlib-1.20.0.orig/newlib/libm/machine/aarch64/aclocal.m4 newlib-1.20.0/newlib/libm/machine/aarch64/aclocal.m4
+--- newlib-1.20.0.orig/newlib/libm/machine/aarch64/aclocal.m4 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/newlib/libm/machine/aarch64/aclocal.m4 2012-10-15 10:31:19.640621414 +0200
+@@ -0,0 +1,992 @@
++# generated automatically by aclocal 1.11.1 -*- Autoconf -*-
++
++# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
++# 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
++# This file is free software; the Free Software Foundation
++# gives unlimited permission to copy and/or distribute it,
++# with or without modifications, as long as this notice is preserved.
++
++# This program is distributed in the hope that it will be useful,
++# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
++# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
++# PARTICULAR PURPOSE.
++
++m4_ifndef([AC_AUTOCONF_VERSION],
++ [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
++m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.68],,
++[m4_warning([this file was generated for autoconf 2.68.
++You have another version of autoconf. It may work, but is not guaranteed to.
++If you have problems, you may need to regenerate the build system entirely.
++To do so, use the procedure documented by the package, typically `autoreconf'.])])
++
++# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
++#
++# This file is free software; the Free Software Foundation
++# gives unlimited permission to copy and/or distribute it,
++# with or without modifications, as long as this notice is preserved.
++
++# AM_AUTOMAKE_VERSION(VERSION)
++# ----------------------------
++# Automake X.Y traces this macro to ensure aclocal.m4 has been
++# generated from the m4 files accompanying Automake X.Y.
++# (This private macro should not be called outside this file.)
++AC_DEFUN([AM_AUTOMAKE_VERSION],
++[am__api_version='1.11'
++dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
++dnl require some minimum version. Point them to the right macro.
++m4_if([$1], [1.11.1], [],
++ [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
++])
++
++# _AM_AUTOCONF_VERSION(VERSION)
++# -----------------------------
++# aclocal traces this macro to find the Autoconf version.
++# This is a private macro too. Using m4_define simplifies
++# the logic in aclocal, which can simply ignore this definition.
++m4_define([_AM_AUTOCONF_VERSION], [])
++
++# AM_SET_CURRENT_AUTOMAKE_VERSION
++# -------------------------------
++# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
++# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
++AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
++[AM_AUTOMAKE_VERSION([1.11.1])dnl
++m4_ifndef([AC_AUTOCONF_VERSION],
++ [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
++_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
++
++# AM_AUX_DIR_EXPAND -*- Autoconf -*-
++
++# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
++#
++# This file is free software; the Free Software Foundation
++# gives unlimited permission to copy and/or distribute it,
++# with or without modifications, as long as this notice is preserved.
++
++# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
++# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
++# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
++#
++# Of course, Automake must honor this variable whenever it calls a
++# tool from the auxiliary directory. The problem is that $srcdir (and
++# therefore $ac_aux_dir as well) can be either absolute or relative,
++# depending on how configure is run. This is pretty annoying, since
++# it makes $ac_aux_dir quite unusable in subdirectories: in the top
++# source directory, any form will work fine, but in subdirectories a
++# relative path needs to be adjusted first.
++#
++# $ac_aux_dir/missing
++# fails when called from a subdirectory if $ac_aux_dir is relative
++# $top_srcdir/$ac_aux_dir/missing
++# fails if $ac_aux_dir is absolute,
++# fails when called from a subdirectory in a VPATH build with
++# a relative $ac_aux_dir
++#
++# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
++# are both prefixed by $srcdir. In an in-source build this is usually
++# harmless because $srcdir is `.', but things will broke when you
++# start a VPATH build or use an absolute $srcdir.
++#
++# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
++# iff we strip the leading $srcdir from $ac_aux_dir. That would be:
++# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
++# and then we would define $MISSING as
++# MISSING="\${SHELL} $am_aux_dir/missing"
++# This will work as long as MISSING is not called from configure, because
++# unfortunately $(top_srcdir) has no meaning in configure.
++# However there are other variables, like CC, which are often used in
++# configure, and could therefore not use this "fixed" $ac_aux_dir.
++#
++# Another solution, used here, is to always expand $ac_aux_dir to an
++# absolute PATH. The drawback is that using absolute paths prevent a
++# configured tree to be moved without reconfiguration.
++
++AC_DEFUN([AM_AUX_DIR_EXPAND],
++[dnl Rely on autoconf to set up CDPATH properly.
++AC_PREREQ([2.50])dnl
++# expand $ac_aux_dir to an absolute path
++am_aux_dir=`cd $ac_aux_dir && pwd`
++])
++
++# AM_CONDITIONAL -*- Autoconf -*-
++
++# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
++# Free Software Foundation, Inc.
++#
++# This file is free software; the Free Software Foundation
++# gives unlimited permission to copy and/or distribute it,
++# with or without modifications, as long as this notice is preserved.
++
++# serial 9
++
++# AM_CONDITIONAL(NAME, SHELL-CONDITION)
++# -------------------------------------
++# Define a conditional.
++AC_DEFUN([AM_CONDITIONAL],
++[AC_PREREQ(2.52)dnl
++ ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
++ [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
++AC_SUBST([$1_TRUE])dnl
++AC_SUBST([$1_FALSE])dnl
++_AM_SUBST_NOTMAKE([$1_TRUE])dnl
++_AM_SUBST_NOTMAKE([$1_FALSE])dnl
++m4_define([_AM_COND_VALUE_$1], [$2])dnl
++if $2; then
++ $1_TRUE=
++ $1_FALSE='#'
++else
++ $1_TRUE='#'
++ $1_FALSE=
++fi
++AC_CONFIG_COMMANDS_PRE(
++[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
++ AC_MSG_ERROR([[conditional "$1" was never defined.
++Usually this means the macro was only invoked conditionally.]])
++fi])])
++
++# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
++# Free Software Foundation, Inc.
++#
++# This file is free software; the Free Software Foundation
++# gives unlimited permission to copy and/or distribute it,
++# with or without modifications, as long as this notice is preserved.
++
++# serial 10
++
++# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
++# written in clear, in which case automake, when reading aclocal.m4,
++# will think it sees a *use*, and therefore will trigger all it's
++# C support machinery. Also note that it means that autoscan, seeing
++# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
++
++
++# _AM_DEPENDENCIES(NAME)
++# ----------------------
++# See how the compiler implements dependency checking.
++# NAME is "CC", "CXX", "GCJ", or "OBJC".
++# We try a few techniques and use that to set a single cache variable.
++#
++# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
++# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
++# dependency, and given that the user is not expected to run this macro,
++# just rely on AC_PROG_CC.
++AC_DEFUN([_AM_DEPENDENCIES],
++[AC_REQUIRE([AM_SET_DEPDIR])dnl
++AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
++AC_REQUIRE([AM_MAKE_INCLUDE])dnl
++AC_REQUIRE([AM_DEP_TRACK])dnl
++
++ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
++ [$1], CXX, [depcc="$CXX" am_compiler_list=],
++ [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
++ [$1], UPC, [depcc="$UPC" am_compiler_list=],
++ [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
++ [depcc="$$1" am_compiler_list=])
++
++AC_CACHE_CHECK([dependency style of $depcc],
++ [am_cv_$1_dependencies_compiler_type],
++[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
++ # We make a subdir and do the tests there. Otherwise we can end up
++ # making bogus files that we don't know about and never remove. For
++ # instance it was reported that on HP-UX the gcc test will end up
++ # making a dummy file named `D' -- because `-MD' means `put the output
++ # in D'.
++ mkdir conftest.dir
++ # Copy depcomp to subdir because otherwise we won't find it if we're
++ # using a relative directory.
++ cp "$am_depcomp" conftest.dir
++ cd conftest.dir
++ # We will build objects and dependencies in a subdirectory because
++ # it helps to detect inapplicable dependency modes. For instance
++ # both Tru64's cc and ICC support -MD to output dependencies as a
++ # side effect of compilation, but ICC will put the dependencies in
++ # the current directory while Tru64 will put them in the object
++ # directory.
++ mkdir sub
++
++ am_cv_$1_dependencies_compiler_type=none
++ if test "$am_compiler_list" = ""; then
++ am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
++ fi
++ am__universal=false
++ m4_case([$1], [CC],
++ [case " $depcc " in #(
++ *\ -arch\ *\ -arch\ *) am__universal=true ;;
++ esac],
++ [CXX],
++ [case " $depcc " in #(
++ *\ -arch\ *\ -arch\ *) am__universal=true ;;
++ esac])
++
++ for depmode in $am_compiler_list; do
++ # Setup a source with many dependencies, because some compilers
++ # like to wrap large dependency lists on column 80 (with \), and
++ # we should not choose a depcomp mode which is confused by this.
++ #
++ # We need to recreate these files for each test, as the compiler may
++ # overwrite some of them when testing with obscure command lines.
++ # This happens at least with the AIX C compiler.
++ : > sub/conftest.c
++ for i in 1 2 3 4 5 6; do
++ echo '#include "conftst'$i'.h"' >> sub/conftest.c
++ # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
++ # Solaris 8's {/usr,}/bin/sh.
++ touch sub/conftst$i.h
++ done
++ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
++
++ # We check with `-c' and `-o' for the sake of the "dashmstdout"
++ # mode. It turns out that the SunPro C++ compiler does not properly
++ # handle `-M -o', and we need to detect this. Also, some Intel
++ # versions had trouble with output in subdirs
++ am__obj=sub/conftest.${OBJEXT-o}
++ am__minus_obj="-o $am__obj"
++ case $depmode in
++ gcc)
++ # This depmode causes a compiler race in universal mode.
++ test "$am__universal" = false || continue
++ ;;
++ nosideeffect)
++ # after this tag, mechanisms are not by side-effect, so they'll
++ # only be used when explicitly requested
++ if test "x$enable_dependency_tracking" = xyes; then
++ continue
++ else
++ break
++ fi
++ ;;
++ msvisualcpp | msvcmsys)
++ # This compiler won't grok `-c -o', but also, the minuso test has
++ # not run yet. These depmodes are late enough in the game, and
++ # so weak that their functioning should not be impacted.
++ am__obj=conftest.${OBJEXT-o}
++ am__minus_obj=
++ ;;
++ none) break ;;
++ esac
++ if depmode=$depmode \
++ source=sub/conftest.c object=$am__obj \
++ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
++ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
++ >/dev/null 2>conftest.err &&
++ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
++ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
++ grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
++ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
++ # icc doesn't choke on unknown options, it will just issue warnings
++ # or remarks (even with -Werror). So we grep stderr for any message
++ # that says an option was ignored or not supported.
++ # When given -MP, icc 7.0 and 7.1 complain thusly:
++ # icc: Command line warning: ignoring option '-M'; no argument required
++ # The diagnosis changed in icc 8.0:
++ # icc: Command line remark: option '-MP' not supported
++ if (grep 'ignoring option' conftest.err ||
++ grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
++ am_cv_$1_dependencies_compiler_type=$depmode
++ break
++ fi
++ fi
++ done
++
++ cd ..
++ rm -rf conftest.dir
++else
++ am_cv_$1_dependencies_compiler_type=none
++fi
++])
++AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
++AM_CONDITIONAL([am__fastdep$1], [
++ test "x$enable_dependency_tracking" != xno \
++ && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
++])
++
++
++# AM_SET_DEPDIR
++# -------------
++# Choose a directory name for dependency files.
++# This macro is AC_REQUIREd in _AM_DEPENDENCIES
++AC_DEFUN([AM_SET_DEPDIR],
++[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
++AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
++])
++
++
++# AM_DEP_TRACK
++# ------------
++AC_DEFUN([AM_DEP_TRACK],
++[AC_ARG_ENABLE(dependency-tracking,
++[ --disable-dependency-tracking speeds up one-time build
++ --enable-dependency-tracking do not reject slow dependency extractors])
++if test "x$enable_dependency_tracking" != xno; then
++ am_depcomp="$ac_aux_dir/depcomp"
++ AMDEPBACKSLASH='\'
++fi
++AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
++AC_SUBST([AMDEPBACKSLASH])dnl
++_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
++])
++
++# Generate code to set up dependency tracking. -*- Autoconf -*-
++
++# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
++# Free Software Foundation, Inc.
++#
++# This file is free software; the Free Software Foundation
++# gives unlimited permission to copy and/or distribute it,
++# with or without modifications, as long as this notice is preserved.
++
++#serial 5
++
++# _AM_OUTPUT_DEPENDENCY_COMMANDS
++# ------------------------------
++AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
++[{
++ # Autoconf 2.62 quotes --file arguments for eval, but not when files
++ # are listed without --file. Let's play safe and only enable the eval
++ # if we detect the quoting.
++ case $CONFIG_FILES in
++ *\'*) eval set x "$CONFIG_FILES" ;;
++ *) set x $CONFIG_FILES ;;
++ esac
++ shift
++ for mf
++ do
++ # Strip MF so we end up with the name of the file.
++ mf=`echo "$mf" | sed -e 's/:.*$//'`
++ # Check whether this is an Automake generated Makefile or not.
++ # We used to match only the files named `Makefile.in', but
++ # some people rename them; so instead we look at the file content.
++ # Grep'ing the first line is not enough: some people post-process
++ # each Makefile.in and add a new line on top of each file to say so.
++ # Grep'ing the whole file is not good either: AIX grep has a line
++ # limit of 2048, but all sed's we know have understand at least 4000.
++ if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
++ dirpart=`AS_DIRNAME("$mf")`
++ else
++ continue
++ fi
++ # Extract the definition of DEPDIR, am__include, and am__quote
++ # from the Makefile without running `make'.
++ DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
++ test -z "$DEPDIR" && continue
++ am__include=`sed -n 's/^am__include = //p' < "$mf"`
++ test -z "am__include" && continue
++ am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
++ # When using ansi2knr, U may be empty or an underscore; expand it
++ U=`sed -n 's/^U = //p' < "$mf"`
++ # Find all dependency output files, they are included files with
++ # $(DEPDIR) in their names. We invoke sed twice because it is the
++ # simplest approach to changing $(DEPDIR) to its actual value in the
++ # expansion.
++ for file in `sed -n "
++ s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
++ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
++ # Make sure the directory exists.
++ test -f "$dirpart/$file" && continue
++ fdir=`AS_DIRNAME(["$file"])`
++ AS_MKDIR_P([$dirpart/$fdir])
++ # echo "creating $dirpart/$file"
++ echo '# dummy' > "$dirpart/$file"
++ done
++ done
++}
++])# _AM_OUTPUT_DEPENDENCY_COMMANDS
++
++
++# AM_OUTPUT_DEPENDENCY_COMMANDS
++# -----------------------------
++# This macro should only be invoked once -- use via AC_REQUIRE.
++#
++# This code is only required when automatic dependency tracking
++# is enabled. FIXME. This creates each `.P' file that we will
++# need in order to bootstrap the dependency handling code.
++AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
++[AC_CONFIG_COMMANDS([depfiles],
++ [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
++ [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
++])
++
++# Do all the work for Automake. -*- Autoconf -*-
++
++# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
++# 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
++#
++# This file is free software; the Free Software Foundation
++# gives unlimited permission to copy and/or distribute it,
++# with or without modifications, as long as this notice is preserved.
++
++# serial 16
++
++# This macro actually does too much. Some checks are only needed if
++# your package does certain things. But this isn't really a big deal.
++
++# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
++# AM_INIT_AUTOMAKE([OPTIONS])
++# -----------------------------------------------
++# The call with PACKAGE and VERSION arguments is the old style
++# call (pre autoconf-2.50), which is being phased out. PACKAGE
++# and VERSION should now be passed to AC_INIT and removed from
++# the call to AM_INIT_AUTOMAKE.
++# We support both call styles for the transition. After
++# the next Automake release, Autoconf can make the AC_INIT
++# arguments mandatory, and then we can depend on a new Autoconf
++# release and drop the old call support.
++AC_DEFUN([AM_INIT_AUTOMAKE],
++[AC_PREREQ([2.62])dnl
++dnl Autoconf wants to disallow AM_ names. We explicitly allow
++dnl the ones we care about.
++m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
++AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
++AC_REQUIRE([AC_PROG_INSTALL])dnl
++if test "`cd $srcdir && pwd`" != "`pwd`"; then
++ # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
++ # is not polluted with repeated "-I."
++ AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
++ # test to see if srcdir already configured
++ if test -f $srcdir/config.status; then
++ AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
++ fi
++fi
++
++# test whether we have cygpath
++if test -z "$CYGPATH_W"; then
++ if (cygpath --version) >/dev/null 2>/dev/null; then
++ CYGPATH_W='cygpath -w'
++ else
++ CYGPATH_W=echo
++ fi
++fi
++AC_SUBST([CYGPATH_W])
++
++# Define the identity of the package.
++dnl Distinguish between old-style and new-style calls.
++m4_ifval([$2],
++[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
++ AC_SUBST([PACKAGE], [$1])dnl
++ AC_SUBST([VERSION], [$2])],
++[_AM_SET_OPTIONS([$1])dnl
++dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
++m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
++ [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
++ AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
++ AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
++
++_AM_IF_OPTION([no-define],,
++[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
++ AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
++
++# Some tools Automake needs.
++AC_REQUIRE([AM_SANITY_CHECK])dnl
++AC_REQUIRE([AC_ARG_PROGRAM])dnl
++AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
++AM_MISSING_PROG(AUTOCONF, autoconf)
++AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
++AM_MISSING_PROG(AUTOHEADER, autoheader)
++AM_MISSING_PROG(MAKEINFO, makeinfo)
++AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
++AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
++AC_REQUIRE([AM_PROG_MKDIR_P])dnl
++# We need awk for the "check" target. The system "awk" is bad on
++# some platforms.
++AC_REQUIRE([AC_PROG_AWK])dnl
++AC_REQUIRE([AC_PROG_MAKE_SET])dnl
++AC_REQUIRE([AM_SET_LEADING_DOT])dnl
++_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
++ [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
++ [_AM_PROG_TAR([v7])])])
++_AM_IF_OPTION([no-dependencies],,
++[AC_PROVIDE_IFELSE([AC_PROG_CC],
++ [_AM_DEPENDENCIES(CC)],
++ [define([AC_PROG_CC],
++ defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
++AC_PROVIDE_IFELSE([AC_PROG_CXX],
++ [_AM_DEPENDENCIES(CXX)],
++ [define([AC_PROG_CXX],
++ defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
++AC_PROVIDE_IFELSE([AC_PROG_OBJC],
++ [_AM_DEPENDENCIES(OBJC)],
++ [define([AC_PROG_OBJC],
++ defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
++])
++_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
++dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
++dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
++dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
++AC_CONFIG_COMMANDS_PRE(dnl
++[m4_provide_if([_AM_COMPILER_EXEEXT],
++ [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
++])
++
++dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
++dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
++dnl mangled by Autoconf and run in a shell conditional statement.
++m4_define([_AC_COMPILER_EXEEXT],
++m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
++
++
++# When config.status generates a header, we must update the stamp-h file.
++# This file resides in the same directory as the config header
++# that is generated. The stamp files are numbered to have different names.
++
++# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
++# loop where config.status creates the headers, so we can generate
++# our stamp files there.
++AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
++[# Compute $1's index in $config_headers.
++_am_arg=$1
++_am_stamp_count=1
++for _am_header in $config_headers :; do
++ case $_am_header in
++ $_am_arg | $_am_arg:* )
++ break ;;
++ * )
++ _am_stamp_count=`expr $_am_stamp_count + 1` ;;
++ esac
++done
++echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
++
++# Copyright (C) 2001, 2003, 2005, 2008 Free Software Foundation, Inc.
++#
++# This file is free software; the Free Software Foundation
++# gives unlimited permission to copy and/or distribute it,
++# with or without modifications, as long as this notice is preserved.
++
++# AM_PROG_INSTALL_SH
++# ------------------
++# Define $install_sh.
++AC_DEFUN([AM_PROG_INSTALL_SH],
++[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
++if test x"${install_sh}" != xset; then
++ case $am_aux_dir in
++ *\ * | *\ *)
++ install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
++ *)
++ install_sh="\${SHELL} $am_aux_dir/install-sh"
++ esac
++fi
++AC_SUBST(install_sh)])
++
++# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
++#
++# This file is free software; the Free Software Foundation
++# gives unlimited permission to copy and/or distribute it,
++# with or without modifications, as long as this notice is preserved.
++
++# serial 2
++
++# Check whether the underlying file-system supports filenames
++# with a leading dot. For instance MS-DOS doesn't.
++AC_DEFUN([AM_SET_LEADING_DOT],
++[rm -rf .tst 2>/dev/null
++mkdir .tst 2>/dev/null
++if test -d .tst; then
++ am__leading_dot=.
++else
++ am__leading_dot=_
++fi
++rmdir .tst 2>/dev/null
++AC_SUBST([am__leading_dot])])
++
++# Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
++# From Jim Meyering
++
++# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008
++# Free Software Foundation, Inc.
++#
++# This file is free software; the Free Software Foundation
++# gives unlimited permission to copy and/or distribute it,
++# with or without modifications, as long as this notice is preserved.
++
++# serial 5
++
++# AM_MAINTAINER_MODE([DEFAULT-MODE])
++# ----------------------------------
++# Control maintainer-specific portions of Makefiles.
++# Default is to disable them, unless `enable' is passed literally.
++# For symmetry, `disable' may be passed as well. Anyway, the user
++# can override the default with the --enable/--disable switch.
++AC_DEFUN([AM_MAINTAINER_MODE],
++[m4_case(m4_default([$1], [disable]),
++ [enable], [m4_define([am_maintainer_other], [disable])],
++ [disable], [m4_define([am_maintainer_other], [enable])],
++ [m4_define([am_maintainer_other], [enable])
++ m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
++AC_MSG_CHECKING([whether to am_maintainer_other maintainer-specific portions of Makefiles])
++ dnl maintainer-mode's default is 'disable' unless 'enable' is passed
++ AC_ARG_ENABLE([maintainer-mode],
++[ --][am_maintainer_other][-maintainer-mode am_maintainer_other make rules and dependencies not useful
++ (and sometimes confusing) to the casual installer],
++ [USE_MAINTAINER_MODE=$enableval],
++ [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
++ AC_MSG_RESULT([$USE_MAINTAINER_MODE])
++ AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
++ MAINT=$MAINTAINER_MODE_TRUE
++ AC_SUBST([MAINT])dnl
++]
++)
++
++AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
++
++# Check to see how 'make' treats includes. -*- Autoconf -*-
++
++# Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc.
++#
++# This file is free software; the Free Software Foundation
++# gives unlimited permission to copy and/or distribute it,
++# with or without modifications, as long as this notice is preserved.
++
++# serial 4
++
++# AM_MAKE_INCLUDE()
++# -----------------
++# Check to see how make treats includes.
++AC_DEFUN([AM_MAKE_INCLUDE],
++[am_make=${MAKE-make}
++cat > confinc << 'END'
++am__doit:
++ @echo this is the am__doit target
++.PHONY: am__doit
++END
++# If we don't find an include directive, just comment out the code.
++AC_MSG_CHECKING([for style of include used by $am_make])
++am__include="#"
++am__quote=
++_am_result=none
++# First try GNU make style include.
++echo "include confinc" > confmf
++# Ignore all kinds of additional output from `make'.
++case `$am_make -s -f confmf 2> /dev/null` in #(
++*the\ am__doit\ target*)
++ am__include=include
++ am__quote=
++ _am_result=GNU
++ ;;
++esac
++# Now try BSD make style include.
++if test "$am__include" = "#"; then
++ echo '.include "confinc"' > confmf
++ case `$am_make -s -f confmf 2> /dev/null` in #(
++ *the\ am__doit\ target*)
++ am__include=.include
++ am__quote="\""
++ _am_result=BSD
++ ;;
++ esac
++fi
++AC_SUBST([am__include])
++AC_SUBST([am__quote])
++AC_MSG_RESULT([$_am_result])
++rm -f confinc confmf
++])
++
++# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
++
++# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
++# Free Software Foundation, Inc.
++#
++# This file is free software; the Free Software Foundation
++# gives unlimited permission to copy and/or distribute it,
++# with or without modifications, as long as this notice is preserved.
++
++# serial 6
++
++# AM_MISSING_PROG(NAME, PROGRAM)
++# ------------------------------
++AC_DEFUN([AM_MISSING_PROG],
++[AC_REQUIRE([AM_MISSING_HAS_RUN])
++$1=${$1-"${am_missing_run}$2"}
++AC_SUBST($1)])
++
++
++# AM_MISSING_HAS_RUN
++# ------------------
++# Define MISSING if not defined so far and test if it supports --run.
++# If it does, set am_missing_run to use it, otherwise, to nothing.
++AC_DEFUN([AM_MISSING_HAS_RUN],
++[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
++AC_REQUIRE_AUX_FILE([missing])dnl
++if test x"${MISSING+set}" != xset; then
++ case $am_aux_dir in
++ *\ * | *\ *)
++ MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
++ *)
++ MISSING="\${SHELL} $am_aux_dir/missing" ;;
++ esac
++fi
++# Use eval to expand $SHELL
++if eval "$MISSING --run true"; then
++ am_missing_run="$MISSING --run "
++else
++ am_missing_run=
++ AC_MSG_WARN([`missing' script is too old or missing])
++fi
++])
++
++# Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
++#
++# This file is free software; the Free Software Foundation
++# gives unlimited permission to copy and/or distribute it,
++# with or without modifications, as long as this notice is preserved.
++
++# AM_PROG_MKDIR_P
++# ---------------
++# Check for `mkdir -p'.
++AC_DEFUN([AM_PROG_MKDIR_P],
++[AC_PREREQ([2.60])dnl
++AC_REQUIRE([AC_PROG_MKDIR_P])dnl
++dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,
++dnl while keeping a definition of mkdir_p for backward compatibility.
++dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
++dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
++dnl Makefile.ins that do not define MKDIR_P, so we do our own
++dnl adjustment using top_builddir (which is defined more often than
++dnl MKDIR_P).
++AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
++case $mkdir_p in
++ [[\\/$]]* | ?:[[\\/]]*) ;;
++ */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
++esac
++])
++
++# Helper functions for option handling. -*- Autoconf -*-
++
++# Copyright (C) 2001, 2002, 2003, 2005, 2008 Free Software Foundation, Inc.
++#
++# This file is free software; the Free Software Foundation
++# gives unlimited permission to copy and/or distribute it,
++# with or without modifications, as long as this notice is preserved.
++
++# serial 4
++
++# _AM_MANGLE_OPTION(NAME)
++# -----------------------
++AC_DEFUN([_AM_MANGLE_OPTION],
++[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
++
++# _AM_SET_OPTION(NAME)
++# ------------------------------
++# Set option NAME. Presently that only means defining a flag for this option.
++AC_DEFUN([_AM_SET_OPTION],
++[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
++
++# _AM_SET_OPTIONS(OPTIONS)
++# ----------------------------------
++# OPTIONS is a space-separated list of Automake options.
++AC_DEFUN([_AM_SET_OPTIONS],
++[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
++
++# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
++# -------------------------------------------
++# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
++AC_DEFUN([_AM_IF_OPTION],
++[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
++
++# Check to make sure that the build environment is sane. -*- Autoconf -*-
++
++# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
++# Free Software Foundation, Inc.
++#
++# This file is free software; the Free Software Foundation
++# gives unlimited permission to copy and/or distribute it,
++# with or without modifications, as long as this notice is preserved.
++
++# serial 5
++
++# AM_SANITY_CHECK
++# ---------------
++AC_DEFUN([AM_SANITY_CHECK],
++[AC_MSG_CHECKING([whether build environment is sane])
++# Just in case
++sleep 1
++echo timestamp > conftest.file
++# Reject unsafe characters in $srcdir or the absolute working directory
++# name. Accept space and tab only in the latter.
++am_lf='
++'
++case `pwd` in
++ *[[\\\"\#\$\&\'\`$am_lf]]*)
++ AC_MSG_ERROR([unsafe absolute working directory name]);;
++esac
++case $srcdir in
++ *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
++ AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
++esac
++
++# Do `set' in a subshell so we don't clobber the current shell's
++# arguments. Must try -L first in case configure is actually a
++# symlink; some systems play weird games with the mod time of symlinks
++# (eg FreeBSD returns the mod time of the symlink's containing
++# directory).
++if (
++ set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
++ if test "$[*]" = "X"; then
++ # -L didn't work.
++ set X `ls -t "$srcdir/configure" conftest.file`
++ fi
++ rm -f conftest.file
++ if test "$[*]" != "X $srcdir/configure conftest.file" \
++ && test "$[*]" != "X conftest.file $srcdir/configure"; then
++
++ # If neither matched, then we have a broken ls. This can happen
++ # if, for instance, CONFIG_SHELL is bash and it inherits a
++ # broken ls alias from the environment. This has actually
++ # happened. Such a system could not be considered "sane".
++ AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
++alias in your environment])
++ fi
++
++ test "$[2]" = conftest.file
++ )
++then
++ # Ok.
++ :
++else
++ AC_MSG_ERROR([newly created file is older than distributed files!
++Check your system clock])
++fi
++AC_MSG_RESULT(yes)])
++
++# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
++#
++# This file is free software; the Free Software Foundation
++# gives unlimited permission to copy and/or distribute it,
++# with or without modifications, as long as this notice is preserved.
++
++# AM_PROG_INSTALL_STRIP
++# ---------------------
++# One issue with vendor `install' (even GNU) is that you can't
++# specify the program used to strip binaries. This is especially
++# annoying in cross-compiling environments, where the build's strip
++# is unlikely to handle the host's binaries.
++# Fortunately install-sh will honor a STRIPPROG variable, so we
++# always use install-sh in `make install-strip', and initialize
++# STRIPPROG with the value of the STRIP variable (set by the user).
++AC_DEFUN([AM_PROG_INSTALL_STRIP],
++[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
++# Installed binaries are usually stripped using `strip' when the user
++# run `make install-strip'. However `strip' might not be the right
++# tool to use in cross-compilation environments, therefore Automake
++# will honor the `STRIP' environment variable to overrule this program.
++dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
++if test "$cross_compiling" != no; then
++ AC_CHECK_TOOL([STRIP], [strip], :)
++fi
++INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
++AC_SUBST([INSTALL_STRIP_PROGRAM])])
++
++# Copyright (C) 2006, 2008 Free Software Foundation, Inc.
++#
++# This file is free software; the Free Software Foundation
++# gives unlimited permission to copy and/or distribute it,
++# with or without modifications, as long as this notice is preserved.
++
++# serial 2
++
++# _AM_SUBST_NOTMAKE(VARIABLE)
++# ---------------------------
++# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
++# This macro is traced by Automake.
++AC_DEFUN([_AM_SUBST_NOTMAKE])
++
++# AM_SUBST_NOTMAKE(VARIABLE)
++# ---------------------------
++# Public sister of _AM_SUBST_NOTMAKE.
++AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
++
++# Check how to create a tarball. -*- Autoconf -*-
++
++# Copyright (C) 2004, 2005 Free Software Foundation, Inc.
++#
++# This file is free software; the Free Software Foundation
++# gives unlimited permission to copy and/or distribute it,
++# with or without modifications, as long as this notice is preserved.
++
++# serial 2
++
++# _AM_PROG_TAR(FORMAT)
++# --------------------
++# Check how to create a tarball in format FORMAT.
++# FORMAT should be one of `v7', `ustar', or `pax'.
++#
++# Substitute a variable $(am__tar) that is a command
++# writing to stdout a FORMAT-tarball containing the directory
++# $tardir.
++# tardir=directory && $(am__tar) > result.tar
++#
++# Substitute a variable $(am__untar) that extract such
++# a tarball read from stdin.
++# $(am__untar) < result.tar
++AC_DEFUN([_AM_PROG_TAR],
++[# Always define AMTAR for backward compatibility.
++AM_MISSING_PROG([AMTAR], [tar])
++m4_if([$1], [v7],
++ [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
++ [m4_case([$1], [ustar],, [pax],,
++ [m4_fatal([Unknown tar format])])
++AC_MSG_CHECKING([how to create a $1 tar archive])
++# Loop over all known methods to create a tar archive until one works.
++_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
++_am_tools=${am_cv_prog_tar_$1-$_am_tools}
++# Do not fold the above two line into one, because Tru64 sh and
++# Solaris sh will not grok spaces in the rhs of `-'.
++for _am_tool in $_am_tools
++do
++ case $_am_tool in
++ gnutar)
++ for _am_tar in tar gnutar gtar;
++ do
++ AM_RUN_LOG([$_am_tar --version]) && break
++ done
++ am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
++ am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
++ am__untar="$_am_tar -xf -"
++ ;;
++ plaintar)
++ # Must skip GNU tar: if it does not support --format= it doesn't create
++ # ustar tarball either.
++ (tar --version) >/dev/null 2>&1 && continue
++ am__tar='tar chf - "$$tardir"'
++ am__tar_='tar chf - "$tardir"'
++ am__untar='tar xf -'
++ ;;
++ pax)
++ am__tar='pax -L -x $1 -w "$$tardir"'
++ am__tar_='pax -L -x $1 -w "$tardir"'
++ am__untar='pax -r'
++ ;;
++ cpio)
++ am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
++ am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
++ am__untar='cpio -i -H $1 -d'
++ ;;
++ none)
++ am__tar=false
++ am__tar_=false
++ am__untar=false
++ ;;
++ esac
++
++ # If the value was cached, stop now. We just wanted to have am__tar
++ # and am__untar set.
++ test -n "${am_cv_prog_tar_$1}" && break
++
++ # tar/untar a dummy directory, and stop if the command works
++ rm -rf conftest.dir
++ mkdir conftest.dir
++ echo GrepMe > conftest.dir/file
++ AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
++ rm -rf conftest.dir
++ if test -s conftest.tar; then
++ AM_RUN_LOG([$am__untar <conftest.tar])
++ grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
++ fi
++done
++rm -rf conftest.dir
++
++AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
++AC_MSG_RESULT([$am_cv_prog_tar_$1])])
++AC_SUBST([am__tar])
++AC_SUBST([am__untar])
++]) # _AM_PROG_TAR
++
++m4_include([../../../acinclude.m4])
+diff -Naur newlib-1.20.0.orig/newlib/libm/machine/aarch64/configure newlib-1.20.0/newlib/libm/machine/aarch64/configure
+--- newlib-1.20.0.orig/newlib/libm/machine/aarch64/configure 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/newlib/libm/machine/aarch64/configure 2012-10-15 10:31:19.644621480 +0200
+@@ -0,0 +1,4745 @@
++#! /bin/sh
++# Guess values for system-dependent variables and create Makefiles.
++# Generated by GNU Autoconf 2.68 for newlib 1.20.0.
++#
++#
++# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
++# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
++# Foundation, Inc.
++#
++#
++# This configure script is free software; the Free Software Foundation
++# gives unlimited permission to copy, distribute and modify it.
++## -------------------- ##
++## M4sh Initialization. ##
++## -------------------- ##
++
++# Be more Bourne compatible
++DUALCASE=1; export DUALCASE # for MKS sh
++if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
++ emulate sh
++ NULLCMD=:
++ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
++ # is contrary to our usage. Disable this feature.
++ alias -g '${1+"$@"}'='"$@"'
++ setopt NO_GLOB_SUBST
++else
++ case `(set -o) 2>/dev/null` in #(
++ *posix*) :
++ set -o posix ;; #(
++ *) :
++ ;;
++esac
++fi
++
++
++as_nl='
++'
++export as_nl
++# Printing a long string crashes Solaris 7 /usr/bin/printf.
++as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
++as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
++as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
++# Prefer a ksh shell builtin over an external printf program on Solaris,
++# but without wasting forks for bash or zsh.
++if test -z "$BASH_VERSION$ZSH_VERSION" \
++ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
++ as_echo='print -r --'
++ as_echo_n='print -rn --'
++elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
++ as_echo='printf %s\n'
++ as_echo_n='printf %s'
++else
++ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
++ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
++ as_echo_n='/usr/ucb/echo -n'
++ else
++ as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
++ as_echo_n_body='eval
++ arg=$1;
++ case $arg in #(
++ *"$as_nl"*)
++ expr "X$arg" : "X\\(.*\\)$as_nl";
++ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
++ esac;
++ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
++ '
++ export as_echo_n_body
++ as_echo_n='sh -c $as_echo_n_body as_echo'
++ fi
++ export as_echo_body
++ as_echo='sh -c $as_echo_body as_echo'
++fi
++
++# The user is always right.
++if test "${PATH_SEPARATOR+set}" != set; then
++ PATH_SEPARATOR=:
++ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
++ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
++ PATH_SEPARATOR=';'
++ }
++fi
++
++
++# IFS
++# We need space, tab and new line, in precisely that order. Quoting is
++# there to prevent editors from complaining about space-tab.
++# (If _AS_PATH_WALK were called with IFS unset, it would disable word
++# splitting by setting IFS to empty value.)
++IFS=" "" $as_nl"
++
++# Find who we are. Look in the path if we contain no directory separator.
++as_myself=
++case $0 in #((
++ *[\\/]* ) as_myself=$0 ;;
++ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
++ done
++IFS=$as_save_IFS
++
++ ;;
++esac
++# We did not find ourselves, most probably we were run as `sh COMMAND'
++# in which case we are not to be found in the path.
++if test "x$as_myself" = x; then
++ as_myself=$0
++fi
++if test ! -f "$as_myself"; then
++ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
++ exit 1
++fi
++
++# Unset variables that we do not need and which cause bugs (e.g. in
++# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
++# suppresses any "Segmentation fault" message there. '((' could
++# trigger a bug in pdksh 5.2.14.
++for as_var in BASH_ENV ENV MAIL MAILPATH
++do eval test x\${$as_var+set} = xset \
++ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
++done
++PS1='$ '
++PS2='> '
++PS4='+ '
++
++# NLS nuisances.
++LC_ALL=C
++export LC_ALL
++LANGUAGE=C
++export LANGUAGE
++
++# CDPATH.
++(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
++
++if test "x$CONFIG_SHELL" = x; then
++ as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
++ emulate sh
++ NULLCMD=:
++ # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
++ # is contrary to our usage. Disable this feature.
++ alias -g '\${1+\"\$@\"}'='\"\$@\"'
++ setopt NO_GLOB_SUBST
++else
++ case \`(set -o) 2>/dev/null\` in #(
++ *posix*) :
++ set -o posix ;; #(
++ *) :
++ ;;
++esac
++fi
++"
++ as_required="as_fn_return () { (exit \$1); }
++as_fn_success () { as_fn_return 0; }
++as_fn_failure () { as_fn_return 1; }
++as_fn_ret_success () { return 0; }
++as_fn_ret_failure () { return 1; }
++
++exitcode=0
++as_fn_success || { exitcode=1; echo as_fn_success failed.; }
++as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
++as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
++as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
++if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
++
++else
++ exitcode=1; echo positional parameters were not saved.
++fi
++test x\$exitcode = x0 || exit 1"
++ as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
++ as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
++ eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
++ test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
++ if (eval "$as_required") 2>/dev/null; then :
++ as_have_required=yes
++else
++ as_have_required=no
++fi
++ if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
++
++else
++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++as_found=false
++for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ as_found=:
++ case $as_dir in #(
++ /*)
++ for as_base in sh bash ksh sh5; do
++ # Try only shells that exist, to save several forks.
++ as_shell=$as_dir/$as_base
++ if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
++ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
++ CONFIG_SHELL=$as_shell as_have_required=yes
++ if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
++ break 2
++fi
++fi
++ done;;
++ esac
++ as_found=false
++done
++$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
++ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
++ CONFIG_SHELL=$SHELL as_have_required=yes
++fi; }
++IFS=$as_save_IFS
++
++
++ if test "x$CONFIG_SHELL" != x; then :
++ # We cannot yet assume a decent shell, so we have to provide a
++ # neutralization value for shells without unset; and this also
++ # works around shells that cannot unset nonexistent variables.
++ # Preserve -v and -x to the replacement shell.
++ BASH_ENV=/dev/null
++ ENV=/dev/null
++ (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
++ export CONFIG_SHELL
++ case $- in # ((((
++ *v*x* | *x*v* ) as_opts=-vx ;;
++ *v* ) as_opts=-v ;;
++ *x* ) as_opts=-x ;;
++ * ) as_opts= ;;
++ esac
++ exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
++fi
++
++ if test x$as_have_required = xno; then :
++ $as_echo "$0: This script requires a shell more modern than all"
++ $as_echo "$0: the shells that I found on your system."
++ if test x${ZSH_VERSION+set} = xset ; then
++ $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
++ $as_echo "$0: be upgraded to zsh 4.3.4 or later."
++ else
++ $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
++$0: including any error possibly output before this
++$0: message. Then install a modern shell, or manually run
++$0: the script under such a shell if you do have one."
++ fi
++ exit 1
++fi
++fi
++fi
++SHELL=${CONFIG_SHELL-/bin/sh}
++export SHELL
++# Unset more variables known to interfere with behavior of common tools.
++CLICOLOR_FORCE= GREP_OPTIONS=
++unset CLICOLOR_FORCE GREP_OPTIONS
++
++## --------------------- ##
++## M4sh Shell Functions. ##
++## --------------------- ##
++# as_fn_unset VAR
++# ---------------
++# Portably unset VAR.
++as_fn_unset ()
++{
++ { eval $1=; unset $1;}
++}
++as_unset=as_fn_unset
++
++# as_fn_set_status STATUS
++# -----------------------
++# Set $? to STATUS, without forking.
++as_fn_set_status ()
++{
++ return $1
++} # as_fn_set_status
++
++# as_fn_exit STATUS
++# -----------------
++# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
++as_fn_exit ()
++{
++ set +e
++ as_fn_set_status $1
++ exit $1
++} # as_fn_exit
++
++# as_fn_mkdir_p
++# -------------
++# Create "$as_dir" as a directory, including parents if necessary.
++as_fn_mkdir_p ()
++{
++
++ case $as_dir in #(
++ -*) as_dir=./$as_dir;;
++ esac
++ test -d "$as_dir" || eval $as_mkdir_p || {
++ as_dirs=
++ while :; do
++ case $as_dir in #(
++ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
++ *) as_qdir=$as_dir;;
++ esac
++ as_dirs="'$as_qdir' $as_dirs"
++ as_dir=`$as_dirname -- "$as_dir" ||
++$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
++ X"$as_dir" : 'X\(//\)[^/]' \| \
++ X"$as_dir" : 'X\(//\)$' \| \
++ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
++$as_echo X"$as_dir" |
++ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
++ s//\1/
++ q
++ }
++ /^X\(\/\/\)[^/].*/{
++ s//\1/
++ q
++ }
++ /^X\(\/\/\)$/{
++ s//\1/
++ q
++ }
++ /^X\(\/\).*/{
++ s//\1/
++ q
++ }
++ s/.*/./; q'`
++ test -d "$as_dir" && break
++ done
++ test -z "$as_dirs" || eval "mkdir $as_dirs"
++ } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
++
++
++} # as_fn_mkdir_p
++# as_fn_append VAR VALUE
++# ----------------------
++# Append the text in VALUE to the end of the definition contained in VAR. Take
++# advantage of any shell optimizations that allow amortized linear growth over
++# repeated appends, instead of the typical quadratic growth present in naive
++# implementations.
++if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
++ eval 'as_fn_append ()
++ {
++ eval $1+=\$2
++ }'
++else
++ as_fn_append ()
++ {
++ eval $1=\$$1\$2
++ }
++fi # as_fn_append
++
++# as_fn_arith ARG...
++# ------------------
++# Perform arithmetic evaluation on the ARGs, and store the result in the
++# global $as_val. Take advantage of shells that can avoid forks. The arguments
++# must be portable across $(()) and expr.
++if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
++ eval 'as_fn_arith ()
++ {
++ as_val=$(( $* ))
++ }'
++else
++ as_fn_arith ()
++ {
++ as_val=`expr "$@" || test $? -eq 1`
++ }
++fi # as_fn_arith
++
++
++# as_fn_error STATUS ERROR [LINENO LOG_FD]
++# ----------------------------------------
++# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
++# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
++# script with STATUS, using 1 if that was 0.
++as_fn_error ()
++{
++ as_status=$1; test $as_status -eq 0 && as_status=1
++ if test "$4"; then
++ as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
++ $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
++ fi
++ $as_echo "$as_me: error: $2" >&2
++ as_fn_exit $as_status
++} # as_fn_error
++
++if expr a : '\(a\)' >/dev/null 2>&1 &&
++ test "X`expr 00001 : '.*\(...\)'`" = X001; then
++ as_expr=expr
++else
++ as_expr=false
++fi
++
++if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
++ as_basename=basename
++else
++ as_basename=false
++fi
++
++if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
++ as_dirname=dirname
++else
++ as_dirname=false
++fi
++
++as_me=`$as_basename -- "$0" ||
++$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
++ X"$0" : 'X\(//\)$' \| \
++ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
++$as_echo X/"$0" |
++ sed '/^.*\/\([^/][^/]*\)\/*$/{
++ s//\1/
++ q
++ }
++ /^X\/\(\/\/\)$/{
++ s//\1/
++ q
++ }
++ /^X\/\(\/\).*/{
++ s//\1/
++ q
++ }
++ s/.*/./; q'`
++
++# Avoid depending upon Character Ranges.
++as_cr_letters='abcdefghijklmnopqrstuvwxyz'
++as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
++as_cr_Letters=$as_cr_letters$as_cr_LETTERS
++as_cr_digits='0123456789'
++as_cr_alnum=$as_cr_Letters$as_cr_digits
++
++
++ as_lineno_1=$LINENO as_lineno_1a=$LINENO
++ as_lineno_2=$LINENO as_lineno_2a=$LINENO
++ eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
++ test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
++ # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
++ sed -n '
++ p
++ /[$]LINENO/=
++ ' <$as_myself |
++ sed '
++ s/[$]LINENO.*/&-/
++ t lineno
++ b
++ :lineno
++ N
++ :loop
++ s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
++ t loop
++ s/-\n.*//
++ ' >$as_me.lineno &&
++ chmod +x "$as_me.lineno" ||
++ { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
++
++ # Don't try to exec as it changes $[0], causing all sort of problems
++ # (the dirname of $[0] is not the place where we might find the
++ # original and so on. Autoconf is especially sensitive to this).
++ . "./$as_me.lineno"
++ # Exit status is that of the last command.
++ exit
++}
++
++ECHO_C= ECHO_N= ECHO_T=
++case `echo -n x` in #(((((
++-n*)
++ case `echo 'xy\c'` in
++ *c*) ECHO_T=' ';; # ECHO_T is single tab character.
++ xy) ECHO_C='\c';;
++ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
++ ECHO_T=' ';;
++ esac;;
++*)
++ ECHO_N='-n';;
++esac
++
++rm -f conf$$ conf$$.exe conf$$.file
++if test -d conf$$.dir; then
++ rm -f conf$$.dir/conf$$.file
++else
++ rm -f conf$$.dir
++ mkdir conf$$.dir 2>/dev/null
++fi
++if (echo >conf$$.file) 2>/dev/null; then
++ if ln -s conf$$.file conf$$ 2>/dev/null; then
++ as_ln_s='ln -s'
++ # ... but there are two gotchas:
++ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
++ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
++ # In both cases, we have to default to `cp -p'.
++ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
++ as_ln_s='cp -p'
++ elif ln conf$$.file conf$$ 2>/dev/null; then
++ as_ln_s=ln
++ else
++ as_ln_s='cp -p'
++ fi
++else
++ as_ln_s='cp -p'
++fi
++rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
++rmdir conf$$.dir 2>/dev/null
++
++if mkdir -p . 2>/dev/null; then
++ as_mkdir_p='mkdir -p "$as_dir"'
++else
++ test -d ./-p && rmdir ./-p
++ as_mkdir_p=false
++fi
++
++if test -x / >/dev/null 2>&1; then
++ as_test_x='test -x'
++else
++ if ls -dL / >/dev/null 2>&1; then
++ as_ls_L_option=L
++ else
++ as_ls_L_option=
++ fi
++ as_test_x='
++ eval sh -c '\''
++ if test -d "$1"; then
++ test -d "$1/.";
++ else
++ case $1 in #(
++ -*)set "./$1";;
++ esac;
++ case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
++ ???[sx]*):;;*)false;;esac;fi
++ '\'' sh
++ '
++fi
++as_executable_p=$as_test_x
++
++# Sed expression to map a string onto a valid CPP name.
++as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
++
++# Sed expression to map a string onto a valid variable name.
++as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
++
++
++test -n "$DJDIR" || exec 7<&0 </dev/null
++exec 6>&1
++
++# Name of the host.
++# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
++# so uname gets run too.
++ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
++
++#
++# Initializations.
++#
++ac_default_prefix=/usr/local
++ac_clean_files=
++ac_config_libobj_dir=.
++LIBOBJS=
++cross_compiling=no
++subdirs=
++MFLAGS=
++MAKEFLAGS=
++
++# Identity of this package.
++PACKAGE_NAME='newlib'
++PACKAGE_TARNAME='newlib'
++PACKAGE_VERSION='1.20.0'
++PACKAGE_STRING='newlib 1.20.0'
++PACKAGE_BUGREPORT=''
++PACKAGE_URL=''
++
++ac_unique_file="Makefile.am"
++ac_subst_vars='LTLIBOBJS
++LIBOBJS
++sys_dir
++machine_dir
++libm_machine_dir
++lpfx
++aext
++oext
++OBJEXT
++USE_LIBTOOL_FALSE
++USE_LIBTOOL_TRUE
++ELIX_LEVEL_4_FALSE
++ELIX_LEVEL_4_TRUE
++ELIX_LEVEL_3_FALSE
++ELIX_LEVEL_3_TRUE
++ELIX_LEVEL_2_FALSE
++ELIX_LEVEL_2_TRUE
++ELIX_LEVEL_1_FALSE
++ELIX_LEVEL_1_TRUE
++ELIX_LEVEL_0_FALSE
++ELIX_LEVEL_0_TRUE
++LDFLAGS
++NO_INCLUDE_LIST
++NEWLIB_CFLAGS
++CCASFLAGS
++CCAS
++MAINT
++MAINTAINER_MODE_FALSE
++MAINTAINER_MODE_TRUE
++READELF
++RANLIB
++AR
++AS
++am__fastdepCC_FALSE
++am__fastdepCC_TRUE
++CCDEPMODE
++AMDEPBACKSLASH
++AMDEP_FALSE
++AMDEP_TRUE
++am__quote
++am__include
++DEPDIR
++CC
++am__untar
++am__tar
++AMTAR
++am__leading_dot
++SET_MAKE
++AWK
++mkdir_p
++MKDIR_P
++INSTALL_STRIP_PROGRAM
++STRIP
++install_sh
++MAKEINFO
++AUTOHEADER
++AUTOMAKE
++AUTOCONF
++ACLOCAL
++VERSION
++PACKAGE
++CYGPATH_W
++am__isrc
++INSTALL_DATA
++INSTALL_SCRIPT
++INSTALL_PROGRAM
++host_os
++host_vendor
++host_cpu
++host
++build_os
++build_vendor
++build_cpu
++build
++newlib_basedir
++MAY_SUPPLY_SYSCALLS_FALSE
++MAY_SUPPLY_SYSCALLS_TRUE
++target_alias
++host_alias
++build_alias
++LIBS
++ECHO_T
++ECHO_N
++ECHO_C
++DEFS
++mandir
++localedir
++libdir
++psdir
++pdfdir
++dvidir
++htmldir
++infodir
++docdir
++oldincludedir
++includedir
++localstatedir
++sharedstatedir
++sysconfdir
++datadir
++datarootdir
++libexecdir
++sbindir
++bindir
++program_transform_name
++prefix
++exec_prefix
++PACKAGE_URL
++PACKAGE_BUGREPORT
++PACKAGE_STRING
++PACKAGE_VERSION
++PACKAGE_TARNAME
++PACKAGE_NAME
++PATH_SEPARATOR
++SHELL'
++ac_subst_files=''
++ac_user_opts='
++enable_option_checking
++enable_multilib
++enable_target_optspace
++enable_malloc_debugging
++enable_newlib_multithread
++enable_newlib_iconv
++enable_newlib_elix_level
++enable_newlib_io_float
++enable_newlib_supplied_syscalls
++enable_dependency_tracking
++enable_maintainer_mode
++'
++ ac_precious_vars='build_alias
++host_alias
++target_alias
++CCAS
++CCASFLAGS'
++
++
++# Initialize some variables set by options.
++ac_init_help=
++ac_init_version=false
++ac_unrecognized_opts=
++ac_unrecognized_sep=
++# The variables have the same names as the options, with
++# dashes changed to underlines.
++cache_file=/dev/null
++exec_prefix=NONE
++no_create=
++no_recursion=
++prefix=NONE
++program_prefix=NONE
++program_suffix=NONE
++program_transform_name=s,x,x,
++silent=
++site=
++srcdir=
++verbose=
++x_includes=NONE
++x_libraries=NONE
++
++# Installation directory options.
++# These are left unexpanded so users can "make install exec_prefix=/foo"
++# and all the variables that are supposed to be based on exec_prefix
++# by default will actually change.
++# Use braces instead of parens because sh, perl, etc. also accept them.
++# (The list follows the same order as the GNU Coding Standards.)
++bindir='${exec_prefix}/bin'
++sbindir='${exec_prefix}/sbin'
++libexecdir='${exec_prefix}/libexec'
++datarootdir='${prefix}/share'
++datadir='${datarootdir}'
++sysconfdir='${prefix}/etc'
++sharedstatedir='${prefix}/com'
++localstatedir='${prefix}/var'
++includedir='${prefix}/include'
++oldincludedir='/usr/include'
++docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
++infodir='${datarootdir}/info'
++htmldir='${docdir}'
++dvidir='${docdir}'
++pdfdir='${docdir}'
++psdir='${docdir}'
++libdir='${exec_prefix}/lib'
++localedir='${datarootdir}/locale'
++mandir='${datarootdir}/man'
++
++ac_prev=
++ac_dashdash=
++for ac_option
++do
++ # If the previous option needs an argument, assign it.
++ if test -n "$ac_prev"; then
++ eval $ac_prev=\$ac_option
++ ac_prev=
++ continue
++ fi
++
++ case $ac_option in
++ *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
++ *=) ac_optarg= ;;
++ *) ac_optarg=yes ;;
++ esac
++
++ # Accept the important Cygnus configure options, so we can diagnose typos.
++
++ case $ac_dashdash$ac_option in
++ --)
++ ac_dashdash=yes ;;
++
++ -bindir | --bindir | --bindi | --bind | --bin | --bi)
++ ac_prev=bindir ;;
++ -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
++ bindir=$ac_optarg ;;
++
++ -build | --build | --buil | --bui | --bu)
++ ac_prev=build_alias ;;
++ -build=* | --build=* | --buil=* | --bui=* | --bu=*)
++ build_alias=$ac_optarg ;;
++
++ -cache-file | --cache-file | --cache-fil | --cache-fi \
++ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
++ ac_prev=cache_file ;;
++ -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
++ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
++ cache_file=$ac_optarg ;;
++
++ --config-cache | -C)
++ cache_file=config.cache ;;
++
++ -datadir | --datadir | --datadi | --datad)
++ ac_prev=datadir ;;
++ -datadir=* | --datadir=* | --datadi=* | --datad=*)
++ datadir=$ac_optarg ;;
++
++ -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
++ | --dataroo | --dataro | --datar)
++ ac_prev=datarootdir ;;
++ -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
++ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
++ datarootdir=$ac_optarg ;;
++
++ -disable-* | --disable-*)
++ ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
++ # Reject names that are not valid shell variable names.
++ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
++ as_fn_error $? "invalid feature name: $ac_useropt"
++ ac_useropt_orig=$ac_useropt
++ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
++ case $ac_user_opts in
++ *"
++"enable_$ac_useropt"
++"*) ;;
++ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
++ ac_unrecognized_sep=', ';;
++ esac
++ eval enable_$ac_useropt=no ;;
++
++ -docdir | --docdir | --docdi | --doc | --do)
++ ac_prev=docdir ;;
++ -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
++ docdir=$ac_optarg ;;
++
++ -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
++ ac_prev=dvidir ;;
++ -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
++ dvidir=$ac_optarg ;;
++
++ -enable-* | --enable-*)
++ ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
++ # Reject names that are not valid shell variable names.
++ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
++ as_fn_error $? "invalid feature name: $ac_useropt"
++ ac_useropt_orig=$ac_useropt
++ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
++ case $ac_user_opts in
++ *"
++"enable_$ac_useropt"
++"*) ;;
++ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
++ ac_unrecognized_sep=', ';;
++ esac
++ eval enable_$ac_useropt=\$ac_optarg ;;
++
++ -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
++ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
++ | --exec | --exe | --ex)
++ ac_prev=exec_prefix ;;
++ -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
++ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
++ | --exec=* | --exe=* | --ex=*)
++ exec_prefix=$ac_optarg ;;
++
++ -gas | --gas | --ga | --g)
++ # Obsolete; use --with-gas.
++ with_gas=yes ;;
++
++ -help | --help | --hel | --he | -h)
++ ac_init_help=long ;;
++ -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
++ ac_init_help=recursive ;;
++ -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
++ ac_init_help=short ;;
++
++ -host | --host | --hos | --ho)
++ ac_prev=host_alias ;;
++ -host=* | --host=* | --hos=* | --ho=*)
++ host_alias=$ac_optarg ;;
++
++ -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
++ ac_prev=htmldir ;;
++ -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
++ | --ht=*)
++ htmldir=$ac_optarg ;;
++
++ -includedir | --includedir | --includedi | --included | --include \
++ | --includ | --inclu | --incl | --inc)
++ ac_prev=includedir ;;
++ -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
++ | --includ=* | --inclu=* | --incl=* | --inc=*)
++ includedir=$ac_optarg ;;
++
++ -infodir | --infodir | --infodi | --infod | --info | --inf)
++ ac_prev=infodir ;;
++ -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
++ infodir=$ac_optarg ;;
++
++ -libdir | --libdir | --libdi | --libd)
++ ac_prev=libdir ;;
++ -libdir=* | --libdir=* | --libdi=* | --libd=*)
++ libdir=$ac_optarg ;;
++
++ -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
++ | --libexe | --libex | --libe)
++ ac_prev=libexecdir ;;
++ -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
++ | --libexe=* | --libex=* | --libe=*)
++ libexecdir=$ac_optarg ;;
++
++ -localedir | --localedir | --localedi | --localed | --locale)
++ ac_prev=localedir ;;
++ -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
++ localedir=$ac_optarg ;;
++
++ -localstatedir | --localstatedir | --localstatedi | --localstated \
++ | --localstate | --localstat | --localsta | --localst | --locals)
++ ac_prev=localstatedir ;;
++ -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
++ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
++ localstatedir=$ac_optarg ;;
++
++ -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
++ ac_prev=mandir ;;
++ -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
++ mandir=$ac_optarg ;;
++
++ -nfp | --nfp | --nf)
++ # Obsolete; use --without-fp.
++ with_fp=no ;;
++
++ -no-create | --no-create | --no-creat | --no-crea | --no-cre \
++ | --no-cr | --no-c | -n)
++ no_create=yes ;;
++
++ -no-recursion | --no-recursion | --no-recursio | --no-recursi \
++ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
++ no_recursion=yes ;;
++
++ -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
++ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
++ | --oldin | --oldi | --old | --ol | --o)
++ ac_prev=oldincludedir ;;
++ -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
++ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
++ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
++ oldincludedir=$ac_optarg ;;
++
++ -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
++ ac_prev=prefix ;;
++ -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
++ prefix=$ac_optarg ;;
++
++ -program-prefix | --program-prefix | --program-prefi | --program-pref \
++ | --program-pre | --program-pr | --program-p)
++ ac_prev=program_prefix ;;
++ -program-prefix=* | --program-prefix=* | --program-prefi=* \
++ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
++ program_prefix=$ac_optarg ;;
++
++ -program-suffix | --program-suffix | --program-suffi | --program-suff \
++ | --program-suf | --program-su | --program-s)
++ ac_prev=program_suffix ;;
++ -program-suffix=* | --program-suffix=* | --program-suffi=* \
++ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
++ program_suffix=$ac_optarg ;;
++
++ -program-transform-name | --program-transform-name \
++ | --program-transform-nam | --program-transform-na \
++ | --program-transform-n | --program-transform- \
++ | --program-transform | --program-transfor \
++ | --program-transfo | --program-transf \
++ | --program-trans | --program-tran \
++ | --progr-tra | --program-tr | --program-t)
++ ac_prev=program_transform_name ;;
++ -program-transform-name=* | --program-transform-name=* \
++ | --program-transform-nam=* | --program-transform-na=* \
++ | --program-transform-n=* | --program-transform-=* \
++ | --program-transform=* | --program-transfor=* \
++ | --program-transfo=* | --program-transf=* \
++ | --program-trans=* | --program-tran=* \
++ | --progr-tra=* | --program-tr=* | --program-t=*)
++ program_transform_name=$ac_optarg ;;
++
++ -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
++ ac_prev=pdfdir ;;
++ -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
++ pdfdir=$ac_optarg ;;
++
++ -psdir | --psdir | --psdi | --psd | --ps)
++ ac_prev=psdir ;;
++ -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
++ psdir=$ac_optarg ;;
++
++ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
++ | -silent | --silent | --silen | --sile | --sil)
++ silent=yes ;;
++
++ -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
++ ac_prev=sbindir ;;
++ -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
++ | --sbi=* | --sb=*)
++ sbindir=$ac_optarg ;;
++
++ -sharedstatedir | --sharedstatedir | --sharedstatedi \
++ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
++ | --sharedst | --shareds | --shared | --share | --shar \
++ | --sha | --sh)
++ ac_prev=sharedstatedir ;;
++ -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
++ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
++ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
++ | --sha=* | --sh=*)
++ sharedstatedir=$ac_optarg ;;
++
++ -site | --site | --sit)
++ ac_prev=site ;;
++ -site=* | --site=* | --sit=*)
++ site=$ac_optarg ;;
++
++ -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
++ ac_prev=srcdir ;;
++ -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
++ srcdir=$ac_optarg ;;
++
++ -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
++ | --syscon | --sysco | --sysc | --sys | --sy)
++ ac_prev=sysconfdir ;;
++ -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
++ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
++ sysconfdir=$ac_optarg ;;
++
++ -target | --target | --targe | --targ | --tar | --ta | --t)
++ ac_prev=target_alias ;;
++ -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
++ target_alias=$ac_optarg ;;
++
++ -v | -verbose | --verbose | --verbos | --verbo | --verb)
++ verbose=yes ;;
++
++ -version | --version | --versio | --versi | --vers | -V)
++ ac_init_version=: ;;
++
++ -with-* | --with-*)
++ ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
++ # Reject names that are not valid shell variable names.
++ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
++ as_fn_error $? "invalid package name: $ac_useropt"
++ ac_useropt_orig=$ac_useropt
++ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
++ case $ac_user_opts in
++ *"
++"with_$ac_useropt"
++"*) ;;
++ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
++ ac_unrecognized_sep=', ';;
++ esac
++ eval with_$ac_useropt=\$ac_optarg ;;
++
++ -without-* | --without-*)
++ ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
++ # Reject names that are not valid shell variable names.
++ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
++ as_fn_error $? "invalid package name: $ac_useropt"
++ ac_useropt_orig=$ac_useropt
++ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
++ case $ac_user_opts in
++ *"
++"with_$ac_useropt"
++"*) ;;
++ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
++ ac_unrecognized_sep=', ';;
++ esac
++ eval with_$ac_useropt=no ;;
++
++ --x)
++ # Obsolete; use --with-x.
++ with_x=yes ;;
++
++ -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
++ | --x-incl | --x-inc | --x-in | --x-i)
++ ac_prev=x_includes ;;
++ -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
++ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
++ x_includes=$ac_optarg ;;
++
++ -x-libraries | --x-libraries | --x-librarie | --x-librari \
++ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
++ ac_prev=x_libraries ;;
++ -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
++ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
++ x_libraries=$ac_optarg ;;
++
++ -*) as_fn_error $? "unrecognized option: \`$ac_option'
++Try \`$0 --help' for more information"
++ ;;
++
++ *=*)
++ ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
++ # Reject names that are not valid shell variable names.
++ case $ac_envvar in #(
++ '' | [0-9]* | *[!_$as_cr_alnum]* )
++ as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
++ esac
++ eval $ac_envvar=\$ac_optarg
++ export $ac_envvar ;;
++
++ *)
++ # FIXME: should be removed in autoconf 3.0.
++ $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
++ expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
++ $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
++ : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
++ ;;
++
++ esac
++done
++
++if test -n "$ac_prev"; then
++ ac_option=--`echo $ac_prev | sed 's/_/-/g'`
++ as_fn_error $? "missing argument to $ac_option"
++fi
++
++if test -n "$ac_unrecognized_opts"; then
++ case $enable_option_checking in
++ no) ;;
++ fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
++ *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
++ esac
++fi
++
++# Check all directory arguments for consistency.
++for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
++ datadir sysconfdir sharedstatedir localstatedir includedir \
++ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
++ libdir localedir mandir
++do
++ eval ac_val=\$$ac_var
++ # Remove trailing slashes.
++ case $ac_val in
++ */ )
++ ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
++ eval $ac_var=\$ac_val;;
++ esac
++ # Be sure to have absolute directory names.
++ case $ac_val in
++ [\\/$]* | ?:[\\/]* ) continue;;
++ NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
++ esac
++ as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
++done
++
++# There might be people who depend on the old broken behavior: `$host'
++# used to hold the argument of --host etc.
++# FIXME: To remove some day.
++build=$build_alias
++host=$host_alias
++target=$target_alias
++
++# FIXME: To remove some day.
++if test "x$host_alias" != x; then
++ if test "x$build_alias" = x; then
++ cross_compiling=maybe
++ $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
++ If a cross compiler is detected then cross compile mode will be used" >&2
++ elif test "x$build_alias" != "x$host_alias"; then
++ cross_compiling=yes
++ fi
++fi
++
++ac_tool_prefix=
++test -n "$host_alias" && ac_tool_prefix=$host_alias-
++
++test "$silent" = yes && exec 6>/dev/null
++
++
++ac_pwd=`pwd` && test -n "$ac_pwd" &&
++ac_ls_di=`ls -di .` &&
++ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
++ as_fn_error $? "working directory cannot be determined"
++test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
++ as_fn_error $? "pwd does not report name of working directory"
++
++
++# Find the source files, if location was not specified.
++if test -z "$srcdir"; then
++ ac_srcdir_defaulted=yes
++ # Try the directory containing this script, then the parent directory.
++ ac_confdir=`$as_dirname -- "$as_myself" ||
++$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
++ X"$as_myself" : 'X\(//\)[^/]' \| \
++ X"$as_myself" : 'X\(//\)$' \| \
++ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
++$as_echo X"$as_myself" |
++ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
++ s//\1/
++ q
++ }
++ /^X\(\/\/\)[^/].*/{
++ s//\1/
++ q
++ }
++ /^X\(\/\/\)$/{
++ s//\1/
++ q
++ }
++ /^X\(\/\).*/{
++ s//\1/
++ q
++ }
++ s/.*/./; q'`
++ srcdir=$ac_confdir
++ if test ! -r "$srcdir/$ac_unique_file"; then
++ srcdir=..
++ fi
++else
++ ac_srcdir_defaulted=no
++fi
++if test ! -r "$srcdir/$ac_unique_file"; then
++ test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
++ as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
++fi
++ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
++ac_abs_confdir=`(
++ cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
++ pwd)`
++# When building in place, set srcdir=.
++if test "$ac_abs_confdir" = "$ac_pwd"; then
++ srcdir=.
++fi
++# Remove unnecessary trailing slashes from srcdir.
++# Double slashes in file names in object file debugging info
++# mess up M-x gdb in Emacs.
++case $srcdir in
++*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
++esac
++for ac_var in $ac_precious_vars; do
++ eval ac_env_${ac_var}_set=\${${ac_var}+set}
++ eval ac_env_${ac_var}_value=\$${ac_var}
++ eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
++ eval ac_cv_env_${ac_var}_value=\$${ac_var}
++done
++
++#
++# Report the --help message.
++#
++if test "$ac_init_help" = "long"; then
++ # Omit some internal or obsolete options to make the list less imposing.
++ # This message is too long to be a string in the A/UX 3.1 sh.
++ cat <<_ACEOF
++\`configure' configures newlib 1.20.0 to adapt to many kinds of systems.
++
++Usage: $0 [OPTION]... [VAR=VALUE]...
++
++To assign environment variables (e.g., CC, CFLAGS...), specify them as
++VAR=VALUE. See below for descriptions of some of the useful variables.
++
++Defaults for the options are specified in brackets.
++
++Configuration:
++ -h, --help display this help and exit
++ --help=short display options specific to this package
++ --help=recursive display the short help of all the included packages
++ -V, --version display version information and exit
++ -q, --quiet, --silent do not print \`checking ...' messages
++ --cache-file=FILE cache test results in FILE [disabled]
++ -C, --config-cache alias for \`--cache-file=config.cache'
++ -n, --no-create do not create output files
++ --srcdir=DIR find the sources in DIR [configure dir or \`..']
++
++Installation directories:
++ --prefix=PREFIX install architecture-independent files in PREFIX
++ [$ac_default_prefix]
++ --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
++ [PREFIX]
++
++By default, \`make install' will install all the files in
++\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
++an installation prefix other than \`$ac_default_prefix' using \`--prefix',
++for instance \`--prefix=\$HOME'.
++
++For better control, use the options below.
++
++Fine tuning of the installation directories:
++ --bindir=DIR user executables [EPREFIX/bin]
++ --sbindir=DIR system admin executables [EPREFIX/sbin]
++ --libexecdir=DIR program executables [EPREFIX/libexec]
++ --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
++ --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
++ --localstatedir=DIR modifiable single-machine data [PREFIX/var]
++ --libdir=DIR object code libraries [EPREFIX/lib]
++ --includedir=DIR C header files [PREFIX/include]
++ --oldincludedir=DIR C header files for non-gcc [/usr/include]
++ --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
++ --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
++ --infodir=DIR info documentation [DATAROOTDIR/info]
++ --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
++ --mandir=DIR man documentation [DATAROOTDIR/man]
++ --docdir=DIR documentation root [DATAROOTDIR/doc/newlib]
++ --htmldir=DIR html documentation [DOCDIR]
++ --dvidir=DIR dvi documentation [DOCDIR]
++ --pdfdir=DIR pdf documentation [DOCDIR]
++ --psdir=DIR ps documentation [DOCDIR]
++_ACEOF
++
++ cat <<\_ACEOF
++
++Program names:
++ --program-prefix=PREFIX prepend PREFIX to installed program names
++ --program-suffix=SUFFIX append SUFFIX to installed program names
++ --program-transform-name=PROGRAM run sed PROGRAM on installed program names
++
++System types:
++ --build=BUILD configure for building on BUILD [guessed]
++ --host=HOST cross-compile to build programs to run on HOST [BUILD]
++_ACEOF
++fi
++
++if test -n "$ac_init_help"; then
++ case $ac_init_help in
++ short | recursive ) echo "Configuration of newlib 1.20.0:";;
++ esac
++ cat <<\_ACEOF
++
++Optional Features:
++ --disable-option-checking ignore unrecognized --enable/--with options
++ --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
++ --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
++ --enable-multilib build many library versions (default)
++ --enable-target-optspace optimize for space
++ --enable-malloc-debugging indicate malloc debugging requested
++ --enable-newlib-multithread enable support for multiple threads
++ --enable-newlib-iconv enable iconv library support
++ --enable-newlib-elix-level supply desired elix library level (1-4)
++ --disable-newlib-io-float disable printf/scanf family float support
++ --disable-newlib-supplied-syscalls disable newlib from supplying syscalls
++ --disable-dependency-tracking speeds up one-time build
++ --enable-dependency-tracking do not reject slow dependency extractors
++ --enable-maintainer-mode enable make rules and dependencies not useful
++ (and sometimes confusing) to the casual installer
++
++Some influential environment variables:
++ CCAS assembler compiler command (defaults to CC)
++ CCASFLAGS assembler compiler flags (defaults to CFLAGS)
++
++Use these variables to override the choices made by `configure' or to help
++it to find libraries and programs with nonstandard names/locations.
++
++Report bugs to the package provider.
++_ACEOF
++ac_status=$?
++fi
++
++if test "$ac_init_help" = "recursive"; then
++ # If there are subdirs, report their specific --help.
++ for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
++ test -d "$ac_dir" ||
++ { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
++ continue
++ ac_builddir=.
++
++case "$ac_dir" in
++.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
++*)
++ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
++ # A ".." for each directory in $ac_dir_suffix.
++ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
++ case $ac_top_builddir_sub in
++ "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
++ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
++ esac ;;
++esac
++ac_abs_top_builddir=$ac_pwd
++ac_abs_builddir=$ac_pwd$ac_dir_suffix
++# for backward compatibility:
++ac_top_builddir=$ac_top_build_prefix
++
++case $srcdir in
++ .) # We are building in place.
++ ac_srcdir=.
++ ac_top_srcdir=$ac_top_builddir_sub
++ ac_abs_top_srcdir=$ac_pwd ;;
++ [\\/]* | ?:[\\/]* ) # Absolute name.
++ ac_srcdir=$srcdir$ac_dir_suffix;
++ ac_top_srcdir=$srcdir
++ ac_abs_top_srcdir=$srcdir ;;
++ *) # Relative name.
++ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
++ ac_top_srcdir=$ac_top_build_prefix$srcdir
++ ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
++esac
++ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
++
++ cd "$ac_dir" || { ac_status=$?; continue; }
++ # Check for guested configure.
++ if test -f "$ac_srcdir/configure.gnu"; then
++ echo &&
++ $SHELL "$ac_srcdir/configure.gnu" --help=recursive
++ elif test -f "$ac_srcdir/configure"; then
++ echo &&
++ $SHELL "$ac_srcdir/configure" --help=recursive
++ else
++ $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
++ fi || ac_status=$?
++ cd "$ac_pwd" || { ac_status=$?; break; }
++ done
++fi
++
++test -n "$ac_init_help" && exit $ac_status
++if $ac_init_version; then
++ cat <<\_ACEOF
++newlib configure 1.20.0
++generated by GNU Autoconf 2.68
++
++Copyright (C) 2010 Free Software Foundation, Inc.
++This configure script is free software; the Free Software Foundation
++gives unlimited permission to copy, distribute and modify it.
++_ACEOF
++ exit
++fi
++
++## ------------------------ ##
++## Autoconf initialization. ##
++## ------------------------ ##
++
++# ac_fn_c_try_compile LINENO
++# --------------------------
++# Try to compile conftest.$ac_ext, and return whether this succeeded.
++ac_fn_c_try_compile ()
++{
++ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
++ rm -f conftest.$ac_objext
++ if { { ac_try="$ac_compile"
++case "(($ac_try" in
++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
++ *) ac_try_echo=$ac_try;;
++esac
++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
++$as_echo "$ac_try_echo"; } >&5
++ (eval "$ac_compile") 2>conftest.err
++ ac_status=$?
++ if test -s conftest.err; then
++ grep -v '^ *+' conftest.err >conftest.er1
++ cat conftest.er1 >&5
++ mv -f conftest.er1 conftest.err
++ fi
++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
++ test $ac_status = 0; } && {
++ test -z "$ac_c_werror_flag" ||
++ test ! -s conftest.err
++ } && test -s conftest.$ac_objext; then :
++ ac_retval=0
++else
++ $as_echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ ac_retval=1
++fi
++ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
++ as_fn_set_status $ac_retval
++
++} # ac_fn_c_try_compile
++cat >config.log <<_ACEOF
++This file contains any messages produced by compilers while
++running configure, to aid debugging if configure makes a mistake.
++
++It was created by newlib $as_me 1.20.0, which was
++generated by GNU Autoconf 2.68. Invocation command line was
++
++ $ $0 $@
++
++_ACEOF
++exec 5>>config.log
++{
++cat <<_ASUNAME
++## --------- ##
++## Platform. ##
++## --------- ##
++
++hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
++uname -m = `(uname -m) 2>/dev/null || echo unknown`
++uname -r = `(uname -r) 2>/dev/null || echo unknown`
++uname -s = `(uname -s) 2>/dev/null || echo unknown`
++uname -v = `(uname -v) 2>/dev/null || echo unknown`
++
++/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
++/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
++
++/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
++/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
++/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
++/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
++/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
++/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
++/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
++
++_ASUNAME
++
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ $as_echo "PATH: $as_dir"
++ done
++IFS=$as_save_IFS
++
++} >&5
++
++cat >&5 <<_ACEOF
++
++
++## ----------- ##
++## Core tests. ##
++## ----------- ##
++
++_ACEOF
++
++
++# Keep a trace of the command line.
++# Strip out --no-create and --no-recursion so they do not pile up.
++# Strip out --silent because we don't want to record it for future runs.
++# Also quote any args containing shell meta-characters.
++# Make two passes to allow for proper duplicate-argument suppression.
++ac_configure_args=
++ac_configure_args0=
++ac_configure_args1=
++ac_must_keep_next=false
++for ac_pass in 1 2
++do
++ for ac_arg
++ do
++ case $ac_arg in
++ -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
++ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
++ | -silent | --silent | --silen | --sile | --sil)
++ continue ;;
++ *\'*)
++ ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
++ esac
++ case $ac_pass in
++ 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
++ 2)
++ as_fn_append ac_configure_args1 " '$ac_arg'"
++ if test $ac_must_keep_next = true; then
++ ac_must_keep_next=false # Got value, back to normal.
++ else
++ case $ac_arg in
++ *=* | --config-cache | -C | -disable-* | --disable-* \
++ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
++ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
++ | -with-* | --with-* | -without-* | --without-* | --x)
++ case "$ac_configure_args0 " in
++ "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
++ esac
++ ;;
++ -* ) ac_must_keep_next=true ;;
++ esac
++ fi
++ as_fn_append ac_configure_args " '$ac_arg'"
++ ;;
++ esac
++ done
++done
++{ ac_configure_args0=; unset ac_configure_args0;}
++{ ac_configure_args1=; unset ac_configure_args1;}
++
++# When interrupted or exit'd, cleanup temporary files, and complete
++# config.log. We remove comments because anyway the quotes in there
++# would cause problems or look ugly.
++# WARNING: Use '\'' to represent an apostrophe within the trap.
++# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
++trap 'exit_status=$?
++ # Save into config.log some information that might help in debugging.
++ {
++ echo
++
++ $as_echo "## ---------------- ##
++## Cache variables. ##
++## ---------------- ##"
++ echo
++ # The following way of writing the cache mishandles newlines in values,
++(
++ for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
++ eval ac_val=\$$ac_var
++ case $ac_val in #(
++ *${as_nl}*)
++ case $ac_var in #(
++ *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
++$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
++ esac
++ case $ac_var in #(
++ _ | IFS | as_nl) ;; #(
++ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
++ *) { eval $ac_var=; unset $ac_var;} ;;
++ esac ;;
++ esac
++ done
++ (set) 2>&1 |
++ case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
++ *${as_nl}ac_space=\ *)
++ sed -n \
++ "s/'\''/'\''\\\\'\'''\''/g;
++ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
++ ;; #(
++ *)
++ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
++ ;;
++ esac |
++ sort
++)
++ echo
++
++ $as_echo "## ----------------- ##
++## Output variables. ##
++## ----------------- ##"
++ echo
++ for ac_var in $ac_subst_vars
++ do
++ eval ac_val=\$$ac_var
++ case $ac_val in
++ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
++ esac
++ $as_echo "$ac_var='\''$ac_val'\''"
++ done | sort
++ echo
++
++ if test -n "$ac_subst_files"; then
++ $as_echo "## ------------------- ##
++## File substitutions. ##
++## ------------------- ##"
++ echo
++ for ac_var in $ac_subst_files
++ do
++ eval ac_val=\$$ac_var
++ case $ac_val in
++ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
++ esac
++ $as_echo "$ac_var='\''$ac_val'\''"
++ done | sort
++ echo
++ fi
++
++ if test -s confdefs.h; then
++ $as_echo "## ----------- ##
++## confdefs.h. ##
++## ----------- ##"
++ echo
++ cat confdefs.h
++ echo
++ fi
++ test "$ac_signal" != 0 &&
++ $as_echo "$as_me: caught signal $ac_signal"
++ $as_echo "$as_me: exit $exit_status"
++ } >&5
++ rm -f core *.core core.conftest.* &&
++ rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
++ exit $exit_status
++' 0
++for ac_signal in 1 2 13 15; do
++ trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
++done
++ac_signal=0
++
++# confdefs.h avoids OS command line length limits that DEFS can exceed.
++rm -f -r conftest* confdefs.h
++
++$as_echo "/* confdefs.h */" > confdefs.h
++
++# Predefined preprocessor variables.
++
++cat >>confdefs.h <<_ACEOF
++#define PACKAGE_NAME "$PACKAGE_NAME"
++_ACEOF
++
++cat >>confdefs.h <<_ACEOF
++#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
++_ACEOF
++
++cat >>confdefs.h <<_ACEOF
++#define PACKAGE_VERSION "$PACKAGE_VERSION"
++_ACEOF
++
++cat >>confdefs.h <<_ACEOF
++#define PACKAGE_STRING "$PACKAGE_STRING"
++_ACEOF
++
++cat >>confdefs.h <<_ACEOF
++#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
++_ACEOF
++
++cat >>confdefs.h <<_ACEOF
++#define PACKAGE_URL "$PACKAGE_URL"
++_ACEOF
++
++
++# Let the site file select an alternate cache file if it wants to.
++# Prefer an explicitly selected file to automatically selected ones.
++ac_site_file1=NONE
++ac_site_file2=NONE
++if test -n "$CONFIG_SITE"; then
++ # We do not want a PATH search for config.site.
++ case $CONFIG_SITE in #((
++ -*) ac_site_file1=./$CONFIG_SITE;;
++ */*) ac_site_file1=$CONFIG_SITE;;
++ *) ac_site_file1=./$CONFIG_SITE;;
++ esac
++elif test "x$prefix" != xNONE; then
++ ac_site_file1=$prefix/share/config.site
++ ac_site_file2=$prefix/etc/config.site
++else
++ ac_site_file1=$ac_default_prefix/share/config.site
++ ac_site_file2=$ac_default_prefix/etc/config.site
++fi
++for ac_site_file in "$ac_site_file1" "$ac_site_file2"
++do
++ test "x$ac_site_file" = xNONE && continue
++ if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
++$as_echo "$as_me: loading site script $ac_site_file" >&6;}
++ sed 's/^/| /' "$ac_site_file" >&5
++ . "$ac_site_file" \
++ || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
++$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
++as_fn_error $? "failed to load site script $ac_site_file
++See \`config.log' for more details" "$LINENO" 5; }
++ fi
++done
++
++if test -r "$cache_file"; then
++ # Some versions of bash will fail to source /dev/null (special files
++ # actually), so we avoid doing that. DJGPP emulates it as a regular file.
++ if test /dev/null != "$cache_file" && test -f "$cache_file"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
++$as_echo "$as_me: loading cache $cache_file" >&6;}
++ case $cache_file in
++ [\\/]* | ?:[\\/]* ) . "$cache_file";;
++ *) . "./$cache_file";;
++ esac
++ fi
++else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
++$as_echo "$as_me: creating cache $cache_file" >&6;}
++ >$cache_file
++fi
++
++# Check that the precious variables saved in the cache have kept the same
++# value.
++ac_cache_corrupted=false
++for ac_var in $ac_precious_vars; do
++ eval ac_old_set=\$ac_cv_env_${ac_var}_set
++ eval ac_new_set=\$ac_env_${ac_var}_set
++ eval ac_old_val=\$ac_cv_env_${ac_var}_value
++ eval ac_new_val=\$ac_env_${ac_var}_value
++ case $ac_old_set,$ac_new_set in
++ set,)
++ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
++$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
++ ac_cache_corrupted=: ;;
++ ,set)
++ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
++$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
++ ac_cache_corrupted=: ;;
++ ,);;
++ *)
++ if test "x$ac_old_val" != "x$ac_new_val"; then
++ # differences in whitespace do not lead to failure.
++ ac_old_val_w=`echo x $ac_old_val`
++ ac_new_val_w=`echo x $ac_new_val`
++ if test "$ac_old_val_w" != "$ac_new_val_w"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
++$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
++ ac_cache_corrupted=:
++ else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
++$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
++ eval $ac_var=\$ac_old_val
++ fi
++ { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
++$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
++ { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
++$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
++ fi;;
++ esac
++ # Pass precious variables to config.status.
++ if test "$ac_new_set" = set; then
++ case $ac_new_val in
++ *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
++ *) ac_arg=$ac_var=$ac_new_val ;;
++ esac
++ case " $ac_configure_args " in
++ *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
++ *) as_fn_append ac_configure_args " '$ac_arg'" ;;
++ esac
++ fi
++done
++if $ac_cache_corrupted; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
++$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
++ { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
++$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
++ as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
++fi
++## -------------------- ##
++## Main body of script. ##
++## -------------------- ##
++
++ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++
++
++
++
++ac_aux_dir=
++for ac_dir in ../../../.. "$srcdir"/../../../..; do
++ if test -f "$ac_dir/install-sh"; then
++ ac_aux_dir=$ac_dir
++ ac_install_sh="$ac_aux_dir/install-sh -c"
++ break
++ elif test -f "$ac_dir/install.sh"; then
++ ac_aux_dir=$ac_dir
++ ac_install_sh="$ac_aux_dir/install.sh -c"
++ break
++ elif test -f "$ac_dir/shtool"; then
++ ac_aux_dir=$ac_dir
++ ac_install_sh="$ac_aux_dir/shtool install -c"
++ break
++ fi
++done
++if test -z "$ac_aux_dir"; then
++ as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../../../.. \"$srcdir\"/../../../.." "$LINENO" 5
++fi
++
++# These three variables are undocumented and unsupported,
++# and are intended to be withdrawn in a future Autoconf release.
++# They can cause serious problems if a builder's source tree is in a directory
++# whose full name contains unusual characters.
++ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
++ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
++ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
++
++
++
++
++# Make sure we can run config.sub.
++$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
++ as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
++
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
++$as_echo_n "checking build system type... " >&6; }
++if ${ac_cv_build+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ ac_build_alias=$build_alias
++test "x$ac_build_alias" = x &&
++ ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
++test "x$ac_build_alias" = x &&
++ as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
++ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
++ as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
++
++fi
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
++$as_echo "$ac_cv_build" >&6; }
++case $ac_cv_build in
++*-*-*) ;;
++*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
++esac
++build=$ac_cv_build
++ac_save_IFS=$IFS; IFS='-'
++set x $ac_cv_build
++shift
++build_cpu=$1
++build_vendor=$2
++shift; shift
++# Remember, the first character of IFS is used to create $*,
++# except with old shells:
++build_os=$*
++IFS=$ac_save_IFS
++case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
++
++
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
++$as_echo_n "checking host system type... " >&6; }
++if ${ac_cv_host+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ if test "x$host_alias" = x; then
++ ac_cv_host=$ac_cv_build
++else
++ ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
++ as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
++fi
++
++fi
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
++$as_echo "$ac_cv_host" >&6; }
++case $ac_cv_host in
++*-*-*) ;;
++*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
++esac
++host=$ac_cv_host
++ac_save_IFS=$IFS; IFS='-'
++set x $ac_cv_host
++shift
++host_cpu=$1
++host_vendor=$2
++shift; shift
++# Remember, the first character of IFS is used to create $*,
++# except with old shells:
++host_os=$*
++IFS=$ac_save_IFS
++case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
++
++
++am__api_version='1.11'
++
++# Find a good install program. We prefer a C program (faster),
++# so one script is as good as another. But avoid the broken or
++# incompatible versions:
++# SysV /etc/install, /usr/sbin/install
++# SunOS /usr/etc/install
++# IRIX /sbin/install
++# AIX /bin/install
++# AmigaOS /C/install, which installs bootblocks on floppy discs
++# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
++# AFS /usr/afsws/bin/install, which mishandles nonexistent args
++# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
++# OS/2's system install, which has a completely different semantic
++# ./install, which can be erroneously created by make from ./install.sh.
++# Reject install programs that cannot install multiple files.
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
++$as_echo_n "checking for a BSD-compatible install... " >&6; }
++if test -z "$INSTALL"; then
++if ${ac_cv_path_install+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ # Account for people who put trailing slashes in PATH elements.
++case $as_dir/ in #((
++ ./ | .// | /[cC]/* | \
++ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
++ ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
++ /usr/ucb/* ) ;;
++ *)
++ # OSF1 and SCO ODT 3.0 have their own names for install.
++ # Don't use installbsd from OSF since it installs stuff as root
++ # by default.
++ for ac_prog in ginstall scoinst install; do
++ for ac_exec_ext in '' $ac_executable_extensions; do
++ if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
++ if test $ac_prog = install &&
++ grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
++ # AIX install. It has an incompatible calling convention.
++ :
++ elif test $ac_prog = install &&
++ grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
++ # program-specific install script used by HP pwplus--don't use.
++ :
++ else
++ rm -rf conftest.one conftest.two conftest.dir
++ echo one > conftest.one
++ echo two > conftest.two
++ mkdir conftest.dir
++ if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
++ test -s conftest.one && test -s conftest.two &&
++ test -s conftest.dir/conftest.one &&
++ test -s conftest.dir/conftest.two
++ then
++ ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
++ break 3
++ fi
++ fi
++ fi
++ done
++ done
++ ;;
++esac
++
++ done
++IFS=$as_save_IFS
++
++rm -rf conftest.one conftest.two conftest.dir
++
++fi
++ if test "${ac_cv_path_install+set}" = set; then
++ INSTALL=$ac_cv_path_install
++ else
++ # As a last resort, use the slow shell script. Don't cache a
++ # value for INSTALL within a source directory, because that will
++ # break other packages using the cache if that directory is
++ # removed, or if the value is a relative name.
++ INSTALL=$ac_install_sh
++ fi
++fi
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
++$as_echo "$INSTALL" >&6; }
++
++# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
++# It thinks the first close brace ends the variable substitution.
++test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
++
++test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
++
++test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
++
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
++$as_echo_n "checking whether build environment is sane... " >&6; }
++# Just in case
++sleep 1
++echo timestamp > conftest.file
++# Reject unsafe characters in $srcdir or the absolute working directory
++# name. Accept space and tab only in the latter.
++am_lf='
++'
++case `pwd` in
++ *[\\\"\#\$\&\'\`$am_lf]*)
++ as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
++esac
++case $srcdir in
++ *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
++ as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
++esac
++
++# Do `set' in a subshell so we don't clobber the current shell's
++# arguments. Must try -L first in case configure is actually a
++# symlink; some systems play weird games with the mod time of symlinks
++# (eg FreeBSD returns the mod time of the symlink's containing
++# directory).
++if (
++ set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
++ if test "$*" = "X"; then
++ # -L didn't work.
++ set X `ls -t "$srcdir/configure" conftest.file`
++ fi
++ rm -f conftest.file
++ if test "$*" != "X $srcdir/configure conftest.file" \
++ && test "$*" != "X conftest.file $srcdir/configure"; then
++
++ # If neither matched, then we have a broken ls. This can happen
++ # if, for instance, CONFIG_SHELL is bash and it inherits a
++ # broken ls alias from the environment. This has actually
++ # happened. Such a system could not be considered "sane".
++ as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
++alias in your environment" "$LINENO" 5
++ fi
++
++ test "$2" = conftest.file
++ )
++then
++ # Ok.
++ :
++else
++ as_fn_error $? "newly created file is older than distributed files!
++Check your system clock" "$LINENO" 5
++fi
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
++$as_echo "yes" >&6; }
++test "$program_prefix" != NONE &&
++ program_transform_name="s&^&$program_prefix&;$program_transform_name"
++# Use a double $ so make ignores it.
++test "$program_suffix" != NONE &&
++ program_transform_name="s&\$&$program_suffix&;$program_transform_name"
++# Double any \ or $.
++# By default was `s,x,x', remove it if useless.
++ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
++program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
++
++# expand $ac_aux_dir to an absolute path
++am_aux_dir=`cd $ac_aux_dir && pwd`
++
++if test x"${MISSING+set}" != xset; then
++ case $am_aux_dir in
++ *\ * | *\ *)
++ MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
++ *)
++ MISSING="\${SHELL} $am_aux_dir/missing" ;;
++ esac
++fi
++# Use eval to expand $SHELL
++if eval "$MISSING --run true"; then
++ am_missing_run="$MISSING --run "
++else
++ am_missing_run=
++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
++$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
++fi
++
++if test x"${install_sh}" != xset; then
++ case $am_aux_dir in
++ *\ * | *\ *)
++ install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
++ *)
++ install_sh="\${SHELL} $am_aux_dir/install-sh"
++ esac
++fi
++
++# Installed binaries are usually stripped using `strip' when the user
++# run `make install-strip'. However `strip' might not be the right
++# tool to use in cross-compilation environments, therefore Automake
++# will honor the `STRIP' environment variable to overrule this program.
++if test "$cross_compiling" != no; then
++ if test -n "$ac_tool_prefix"; then
++ # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
++set dummy ${ac_tool_prefix}strip; ac_word=$2
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
++$as_echo_n "checking for $ac_word... " >&6; }
++if ${ac_cv_prog_STRIP+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ if test -n "$STRIP"; then
++ ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ for ac_exec_ext in '' $ac_executable_extensions; do
++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
++ ac_cv_prog_STRIP="${ac_tool_prefix}strip"
++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
++ break 2
++ fi
++done
++ done
++IFS=$as_save_IFS
++
++fi
++fi
++STRIP=$ac_cv_prog_STRIP
++if test -n "$STRIP"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
++$as_echo "$STRIP" >&6; }
++else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
++$as_echo "no" >&6; }
++fi
++
++
++fi
++if test -z "$ac_cv_prog_STRIP"; then
++ ac_ct_STRIP=$STRIP
++ # Extract the first word of "strip", so it can be a program name with args.
++set dummy strip; ac_word=$2
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
++$as_echo_n "checking for $ac_word... " >&6; }
++if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ if test -n "$ac_ct_STRIP"; then
++ ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ for ac_exec_ext in '' $ac_executable_extensions; do
++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
++ ac_cv_prog_ac_ct_STRIP="strip"
++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
++ break 2
++ fi
++done
++ done
++IFS=$as_save_IFS
++
++fi
++fi
++ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
++if test -n "$ac_ct_STRIP"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
++$as_echo "$ac_ct_STRIP" >&6; }
++else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
++$as_echo "no" >&6; }
++fi
++
++ if test "x$ac_ct_STRIP" = x; then
++ STRIP=":"
++ else
++ case $cross_compiling:$ac_tool_warned in
++yes:)
++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
++$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
++ac_tool_warned=yes ;;
++esac
++ STRIP=$ac_ct_STRIP
++ fi
++else
++ STRIP="$ac_cv_prog_STRIP"
++fi
++
++fi
++INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
++
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
++$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
++if test -z "$MKDIR_P"; then
++ if ${ac_cv_path_mkdir+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ for ac_prog in mkdir gmkdir; do
++ for ac_exec_ext in '' $ac_executable_extensions; do
++ { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
++ case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
++ 'mkdir (GNU coreutils) '* | \
++ 'mkdir (coreutils) '* | \
++ 'mkdir (fileutils) '4.1*)
++ ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
++ break 3;;
++ esac
++ done
++ done
++ done
++IFS=$as_save_IFS
++
++fi
++
++ test -d ./--version && rmdir ./--version
++ if test "${ac_cv_path_mkdir+set}" = set; then
++ MKDIR_P="$ac_cv_path_mkdir -p"
++ else
++ # As a last resort, use the slow shell script. Don't cache a
++ # value for MKDIR_P within a source directory, because that will
++ # break other packages using the cache if that directory is
++ # removed, or if the value is a relative name.
++ MKDIR_P="$ac_install_sh -d"
++ fi
++fi
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
++$as_echo "$MKDIR_P" >&6; }
++
++mkdir_p="$MKDIR_P"
++case $mkdir_p in
++ [\\/$]* | ?:[\\/]*) ;;
++ */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
++esac
++
++for ac_prog in gawk mawk nawk awk
++do
++ # Extract the first word of "$ac_prog", so it can be a program name with args.
++set dummy $ac_prog; ac_word=$2
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
++$as_echo_n "checking for $ac_word... " >&6; }
++if ${ac_cv_prog_AWK+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ if test -n "$AWK"; then
++ ac_cv_prog_AWK="$AWK" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ for ac_exec_ext in '' $ac_executable_extensions; do
++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
++ ac_cv_prog_AWK="$ac_prog"
++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
++ break 2
++ fi
++done
++ done
++IFS=$as_save_IFS
++
++fi
++fi
++AWK=$ac_cv_prog_AWK
++if test -n "$AWK"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
++$as_echo "$AWK" >&6; }
++else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
++$as_echo "no" >&6; }
++fi
++
++
++ test -n "$AWK" && break
++done
++
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
++$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
++set x ${MAKE-make}
++ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
++if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ cat >conftest.make <<\_ACEOF
++SHELL = /bin/sh
++all:
++ @echo '@@@%%%=$(MAKE)=@@@%%%'
++_ACEOF
++# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
++case `${MAKE-make} -f conftest.make 2>/dev/null` in
++ *@@@%%%=?*=@@@%%%*)
++ eval ac_cv_prog_make_${ac_make}_set=yes;;
++ *)
++ eval ac_cv_prog_make_${ac_make}_set=no;;
++esac
++rm -f conftest.make
++fi
++if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
++$as_echo "yes" >&6; }
++ SET_MAKE=
++else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
++$as_echo "no" >&6; }
++ SET_MAKE="MAKE=${MAKE-make}"
++fi
++
++rm -rf .tst 2>/dev/null
++mkdir .tst 2>/dev/null
++if test -d .tst; then
++ am__leading_dot=.
++else
++ am__leading_dot=_
++fi
++rmdir .tst 2>/dev/null
++
++DEPDIR="${am__leading_dot}deps"
++
++ac_config_commands="$ac_config_commands depfiles"
++
++
++am_make=${MAKE-make}
++cat > confinc << 'END'
++am__doit:
++ @echo this is the am__doit target
++.PHONY: am__doit
++END
++# If we don't find an include directive, just comment out the code.
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
++$as_echo_n "checking for style of include used by $am_make... " >&6; }
++am__include="#"
++am__quote=
++_am_result=none
++# First try GNU make style include.
++echo "include confinc" > confmf
++# Ignore all kinds of additional output from `make'.
++case `$am_make -s -f confmf 2> /dev/null` in #(
++*the\ am__doit\ target*)
++ am__include=include
++ am__quote=
++ _am_result=GNU
++ ;;
++esac
++# Now try BSD make style include.
++if test "$am__include" = "#"; then
++ echo '.include "confinc"' > confmf
++ case `$am_make -s -f confmf 2> /dev/null` in #(
++ *the\ am__doit\ target*)
++ am__include=.include
++ am__quote="\""
++ _am_result=BSD
++ ;;
++ esac
++fi
++
++
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
++$as_echo "$_am_result" >&6; }
++rm -f confinc confmf
++
++# Check whether --enable-dependency-tracking was given.
++if test "${enable_dependency_tracking+set}" = set; then :
++ enableval=$enable_dependency_tracking;
++fi
++
++if test "x$enable_dependency_tracking" != xno; then
++ am_depcomp="$ac_aux_dir/depcomp"
++ AMDEPBACKSLASH='\'
++fi
++ if test "x$enable_dependency_tracking" != xno; then
++ AMDEP_TRUE=
++ AMDEP_FALSE='#'
++else
++ AMDEP_TRUE='#'
++ AMDEP_FALSE=
++fi
++
++
++
++# Check whether --enable-multilib was given.
++if test "${enable_multilib+set}" = set; then :
++ enableval=$enable_multilib; case "${enableval}" in
++ yes) multilib=yes ;;
++ no) multilib=no ;;
++ *) as_fn_error $? "bad value ${enableval} for multilib option" "$LINENO" 5 ;;
++ esac
++else
++ multilib=yes
++fi
++
++# Check whether --enable-target-optspace was given.
++if test "${enable_target_optspace+set}" = set; then :
++ enableval=$enable_target_optspace; case "${enableval}" in
++ yes) target_optspace=yes ;;
++ no) target_optspace=no ;;
++ *) as_fn_error $? "bad value ${enableval} for target-optspace option" "$LINENO" 5 ;;
++ esac
++else
++ target_optspace=
++fi
++
++# Check whether --enable-malloc-debugging was given.
++if test "${enable_malloc_debugging+set}" = set; then :
++ enableval=$enable_malloc_debugging; case "${enableval}" in
++ yes) malloc_debugging=yes ;;
++ no) malloc_debugging=no ;;
++ *) as_fn_error $? "bad value ${enableval} for malloc-debugging option" "$LINENO" 5 ;;
++ esac
++else
++ malloc_debugging=
++fi
++
++# Check whether --enable-newlib-multithread was given.
++if test "${enable_newlib_multithread+set}" = set; then :
++ enableval=$enable_newlib_multithread; case "${enableval}" in
++ yes) newlib_multithread=yes ;;
++ no) newlib_multithread=no ;;
++ *) as_fn_error $? "bad value ${enableval} for newlib-multithread option" "$LINENO" 5 ;;
++ esac
++else
++ newlib_multithread=yes
++fi
++
++# Check whether --enable-newlib-iconv was given.
++if test "${enable_newlib_iconv+set}" = set; then :
++ enableval=$enable_newlib_iconv; if test "${newlib_iconv+set}" != set; then
++ case "${enableval}" in
++ yes) newlib_iconv=yes ;;
++ no) newlib_iconv=no ;;
++ *) as_fn_error $? "bad value ${enableval} for newlib-iconv option" "$LINENO" 5 ;;
++ esac
++ fi
++else
++ newlib_iconv=${newlib_iconv}
++fi
++
++# Check whether --enable-newlib-elix-level was given.
++if test "${enable_newlib_elix_level+set}" = set; then :
++ enableval=$enable_newlib_elix_level; case "${enableval}" in
++ 0) newlib_elix_level=0 ;;
++ 1) newlib_elix_level=1 ;;
++ 2) newlib_elix_level=2 ;;
++ 3) newlib_elix_level=3 ;;
++ 4) newlib_elix_level=4 ;;
++ *) as_fn_error $? "bad value ${enableval} for newlib-elix-level option" "$LINENO" 5 ;;
++ esac
++else
++ newlib_elix_level=0
++fi
++
++# Check whether --enable-newlib-io-float was given.
++if test "${enable_newlib_io_float+set}" = set; then :
++ enableval=$enable_newlib_io_float; case "${enableval}" in
++ yes) newlib_io_float=yes ;;
++ no) newlib_io_float=no ;;
++ *) as_fn_error $? "bad value ${enableval} for newlib-io-float option" "$LINENO" 5 ;;
++ esac
++else
++ newlib_io_float=yes
++fi
++
++# Check whether --enable-newlib-supplied-syscalls was given.
++if test "${enable_newlib_supplied_syscalls+set}" = set; then :
++ enableval=$enable_newlib_supplied_syscalls; case "${enableval}" in
++ yes) newlib_may_supply_syscalls=yes ;;
++ no) newlib_may_supply_syscalls=no ;;
++ *) as_fn_error $? "bad value ${enableval} for newlib-supplied-syscalls option" "$LINENO" 5 ;;
++ esac
++else
++ newlib_may_supply_syscalls=yes
++fi
++
++ if test x${newlib_may_supply_syscalls} = xyes; then
++ MAY_SUPPLY_SYSCALLS_TRUE=
++ MAY_SUPPLY_SYSCALLS_FALSE='#'
++else
++ MAY_SUPPLY_SYSCALLS_TRUE='#'
++ MAY_SUPPLY_SYSCALLS_FALSE=
++fi
++
++
++
++test -z "${with_target_subdir}" && with_target_subdir=.
++
++if test "${srcdir}" = "."; then
++ if test "${with_target_subdir}" != "."; then
++ newlib_basedir="${srcdir}/${with_multisrctop}../../../.."
++ else
++ newlib_basedir="${srcdir}/${with_multisrctop}../../.."
++ fi
++else
++ newlib_basedir="${srcdir}/../../.."
++fi
++
++
++
++
++if test "`cd $srcdir && pwd`" != "`pwd`"; then
++ # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
++ # is not polluted with repeated "-I."
++ am__isrc=' -I$(srcdir)'
++ # test to see if srcdir already configured
++ if test -f $srcdir/config.status; then
++ as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
++ fi
++fi
++
++# test whether we have cygpath
++if test -z "$CYGPATH_W"; then
++ if (cygpath --version) >/dev/null 2>/dev/null; then
++ CYGPATH_W='cygpath -w'
++ else
++ CYGPATH_W=echo
++ fi
++fi
++
++
++# Define the identity of the package.
++ PACKAGE='newlib'
++ VERSION='1.20.0'
++
++
++# Some tools Automake needs.
++
++ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
++
++
++AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
++
++
++AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
++
++
++AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
++
++
++MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
++
++# We need awk for the "check" target. The system "awk" is bad on
++# some platforms.
++# Always define AMTAR for backward compatibility.
++
++AMTAR=${AMTAR-"${am_missing_run}tar"}
++
++am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
++
++
++
++
++
++
++# FIXME: We temporarily define our own version of AC_PROG_CC. This is
++# copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
++# are probably using a cross compiler, which will not be able to fully
++# link an executable. This should really be fixed in autoconf
++# itself.
++
++
++
++
++
++
++
++# Extract the first word of "gcc", so it can be a program name with args.
++set dummy gcc; ac_word=$2
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
++$as_echo_n "checking for $ac_word... " >&6; }
++if ${ac_cv_prog_CC+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ if test -n "$CC"; then
++ ac_cv_prog_CC="$CC" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ for ac_exec_ext in '' $ac_executable_extensions; do
++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
++ ac_cv_prog_CC="gcc"
++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
++ break 2
++ fi
++done
++ done
++IFS=$as_save_IFS
++
++fi
++fi
++CC=$ac_cv_prog_CC
++if test -n "$CC"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
++$as_echo "$CC" >&6; }
++else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
++$as_echo "no" >&6; }
++fi
++
++
++
++depcc="$CC" am_compiler_list=
++
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
++$as_echo_n "checking dependency style of $depcc... " >&6; }
++if ${am_cv_CC_dependencies_compiler_type+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
++ # We make a subdir and do the tests there. Otherwise we can end up
++ # making bogus files that we don't know about and never remove. For
++ # instance it was reported that on HP-UX the gcc test will end up
++ # making a dummy file named `D' -- because `-MD' means `put the output
++ # in D'.
++ mkdir conftest.dir
++ # Copy depcomp to subdir because otherwise we won't find it if we're
++ # using a relative directory.
++ cp "$am_depcomp" conftest.dir
++ cd conftest.dir
++ # We will build objects and dependencies in a subdirectory because
++ # it helps to detect inapplicable dependency modes. For instance
++ # both Tru64's cc and ICC support -MD to output dependencies as a
++ # side effect of compilation, but ICC will put the dependencies in
++ # the current directory while Tru64 will put them in the object
++ # directory.
++ mkdir sub
++
++ am_cv_CC_dependencies_compiler_type=none
++ if test "$am_compiler_list" = ""; then
++ am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
++ fi
++ am__universal=false
++ case " $depcc " in #(
++ *\ -arch\ *\ -arch\ *) am__universal=true ;;
++ esac
++
++ for depmode in $am_compiler_list; do
++ # Setup a source with many dependencies, because some compilers
++ # like to wrap large dependency lists on column 80 (with \), and
++ # we should not choose a depcomp mode which is confused by this.
++ #
++ # We need to recreate these files for each test, as the compiler may
++ # overwrite some of them when testing with obscure command lines.
++ # This happens at least with the AIX C compiler.
++ : > sub/conftest.c
++ for i in 1 2 3 4 5 6; do
++ echo '#include "conftst'$i'.h"' >> sub/conftest.c
++ # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
++ # Solaris 8's {/usr,}/bin/sh.
++ touch sub/conftst$i.h
++ done
++ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
++
++ # We check with `-c' and `-o' for the sake of the "dashmstdout"
++ # mode. It turns out that the SunPro C++ compiler does not properly
++ # handle `-M -o', and we need to detect this. Also, some Intel
++ # versions had trouble with output in subdirs
++ am__obj=sub/conftest.${OBJEXT-o}
++ am__minus_obj="-o $am__obj"
++ case $depmode in
++ gcc)
++ # This depmode causes a compiler race in universal mode.
++ test "$am__universal" = false || continue
++ ;;
++ nosideeffect)
++ # after this tag, mechanisms are not by side-effect, so they'll
++ # only be used when explicitly requested
++ if test "x$enable_dependency_tracking" = xyes; then
++ continue
++ else
++ break
++ fi
++ ;;
++ msvisualcpp | msvcmsys)
++ # This compiler won't grok `-c -o', but also, the minuso test has
++ # not run yet. These depmodes are late enough in the game, and
++ # so weak that their functioning should not be impacted.
++ am__obj=conftest.${OBJEXT-o}
++ am__minus_obj=
++ ;;
++ none) break ;;
++ esac
++ if depmode=$depmode \
++ source=sub/conftest.c object=$am__obj \
++ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
++ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
++ >/dev/null 2>conftest.err &&
++ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
++ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
++ grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
++ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
++ # icc doesn't choke on unknown options, it will just issue warnings
++ # or remarks (even with -Werror). So we grep stderr for any message
++ # that says an option was ignored or not supported.
++ # When given -MP, icc 7.0 and 7.1 complain thusly:
++ # icc: Command line warning: ignoring option '-M'; no argument required
++ # The diagnosis changed in icc 8.0:
++ # icc: Command line remark: option '-MP' not supported
++ if (grep 'ignoring option' conftest.err ||
++ grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
++ am_cv_CC_dependencies_compiler_type=$depmode
++ break
++ fi
++ fi
++ done
++
++ cd ..
++ rm -rf conftest.dir
++else
++ am_cv_CC_dependencies_compiler_type=none
++fi
++
++fi
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
++$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
++CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
++
++ if
++ test "x$enable_dependency_tracking" != xno \
++ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
++ am__fastdepCC_TRUE=
++ am__fastdepCC_FALSE='#'
++else
++ am__fastdepCC_TRUE='#'
++ am__fastdepCC_FALSE=
++fi
++
++
++if test -z "$CC"; then
++ # Extract the first word of "cc", so it can be a program name with args.
++set dummy cc; ac_word=$2
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
++$as_echo_n "checking for $ac_word... " >&6; }
++if ${ac_cv_prog_CC+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ if test -n "$CC"; then
++ ac_cv_prog_CC="$CC" # Let the user override the test.
++else
++ ac_prog_rejected=no
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ for ac_exec_ext in '' $ac_executable_extensions; do
++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
++ if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
++ ac_prog_rejected=yes
++ continue
++ fi
++ ac_cv_prog_CC="cc"
++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
++ break 2
++ fi
++done
++ done
++IFS=$as_save_IFS
++
++if test $ac_prog_rejected = yes; then
++ # We found a bogon in the path, so make sure we never use it.
++ set dummy $ac_cv_prog_CC
++ shift
++ if test $# != 0; then
++ # We chose a different compiler from the bogus one.
++ # However, it has the same basename, so the bogon will be chosen
++ # first if we set CC to just the basename; use the full file name.
++ shift
++ ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
++ fi
++fi
++fi
++fi
++CC=$ac_cv_prog_CC
++if test -n "$CC"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
++$as_echo "$CC" >&6; }
++else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
++$as_echo "no" >&6; }
++fi
++
++
++ test -z "$CC" && as_fn_error $? "no acceptable cc found in \$PATH" "$LINENO" 5
++fi
++
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using GNU C" >&5
++$as_echo_n "checking whether we are using GNU C... " >&6; }
++if ${ac_cv_c_compiler_gnu+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ cat > conftest.c <<EOF
++#ifdef __GNUC__
++ yes;
++#endif
++EOF
++if { ac_try='${CC-cc} -E conftest.c'
++ { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
++ (eval $ac_try) 2>&5
++ ac_status=$?
++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
++ test $ac_status = 0; }; } | egrep yes >/dev/null 2>&1; then
++ ac_cv_c_compiler_gnu=yes
++else
++ ac_cv_c_compiler_gnu=no
++fi
++fi
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
++$as_echo "$ac_cv_c_compiler_gnu" >&6; }
++
++if test $ac_cv_c_compiler_gnu = yes; then
++ GCC=yes
++ ac_test_CFLAGS="${CFLAGS+set}"
++ ac_save_CFLAGS="$CFLAGS"
++ ac_test_CFLAGS=${CFLAGS+set}
++ac_save_CFLAGS=$CFLAGS
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
++$as_echo_n "checking whether $CC accepts -g... " >&6; }
++if ${ac_cv_prog_cc_g+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ ac_save_c_werror_flag=$ac_c_werror_flag
++ ac_c_werror_flag=yes
++ ac_cv_prog_cc_g=no
++ CFLAGS="-g"
++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
++/* end confdefs.h. */
++
++int
++main ()
++{
++
++ ;
++ return 0;
++}
++_ACEOF
++if ac_fn_c_try_compile "$LINENO"; then :
++ ac_cv_prog_cc_g=yes
++else
++ CFLAGS=""
++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
++/* end confdefs.h. */
++
++int
++main ()
++{
++
++ ;
++ return 0;
++}
++_ACEOF
++if ac_fn_c_try_compile "$LINENO"; then :
++
++else
++ ac_c_werror_flag=$ac_save_c_werror_flag
++ CFLAGS="-g"
++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
++/* end confdefs.h. */
++
++int
++main ()
++{
++
++ ;
++ return 0;
++}
++_ACEOF
++if ac_fn_c_try_compile "$LINENO"; then :
++ ac_cv_prog_cc_g=yes
++fi
++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
++ ac_c_werror_flag=$ac_save_c_werror_flag
++fi
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
++$as_echo "$ac_cv_prog_cc_g" >&6; }
++if test "$ac_test_CFLAGS" = set; then
++ CFLAGS=$ac_save_CFLAGS
++elif test $ac_cv_prog_cc_g = yes; then
++ if test "$GCC" = yes; then
++ CFLAGS="-g -O2"
++ else
++ CFLAGS="-g"
++ fi
++else
++ if test "$GCC" = yes; then
++ CFLAGS="-O2"
++ else
++ CFLAGS=
++ fi
++fi
++ if test "$ac_test_CFLAGS" = set; then
++ CFLAGS="$ac_save_CFLAGS"
++ elif test $ac_cv_prog_cc_g = yes; then
++ CFLAGS="-g -O2"
++ else
++ CFLAGS="-O2"
++ fi
++else
++ GCC=
++ test "${CFLAGS+set}" = set || CFLAGS="-g"
++fi
++
++
++if test -n "$ac_tool_prefix"; then
++ # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
++set dummy ${ac_tool_prefix}as; ac_word=$2
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
++$as_echo_n "checking for $ac_word... " >&6; }
++if ${ac_cv_prog_AS+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ if test -n "$AS"; then
++ ac_cv_prog_AS="$AS" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ for ac_exec_ext in '' $ac_executable_extensions; do
++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
++ ac_cv_prog_AS="${ac_tool_prefix}as"
++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
++ break 2
++ fi
++done
++ done
++IFS=$as_save_IFS
++
++fi
++fi
++AS=$ac_cv_prog_AS
++if test -n "$AS"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
++$as_echo "$AS" >&6; }
++else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
++$as_echo "no" >&6; }
++fi
++
++
++fi
++if test -z "$ac_cv_prog_AS"; then
++ ac_ct_AS=$AS
++ # Extract the first word of "as", so it can be a program name with args.
++set dummy as; ac_word=$2
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
++$as_echo_n "checking for $ac_word... " >&6; }
++if ${ac_cv_prog_ac_ct_AS+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ if test -n "$ac_ct_AS"; then
++ ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ for ac_exec_ext in '' $ac_executable_extensions; do
++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
++ ac_cv_prog_ac_ct_AS="as"
++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
++ break 2
++ fi
++done
++ done
++IFS=$as_save_IFS
++
++fi
++fi
++ac_ct_AS=$ac_cv_prog_ac_ct_AS
++if test -n "$ac_ct_AS"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
++$as_echo "$ac_ct_AS" >&6; }
++else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
++$as_echo "no" >&6; }
++fi
++
++ if test "x$ac_ct_AS" = x; then
++ AS=""
++ else
++ case $cross_compiling:$ac_tool_warned in
++yes:)
++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
++$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
++ac_tool_warned=yes ;;
++esac
++ AS=$ac_ct_AS
++ fi
++else
++ AS="$ac_cv_prog_AS"
++fi
++
++if test -n "$ac_tool_prefix"; then
++ # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
++set dummy ${ac_tool_prefix}ar; ac_word=$2
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
++$as_echo_n "checking for $ac_word... " >&6; }
++if ${ac_cv_prog_AR+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ if test -n "$AR"; then
++ ac_cv_prog_AR="$AR" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ for ac_exec_ext in '' $ac_executable_extensions; do
++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
++ ac_cv_prog_AR="${ac_tool_prefix}ar"
++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
++ break 2
++ fi
++done
++ done
++IFS=$as_save_IFS
++
++fi
++fi
++AR=$ac_cv_prog_AR
++if test -n "$AR"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
++$as_echo "$AR" >&6; }
++else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
++$as_echo "no" >&6; }
++fi
++
++
++fi
++if test -z "$ac_cv_prog_AR"; then
++ ac_ct_AR=$AR
++ # Extract the first word of "ar", so it can be a program name with args.
++set dummy ar; ac_word=$2
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
++$as_echo_n "checking for $ac_word... " >&6; }
++if ${ac_cv_prog_ac_ct_AR+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ if test -n "$ac_ct_AR"; then
++ ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ for ac_exec_ext in '' $ac_executable_extensions; do
++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
++ ac_cv_prog_ac_ct_AR="ar"
++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
++ break 2
++ fi
++done
++ done
++IFS=$as_save_IFS
++
++fi
++fi
++ac_ct_AR=$ac_cv_prog_ac_ct_AR
++if test -n "$ac_ct_AR"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
++$as_echo "$ac_ct_AR" >&6; }
++else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
++$as_echo "no" >&6; }
++fi
++
++ if test "x$ac_ct_AR" = x; then
++ AR=""
++ else
++ case $cross_compiling:$ac_tool_warned in
++yes:)
++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
++$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
++ac_tool_warned=yes ;;
++esac
++ AR=$ac_ct_AR
++ fi
++else
++ AR="$ac_cv_prog_AR"
++fi
++
++if test -n "$ac_tool_prefix"; then
++ # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
++set dummy ${ac_tool_prefix}ranlib; ac_word=$2
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
++$as_echo_n "checking for $ac_word... " >&6; }
++if ${ac_cv_prog_RANLIB+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ if test -n "$RANLIB"; then
++ ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ for ac_exec_ext in '' $ac_executable_extensions; do
++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
++ ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
++ break 2
++ fi
++done
++ done
++IFS=$as_save_IFS
++
++fi
++fi
++RANLIB=$ac_cv_prog_RANLIB
++if test -n "$RANLIB"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
++$as_echo "$RANLIB" >&6; }
++else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
++$as_echo "no" >&6; }
++fi
++
++
++fi
++if test -z "$ac_cv_prog_RANLIB"; then
++ ac_ct_RANLIB=$RANLIB
++ # Extract the first word of "ranlib", so it can be a program name with args.
++set dummy ranlib; ac_word=$2
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
++$as_echo_n "checking for $ac_word... " >&6; }
++if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ if test -n "$ac_ct_RANLIB"; then
++ ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ for ac_exec_ext in '' $ac_executable_extensions; do
++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
++ ac_cv_prog_ac_ct_RANLIB="ranlib"
++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
++ break 2
++ fi
++done
++ done
++IFS=$as_save_IFS
++
++fi
++fi
++ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
++if test -n "$ac_ct_RANLIB"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
++$as_echo "$ac_ct_RANLIB" >&6; }
++else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
++$as_echo "no" >&6; }
++fi
++
++ if test "x$ac_ct_RANLIB" = x; then
++ RANLIB=":"
++ else
++ case $cross_compiling:$ac_tool_warned in
++yes:)
++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
++$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
++ac_tool_warned=yes ;;
++esac
++ RANLIB=$ac_ct_RANLIB
++ fi
++else
++ RANLIB="$ac_cv_prog_RANLIB"
++fi
++
++if test -n "$ac_tool_prefix"; then
++ # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
++set dummy ${ac_tool_prefix}readelf; ac_word=$2
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
++$as_echo_n "checking for $ac_word... " >&6; }
++if ${ac_cv_prog_READELF+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ if test -n "$READELF"; then
++ ac_cv_prog_READELF="$READELF" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ for ac_exec_ext in '' $ac_executable_extensions; do
++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
++ ac_cv_prog_READELF="${ac_tool_prefix}readelf"
++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
++ break 2
++ fi
++done
++ done
++IFS=$as_save_IFS
++
++fi
++fi
++READELF=$ac_cv_prog_READELF
++if test -n "$READELF"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
++$as_echo "$READELF" >&6; }
++else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
++$as_echo "no" >&6; }
++fi
++
++
++fi
++if test -z "$ac_cv_prog_READELF"; then
++ ac_ct_READELF=$READELF
++ # Extract the first word of "readelf", so it can be a program name with args.
++set dummy readelf; ac_word=$2
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
++$as_echo_n "checking for $ac_word... " >&6; }
++if ${ac_cv_prog_ac_ct_READELF+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ if test -n "$ac_ct_READELF"; then
++ ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ for ac_exec_ext in '' $ac_executable_extensions; do
++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
++ ac_cv_prog_ac_ct_READELF="readelf"
++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
++ break 2
++ fi
++done
++ done
++IFS=$as_save_IFS
++
++fi
++fi
++ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
++if test -n "$ac_ct_READELF"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
++$as_echo "$ac_ct_READELF" >&6; }
++else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
++$as_echo "no" >&6; }
++fi
++
++ if test "x$ac_ct_READELF" = x; then
++ READELF=":"
++ else
++ case $cross_compiling:$ac_tool_warned in
++yes:)
++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
++$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
++ac_tool_warned=yes ;;
++esac
++ READELF=$ac_ct_READELF
++ fi
++else
++ READELF="$ac_cv_prog_READELF"
++fi
++
++
++
++
++# Hack to ensure that INSTALL won't be set to "../" with autoconf 2.13. */
++ac_given_INSTALL=$INSTALL
++
++
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
++$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
++ # Check whether --enable-maintainer-mode was given.
++if test "${enable_maintainer_mode+set}" = set; then :
++ enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
++else
++ USE_MAINTAINER_MODE=no
++fi
++
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
++$as_echo "$USE_MAINTAINER_MODE" >&6; }
++ if test $USE_MAINTAINER_MODE = yes; then
++ MAINTAINER_MODE_TRUE=
++ MAINTAINER_MODE_FALSE='#'
++else
++ MAINTAINER_MODE_TRUE='#'
++ MAINTAINER_MODE_FALSE=
++fi
++
++ MAINT=$MAINTAINER_MODE_TRUE
++
++
++# By default we simply use the C compiler to build assembly code.
++
++test "${CCAS+set}" = set || CCAS=$CC
++test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
++
++
++
++
++# We need AC_EXEEXT to keep automake happy in cygnus mode. However,
++# at least currently, we never actually build a program, so we never
++# need to use $(EXEEXT). Moreover, the test for EXEEXT normally
++# fails, because we are probably configuring with a cross compiler
++# which can't create executables. So we include AC_EXEEXT to keep
++# automake happy, but we don't execute it, since we don't care about
++# the result.
++if false; then
++
++ dummy_var=1
++fi
++
++. ${newlib_basedir}/configure.host
++
++newlib_cflags="${newlib_cflags} -fno-builtin"
++
++NEWLIB_CFLAGS=${newlib_cflags}
++
++
++NO_INCLUDE_LIST=${noinclude}
++
++
++LDFLAGS=${ldflags}
++
++
++ if test x${newlib_elix_level} = x0; then
++ ELIX_LEVEL_0_TRUE=
++ ELIX_LEVEL_0_FALSE='#'
++else
++ ELIX_LEVEL_0_TRUE='#'
++ ELIX_LEVEL_0_FALSE=
++fi
++
++ if test x${newlib_elix_level} = x1; then
++ ELIX_LEVEL_1_TRUE=
++ ELIX_LEVEL_1_FALSE='#'
++else
++ ELIX_LEVEL_1_TRUE='#'
++ ELIX_LEVEL_1_FALSE=
++fi
++
++ if test x${newlib_elix_level} = x2; then
++ ELIX_LEVEL_2_TRUE=
++ ELIX_LEVEL_2_FALSE='#'
++else
++ ELIX_LEVEL_2_TRUE='#'
++ ELIX_LEVEL_2_FALSE=
++fi
++
++ if test x${newlib_elix_level} = x3; then
++ ELIX_LEVEL_3_TRUE=
++ ELIX_LEVEL_3_FALSE='#'
++else
++ ELIX_LEVEL_3_TRUE='#'
++ ELIX_LEVEL_3_FALSE=
++fi
++
++ if test x${newlib_elix_level} = x4; then
++ ELIX_LEVEL_4_TRUE=
++ ELIX_LEVEL_4_FALSE='#'
++else
++ ELIX_LEVEL_4_TRUE='#'
++ ELIX_LEVEL_4_FALSE=
++fi
++
++
++ if test x${use_libtool} = xyes; then
++ USE_LIBTOOL_TRUE=
++ USE_LIBTOOL_FALSE='#'
++else
++ USE_LIBTOOL_TRUE='#'
++ USE_LIBTOOL_FALSE=
++fi
++
++
++# Hard-code OBJEXT. Normally it is set by AC_OBJEXT, but we
++# use oext, which is set in configure.host based on the target platform.
++OBJEXT=${oext}
++
++
++
++
++
++
++
++
++
++
++
++ac_config_files="$ac_config_files Makefile"
++
++cat >confcache <<\_ACEOF
++# This file is a shell script that caches the results of configure
++# tests run on this system so they can be shared between configure
++# scripts and configure runs, see configure's option --config-cache.
++# It is not useful on other systems. If it contains results you don't
++# want to keep, you may remove or edit it.
++#
++# config.status only pays attention to the cache file if you give it
++# the --recheck option to rerun configure.
++#
++# `ac_cv_env_foo' variables (set or unset) will be overridden when
++# loading this file, other *unset* `ac_cv_foo' will be assigned the
++# following values.
++
++_ACEOF
++
++# The following way of writing the cache mishandles newlines in values,
++# but we know of no workaround that is simple, portable, and efficient.
++# So, we kill variables containing newlines.
++# Ultrix sh set writes to stderr and can't be redirected directly,
++# and sets the high bit in the cache file unless we assign to the vars.
++(
++ for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
++ eval ac_val=\$$ac_var
++ case $ac_val in #(
++ *${as_nl}*)
++ case $ac_var in #(
++ *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
++$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
++ esac
++ case $ac_var in #(
++ _ | IFS | as_nl) ;; #(
++ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
++ *) { eval $ac_var=; unset $ac_var;} ;;
++ esac ;;
++ esac
++ done
++
++ (set) 2>&1 |
++ case $as_nl`(ac_space=' '; set) 2>&1` in #(
++ *${as_nl}ac_space=\ *)
++ # `set' does not quote correctly, so add quotes: double-quote
++ # substitution turns \\\\ into \\, and sed turns \\ into \.
++ sed -n \
++ "s/'/'\\\\''/g;
++ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
++ ;; #(
++ *)
++ # `set' quotes correctly as required by POSIX, so do not add quotes.
++ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
++ ;;
++ esac |
++ sort
++) |
++ sed '
++ /^ac_cv_env_/b end
++ t clear
++ :clear
++ s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
++ t end
++ s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
++ :end' >>confcache
++if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
++ if test -w "$cache_file"; then
++ if test "x$cache_file" != "x/dev/null"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
++$as_echo "$as_me: updating cache $cache_file" >&6;}
++ if test ! -f "$cache_file" || test -h "$cache_file"; then
++ cat confcache >"$cache_file"
++ else
++ case $cache_file in #(
++ */* | ?:*)
++ mv -f confcache "$cache_file"$$ &&
++ mv -f "$cache_file"$$ "$cache_file" ;; #(
++ *)
++ mv -f confcache "$cache_file" ;;
++ esac
++ fi
++ fi
++ else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
++$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
++ fi
++fi
++rm -f confcache
++
++test "x$prefix" = xNONE && prefix=$ac_default_prefix
++# Let make expand exec_prefix.
++test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
++
++# Transform confdefs.h into DEFS.
++# Protect against shell expansion while executing Makefile rules.
++# Protect against Makefile macro expansion.
++#
++# If the first sed substitution is executed (which looks for macros that
++# take arguments), then branch to the quote section. Otherwise,
++# look for a macro that doesn't take arguments.
++ac_script='
++:mline
++/\\$/{
++ N
++ s,\\\n,,
++ b mline
++}
++t clear
++:clear
++s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
++t quote
++s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
++t quote
++b any
++:quote
++s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
++s/\[/\\&/g
++s/\]/\\&/g
++s/\$/$$/g
++H
++:any
++${
++ g
++ s/^\n//
++ s/\n/ /g
++ p
++}
++'
++DEFS=`sed -n "$ac_script" confdefs.h`
++
++
++ac_libobjs=
++ac_ltlibobjs=
++U=
++for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
++ # 1. Remove the extension, and $U if already installed.
++ ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
++ ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
++ # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
++ # will be set to the directory where LIBOBJS objects are built.
++ as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
++ as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
++done
++LIBOBJS=$ac_libobjs
++
++LTLIBOBJS=$ac_ltlibobjs
++
++
++if test -z "${MAY_SUPPLY_SYSCALLS_TRUE}" && test -z "${MAY_SUPPLY_SYSCALLS_FALSE}"; then
++ as_fn_error $? "conditional \"MAY_SUPPLY_SYSCALLS\" was never defined.
++Usually this means the macro was only invoked conditionally." "$LINENO" 5
++fi
++
++if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
++ as_fn_error $? "conditional \"AMDEP\" was never defined.
++Usually this means the macro was only invoked conditionally." "$LINENO" 5
++fi
++if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
++ as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
++Usually this means the macro was only invoked conditionally." "$LINENO" 5
++fi
++if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
++ as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
++Usually this means the macro was only invoked conditionally." "$LINENO" 5
++fi
++if test -z "${ELIX_LEVEL_0_TRUE}" && test -z "${ELIX_LEVEL_0_FALSE}"; then
++ as_fn_error $? "conditional \"ELIX_LEVEL_0\" was never defined.
++Usually this means the macro was only invoked conditionally." "$LINENO" 5
++fi
++if test -z "${ELIX_LEVEL_1_TRUE}" && test -z "${ELIX_LEVEL_1_FALSE}"; then
++ as_fn_error $? "conditional \"ELIX_LEVEL_1\" was never defined.
++Usually this means the macro was only invoked conditionally." "$LINENO" 5
++fi
++if test -z "${ELIX_LEVEL_2_TRUE}" && test -z "${ELIX_LEVEL_2_FALSE}"; then
++ as_fn_error $? "conditional \"ELIX_LEVEL_2\" was never defined.
++Usually this means the macro was only invoked conditionally." "$LINENO" 5
++fi
++if test -z "${ELIX_LEVEL_3_TRUE}" && test -z "${ELIX_LEVEL_3_FALSE}"; then
++ as_fn_error $? "conditional \"ELIX_LEVEL_3\" was never defined.
++Usually this means the macro was only invoked conditionally." "$LINENO" 5
++fi
++if test -z "${ELIX_LEVEL_4_TRUE}" && test -z "${ELIX_LEVEL_4_FALSE}"; then
++ as_fn_error $? "conditional \"ELIX_LEVEL_4\" was never defined.
++Usually this means the macro was only invoked conditionally." "$LINENO" 5
++fi
++if test -z "${USE_LIBTOOL_TRUE}" && test -z "${USE_LIBTOOL_FALSE}"; then
++ as_fn_error $? "conditional \"USE_LIBTOOL\" was never defined.
++Usually this means the macro was only invoked conditionally." "$LINENO" 5
++fi
++
++: "${CONFIG_STATUS=./config.status}"
++ac_write_fail=0
++ac_clean_files_save=$ac_clean_files
++ac_clean_files="$ac_clean_files $CONFIG_STATUS"
++{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
++$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
++as_write_fail=0
++cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
++#! $SHELL
++# Generated by $as_me.
++# Run this file to recreate the current configuration.
++# Compiler output produced by configure, useful for debugging
++# configure, is in config.log if it exists.
++
++debug=false
++ac_cs_recheck=false
++ac_cs_silent=false
++
++SHELL=\${CONFIG_SHELL-$SHELL}
++export SHELL
++_ASEOF
++cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
++## -------------------- ##
++## M4sh Initialization. ##
++## -------------------- ##
++
++# Be more Bourne compatible
++DUALCASE=1; export DUALCASE # for MKS sh
++if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
++ emulate sh
++ NULLCMD=:
++ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
++ # is contrary to our usage. Disable this feature.
++ alias -g '${1+"$@"}'='"$@"'
++ setopt NO_GLOB_SUBST
++else
++ case `(set -o) 2>/dev/null` in #(
++ *posix*) :
++ set -o posix ;; #(
++ *) :
++ ;;
++esac
++fi
++
++
++as_nl='
++'
++export as_nl
++# Printing a long string crashes Solaris 7 /usr/bin/printf.
++as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
++as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
++as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
++# Prefer a ksh shell builtin over an external printf program on Solaris,
++# but without wasting forks for bash or zsh.
++if test -z "$BASH_VERSION$ZSH_VERSION" \
++ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
++ as_echo='print -r --'
++ as_echo_n='print -rn --'
++elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
++ as_echo='printf %s\n'
++ as_echo_n='printf %s'
++else
++ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
++ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
++ as_echo_n='/usr/ucb/echo -n'
++ else
++ as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
++ as_echo_n_body='eval
++ arg=$1;
++ case $arg in #(
++ *"$as_nl"*)
++ expr "X$arg" : "X\\(.*\\)$as_nl";
++ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
++ esac;
++ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
++ '
++ export as_echo_n_body
++ as_echo_n='sh -c $as_echo_n_body as_echo'
++ fi
++ export as_echo_body
++ as_echo='sh -c $as_echo_body as_echo'
++fi
++
++# The user is always right.
++if test "${PATH_SEPARATOR+set}" != set; then
++ PATH_SEPARATOR=:
++ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
++ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
++ PATH_SEPARATOR=';'
++ }
++fi
++
++
++# IFS
++# We need space, tab and new line, in precisely that order. Quoting is
++# there to prevent editors from complaining about space-tab.
++# (If _AS_PATH_WALK were called with IFS unset, it would disable word
++# splitting by setting IFS to empty value.)
++IFS=" "" $as_nl"
++
++# Find who we are. Look in the path if we contain no directory separator.
++as_myself=
++case $0 in #((
++ *[\\/]* ) as_myself=$0 ;;
++ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
++ done
++IFS=$as_save_IFS
++
++ ;;
++esac
++# We did not find ourselves, most probably we were run as `sh COMMAND'
++# in which case we are not to be found in the path.
++if test "x$as_myself" = x; then
++ as_myself=$0
++fi
++if test ! -f "$as_myself"; then
++ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
++ exit 1
++fi
++
++# Unset variables that we do not need and which cause bugs (e.g. in
++# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
++# suppresses any "Segmentation fault" message there. '((' could
++# trigger a bug in pdksh 5.2.14.
++for as_var in BASH_ENV ENV MAIL MAILPATH
++do eval test x\${$as_var+set} = xset \
++ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
++done
++PS1='$ '
++PS2='> '
++PS4='+ '
++
++# NLS nuisances.
++LC_ALL=C
++export LC_ALL
++LANGUAGE=C
++export LANGUAGE
++
++# CDPATH.
++(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
++
++
++# as_fn_error STATUS ERROR [LINENO LOG_FD]
++# ----------------------------------------
++# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
++# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
++# script with STATUS, using 1 if that was 0.
++as_fn_error ()
++{
++ as_status=$1; test $as_status -eq 0 && as_status=1
++ if test "$4"; then
++ as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
++ $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
++ fi
++ $as_echo "$as_me: error: $2" >&2
++ as_fn_exit $as_status
++} # as_fn_error
++
++
++# as_fn_set_status STATUS
++# -----------------------
++# Set $? to STATUS, without forking.
++as_fn_set_status ()
++{
++ return $1
++} # as_fn_set_status
++
++# as_fn_exit STATUS
++# -----------------
++# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
++as_fn_exit ()
++{
++ set +e
++ as_fn_set_status $1
++ exit $1
++} # as_fn_exit
++
++# as_fn_unset VAR
++# ---------------
++# Portably unset VAR.
++as_fn_unset ()
++{
++ { eval $1=; unset $1;}
++}
++as_unset=as_fn_unset
++# as_fn_append VAR VALUE
++# ----------------------
++# Append the text in VALUE to the end of the definition contained in VAR. Take
++# advantage of any shell optimizations that allow amortized linear growth over
++# repeated appends, instead of the typical quadratic growth present in naive
++# implementations.
++if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
++ eval 'as_fn_append ()
++ {
++ eval $1+=\$2
++ }'
++else
++ as_fn_append ()
++ {
++ eval $1=\$$1\$2
++ }
++fi # as_fn_append
++
++# as_fn_arith ARG...
++# ------------------
++# Perform arithmetic evaluation on the ARGs, and store the result in the
++# global $as_val. Take advantage of shells that can avoid forks. The arguments
++# must be portable across $(()) and expr.
++if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
++ eval 'as_fn_arith ()
++ {
++ as_val=$(( $* ))
++ }'
++else
++ as_fn_arith ()
++ {
++ as_val=`expr "$@" || test $? -eq 1`
++ }
++fi # as_fn_arith
++
++
++if expr a : '\(a\)' >/dev/null 2>&1 &&
++ test "X`expr 00001 : '.*\(...\)'`" = X001; then
++ as_expr=expr
++else
++ as_expr=false
++fi
++
++if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
++ as_basename=basename
++else
++ as_basename=false
++fi
++
++if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
++ as_dirname=dirname
++else
++ as_dirname=false
++fi
++
++as_me=`$as_basename -- "$0" ||
++$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
++ X"$0" : 'X\(//\)$' \| \
++ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
++$as_echo X/"$0" |
++ sed '/^.*\/\([^/][^/]*\)\/*$/{
++ s//\1/
++ q
++ }
++ /^X\/\(\/\/\)$/{
++ s//\1/
++ q
++ }
++ /^X\/\(\/\).*/{
++ s//\1/
++ q
++ }
++ s/.*/./; q'`
++
++# Avoid depending upon Character Ranges.
++as_cr_letters='abcdefghijklmnopqrstuvwxyz'
++as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
++as_cr_Letters=$as_cr_letters$as_cr_LETTERS
++as_cr_digits='0123456789'
++as_cr_alnum=$as_cr_Letters$as_cr_digits
++
++ECHO_C= ECHO_N= ECHO_T=
++case `echo -n x` in #(((((
++-n*)
++ case `echo 'xy\c'` in
++ *c*) ECHO_T=' ';; # ECHO_T is single tab character.
++ xy) ECHO_C='\c';;
++ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
++ ECHO_T=' ';;
++ esac;;
++*)
++ ECHO_N='-n';;
++esac
++
++rm -f conf$$ conf$$.exe conf$$.file
++if test -d conf$$.dir; then
++ rm -f conf$$.dir/conf$$.file
++else
++ rm -f conf$$.dir
++ mkdir conf$$.dir 2>/dev/null
++fi
++if (echo >conf$$.file) 2>/dev/null; then
++ if ln -s conf$$.file conf$$ 2>/dev/null; then
++ as_ln_s='ln -s'
++ # ... but there are two gotchas:
++ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
++ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
++ # In both cases, we have to default to `cp -p'.
++ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
++ as_ln_s='cp -p'
++ elif ln conf$$.file conf$$ 2>/dev/null; then
++ as_ln_s=ln
++ else
++ as_ln_s='cp -p'
++ fi
++else
++ as_ln_s='cp -p'
++fi
++rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
++rmdir conf$$.dir 2>/dev/null
++
++
++# as_fn_mkdir_p
++# -------------
++# Create "$as_dir" as a directory, including parents if necessary.
++as_fn_mkdir_p ()
++{
++
++ case $as_dir in #(
++ -*) as_dir=./$as_dir;;
++ esac
++ test -d "$as_dir" || eval $as_mkdir_p || {
++ as_dirs=
++ while :; do
++ case $as_dir in #(
++ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
++ *) as_qdir=$as_dir;;
++ esac
++ as_dirs="'$as_qdir' $as_dirs"
++ as_dir=`$as_dirname -- "$as_dir" ||
++$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
++ X"$as_dir" : 'X\(//\)[^/]' \| \
++ X"$as_dir" : 'X\(//\)$' \| \
++ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
++$as_echo X"$as_dir" |
++ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
++ s//\1/
++ q
++ }
++ /^X\(\/\/\)[^/].*/{
++ s//\1/
++ q
++ }
++ /^X\(\/\/\)$/{
++ s//\1/
++ q
++ }
++ /^X\(\/\).*/{
++ s//\1/
++ q
++ }
++ s/.*/./; q'`
++ test -d "$as_dir" && break
++ done
++ test -z "$as_dirs" || eval "mkdir $as_dirs"
++ } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
++
++
++} # as_fn_mkdir_p
++if mkdir -p . 2>/dev/null; then
++ as_mkdir_p='mkdir -p "$as_dir"'
++else
++ test -d ./-p && rmdir ./-p
++ as_mkdir_p=false
++fi
++
++if test -x / >/dev/null 2>&1; then
++ as_test_x='test -x'
++else
++ if ls -dL / >/dev/null 2>&1; then
++ as_ls_L_option=L
++ else
++ as_ls_L_option=
++ fi
++ as_test_x='
++ eval sh -c '\''
++ if test -d "$1"; then
++ test -d "$1/.";
++ else
++ case $1 in #(
++ -*)set "./$1";;
++ esac;
++ case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
++ ???[sx]*):;;*)false;;esac;fi
++ '\'' sh
++ '
++fi
++as_executable_p=$as_test_x
++
++# Sed expression to map a string onto a valid CPP name.
++as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
++
++# Sed expression to map a string onto a valid variable name.
++as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
++
++
++exec 6>&1
++## ----------------------------------- ##
++## Main body of $CONFIG_STATUS script. ##
++## ----------------------------------- ##
++_ASEOF
++test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
++
++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
++# Save the log message, to keep $0 and so on meaningful, and to
++# report actual input values of CONFIG_FILES etc. instead of their
++# values after options handling.
++ac_log="
++This file was extended by newlib $as_me 1.20.0, which was
++generated by GNU Autoconf 2.68. Invocation command line was
++
++ CONFIG_FILES = $CONFIG_FILES
++ CONFIG_HEADERS = $CONFIG_HEADERS
++ CONFIG_LINKS = $CONFIG_LINKS
++ CONFIG_COMMANDS = $CONFIG_COMMANDS
++ $ $0 $@
++
++on `(hostname || uname -n) 2>/dev/null | sed 1q`
++"
++
++_ACEOF
++
++case $ac_config_files in *"
++"*) set x $ac_config_files; shift; ac_config_files=$*;;
++esac
++
++
++
++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
++# Files that config.status was made for.
++config_files="$ac_config_files"
++config_commands="$ac_config_commands"
++
++_ACEOF
++
++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
++ac_cs_usage="\
++\`$as_me' instantiates files and other configuration actions
++from templates according to the current configuration. Unless the files
++and actions are specified as TAGs, all are instantiated by default.
++
++Usage: $0 [OPTION]... [TAG]...
++
++ -h, --help print this help, then exit
++ -V, --version print version number and configuration settings, then exit
++ --config print configuration, then exit
++ -q, --quiet, --silent
++ do not print progress messages
++ -d, --debug don't remove temporary files
++ --recheck update $as_me by reconfiguring in the same conditions
++ --file=FILE[:TEMPLATE]
++ instantiate the configuration file FILE
++
++Configuration files:
++$config_files
++
++Configuration commands:
++$config_commands
++
++Report bugs to the package provider."
++
++_ACEOF
++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
++ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
++ac_cs_version="\\
++newlib config.status 1.20.0
++configured by $0, generated by GNU Autoconf 2.68,
++ with options \\"\$ac_cs_config\\"
++
++Copyright (C) 2010 Free Software Foundation, Inc.
++This config.status script is free software; the Free Software Foundation
++gives unlimited permission to copy, distribute and modify it."
++
++ac_pwd='$ac_pwd'
++srcdir='$srcdir'
++INSTALL='$INSTALL'
++MKDIR_P='$MKDIR_P'
++AWK='$AWK'
++test -n "\$AWK" || AWK=awk
++_ACEOF
++
++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
++# The default lists apply if the user does not specify any file.
++ac_need_defaults=:
++while test $# != 0
++do
++ case $1 in
++ --*=?*)
++ ac_option=`expr "X$1" : 'X\([^=]*\)='`
++ ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
++ ac_shift=:
++ ;;
++ --*=)
++ ac_option=`expr "X$1" : 'X\([^=]*\)='`
++ ac_optarg=
++ ac_shift=:
++ ;;
++ *)
++ ac_option=$1
++ ac_optarg=$2
++ ac_shift=shift
++ ;;
++ esac
++
++ case $ac_option in
++ # Handling of the options.
++ -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
++ ac_cs_recheck=: ;;
++ --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
++ $as_echo "$ac_cs_version"; exit ;;
++ --config | --confi | --conf | --con | --co | --c )
++ $as_echo "$ac_cs_config"; exit ;;
++ --debug | --debu | --deb | --de | --d | -d )
++ debug=: ;;
++ --file | --fil | --fi | --f )
++ $ac_shift
++ case $ac_optarg in
++ *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
++ '') as_fn_error $? "missing file argument" ;;
++ esac
++ as_fn_append CONFIG_FILES " '$ac_optarg'"
++ ac_need_defaults=false;;
++ --he | --h | --help | --hel | -h )
++ $as_echo "$ac_cs_usage"; exit ;;
++ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
++ | -silent | --silent | --silen | --sile | --sil | --si | --s)
++ ac_cs_silent=: ;;
++
++ # This is an error.
++ -*) as_fn_error $? "unrecognized option: \`$1'
++Try \`$0 --help' for more information." ;;
++
++ *) as_fn_append ac_config_targets " $1"
++ ac_need_defaults=false ;;
++
++ esac
++ shift
++done
++
++ac_configure_extra_args=
++
++if $ac_cs_silent; then
++ exec 6>/dev/null
++ ac_configure_extra_args="$ac_configure_extra_args --silent"
++fi
++
++_ACEOF
++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
++if \$ac_cs_recheck; then
++ set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
++ shift
++ \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
++ CONFIG_SHELL='$SHELL'
++ export CONFIG_SHELL
++ exec "\$@"
++fi
++
++_ACEOF
++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
++exec 5>>config.log
++{
++ echo
++ sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
++## Running $as_me. ##
++_ASBOX
++ $as_echo "$ac_log"
++} >&5
++
++_ACEOF
++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
++#
++# INIT-COMMANDS
++#
++AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
++
++_ACEOF
++
++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
++
++# Handling of arguments.
++for ac_config_target in $ac_config_targets
++do
++ case $ac_config_target in
++ "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
++ "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
++
++ *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
++ esac
++done
++
++
++# If the user did not use the arguments to specify the items to instantiate,
++# then the envvar interface is used. Set only those that are not.
++# We use the long form for the default assignment because of an extremely
++# bizarre bug on SunOS 4.1.3.
++if $ac_need_defaults; then
++ test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
++ test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
++fi
++
++# Have a temporary directory for convenience. Make it in the build tree
++# simply because there is no reason against having it here, and in addition,
++# creating and moving files from /tmp can sometimes cause problems.
++# Hook for its removal unless debugging.
++# Note that there is a small window in which the directory will not be cleaned:
++# after its creation but before its name has been assigned to `$tmp'.
++$debug ||
++{
++ tmp= ac_tmp=
++ trap 'exit_status=$?
++ : "${ac_tmp:=$tmp}"
++ { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
++' 0
++ trap 'as_fn_exit 1' 1 2 13 15
++}
++# Create a (secure) tmp directory for tmp files.
++
++{
++ tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
++ test -d "$tmp"
++} ||
++{
++ tmp=./conf$$-$RANDOM
++ (umask 077 && mkdir "$tmp")
++} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
++ac_tmp=$tmp
++
++# Set up the scripts for CONFIG_FILES section.
++# No need to generate them if there are no CONFIG_FILES.
++# This happens for instance with `./config.status config.h'.
++if test -n "$CONFIG_FILES"; then
++
++
++ac_cr=`echo X | tr X '\015'`
++# On cygwin, bash can eat \r inside `` if the user requested igncr.
++# But we know of no other shell where ac_cr would be empty at this
++# point, so we can use a bashism as a fallback.
++if test "x$ac_cr" = x; then
++ eval ac_cr=\$\'\\r\'
++fi
++ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
++if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
++ ac_cs_awk_cr='\\r'
++else
++ ac_cs_awk_cr=$ac_cr
++fi
++
++echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
++_ACEOF
++
++
++{
++ echo "cat >conf$$subs.awk <<_ACEOF" &&
++ echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
++ echo "_ACEOF"
++} >conf$$subs.sh ||
++ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
++ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
++ac_delim='%!_!# '
++for ac_last_try in false false false false false :; do
++ . ./conf$$subs.sh ||
++ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
++
++ ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
++ if test $ac_delim_n = $ac_delim_num; then
++ break
++ elif $ac_last_try; then
++ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
++ else
++ ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
++ fi
++done
++rm -f conf$$subs.sh
++
++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
++cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
++_ACEOF
++sed -n '
++h
++s/^/S["/; s/!.*/"]=/
++p
++g
++s/^[^!]*!//
++:repl
++t repl
++s/'"$ac_delim"'$//
++t delim
++:nl
++h
++s/\(.\{148\}\)..*/\1/
++t more1
++s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
++p
++n
++b repl
++:more1
++s/["\\]/\\&/g; s/^/"/; s/$/"\\/
++p
++g
++s/.\{148\}//
++t nl
++:delim
++h
++s/\(.\{148\}\)..*/\1/
++t more2
++s/["\\]/\\&/g; s/^/"/; s/$/"/
++p
++b
++:more2
++s/["\\]/\\&/g; s/^/"/; s/$/"\\/
++p
++g
++s/.\{148\}//
++t delim
++' <conf$$subs.awk | sed '
++/^[^""]/{
++ N
++ s/\n//
++}
++' >>$CONFIG_STATUS || ac_write_fail=1
++rm -f conf$$subs.awk
++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
++_ACAWK
++cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
++ for (key in S) S_is_set[key] = 1
++ FS = ""
++
++}
++{
++ line = $ 0
++ nfields = split(line, field, "@")
++ substed = 0
++ len = length(field[1])
++ for (i = 2; i < nfields; i++) {
++ key = field[i]
++ keylen = length(key)
++ if (S_is_set[key]) {
++ value = S[key]
++ line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
++ len += length(value) + length(field[++i])
++ substed = 1
++ } else
++ len += 1 + keylen
++ }
++
++ print line
++}
++
++_ACAWK
++_ACEOF
++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
++if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
++ sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
++else
++ cat
++fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
++ || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
++_ACEOF
++
++# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
++# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
++# trailing colons and then remove the whole line if VPATH becomes empty
++# (actually we leave an empty line to preserve line numbers).
++if test "x$srcdir" = x.; then
++ ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
++h
++s///
++s/^/:/
++s/[ ]*$/:/
++s/:\$(srcdir):/:/g
++s/:\${srcdir}:/:/g
++s/:@srcdir@:/:/g
++s/^:*//
++s/:*$//
++x
++s/\(=[ ]*\).*/\1/
++G
++s/\n//
++s/^[^=]*=[ ]*$//
++}'
++fi
++
++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
++fi # test -n "$CONFIG_FILES"
++
++
++eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
++shift
++for ac_tag
++do
++ case $ac_tag in
++ :[FHLC]) ac_mode=$ac_tag; continue;;
++ esac
++ case $ac_mode$ac_tag in
++ :[FHL]*:*);;
++ :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
++ :[FH]-) ac_tag=-:-;;
++ :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
++ esac
++ ac_save_IFS=$IFS
++ IFS=:
++ set x $ac_tag
++ IFS=$ac_save_IFS
++ shift
++ ac_file=$1
++ shift
++
++ case $ac_mode in
++ :L) ac_source=$1;;
++ :[FH])
++ ac_file_inputs=
++ for ac_f
++ do
++ case $ac_f in
++ -) ac_f="$ac_tmp/stdin";;
++ *) # Look for the file first in the build tree, then in the source tree
++ # (if the path is not absolute). The absolute path cannot be DOS-style,
++ # because $ac_f cannot contain `:'.
++ test -f "$ac_f" ||
++ case $ac_f in
++ [\\/$]*) false;;
++ *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
++ esac ||
++ as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
++ esac
++ case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
++ as_fn_append ac_file_inputs " '$ac_f'"
++ done
++
++ # Let's still pretend it is `configure' which instantiates (i.e., don't
++ # use $as_me), people would be surprised to read:
++ # /* config.h. Generated by config.status. */
++ configure_input='Generated from '`
++ $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
++ `' by configure.'
++ if test x"$ac_file" != x-; then
++ configure_input="$ac_file. $configure_input"
++ { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
++$as_echo "$as_me: creating $ac_file" >&6;}
++ fi
++ # Neutralize special characters interpreted by sed in replacement strings.
++ case $configure_input in #(
++ *\&* | *\|* | *\\* )
++ ac_sed_conf_input=`$as_echo "$configure_input" |
++ sed 's/[\\\\&|]/\\\\&/g'`;; #(
++ *) ac_sed_conf_input=$configure_input;;
++ esac
++
++ case $ac_tag in
++ *:-:* | *:-) cat >"$ac_tmp/stdin" \
++ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
++ esac
++ ;;
++ esac
++
++ ac_dir=`$as_dirname -- "$ac_file" ||
++$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
++ X"$ac_file" : 'X\(//\)[^/]' \| \
++ X"$ac_file" : 'X\(//\)$' \| \
++ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
++$as_echo X"$ac_file" |
++ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
++ s//\1/
++ q
++ }
++ /^X\(\/\/\)[^/].*/{
++ s//\1/
++ q
++ }
++ /^X\(\/\/\)$/{
++ s//\1/
++ q
++ }
++ /^X\(\/\).*/{
++ s//\1/
++ q
++ }
++ s/.*/./; q'`
++ as_dir="$ac_dir"; as_fn_mkdir_p
++ ac_builddir=.
++
++case "$ac_dir" in
++.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
++*)
++ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
++ # A ".." for each directory in $ac_dir_suffix.
++ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
++ case $ac_top_builddir_sub in
++ "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
++ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
++ esac ;;
++esac
++ac_abs_top_builddir=$ac_pwd
++ac_abs_builddir=$ac_pwd$ac_dir_suffix
++# for backward compatibility:
++ac_top_builddir=$ac_top_build_prefix
++
++case $srcdir in
++ .) # We are building in place.
++ ac_srcdir=.
++ ac_top_srcdir=$ac_top_builddir_sub
++ ac_abs_top_srcdir=$ac_pwd ;;
++ [\\/]* | ?:[\\/]* ) # Absolute name.
++ ac_srcdir=$srcdir$ac_dir_suffix;
++ ac_top_srcdir=$srcdir
++ ac_abs_top_srcdir=$srcdir ;;
++ *) # Relative name.
++ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
++ ac_top_srcdir=$ac_top_build_prefix$srcdir
++ ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
++esac
++ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
++
++
++ case $ac_mode in
++ :F)
++ #
++ # CONFIG_FILE
++ #
++
++ case $INSTALL in
++ [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
++ *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
++ esac
++ ac_MKDIR_P=$MKDIR_P
++ case $MKDIR_P in
++ [\\/$]* | ?:[\\/]* ) ;;
++ */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
++ esac
++_ACEOF
++
++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
++# If the template does not know about datarootdir, expand it.
++# FIXME: This hack should be removed a few years after 2.60.
++ac_datarootdir_hack=; ac_datarootdir_seen=
++ac_sed_dataroot='
++/datarootdir/ {
++ p
++ q
++}
++/@datadir@/p
++/@docdir@/p
++/@infodir@/p
++/@localedir@/p
++/@mandir@/p'
++case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
++*datarootdir*) ac_datarootdir_seen=yes;;
++*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
++$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
++_ACEOF
++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
++ ac_datarootdir_hack='
++ s&@datadir@&$datadir&g
++ s&@docdir@&$docdir&g
++ s&@infodir@&$infodir&g
++ s&@localedir@&$localedir&g
++ s&@mandir@&$mandir&g
++ s&\\\${datarootdir}&$datarootdir&g' ;;
++esac
++_ACEOF
++
++# Neutralize VPATH when `$srcdir' = `.'.
++# Shell code in configure.ac might set extrasub.
++# FIXME: do we really want to maintain this feature?
++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
++ac_sed_extra="$ac_vpsub
++$extrasub
++_ACEOF
++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
++:t
++/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
++s|@configure_input@|$ac_sed_conf_input|;t t
++s&@top_builddir@&$ac_top_builddir_sub&;t t
++s&@top_build_prefix@&$ac_top_build_prefix&;t t
++s&@srcdir@&$ac_srcdir&;t t
++s&@abs_srcdir@&$ac_abs_srcdir&;t t
++s&@top_srcdir@&$ac_top_srcdir&;t t
++s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
++s&@builddir@&$ac_builddir&;t t
++s&@abs_builddir@&$ac_abs_builddir&;t t
++s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
++s&@INSTALL@&$ac_INSTALL&;t t
++s&@MKDIR_P@&$ac_MKDIR_P&;t t
++$ac_datarootdir_hack
++"
++eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
++ >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
++
++test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
++ { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
++ { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
++ "$ac_tmp/out"`; test -z "$ac_out"; } &&
++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
++which seems to be undefined. Please make sure it is defined" >&5
++$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
++which seems to be undefined. Please make sure it is defined" >&2;}
++
++ rm -f "$ac_tmp/stdin"
++ case $ac_file in
++ -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
++ *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
++ esac \
++ || as_fn_error $? "could not create $ac_file" "$LINENO" 5
++ ;;
++
++
++ :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
++$as_echo "$as_me: executing $ac_file commands" >&6;}
++ ;;
++ esac
++
++
++ case $ac_file$ac_mode in
++ "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
++ # Autoconf 2.62 quotes --file arguments for eval, but not when files
++ # are listed without --file. Let's play safe and only enable the eval
++ # if we detect the quoting.
++ case $CONFIG_FILES in
++ *\'*) eval set x "$CONFIG_FILES" ;;
++ *) set x $CONFIG_FILES ;;
++ esac
++ shift
++ for mf
++ do
++ # Strip MF so we end up with the name of the file.
++ mf=`echo "$mf" | sed -e 's/:.*$//'`
++ # Check whether this is an Automake generated Makefile or not.
++ # We used to match only the files named `Makefile.in', but
++ # some people rename them; so instead we look at the file content.
++ # Grep'ing the first line is not enough: some people post-process
++ # each Makefile.in and add a new line on top of each file to say so.
++ # Grep'ing the whole file is not good either: AIX grep has a line
++ # limit of 2048, but all sed's we know have understand at least 4000.
++ if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
++ dirpart=`$as_dirname -- "$mf" ||
++$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
++ X"$mf" : 'X\(//\)[^/]' \| \
++ X"$mf" : 'X\(//\)$' \| \
++ X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
++$as_echo X"$mf" |
++ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
++ s//\1/
++ q
++ }
++ /^X\(\/\/\)[^/].*/{
++ s//\1/
++ q
++ }
++ /^X\(\/\/\)$/{
++ s//\1/
++ q
++ }
++ /^X\(\/\).*/{
++ s//\1/
++ q
++ }
++ s/.*/./; q'`
++ else
++ continue
++ fi
++ # Extract the definition of DEPDIR, am__include, and am__quote
++ # from the Makefile without running `make'.
++ DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
++ test -z "$DEPDIR" && continue
++ am__include=`sed -n 's/^am__include = //p' < "$mf"`
++ test -z "am__include" && continue
++ am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
++ # When using ansi2knr, U may be empty or an underscore; expand it
++ U=`sed -n 's/^U = //p' < "$mf"`
++ # Find all dependency output files, they are included files with
++ # $(DEPDIR) in their names. We invoke sed twice because it is the
++ # simplest approach to changing $(DEPDIR) to its actual value in the
++ # expansion.
++ for file in `sed -n "
++ s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
++ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
++ # Make sure the directory exists.
++ test -f "$dirpart/$file" && continue
++ fdir=`$as_dirname -- "$file" ||
++$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
++ X"$file" : 'X\(//\)[^/]' \| \
++ X"$file" : 'X\(//\)$' \| \
++ X"$file" : 'X\(/\)' \| . 2>/dev/null ||
++$as_echo X"$file" |
++ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
++ s//\1/
++ q
++ }
++ /^X\(\/\/\)[^/].*/{
++ s//\1/
++ q
++ }
++ /^X\(\/\/\)$/{
++ s//\1/
++ q
++ }
++ /^X\(\/\).*/{
++ s//\1/
++ q
++ }
++ s/.*/./; q'`
++ as_dir=$dirpart/$fdir; as_fn_mkdir_p
++ # echo "creating $dirpart/$file"
++ echo '# dummy' > "$dirpart/$file"
++ done
++ done
++}
++ ;;
++
++ esac
++done # for ac_tag
++
++
++as_fn_exit 0
++_ACEOF
++ac_clean_files=$ac_clean_files_save
++
++test $ac_write_fail = 0 ||
++ as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
++
++
++# configure is writing to config.log, and then calls config.status.
++# config.status does its own redirection, appending to config.log.
++# Unfortunately, on DOS this fails, as config.log is still kept open
++# by configure, so config.status won't be able to write to it; its
++# output is simply discarded. So we exec the FD to /dev/null,
++# effectively closing config.log, so it can be properly (re)opened and
++# appended to by config.status. When coming back to configure, we
++# need to make the FD available again.
++if test "$no_create" != yes; then
++ ac_cs_success=:
++ ac_config_status_args=
++ test "$silent" = yes &&
++ ac_config_status_args="$ac_config_status_args --quiet"
++ exec 5>/dev/null
++ $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
++ exec 5>>config.log
++ # Use ||, not &&, to avoid exiting from the if with $? = 1, which
++ # would make configure fail if this is the last instruction.
++ $ac_cs_success || as_fn_exit 1
++fi
++if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
++$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
++fi
++
+diff -Naur newlib-1.20.0.orig/newlib/libm/machine/aarch64/configure.in newlib-1.20.0/newlib/libm/machine/aarch64/configure.in
+--- newlib-1.20.0.orig/newlib/libm/machine/aarch64/configure.in 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/newlib/libm/machine/aarch64/configure.in 2012-10-15 10:31:19.644621480 +0200
+@@ -0,0 +1,14 @@
++dnl This is the newlib/libc/machine/aarch64 configure.in file.
++dnl Process this file with autoconf to produce a configure script.
++
++AC_PREREQ(2.59)
++AC_INIT([newlib],[NEWLIB_VERSION])
++AC_CONFIG_SRCDIR([Makefile.am])
++
++dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake.
++AC_CONFIG_AUX_DIR(../../../..)
++
++NEWLIB_CONFIGURE(../../..)
++
++AC_CONFIG_FILES([Makefile])
++AC_OUTPUT
+diff -Naur newlib-1.20.0.orig/newlib/libm/machine/aarch64/Makefile.am newlib-1.20.0/newlib/libm/machine/aarch64/Makefile.am
+--- newlib-1.20.0.orig/newlib/libm/machine/aarch64/Makefile.am 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/newlib/libm/machine/aarch64/Makefile.am 2012-10-15 10:31:19.639621398 +0200
+@@ -0,0 +1,45 @@
++## Process this file with automake to generate Makefile.in
++
++AUTOMAKE_OPTIONS = cygnus
++
++INCLUDES = -I $(newlib_basedir)/../newlib/libm/common $(NEWLIB_CFLAGS) \
++ $(CROSS_CFLAGS) $(TARGET_CFLAGS)
++
++LIB_SOURCES = \
++ s_ceil.c \
++ s_floor.c \
++ s_fma.c \
++ s_fmax.c \
++ s_fmin.c \
++ s_llrint.c \
++ s_llround.c \
++ s_lrint.c \
++ s_lround.c \
++ s_nearbyint.c \
++ s_rint.c \
++ s_round.c \
++ s_trunc.c \
++ sf_ceil.c \
++ sf_floor.c \
++ sf_fma.c \
++ sf_fmax.c \
++ sf_fmin.c \
++ sf_llrint.c \
++ sf_llround.c \
++ sf_lrint.c \
++ sf_lround.c \
++ sf_nearbyint.c \
++ sf_rint.c \
++ sf_round.c \
++ sf_trunc.c
++
++noinst_LIBRARIES = lib.a
++lib_a_SOURCES = $(LIB_SOURCES)
++lib_a_CFLAGS = $(AM_CFLAGS)
++lib_a_CCASFLAGS = $(AM_CCASFLAGS)
++noinst_DATA =
++
++include $(srcdir)/../../../Makefile.shared
++
++ACLOCAL_AMFLAGS = -I ../../.. -I ../../../..
++CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host
+diff -Naur newlib-1.20.0.orig/newlib/libm/machine/aarch64/Makefile.in newlib-1.20.0/newlib/libm/machine/aarch64/Makefile.in
+--- newlib-1.20.0.orig/newlib/libm/machine/aarch64/Makefile.in 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/newlib/libm/machine/aarch64/Makefile.in 2012-10-15 10:31:19.639621398 +0200
+@@ -0,0 +1,612 @@
++# Makefile.in generated by automake 1.11.1 from Makefile.am.
++# @configure_input@
++
++# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
++# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
++# Inc.
++# This Makefile.in is free software; the Free Software Foundation
++# gives unlimited permission to copy and/or distribute it,
++# with or without modifications, as long as this notice is preserved.
++
++# This program is distributed in the hope that it will be useful,
++# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
++# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
++# PARTICULAR PURPOSE.
++
++@SET_MAKE@
++
++
++VPATH = @srcdir@
++pkgdatadir = $(datadir)/@PACKAGE@
++pkgincludedir = $(includedir)/@PACKAGE@
++pkglibdir = $(libdir)/@PACKAGE@
++pkglibexecdir = $(libexecdir)/@PACKAGE@
++am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
++install_sh_DATA = $(install_sh) -c -m 644
++install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
++INSTALL_HEADER = $(INSTALL_DATA)
++transform = $(program_transform_name)
++NORMAL_INSTALL = :
++PRE_INSTALL = :
++POST_INSTALL = :
++NORMAL_UNINSTALL = :
++PRE_UNINSTALL = :
++POST_UNINSTALL = :
++build_triplet = @build@
++host_triplet = @host@
++DIST_COMMON = $(srcdir)/../../../Makefile.shared $(srcdir)/Makefile.in \
++ $(srcdir)/Makefile.am $(top_srcdir)/configure \
++ $(am__configure_deps) $(srcdir)/../../../../mkinstalldirs
++subdir = .
++ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
++am__aclocal_m4_deps = $(top_srcdir)/../../../acinclude.m4 \
++ $(top_srcdir)/configure.in
++am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
++ $(ACLOCAL_M4)
++am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
++ configure.lineno config.status.lineno
++mkinstalldirs = $(SHELL) $(top_srcdir)/../../../../mkinstalldirs
++CONFIG_CLEAN_FILES =
++CONFIG_CLEAN_VPATH_FILES =
++LIBRARIES = $(noinst_LIBRARIES)
++ARFLAGS = cru
++lib_a_AR = $(AR) $(ARFLAGS)
++lib_a_LIBADD =
++am__objects_1 = lib_a-s_ceil.$(OBJEXT) lib_a-s_floor.$(OBJEXT) \
++ lib_a-s_fma.$(OBJEXT) lib_a-s_fmax.$(OBJEXT) \
++ lib_a-s_fmin.$(OBJEXT) lib_a-s_llrint.$(OBJEXT) \
++ lib_a-s_llround.$(OBJEXT) lib_a-s_lrint.$(OBJEXT) \
++ lib_a-s_lround.$(OBJEXT) lib_a-s_nearbyint.$(OBJEXT) \
++ lib_a-s_rint.$(OBJEXT) lib_a-s_round.$(OBJEXT) \
++ lib_a-s_trunc.$(OBJEXT) lib_a-sf_ceil.$(OBJEXT) \
++ lib_a-sf_floor.$(OBJEXT) lib_a-sf_fma.$(OBJEXT) \
++ lib_a-sf_fmax.$(OBJEXT) lib_a-sf_fmin.$(OBJEXT) \
++ lib_a-sf_llrint.$(OBJEXT) lib_a-sf_llround.$(OBJEXT) \
++ lib_a-sf_lrint.$(OBJEXT) lib_a-sf_lround.$(OBJEXT) \
++ lib_a-sf_nearbyint.$(OBJEXT) lib_a-sf_rint.$(OBJEXT) \
++ lib_a-sf_round.$(OBJEXT) lib_a-sf_trunc.$(OBJEXT)
++am_lib_a_OBJECTS = $(am__objects_1)
++lib_a_OBJECTS = $(am_lib_a_OBJECTS)
++DEFAULT_INCLUDES = -I.@am__isrc@
++depcomp =
++am__depfiles_maybe =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++CCLD = $(CC)
++LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
++SOURCES = $(lib_a_SOURCES)
++DATA = $(noinst_DATA)
++ETAGS = etags
++CTAGS = ctags
++ACLOCAL = @ACLOCAL@
++AMTAR = @AMTAR@
++AR = @AR@
++AS = @AS@
++AUTOCONF = @AUTOCONF@
++AUTOHEADER = @AUTOHEADER@
++AUTOMAKE = @AUTOMAKE@
++AWK = @AWK@
++CC = @CC@
++CCAS = @CCAS@
++CCASFLAGS = @CCASFLAGS@
++CCDEPMODE = @CCDEPMODE@
++CYGPATH_W = @CYGPATH_W@
++DEFS = @DEFS@
++DEPDIR = @DEPDIR@
++ECHO_C = @ECHO_C@
++ECHO_N = @ECHO_N@
++ECHO_T = @ECHO_T@
++INSTALL = @INSTALL@
++INSTALL_DATA = @INSTALL_DATA@
++INSTALL_PROGRAM = @INSTALL_PROGRAM@
++INSTALL_SCRIPT = @INSTALL_SCRIPT@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
++LDFLAGS = @LDFLAGS@
++LIBOBJS = @LIBOBJS@
++LIBS = @LIBS@
++LTLIBOBJS = @LTLIBOBJS@
++MAINT = @MAINT@
++MAKEINFO = @MAKEINFO@
++MKDIR_P = @MKDIR_P@
++NEWLIB_CFLAGS = @NEWLIB_CFLAGS@
++NO_INCLUDE_LIST = @NO_INCLUDE_LIST@
++OBJEXT = @OBJEXT@
++PACKAGE = @PACKAGE@
++PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
++PACKAGE_NAME = @PACKAGE_NAME@
++PACKAGE_STRING = @PACKAGE_STRING@
++PACKAGE_TARNAME = @PACKAGE_TARNAME@
++PACKAGE_URL = @PACKAGE_URL@
++PACKAGE_VERSION = @PACKAGE_VERSION@
++PATH_SEPARATOR = @PATH_SEPARATOR@
++RANLIB = @RANLIB@
++READELF = @READELF@
++SET_MAKE = @SET_MAKE@
++SHELL = @SHELL@
++STRIP = @STRIP@
++VERSION = @VERSION@
++abs_builddir = @abs_builddir@
++abs_srcdir = @abs_srcdir@
++abs_top_builddir = @abs_top_builddir@
++abs_top_srcdir = @abs_top_srcdir@
++aext = @aext@
++am__include = @am__include@
++am__leading_dot = @am__leading_dot@
++am__quote = @am__quote@
++am__tar = @am__tar@
++am__untar = @am__untar@
++bindir = @bindir@
++build = @build@
++build_alias = @build_alias@
++build_cpu = @build_cpu@
++build_os = @build_os@
++build_vendor = @build_vendor@
++builddir = @builddir@
++datadir = @datadir@
++datarootdir = @datarootdir@
++docdir = @docdir@
++dvidir = @dvidir@
++exec_prefix = @exec_prefix@
++host = @host@
++host_alias = @host_alias@
++host_cpu = @host_cpu@
++host_os = @host_os@
++host_vendor = @host_vendor@
++htmldir = @htmldir@
++includedir = @includedir@
++infodir = @infodir@
++install_sh = @install_sh@
++libdir = @libdir@
++libexecdir = @libexecdir@
++libm_machine_dir = @libm_machine_dir@
++localedir = @localedir@
++localstatedir = @localstatedir@
++lpfx = @lpfx@
++machine_dir = @machine_dir@
++mandir = @mandir@
++mkdir_p = @mkdir_p@
++newlib_basedir = @newlib_basedir@
++oext = @oext@
++oldincludedir = @oldincludedir@
++pdfdir = @pdfdir@
++prefix = @prefix@
++program_transform_name = @program_transform_name@
++psdir = @psdir@
++sbindir = @sbindir@
++sharedstatedir = @sharedstatedir@
++srcdir = @srcdir@
++sys_dir = @sys_dir@
++sysconfdir = @sysconfdir@
++target_alias = @target_alias@
++top_build_prefix = @top_build_prefix@
++top_builddir = @top_builddir@
++top_srcdir = @top_srcdir@
++AUTOMAKE_OPTIONS = cygnus
++INCLUDES = -I $(newlib_basedir)/../newlib/libm/common $(NEWLIB_CFLAGS) \
++ $(CROSS_CFLAGS) $(TARGET_CFLAGS)
++
++LIB_SOURCES = \
++ s_ceil.c \
++ s_floor.c \
++ s_fma.c \
++ s_fmax.c \
++ s_fmin.c \
++ s_llrint.c \
++ s_llround.c \
++ s_lrint.c \
++ s_lround.c \
++ s_nearbyint.c \
++ s_rint.c \
++ s_round.c \
++ s_trunc.c \
++ sf_ceil.c \
++ sf_floor.c \
++ sf_fma.c \
++ sf_fmax.c \
++ sf_fmin.c \
++ sf_llrint.c \
++ sf_llround.c \
++ sf_lrint.c \
++ sf_lround.c \
++ sf_nearbyint.c \
++ sf_rint.c \
++ sf_round.c \
++ sf_trunc.c
++
++noinst_LIBRARIES = lib.a
++lib_a_SOURCES = $(LIB_SOURCES)
++lib_a_CFLAGS = $(AM_CFLAGS)
++lib_a_CCASFLAGS = $(AM_CCASFLAGS)
++noinst_DATA =
++ACLOCAL_AMFLAGS = -I ../../.. -I ../../../..
++CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host
++all: all-am
++
++.SUFFIXES:
++.SUFFIXES: .c .o .obj
++am--refresh:
++ @:
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(srcdir)/../../../Makefile.shared $(am__configure_deps)
++ @for dep in $?; do \
++ case '$(am__configure_deps)' in \
++ *$$dep*) \
++ echo ' cd $(srcdir) && $(AUTOMAKE) --cygnus'; \
++ $(am__cd) $(srcdir) && $(AUTOMAKE) --cygnus \
++ && exit 0; \
++ exit 1;; \
++ esac; \
++ done; \
++ echo ' cd $(top_srcdir) && $(AUTOMAKE) --cygnus Makefile'; \
++ $(am__cd) $(top_srcdir) && \
++ $(AUTOMAKE) --cygnus Makefile
++.PRECIOUS: Makefile
++Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
++ @case '$?' in \
++ *config.status*) \
++ echo ' $(SHELL) ./config.status'; \
++ $(SHELL) ./config.status;; \
++ *) \
++ echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
++ cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
++ esac;
++
++$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
++ $(SHELL) ./config.status --recheck
++
++$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
++ $(am__cd) $(srcdir) && $(AUTOCONF)
++$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
++ $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
++$(am__aclocal_m4_deps):
++
++clean-noinstLIBRARIES:
++ -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
++lib.a: $(lib_a_OBJECTS) $(lib_a_DEPENDENCIES)
++ -rm -f lib.a
++ $(lib_a_AR) lib.a $(lib_a_OBJECTS) $(lib_a_LIBADD)
++ $(RANLIB) lib.a
++
++mostlyclean-compile:
++ -rm -f *.$(OBJEXT)
++
++distclean-compile:
++ -rm -f *.tab.c
++
++.c.o:
++ $(COMPILE) -c $<
++
++.c.obj:
++ $(COMPILE) -c `$(CYGPATH_W) '$<'`
++
++lib_a-s_ceil.o: s_ceil.c
++ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CFLAGS) $(CFLAGS) -c -o lib_a-s_ceil.o `test -f 's_ceil.c' || echo '$(srcdir)/'`s_ceil.c
++
++lib_a-s_ceil.obj: s_ceil.c
++ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CFLAGS) $(CFLAGS) -c -o lib_a-s_ceil.obj `if test -f 's_ceil.c'; then $(CYGPATH_W) 's_ceil.c'; else $(CYGPATH_W) '$(srcdir)/s_ceil.c'; fi`
++
++lib_a-s_floor.o: s_floor.c
++ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CFLAGS) $(CFLAGS) -c -o lib_a-s_floor.o `test -f 's_floor.c' || echo '$(srcdir)/'`s_floor.c
++
++lib_a-s_floor.obj: s_floor.c
++ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CFLAGS) $(CFLAGS) -c -o lib_a-s_floor.obj `if test -f 's_floor.c'; then $(CYGPATH_W) 's_floor.c'; else $(CYGPATH_W) '$(srcdir)/s_floor.c'; fi`
++
++lib_a-s_fma.o: s_fma.c
++ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CFLAGS) $(CFLAGS) -c -o lib_a-s_fma.o `test -f 's_fma.c' || echo '$(srcdir)/'`s_fma.c
++
++lib_a-s_fma.obj: s_fma.c
++ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CFLAGS) $(CFLAGS) -c -o lib_a-s_fma.obj `if test -f 's_fma.c'; then $(CYGPATH_W) 's_fma.c'; else $(CYGPATH_W) '$(srcdir)/s_fma.c'; fi`
++
++lib_a-s_fmax.o: s_fmax.c
++ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CFLAGS) $(CFLAGS) -c -o lib_a-s_fmax.o `test -f 's_fmax.c' || echo '$(srcdir)/'`s_fmax.c
++
++lib_a-s_fmax.obj: s_fmax.c
++ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CFLAGS) $(CFLAGS) -c -o lib_a-s_fmax.obj `if test -f 's_fmax.c'; then $(CYGPATH_W) 's_fmax.c'; else $(CYGPATH_W) '$(srcdir)/s_fmax.c'; fi`
++
++lib_a-s_fmin.o: s_fmin.c
++ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CFLAGS) $(CFLAGS) -c -o lib_a-s_fmin.o `test -f 's_fmin.c' || echo '$(srcdir)/'`s_fmin.c
++
++lib_a-s_fmin.obj: s_fmin.c
++ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CFLAGS) $(CFLAGS) -c -o lib_a-s_fmin.obj `if test -f 's_fmin.c'; then $(CYGPATH_W) 's_fmin.c'; else $(CYGPATH_W) '$(srcdir)/s_fmin.c'; fi`
++
++lib_a-s_llrint.o: s_llrint.c
++ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CFLAGS) $(CFLAGS) -c -o lib_a-s_llrint.o `test -f 's_llrint.c' || echo '$(srcdir)/'`s_llrint.c
++
++lib_a-s_llrint.obj: s_llrint.c
++ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CFLAGS) $(CFLAGS) -c -o lib_a-s_llrint.obj `if test -f 's_llrint.c'; then $(CYGPATH_W) 's_llrint.c'; else $(CYGPATH_W) '$(srcdir)/s_llrint.c'; fi`
++
++lib_a-s_llround.o: s_llround.c
++ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CFLAGS) $(CFLAGS) -c -o lib_a-s_llround.o `test -f 's_llround.c' || echo '$(srcdir)/'`s_llround.c
++
++lib_a-s_llround.obj: s_llround.c
++ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CFLAGS) $(CFLAGS) -c -o lib_a-s_llround.obj `if test -f 's_llround.c'; then $(CYGPATH_W) 's_llround.c'; else $(CYGPATH_W) '$(srcdir)/s_llround.c'; fi`
++
++lib_a-s_lrint.o: s_lrint.c
++ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CFLAGS) $(CFLAGS) -c -o lib_a-s_lrint.o `test -f 's_lrint.c' || echo '$(srcdir)/'`s_lrint.c
++
++lib_a-s_lrint.obj: s_lrint.c
++ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CFLAGS) $(CFLAGS) -c -o lib_a-s_lrint.obj `if test -f 's_lrint.c'; then $(CYGPATH_W) 's_lrint.c'; else $(CYGPATH_W) '$(srcdir)/s_lrint.c'; fi`
++
++lib_a-s_lround.o: s_lround.c
++ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CFLAGS) $(CFLAGS) -c -o lib_a-s_lround.o `test -f 's_lround.c' || echo '$(srcdir)/'`s_lround.c
++
++lib_a-s_lround.obj: s_lround.c
++ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CFLAGS) $(CFLAGS) -c -o lib_a-s_lround.obj `if test -f 's_lround.c'; then $(CYGPATH_W) 's_lround.c'; else $(CYGPATH_W) '$(srcdir)/s_lround.c'; fi`
++
++lib_a-s_nearbyint.o: s_nearbyint.c
++ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CFLAGS) $(CFLAGS) -c -o lib_a-s_nearbyint.o `test -f 's_nearbyint.c' || echo '$(srcdir)/'`s_nearbyint.c
++
++lib_a-s_nearbyint.obj: s_nearbyint.c
++ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CFLAGS) $(CFLAGS) -c -o lib_a-s_nearbyint.obj `if test -f 's_nearbyint.c'; then $(CYGPATH_W) 's_nearbyint.c'; else $(CYGPATH_W) '$(srcdir)/s_nearbyint.c'; fi`
++
++lib_a-s_rint.o: s_rint.c
++ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CFLAGS) $(CFLAGS) -c -o lib_a-s_rint.o `test -f 's_rint.c' || echo '$(srcdir)/'`s_rint.c
++
++lib_a-s_rint.obj: s_rint.c
++ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CFLAGS) $(CFLAGS) -c -o lib_a-s_rint.obj `if test -f 's_rint.c'; then $(CYGPATH_W) 's_rint.c'; else $(CYGPATH_W) '$(srcdir)/s_rint.c'; fi`
++
++lib_a-s_round.o: s_round.c
++ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CFLAGS) $(CFLAGS) -c -o lib_a-s_round.o `test -f 's_round.c' || echo '$(srcdir)/'`s_round.c
++
++lib_a-s_round.obj: s_round.c
++ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CFLAGS) $(CFLAGS) -c -o lib_a-s_round.obj `if test -f 's_round.c'; then $(CYGPATH_W) 's_round.c'; else $(CYGPATH_W) '$(srcdir)/s_round.c'; fi`
++
++lib_a-s_trunc.o: s_trunc.c
++ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CFLAGS) $(CFLAGS) -c -o lib_a-s_trunc.o `test -f 's_trunc.c' || echo '$(srcdir)/'`s_trunc.c
++
++lib_a-s_trunc.obj: s_trunc.c
++ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CFLAGS) $(CFLAGS) -c -o lib_a-s_trunc.obj `if test -f 's_trunc.c'; then $(CYGPATH_W) 's_trunc.c'; else $(CYGPATH_W) '$(srcdir)/s_trunc.c'; fi`
++
++lib_a-sf_ceil.o: sf_ceil.c
++ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CFLAGS) $(CFLAGS) -c -o lib_a-sf_ceil.o `test -f 'sf_ceil.c' || echo '$(srcdir)/'`sf_ceil.c
++
++lib_a-sf_ceil.obj: sf_ceil.c
++ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CFLAGS) $(CFLAGS) -c -o lib_a-sf_ceil.obj `if test -f 'sf_ceil.c'; then $(CYGPATH_W) 'sf_ceil.c'; else $(CYGPATH_W) '$(srcdir)/sf_ceil.c'; fi`
++
++lib_a-sf_floor.o: sf_floor.c
++ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CFLAGS) $(CFLAGS) -c -o lib_a-sf_floor.o `test -f 'sf_floor.c' || echo '$(srcdir)/'`sf_floor.c
++
++lib_a-sf_floor.obj: sf_floor.c
++ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CFLAGS) $(CFLAGS) -c -o lib_a-sf_floor.obj `if test -f 'sf_floor.c'; then $(CYGPATH_W) 'sf_floor.c'; else $(CYGPATH_W) '$(srcdir)/sf_floor.c'; fi`
++
++lib_a-sf_fma.o: sf_fma.c
++ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CFLAGS) $(CFLAGS) -c -o lib_a-sf_fma.o `test -f 'sf_fma.c' || echo '$(srcdir)/'`sf_fma.c
++
++lib_a-sf_fma.obj: sf_fma.c
++ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CFLAGS) $(CFLAGS) -c -o lib_a-sf_fma.obj `if test -f 'sf_fma.c'; then $(CYGPATH_W) 'sf_fma.c'; else $(CYGPATH_W) '$(srcdir)/sf_fma.c'; fi`
++
++lib_a-sf_fmax.o: sf_fmax.c
++ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CFLAGS) $(CFLAGS) -c -o lib_a-sf_fmax.o `test -f 'sf_fmax.c' || echo '$(srcdir)/'`sf_fmax.c
++
++lib_a-sf_fmax.obj: sf_fmax.c
++ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CFLAGS) $(CFLAGS) -c -o lib_a-sf_fmax.obj `if test -f 'sf_fmax.c'; then $(CYGPATH_W) 'sf_fmax.c'; else $(CYGPATH_W) '$(srcdir)/sf_fmax.c'; fi`
++
++lib_a-sf_fmin.o: sf_fmin.c
++ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CFLAGS) $(CFLAGS) -c -o lib_a-sf_fmin.o `test -f 'sf_fmin.c' || echo '$(srcdir)/'`sf_fmin.c
++
++lib_a-sf_fmin.obj: sf_fmin.c
++ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CFLAGS) $(CFLAGS) -c -o lib_a-sf_fmin.obj `if test -f 'sf_fmin.c'; then $(CYGPATH_W) 'sf_fmin.c'; else $(CYGPATH_W) '$(srcdir)/sf_fmin.c'; fi`
++
++lib_a-sf_llrint.o: sf_llrint.c
++ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CFLAGS) $(CFLAGS) -c -o lib_a-sf_llrint.o `test -f 'sf_llrint.c' || echo '$(srcdir)/'`sf_llrint.c
++
++lib_a-sf_llrint.obj: sf_llrint.c
++ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CFLAGS) $(CFLAGS) -c -o lib_a-sf_llrint.obj `if test -f 'sf_llrint.c'; then $(CYGPATH_W) 'sf_llrint.c'; else $(CYGPATH_W) '$(srcdir)/sf_llrint.c'; fi`
++
++lib_a-sf_llround.o: sf_llround.c
++ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CFLAGS) $(CFLAGS) -c -o lib_a-sf_llround.o `test -f 'sf_llround.c' || echo '$(srcdir)/'`sf_llround.c
++
++lib_a-sf_llround.obj: sf_llround.c
++ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CFLAGS) $(CFLAGS) -c -o lib_a-sf_llround.obj `if test -f 'sf_llround.c'; then $(CYGPATH_W) 'sf_llround.c'; else $(CYGPATH_W) '$(srcdir)/sf_llround.c'; fi`
++
++lib_a-sf_lrint.o: sf_lrint.c
++ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CFLAGS) $(CFLAGS) -c -o lib_a-sf_lrint.o `test -f 'sf_lrint.c' || echo '$(srcdir)/'`sf_lrint.c
++
++lib_a-sf_lrint.obj: sf_lrint.c
++ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CFLAGS) $(CFLAGS) -c -o lib_a-sf_lrint.obj `if test -f 'sf_lrint.c'; then $(CYGPATH_W) 'sf_lrint.c'; else $(CYGPATH_W) '$(srcdir)/sf_lrint.c'; fi`
++
++lib_a-sf_lround.o: sf_lround.c
++ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CFLAGS) $(CFLAGS) -c -o lib_a-sf_lround.o `test -f 'sf_lround.c' || echo '$(srcdir)/'`sf_lround.c
++
++lib_a-sf_lround.obj: sf_lround.c
++ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CFLAGS) $(CFLAGS) -c -o lib_a-sf_lround.obj `if test -f 'sf_lround.c'; then $(CYGPATH_W) 'sf_lround.c'; else $(CYGPATH_W) '$(srcdir)/sf_lround.c'; fi`
++
++lib_a-sf_nearbyint.o: sf_nearbyint.c
++ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CFLAGS) $(CFLAGS) -c -o lib_a-sf_nearbyint.o `test -f 'sf_nearbyint.c' || echo '$(srcdir)/'`sf_nearbyint.c
++
++lib_a-sf_nearbyint.obj: sf_nearbyint.c
++ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CFLAGS) $(CFLAGS) -c -o lib_a-sf_nearbyint.obj `if test -f 'sf_nearbyint.c'; then $(CYGPATH_W) 'sf_nearbyint.c'; else $(CYGPATH_W) '$(srcdir)/sf_nearbyint.c'; fi`
++
++lib_a-sf_rint.o: sf_rint.c
++ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CFLAGS) $(CFLAGS) -c -o lib_a-sf_rint.o `test -f 'sf_rint.c' || echo '$(srcdir)/'`sf_rint.c
++
++lib_a-sf_rint.obj: sf_rint.c
++ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CFLAGS) $(CFLAGS) -c -o lib_a-sf_rint.obj `if test -f 'sf_rint.c'; then $(CYGPATH_W) 'sf_rint.c'; else $(CYGPATH_W) '$(srcdir)/sf_rint.c'; fi`
++
++lib_a-sf_round.o: sf_round.c
++ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CFLAGS) $(CFLAGS) -c -o lib_a-sf_round.o `test -f 'sf_round.c' || echo '$(srcdir)/'`sf_round.c
++
++lib_a-sf_round.obj: sf_round.c
++ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CFLAGS) $(CFLAGS) -c -o lib_a-sf_round.obj `if test -f 'sf_round.c'; then $(CYGPATH_W) 'sf_round.c'; else $(CYGPATH_W) '$(srcdir)/sf_round.c'; fi`
++
++lib_a-sf_trunc.o: sf_trunc.c
++ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CFLAGS) $(CFLAGS) -c -o lib_a-sf_trunc.o `test -f 'sf_trunc.c' || echo '$(srcdir)/'`sf_trunc.c
++
++lib_a-sf_trunc.obj: sf_trunc.c
++ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CFLAGS) $(CFLAGS) -c -o lib_a-sf_trunc.obj `if test -f 'sf_trunc.c'; then $(CYGPATH_W) 'sf_trunc.c'; else $(CYGPATH_W) '$(srcdir)/sf_trunc.c'; fi`
++
++ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
++ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
++ unique=`for i in $$list; do \
++ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
++ done | \
++ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
++ END { if (nonempty) { for (i in files) print i; }; }'`; \
++ mkid -fID $$unique
++tags: TAGS
++
++TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
++ $(TAGS_FILES) $(LISP)
++ set x; \
++ here=`pwd`; \
++ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
++ unique=`for i in $$list; do \
++ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
++ done | \
++ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
++ END { if (nonempty) { for (i in files) print i; }; }'`; \
++ shift; \
++ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
++ test -n "$$unique" || unique=$$empty_fix; \
++ if test $$# -gt 0; then \
++ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
++ "$$@" $$unique; \
++ else \
++ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
++ $$unique; \
++ fi; \
++ fi
++ctags: CTAGS
++CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
++ $(TAGS_FILES) $(LISP)
++ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
++ unique=`for i in $$list; do \
++ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
++ done | \
++ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
++ END { if (nonempty) { for (i in files) print i; }; }'`; \
++ test -z "$(CTAGS_ARGS)$$unique" \
++ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
++ $$unique
++
++GTAGS:
++ here=`$(am__cd) $(top_builddir) && pwd` \
++ && $(am__cd) $(top_srcdir) \
++ && gtags -i $(GTAGS_ARGS) "$$here"
++
++distclean-tags:
++ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
++check-am:
++check: check-am
++all-am: Makefile $(LIBRARIES) $(DATA)
++installdirs:
++install: install-am
++install-exec: install-exec-am
++install-data: install-data-am
++uninstall: uninstall-am
++
++install-am: all-am
++ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
++
++installcheck: installcheck-am
++install-strip:
++ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
++ `test -z '$(STRIP)' || \
++ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
++mostlyclean-generic:
++
++clean-generic:
++
++distclean-generic:
++ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
++ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
++
++maintainer-clean-generic:
++ @echo "This command is intended for maintainers to use"
++ @echo "it deletes files that may require special tools to rebuild."
++clean: clean-am
++
++clean-am: clean-generic clean-noinstLIBRARIES mostlyclean-am
++
++distclean: distclean-am
++ -rm -f $(am__CONFIG_DISTCLEAN_FILES)
++ -rm -f Makefile
++distclean-am: clean-am distclean-compile distclean-generic \
++ distclean-tags
++
++dvi: dvi-am
++
++dvi-am:
++
++html: html-am
++
++html-am:
++
++info: info-am
++
++info-am:
++
++install-data-am:
++
++install-dvi: install-dvi-am
++
++install-dvi-am:
++
++install-exec-am:
++
++install-html: install-html-am
++
++install-html-am:
++
++install-info: install-info-am
++
++install-info-am:
++
++install-man:
++
++install-pdf: install-pdf-am
++
++install-pdf-am:
++
++install-ps: install-ps-am
++
++install-ps-am:
++
++installcheck-am:
++
++maintainer-clean: maintainer-clean-am
++ -rm -f $(am__CONFIG_DISTCLEAN_FILES)
++ -rm -rf $(top_srcdir)/autom4te.cache
++ -rm -f Makefile
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-am
++
++mostlyclean-am: mostlyclean-compile mostlyclean-generic
++
++pdf: pdf-am
++
++pdf-am:
++
++ps: ps-am
++
++ps-am:
++
++uninstall-am:
++
++.MAKE: install-am install-strip
++
++.PHONY: CTAGS GTAGS all all-am am--refresh check check-am clean \
++ clean-generic clean-noinstLIBRARIES ctags distclean \
++ distclean-compile distclean-generic distclean-tags dvi dvi-am \
++ html html-am info info-am install install-am install-data \
++ install-data-am install-dvi install-dvi-am install-exec \
++ install-exec-am install-html install-html-am install-info \
++ install-info-am install-man install-pdf install-pdf-am \
++ install-ps install-ps-am install-strip installcheck \
++ installcheck-am installdirs maintainer-clean \
++ maintainer-clean-generic mostlyclean mostlyclean-compile \
++ mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
++ uninstall-am
++
++objectlist.awk.in: $(noinst_LTLIBRARIES)
++ -rm -f objectlist.awk.in
++ for i in `ls *.lo` ; \
++ do \
++ echo $$i `pwd`/$$i >> objectlist.awk.in ; \
++ done
++
++# Tell versions [3.59,3.63) of GNU make to not export all variables.
++# Otherwise a system limit (for SysV at least) may be exceeded.
++.NOEXPORT:
+diff -Naur newlib-1.20.0.orig/newlib/libm/machine/aarch64/s_ceil.c newlib-1.20.0/newlib/libm/machine/aarch64/s_ceil.c
+--- newlib-1.20.0.orig/newlib/libm/machine/aarch64/s_ceil.c 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/newlib/libm/machine/aarch64/s_ceil.c 2012-10-15 10:31:19.644621480 +0200
+@@ -0,0 +1,35 @@
++/* s_ceil.c -- define ceil
++ Copyright (c) 2011, 2012 ARM Ltd. All rights reserved.
++
++ Redistribution and use in source and binary forms, with or without
++ modification, are permitted provided that the following conditions
++ are met:
++ 1. Redistributions of source code must retain the above copyright
++ notice, this list of conditions and the following disclaimer.
++ 2. Redistributions in binary form must reproduce the above copyright
++ notice, this list of conditions and the following disclaimer in the
++ documentation and/or other materials provided with the distribution.
++ 3. The name of the company may not be used to endorse or promote
++ products derived from this software without specific prior written
++ permission.
++
++ THIS SOFTWARE IS PROVIDED BY ARM LTD ``AS IS'' AND ANY EXPRESS OR IMPLIED
++ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
++ MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
++ IN NO EVENT SHALL ARM LTD BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
++ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
++ TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
++ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
++ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
++ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
++ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
++
++#include <math.h>
++
++double
++ceil (double x)
++{
++ double result;
++ asm ( "frintp\t%d0, %d1" : "=w" (result) : "w" (x) );
++ return result;
++}
+diff -Naur newlib-1.20.0.orig/newlib/libm/machine/aarch64/sf_ceil.c newlib-1.20.0/newlib/libm/machine/aarch64/sf_ceil.c
+--- newlib-1.20.0.orig/newlib/libm/machine/aarch64/sf_ceil.c 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/newlib/libm/machine/aarch64/sf_ceil.c 2012-10-15 10:31:19.647621526 +0200
+@@ -0,0 +1,35 @@
++/* sf_ceil.c -- define ceilf
++ Copyright (c) 2011, 2012 ARM Ltd. All rights reserved.
++
++ Redistribution and use in source and binary forms, with or without
++ modification, are permitted provided that the following conditions
++ are met:
++ 1. Redistributions of source code must retain the above copyright
++ notice, this list of conditions and the following disclaimer.
++ 2. Redistributions in binary form must reproduce the above copyright
++ notice, this list of conditions and the following disclaimer in the
++ documentation and/or other materials provided with the distribution.
++ 3. The name of the company may not be used to endorse or promote
++ products derived from this software without specific prior written
++ permission.
++
++ THIS SOFTWARE IS PROVIDED BY ARM LTD ``AS IS'' AND ANY EXPRESS OR IMPLIED
++ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
++ MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
++ IN NO EVENT SHALL ARM LTD BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
++ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
++ TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
++ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
++ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
++ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
++ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
++
++#include <math.h>
++
++float
++ceilf (float x)
++{
++ float result;
++ asm ( "frintp\t%s0, %s1" : "=w" (result) : "w" (x) );
++ return result;
++}
+diff -Naur newlib-1.20.0.orig/newlib/libm/machine/aarch64/sf_floor.c newlib-1.20.0/newlib/libm/machine/aarch64/sf_floor.c
+--- newlib-1.20.0.orig/newlib/libm/machine/aarch64/sf_floor.c 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/newlib/libm/machine/aarch64/sf_floor.c 2012-10-15 10:31:19.647621526 +0200
+@@ -0,0 +1,35 @@
++/* sf_floor.c -- define floorf
++ Copyright (c) 2011, 2012 ARM Ltd. All rights reserved.
++
++ Redistribution and use in source and binary forms, with or without
++ modification, are permitted provided that the following conditions
++ are met:
++ 1. Redistributions of source code must retain the above copyright
++ notice, this list of conditions and the following disclaimer.
++ 2. Redistributions in binary form must reproduce the above copyright
++ notice, this list of conditions and the following disclaimer in the
++ documentation and/or other materials provided with the distribution.
++ 3. The name of the company may not be used to endorse or promote
++ products derived from this software without specific prior written
++ permission.
++
++ THIS SOFTWARE IS PROVIDED BY ARM LTD ``AS IS'' AND ANY EXPRESS OR IMPLIED
++ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
++ MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
++ IN NO EVENT SHALL ARM LTD BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
++ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
++ TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
++ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
++ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
++ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
++ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
++
++#include <math.h>
++
++float
++floorf (float x)
++{
++ float result;
++ asm ( "frintm\t%s0, %s1" : "=w" (result) : "w" (x) );
++ return result;
++}
+diff -Naur newlib-1.20.0.orig/newlib/libm/machine/aarch64/sf_fma.c newlib-1.20.0/newlib/libm/machine/aarch64/sf_fma.c
+--- newlib-1.20.0.orig/newlib/libm/machine/aarch64/sf_fma.c 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/newlib/libm/machine/aarch64/sf_fma.c 2012-10-15 10:31:19.647621526 +0200
+@@ -0,0 +1,35 @@
++/* sf_fma.c -- define fmaf
++ Copyright (c) 2011, 2012 ARM Ltd. All rights reserved.
++
++ Redistribution and use in source and binary forms, with or without
++ modification, are permitted provided that the following conditions
++ are met:
++ 1. Redistributions of source code must retain the above copyright
++ notice, this list of conditions and the following disclaimer.
++ 2. Redistributions in binary form must reproduce the above copyright
++ notice, this list of conditions and the following disclaimer in the
++ documentation and/or other materials provided with the distribution.
++ 3. The name of the company may not be used to endorse or promote
++ products derived from this software without specific prior written
++ permission.
++
++ THIS SOFTWARE IS PROVIDED BY ARM LTD ``AS IS'' AND ANY EXPRESS OR IMPLIED
++ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
++ MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
++ IN NO EVENT SHALL ARM LTD BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
++ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
++ TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
++ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
++ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
++ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
++ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
++
++#include <math.h>
++
++float
++fmaf (float x, float y, float z)
++{
++ float result;
++ asm ("fmadd\t%s0, %s1, %s2, %s3" : "=w" (result) : "w" (x), "w" (y), "w" (z));
++ return result;
++}
+diff -Naur newlib-1.20.0.orig/newlib/libm/machine/aarch64/sf_fmax.c newlib-1.20.0/newlib/libm/machine/aarch64/sf_fmax.c
+--- newlib-1.20.0.orig/newlib/libm/machine/aarch64/sf_fmax.c 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/newlib/libm/machine/aarch64/sf_fmax.c 2012-10-15 10:31:19.647621526 +0200
+@@ -0,0 +1,35 @@
++/* sf_fmax.c -- define fmaxf
++ Copyright (c) 2011, 2012 ARM Ltd. All rights reserved.
++
++ Redistribution and use in source and binary forms, with or without
++ modification, are permitted provided that the following conditions
++ are met:
++ 1. Redistributions of source code must retain the above copyright
++ notice, this list of conditions and the following disclaimer.
++ 2. Redistributions in binary form must reproduce the above copyright
++ notice, this list of conditions and the following disclaimer in the
++ documentation and/or other materials provided with the distribution.
++ 3. The name of the company may not be used to endorse or promote
++ products derived from this software without specific prior written
++ permission.
++
++ THIS SOFTWARE IS PROVIDED BY ARM LTD ``AS IS'' AND ANY EXPRESS OR IMPLIED
++ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
++ MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
++ IN NO EVENT SHALL ARM LTD BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
++ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
++ TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
++ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
++ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
++ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
++ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
++
++#include <math.h>
++
++float
++fmaxf (float x, float y)
++{
++ float result;
++ asm ("fmaxnm\t%s0, %s1, %s2" : "=w" (result) : "w" (x), "w" (y));
++ return result;
++}
+diff -Naur newlib-1.20.0.orig/newlib/libm/machine/aarch64/sf_fmin.c newlib-1.20.0/newlib/libm/machine/aarch64/sf_fmin.c
+--- newlib-1.20.0.orig/newlib/libm/machine/aarch64/sf_fmin.c 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/newlib/libm/machine/aarch64/sf_fmin.c 2012-10-15 10:31:19.647621526 +0200
+@@ -0,0 +1,35 @@
++/* sf_fmin.c -- define fminf
++ Copyright (c) 2011, 2012 ARM Ltd. All rights reserved.
++
++ Redistribution and use in source and binary forms, with or without
++ modification, are permitted provided that the following conditions
++ are met:
++ 1. Redistributions of source code must retain the above copyright
++ notice, this list of conditions and the following disclaimer.
++ 2. Redistributions in binary form must reproduce the above copyright
++ notice, this list of conditions and the following disclaimer in the
++ documentation and/or other materials provided with the distribution.
++ 3. The name of the company may not be used to endorse or promote
++ products derived from this software without specific prior written
++ permission.
++
++ THIS SOFTWARE IS PROVIDED BY ARM LTD ``AS IS'' AND ANY EXPRESS OR IMPLIED
++ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
++ MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
++ IN NO EVENT SHALL ARM LTD BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
++ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
++ TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
++ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
++ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
++ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
++ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
++
++#include <math.h>
++
++float
++fminf (float x, float y)
++{
++ float result;
++ asm ("fminnm\t%s0, %s1, %s2" : "=w" (result) : "w" (x), "w" (y));
++ return result;
++}
+diff -Naur newlib-1.20.0.orig/newlib/libm/machine/aarch64/sf_llrint.c newlib-1.20.0/newlib/libm/machine/aarch64/sf_llrint.c
+--- newlib-1.20.0.orig/newlib/libm/machine/aarch64/sf_llrint.c 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/newlib/libm/machine/aarch64/sf_llrint.c 2012-10-15 10:31:19.648621542 +0200
+@@ -0,0 +1,38 @@
++/* sf_llrint.c -- define llrintf
++ Copyright (c) 2011, 2012 ARM Ltd. All rights reserved.
++
++ Redistribution and use in source and binary forms, with or without
++ modification, are permitted provided that the following conditions
++ are met:
++ 1. Redistributions of source code must retain the above copyright
++ notice, this list of conditions and the following disclaimer.
++ 2. Redistributions in binary form must reproduce the above copyright
++ notice, this list of conditions and the following disclaimer in the
++ documentation and/or other materials provided with the distribution.
++ 3. The name of the company may not be used to endorse or promote
++ products derived from this software without specific prior written
++ permission.
++
++ THIS SOFTWARE IS PROVIDED BY ARM LTD ``AS IS'' AND ANY EXPRESS OR IMPLIED
++ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
++ MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
++ IN NO EVENT SHALL ARM LTD BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
++ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
++ TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
++ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
++ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
++ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
++ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
++
++#include <math.h>
++
++long long int
++llrintf (float x)
++{
++ long long int result;
++ float temp;
++ asm ("frintx\t%s1, %s2\n\t"
++ "fcvtzs\t%x0, %s1"
++ : "=r" (result), "=w" (temp) : "w" (x));
++ return result;
++}
+diff -Naur newlib-1.20.0.orig/newlib/libm/machine/aarch64/sf_llround.c newlib-1.20.0/newlib/libm/machine/aarch64/sf_llround.c
+--- newlib-1.20.0.orig/newlib/libm/machine/aarch64/sf_llround.c 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/newlib/libm/machine/aarch64/sf_llround.c 2012-10-15 10:31:19.648621542 +0200
+@@ -0,0 +1,35 @@
++/* sf_llround.c -- define llroundf
++ Copyright (c) 2011, 2012 ARM Ltd. All rights reserved.
++
++ Redistribution and use in source and binary forms, with or without
++ modification, are permitted provided that the following conditions
++ are met:
++ 1. Redistributions of source code must retain the above copyright
++ notice, this list of conditions and the following disclaimer.
++ 2. Redistributions in binary form must reproduce the above copyright
++ notice, this list of conditions and the following disclaimer in the
++ documentation and/or other materials provided with the distribution.
++ 3. The name of the company may not be used to endorse or promote
++ products derived from this software without specific prior written
++ permission.
++
++ THIS SOFTWARE IS PROVIDED BY ARM LTD ``AS IS'' AND ANY EXPRESS OR IMPLIED
++ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
++ MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
++ IN NO EVENT SHALL ARM LTD BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
++ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
++ TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
++ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
++ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
++ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
++ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
++
++#include <math.h>
++
++long long int
++llroundf (float x)
++{
++ long long int result;
++ asm ("fcvtas\t%x0, %s1" : "=r" (result) : "w" (x));
++ return result;
++}
+diff -Naur newlib-1.20.0.orig/newlib/libm/machine/aarch64/s_floor.c newlib-1.20.0/newlib/libm/machine/aarch64/s_floor.c
+--- newlib-1.20.0.orig/newlib/libm/machine/aarch64/s_floor.c 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/newlib/libm/machine/aarch64/s_floor.c 2012-10-15 10:31:19.644621480 +0200
+@@ -0,0 +1,35 @@
++/* s_floor.c -- define floor
++ Copyright (c) 2011, 2012 ARM Ltd. All rights reserved.
++
++ Redistribution and use in source and binary forms, with or without
++ modification, are permitted provided that the following conditions
++ are met:
++ 1. Redistributions of source code must retain the above copyright
++ notice, this list of conditions and the following disclaimer.
++ 2. Redistributions in binary form must reproduce the above copyright
++ notice, this list of conditions and the following disclaimer in the
++ documentation and/or other materials provided with the distribution.
++ 3. The name of the company may not be used to endorse or promote
++ products derived from this software without specific prior written
++ permission.
++
++ THIS SOFTWARE IS PROVIDED BY ARM LTD ``AS IS'' AND ANY EXPRESS OR IMPLIED
++ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
++ MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
++ IN NO EVENT SHALL ARM LTD BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
++ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
++ TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
++ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
++ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
++ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
++ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
++
++#include <math.h>
++
++double
++floor (double x)
++{
++ double result;
++ asm ("frintm\t%d0, %d1" : "=w" (result) : "w" (x));
++ return result;
++}
+diff -Naur newlib-1.20.0.orig/newlib/libm/machine/aarch64/sf_lrint.c newlib-1.20.0/newlib/libm/machine/aarch64/sf_lrint.c
+--- newlib-1.20.0.orig/newlib/libm/machine/aarch64/sf_lrint.c 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/newlib/libm/machine/aarch64/sf_lrint.c 2012-10-15 10:31:19.648621542 +0200
+@@ -0,0 +1,38 @@
++/* sf_lrint.c -- define lrintf
++ Copyright (c) 2011, 2012 ARM Ltd. All rights reserved.
++
++ Redistribution and use in source and binary forms, with or without
++ modification, are permitted provided that the following conditions
++ are met:
++ 1. Redistributions of source code must retain the above copyright
++ notice, this list of conditions and the following disclaimer.
++ 2. Redistributions in binary form must reproduce the above copyright
++ notice, this list of conditions and the following disclaimer in the
++ documentation and/or other materials provided with the distribution.
++ 3. The name of the company may not be used to endorse or promote
++ products derived from this software without specific prior written
++ permission.
++
++ THIS SOFTWARE IS PROVIDED BY ARM LTD ``AS IS'' AND ANY EXPRESS OR IMPLIED
++ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
++ MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
++ IN NO EVENT SHALL ARM LTD BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
++ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
++ TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
++ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
++ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
++ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
++ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
++
++#include <math.h>
++
++long int
++lrintf (float x)
++{
++ long int result;
++ float temp;
++ asm ("frintx\t%s1, %s2\n\t"
++ "fcvtzs\t%x0, %s1"
++ : "=r" (result), "=w" (temp) : "w" (x));
++ return result;
++}
+diff -Naur newlib-1.20.0.orig/newlib/libm/machine/aarch64/sf_lround.c newlib-1.20.0/newlib/libm/machine/aarch64/sf_lround.c
+--- newlib-1.20.0.orig/newlib/libm/machine/aarch64/sf_lround.c 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/newlib/libm/machine/aarch64/sf_lround.c 2012-10-15 10:31:19.648621542 +0200
+@@ -0,0 +1,35 @@
++/* sf_lround.c -- define lroundf
++ Copyright (c) 2011, 2012 ARM Ltd. All rights reserved.
++
++ Redistribution and use in source and binary forms, with or without
++ modification, are permitted provided that the following conditions
++ are met:
++ 1. Redistributions of source code must retain the above copyright
++ notice, this list of conditions and the following disclaimer.
++ 2. Redistributions in binary form must reproduce the above copyright
++ notice, this list of conditions and the following disclaimer in the
++ documentation and/or other materials provided with the distribution.
++ 3. The name of the company may not be used to endorse or promote
++ products derived from this software without specific prior written
++ permission.
++
++ THIS SOFTWARE IS PROVIDED BY ARM LTD ``AS IS'' AND ANY EXPRESS OR IMPLIED
++ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
++ MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
++ IN NO EVENT SHALL ARM LTD BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
++ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
++ TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
++ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
++ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
++ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
++ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
++
++#include <math.h>
++
++long int
++lroundf (float x)
++{
++ long int result;
++ asm ("fcvtas\t%x0, %s1" : "=r" (result) : "w" (x));
++ return result;
++}
+diff -Naur newlib-1.20.0.orig/newlib/libm/machine/aarch64/s_fma.c newlib-1.20.0/newlib/libm/machine/aarch64/s_fma.c
+--- newlib-1.20.0.orig/newlib/libm/machine/aarch64/s_fma.c 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/newlib/libm/machine/aarch64/s_fma.c 2012-10-15 10:31:19.644621480 +0200
+@@ -0,0 +1,35 @@
++/* s_fma.c -- define fma
++ Copyright (c) 2011, 2012 ARM Ltd. All rights reserved.
++
++ Redistribution and use in source and binary forms, with or without
++ modification, are permitted provided that the following conditions
++ are met:
++ 1. Redistributions of source code must retain the above copyright
++ notice, this list of conditions and the following disclaimer.
++ 2. Redistributions in binary form must reproduce the above copyright
++ notice, this list of conditions and the following disclaimer in the
++ documentation and/or other materials provided with the distribution.
++ 3. The name of the company may not be used to endorse or promote
++ products derived from this software without specific prior written
++ permission.
++
++ THIS SOFTWARE IS PROVIDED BY ARM LTD ``AS IS'' AND ANY EXPRESS OR IMPLIED
++ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
++ MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
++ IN NO EVENT SHALL ARM LTD BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
++ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
++ TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
++ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
++ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
++ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
++ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
++
++#include <math.h>
++
++double
++fma (double x, double y, double z)
++{
++ double result;
++ asm ("fmadd\t%d0, %d1, %d2, %d3" : "=w" (result) : "w" (x), "w" (y), "w" (z));
++ return result;
++}
+diff -Naur newlib-1.20.0.orig/newlib/libm/machine/aarch64/s_fmax.c newlib-1.20.0/newlib/libm/machine/aarch64/s_fmax.c
+--- newlib-1.20.0.orig/newlib/libm/machine/aarch64/s_fmax.c 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/newlib/libm/machine/aarch64/s_fmax.c 2012-10-15 10:31:19.644621480 +0200
+@@ -0,0 +1,35 @@
++/* s_fmax.c -- define fmax
++ Copyright (c) 2011, 2012 ARM Ltd. All rights reserved.
++
++ Redistribution and use in source and binary forms, with or without
++ modification, are permitted provided that the following conditions
++ are met:
++ 1. Redistributions of source code must retain the above copyright
++ notice, this list of conditions and the following disclaimer.
++ 2. Redistributions in binary form must reproduce the above copyright
++ notice, this list of conditions and the following disclaimer in the
++ documentation and/or other materials provided with the distribution.
++ 3. The name of the company may not be used to endorse or promote
++ products derived from this software without specific prior written
++ permission.
++
++ THIS SOFTWARE IS PROVIDED BY ARM LTD ``AS IS'' AND ANY EXPRESS OR IMPLIED
++ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
++ MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
++ IN NO EVENT SHALL ARM LTD BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
++ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
++ TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
++ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
++ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
++ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
++ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
++
++#include <math.h>
++
++double
++fmax (double x, double y)
++{
++ double result;
++ asm ("fmaxnm\t%d0, %d1, %d2" : "=w" (result) : "w" (x), "w" (y));
++ return result;
++}
+diff -Naur newlib-1.20.0.orig/newlib/libm/machine/aarch64/s_fmin.c newlib-1.20.0/newlib/libm/machine/aarch64/s_fmin.c
+--- newlib-1.20.0.orig/newlib/libm/machine/aarch64/s_fmin.c 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/newlib/libm/machine/aarch64/s_fmin.c 2012-10-15 10:31:19.644621480 +0200
+@@ -0,0 +1,35 @@
++/* s_fmin.c -- define fmin
++ Copyright (c) 2011, 2012 ARM Ltd. All rights reserved.
++
++ Redistribution and use in source and binary forms, with or without
++ modification, are permitted provided that the following conditions
++ are met:
++ 1. Redistributions of source code must retain the above copyright
++ notice, this list of conditions and the following disclaimer.
++ 2. Redistributions in binary form must reproduce the above copyright
++ notice, this list of conditions and the following disclaimer in the
++ documentation and/or other materials provided with the distribution.
++ 3. The name of the company may not be used to endorse or promote
++ products derived from this software without specific prior written
++ permission.
++
++ THIS SOFTWARE IS PROVIDED BY ARM LTD ``AS IS'' AND ANY EXPRESS OR IMPLIED
++ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
++ MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
++ IN NO EVENT SHALL ARM LTD BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
++ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
++ TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
++ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
++ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
++ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
++ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
++
++#include <math.h>
++
++double
++fmin (double x, double y)
++{
++ double result;
++ asm ("fminnm\t%d0, %d1, %d2" : "=w" (result) : "w" (x), "w" (y));
++ return result;
++}
+diff -Naur newlib-1.20.0.orig/newlib/libm/machine/aarch64/sf_nearbyint.c newlib-1.20.0/newlib/libm/machine/aarch64/sf_nearbyint.c
+--- newlib-1.20.0.orig/newlib/libm/machine/aarch64/sf_nearbyint.c 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/newlib/libm/machine/aarch64/sf_nearbyint.c 2012-10-15 10:31:19.649621559 +0200
+@@ -0,0 +1,35 @@
++/* sf_nearbyint.c -- define nearbyintf
++ Copyright (c) 2011, 2012 ARM Ltd. All rights reserved.
++
++ Redistribution and use in source and binary forms, with or without
++ modification, are permitted provided that the following conditions
++ are met:
++ 1. Redistributions of source code must retain the above copyright
++ notice, this list of conditions and the following disclaimer.
++ 2. Redistributions in binary form must reproduce the above copyright
++ notice, this list of conditions and the following disclaimer in the
++ documentation and/or other materials provided with the distribution.
++ 3. The name of the company may not be used to endorse or promote
++ products derived from this software without specific prior written
++ permission.
++
++ THIS SOFTWARE IS PROVIDED BY ARM LTD ``AS IS'' AND ANY EXPRESS OR IMPLIED
++ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
++ MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
++ IN NO EVENT SHALL ARM LTD BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
++ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
++ TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
++ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
++ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
++ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
++ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
++
++#include <math.h>
++
++float
++nearbyintf (float x)
++{
++ float result;
++ asm ("frinti\t%s0, %s1" : "=w" (result) : "w" (x));
++ return result;
++}
+diff -Naur newlib-1.20.0.orig/newlib/libm/machine/aarch64/sf_rint.c newlib-1.20.0/newlib/libm/machine/aarch64/sf_rint.c
+--- newlib-1.20.0.orig/newlib/libm/machine/aarch64/sf_rint.c 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/newlib/libm/machine/aarch64/sf_rint.c 2012-10-15 10:31:19.649621559 +0200
+@@ -0,0 +1,35 @@
++/* sf_rint.c -- define rintf
++ Copyright (c) 2011, 2012 ARM Ltd. All rights reserved.
++
++ Redistribution and use in source and binary forms, with or without
++ modification, are permitted provided that the following conditions
++ are met:
++ 1. Redistributions of source code must retain the above copyright
++ notice, this list of conditions and the following disclaimer.
++ 2. Redistributions in binary form must reproduce the above copyright
++ notice, this list of conditions and the following disclaimer in the
++ documentation and/or other materials provided with the distribution.
++ 3. The name of the company may not be used to endorse or promote
++ products derived from this software without specific prior written
++ permission.
++
++ THIS SOFTWARE IS PROVIDED BY ARM LTD ``AS IS'' AND ANY EXPRESS OR IMPLIED
++ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
++ MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
++ IN NO EVENT SHALL ARM LTD BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
++ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
++ TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
++ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
++ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
++ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
++ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
++
++#include <math.h>
++
++float
++rintf (float x)
++{
++ float result;
++ asm ("frintx\t%s0, %s1" : "=w" (result) : "w" (x));
++ return result;
++}
+diff -Naur newlib-1.20.0.orig/newlib/libm/machine/aarch64/sf_round.c newlib-1.20.0/newlib/libm/machine/aarch64/sf_round.c
+--- newlib-1.20.0.orig/newlib/libm/machine/aarch64/sf_round.c 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/newlib/libm/machine/aarch64/sf_round.c 2012-10-15 10:31:19.649621559 +0200
+@@ -0,0 +1,35 @@
++/* sf_round.c -- define roundf
++ Copyright (c) 2011, 2012 ARM Ltd. All rights reserved.
++
++ Redistribution and use in source and binary forms, with or without
++ modification, are permitted provided that the following conditions
++ are met:
++ 1. Redistributions of source code must retain the above copyright
++ notice, this list of conditions and the following disclaimer.
++ 2. Redistributions in binary form must reproduce the above copyright
++ notice, this list of conditions and the following disclaimer in the
++ documentation and/or other materials provided with the distribution.
++ 3. The name of the company may not be used to endorse or promote
++ products derived from this software without specific prior written
++ permission.
++
++ THIS SOFTWARE IS PROVIDED BY ARM LTD ``AS IS'' AND ANY EXPRESS OR IMPLIED
++ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
++ MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
++ IN NO EVENT SHALL ARM LTD BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
++ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
++ TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
++ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
++ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
++ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
++ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
++
++#include <math.h>
++
++float
++roundf (float x)
++{
++ float result;
++ asm ("frinta\t%s0, %s1" : "=w" (result) : "w" (x));
++ return result;
++}
+diff -Naur newlib-1.20.0.orig/newlib/libm/machine/aarch64/sf_trunc.c newlib-1.20.0/newlib/libm/machine/aarch64/sf_trunc.c
+--- newlib-1.20.0.orig/newlib/libm/machine/aarch64/sf_trunc.c 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/newlib/libm/machine/aarch64/sf_trunc.c 2012-10-15 10:31:19.649621559 +0200
+@@ -0,0 +1,35 @@
++/* sf_trunc.c -- define truncf
++ Copyright (c) 2011, 2012 ARM Ltd. All rights reserved.
++
++ Redistribution and use in source and binary forms, with or without
++ modification, are permitted provided that the following conditions
++ are met:
++ 1. Redistributions of source code must retain the above copyright
++ notice, this list of conditions and the following disclaimer.
++ 2. Redistributions in binary form must reproduce the above copyright
++ notice, this list of conditions and the following disclaimer in the
++ documentation and/or other materials provided with the distribution.
++ 3. The name of the company may not be used to endorse or promote
++ products derived from this software without specific prior written
++ permission.
++
++ THIS SOFTWARE IS PROVIDED BY ARM LTD ``AS IS'' AND ANY EXPRESS OR IMPLIED
++ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
++ MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
++ IN NO EVENT SHALL ARM LTD BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
++ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
++ TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
++ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
++ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
++ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
++ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
++
++#include <math.h>
++
++float
++truncf (float x)
++{
++ float result;
++ asm ("frintz\t%s0, %s1" : "=w" (result) : "w" (x));
++ return result;
++}
+diff -Naur newlib-1.20.0.orig/newlib/libm/machine/aarch64/s_llrint.c newlib-1.20.0/newlib/libm/machine/aarch64/s_llrint.c
+--- newlib-1.20.0.orig/newlib/libm/machine/aarch64/s_llrint.c 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/newlib/libm/machine/aarch64/s_llrint.c 2012-10-15 10:31:19.645621496 +0200
+@@ -0,0 +1,38 @@
++/* s_llrint.c -- define llrint
++ Copyright (c) 2011, 2012 ARM Ltd. All rights reserved.
++
++ Redistribution and use in source and binary forms, with or without
++ modification, are permitted provided that the following conditions
++ are met:
++ 1. Redistributions of source code must retain the above copyright
++ notice, this list of conditions and the following disclaimer.
++ 2. Redistributions in binary form must reproduce the above copyright
++ notice, this list of conditions and the following disclaimer in the
++ documentation and/or other materials provided with the distribution.
++ 3. The name of the company may not be used to endorse or promote
++ products derived from this software without specific prior written
++ permission.
++
++ THIS SOFTWARE IS PROVIDED BY ARM LTD ``AS IS'' AND ANY EXPRESS OR IMPLIED
++ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
++ MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
++ IN NO EVENT SHALL ARM LTD BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
++ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
++ TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
++ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
++ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
++ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
++ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
++
++#include <math.h>
++
++long long int
++llrint (double x)
++{
++ long long int result;
++ double temp;
++ asm ("frintx\t%d1, %d2\n\t"
++ "fcvtzs\t%x0, %d1"
++ : "=r" (result), "=w" (temp) : "w" (x));
++ return result;
++}
+diff -Naur newlib-1.20.0.orig/newlib/libm/machine/aarch64/s_llround.c newlib-1.20.0/newlib/libm/machine/aarch64/s_llround.c
+--- newlib-1.20.0.orig/newlib/libm/machine/aarch64/s_llround.c 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/newlib/libm/machine/aarch64/s_llround.c 2012-10-15 10:31:19.645621496 +0200
+@@ -0,0 +1,35 @@
++/* s_llround.c -- define llround
++ Copyright (c) 2011, 2012 ARM Ltd. All rights reserved.
++
++ Redistribution and use in source and binary forms, with or without
++ modification, are permitted provided that the following conditions
++ are met:
++ 1. Redistributions of source code must retain the above copyright
++ notice, this list of conditions and the following disclaimer.
++ 2. Redistributions in binary form must reproduce the above copyright
++ notice, this list of conditions and the following disclaimer in the
++ documentation and/or other materials provided with the distribution.
++ 3. The name of the company may not be used to endorse or promote
++ products derived from this software without specific prior written
++ permission.
++
++ THIS SOFTWARE IS PROVIDED BY ARM LTD ``AS IS'' AND ANY EXPRESS OR IMPLIED
++ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
++ MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
++ IN NO EVENT SHALL ARM LTD BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
++ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
++ TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
++ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
++ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
++ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
++ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
++
++#include <math.h>
++
++long long int
++llround (double x)
++{
++ long long int result;
++ asm ("fcvtas\t%x0, %d1" : "=r" (result) : "w" (x));
++ return result;
++}
+diff -Naur newlib-1.20.0.orig/newlib/libm/machine/aarch64/s_lrint.c newlib-1.20.0/newlib/libm/machine/aarch64/s_lrint.c
+--- newlib-1.20.0.orig/newlib/libm/machine/aarch64/s_lrint.c 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/newlib/libm/machine/aarch64/s_lrint.c 2012-10-15 10:31:19.645621496 +0200
+@@ -0,0 +1,38 @@
++/* s_lrint.c -- define lrint
++ Copyright (c) 2011, 2012 ARM Ltd. All rights reserved.
++
++ Redistribution and use in source and binary forms, with or without
++ modification, are permitted provided that the following conditions
++ are met:
++ 1. Redistributions of source code must retain the above copyright
++ notice, this list of conditions and the following disclaimer.
++ 2. Redistributions in binary form must reproduce the above copyright
++ notice, this list of conditions and the following disclaimer in the
++ documentation and/or other materials provided with the distribution.
++ 3. The name of the company may not be used to endorse or promote
++ products derived from this software without specific prior written
++ permission.
++
++ THIS SOFTWARE IS PROVIDED BY ARM LTD ``AS IS'' AND ANY EXPRESS OR IMPLIED
++ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
++ MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
++ IN NO EVENT SHALL ARM LTD BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
++ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
++ TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
++ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
++ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
++ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
++ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
++
++#include <math.h>
++
++long int
++lrint (double x)
++{
++ long int result;
++ double temp;
++ asm ("frintx\t%d1, %d2\n\t"
++ "fcvtzs\t%x0, %d1"
++ : "=r" (result), "=w" (temp) : "w" (x));
++ return result;
++}
+diff -Naur newlib-1.20.0.orig/newlib/libm/machine/aarch64/s_lround.c newlib-1.20.0/newlib/libm/machine/aarch64/s_lround.c
+--- newlib-1.20.0.orig/newlib/libm/machine/aarch64/s_lround.c 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/newlib/libm/machine/aarch64/s_lround.c 2012-10-15 10:31:19.645621496 +0200
+@@ -0,0 +1,35 @@
++/* s_lround.c -- define lround
++ Copyright (c) 2011, 2012 ARM Ltd. All rights reserved.
++
++ Redistribution and use in source and binary forms, with or without
++ modification, are permitted provided that the following conditions
++ are met:
++ 1. Redistributions of source code must retain the above copyright
++ notice, this list of conditions and the following disclaimer.
++ 2. Redistributions in binary form must reproduce the above copyright
++ notice, this list of conditions and the following disclaimer in the
++ documentation and/or other materials provided with the distribution.
++ 3. The name of the company may not be used to endorse or promote
++ products derived from this software without specific prior written
++ permission.
++
++ THIS SOFTWARE IS PROVIDED BY ARM LTD ``AS IS'' AND ANY EXPRESS OR IMPLIED
++ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
++ MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
++ IN NO EVENT SHALL ARM LTD BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
++ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
++ TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
++ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
++ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
++ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
++ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
++
++#include <math.h>
++
++long int
++lround (double x)
++{
++ long int result;
++ asm ("fcvtas\t%x0, %d1" : "=r" (result) : "w" (x));
++ return result;
++}
+diff -Naur newlib-1.20.0.orig/newlib/libm/machine/aarch64/s_nearbyint.c newlib-1.20.0/newlib/libm/machine/aarch64/s_nearbyint.c
+--- newlib-1.20.0.orig/newlib/libm/machine/aarch64/s_nearbyint.c 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/newlib/libm/machine/aarch64/s_nearbyint.c 2012-10-15 10:31:19.646621511 +0200
+@@ -0,0 +1,35 @@
++/* s_nearbyint.c -- define nearbyint
++ Copyright (c) 2011, 2012 ARM Ltd. All rights reserved.
++
++ Redistribution and use in source and binary forms, with or without
++ modification, are permitted provided that the following conditions
++ are met:
++ 1. Redistributions of source code must retain the above copyright
++ notice, this list of conditions and the following disclaimer.
++ 2. Redistributions in binary form must reproduce the above copyright
++ notice, this list of conditions and the following disclaimer in the
++ documentation and/or other materials provided with the distribution.
++ 3. The name of the company may not be used to endorse or promote
++ products derived from this software without specific prior written
++ permission.
++
++ THIS SOFTWARE IS PROVIDED BY ARM LTD ``AS IS'' AND ANY EXPRESS OR IMPLIED
++ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
++ MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
++ IN NO EVENT SHALL ARM LTD BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
++ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
++ TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
++ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
++ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
++ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
++ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
++
++#include <math.h>
++
++double
++nearbyint (double x)
++{
++ double result;
++ asm ("frinti\t%d0, %d1" : "=w" (result) : "w" (x));
++ return result;
++}
+diff -Naur newlib-1.20.0.orig/newlib/libm/machine/aarch64/s_rint.c newlib-1.20.0/newlib/libm/machine/aarch64/s_rint.c
+--- newlib-1.20.0.orig/newlib/libm/machine/aarch64/s_rint.c 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/newlib/libm/machine/aarch64/s_rint.c 2012-10-15 10:31:19.646621511 +0200
+@@ -0,0 +1,35 @@
++/* s_rint.c -- define rint
++ Copyright (c) 2011, 2012 ARM Ltd. All rights reserved.
++
++ Redistribution and use in source and binary forms, with or without
++ modification, are permitted provided that the following conditions
++ are met:
++ 1. Redistributions of source code must retain the above copyright
++ notice, this list of conditions and the following disclaimer.
++ 2. Redistributions in binary form must reproduce the above copyright
++ notice, this list of conditions and the following disclaimer in the
++ documentation and/or other materials provided with the distribution.
++ 3. The name of the company may not be used to endorse or promote
++ products derived from this software without specific prior written
++ permission.
++
++ THIS SOFTWARE IS PROVIDED BY ARM LTD ``AS IS'' AND ANY EXPRESS OR IMPLIED
++ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
++ MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
++ IN NO EVENT SHALL ARM LTD BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
++ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
++ TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
++ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
++ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
++ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
++ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
++
++#include <math.h>
++
++double
++rint (double x)
++{
++ double result;
++ asm ("frintx\t%d0, %d1" : "=w" (result) : "w" (x));
++ return result;
++}
+diff -Naur newlib-1.20.0.orig/newlib/libm/machine/aarch64/s_round.c newlib-1.20.0/newlib/libm/machine/aarch64/s_round.c
+--- newlib-1.20.0.orig/newlib/libm/machine/aarch64/s_round.c 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/newlib/libm/machine/aarch64/s_round.c 2012-10-15 10:31:19.646621511 +0200
+@@ -0,0 +1,35 @@
++/* s_round.c -- define round
++ Copyright (c) 2011, 2012 ARM Ltd. All rights reserved.
++
++ Redistribution and use in source and binary forms, with or without
++ modification, are permitted provided that the following conditions
++ are met:
++ 1. Redistributions of source code must retain the above copyright
++ notice, this list of conditions and the following disclaimer.
++ 2. Redistributions in binary form must reproduce the above copyright
++ notice, this list of conditions and the following disclaimer in the
++ documentation and/or other materials provided with the distribution.
++ 3. The name of the company may not be used to endorse or promote
++ products derived from this software without specific prior written
++ permission.
++
++ THIS SOFTWARE IS PROVIDED BY ARM LTD ``AS IS'' AND ANY EXPRESS OR IMPLIED
++ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
++ MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
++ IN NO EVENT SHALL ARM LTD BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
++ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
++ TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
++ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
++ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
++ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
++ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
++
++#include <math.h>
++
++double
++round (double x)
++{
++ double result;
++ asm ("frinta\t%d0, %d1" : "=w" (result) : "w" (x));
++ return result;
++}
+diff -Naur newlib-1.20.0.orig/newlib/libm/machine/aarch64/s_trunc.c newlib-1.20.0/newlib/libm/machine/aarch64/s_trunc.c
+--- newlib-1.20.0.orig/newlib/libm/machine/aarch64/s_trunc.c 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/newlib/libm/machine/aarch64/s_trunc.c 2012-10-15 10:31:19.646621511 +0200
+@@ -0,0 +1,35 @@
++/* s_trunc.c -- define trunc
++ Copyright (c) 2011, 2012 ARM Ltd. All rights reserved.
++
++ Redistribution and use in source and binary forms, with or without
++ modification, are permitted provided that the following conditions
++ are met:
++ 1. Redistributions of source code must retain the above copyright
++ notice, this list of conditions and the following disclaimer.
++ 2. Redistributions in binary form must reproduce the above copyright
++ notice, this list of conditions and the following disclaimer in the
++ documentation and/or other materials provided with the distribution.
++ 3. The name of the company may not be used to endorse or promote
++ products derived from this software without specific prior written
++ permission.
++
++ THIS SOFTWARE IS PROVIDED BY ARM LTD ``AS IS'' AND ANY EXPRESS OR IMPLIED
++ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
++ MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
++ IN NO EVENT SHALL ARM LTD BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
++ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
++ TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
++ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
++ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
++ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
++ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
++
++#include <math.h>
++
++double
++trunc (double x)
++{
++ double result;
++ asm ("frintz\t%d0, %d1" : "=w" (result) : "w" (x));
++ return result;
++}
+diff -Naur newlib-1.20.0.orig/newlib/libm/machine/configure newlib-1.20.0/newlib/libm/machine/configure
+--- newlib-1.20.0.orig/newlib/libm/machine/configure 2011-12-19 23:03:50.000000000 +0100
++++ newlib-1.20.0/newlib/libm/machine/configure 2012-10-15 10:31:19.652621610 +0200
+@@ -784,7 +784,8 @@
+ LIBS
+ CPPFLAGS
+ CPP'
+-ac_subdirs_all='i386
++ac_subdirs_all='aarch64
++i386
+ spu'
+
+ # Initialize some variables set by options.
+@@ -11413,7 +11414,7 @@
+ lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
+ lt_status=$lt_dlunknown
+ cat > conftest.$ac_ext <<_LT_EOF
+-#line 11416 "configure"
++#line 11417 "configure"
+ #include "confdefs.h"
+
+ #if HAVE_DLFCN_H
+@@ -11519,7 +11520,7 @@
+ lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
+ lt_status=$lt_dlunknown
+ cat > conftest.$ac_ext <<_LT_EOF
+-#line 11522 "configure"
++#line 11523 "configure"
+ #include "confdefs.h"
+
+ #if HAVE_DLFCN_H
+@@ -11762,9 +11763,11 @@
+
+ if test -n "${libm_machine_dir}"; then
+ case ${libm_machine_dir} in
+- i386)
++ aarch64)
+
+-subdirs="$subdirs i386"
++subdirs="$subdirs aarch64"
++ ;;
++ i386) subdirs="$subdirs i386"
+ ;;
+ spu) subdirs="$subdirs spu"
+ ;;
+diff -Naur newlib-1.20.0.orig/newlib/libm/machine/configure.in newlib-1.20.0/newlib/libm/machine/configure.in
+--- newlib-1.20.0.orig/newlib/libm/machine/configure.in 2010-02-24 22:00:06.000000000 +0100
++++ newlib-1.20.0/newlib/libm/machine/configure.in 2012-10-15 10:31:19.654621641 +0200
+@@ -25,6 +25,7 @@
+
+ if test -n "${libm_machine_dir}"; then
+ case ${libm_machine_dir} in
++ aarch64) AC_CONFIG_SUBDIRS(aarch64) ;;
+ i386) AC_CONFIG_SUBDIRS(i386) ;;
+ spu) AC_CONFIG_SUBDIRS(spu) ;;
+ esac;
+diff -Naur newlib-1.20.0.orig/newlib/libm/math/e_atan2.c newlib-1.20.0/newlib/libm/math/e_atan2.c
+--- newlib-1.20.0.orig/newlib/libm/math/e_atan2.c 2000-02-17 20:39:51.000000000 +0100
++++ newlib-1.20.0/newlib/libm/math/e_atan2.c 2012-10-15 10:31:19.654621641 +0200
+@@ -73,7 +73,7 @@
+ if(((ix|((lx|-lx)>>31))>0x7ff00000)||
+ ((iy|((ly|-ly)>>31))>0x7ff00000)) /* x or y is NaN */
+ return x+y;
+- if((hx-0x3ff00000|lx)==0) return atan(y); /* x=1.0 */
++ if(((hx-0x3ff00000)|lx)==0) return atan(y); /* x=1.0 */
+ m = ((hy>>31)&1)|((hx>>30)&2); /* 2*sign(x)+sign(y) */
+
+ /* when y = 0 */
+diff -Naur newlib-1.20.0.orig/newlib/libm/math/e_exp.c newlib-1.20.0/newlib/libm/math/e_exp.c
+--- newlib-1.20.0.orig/newlib/libm/math/e_exp.c 2000-02-17 20:39:51.000000000 +0100
++++ newlib-1.20.0/newlib/libm/math/e_exp.c 2012-10-15 10:31:19.654621641 +0200
+@@ -109,7 +109,7 @@
+ #endif
+ {
+ double y,hi,lo,c,t;
+- __int32_t k,xsb;
++ __int32_t k = 0,xsb;
+ __uint32_t hx;
+
+ GET_HIGH_WORD(hx,x);
+@@ -144,7 +144,6 @@
+ else if(hx < 0x3e300000) { /* when |x|<2**-28 */
+ if(huge+x>one) return one+x;/* trigger inexact */
+ }
+- else k = 0;
+
+ /* x is now in primary range */
+ t = x*x;
+diff -Naur newlib-1.20.0.orig/newlib/libm/math/ef_exp.c newlib-1.20.0/newlib/libm/math/ef_exp.c
+--- newlib-1.20.0.orig/newlib/libm/math/ef_exp.c 2001-04-04 15:30:59.000000000 +0200
++++ newlib-1.20.0/newlib/libm/math/ef_exp.c 2012-10-15 10:31:19.655621656 +0200
+@@ -47,7 +47,7 @@
+ #endif
+ {
+ float y,hi,lo,c,t;
+- __int32_t k,xsb,sx;
++ __int32_t k = 0,xsb,sx;
+ __uint32_t hx;
+
+ GET_FLOAT_WORD(sx,x);
+@@ -79,7 +79,6 @@
+ else if(hx < 0x31800000) { /* when |x|<2**-28 */
+ if(huge+x>one) return one+x;/* trigger inexact */
+ }
+- else k = 0;
+
+ /* x is now in primary range */
+ t = x*x;
+diff -Naur newlib-1.20.0.orig/newlib/libm/math/ef_pow.c newlib-1.20.0/newlib/libm/math/ef_pow.c
+--- newlib-1.20.0.orig/newlib/libm/math/ef_pow.c 2007-05-01 20:42:15.000000000 +0200
++++ newlib-1.20.0/newlib/libm/math/ef_pow.c 2012-10-15 10:31:19.656621672 +0200
+@@ -77,9 +77,10 @@
+
+ /* x|y==NaN return NaN unless x==1 then return 1 */
+ if(FLT_UWORD_IS_NAN(ix) ||
+- FLT_UWORD_IS_NAN(iy))
++ FLT_UWORD_IS_NAN(iy)) {
+ if(ix==0x3f800000) return one;
+ else return nanf("");
++ }
+
+ /* determine if y is an odd int when x < 0
+ * yisint = 0 ... y is not an integer
+diff -Naur newlib-1.20.0.orig/newlib/libm/math/e_pow.c newlib-1.20.0/newlib/libm/math/e_pow.c
+--- newlib-1.20.0.orig/newlib/libm/math/e_pow.c 2007-05-01 20:42:15.000000000 +0200
++++ newlib-1.20.0/newlib/libm/math/e_pow.c 2012-10-15 10:31:19.654621641 +0200
+@@ -120,9 +120,10 @@
+
+ /* x|y==NaN return NaN unless x==1 then return 1 */
+ if(ix > 0x7ff00000 || ((ix==0x7ff00000)&&(lx!=0)) ||
+- iy > 0x7ff00000 || ((iy==0x7ff00000)&&(ly!=0)))
++ iy > 0x7ff00000 || ((iy==0x7ff00000)&&(ly!=0))) {
+ if(((ix-0x3ff00000)|lx)==0) return one;
+ else return nan("");
++ }
+
+ /* determine if y is an odd int when x < 0
+ * yisint = 0 ... y is not an integer
+diff -Naur newlib-1.20.0.orig/newlib/libm/math/e_rem_pio2.c newlib-1.20.0/newlib/libm/math/e_rem_pio2.c
+--- newlib-1.20.0.orig/newlib/libm/math/e_rem_pio2.c 2000-02-17 20:39:51.000000000 +0100
++++ newlib-1.20.0/newlib/libm/math/e_rem_pio2.c 2012-10-15 10:31:19.655621656 +0200
+@@ -89,7 +89,7 @@
+ double x,y[];
+ #endif
+ {
+- double z,w,t,r,fn;
++ double z = 0.0,w,t,r,fn;
+ double tx[3];
+ __int32_t i,j,n,ix,hx;
+ int e0,nx;
+diff -Naur newlib-1.20.0.orig/newlib/libm/math/erf_lgamma.c newlib-1.20.0/newlib/libm/math/erf_lgamma.c
+--- newlib-1.20.0.orig/newlib/libm/math/erf_lgamma.c 2000-02-17 20:39:51.000000000 +0100
++++ newlib-1.20.0/newlib/libm/math/erf_lgamma.c 2012-10-15 10:31:19.656621672 +0200
+@@ -151,7 +151,7 @@
+ float x; int *signgamp;
+ #endif
+ {
+- float t,y,z,nadj,p,p1,p2,p3,q,r,w;
++ float t,y,z,nadj = 0.0,p,p1,p2,p3,q,r,w;
+ __int32_t i,hx,ix;
+
+ GET_FLOAT_WORD(hx,x);
+diff -Naur newlib-1.20.0.orig/newlib/libm/math/er_lgamma.c newlib-1.20.0/newlib/libm/math/er_lgamma.c
+--- newlib-1.20.0.orig/newlib/libm/math/er_lgamma.c 2000-02-17 20:39:51.000000000 +0100
++++ newlib-1.20.0/newlib/libm/math/er_lgamma.c 2012-10-15 10:31:19.656621672 +0200
+@@ -216,7 +216,7 @@
+ double x; int *signgamp;
+ #endif
+ {
+- double t,y,z,nadj,p,p1,p2,p3,q,r,w;
++ double t,y,z,nadj = 0.0,p,p1,p2,p3,q,r,w;
+ __int32_t i,hx,lx,ix;
+
+ EXTRACT_WORDS(hx,lx,x);
+diff -Naur newlib-1.20.0.orig/newlib/libm/math/e_scalb.c newlib-1.20.0/newlib/libm/math/e_scalb.c
+--- newlib-1.20.0.orig/newlib/libm/math/e_scalb.c 2000-02-17 20:39:51.000000000 +0100
++++ newlib-1.20.0/newlib/libm/math/e_scalb.c 2012-10-15 10:31:19.655621656 +0200
+@@ -17,6 +17,7 @@
+ * should use scalbn() instead.
+ */
+
++#include <limits.h>
+ #include "fdlibm.h"
+
+ #ifndef _DOUBLE_IS_32BITS
+@@ -46,8 +47,17 @@
+ else return x/(-fn);
+ }
+ if (rint(fn)!=fn) return (fn-fn)/(fn-fn);
++#if (INT_MAX < 65000)
++ if ( fn > (double) INT_MAX) return scalbn(x, INT_MAX);
++#else
+ if ( fn > 65000.0) return scalbn(x, 65000);
+- if (-fn > 65000.0) return scalbn(x,-65000);
++#endif
++
++#if (INT_MIN > -65000)
++ if (fn < (double) INT_MIN) return scalbn(x,INT_MIN);
++#else
++ if (fn < -65000.0) return scalbn(x,-65000);
++#endif
+ return scalbn(x,(int)fn);
+ #endif
+ }
+diff -Naur newlib-1.20.0.orig/newlib/Makefile.am newlib-1.20.0/newlib/Makefile.am
+--- newlib-1.20.0.orig/newlib/Makefile.am 2011-05-19 08:04:59.000000000 +0200
++++ newlib-1.20.0/newlib/Makefile.am 2012-10-15 10:31:19.564620186 +0200
+@@ -81,7 +81,7 @@
+ libc.a
+ endif
+
+-noinst_DATA = stmp-targ-include
++BUILT_SOURCES = stmp-targ-include
+
+ toollib_DATA = $(CRT0) $(CRT1)
+
+@@ -279,10 +279,6 @@
+ $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/machine/`basename $$i`; \
+ else true; fi ; \
+ done; \
+- $(mkinstalldirs) $(DESTDIR)$(tooldir)/include/rpc; \
+- for i in $(srcdir)/libc/include/rpc/*.h; do \
+- $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/rpc/`basename $$i`; \
+- done; \
+ $(mkinstalldirs) $(DESTDIR)$(tooldir)/include/sys; \
+ for i in $(srcdir)/libc/include/sys/*.h; do \
+ $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/sys/`basename $$i`; \
+@@ -330,11 +326,6 @@
+ $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/machine/`basename $$i`; \
+ else true; fi ; \
+ done ; \
+- for i in $(NO_INCLUDE_LIST); do \
+- if [ -f $(DESTDIR)$(tooldir)/include/$$i ]; then \
+- rm $(DESTDIR)$(tooldir)/include/$$i; \
+- else true; fi ; \
+- done ; \
+ else true; fi
+
+ # Force makedoc to be built before building info files.
+diff -Naur newlib-1.20.0.orig/newlib/Makefile.in newlib-1.20.0/newlib/Makefile.in
+--- newlib-1.20.0.orig/newlib/Makefile.in 2012-04-27 11:00:26.817002724 +0200
++++ newlib-1.20.0/newlib/Makefile.in 2012-10-15 10:31:19.565620203 +0200
+@@ -122,7 +122,7 @@
+ install-pdf-recursive install-ps-recursive install-recursive \
+ installcheck-recursive installdirs-recursive pdf-recursive \
+ ps-recursive uninstall-recursive
+-DATA = $(noinst_DATA) $(toollib_DATA)
++DATA = $(toollib_DATA)
+ RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
+ distclean-recursive maintainer-clean-recursive
+ AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
+@@ -198,7 +198,6 @@
+ NEWLIB_CFLAGS = @NEWLIB_CFLAGS@
+ NM = @NM@
+ NMEDIT = @NMEDIT@
+-NO_INCLUDE_LIST = @NO_INCLUDE_LIST@
+ OBJDUMP = @OBJDUMP@
+ OBJEXT = @OBJEXT@
+ OTOOL = @OTOOL@
+@@ -352,7 +351,7 @@
+ @USE_LIBTOOL_FALSE@toollib_LIBRARIES = libm.a \
+ @USE_LIBTOOL_FALSE@ libc.a
+
+-noinst_DATA = stmp-targ-include
++BUILT_SOURCES = stmp-targ-include
+ toollib_DATA = $(CRT0) $(CRT1)
+
+ # The functions ldexp, frexp and modf are traditionally supplied in
+@@ -412,7 +411,7 @@
+
+ # dejagnu support
+ RUNTESTFLAGS =
+-all: newlib.h
++all: $(BUILT_SOURCES) newlib.h
+ $(MAKE) $(AM_MAKEFLAGS) all-recursive
+
+ .SUFFIXES:
+@@ -726,14 +725,16 @@
+ done
+ check-am:
+ $(MAKE) $(AM_MAKEFLAGS) check-DEJAGNU
+-check: check-recursive
++check: $(BUILT_SOURCES)
++ $(MAKE) $(AM_MAKEFLAGS) check-recursive
+ all-am: Makefile $(LIBRARIES) $(LTLIBRARIES) $(DATA) newlib.h
+ installdirs: installdirs-recursive
+ installdirs-am:
+ for dir in "$(DESTDIR)$(toollibdir)" "$(DESTDIR)$(toollibdir)" "$(DESTDIR)$(toollibdir)"; do \
+ test -z "$$dir" || $(MKDIR_P) "$$dir"; \
+ done
+-install: install-recursive
++install: $(BUILT_SOURCES)
++ $(MAKE) $(AM_MAKEFLAGS) install-recursive
+ install-exec: install-exec-recursive
+ install-data: install-data-recursive
+ uninstall: uninstall-recursive
+@@ -759,6 +760,7 @@
+ maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
++ -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
+ clean: clean-recursive
+
+ clean-am: clean-generic clean-libtool clean-local \
+@@ -834,8 +836,9 @@
+ uninstall-am: uninstall-toollibDATA uninstall-toollibLIBRARIES \
+ uninstall-toollibLTLIBRARIES
+
+-.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all check-am \
+- ctags-recursive install-am install-strip tags-recursive
++.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all check \
++ check-am ctags-recursive install install-am install-strip \
++ tags-recursive
+
+ .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
+ all all-am am--refresh check check-DEJAGNU check-am clean \
+@@ -986,10 +989,6 @@
+ $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/machine/`basename $$i`; \
+ else true; fi ; \
+ done; \
+- $(mkinstalldirs) $(DESTDIR)$(tooldir)/include/rpc; \
+- for i in $(srcdir)/libc/include/rpc/*.h; do \
+- $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/rpc/`basename $$i`; \
+- done; \
+ $(mkinstalldirs) $(DESTDIR)$(tooldir)/include/sys; \
+ for i in $(srcdir)/libc/include/sys/*.h; do \
+ $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/sys/`basename $$i`; \
+@@ -1037,11 +1036,6 @@
+ $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/machine/`basename $$i`; \
+ else true; fi ; \
+ done ; \
+- for i in $(NO_INCLUDE_LIST); do \
+- if [ -f $(DESTDIR)$(tooldir)/include/$$i ]; then \
+- rm $(DESTDIR)$(tooldir)/include/$$i; \
+- else true; fi ; \
+- done ; \
+ else true; fi
+
+ # Force makedoc to be built before building info files.
+diff -Naur newlib-1.20.0.orig/newlib/README newlib-1.20.0/newlib/README
+--- newlib-1.20.0.orig/newlib/README 2011-12-19 23:03:17.000000000 +0100
++++ newlib-1.20.0/newlib/README 2012-10-15 10:31:19.565620203 +0200
+@@ -43,7 +43,7 @@
+ ==================
+
+ Newlib documentation is available on the net via:
+- http://sources.redhat.com/newlib/docs.html
++ http://sourceware.org/newlib/docs.html
+
+ All the documentation for NEWLIB comes as part of the machine-readable
+ distribution. The documentation is written in Texinfo format, which is
+@@ -379,11 +379,11 @@
+ ==============
+
+ The correct address for reporting bugs found in NEWLIB is
+-"newlib@sources.redhat.com". Please email all bug reports to that
++"newlib@sourceware.org". Please email all bug reports to that
+ address. Please include the NEWLIB version number (e.g., newlib-1.20.0),
+ and how you configured it (e.g., "sun4 host and m68k-aout target").
+ Since NEWLIB supports many different configurations, it is important
+ that you be precise about this.
+
+ Archives of the newlib mailing list are on-line, see
+- http://sources.redhat.com/ml/newlib/
++ http://sourceware.org/ml/newlib/
+diff -Naur newlib-1.20.0.orig/newlib/testsuite/newlib.string/strcmp-1.c newlib-1.20.0/newlib/testsuite/newlib.string/strcmp-1.c
+--- newlib-1.20.0.orig/newlib/testsuite/newlib.string/strcmp-1.c 1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.20.0/newlib/testsuite/newlib.string/strcmp-1.c 2012-10-15 10:31:19.657621689 +0200
+@@ -0,0 +1,249 @@
++/*
++ * Copyright (c) 2011 ARM Ltd
++ * All rights reserved.
++ *
++ * Redistribution and use in source and binary forms, with or without
++ * modification, are permitted provided that the following conditions
++ * are met:
++ * 1. Redistributions of source code must retain the above copyright
++ * notice, this list of conditions and the following disclaimer.
++ * 2. Redistributions in binary form must reproduce the above copyright
++ * notice, this list of conditions and the following disclaimer in the
++ * documentation and/or other materials provided with the distribution.
++ * 3. The name of the company may not be used to endorse or promote
++ * products derived from this software without specific prior written
++ * permission.
++ *
++ * THIS SOFTWARE IS PROVIDED BY ARM LTD ``AS IS'' AND ANY EXPRESS OR IMPLIED
++ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
++ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
++ * IN NO EVENT SHALL ARM LTD BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
++ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
++ * TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
++ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
++ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
++ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
++ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
++ */
++
++#include <string.h>
++#include <stdlib.h>
++#include <stdio.h>
++#include <stdarg.h>
++
++/* The macro LONG_TEST controls whether a short or a more comprehensive test
++ of strcmp should be performed. */
++#ifdef LONG_TEST
++#ifndef BUFF_SIZE
++#define BUFF_SIZE 1024
++#endif
++
++#ifndef MAX_BLOCK_SIZE
++#define MAX_BLOCK_SIZE 128
++#endif
++
++#ifndef MAX_OFFSET
++#define MAX_OFFSET 3
++#endif
++
++#ifndef MAX_DIFF
++#define MAX_DIFF 8
++#endif
++
++#ifndef MAX_LEN
++#define MAX_LEN 8
++#endif
++
++#ifndef MAX_ZEROS
++#define MAX_ZEROS 8
++#endif
++#else /* not defined LONG_TEST */
++#ifndef BUFF_SIZE
++#define BUFF_SIZE 1024
++#endif
++
++#ifndef MAX_BLOCK_SIZE
++#define MAX_BLOCK_SIZE 64
++#endif
++
++#ifndef MAX_OFFSET
++#define MAX_OFFSET 3
++#endif
++
++#ifndef MAX_DIFF
++#define MAX_DIFF 4
++#endif
++
++#ifndef MAX_LEN
++#define MAX_LEN 4
++#endif
++
++#ifndef MAX_ZEROS
++#define MAX_ZEROS 4
++#endif
++#endif /* not defined LONG_TEST */
++
++#if (MAX_OFFSET >= 26)
++#error "MAX_OFFSET >= 26"
++#endif
++#if (MAX_OFFSET + MAX_BLOCK_SIZE + MAX_DIFF + MAX_LEN + MAX_ZEROS >= BUFF_SIZE)
++#error "Buffer overrun: MAX_OFFSET + MAX_BLOCK_SIZE + MAX_DIFF + MAX_LEN + MAX_ZEROS >= BUFF_SIZE."
++#endif
++
++
++#define TOO_MANY_ERRORS 11
++int errors = 0;
++
++const char *testname = "strcmp";
++
++void
++print_error (char const* msg, ...)
++{
++ errors++;
++ if (errors == TOO_MANY_ERRORS)
++ {
++ fprintf (stderr, "Too many errors.\n");
++ }
++ else if (errors < TOO_MANY_ERRORS)
++ {
++ va_list ap;
++ va_start (ap, msg);
++ vfprintf (stderr, msg, ap);
++ va_end (ap);
++ }
++ else
++ {
++ /* Further errors omitted. */
++ }
++}
++
++void
++printbuf (char *buf, char *name)
++{
++ int i;
++ printf ("\n %s=", name);
++ for (i = 0; i < BUFF_SIZE; i++)
++ if (buf[i] != 0)
++ printf ("(%d,%c)", i, buf[i]);
++ else
++ printf ("(%d,%s)", i, "\\0");
++ printf ("\n");
++}
++
++int
++main (void)
++{
++ /* Allocate buffers to read and write from. */
++ char src[BUFF_SIZE], dest[BUFF_SIZE];
++
++ /* Fill the source buffer with non-null values, reproducable random data. */
++ srand (1539);
++ int i, j, zeros;
++ unsigned sa;
++ unsigned da;
++ unsigned n, m, len;
++ char *p;
++ int ret;
++
++ /* Make calls to strcmp with block sizes ranging between 1 and
++ MAX_BLOCK_SIZE bytes, aligned and misaligned source and destination. */
++ for (sa = 0; sa <= MAX_OFFSET; sa++)
++ for (da = 0; da <= MAX_OFFSET; da++)
++ for (n = 1; n <= MAX_BLOCK_SIZE; n++)
++ {
++ for (m = 1; m < n + MAX_DIFF; m++)
++ for (len = 0; len < MAX_LEN; len++)
++ for (zeros = 1; zeros < MAX_ZEROS; zeros++)
++ {
++ if (n - m > MAX_DIFF)
++ continue;
++ /* Make a copy of the source. */
++ for (i = 0; i < BUFF_SIZE; i++)
++ {
++ src[i] = 'A' + (i % 26);
++ dest[i] = src[i];
++ }
++ memcpy (dest + da, src + sa, n);
++
++ /* Make src 0-terminated. */
++ p = src + sa + n - 1;
++ for (i = 0; i < zeros; i++)
++ {
++ *p++ = '\0';
++ }
++
++ /* Modify dest. */
++ p = dest + da + m - 1;
++ for (j = 0; j < len; j++)
++ *p++ = 'x';
++ /* Make dest 0-terminated. */
++ *p = '\0';
++
++ ret = strcmp (src + sa, dest + da);
++
++ /* Check return value. */
++ if (n == m)
++ {
++ if (len == 0)
++ {
++ if (ret != 0)
++ {
++ print_error ("\nFailed: after %s of %u bytes "
++ "with src_align %u and dst_align %u, "
++ "dest after %d bytes is modified for %d bytes, "
++ "return value is %d, expected 0.\n",
++ testname, n, sa, da, m, len, ret);
++ }
++ }
++ else
++ {
++ if (ret >= 0)
++ print_error ("\nFailed: after %s of %u bytes "
++ "with src_align %u and dst_align %u, "
++ "dest after %d bytes is modified for %d bytes, "
++ "return value is %d, expected negative.\n",
++ testname, n, sa, da, m, len, ret);
++ }
++ }
++ else if (m > n)
++ {
++ if (ret >= 0)
++ {
++ print_error ("\nFailed: after %s of %u bytes "
++ "with src_align %u and dst_align %u, "
++ "dest after %d bytes is modified for %d bytes, "
++ "return value is %d, expected negative.\n",
++ testname, n, sa, da, m, len, ret);
++ }
++ }
++ else /* m < n */
++ {
++ if (len == 0)
++ {
++ if (ret <= 0)
++ print_error ("\nFailed: after %s of %u bytes "
++ "with src_align %u and dst_align %u, "
++ "dest after %d bytes is modified for %d bytes, "
++ "return value is %d, expected positive.\n",
++ testname, n, sa, da, m, len, ret);
++ }
++ else
++ {
++ if (ret >= 0)
++ print_error ("\nFailed: after %s of %u bytes "
++ "with src_align %u and dst_align %u, "
++ "dest after %d bytes is modified for %d bytes, "
++ "return value is %d, expected negative.\n",
++ testname, n, sa, da, m, len, ret);
++ }
++ }
++ }
++ }
++ printf ("\n");
++ if (errors != 0)
++ {
++ printf ("ERROR. FAILED.\n");
++ abort ();
++ }
++ exit (0);
++}