summaryrefslogtreecommitdiffstats
path: root/lto-plugin
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2018-10-31 17:03:16 +0000
committerJoseph Myers <jsm28@gcc.gnu.org>2018-10-31 17:03:16 +0000
commit22e052725189a472e4e86ebb6595278a49f4bcdd (patch)
tree7bd47b7e2436f93e7dd27cdec37d6631a998d6eb /lto-plugin
parenttree-ssa-loop-ivcanon.c (try_peel_loop): Fix typo and remove dead initializat... (diff)
downloadgcc-22e052725189a472e4e86ebb6595278a49f4bcdd.tar.gz
gcc-22e052725189a472e4e86ebb6595278a49f4bcdd.tar.bz2
gcc-22e052725189a472e4e86ebb6595278a49f4bcdd.tar.xz
Update GCC to autoconf 2.69, automake 1.15.1 (PR bootstrap/82856).
This patch updates GCC to use autoconf 2.69 and automake 1.15.1. (That's not the latest automake version, but it's the one used by binutils-gdb, with which consistency is desirable, and in any case seems a useful incremental update that should make a future update to 1.16.1 easier.) The changes are generally similar to the binutils-gdb ones, and are copied from there where shared files and directories are involved (there are some further changes to such shared directories, however, which I'd expect to apply to binutils-gdb once this patch is in GCC). Largely, obsolete AC_PREREQ calls are removed, while many AC_LANG_SOURCE calls are added to avoid warnings from aclocal and autoconf. Multilib support is no longer included in core automake, meaning that multilib.am needs copying from automake's contrib directory into the GCC source tree. Autoconf 2.69 has Go support, so local copies of that support are removed. I hope the D support will soon be submitted to upstream autoconf so the local copy of that can be removed in a future update. Changes to how automake generates runtest calls mean quotes are removed from RUNTEST definitions in five lib*/testsuite/Makefile.am files (libatomic, libgomp, libitm, libphobos, libvtv; some others have RUNTEST definitions without quotes, which are still OK); libgo and libphobos also get -Wno-override added to AM_INIT_AUTOMAKE so those overrides of RUNTEST do not generate automake warnings. Note that the regeneration did not include regeneration of fixincludes/config.h.in (attempting such regeneration resulted in all the USED_FOR_TARGET conditionals disappearing; and I don't see anything in the fixincludes/ directory that would result in such conditionals being generated, unlike in the gcc/ directory). Also note that libvtv/testsuite/other-tests/Makefile.in was not regenerated; that directory is not listed as a subdirectory for which Makefile.in gets regenerated by calling "automake" in libvtv/, so I'm not sure how it's meant to be regenerated. While I mostly fixed warnings should running aclocal / automake / autoconf, there were various such warnings from automake in the libgfortran, libgo, libgomp, liboffloadmic, libsanitizer, libphobos directories that I did not fix, preferring to leave those to the relevant subsystem maintainers. Specifically, most of those warnings were of the following form (example from libgfortran): Makefile.am:48: warning: source file 'caf/single.c' is in a subdirectory, Makefile.am:48: but option 'subdir-objects' is disabled automake: warning: possible forward-incompatibility. automake: At least a source file is in a subdirectory, but the 'subdir-objects' automake: automake option hasn't been enabled. For now, the corresponding output automake: object file(s) will be placed in the top-level directory. However, automake: this behaviour will change in future Automake versions: they will automake: unconditionally cause object files to be placed in the same subdirectory automake: of the corresponding sources. automake: You are advised to start using 'subdir-objects' option throughout your automake: project, to avoid future incompatibilities. I think it's best for the relevant maintainers to add subdir-objects and do any other associated Makefile.am changes needed. In some cases the paths in the warnings involved ../; I don't know if that adds any extra complications to the use of subdir-objects. I've tested this with native, cross and Canadian cross builds. The risk of any OS-specific issues should I hope be rather lower than if a libtool upgrade were included (we *should* do such an upgrade at some point, but it's more complicated - it involves identifying all our local libtool changes to see if any aren't included in the upstream version we update to, and reverting an upstream libtool patch that's inappropriate for use in GCC); I think it would be better to get this update into GCC so that people can test in different configurations and we can fix any issues found, rather than to try to get more and more testing done before it goes in. top level: 2018-10-31 Joseph Myers <joseph@codesourcery.com> PR bootstrap/82856 * multilib.am: New file. From automake. Merge from binutils-gdb: 2018-06-19 Simon Marchi <simon.marchi@ericsson.com> * libtool.m4: Use AC_LANG_SOURCE. * configure.ac: Remove AC_PREREQ, use AC_LANG_SOURCE. * ar-lib: New file. * test-driver: New file. * configure: Re-generate. config: 2018-10-31 Joseph Myers <joseph@codesourcery.com> PR bootstrap/82856 * math.m4, tls.m4: Use AC_LANG_SOURCE. Merge from binutils-gdb: 2018-06-19 Simon Marchi <simon.marchi@ericsson.com> * override.m4 (_GCC_AUTOCONF_VERSION): Bump from 2.64 to 2.69. fixincludes: 2018-10-31 Joseph Myers <joseph@codesourcery.com> PR bootstrap/82856 * configure.ac: Remove AC_PREREQ. * aclocal.m4, configure: Regenerate. gcc: 2018-10-31 Joseph Myers <joseph@codesourcery.com> PR bootstrap/82856 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE. Use single line for second argument of AC_DEFINE_UNQUOTED. * doc/install.texi (Tools/packages necessary for modifying GCC): Update to autoconf 2.69 and automake 1.15.1. * aclocal.m4, config.in, configure: Regenerate. gnattools: 2018-10-31 Joseph Myers <joseph@codesourcery.com> PR bootstrap/82856 * configure.ac: Remove AC_PREREQ. * configure: Regenerate. gotools: 2018-10-31 Joseph Myers <joseph@codesourcery.com> PR bootstrap/82856 * config/go.m4: Remove file. * Makefile.am (ACLOCAL_AMFLAGS): Do not use -I ./config. * configure.ac: Remove AC_PREREQ. Do not include config/go.m4. * Makefile.in, aclocal.m4, configure: Regenerate. intl: 2018-10-31 Joseph Myers <joseph@codesourcery.com> PR bootstrap/82856 Merge from binutils-gdb: 2018-06-19 Simon Marchi <simon.marchi@ericsson.com> * configure.ac: Add AC_USE_SYSTEM_EXTENSIONS, remove AC_PREREQ. * configure: Re-generate. * config.h.in: Re-generate. * aclocal.m4: Re-generate. libada: 2018-10-31 Joseph Myers <joseph@codesourcery.com> PR bootstrap/82856 * configure.ac: Remove AC_PREREQ. * configure: Regenerate. libatomic: 2018-10-31 Joseph Myers <joseph@codesourcery.com> PR bootstrap/82856 * Makefile.am: Include multilib.am. * acinclude.m4: Use AC_LANG_SOURCE. * configure.ac: Remove AC_PREREQ. * testsuite/Makefile.am (RUNTEST): Remove quotes. * Makefile.in, aclocal.m4, configure, testsuite/Makefile.in: Regenerate. libbacktrace: 2018-10-31 Joseph Myers <joseph@codesourcery.com> PR bootstrap/82856 * Makefile.am: Include multilib.am. * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE. * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate. libcc1: 2018-10-31 Joseph Myers <joseph@codesourcery.com> PR bootstrap/82856 * configure.ac: Remove AC_PREREQ. * Makefile.in, aclocal.m4, configure: Regenerate. libcpp: 2018-10-31 Joseph Myers <joseph@codesourcery.com> PR bootstrap/82856 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE. * aclocal.m4, config.in, configure: Regenerate. libdecnumber: 2018-10-31 Joseph Myers <joseph@codesourcery.com> PR bootstrap/82856 Merge from binutils-gdb: 2018-06-19 Simon Marchi <simon.marchi@ericsson.com> * configure.ac: Remove AC_PREREQ. * configure: Re-generate. * aclocal.m4. libffi: 2018-10-31 Joseph Myers <joseph@codesourcery.com> PR bootstrap/82856 * Makefile.am: Include multilib.am. (AUTOMAKE_OPTIONS): Add info-in-builddir. (CLEANFILES): Remove doc/libffi.info. * configure.ac: Remove AC_PREREQ. * Makefile.in, aclocal.m4, configure, fficonfig.h.in, include/Makefile.in, man/Makefile.in, testsuite/Makefile.in: Regenerate. libgcc: 2018-10-31 Joseph Myers <joseph@codesourcery.com> PR bootstrap/82856 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE. * configure: Regenerate. libgfortran: 2018-10-31 Joseph Myers <joseph@codesourcery.com> PR bootstrap/82856 * Makefile.am: Include multilib.am. * configure.ac: Remove AC_PREREQ. * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate. libgo [logically part of this change but omitted from the commit]: 2018-10-31 Joseph Myers <joseph@codesourcery.com> PR bootstrap/82856 * Makefile.am: Include multilib.am. * config/go.m4: Remove file. * config/libtool.m4: Use AC_LANG_SOURCE. * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE. Use -Wno-override in AM_INIT_AUTOMAKE call. * Makefile.in, aclocal.m4, configure, testsuite/Makefile.in: Regenerate. libgomp: 2018-10-31 Joseph Myers <joseph@codesourcery.com> PR bootstrap/82856 * Makefile.am: Include multilib.am (AUTOMAKE_OPTIONS): Add info-in-builddir. (CLEANFILES): Remove libgomp.info. * configure.ac: Remove AC_PREREQ. * testsuite/Makefile.am (RUNTEST): Remove quotes. * Makefile.in, aclocal.m4, configure, testsuite/Makefile.in: Regenerate. libhsail-rt: 2018-10-31 Joseph Myers <joseph@codesourcery.com> PR bootstrap/82856 * configure.ac: Remove AC_PREREQ. * Makefile.in, aclocal.m4, configure: Regenerate. libiberty: 2018-10-31 Joseph Myers <joseph@codesourcery.com> PR bootstrap/82856 Merge from binutils-gdb: 2018-06-19 Simon Marchi <simon.marchi@ericsson.com> * configure.ac: Remove AC_PREREQ. * configure: Re-generate. * config.in: Re-generate. libitm: 2018-10-31 Joseph Myers <joseph@codesourcery.com> PR bootstrap/82856 * Makefile.am: Include multilib.am. (AUTOMAKE_OPTIONS): Add info-in-builddir. (CLEANFILES): Remove libitm.info. * configure.ac: Remove AC_PREREQ. * testsuite/Makefile.am (RUNTEST): Remove quotes. * Makefile.in, aclocal.m4, configure, testsuite/Makefile.in: Regenerate. libobjc: 2018-10-31 Joseph Myers <joseph@codesourcery.com> PR bootstrap/82856 * configure.ac: Remove AC_PREREQ. * aclocal.m4, config.h.in, configure: Regenerate. liboffloadmic: 2018-10-31 Joseph Myers <joseph@codesourcery.com> PR bootstrap/82856 * Makefile.am: Include multilib.am. * configure.ac: Remove AC_PREREQ. * plugin/Makefile.am: Include multilib.am. * plugin/configure.ac: Remove AC_PREREQ. * Makefile.in, aclocal.m4, configure, plugin/Makefile.in, plugin/aclocal.m4, plugin/configure: Regenerate. libphobos: 2018-10-31 Joseph Myers <joseph@codesourcery.com> PR bootstrap/82856 * Makefile.am: Include multilib.am. * configure.ac: Remove AC_PREREQ. Use -Wno-override in AM_INIT_AUTOMAKE call. * m4/autoconf.m4: Add extra argument to AC_LANG_DEFINE call. * m4/druntime/os.m4: Use AC_LANG_SOURCE. * testsuite/Makefile.am (RUNTEST): Remove quotes. * Makefile.in, aclocal.m4, configure, libdruntime/Makefile.in, src/Makefile.in, testsuite/Makefile.in: Regenerate. libquadmath: 2018-10-31 Joseph Myers <joseph@codesourcery.com> PR bootstrap/82856 * Makefile.am: Include multilib.am. (AUTOMAKE_OPTIONS): Remove 1.8. Add info-in-builddir. (all-local): Define outside conditional code. (CLEANFILES): Remove libquadmath.info. * configure.ac: Remove AC_PREREQ. * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate. libsanitizer: 2018-10-31 Joseph Myers <joseph@codesourcery.com> PR bootstrap/82856 * Makefile.am: Include multilib.am. * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE. * Makefile.in, aclocal.m4, asan/Makefile.in, configure, interception/Makefile.in, libbacktrace/Makefile.in, lsan/Makefile.in, sanitizer_common/Makefile.in, tsan/Makefile.in, ubsan/Makefile.in: Regenerate. libssp: 2018-10-31 Joseph Myers <joseph@codesourcery.com> PR bootstrap/82856 * Makefile.am: Include multilib.am. (AUTOMAKE_OPTIONS): Remove 1.9.5. * configure.ac: Remove AC_PREREQ. Quote argument to AC_RUN_IFELSE. * Makefile.in, aclocal.m4, configure: Regenerate. libstdc++-v3: 2018-10-31 Joseph Myers <joseph@codesourcery.com> PR bootstrap/82856 * Makefile.am: Include multilib.am. * configure.ac: Remove AC_PREREQ. * Makefile.in, aclocal.m4, configure, doc/Makefile.in, include/Makefile.in, libsupc++/Makefile.in, po/Makefile.in, python/Makefile.in, src/Makefile.in, src/c++11/Makefile.in, src/c++17/Makefile.in, src/c++98/Makefile.in, src/filesystem/Makefile.in, testsuite/Makefile.in: Regenerate. libvtv: 2018-10-31 Joseph Myers <joseph@codesourcery.com> PR bootstrap/82856 * Makefile.am: Include multilib.am. * configure.ac: Remove AC_PREREQ. * testsuite/Makefile.am (RUNTEST): Remove quotes. * Makefile.in, aclocal.m4, configure, testsuite/Makefile.in: Regenerate. lto-plugin: 2018-10-31 Joseph Myers <joseph@codesourcery.com> PR bootstrap/82856 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE. * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate. zlib: 2018-10-31 Joseph Myers <joseph@codesourcery.com> PR bootstrap/82856 * Makefile.am: Include multilib.am. Merge from binutils-gdb: 2018-06-19 Simon Marchi <simon.marchi@ericsson.com> * configure.ac: Modernize AC_INIT call, remove AC_PREREQ. * Makefile.am (AUTOMAKE_OPTIONS): Remove 1.8, cygnus, add foreign. * Makefile.in: Re-generate. * aclocal.m4: Re-generate. * configure: Re-generate. From-SVN: r265695
Diffstat (limited to 'lto-plugin')
-rw-r--r--lto-plugin/ChangeLog6
-rw-r--r--lto-plugin/Makefile.in237
-rw-r--r--lto-plugin/aclocal.m4717
-rw-r--r--lto-plugin/config.h.in5
-rwxr-xr-xlto-plugin/configure1439
-rw-r--r--lto-plugin/configure.ac5
6 files changed, 1509 insertions, 900 deletions
diff --git a/lto-plugin/ChangeLog b/lto-plugin/ChangeLog
index 0b7ee5769ec..1f2676bb036 100644
--- a/lto-plugin/ChangeLog
+++ b/lto-plugin/ChangeLog
@@ -1,3 +1,9 @@
12018-10-31 Joseph Myers <joseph@codesourcery.com>
2
3 PR bootstrap/82856
4 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
5 * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
6
12018-05-30 Jan Hubicka <jh@suse.cz> 72018-05-30 Jan Hubicka <jh@suse.cz>
2 8
3 * lto-plugin.c: (non_claimed_files): New static var. 9 * lto-plugin.c: (non_claimed_files): New static var.
diff --git a/lto-plugin/Makefile.in b/lto-plugin/Makefile.in
index c69cc32bc53..8dd6e40ac9d 100644
--- a/lto-plugin/Makefile.in
+++ b/lto-plugin/Makefile.in
@@ -1,9 +1,8 @@
1# Makefile.in generated by automake 1.11.6 from Makefile.am. 1# Makefile.in generated by automake 1.15.1 from Makefile.am.
2# @configure_input@ 2# @configure_input@
3 3
4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 4# Copyright (C) 1994-2017 Free Software Foundation, Inc.
5# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software 5
6# Foundation, Inc.
7# This Makefile.in is free software; the Free Software Foundation 6# This Makefile.in is free software; the Free Software Foundation
8# gives unlimited permission to copy and/or distribute it, 7# gives unlimited permission to copy and/or distribute it,
9# with or without modifications, as long as this notice is preserved. 8# with or without modifications, as long as this notice is preserved.
@@ -16,23 +15,61 @@
16@SET_MAKE@ 15@SET_MAKE@
17 16
18VPATH = @srcdir@ 17VPATH = @srcdir@
19am__make_dryrun = \ 18am__is_gnu_make = { \
20 { \ 19 if test -z '$(MAKELEVEL)'; then \
21 am__dry=no; \ 20 false; \
21 elif test -n '$(MAKE_HOST)'; then \
22 true; \
23 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
24 true; \
25 else \
26 false; \
27 fi; \
28}
29am__make_running_with_option = \
30 case $${target_option-} in \
31 ?) ;; \
32 *) echo "am__make_running_with_option: internal error: invalid" \
33 "target option '$${target_option-}' specified" >&2; \
34 exit 1;; \
35 esac; \
36 has_opt=no; \
37 sane_makeflags=$$MAKEFLAGS; \
38 if $(am__is_gnu_make); then \
39 sane_makeflags=$$MFLAGS; \
40 else \
22 case $$MAKEFLAGS in \ 41 case $$MAKEFLAGS in \
23 *\\[\ \ ]*) \ 42 *\\[\ \ ]*) \
24 echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ 43 bs=\\; \
25 | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ 44 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
26 *) \ 45 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
27 for am__flg in $$MAKEFLAGS; do \
28 case $$am__flg in \
29 *=*|--*) ;; \
30 *n*) am__dry=yes; break;; \
31 esac; \
32 done;; \
33 esac; \ 46 esac; \
34 test $$am__dry = yes; \ 47 fi; \
35 } 48 skip_next=no; \
49 strip_trailopt () \
50 { \
51 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
52 }; \
53 for flg in $$sane_makeflags; do \
54 test $$skip_next = yes && { skip_next=no; continue; }; \
55 case $$flg in \
56 *=*|--*) continue;; \
57 -*I) strip_trailopt 'I'; skip_next=yes;; \
58 -*I?*) strip_trailopt 'I';; \
59 -*O) strip_trailopt 'O'; skip_next=yes;; \
60 -*O?*) strip_trailopt 'O';; \
61 -*l) strip_trailopt 'l'; skip_next=yes;; \
62 -*l?*) strip_trailopt 'l';; \
63 -[dEDm]) skip_next=yes;; \
64 -[JT]) skip_next=yes;; \
65 esac; \
66 case $$flg in \
67 *$$target_option*) has_opt=yes; break;; \
68 esac; \
69 done; \
70 test $$has_opt = yes
71am__make_dryrun = (target_option=n; $(am__make_running_with_option))
72am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
36pkgdatadir = $(datadir)/@PACKAGE@ 73pkgdatadir = $(datadir)/@PACKAGE@
37pkgincludedir = $(includedir)/@PACKAGE@ 74pkgincludedir = $(includedir)/@PACKAGE@
38pkglibdir = $(libdir)/@PACKAGE@ 75pkglibdir = $(libdir)/@PACKAGE@
@@ -53,9 +90,6 @@ build_triplet = @build@
53host_triplet = @host@ 90host_triplet = @host@
54target_triplet = @target@ 91target_triplet = @target@
55subdir = . 92subdir = .
56DIST_COMMON = ChangeLog $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
57 $(top_srcdir)/configure $(am__configure_deps) \
58 $(srcdir)/config.h.in $(srcdir)/../mkinstalldirs
59ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 93ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
60am__aclocal_m4_deps = $(top_srcdir)/../config/acx.m4 \ 94am__aclocal_m4_deps = $(top_srcdir)/../config/acx.m4 \
61 $(top_srcdir)/../config/depstand.m4 \ 95 $(top_srcdir)/../config/depstand.m4 \
@@ -68,6 +102,8 @@ am__aclocal_m4_deps = $(top_srcdir)/../config/acx.m4 \
68 $(top_srcdir)/../lt~obsolete.m4 $(top_srcdir)/configure.ac 102 $(top_srcdir)/../lt~obsolete.m4 $(top_srcdir)/configure.ac
69am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 103am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
70 $(ACLOCAL_M4) 104 $(ACLOCAL_M4)
105DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
106 $(am__configure_deps)
71am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ 107am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
72 configure.lineno config.status.lineno 108 configure.lineno config.status.lineno
73mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs 109mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
@@ -105,28 +141,74 @@ am__installdirs = "$(DESTDIR)$(libexecsubdir)"
105LTLIBRARIES = $(libexecsub_LTLIBRARIES) 141LTLIBRARIES = $(libexecsub_LTLIBRARIES)
106am_liblto_plugin_la_OBJECTS = lto-plugin.lo 142am_liblto_plugin_la_OBJECTS = lto-plugin.lo
107liblto_plugin_la_OBJECTS = $(am_liblto_plugin_la_OBJECTS) 143liblto_plugin_la_OBJECTS = $(am_liblto_plugin_la_OBJECTS)
144AM_V_P = $(am__v_P_@AM_V@)
145am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
146am__v_P_0 = false
147am__v_P_1 = :
148AM_V_GEN = $(am__v_GEN_@AM_V@)
149am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
150am__v_GEN_0 = @echo " GEN " $@;
151am__v_GEN_1 =
152AM_V_at = $(am__v_at_@AM_V@)
153am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
154am__v_at_0 = @
155am__v_at_1 =
108DEFAULT_INCLUDES = -I.@am__isrc@ 156DEFAULT_INCLUDES = -I.@am__isrc@
109depcomp = 157depcomp =
110am__depfiles_maybe = 158am__depfiles_maybe =
111COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ 159COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
112 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) 160 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
113LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ 161AM_V_lt = $(am__v_lt_@AM_V@)
114 --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ 162am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
115 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) 163am__v_lt_0 = --silent
164am__v_lt_1 =
165LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
166 $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
167 $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
168 $(AM_CFLAGS) $(CFLAGS)
169AM_V_CC = $(am__v_CC_@AM_V@)
170am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
171am__v_CC_0 = @echo " CC " $@;
172am__v_CC_1 =
116CCLD = $(CC) 173CCLD = $(CC)
117LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ 174LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
118 --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ 175 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
119 $(LDFLAGS) -o $@ 176 $(AM_LDFLAGS) $(LDFLAGS) -o $@
177AM_V_CCLD = $(am__v_CCLD_@AM_V@)
178am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
179am__v_CCLD_0 = @echo " CCLD " $@;
180am__v_CCLD_1 =
120SOURCES = $(liblto_plugin_la_SOURCES) 181SOURCES = $(liblto_plugin_la_SOURCES)
121am__can_run_installinfo = \ 182am__can_run_installinfo = \
122 case $$AM_UPDATE_INFO_DIR in \ 183 case $$AM_UPDATE_INFO_DIR in \
123 n|no|NO) false;; \ 184 n|no|NO) false;; \
124 *) (install-info --version) >/dev/null 2>&1;; \ 185 *) (install-info --version) >/dev/null 2>&1;; \
125 esac 186 esac
187am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
188 $(LISP)config.h.in
189# Read a list of newline-separated strings from the standard input,
190# and print each of them once, without duplicates. Input order is
191# *not* preserved.
192am__uniquify_input = $(AWK) '\
193 BEGIN { nonempty = 0; } \
194 { items[$$0] = 1; nonempty = 1; } \
195 END { if (nonempty) { for (i in items) print i; }; } \
196'
197# Make sure the list of sources is unique. This is necessary because,
198# e.g., the same source file might be shared among _SOURCES variables
199# for different programs/libraries.
200am__define_uniq_tagged_files = \
201 list='$(am__tagged_files)'; \
202 unique=`for i in $$list; do \
203 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
204 done | $(am__uniquify_input)`
126ETAGS = etags 205ETAGS = etags
127CTAGS = ctags 206CTAGS = ctags
207CSCOPE = cscope
208AM_RECURSIVE_TARGETS = cscope
128ACLOCAL = @ACLOCAL@ 209ACLOCAL = @ACLOCAL@
129AMTAR = @AMTAR@ 210AMTAR = @AMTAR@
211AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
130AR = @AR@ 212AR = @AR@
131AUTOCONF = @AUTOCONF@ 213AUTOCONF = @AUTOCONF@
132AUTOHEADER = @AUTOHEADER@ 214AUTOHEADER = @AUTOHEADER@
@@ -307,7 +389,6 @@ $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__confi
307 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \ 389 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
308 $(am__cd) $(top_srcdir) && \ 390 $(am__cd) $(top_srcdir) && \
309 $(AUTOMAKE) --foreign Makefile 391 $(AUTOMAKE) --foreign Makefile
310.PRECIOUS: Makefile
311Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 392Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
312 @case '$?' in \ 393 @case '$?' in \
313 *config.status*) \ 394 *config.status*) \
@@ -328,8 +409,8 @@ $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
328$(am__aclocal_m4_deps): 409$(am__aclocal_m4_deps):
329 410
330config.h: stamp-h1 411config.h: stamp-h1
331 @if test ! -f $@; then rm -f stamp-h1; else :; fi 412 @test -f $@ || rm -f stamp-h1
332 @if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) stamp-h1; else :; fi 413 @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1
333 414
334stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status 415stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
335 @rm -f stamp-h1 416 @rm -f stamp-h1
@@ -341,6 +422,7 @@ $(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
341 422
342distclean-hdr: 423distclean-hdr:
343 -rm -f config.h stamp-h1 424 -rm -f config.h stamp-h1
425
344install-libexecsubLTLIBRARIES: $(libexecsub_LTLIBRARIES) 426install-libexecsubLTLIBRARIES: $(libexecsub_LTLIBRARIES)
345 @$(NORMAL_INSTALL) 427 @$(NORMAL_INSTALL)
346 @list='$(libexecsub_LTLIBRARIES)'; test -n "$(libexecsubdir)" || list=; \ 428 @list='$(libexecsub_LTLIBRARIES)'; test -n "$(libexecsubdir)" || list=; \
@@ -367,14 +449,17 @@ uninstall-libexecsubLTLIBRARIES:
367 449
368clean-libexecsubLTLIBRARIES: 450clean-libexecsubLTLIBRARIES:
369 -test -z "$(libexecsub_LTLIBRARIES)" || rm -f $(libexecsub_LTLIBRARIES) 451 -test -z "$(libexecsub_LTLIBRARIES)" || rm -f $(libexecsub_LTLIBRARIES)
370 @list='$(libexecsub_LTLIBRARIES)'; for p in $$list; do \ 452 @list='$(libexecsub_LTLIBRARIES)'; \
371 dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ 453 locs=`for p in $$list; do echo $$p; done | \
372 test "$$dir" != "$$p" || dir=.; \ 454 sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \
373 echo "rm -f \"$${dir}/so_locations\""; \ 455 sort -u`; \
374 rm -f "$${dir}/so_locations"; \ 456 test -z "$$locs" || { \
375 done 457 echo rm -f $${locs}; \
458 rm -f $${locs}; \
459 }
460
376liblto_plugin.la: $(liblto_plugin_la_OBJECTS) $(liblto_plugin_la_DEPENDENCIES) $(EXTRA_liblto_plugin_la_DEPENDENCIES) 461liblto_plugin.la: $(liblto_plugin_la_OBJECTS) $(liblto_plugin_la_DEPENDENCIES) $(EXTRA_liblto_plugin_la_DEPENDENCIES)
377 $(liblto_plugin_la_LINK) -rpath $(libexecsubdir) $(liblto_plugin_la_OBJECTS) $(liblto_plugin_la_LIBADD) $(LIBS) 462 $(AM_V_GEN)$(liblto_plugin_la_LINK) -rpath $(libexecsubdir) $(liblto_plugin_la_OBJECTS) $(liblto_plugin_la_LIBADD) $(LIBS)
378 463
379mostlyclean-compile: 464mostlyclean-compile:
380 -rm -f *.$(OBJEXT) 465 -rm -f *.$(OBJEXT)
@@ -383,13 +468,13 @@ distclean-compile:
383 -rm -f *.tab.c 468 -rm -f *.tab.c
384 469
385.c.o: 470.c.o:
386 $(COMPILE) -c $< 471 $(AM_V_CC)$(COMPILE) -c -o $@ $<
387 472
388.c.obj: 473.c.obj:
389 $(COMPILE) -c `$(CYGPATH_W) '$<'` 474 $(AM_V_CC)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
390 475
391.c.lo: 476.c.lo:
392 $(LTCOMPILE) -c -o $@ $< 477 $(AM_V_CC)$(LTCOMPILE) -c -o $@ $<
393 478
394mostlyclean-libtool: 479mostlyclean-libtool:
395 -rm -f *.lo 480 -rm -f *.lo
@@ -400,26 +485,15 @@ clean-libtool:
400distclean-libtool: 485distclean-libtool:
401 -rm -f libtool config.lt 486 -rm -f libtool config.lt
402 487
403ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) 488ID: $(am__tagged_files)
404 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ 489 $(am__define_uniq_tagged_files); mkid -fID $$unique
405 unique=`for i in $$list; do \ 490tags: tags-am
406 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 491TAGS: tags
407 done | \ 492
408 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ 493tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
409 END { if (nonempty) { for (i in files) print i; }; }'`; \
410 mkid -fID $$unique
411tags: TAGS
412
413TAGS: $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
414 $(TAGS_FILES) $(LISP)
415 set x; \ 494 set x; \
416 here=`pwd`; \ 495 here=`pwd`; \
417 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ 496 $(am__define_uniq_tagged_files); \
418 unique=`for i in $$list; do \
419 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
420 done | \
421 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
422 END { if (nonempty) { for (i in files) print i; }; }'`; \
423 shift; \ 497 shift; \
424 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ 498 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
425 test -n "$$unique" || unique=$$empty_fix; \ 499 test -n "$$unique" || unique=$$empty_fix; \
@@ -431,15 +505,11 @@ TAGS: $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
431 $$unique; \ 505 $$unique; \
432 fi; \ 506 fi; \
433 fi 507 fi
434ctags: CTAGS 508ctags: ctags-am
435CTAGS: $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ 509
436 $(TAGS_FILES) $(LISP) 510CTAGS: ctags
437 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ 511ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
438 unique=`for i in $$list; do \ 512 $(am__define_uniq_tagged_files); \
439 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
440 done | \
441 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
442 END { if (nonempty) { for (i in files) print i; }; }'`; \
443 test -z "$(CTAGS_ARGS)$$unique" \ 513 test -z "$(CTAGS_ARGS)$$unique" \
444 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ 514 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
445 $$unique 515 $$unique
@@ -448,9 +518,31 @@ GTAGS:
448 here=`$(am__cd) $(top_builddir) && pwd` \ 518 here=`$(am__cd) $(top_builddir) && pwd` \
449 && $(am__cd) $(top_srcdir) \ 519 && $(am__cd) $(top_srcdir) \
450 && gtags -i $(GTAGS_ARGS) "$$here" 520 && gtags -i $(GTAGS_ARGS) "$$here"
521cscope: cscope.files
522 test ! -s cscope.files \
523 || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
524clean-cscope:
525 -rm -f cscope.files
526cscope.files: clean-cscope cscopelist
527cscopelist: cscopelist-am
528
529cscopelist-am: $(am__tagged_files)
530 list='$(am__tagged_files)'; \
531 case "$(srcdir)" in \
532 [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
533 *) sdir=$(subdir)/$(srcdir) ;; \
534 esac; \
535 for i in $$list; do \
536 if test -f "$$i"; then \
537 echo "$(subdir)/$$i"; \
538 else \
539 echo "$$sdir/$$i"; \
540 fi; \
541 done >> $(top_builddir)/cscope.files
451 542
452distclean-tags: 543distclean-tags:
453 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags 544 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
545 -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
454check-am: all-am 546check-am: all-am
455check: check-am 547check: check-am
456all-am: Makefile $(LTLIBRARIES) config.h all-local 548all-am: Makefile $(LTLIBRARIES) config.h all-local
@@ -562,9 +654,10 @@ uninstall-am: uninstall-libexecsubLTLIBRARIES
562 654
563.MAKE: all install-am install-strip 655.MAKE: all install-am install-strip
564 656
565.PHONY: CTAGS GTAGS all all-am all-local am--refresh check check-am \ 657.PHONY: CTAGS GTAGS TAGS all all-am all-local am--refresh check \
566 clean clean-generic clean-libexecsubLTLIBRARIES clean-libtool \ 658 check-am clean clean-cscope clean-generic \
567 ctags distclean distclean-compile distclean-generic \ 659 clean-libexecsubLTLIBRARIES clean-libtool cscope cscopelist-am \
660 ctags ctags-am distclean distclean-compile distclean-generic \
568 distclean-hdr distclean-libtool distclean-tags dvi dvi-am html \ 661 distclean-hdr distclean-libtool distclean-tags dvi dvi-am html \
569 html-am info info-am install install-am install-data \ 662 html-am info info-am install install-am install-data \
570 install-data-am install-dvi install-dvi-am install-exec \ 663 install-data-am install-dvi install-dvi-am install-exec \
@@ -574,9 +667,11 @@ uninstall-am: uninstall-libexecsubLTLIBRARIES
574 install-strip installcheck installcheck-am installdirs \ 667 install-strip installcheck installcheck-am installdirs \
575 maintainer-clean maintainer-clean-generic mostlyclean \ 668 maintainer-clean maintainer-clean-generic mostlyclean \
576 mostlyclean-compile mostlyclean-generic mostlyclean-libtool \ 669 mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
577 pdf pdf-am ps ps-am tags uninstall uninstall-am \ 670 pdf pdf-am ps ps-am tags tags-am uninstall uninstall-am \
578 uninstall-libexecsubLTLIBRARIES 671 uninstall-libexecsubLTLIBRARIES
579 672
673.PRECIOUS: Makefile
674
580override CFLAGS := $(filter-out -fsanitize=address,$(CFLAGS)) 675override CFLAGS := $(filter-out -fsanitize=address,$(CFLAGS))
581override LDFLAGS := $(filter-out -fsanitize=address,$(LDFLAGS)) 676override LDFLAGS := $(filter-out -fsanitize=address,$(LDFLAGS))
582 677
diff --git a/lto-plugin/aclocal.m4 b/lto-plugin/aclocal.m4
index 76a0b14c860..17e299a35a8 100644
--- a/lto-plugin/aclocal.m4
+++ b/lto-plugin/aclocal.m4
@@ -1,8 +1,7 @@
1# generated automatically by aclocal 1.11.6 -*- Autoconf -*- 1# generated automatically by aclocal 1.15.1 -*- Autoconf -*-
2
3# Copyright (C) 1996-2017 Free Software Foundation, Inc.
2 4
3# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4# 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation,
5# Inc.
6# This file is free software; the Free Software Foundation 5# This file is free software; the Free Software Foundation
7# gives unlimited permission to copy and/or distribute it, 6# gives unlimited permission to copy and/or distribute it,
8# with or without modifications, as long as this notice is preserved. 7# with or without modifications, as long as this notice is preserved.
@@ -12,33 +11,31 @@
12# even the implied warranty of MERCHANTABILITY or FITNESS FOR A 11# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13# PARTICULAR PURPOSE. 12# PARTICULAR PURPOSE.
14 13
14m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
15m4_ifndef([AC_AUTOCONF_VERSION], 15m4_ifndef([AC_AUTOCONF_VERSION],
16 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl 16 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
17m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.64],, 17m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
18[m4_warning([this file was generated for autoconf 2.64. 18[m4_warning([this file was generated for autoconf 2.69.
19You have another version of autoconf. It may work, but is not guaranteed to. 19You have another version of autoconf. It may work, but is not guaranteed to.
20If you have problems, you may need to regenerate the build system entirely. 20If you have problems, you may need to regenerate the build system entirely.
21To do so, use the procedure documented by the package, typically `autoreconf'.])]) 21To do so, use the procedure documented by the package, typically 'autoreconf'.])])
22 22
23# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008, 2011 Free Software 23# Copyright (C) 2002-2017 Free Software Foundation, Inc.
24# Foundation, Inc.
25# 24#
26# This file is free software; the Free Software Foundation 25# This file is free software; the Free Software Foundation
27# gives unlimited permission to copy and/or distribute it, 26# gives unlimited permission to copy and/or distribute it,
28# with or without modifications, as long as this notice is preserved. 27# with or without modifications, as long as this notice is preserved.
29 28
30# serial 1
31
32# AM_AUTOMAKE_VERSION(VERSION) 29# AM_AUTOMAKE_VERSION(VERSION)
33# ---------------------------- 30# ----------------------------
34# Automake X.Y traces this macro to ensure aclocal.m4 has been 31# Automake X.Y traces this macro to ensure aclocal.m4 has been
35# generated from the m4 files accompanying Automake X.Y. 32# generated from the m4 files accompanying Automake X.Y.
36# (This private macro should not be called outside this file.) 33# (This private macro should not be called outside this file.)
37AC_DEFUN([AM_AUTOMAKE_VERSION], 34AC_DEFUN([AM_AUTOMAKE_VERSION],
38[am__api_version='1.11' 35[am__api_version='1.15'
39dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to 36dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
40dnl require some minimum version. Point them to the right macro. 37dnl require some minimum version. Point them to the right macro.
41m4_if([$1], [1.11.6], [], 38m4_if([$1], [1.15.1], [],
42 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl 39 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
43]) 40])
44 41
@@ -54,24 +51,22 @@ m4_define([_AM_AUTOCONF_VERSION], [])
54# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. 51# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
55# This function is AC_REQUIREd by AM_INIT_AUTOMAKE. 52# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
56AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], 53AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
57[AM_AUTOMAKE_VERSION([1.11.6])dnl 54[AM_AUTOMAKE_VERSION([1.15.1])dnl
58m4_ifndef([AC_AUTOCONF_VERSION], 55m4_ifndef([AC_AUTOCONF_VERSION],
59 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl 56 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
60_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) 57_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
61 58
62# AM_AUX_DIR_EXPAND -*- Autoconf -*- 59# AM_AUX_DIR_EXPAND -*- Autoconf -*-
63 60
64# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc. 61# Copyright (C) 2001-2017 Free Software Foundation, Inc.
65# 62#
66# This file is free software; the Free Software Foundation 63# This file is free software; the Free Software Foundation
67# gives unlimited permission to copy and/or distribute it, 64# gives unlimited permission to copy and/or distribute it,
68# with or without modifications, as long as this notice is preserved. 65# with or without modifications, as long as this notice is preserved.
69 66
70# serial 1
71
72# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets 67# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
73# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to 68# $ac_aux_dir to '$srcdir/foo'. In other projects, it is set to
74# `$srcdir', `$srcdir/..', or `$srcdir/../..'. 69# '$srcdir', '$srcdir/..', or '$srcdir/../..'.
75# 70#
76# Of course, Automake must honor this variable whenever it calls a 71# Of course, Automake must honor this variable whenever it calls a
77# tool from the auxiliary directory. The problem is that $srcdir (and 72# tool from the auxiliary directory. The problem is that $srcdir (and
@@ -90,7 +85,7 @@ _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
90# 85#
91# The reason of the latter failure is that $top_srcdir and $ac_aux_dir 86# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
92# are both prefixed by $srcdir. In an in-source build this is usually 87# are both prefixed by $srcdir. In an in-source build this is usually
93# harmless because $srcdir is `.', but things will broke when you 88# harmless because $srcdir is '.', but things will broke when you
94# start a VPATH build or use an absolute $srcdir. 89# start a VPATH build or use an absolute $srcdir.
95# 90#
96# So we could use something similar to $top_srcdir/$ac_aux_dir/missing, 91# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
@@ -108,30 +103,26 @@ _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
108# configured tree to be moved without reconfiguration. 103# configured tree to be moved without reconfiguration.
109 104
110AC_DEFUN([AM_AUX_DIR_EXPAND], 105AC_DEFUN([AM_AUX_DIR_EXPAND],
111[dnl Rely on autoconf to set up CDPATH properly. 106[AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
112AC_PREREQ([2.50])dnl 107# Expand $ac_aux_dir to an absolute path.
113# expand $ac_aux_dir to an absolute path 108am_aux_dir=`cd "$ac_aux_dir" && pwd`
114am_aux_dir=`cd $ac_aux_dir && pwd`
115]) 109])
116 110
117# AM_CONDITIONAL -*- Autoconf -*- 111# AM_CONDITIONAL -*- Autoconf -*-
118 112
119# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008 113# Copyright (C) 1997-2017 Free Software Foundation, Inc.
120# Free Software Foundation, Inc.
121# 114#
122# This file is free software; the Free Software Foundation 115# This file is free software; the Free Software Foundation
123# gives unlimited permission to copy and/or distribute it, 116# gives unlimited permission to copy and/or distribute it,
124# with or without modifications, as long as this notice is preserved. 117# with or without modifications, as long as this notice is preserved.
125 118
126# serial 9
127
128# AM_CONDITIONAL(NAME, SHELL-CONDITION) 119# AM_CONDITIONAL(NAME, SHELL-CONDITION)
129# ------------------------------------- 120# -------------------------------------
130# Define a conditional. 121# Define a conditional.
131AC_DEFUN([AM_CONDITIONAL], 122AC_DEFUN([AM_CONDITIONAL],
132[AC_PREREQ(2.52)dnl 123[AC_PREREQ([2.52])dnl
133 ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], 124 m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
134 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl 125 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
135AC_SUBST([$1_TRUE])dnl 126AC_SUBST([$1_TRUE])dnl
136AC_SUBST([$1_FALSE])dnl 127AC_SUBST([$1_FALSE])dnl
137_AM_SUBST_NOTMAKE([$1_TRUE])dnl 128_AM_SUBST_NOTMAKE([$1_TRUE])dnl
@@ -150,16 +141,14 @@ AC_CONFIG_COMMANDS_PRE(
150Usually this means the macro was only invoked conditionally.]]) 141Usually this means the macro was only invoked conditionally.]])
151fi])]) 142fi])])
152 143
153# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009, 144# Copyright (C) 1999-2017 Free Software Foundation, Inc.
154# 2010, 2011 Free Software Foundation, Inc.
155# 145#
156# This file is free software; the Free Software Foundation 146# This file is free software; the Free Software Foundation
157# gives unlimited permission to copy and/or distribute it, 147# gives unlimited permission to copy and/or distribute it,
158# with or without modifications, as long as this notice is preserved. 148# with or without modifications, as long as this notice is preserved.
159 149
160# serial 12
161 150
162# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be 151# There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be
163# written in clear, in which case automake, when reading aclocal.m4, 152# written in clear, in which case automake, when reading aclocal.m4,
164# will think it sees a *use*, and therefore will trigger all it's 153# will think it sees a *use*, and therefore will trigger all it's
165# C support machinery. Also note that it means that autoscan, seeing 154# C support machinery. Also note that it means that autoscan, seeing
@@ -169,7 +158,7 @@ fi])])
169# _AM_DEPENDENCIES(NAME) 158# _AM_DEPENDENCIES(NAME)
170# ---------------------- 159# ----------------------
171# See how the compiler implements dependency checking. 160# See how the compiler implements dependency checking.
172# NAME is "CC", "CXX", "GCJ", or "OBJC". 161# NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC".
173# We try a few techniques and use that to set a single cache variable. 162# We try a few techniques and use that to set a single cache variable.
174# 163#
175# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was 164# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
@@ -182,12 +171,13 @@ AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
182AC_REQUIRE([AM_MAKE_INCLUDE])dnl 171AC_REQUIRE([AM_MAKE_INCLUDE])dnl
183AC_REQUIRE([AM_DEP_TRACK])dnl 172AC_REQUIRE([AM_DEP_TRACK])dnl
184 173
185ifelse([$1], CC, [depcc="$CC" am_compiler_list=], 174m4_if([$1], [CC], [depcc="$CC" am_compiler_list=],
186 [$1], CXX, [depcc="$CXX" am_compiler_list=], 175 [$1], [CXX], [depcc="$CXX" am_compiler_list=],
187 [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'], 176 [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
188 [$1], UPC, [depcc="$UPC" am_compiler_list=], 177 [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'],
189 [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'], 178 [$1], [UPC], [depcc="$UPC" am_compiler_list=],
190 [depcc="$$1" am_compiler_list=]) 179 [$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
180 [depcc="$$1" am_compiler_list=])
191 181
192AC_CACHE_CHECK([dependency style of $depcc], 182AC_CACHE_CHECK([dependency style of $depcc],
193 [am_cv_$1_dependencies_compiler_type], 183 [am_cv_$1_dependencies_compiler_type],
@@ -195,8 +185,8 @@ AC_CACHE_CHECK([dependency style of $depcc],
195 # We make a subdir and do the tests there. Otherwise we can end up 185 # We make a subdir and do the tests there. Otherwise we can end up
196 # making bogus files that we don't know about and never remove. For 186 # making bogus files that we don't know about and never remove. For
197 # instance it was reported that on HP-UX the gcc test will end up 187 # instance it was reported that on HP-UX the gcc test will end up
198 # making a dummy file named `D' -- because `-MD' means `put the output 188 # making a dummy file named 'D' -- because '-MD' means "put the output
199 # in D'. 189 # in D".
200 rm -rf conftest.dir 190 rm -rf conftest.dir
201 mkdir conftest.dir 191 mkdir conftest.dir
202 # Copy depcomp to subdir because otherwise we won't find it if we're 192 # Copy depcomp to subdir because otherwise we won't find it if we're
@@ -236,16 +226,16 @@ AC_CACHE_CHECK([dependency style of $depcc],
236 : > sub/conftest.c 226 : > sub/conftest.c
237 for i in 1 2 3 4 5 6; do 227 for i in 1 2 3 4 5 6; do
238 echo '#include "conftst'$i'.h"' >> sub/conftest.c 228 echo '#include "conftst'$i'.h"' >> sub/conftest.c
239 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 229 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
240 # Solaris 8's {/usr,}/bin/sh. 230 # Solaris 10 /bin/sh.
241 touch sub/conftst$i.h 231 echo '/* dummy */' > sub/conftst$i.h
242 done 232 done
243 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 233 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
244 234
245 # We check with `-c' and `-o' for the sake of the "dashmstdout" 235 # We check with '-c' and '-o' for the sake of the "dashmstdout"
246 # mode. It turns out that the SunPro C++ compiler does not properly 236 # mode. It turns out that the SunPro C++ compiler does not properly
247 # handle `-M -o', and we need to detect this. Also, some Intel 237 # handle '-M -o', and we need to detect this. Also, some Intel
248 # versions had trouble with output in subdirs 238 # versions had trouble with output in subdirs.
249 am__obj=sub/conftest.${OBJEXT-o} 239 am__obj=sub/conftest.${OBJEXT-o}
250 am__minus_obj="-o $am__obj" 240 am__minus_obj="-o $am__obj"
251 case $depmode in 241 case $depmode in
@@ -254,8 +244,8 @@ AC_CACHE_CHECK([dependency style of $depcc],
254 test "$am__universal" = false || continue 244 test "$am__universal" = false || continue
255 ;; 245 ;;
256 nosideeffect) 246 nosideeffect)
257 # after this tag, mechanisms are not by side-effect, so they'll 247 # After this tag, mechanisms are not by side-effect, so they'll
258 # only be used when explicitly requested 248 # only be used when explicitly requested.
259 if test "x$enable_dependency_tracking" = xyes; then 249 if test "x$enable_dependency_tracking" = xyes; then
260 continue 250 continue
261 else 251 else
@@ -263,7 +253,7 @@ AC_CACHE_CHECK([dependency style of $depcc],
263 fi 253 fi
264 ;; 254 ;;
265 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 255 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
266 # This compiler won't grok `-c -o', but also, the minuso test has 256 # This compiler won't grok '-c -o', but also, the minuso test has
267 # not run yet. These depmodes are late enough in the game, and 257 # not run yet. These depmodes are late enough in the game, and
268 # so weak that their functioning should not be impacted. 258 # so weak that their functioning should not be impacted.
269 am__obj=conftest.${OBJEXT-o} 259 am__obj=conftest.${OBJEXT-o}
@@ -311,7 +301,7 @@ AM_CONDITIONAL([am__fastdep$1], [
311# AM_SET_DEPDIR 301# AM_SET_DEPDIR
312# ------------- 302# -------------
313# Choose a directory name for dependency files. 303# Choose a directory name for dependency files.
314# This macro is AC_REQUIREd in _AM_DEPENDENCIES 304# This macro is AC_REQUIREd in _AM_DEPENDENCIES.
315AC_DEFUN([AM_SET_DEPDIR], 305AC_DEFUN([AM_SET_DEPDIR],
316[AC_REQUIRE([AM_SET_LEADING_DOT])dnl 306[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
317AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl 307AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
@@ -321,9 +311,13 @@ AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
321# AM_DEP_TRACK 311# AM_DEP_TRACK
322# ------------ 312# ------------
323AC_DEFUN([AM_DEP_TRACK], 313AC_DEFUN([AM_DEP_TRACK],
324[AC_ARG_ENABLE(dependency-tracking, 314[AC_ARG_ENABLE([dependency-tracking], [dnl
325[ --disable-dependency-tracking speeds up one-time build 315AS_HELP_STRING(
326 --enable-dependency-tracking do not reject slow dependency extractors]) 316 [--enable-dependency-tracking],
317 [do not reject slow dependency extractors])
318AS_HELP_STRING(
319 [--disable-dependency-tracking],
320 [speeds up one-time build])])
327if test "x$enable_dependency_tracking" != xno; then 321if test "x$enable_dependency_tracking" != xno; then
328 am_depcomp="$ac_aux_dir/depcomp" 322 am_depcomp="$ac_aux_dir/depcomp"
329 AMDEPBACKSLASH='\' 323 AMDEPBACKSLASH='\'
@@ -338,20 +332,18 @@ _AM_SUBST_NOTMAKE([am__nodep])dnl
338 332
339# Generate code to set up dependency tracking. -*- Autoconf -*- 333# Generate code to set up dependency tracking. -*- Autoconf -*-
340 334
341# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008 335# Copyright (C) 1999-2017 Free Software Foundation, Inc.
342# Free Software Foundation, Inc.
343# 336#
344# This file is free software; the Free Software Foundation 337# This file is free software; the Free Software Foundation
345# gives unlimited permission to copy and/or distribute it, 338# gives unlimited permission to copy and/or distribute it,
346# with or without modifications, as long as this notice is preserved. 339# with or without modifications, as long as this notice is preserved.
347 340
348#serial 5
349 341
350# _AM_OUTPUT_DEPENDENCY_COMMANDS 342# _AM_OUTPUT_DEPENDENCY_COMMANDS
351# ------------------------------ 343# ------------------------------
352AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], 344AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
353[{ 345[{
354 # Autoconf 2.62 quotes --file arguments for eval, but not when files 346 # Older Autoconf quotes --file arguments for eval, but not when files
355 # are listed without --file. Let's play safe and only enable the eval 347 # are listed without --file. Let's play safe and only enable the eval
356 # if we detect the quoting. 348 # if we detect the quoting.
357 case $CONFIG_FILES in 349 case $CONFIG_FILES in
@@ -364,7 +356,7 @@ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
364 # Strip MF so we end up with the name of the file. 356 # Strip MF so we end up with the name of the file.
365 mf=`echo "$mf" | sed -e 's/:.*$//'` 357 mf=`echo "$mf" | sed -e 's/:.*$//'`
366 # Check whether this is an Automake generated Makefile or not. 358 # Check whether this is an Automake generated Makefile or not.
367 # We used to match only the files named `Makefile.in', but 359 # We used to match only the files named 'Makefile.in', but
368 # some people rename them; so instead we look at the file content. 360 # some people rename them; so instead we look at the file content.
369 # Grep'ing the first line is not enough: some people post-process 361 # Grep'ing the first line is not enough: some people post-process
370 # each Makefile.in and add a new line on top of each file to say so. 362 # each Makefile.in and add a new line on top of each file to say so.
@@ -376,21 +368,19 @@ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
376 continue 368 continue
377 fi 369 fi
378 # Extract the definition of DEPDIR, am__include, and am__quote 370 # Extract the definition of DEPDIR, am__include, and am__quote
379 # from the Makefile without running `make'. 371 # from the Makefile without running 'make'.
380 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 372 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
381 test -z "$DEPDIR" && continue 373 test -z "$DEPDIR" && continue
382 am__include=`sed -n 's/^am__include = //p' < "$mf"` 374 am__include=`sed -n 's/^am__include = //p' < "$mf"`
383 test -z "am__include" && continue 375 test -z "$am__include" && continue
384 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 376 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
385 # When using ansi2knr, U may be empty or an underscore; expand it
386 U=`sed -n 's/^U = //p' < "$mf"`
387 # Find all dependency output files, they are included files with 377 # Find all dependency output files, they are included files with
388 # $(DEPDIR) in their names. We invoke sed twice because it is the 378 # $(DEPDIR) in their names. We invoke sed twice because it is the
389 # simplest approach to changing $(DEPDIR) to its actual value in the 379 # simplest approach to changing $(DEPDIR) to its actual value in the
390 # expansion. 380 # expansion.
391 for file in `sed -n " 381 for file in `sed -n "
392 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 382 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
393 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 383 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
394 # Make sure the directory exists. 384 # Make sure the directory exists.
395 test -f "$dirpart/$file" && continue 385 test -f "$dirpart/$file" && continue
396 fdir=`AS_DIRNAME(["$file"])` 386 fdir=`AS_DIRNAME(["$file"])`
@@ -408,7 +398,7 @@ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
408# This macro should only be invoked once -- use via AC_REQUIRE. 398# This macro should only be invoked once -- use via AC_REQUIRE.
409# 399#
410# This code is only required when automatic dependency tracking 400# This code is only required when automatic dependency tracking
411# is enabled. FIXME. This creates each `.P' file that we will 401# is enabled. FIXME. This creates each '.P' file that we will
412# need in order to bootstrap the dependency handling code. 402# need in order to bootstrap the dependency handling code.
413AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], 403AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
414[AC_CONFIG_COMMANDS([depfiles], 404[AC_CONFIG_COMMANDS([depfiles],
@@ -418,18 +408,21 @@ AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
418 408
419# Do all the work for Automake. -*- Autoconf -*- 409# Do all the work for Automake. -*- Autoconf -*-
420 410
421# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 411# Copyright (C) 1996-2017 Free Software Foundation, Inc.
422# 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
423# 412#
424# This file is free software; the Free Software Foundation 413# This file is free software; the Free Software Foundation
425# gives unlimited permission to copy and/or distribute it, 414# gives unlimited permission to copy and/or distribute it,
426# with or without modifications, as long as this notice is preserved. 415# with or without modifications, as long as this notice is preserved.
427 416
428# serial 16
429
430# This macro actually does too much. Some checks are only needed if 417# This macro actually does too much. Some checks are only needed if
431# your package does certain things. But this isn't really a big deal. 418# your package does certain things. But this isn't really a big deal.
432 419
420dnl Redefine AC_PROG_CC to automatically invoke _AM_PROG_CC_C_O.
421m4_define([AC_PROG_CC],
422m4_defn([AC_PROG_CC])
423[_AM_PROG_CC_C_O
424])
425
433# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) 426# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
434# AM_INIT_AUTOMAKE([OPTIONS]) 427# AM_INIT_AUTOMAKE([OPTIONS])
435# ----------------------------------------------- 428# -----------------------------------------------
@@ -442,7 +435,7 @@ AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
442# arguments mandatory, and then we can depend on a new Autoconf 435# arguments mandatory, and then we can depend on a new Autoconf
443# release and drop the old call support. 436# release and drop the old call support.
444AC_DEFUN([AM_INIT_AUTOMAKE], 437AC_DEFUN([AM_INIT_AUTOMAKE],
445[AC_PREREQ([2.62])dnl 438[AC_PREREQ([2.65])dnl
446dnl Autoconf wants to disallow AM_ names. We explicitly allow 439dnl Autoconf wants to disallow AM_ names. We explicitly allow
447dnl the ones we care about. 440dnl the ones we care about.
448m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl 441m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
@@ -471,33 +464,42 @@ AC_SUBST([CYGPATH_W])
471# Define the identity of the package. 464# Define the identity of the package.
472dnl Distinguish between old-style and new-style calls. 465dnl Distinguish between old-style and new-style calls.
473m4_ifval([$2], 466m4_ifval([$2],
474[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl 467[AC_DIAGNOSE([obsolete],
468 [$0: two- and three-arguments forms are deprecated.])
469m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
475 AC_SUBST([PACKAGE], [$1])dnl 470 AC_SUBST([PACKAGE], [$1])dnl
476 AC_SUBST([VERSION], [$2])], 471 AC_SUBST([VERSION], [$2])],
477[_AM_SET_OPTIONS([$1])dnl 472[_AM_SET_OPTIONS([$1])dnl
478dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. 473dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
479m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,, 474m4_if(
475 m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]),
476 [ok:ok],,
480 [m4_fatal([AC_INIT should be called with package and version arguments])])dnl 477 [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
481 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl 478 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
482 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl 479 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
483 480
484_AM_IF_OPTION([no-define],, 481_AM_IF_OPTION([no-define],,
485[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) 482[AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
486 AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl 483 AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl
487 484
488# Some tools Automake needs. 485# Some tools Automake needs.
489AC_REQUIRE([AM_SANITY_CHECK])dnl 486AC_REQUIRE([AM_SANITY_CHECK])dnl
490AC_REQUIRE([AC_ARG_PROGRAM])dnl 487AC_REQUIRE([AC_ARG_PROGRAM])dnl
491AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}) 488AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
492AM_MISSING_PROG(AUTOCONF, autoconf) 489AM_MISSING_PROG([AUTOCONF], [autoconf])
493AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) 490AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
494AM_MISSING_PROG(AUTOHEADER, autoheader) 491AM_MISSING_PROG([AUTOHEADER], [autoheader])
495AM_MISSING_PROG(MAKEINFO, makeinfo) 492AM_MISSING_PROG([MAKEINFO], [makeinfo])
496AC_REQUIRE([AM_PROG_INSTALL_SH])dnl 493AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
497AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl 494AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
498AC_REQUIRE([AM_PROG_MKDIR_P])dnl 495AC_REQUIRE([AC_PROG_MKDIR_P])dnl
499# We need awk for the "check" target. The system "awk" is bad on 496# For better backward compatibility. To be removed once Automake 1.9.x
500# some platforms. 497# dies out for good. For more background, see:
498# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
499# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
500AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
501# We need awk for the "check" target (and possibly the TAP driver). The
502# system "awk" is bad on some platforms.
501AC_REQUIRE([AC_PROG_AWK])dnl 503AC_REQUIRE([AC_PROG_AWK])dnl
502AC_REQUIRE([AC_PROG_MAKE_SET])dnl 504AC_REQUIRE([AC_PROG_MAKE_SET])dnl
503AC_REQUIRE([AM_SET_LEADING_DOT])dnl 505AC_REQUIRE([AM_SET_LEADING_DOT])dnl
@@ -506,34 +508,82 @@ _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
506 [_AM_PROG_TAR([v7])])]) 508 [_AM_PROG_TAR([v7])])])
507_AM_IF_OPTION([no-dependencies],, 509_AM_IF_OPTION([no-dependencies],,
508[AC_PROVIDE_IFELSE([AC_PROG_CC], 510[AC_PROVIDE_IFELSE([AC_PROG_CC],
509 [_AM_DEPENDENCIES(CC)], 511 [_AM_DEPENDENCIES([CC])],
510 [define([AC_PROG_CC], 512 [m4_define([AC_PROG_CC],
511 defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl 513 m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
512AC_PROVIDE_IFELSE([AC_PROG_CXX], 514AC_PROVIDE_IFELSE([AC_PROG_CXX],
513 [_AM_DEPENDENCIES(CXX)], 515 [_AM_DEPENDENCIES([CXX])],
514 [define([AC_PROG_CXX], 516 [m4_define([AC_PROG_CXX],
515 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl 517 m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
516AC_PROVIDE_IFELSE([AC_PROG_OBJC], 518AC_PROVIDE_IFELSE([AC_PROG_OBJC],
517 [_AM_DEPENDENCIES(OBJC)], 519 [_AM_DEPENDENCIES([OBJC])],
518 [define([AC_PROG_OBJC], 520 [m4_define([AC_PROG_OBJC],
519 defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl 521 m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
522AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
523 [_AM_DEPENDENCIES([OBJCXX])],
524 [m4_define([AC_PROG_OBJCXX],
525 m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
520]) 526])
521_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl 527AC_REQUIRE([AM_SILENT_RULES])dnl
522dnl The `parallel-tests' driver may need to know about EXEEXT, so add the 528dnl The testsuite driver may need to know about EXEEXT, so add the
523dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro 529dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This
524dnl is hooked onto _AC_COMPILER_EXEEXT early, see below. 530dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.
525AC_CONFIG_COMMANDS_PRE(dnl 531AC_CONFIG_COMMANDS_PRE(dnl
526[m4_provide_if([_AM_COMPILER_EXEEXT], 532[m4_provide_if([_AM_COMPILER_EXEEXT],
527 [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl 533 [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
534
535# POSIX will say in a future version that running "rm -f" with no argument
536# is OK; and we want to be able to make that assumption in our Makefile
537# recipes. So use an aggressive probe to check that the usage we want is
538# actually supported "in the wild" to an acceptable degree.
539# See automake bug#10828.
540# To make any issue more visible, cause the running configure to be aborted
541# by default if the 'rm' program in use doesn't match our expectations; the
542# user can still override this though.
543if rm -f && rm -fr && rm -rf; then : OK; else
544 cat >&2 <<'END'
545Oops!
546
547Your 'rm' program seems unable to run without file operands specified
548on the command line, even when the '-f' option is present. This is contrary
549to the behaviour of most rm programs out there, and not conforming with
550the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
551
552Please tell bug-automake@gnu.org about your system, including the value
553of your $PATH and any error possibly output before this message. This
554can help us improve future automake versions.
555
556END
557 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
558 echo 'Configuration will proceed anyway, since you have set the' >&2
559 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
560 echo >&2
561 else
562 cat >&2 <<'END'
563Aborting the configuration process, to ensure you take notice of the issue.
564
565You can download and install GNU coreutils to get an 'rm' implementation
566that behaves properly: <http://www.gnu.org/software/coreutils/>.
567
568If you want to complete the configuration process using your problematic
569'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
570to "yes", and re-run configure.
571
572END
573 AC_MSG_ERROR([Your 'rm' program is bad, sorry.])
574 fi
575fi
576dnl The trailing newline in this macro's definition is deliberate, for
577dnl backward compatibility and to allow trailing 'dnl'-style comments
578dnl after the AM_INIT_AUTOMAKE invocation. See automake bug#16841.
528]) 579])
529 580
530dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not 581dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
531dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further 582dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
532dnl mangled by Autoconf and run in a shell conditional statement. 583dnl mangled by Autoconf and run in a shell conditional statement.
533m4_define([_AC_COMPILER_EXEEXT], 584m4_define([_AC_COMPILER_EXEEXT],
534m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])]) 585m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
535 586
536
537# When config.status generates a header, we must update the stamp-h file. 587# When config.status generates a header, we must update the stamp-h file.
538# This file resides in the same directory as the config header 588# This file resides in the same directory as the config header
539# that is generated. The stamp files are numbered to have different names. 589# that is generated. The stamp files are numbered to have different names.
@@ -555,21 +605,18 @@ for _am_header in $config_headers :; do
555done 605done
556echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) 606echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
557 607
558# Copyright (C) 2001, 2003, 2005, 2008, 2011 Free Software Foundation, 608# Copyright (C) 2001-2017 Free Software Foundation, Inc.
559# Inc.
560# 609#
561# This file is free software; the Free Software Foundation 610# This file is free software; the Free Software Foundation
562# gives unlimited permission to copy and/or distribute it, 611# gives unlimited permission to copy and/or distribute it,
563# with or without modifications, as long as this notice is preserved. 612# with or without modifications, as long as this notice is preserved.
564 613
565# serial 1
566
567# AM_PROG_INSTALL_SH 614# AM_PROG_INSTALL_SH
568# ------------------ 615# ------------------
569# Define $install_sh. 616# Define $install_sh.
570AC_DEFUN([AM_PROG_INSTALL_SH], 617AC_DEFUN([AM_PROG_INSTALL_SH],
571[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl 618[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
572if test x"${install_sh}" != xset; then 619if test x"${install_sh+set}" != xset; then
573 case $am_aux_dir in 620 case $am_aux_dir in
574 *\ * | *\ *) 621 *\ * | *\ *)
575 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 622 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
@@ -577,25 +624,22 @@ if test x"${install_sh}" != xset; then
577 install_sh="\${SHELL} $am_aux_dir/install-sh" 624 install_sh="\${SHELL} $am_aux_dir/install-sh"
578 esac 625 esac
579fi 626fi
580AC_SUBST(install_sh)]) 627AC_SUBST([install_sh])])
581 628
582# Add --enable-maintainer-mode option to configure. -*- Autoconf -*- 629# Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
583# From Jim Meyering 630# From Jim Meyering
584 631
585# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008, 632# Copyright (C) 1996-2017 Free Software Foundation, Inc.
586# 2011 Free Software Foundation, Inc.
587# 633#
588# This file is free software; the Free Software Foundation 634# This file is free software; the Free Software Foundation
589# gives unlimited permission to copy and/or distribute it, 635# gives unlimited permission to copy and/or distribute it,
590# with or without modifications, as long as this notice is preserved. 636# with or without modifications, as long as this notice is preserved.
591 637
592# serial 5
593
594# AM_MAINTAINER_MODE([DEFAULT-MODE]) 638# AM_MAINTAINER_MODE([DEFAULT-MODE])
595# ---------------------------------- 639# ----------------------------------
596# Control maintainer-specific portions of Makefiles. 640# Control maintainer-specific portions of Makefiles.
597# Default is to disable them, unless `enable' is passed literally. 641# Default is to disable them, unless 'enable' is passed literally.
598# For symmetry, `disable' may be passed as well. Anyway, the user 642# For symmetry, 'disable' may be passed as well. Anyway, the user
599# can override the default with the --enable/--disable switch. 643# can override the default with the --enable/--disable switch.
600AC_DEFUN([AM_MAINTAINER_MODE], 644AC_DEFUN([AM_MAINTAINER_MODE],
601[m4_case(m4_default([$1], [disable]), 645[m4_case(m4_default([$1], [disable]),
@@ -606,10 +650,11 @@ AC_DEFUN([AM_MAINTAINER_MODE],
606AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles]) 650AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
607 dnl maintainer-mode's default is 'disable' unless 'enable' is passed 651 dnl maintainer-mode's default is 'disable' unless 'enable' is passed
608 AC_ARG_ENABLE([maintainer-mode], 652 AC_ARG_ENABLE([maintainer-mode],
609[ --][am_maintainer_other][-maintainer-mode am_maintainer_other make rules and dependencies not useful 653 [AS_HELP_STRING([--]am_maintainer_other[-maintainer-mode],
610 (and sometimes confusing) to the casual installer], 654 am_maintainer_other[ make rules and dependencies not useful
611 [USE_MAINTAINER_MODE=$enableval], 655 (and sometimes confusing) to the casual installer])],
612 [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes])) 656 [USE_MAINTAINER_MODE=$enableval],
657 [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
613 AC_MSG_RESULT([$USE_MAINTAINER_MODE]) 658 AC_MSG_RESULT([$USE_MAINTAINER_MODE])
614 AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes]) 659 AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
615 MAINT=$MAINTAINER_MODE_TRUE 660 MAINT=$MAINTAINER_MODE_TRUE
@@ -617,18 +662,14 @@ AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
617] 662]
618) 663)
619 664
620AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
621
622# Check to see how 'make' treats includes. -*- Autoconf -*- 665# Check to see how 'make' treats includes. -*- Autoconf -*-
623 666
624# Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc. 667# Copyright (C) 2001-2017 Free Software Foundation, Inc.
625# 668#
626# This file is free software; the Free Software Foundation 669# This file is free software; the Free Software Foundation
627# gives unlimited permission to copy and/or distribute it, 670# gives unlimited permission to copy and/or distribute it,
628# with or without modifications, as long as this notice is preserved. 671# with or without modifications, as long as this notice is preserved.
629 672
630# serial 4
631
632# AM_MAKE_INCLUDE() 673# AM_MAKE_INCLUDE()
633# ----------------- 674# -----------------
634# Check to see how make treats includes. 675# Check to see how make treats includes.
@@ -646,7 +687,7 @@ am__quote=
646_am_result=none 687_am_result=none
647# First try GNU make style include. 688# First try GNU make style include.
648echo "include confinc" > confmf 689echo "include confinc" > confmf
649# Ignore all kinds of additional output from `make'. 690# Ignore all kinds of additional output from 'make'.
650case `$am_make -s -f confmf 2> /dev/null` in #( 691case `$am_make -s -f confmf 2> /dev/null` in #(
651*the\ am__doit\ target*) 692*the\ am__doit\ target*)
652 am__include=include 693 am__include=include
@@ -673,15 +714,12 @@ rm -f confinc confmf
673 714
674# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- 715# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
675 716
676# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008 717# Copyright (C) 1997-2017 Free Software Foundation, Inc.
677# Free Software Foundation, Inc.
678# 718#
679# This file is free software; the Free Software Foundation 719# This file is free software; the Free Software Foundation
680# gives unlimited permission to copy and/or distribute it, 720# gives unlimited permission to copy and/or distribute it,
681# with or without modifications, as long as this notice is preserved. 721# with or without modifications, as long as this notice is preserved.
682 722
683# serial 6
684
685# AM_MISSING_PROG(NAME, PROGRAM) 723# AM_MISSING_PROG(NAME, PROGRAM)
686# ------------------------------ 724# ------------------------------
687AC_DEFUN([AM_MISSING_PROG], 725AC_DEFUN([AM_MISSING_PROG],
@@ -689,11 +727,10 @@ AC_DEFUN([AM_MISSING_PROG],
689$1=${$1-"${am_missing_run}$2"} 727$1=${$1-"${am_missing_run}$2"}
690AC_SUBST($1)]) 728AC_SUBST($1)])
691 729
692
693# AM_MISSING_HAS_RUN 730# AM_MISSING_HAS_RUN
694# ------------------ 731# ------------------
695# Define MISSING if not defined so far and test if it supports --run. 732# Define MISSING if not defined so far and test if it is modern enough.
696# If it does, set am_missing_run to use it, otherwise, to nothing. 733# If it is, set am_missing_run to use it, otherwise, to nothing.
697AC_DEFUN([AM_MISSING_HAS_RUN], 734AC_DEFUN([AM_MISSING_HAS_RUN],
698[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl 735[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
699AC_REQUIRE_AUX_FILE([missing])dnl 736AC_REQUIRE_AUX_FILE([missing])dnl
@@ -706,54 +743,22 @@ if test x"${MISSING+set}" != xset; then
706 esac 743 esac
707fi 744fi
708# Use eval to expand $SHELL 745# Use eval to expand $SHELL
709if eval "$MISSING --run true"; then 746if eval "$MISSING --is-lightweight"; then
710 am_missing_run="$MISSING --run " 747 am_missing_run="$MISSING "
711else 748else
712 am_missing_run= 749 am_missing_run=
713 AC_MSG_WARN([`missing' script is too old or missing]) 750 AC_MSG_WARN(['missing' script is too old or missing])
714fi 751fi
715]) 752])
716 753
717# Copyright (C) 2003, 2004, 2005, 2006, 2011 Free Software Foundation,
718# Inc.
719#
720# This file is free software; the Free Software Foundation
721# gives unlimited permission to copy and/or distribute it,
722# with or without modifications, as long as this notice is preserved.
723
724# serial 1
725
726# AM_PROG_MKDIR_P
727# ---------------
728# Check for `mkdir -p'.
729AC_DEFUN([AM_PROG_MKDIR_P],
730[AC_PREREQ([2.60])dnl
731AC_REQUIRE([AC_PROG_MKDIR_P])dnl
732dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,
733dnl while keeping a definition of mkdir_p for backward compatibility.
734dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
735dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
736dnl Makefile.ins that do not define MKDIR_P, so we do our own
737dnl adjustment using top_builddir (which is defined more often than
738dnl MKDIR_P).
739AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
740case $mkdir_p in
741 [[\\/$]]* | ?:[[\\/]]*) ;;
742 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
743esac
744])
745
746# Helper functions for option handling. -*- Autoconf -*- 754# Helper functions for option handling. -*- Autoconf -*-
747 755
748# Copyright (C) 2001, 2002, 2003, 2005, 2008, 2010 Free Software 756# Copyright (C) 2001-2017 Free Software Foundation, Inc.
749# Foundation, Inc.
750# 757#
751# This file is free software; the Free Software Foundation 758# This file is free software; the Free Software Foundation
752# gives unlimited permission to copy and/or distribute it, 759# gives unlimited permission to copy and/or distribute it,
753# with or without modifications, as long as this notice is preserved. 760# with or without modifications, as long as this notice is preserved.
754 761
755# serial 5
756
757# _AM_MANGLE_OPTION(NAME) 762# _AM_MANGLE_OPTION(NAME)
758# ----------------------- 763# -----------------------
759AC_DEFUN([_AM_MANGLE_OPTION], 764AC_DEFUN([_AM_MANGLE_OPTION],
@@ -763,7 +768,7 @@ AC_DEFUN([_AM_MANGLE_OPTION],
763# -------------------- 768# --------------------
764# Set option NAME. Presently that only means defining a flag for this option. 769# Set option NAME. Presently that only means defining a flag for this option.
765AC_DEFUN([_AM_SET_OPTION], 770AC_DEFUN([_AM_SET_OPTION],
766[m4_define(_AM_MANGLE_OPTION([$1]), 1)]) 771[m4_define(_AM_MANGLE_OPTION([$1]), [1])])
767 772
768# _AM_SET_OPTIONS(OPTIONS) 773# _AM_SET_OPTIONS(OPTIONS)
769# ------------------------ 774# ------------------------
@@ -777,24 +782,82 @@ AC_DEFUN([_AM_SET_OPTIONS],
777AC_DEFUN([_AM_IF_OPTION], 782AC_DEFUN([_AM_IF_OPTION],
778[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) 783[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
779 784
780# Check to make sure that the build environment is sane. -*- Autoconf -*- 785# Copyright (C) 1999-2017 Free Software Foundation, Inc.
786#
787# This file is free software; the Free Software Foundation
788# gives unlimited permission to copy and/or distribute it,
789# with or without modifications, as long as this notice is preserved.
790
791# _AM_PROG_CC_C_O
792# ---------------
793# Like AC_PROG_CC_C_O, but changed for automake. We rewrite AC_PROG_CC
794# to automatically call this.
795AC_DEFUN([_AM_PROG_CC_C_O],
796[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
797AC_REQUIRE_AUX_FILE([compile])dnl
798AC_LANG_PUSH([C])dnl
799AC_CACHE_CHECK(
800 [whether $CC understands -c and -o together],
801 [am_cv_prog_cc_c_o],
802 [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])])
803 # Make sure it works both with $CC and with simple cc.
804 # Following AC_PROG_CC_C_O, we do the test twice because some
805 # compilers refuse to overwrite an existing .o file with -o,
806 # though they will create one.
807 am_cv_prog_cc_c_o=yes
808 for am_i in 1 2; do
809 if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \
810 && test -f conftest2.$ac_objext; then
811 : OK
812 else
813 am_cv_prog_cc_c_o=no
814 break
815 fi
816 done
817 rm -f core conftest*
818 unset am_i])
819if test "$am_cv_prog_cc_c_o" != yes; then
820 # Losing compiler, so override with the script.
821 # FIXME: It is wrong to rewrite CC.
822 # But if we don't then we get into trouble of one sort or another.
823 # A longer-term fix would be to have automake use am__CC in this case,
824 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
825 CC="$am_aux_dir/compile $CC"
826fi
827AC_LANG_POP([C])])
828
829# For backward compatibility.
830AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
781 831
782# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008 832# Copyright (C) 2001-2017 Free Software Foundation, Inc.
783# Free Software Foundation, Inc.
784# 833#
785# This file is free software; the Free Software Foundation 834# This file is free software; the Free Software Foundation
786# gives unlimited permission to copy and/or distribute it, 835# gives unlimited permission to copy and/or distribute it,
787# with or without modifications, as long as this notice is preserved. 836# with or without modifications, as long as this notice is preserved.
788 837
789# serial 5 838# AM_RUN_LOG(COMMAND)
839# -------------------
840# Run COMMAND, save the exit status in ac_status, and log it.
841# (This has been adapted from Autoconf's _AC_RUN_LOG macro.)
842AC_DEFUN([AM_RUN_LOG],
843[{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
844 ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
845 ac_status=$?
846 echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
847 (exit $ac_status); }])
848
849# Check to make sure that the build environment is sane. -*- Autoconf -*-
850
851# Copyright (C) 1996-2017 Free Software Foundation, Inc.
852#
853# This file is free software; the Free Software Foundation
854# gives unlimited permission to copy and/or distribute it,
855# with or without modifications, as long as this notice is preserved.
790 856
791# AM_SANITY_CHECK 857# AM_SANITY_CHECK
792# --------------- 858# ---------------
793AC_DEFUN([AM_SANITY_CHECK], 859AC_DEFUN([AM_SANITY_CHECK],
794[AC_MSG_CHECKING([whether build environment is sane]) 860[AC_MSG_CHECKING([whether build environment is sane])
795# Just in case
796sleep 1
797echo timestamp > conftest.file
798# Reject unsafe characters in $srcdir or the absolute working directory 861# Reject unsafe characters in $srcdir or the absolute working directory
799# name. Accept space and tab only in the latter. 862# name. Accept space and tab only in the latter.
800am_lf=' 863am_lf='
@@ -805,32 +868,40 @@ case `pwd` in
805esac 868esac
806case $srcdir in 869case $srcdir in
807 *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*) 870 *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
808 AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);; 871 AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);;
809esac 872esac
810 873
811# Do `set' in a subshell so we don't clobber the current shell's 874# Do 'set' in a subshell so we don't clobber the current shell's
812# arguments. Must try -L first in case configure is actually a 875# arguments. Must try -L first in case configure is actually a
813# symlink; some systems play weird games with the mod time of symlinks 876# symlink; some systems play weird games with the mod time of symlinks
814# (eg FreeBSD returns the mod time of the symlink's containing 877# (eg FreeBSD returns the mod time of the symlink's containing
815# directory). 878# directory).
816if ( 879if (
817 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 880 am_has_slept=no
818 if test "$[*]" = "X"; then 881 for am_try in 1 2; do
819 # -L didn't work. 882 echo "timestamp, slept: $am_has_slept" > conftest.file
820 set X `ls -t "$srcdir/configure" conftest.file` 883 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
821 fi 884 if test "$[*]" = "X"; then
822 rm -f conftest.file 885 # -L didn't work.
823 if test "$[*]" != "X $srcdir/configure conftest.file" \ 886 set X `ls -t "$srcdir/configure" conftest.file`
824 && test "$[*]" != "X conftest.file $srcdir/configure"; then 887 fi
825 888 if test "$[*]" != "X $srcdir/configure conftest.file" \
826 # If neither matched, then we have a broken ls. This can happen 889 && test "$[*]" != "X conftest.file $srcdir/configure"; then
827 # if, for instance, CONFIG_SHELL is bash and it inherits a 890
828 # broken ls alias from the environment. This has actually 891 # If neither matched, then we have a broken ls. This can happen
829 # happened. Such a system could not be considered "sane". 892 # if, for instance, CONFIG_SHELL is bash and it inherits a
830 AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken 893 # broken ls alias from the environment. This has actually
831alias in your environment]) 894 # happened. Such a system could not be considered "sane".
832 fi 895 AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
833 896 alias in your environment])
897 fi
898 if test "$[2]" = conftest.file || test $am_try -eq 2; then
899 break
900 fi
901 # Just in case.
902 sleep 1
903 am_has_slept=yes
904 done
834 test "$[2]" = conftest.file 905 test "$[2]" = conftest.file
835 ) 906 )
836then 907then
@@ -840,46 +911,118 @@ else
840 AC_MSG_ERROR([newly created file is older than distributed files! 911 AC_MSG_ERROR([newly created file is older than distributed files!
841Check your system clock]) 912Check your system clock])
842fi 913fi
843AC_MSG_RESULT(yes)]) 914AC_MSG_RESULT([yes])
915# If we didn't sleep, we still need to ensure time stamps of config.status and
916# generated files are strictly newer.
917am_sleep_pid=
918if grep 'slept: no' conftest.file >/dev/null 2>&1; then
919 ( sleep 1 ) &
920 am_sleep_pid=$!
921fi
922AC_CONFIG_COMMANDS_PRE(
923 [AC_MSG_CHECKING([that generated files are newer than configure])
924 if test -n "$am_sleep_pid"; then
925 # Hide warnings about reused PIDs.
926 wait $am_sleep_pid 2>/dev/null
927 fi
928 AC_MSG_RESULT([done])])
929rm -f conftest.file
930])
844 931
845# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc. 932# Copyright (C) 2009-2017 Free Software Foundation, Inc.
846# 933#
847# This file is free software; the Free Software Foundation 934# This file is free software; the Free Software Foundation
848# gives unlimited permission to copy and/or distribute it, 935# gives unlimited permission to copy and/or distribute it,
849# with or without modifications, as long as this notice is preserved. 936# with or without modifications, as long as this notice is preserved.
850 937
851# serial 1 938# AM_SILENT_RULES([DEFAULT])
939# --------------------------
940# Enable less verbose build rules; with the default set to DEFAULT
941# ("yes" being less verbose, "no" or empty being verbose).
942AC_DEFUN([AM_SILENT_RULES],
943[AC_ARG_ENABLE([silent-rules], [dnl
944AS_HELP_STRING(
945 [--enable-silent-rules],
946 [less verbose build output (undo: "make V=1")])
947AS_HELP_STRING(
948 [--disable-silent-rules],
949 [verbose build output (undo: "make V=0")])dnl
950])
951case $enable_silent_rules in @%:@ (((
952 yes) AM_DEFAULT_VERBOSITY=0;;
953 no) AM_DEFAULT_VERBOSITY=1;;
954 *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
955esac
956dnl
957dnl A few 'make' implementations (e.g., NonStop OS and NextStep)
958dnl do not support nested variable expansions.
959dnl See automake bug#9928 and bug#10237.
960am_make=${MAKE-make}
961AC_CACHE_CHECK([whether $am_make supports nested variables],
962 [am_cv_make_support_nested_variables],
963 [if AS_ECHO([['TRUE=$(BAR$(V))
964BAR0=false
965BAR1=true
966V=1
967am__doit:
968 @$(TRUE)
969.PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then
970 am_cv_make_support_nested_variables=yes
971else
972 am_cv_make_support_nested_variables=no
973fi])
974if test $am_cv_make_support_nested_variables = yes; then
975 dnl Using '$V' instead of '$(V)' breaks IRIX make.
976 AM_V='$(V)'
977 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
978else
979 AM_V=$AM_DEFAULT_VERBOSITY
980 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
981fi
982AC_SUBST([AM_V])dnl
983AM_SUBST_NOTMAKE([AM_V])dnl
984AC_SUBST([AM_DEFAULT_V])dnl
985AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl
986AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
987AM_BACKSLASH='\'
988AC_SUBST([AM_BACKSLASH])dnl
989_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
990])
991
992# Copyright (C) 2001-2017 Free Software Foundation, Inc.
993#
994# This file is free software; the Free Software Foundation
995# gives unlimited permission to copy and/or distribute it,
996# with or without modifications, as long as this notice is preserved.
852 997
853# AM_PROG_INSTALL_STRIP 998# AM_PROG_INSTALL_STRIP
854# --------------------- 999# ---------------------
855# One issue with vendor `install' (even GNU) is that you can't 1000# One issue with vendor 'install' (even GNU) is that you can't
856# specify the program used to strip binaries. This is especially 1001# specify the program used to strip binaries. This is especially
857# annoying in cross-compiling environments, where the build's strip 1002# annoying in cross-compiling environments, where the build's strip
858# is unlikely to handle the host's binaries. 1003# is unlikely to handle the host's binaries.
859# Fortunately install-sh will honor a STRIPPROG variable, so we 1004# Fortunately install-sh will honor a STRIPPROG variable, so we
860# always use install-sh in `make install-strip', and initialize 1005# always use install-sh in "make install-strip", and initialize
861# STRIPPROG with the value of the STRIP variable (set by the user). 1006# STRIPPROG with the value of the STRIP variable (set by the user).
862AC_DEFUN([AM_PROG_INSTALL_STRIP], 1007AC_DEFUN([AM_PROG_INSTALL_STRIP],
863[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl 1008[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
864# Installed binaries are usually stripped using `strip' when the user 1009# Installed binaries are usually stripped using 'strip' when the user
865# run `make install-strip'. However `strip' might not be the right 1010# run "make install-strip". However 'strip' might not be the right
866# tool to use in cross-compilation environments, therefore Automake 1011# tool to use in cross-compilation environments, therefore Automake
867# will honor the `STRIP' environment variable to overrule this program. 1012# will honor the 'STRIP' environment variable to overrule this program.
868dnl Don't test for $cross_compiling = yes, because it might be `maybe'. 1013dnl Don't test for $cross_compiling = yes, because it might be 'maybe'.
869if test "$cross_compiling" != no; then 1014if test "$cross_compiling" != no; then
870 AC_CHECK_TOOL([STRIP], [strip], :) 1015 AC_CHECK_TOOL([STRIP], [strip], :)
871fi 1016fi
872INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 1017INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
873AC_SUBST([INSTALL_STRIP_PROGRAM])]) 1018AC_SUBST([INSTALL_STRIP_PROGRAM])])
874 1019
875# Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc. 1020# Copyright (C) 2006-2017 Free Software Foundation, Inc.
876# 1021#
877# This file is free software; the Free Software Foundation 1022# This file is free software; the Free Software Foundation
878# gives unlimited permission to copy and/or distribute it, 1023# gives unlimited permission to copy and/or distribute it,
879# with or without modifications, as long as this notice is preserved. 1024# with or without modifications, as long as this notice is preserved.
880 1025
881# serial 3
882
883# _AM_SUBST_NOTMAKE(VARIABLE) 1026# _AM_SUBST_NOTMAKE(VARIABLE)
884# --------------------------- 1027# ---------------------------
885# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. 1028# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
@@ -893,18 +1036,16 @@ AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
893 1036
894# Check how to create a tarball. -*- Autoconf -*- 1037# Check how to create a tarball. -*- Autoconf -*-
895 1038
896# Copyright (C) 2004, 2005, 2012 Free Software Foundation, Inc. 1039# Copyright (C) 2004-2017 Free Software Foundation, Inc.
897# 1040#
898# This file is free software; the Free Software Foundation 1041# This file is free software; the Free Software Foundation
899# gives unlimited permission to copy and/or distribute it, 1042# gives unlimited permission to copy and/or distribute it,
900# with or without modifications, as long as this notice is preserved. 1043# with or without modifications, as long as this notice is preserved.
901 1044
902# serial 2
903
904# _AM_PROG_TAR(FORMAT) 1045# _AM_PROG_TAR(FORMAT)
905# -------------------- 1046# --------------------
906# Check how to create a tarball in format FORMAT. 1047# Check how to create a tarball in format FORMAT.
907# FORMAT should be one of `v7', `ustar', or `pax'. 1048# FORMAT should be one of 'v7', 'ustar', or 'pax'.
908# 1049#
909# Substitute a variable $(am__tar) that is a command 1050# Substitute a variable $(am__tar) that is a command
910# writing to stdout a FORMAT-tarball containing the directory 1051# writing to stdout a FORMAT-tarball containing the directory
@@ -914,76 +1055,114 @@ AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
914# Substitute a variable $(am__untar) that extract such 1055# Substitute a variable $(am__untar) that extract such
915# a tarball read from stdin. 1056# a tarball read from stdin.
916# $(am__untar) < result.tar 1057# $(am__untar) < result.tar
1058#
917AC_DEFUN([_AM_PROG_TAR], 1059AC_DEFUN([_AM_PROG_TAR],
918[# Always define AMTAR for backward compatibility. Yes, it's still used 1060[# Always define AMTAR for backward compatibility. Yes, it's still used
919# in the wild :-( We should find a proper way to deprecate it ... 1061# in the wild :-( We should find a proper way to deprecate it ...
920AC_SUBST([AMTAR], ['$${TAR-tar}']) 1062AC_SUBST([AMTAR], ['$${TAR-tar}'])
921m4_if([$1], [v7], 1063
922 [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'], 1064# We'll loop over all known methods to create a tar archive until one works.
923 [m4_case([$1], [ustar],, [pax],,
924 [m4_fatal([Unknown tar format])])
925AC_MSG_CHECKING([how to create a $1 tar archive])
926# Loop over all known methods to create a tar archive until one works.
927_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' 1065_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
928_am_tools=${am_cv_prog_tar_$1-$_am_tools}
929# Do not fold the above two line into one, because Tru64 sh and
930# Solaris sh will not grok spaces in the rhs of `-'.
931for _am_tool in $_am_tools
932do
933 case $_am_tool in
934 gnutar)
935 for _am_tar in tar gnutar gtar;
936 do
937 AM_RUN_LOG([$_am_tar --version]) && break
938 done
939 am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
940 am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
941 am__untar="$_am_tar -xf -"
942 ;;
943 plaintar)
944 # Must skip GNU tar: if it does not support --format= it doesn't create
945 # ustar tarball either.
946 (tar --version) >/dev/null 2>&1 && continue
947 am__tar='tar chf - "$$tardir"'
948 am__tar_='tar chf - "$tardir"'
949 am__untar='tar xf -'
950 ;;
951 pax)
952 am__tar='pax -L -x $1 -w "$$tardir"'
953 am__tar_='pax -L -x $1 -w "$tardir"'
954 am__untar='pax -r'
955 ;;
956 cpio)
957 am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
958 am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
959 am__untar='cpio -i -H $1 -d'
960 ;;
961 none)
962 am__tar=false
963 am__tar_=false
964 am__untar=false
965 ;;
966 esac
967 1066
968 # If the value was cached, stop now. We just wanted to have am__tar 1067m4_if([$1], [v7],
969 # and am__untar set. 1068 [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
970 test -n "${am_cv_prog_tar_$1}" && break 1069
1070 [m4_case([$1],
1071 [ustar],
1072 [# The POSIX 1988 'ustar' format is defined with fixed-size fields.
1073 # There is notably a 21 bits limit for the UID and the GID. In fact,
1074 # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
1075 # and bug#13588).
1076 am_max_uid=2097151 # 2^21 - 1
1077 am_max_gid=$am_max_uid
1078 # The $UID and $GID variables are not portable, so we need to resort
1079 # to the POSIX-mandated id(1) utility. Errors in the 'id' calls
1080 # below are definitely unexpected, so allow the users to see them
1081 # (that is, avoid stderr redirection).
1082 am_uid=`id -u || echo unknown`
1083 am_gid=`id -g || echo unknown`
1084 AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format])
1085 if test $am_uid -le $am_max_uid; then
1086 AC_MSG_RESULT([yes])
1087 else
1088 AC_MSG_RESULT([no])
1089 _am_tools=none
1090 fi
1091 AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format])
1092 if test $am_gid -le $am_max_gid; then
1093 AC_MSG_RESULT([yes])
1094 else
1095 AC_MSG_RESULT([no])
1096 _am_tools=none
1097 fi],
1098
1099 [pax],
1100 [],
1101
1102 [m4_fatal([Unknown tar format])])
1103
1104 AC_MSG_CHECKING([how to create a $1 tar archive])
1105
1106 # Go ahead even if we have the value already cached. We do so because we
1107 # need to set the values for the 'am__tar' and 'am__untar' variables.
1108 _am_tools=${am_cv_prog_tar_$1-$_am_tools}
1109
1110 for _am_tool in $_am_tools; do
1111 case $_am_tool in
1112 gnutar)
1113 for _am_tar in tar gnutar gtar; do
1114 AM_RUN_LOG([$_am_tar --version]) && break
1115 done
1116 am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
1117 am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
1118 am__untar="$_am_tar -xf -"
1119 ;;
1120 plaintar)
1121 # Must skip GNU tar: if it does not support --format= it doesn't create
1122 # ustar tarball either.
1123 (tar --version) >/dev/null 2>&1 && continue
1124 am__tar='tar chf - "$$tardir"'
1125 am__tar_='tar chf - "$tardir"'
1126 am__untar='tar xf -'
1127 ;;
1128 pax)
1129 am__tar='pax -L -x $1 -w "$$tardir"'
1130 am__tar_='pax -L -x $1 -w "$tardir"'
1131 am__untar='pax -r'
1132 ;;
1133 cpio)
1134 am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
1135 am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
1136 am__untar='cpio -i -H $1 -d'
1137 ;;
1138 none)
1139 am__tar=false
1140 am__tar_=false
1141 am__untar=false
1142 ;;
1143 esac
971 1144
972 # tar/untar a dummy directory, and stop if the command works 1145 # If the value was cached, stop now. We just wanted to have am__tar
973 rm -rf conftest.dir 1146 # and am__untar set.
974 mkdir conftest.dir 1147 test -n "${am_cv_prog_tar_$1}" && break
975 echo GrepMe > conftest.dir/file 1148
976 AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) 1149 # tar/untar a dummy directory, and stop if the command works.
1150 rm -rf conftest.dir
1151 mkdir conftest.dir
1152 echo GrepMe > conftest.dir/file
1153 AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
1154 rm -rf conftest.dir
1155 if test -s conftest.tar; then
1156 AM_RUN_LOG([$am__untar <conftest.tar])
1157 AM_RUN_LOG([cat conftest.dir/file])
1158 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
1159 fi
1160 done
977 rm -rf conftest.dir 1161 rm -rf conftest.dir
978 if test -s conftest.tar; then
979 AM_RUN_LOG([$am__untar <conftest.tar])
980 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
981 fi
982done
983rm -rf conftest.dir
984 1162
985AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) 1163 AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
986AC_MSG_RESULT([$am_cv_prog_tar_$1])]) 1164 AC_MSG_RESULT([$am_cv_prog_tar_$1])])
1165
987AC_SUBST([am__tar]) 1166AC_SUBST([am__tar])
988AC_SUBST([am__untar]) 1167AC_SUBST([am__untar])
989]) # _AM_PROG_TAR 1168]) # _AM_PROG_TAR
diff --git a/lto-plugin/config.h.in b/lto-plugin/config.h.in
index f7f479cf7bb..ddbde7619d5 100644
--- a/lto-plugin/config.h.in
+++ b/lto-plugin/config.h.in
@@ -86,6 +86,11 @@
86/* Version number of package */ 86/* Version number of package */
87#undef VERSION 87#undef VERSION
88 88
89/* Enable large inode numbers on Mac OS X 10.5. */
90#ifndef _DARWIN_USE_64_BIT_INODE
91# define _DARWIN_USE_64_BIT_INODE 1
92#endif
93
89/* Number of bits in a file offset, on hosts where this is settable. */ 94/* Number of bits in a file offset, on hosts where this is settable. */
90#undef _FILE_OFFSET_BITS 95#undef _FILE_OFFSET_BITS
91 96
diff --git a/lto-plugin/configure b/lto-plugin/configure
index 7843cd7f6a3..8fdcab96d20 100755
--- a/lto-plugin/configure
+++ b/lto-plugin/configure
@@ -1,10 +1,10 @@
1#! /bin/sh 1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles. 2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.64 for LTO plugin for ld 0.1. 3# Generated by GNU Autoconf 2.69 for LTO plugin for ld 0.1.
4#
5#
6# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
4# 7#
5# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
7# Foundation, Inc.
8# 8#
9# This configure script is free software; the Free Software Foundation 9# This configure script is free software; the Free Software Foundation
10# gives unlimited permission to copy, distribute and modify it. 10# gives unlimited permission to copy, distribute and modify it.
@@ -87,6 +87,7 @@ fi
87IFS=" "" $as_nl" 87IFS=" "" $as_nl"
88 88
89# Find who we are. Look in the path if we contain no directory separator. 89# Find who we are. Look in the path if we contain no directory separator.
90as_myself=
90case $0 in #(( 91case $0 in #((
91 *[\\/]* ) as_myself=$0 ;; 92 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -131,6 +132,31 @@ export LANGUAGE
131# CDPATH. 132# CDPATH.
132(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 133(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
133 134
135# Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138 _as_can_reexec=no; export _as_can_reexec;
139 # We cannot yet assume a decent shell, so we have to provide a
140# neutralization value for shells without unset; and this also
141# works around shells that cannot unset nonexistent variables.
142# Preserve -v and -x to the replacement shell.
143BASH_ENV=/dev/null
144ENV=/dev/null
145(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146case $- in # ((((
147 *v*x* | *x*v* ) as_opts=-vx ;;
148 *v* ) as_opts=-v ;;
149 *x* ) as_opts=-x ;;
150 * ) as_opts= ;;
151esac
152exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153# Admittedly, this is quite paranoid, since all the known shells bail
154# out after a failed `exec'.
155$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156as_fn_exit 255
157 fi
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec=; unset _as_can_reexec;}
134if test "x$CONFIG_SHELL" = x; then 160if test "x$CONFIG_SHELL" = x; then
135 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
136 emulate sh 162 emulate sh
@@ -164,7 +190,8 @@ if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
164else 190else
165 exitcode=1; echo positional parameters were not saved. 191 exitcode=1; echo positional parameters were not saved.
166fi 192fi
167test x\$exitcode = x0 || exit 1" 193test x\$exitcode = x0 || exit 1
194test -x / || exit 1"
168 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
@@ -217,14 +244,25 @@ IFS=$as_save_IFS
217 244
218 245
219 if test "x$CONFIG_SHELL" != x; then : 246 if test "x$CONFIG_SHELL" != x; then :
220 # We cannot yet assume a decent shell, so we have to provide a 247 export CONFIG_SHELL
221 # neutralization value for shells without unset; and this also 248 # We cannot yet assume a decent shell, so we have to provide a
222 # works around shells that cannot unset nonexistent variables. 249# neutralization value for shells without unset; and this also
223 BASH_ENV=/dev/null 250# works around shells that cannot unset nonexistent variables.
224 ENV=/dev/null 251# Preserve -v and -x to the replacement shell.
225 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 252BASH_ENV=/dev/null
226 export CONFIG_SHELL 253ENV=/dev/null
227 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 254(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
255case $- in # ((((
256 *v*x* | *x*v* ) as_opts=-vx ;;
257 *v* ) as_opts=-v ;;
258 *x* ) as_opts=-x ;;
259 * ) as_opts= ;;
260esac
261exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
262# Admittedly, this is quite paranoid, since all the known shells bail
263# out after a failed `exec'.
264$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
265exit 255
228fi 266fi
229 267
230 if test x$as_have_required = xno; then : 268 if test x$as_have_required = xno; then :
@@ -322,10 +360,18 @@ $as_echo X"$as_dir" |
322 test -d "$as_dir" && break 360 test -d "$as_dir" && break
323 done 361 done
324 test -z "$as_dirs" || eval "mkdir $as_dirs" 362 test -z "$as_dirs" || eval "mkdir $as_dirs"
325 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 363 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
326 364
327 365
328} # as_fn_mkdir_p 366} # as_fn_mkdir_p
367
368# as_fn_executable_p FILE
369# -----------------------
370# Test if FILE is an executable regular file.
371as_fn_executable_p ()
372{
373 test -f "$1" && test -x "$1"
374} # as_fn_executable_p
329# as_fn_append VAR VALUE 375# as_fn_append VAR VALUE
330# ---------------------- 376# ----------------------
331# Append the text in VALUE to the end of the definition contained in VAR. Take 377# Append the text in VALUE to the end of the definition contained in VAR. Take
@@ -362,19 +408,19 @@ else
362fi # as_fn_arith 408fi # as_fn_arith
363 409
364 410
365# as_fn_error ERROR [LINENO LOG_FD] 411# as_fn_error STATUS ERROR [LINENO LOG_FD]
366# --------------------------------- 412# ----------------------------------------
367# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 413# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 414# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369# script with status $?, using 1 if that was 0. 415# script with STATUS, using 1 if that was 0.
370as_fn_error () 416as_fn_error ()
371{ 417{
372 as_status=$?; test $as_status -eq 0 && as_status=1 418 as_status=$1; test $as_status -eq 0 && as_status=1
373 if test "$3"; then 419 if test "$4"; then
374 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 420 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
375 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 421 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
376 fi 422 fi
377 $as_echo "$as_me: error: $1" >&2 423 $as_echo "$as_me: error: $2" >&2
378 as_fn_exit $as_status 424 as_fn_exit $as_status
379} # as_fn_error 425} # as_fn_error
380 426
@@ -447,6 +493,10 @@ as_cr_alnum=$as_cr_Letters$as_cr_digits
447 chmod +x "$as_me.lineno" || 493 chmod +x "$as_me.lineno" ||
448 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 494 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
449 495
496 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
497 # already done that, so ensure we don't try to do so again and fall
498 # in an infinite loop. This has already happened in practice.
499 _as_can_reexec=no; export _as_can_reexec
450 # Don't try to exec as it changes $[0], causing all sort of problems 500 # Don't try to exec as it changes $[0], causing all sort of problems
451 # (the dirname of $[0] is not the place where we might find the 501 # (the dirname of $[0] is not the place where we might find the
452 # original and so on. Autoconf is especially sensitive to this). 502 # original and so on. Autoconf is especially sensitive to this).
@@ -481,16 +531,16 @@ if (echo >conf$$.file) 2>/dev/null; then
481 # ... but there are two gotchas: 531 # ... but there are two gotchas:
482 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 532 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 533 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484 # In both cases, we have to default to `cp -p'. 534 # In both cases, we have to default to `cp -pR'.
485 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 535 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
486 as_ln_s='cp -p' 536 as_ln_s='cp -pR'
487 elif ln conf$$.file conf$$ 2>/dev/null; then 537 elif ln conf$$.file conf$$ 2>/dev/null; then
488 as_ln_s=ln 538 as_ln_s=ln
489 else 539 else
490 as_ln_s='cp -p' 540 as_ln_s='cp -pR'
491 fi 541 fi
492else 542else
493 as_ln_s='cp -p' 543 as_ln_s='cp -pR'
494fi 544fi
495rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 545rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
496rmdir conf$$.dir 2>/dev/null 546rmdir conf$$.dir 2>/dev/null
@@ -502,28 +552,8 @@ else
502 as_mkdir_p=false 552 as_mkdir_p=false
503fi 553fi
504 554
505if test -x / >/dev/null 2>&1; then 555as_test_x='test -x'
506 as_test_x='test -x' 556as_executable_p=as_fn_executable_p
507else
508 if ls -dL / >/dev/null 2>&1; then
509 as_ls_L_option=L
510 else
511 as_ls_L_option=
512 fi
513 as_test_x='
514 eval sh -c '\''
515 if test -d "$1"; then
516 test -d "$1/.";
517 else
518 case $1 in #(
519 -*)set "./$1";;
520 esac;
521 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522 ???[sx]*):;;*)false;;esac;fi
523 '\'' sh
524 '
525fi
526as_executable_p=$as_test_x
527 557
528# Sed expression to map a string onto a valid CPP name. 558# Sed expression to map a string onto a valid CPP name.
529as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 559as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
@@ -534,10 +564,11 @@ as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
534SHELL=${CONFIG_SHELL-/bin/sh} 564SHELL=${CONFIG_SHELL-/bin/sh}
535 565
536 566
537exec 7<&0 </dev/null 6>&1 567test -n "$DJDIR" || exec 7<&0 </dev/null
568exec 6>&1
538 569
539# Name of the host. 570# Name of the host.
540# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 571# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
541# so uname gets run too. 572# so uname gets run too.
542ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 573ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
543 574
@@ -649,6 +680,10 @@ with_libiberty
649MAINT 680MAINT
650MAINTAINER_MODE_FALSE 681MAINTAINER_MODE_FALSE
651MAINTAINER_MODE_TRUE 682MAINTAINER_MODE_TRUE
683AM_BACKSLASH
684AM_DEFAULT_VERBOSITY
685AM_DEFAULT_V
686AM_V
652am__untar 687am__untar
653am__tar 688am__tar
654AMTAR 689AMTAR
@@ -730,6 +765,7 @@ ac_subst_files=''
730ac_user_opts=' 765ac_user_opts='
731enable_option_checking 766enable_option_checking
732with_build_libsubdir 767with_build_libsubdir
768enable_silent_rules
733enable_maintainer_mode 769enable_maintainer_mode
734with_libiberty 770with_libiberty
735enable_dependency_tracking 771enable_dependency_tracking
@@ -813,8 +849,9 @@ do
813 fi 849 fi
814 850
815 case $ac_option in 851 case $ac_option in
816 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 852 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
817 *) ac_optarg=yes ;; 853 *=) ac_optarg= ;;
854 *) ac_optarg=yes ;;
818 esac 855 esac
819 856
820 # Accept the important Cygnus configure options, so we can diagnose typos. 857 # Accept the important Cygnus configure options, so we can diagnose typos.
@@ -859,7 +896,7 @@ do
859 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 896 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
860 # Reject names that are not valid shell variable names. 897 # Reject names that are not valid shell variable names.
861 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 898 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
862 as_fn_error "invalid feature name: $ac_useropt" 899 as_fn_error $? "invalid feature name: $ac_useropt"
863 ac_useropt_orig=$ac_useropt 900 ac_useropt_orig=$ac_useropt
864 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 901 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
865 case $ac_user_opts in 902 case $ac_user_opts in
@@ -885,7 +922,7 @@ do
885 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 922 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
886 # Reject names that are not valid shell variable names. 923 # Reject names that are not valid shell variable names.
887 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 924 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
888 as_fn_error "invalid feature name: $ac_useropt" 925 as_fn_error $? "invalid feature name: $ac_useropt"
889 ac_useropt_orig=$ac_useropt 926 ac_useropt_orig=$ac_useropt
890 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 927 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
891 case $ac_user_opts in 928 case $ac_user_opts in
@@ -1089,7 +1126,7 @@ do
1089 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1126 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1090 # Reject names that are not valid shell variable names. 1127 # Reject names that are not valid shell variable names.
1091 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1128 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1092 as_fn_error "invalid package name: $ac_useropt" 1129 as_fn_error $? "invalid package name: $ac_useropt"
1093 ac_useropt_orig=$ac_useropt 1130 ac_useropt_orig=$ac_useropt
1094 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1131 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1095 case $ac_user_opts in 1132 case $ac_user_opts in
@@ -1105,7 +1142,7 @@ do
1105 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1142 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1106 # Reject names that are not valid shell variable names. 1143 # Reject names that are not valid shell variable names.
1107 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1144 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1108 as_fn_error "invalid package name: $ac_useropt" 1145 as_fn_error $? "invalid package name: $ac_useropt"
1109 ac_useropt_orig=$ac_useropt 1146 ac_useropt_orig=$ac_useropt
1110 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1147 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1111 case $ac_user_opts in 1148 case $ac_user_opts in
@@ -1135,8 +1172,8 @@ do
1135 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1172 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1136 x_libraries=$ac_optarg ;; 1173 x_libraries=$ac_optarg ;;
1137 1174
1138 -*) as_fn_error "unrecognized option: \`$ac_option' 1175 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1139Try \`$0 --help' for more information." 1176Try \`$0 --help' for more information"
1140 ;; 1177 ;;
1141 1178
1142 *=*) 1179 *=*)
@@ -1144,7 +1181,7 @@ Try \`$0 --help' for more information."
1144 # Reject names that are not valid shell variable names. 1181 # Reject names that are not valid shell variable names.
1145 case $ac_envvar in #( 1182 case $ac_envvar in #(
1146 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1183 '' | [0-9]* | *[!_$as_cr_alnum]* )
1147 as_fn_error "invalid variable name: \`$ac_envvar'" ;; 1184 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1148 esac 1185 esac
1149 eval $ac_envvar=\$ac_optarg 1186 eval $ac_envvar=\$ac_optarg
1150 export $ac_envvar ;; 1187 export $ac_envvar ;;
@@ -1154,7 +1191,7 @@ Try \`$0 --help' for more information."
1154 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1191 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1155 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1192 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1156 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1193 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1157 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1194 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1158 ;; 1195 ;;
1159 1196
1160 esac 1197 esac
@@ -1162,13 +1199,13 @@ done
1162 1199
1163if test -n "$ac_prev"; then 1200if test -n "$ac_prev"; then
1164 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1201 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1165 as_fn_error "missing argument to $ac_option" 1202 as_fn_error $? "missing argument to $ac_option"
1166fi 1203fi
1167 1204
1168if test -n "$ac_unrecognized_opts"; then 1205if test -n "$ac_unrecognized_opts"; then
1169 case $enable_option_checking in 1206 case $enable_option_checking in
1170 no) ;; 1207 no) ;;
1171 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; 1208 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1172 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1209 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1173 esac 1210 esac
1174fi 1211fi
@@ -1191,7 +1228,7 @@ do
1191 [\\/$]* | ?:[\\/]* ) continue;; 1228 [\\/$]* | ?:[\\/]* ) continue;;
1192 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1229 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1193 esac 1230 esac
1194 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" 1231 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1195done 1232done
1196 1233
1197# There might be people who depend on the old broken behavior: `$host' 1234# There might be people who depend on the old broken behavior: `$host'
@@ -1205,8 +1242,6 @@ target=$target_alias
1205if test "x$host_alias" != x; then 1242if test "x$host_alias" != x; then
1206 if test "x$build_alias" = x; then 1243 if test "x$build_alias" = x; then
1207 cross_compiling=maybe 1244 cross_compiling=maybe
1208 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1209 If a cross compiler is detected then cross compile mode will be used." >&2
1210 elif test "x$build_alias" != "x$host_alias"; then 1245 elif test "x$build_alias" != "x$host_alias"; then
1211 cross_compiling=yes 1246 cross_compiling=yes
1212 fi 1247 fi
@@ -1221,9 +1256,9 @@ test "$silent" = yes && exec 6>/dev/null
1221ac_pwd=`pwd` && test -n "$ac_pwd" && 1256ac_pwd=`pwd` && test -n "$ac_pwd" &&
1222ac_ls_di=`ls -di .` && 1257ac_ls_di=`ls -di .` &&
1223ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1258ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1224 as_fn_error "working directory cannot be determined" 1259 as_fn_error $? "working directory cannot be determined"
1225test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1260test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1226 as_fn_error "pwd does not report name of working directory" 1261 as_fn_error $? "pwd does not report name of working directory"
1227 1262
1228 1263
1229# Find the source files, if location was not specified. 1264# Find the source files, if location was not specified.
@@ -1262,11 +1297,11 @@ else
1262fi 1297fi
1263if test ! -r "$srcdir/$ac_unique_file"; then 1298if test ! -r "$srcdir/$ac_unique_file"; then
1264 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1299 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1265 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" 1300 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1266fi 1301fi
1267ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1302ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1268ac_abs_confdir=`( 1303ac_abs_confdir=`(
1269 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" 1304 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1270 pwd)` 1305 pwd)`
1271# When building in place, set srcdir=. 1306# When building in place, set srcdir=.
1272if test "$ac_abs_confdir" = "$ac_pwd"; then 1307if test "$ac_abs_confdir" = "$ac_pwd"; then
@@ -1306,7 +1341,7 @@ Configuration:
1306 --help=short display options specific to this package 1341 --help=short display options specific to this package
1307 --help=recursive display the short help of all the included packages 1342 --help=recursive display the short help of all the included packages
1308 -V, --version display version information and exit 1343 -V, --version display version information and exit
1309 -q, --quiet, --silent do not print \`checking...' messages 1344 -q, --quiet, --silent do not print \`checking ...' messages
1310 --cache-file=FILE cache test results in FILE [disabled] 1345 --cache-file=FILE cache test results in FILE [disabled]
1311 -C, --config-cache alias for \`--cache-file=config.cache' 1346 -C, --config-cache alias for \`--cache-file=config.cache'
1312 -n, --no-create do not create output files 1347 -n, --no-create do not create output files
@@ -1371,10 +1406,15 @@ Optional Features:
1371 --disable-option-checking ignore unrecognized --enable/--with options 1406 --disable-option-checking ignore unrecognized --enable/--with options
1372 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1407 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1373 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1408 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1374 --enable-maintainer-mode enable make rules and dependencies not useful 1409 --enable-silent-rules less verbose build output (undo: "make V=1")
1375 (and sometimes confusing) to the casual installer 1410 --disable-silent-rules verbose build output (undo: "make V=0")
1376 --disable-dependency-tracking speeds up one-time build 1411 --enable-maintainer-mode
1377 --enable-dependency-tracking do not reject slow dependency extractors 1412 enable make rules and dependencies not useful (and
1413 sometimes confusing) to the casual installer
1414 --enable-dependency-tracking
1415 do not reject slow dependency extractors
1416 --disable-dependency-tracking
1417 speeds up one-time build
1378 --disable-largefile omit support for large files 1418 --disable-largefile omit support for large files
1379 --enable-shared[=PKGS] build shared libraries [default=yes] 1419 --enable-shared[=PKGS] build shared libraries [default=yes]
1380 --enable-static[=PKGS] build static libraries [default=yes] 1420 --enable-static[=PKGS] build static libraries [default=yes]
@@ -1400,7 +1440,7 @@ Some influential environment variables:
1400 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1440 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1401 nonstandard directory <lib dir> 1441 nonstandard directory <lib dir>
1402 LIBS libraries to pass to the linker, e.g. -l<library> 1442 LIBS libraries to pass to the linker, e.g. -l<library>
1403 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1443 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1404 you have headers in a nonstandard directory <include dir> 1444 you have headers in a nonstandard directory <include dir>
1405 CPP C preprocessor 1445 CPP C preprocessor
1406 1446
@@ -1471,9 +1511,9 @@ test -n "$ac_init_help" && exit $ac_status
1471if $ac_init_version; then 1511if $ac_init_version; then
1472 cat <<\_ACEOF 1512 cat <<\_ACEOF
1473LTO plugin for ld configure 0.1 1513LTO plugin for ld configure 0.1
1474generated by GNU Autoconf 2.64 1514generated by GNU Autoconf 2.69
1475 1515
1476Copyright (C) 2009 Free Software Foundation, Inc. 1516Copyright (C) 2012 Free Software Foundation, Inc.
1477This configure script is free software; the Free Software Foundation 1517This configure script is free software; the Free Software Foundation
1478gives unlimited permission to copy, distribute and modify it. 1518gives unlimited permission to copy, distribute and modify it.
1479_ACEOF 1519_ACEOF
@@ -1517,8 +1557,8 @@ sed 's/^/| /' conftest.$ac_ext >&5
1517 1557
1518 ac_retval=1 1558 ac_retval=1
1519fi 1559fi
1520 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1560 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1521 return $ac_retval 1561 as_fn_set_status $ac_retval
1522 1562
1523} # ac_fn_c_try_compile 1563} # ac_fn_c_try_compile
1524 1564
@@ -1543,7 +1583,7 @@ $as_echo "$ac_try_echo"; } >&5
1543 mv -f conftest.er1 conftest.err 1583 mv -f conftest.er1 conftest.err
1544 fi 1584 fi
1545 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1585 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1546 test $ac_status = 0; } >/dev/null && { 1586 test $ac_status = 0; } > conftest.i && {
1547 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1587 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1548 test ! -s conftest.err 1588 test ! -s conftest.err
1549 }; then : 1589 }; then :
@@ -1554,8 +1594,8 @@ sed 's/^/| /' conftest.$ac_ext >&5
1554 1594
1555 ac_retval=1 1595 ac_retval=1
1556fi 1596fi
1557 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1597 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1558 return $ac_retval 1598 as_fn_set_status $ac_retval
1559 1599
1560} # ac_fn_c_try_cpp 1600} # ac_fn_c_try_cpp
1561 1601
@@ -1567,10 +1607,10 @@ fi
1567ac_fn_c_check_header_mongrel () 1607ac_fn_c_check_header_mongrel ()
1568{ 1608{
1569 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1609 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1570 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1610 if eval \${$3+:} false; then :
1571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1572$as_echo_n "checking for $2... " >&6; } 1612$as_echo_n "checking for $2... " >&6; }
1573if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1613if eval \${$3+:} false; then :
1574 $as_echo_n "(cached) " >&6 1614 $as_echo_n "(cached) " >&6
1575fi 1615fi
1576eval ac_res=\$$3 1616eval ac_res=\$$3
@@ -1606,7 +1646,7 @@ if ac_fn_c_try_cpp "$LINENO"; then :
1606else 1646else
1607 ac_header_preproc=no 1647 ac_header_preproc=no
1608fi 1648fi
1609rm -f conftest.err conftest.$ac_ext 1649rm -f conftest.err conftest.i conftest.$ac_ext
1610{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1650{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1611$as_echo "$ac_header_preproc" >&6; } 1651$as_echo "$ac_header_preproc" >&6; }
1612 1652
@@ -1633,7 +1673,7 @@ $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1633esac 1673esac
1634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1635$as_echo_n "checking for $2... " >&6; } 1675$as_echo_n "checking for $2... " >&6; }
1636if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1676if eval \${$3+:} false; then :
1637 $as_echo_n "(cached) " >&6 1677 $as_echo_n "(cached) " >&6
1638else 1678else
1639 eval "$3=\$ac_header_compiler" 1679 eval "$3=\$ac_header_compiler"
@@ -1642,7 +1682,7 @@ eval ac_res=\$$3
1642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1643$as_echo "$ac_res" >&6; } 1683$as_echo "$ac_res" >&6; }
1644fi 1684fi
1645 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1685 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1646 1686
1647} # ac_fn_c_check_header_mongrel 1687} # ac_fn_c_check_header_mongrel
1648 1688
@@ -1683,8 +1723,8 @@ sed 's/^/| /' conftest.$ac_ext >&5
1683 ac_retval=$ac_status 1723 ac_retval=$ac_status
1684fi 1724fi
1685 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1725 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1686 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1726 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1687 return $ac_retval 1727 as_fn_set_status $ac_retval
1688 1728
1689} # ac_fn_c_try_run 1729} # ac_fn_c_try_run
1690 1730
@@ -1697,7 +1737,7 @@ ac_fn_c_check_header_compile ()
1697 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1737 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1699$as_echo_n "checking for $2... " >&6; } 1739$as_echo_n "checking for $2... " >&6; }
1700if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1740if eval \${$3+:} false; then :
1701 $as_echo_n "(cached) " >&6 1741 $as_echo_n "(cached) " >&6
1702else 1742else
1703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -1715,7 +1755,7 @@ fi
1715eval ac_res=\$$3 1755eval ac_res=\$$3
1716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1717$as_echo "$ac_res" >&6; } 1757$as_echo "$ac_res" >&6; }
1718 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1758 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1719 1759
1720} # ac_fn_c_check_header_compile 1760} # ac_fn_c_check_header_compile
1721 1761
@@ -1746,7 +1786,7 @@ $as_echo "$ac_try_echo"; } >&5
1746 test ! -s conftest.err 1786 test ! -s conftest.err
1747 } && test -s conftest$ac_exeext && { 1787 } && test -s conftest$ac_exeext && {
1748 test "$cross_compiling" = yes || 1788 test "$cross_compiling" = yes ||
1749 $as_test_x conftest$ac_exeext 1789 test -x conftest$ac_exeext
1750 }; then : 1790 }; then :
1751 ac_retval=0 1791 ac_retval=0
1752else 1792else
@@ -1760,8 +1800,8 @@ fi
1760 # interfere with the next link command; also delete a directory that is 1800 # interfere with the next link command; also delete a directory that is
1761 # left behind by Apple's compiler. We do this before executing the actions. 1801 # left behind by Apple's compiler. We do this before executing the actions.
1762 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1802 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1763 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1803 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1764 return $ac_retval 1804 as_fn_set_status $ac_retval
1765 1805
1766} # ac_fn_c_try_link 1806} # ac_fn_c_try_link
1767 1807
@@ -1773,7 +1813,7 @@ ac_fn_c_check_func ()
1773 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1813 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1775$as_echo_n "checking for $2... " >&6; } 1815$as_echo_n "checking for $2... " >&6; }
1776if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1816if eval \${$3+:} false; then :
1777 $as_echo_n "(cached) " >&6 1817 $as_echo_n "(cached) " >&6
1778else 1818else
1779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -1828,7 +1868,7 @@ fi
1828eval ac_res=\$$3 1868eval ac_res=\$$3
1829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1830$as_echo "$ac_res" >&6; } 1870$as_echo "$ac_res" >&6; }
1831 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1871 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1832 1872
1833} # ac_fn_c_check_func 1873} # ac_fn_c_check_func
1834 1874
@@ -1841,20 +1881,24 @@ ac_fn_c_find_intX_t ()
1841 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1881 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5 1882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5
1843$as_echo_n "checking for int$2_t... " >&6; } 1883$as_echo_n "checking for int$2_t... " >&6; }
1844if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1884if eval \${$3+:} false; then :
1845 $as_echo_n "(cached) " >&6 1885 $as_echo_n "(cached) " >&6
1846else 1886else
1847 eval "$3=no" 1887 eval "$3=no"
1888 # Order is important - never check a type that is potentially smaller
1889 # than half of the expected target width.
1848 for ac_type in int$2_t 'int' 'long int' \ 1890 for ac_type in int$2_t 'int' 'long int' \
1849 'long long int' 'short int' 'signed char'; do 1891 'long long int' 'short int' 'signed char'; do
1850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1851/* end confdefs.h. */ 1893/* end confdefs.h. */
1852$ac_includes_default 1894$ac_includes_default
1895 enum { N = $2 / 2 - 1 };
1853int 1896int
1854main () 1897main ()
1855{ 1898{
1856static int test_array [1 - 2 * !(0 < ($ac_type) (((($ac_type) 1 << ($2 - 2)) - 1) * 2 + 1))]; 1899static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];
1857test_array [0] = 0 1900test_array [0] = 0;
1901return test_array [0];
1858 1902
1859 ; 1903 ;
1860 return 0; 1904 return 0;
@@ -1864,12 +1908,14 @@ if ac_fn_c_try_compile "$LINENO"; then :
1864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1865/* end confdefs.h. */ 1909/* end confdefs.h. */
1866$ac_includes_default 1910$ac_includes_default
1911 enum { N = $2 / 2 - 1 };
1867int 1912int
1868main () 1913main ()
1869{ 1914{
1870static int test_array [1 - 2 * !(($ac_type) (((($ac_type) 1 << ($2 - 2)) - 1) * 2 + 1) 1915static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
1871 < ($ac_type) (((($ac_type) 1 << ($2 - 2)) - 1) * 2 + 2))]; 1916 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))];
1872test_array [0] = 0 1917test_array [0] = 0;
1918return test_array [0];
1873 1919
1874 ; 1920 ;
1875 return 0; 1921 return 0;
@@ -1888,8 +1934,7 @@ fi
1888rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1934rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1889fi 1935fi
1890rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1936rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1891 eval as_val=\$$3 1937 if eval test \"x\$"$3"\" = x"no"; then :
1892 if test "x$as_val" = x""no; then :
1893 1938
1894else 1939else
1895 break 1940 break
@@ -1899,7 +1944,7 @@ fi
1899eval ac_res=\$$3 1944eval ac_res=\$$3
1900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1901$as_echo "$ac_res" >&6; } 1946$as_echo "$ac_res" >&6; }
1902 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1947 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1903 1948
1904} # ac_fn_c_find_intX_t 1949} # ac_fn_c_find_intX_t
1905 1950
@@ -1912,10 +1957,12 @@ ac_fn_c_find_uintX_t ()
1912 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1957 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5 1958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
1914$as_echo_n "checking for uint$2_t... " >&6; } 1959$as_echo_n "checking for uint$2_t... " >&6; }
1915if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1960if eval \${$3+:} false; then :
1916 $as_echo_n "(cached) " >&6 1961 $as_echo_n "(cached) " >&6
1917else 1962else
1918 eval "$3=no" 1963 eval "$3=no"
1964 # Order is important - never check a type that is potentially smaller
1965 # than half of the expected target width.
1919 for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \ 1966 for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
1920 'unsigned long long int' 'unsigned short int' 'unsigned char'; do 1967 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
1921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -1924,8 +1971,9 @@ $ac_includes_default
1924int 1971int
1925main () 1972main ()
1926{ 1973{
1927static int test_array [1 - 2 * !(($ac_type) -1 >> ($2 - 1) == 1)]; 1974static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
1928test_array [0] = 0 1975test_array [0] = 0;
1976return test_array [0];
1929 1977
1930 ; 1978 ;
1931 return 0; 1979 return 0;
@@ -1940,8 +1988,7 @@ if ac_fn_c_try_compile "$LINENO"; then :
1940esac 1988esac
1941fi 1989fi
1942rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1990rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1943 eval as_val=\$$3 1991 if eval test \"x\$"$3"\" = x"no"; then :
1944 if test "x$as_val" = x""no; then :
1945 1992
1946else 1993else
1947 break 1994 break
@@ -1951,7 +1998,7 @@ fi
1951eval ac_res=\$$3 1998eval ac_res=\$$3
1952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1953$as_echo "$ac_res" >&6; } 2000$as_echo "$ac_res" >&6; }
1954 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2001 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1955 2002
1956} # ac_fn_c_find_uintX_t 2003} # ac_fn_c_find_uintX_t
1957cat >config.log <<_ACEOF 2004cat >config.log <<_ACEOF
@@ -1959,7 +2006,7 @@ This file contains any messages produced by compilers while
1959running configure, to aid debugging if configure makes a mistake. 2006running configure, to aid debugging if configure makes a mistake.
1960 2007
1961It was created by LTO plugin for ld $as_me 0.1, which was 2008It was created by LTO plugin for ld $as_me 0.1, which was
1962generated by GNU Autoconf 2.64. Invocation command line was 2009generated by GNU Autoconf 2.69. Invocation command line was
1963 2010
1964 $ $0 $@ 2011 $ $0 $@
1965 2012
@@ -2069,11 +2116,9 @@ trap 'exit_status=$?
2069 { 2116 {
2070 echo 2117 echo
2071 2118
2072 cat <<\_ASBOX 2119 $as_echo "## ---------------- ##
2073## ---------------- ##
2074## Cache variables. ## 2120## Cache variables. ##
2075## ---------------- ## 2121## ---------------- ##"
2076_ASBOX
2077 echo 2122 echo
2078 # The following way of writing the cache mishandles newlines in values, 2123 # The following way of writing the cache mishandles newlines in values,
2079( 2124(
@@ -2107,11 +2152,9 @@ $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2107) 2152)
2108 echo 2153 echo
2109 2154
2110 cat <<\_ASBOX 2155 $as_echo "## ----------------- ##
2111## ----------------- ##
2112## Output variables. ## 2156## Output variables. ##
2113## ----------------- ## 2157## ----------------- ##"
2114_ASBOX
2115 echo 2158 echo
2116 for ac_var in $ac_subst_vars 2159 for ac_var in $ac_subst_vars
2117 do 2160 do
@@ -2124,11 +2167,9 @@ _ASBOX
2124 echo 2167 echo
2125 2168
2126 if test -n "$ac_subst_files"; then 2169 if test -n "$ac_subst_files"; then
2127 cat <<\_ASBOX 2170 $as_echo "## ------------------- ##
2128## ------------------- ##
2129## File substitutions. ## 2171## File substitutions. ##
2130## ------------------- ## 2172## ------------------- ##"
2131_ASBOX
2132 echo 2173 echo
2133 for ac_var in $ac_subst_files 2174 for ac_var in $ac_subst_files
2134 do 2175 do
@@ -2142,11 +2183,9 @@ _ASBOX
2142 fi 2183 fi
2143 2184
2144 if test -s confdefs.h; then 2185 if test -s confdefs.h; then
2145 cat <<\_ASBOX 2186 $as_echo "## ----------- ##
2146## ----------- ##
2147## confdefs.h. ## 2187## confdefs.h. ##
2148## ----------- ## 2188## ----------- ##"
2149_ASBOX
2150 echo 2189 echo
2151 cat confdefs.h 2190 cat confdefs.h
2152 echo 2191 echo
@@ -2201,7 +2240,12 @@ _ACEOF
2201ac_site_file1=NONE 2240ac_site_file1=NONE
2202ac_site_file2=NONE 2241ac_site_file2=NONE
2203if test -n "$CONFIG_SITE"; then 2242if test -n "$CONFIG_SITE"; then
2204 ac_site_file1=$CONFIG_SITE 2243 # We do not want a PATH search for config.site.
2244 case $CONFIG_SITE in #((
2245 -*) ac_site_file1=./$CONFIG_SITE;;
2246 */*) ac_site_file1=$CONFIG_SITE;;
2247 *) ac_site_file1=./$CONFIG_SITE;;
2248 esac
2205elif test "x$prefix" != xNONE; then 2249elif test "x$prefix" != xNONE; then
2206 ac_site_file1=$prefix/share/config.site 2250 ac_site_file1=$prefix/share/config.site
2207 ac_site_file2=$prefix/etc/config.site 2251 ac_site_file2=$prefix/etc/config.site
@@ -2212,18 +2256,22 @@ fi
2212for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2256for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2213do 2257do
2214 test "x$ac_site_file" = xNONE && continue 2258 test "x$ac_site_file" = xNONE && continue
2215 if test -r "$ac_site_file"; then 2259 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2216 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2260 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2217$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2261$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2218 sed 's/^/| /' "$ac_site_file" >&5 2262 sed 's/^/| /' "$ac_site_file" >&5
2219 . "$ac_site_file" 2263 . "$ac_site_file" \
2264 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2265$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2266as_fn_error $? "failed to load site script $ac_site_file
2267See \`config.log' for more details" "$LINENO" 5; }
2220 fi 2268 fi
2221done 2269done
2222 2270
2223if test -r "$cache_file"; then 2271if test -r "$cache_file"; then
2224 # Some versions of bash will fail to source /dev/null (special 2272 # Some versions of bash will fail to source /dev/null (special files
2225 # files actually), so we avoid doing that. 2273 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2226 if test -f "$cache_file"; then 2274 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2227 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2275 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2228$as_echo "$as_me: loading cache $cache_file" >&6;} 2276$as_echo "$as_me: loading cache $cache_file" >&6;}
2229 case $cache_file in 2277 case $cache_file in
@@ -2292,7 +2340,7 @@ if $ac_cache_corrupted; then
2292$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2340$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2293 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2341 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2294$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2342$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2295 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2343 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2296fi 2344fi
2297## -------------------- ## 2345## -------------------- ##
2298## Main body of script. ## 2346## Main body of script. ##
@@ -2310,16 +2358,22 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
2310 2358
2311ac_aux_dir= 2359ac_aux_dir=
2312for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2360for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2313 for ac_t in install-sh install.sh shtool; do 2361 if test -f "$ac_dir/install-sh"; then
2314 if test -f "$ac_dir/$ac_t"; then 2362 ac_aux_dir=$ac_dir
2315 ac_aux_dir=$ac_dir 2363 ac_install_sh="$ac_aux_dir/install-sh -c"
2316 ac_install_sh="$ac_aux_dir/$ac_t -c" 2364 break
2317 break 2 2365 elif test -f "$ac_dir/install.sh"; then
2318 fi 2366 ac_aux_dir=$ac_dir
2319 done 2367 ac_install_sh="$ac_aux_dir/install.sh -c"
2368 break
2369 elif test -f "$ac_dir/shtool"; then
2370 ac_aux_dir=$ac_dir
2371 ac_install_sh="$ac_aux_dir/shtool install -c"
2372 break
2373 fi
2320done 2374done
2321if test -z "$ac_aux_dir"; then 2375if test -z "$ac_aux_dir"; then
2322 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2376 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2323fi 2377fi
2324 2378
2325# These three variables are undocumented and unsupported, 2379# These three variables are undocumented and unsupported,
@@ -2333,27 +2387,27 @@ ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2333 2387
2334# Make sure we can run config.sub. 2388# Make sure we can run config.sub.
2335$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2389$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2336 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 2390 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2337 2391
2338{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 2392{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2339$as_echo_n "checking build system type... " >&6; } 2393$as_echo_n "checking build system type... " >&6; }
2340if test "${ac_cv_build+set}" = set; then : 2394if ${ac_cv_build+:} false; then :
2341 $as_echo_n "(cached) " >&6 2395 $as_echo_n "(cached) " >&6
2342else 2396else
2343 ac_build_alias=$build_alias 2397 ac_build_alias=$build_alias
2344test "x$ac_build_alias" = x && 2398test "x$ac_build_alias" = x &&
2345 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 2399 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2346test "x$ac_build_alias" = x && 2400test "x$ac_build_alias" = x &&
2347 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 2401 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2348ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 2402ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2349 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 2403 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2350 2404
2351fi 2405fi
2352{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 2406{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2353$as_echo "$ac_cv_build" >&6; } 2407$as_echo "$ac_cv_build" >&6; }
2354case $ac_cv_build in 2408case $ac_cv_build in
2355*-*-*) ;; 2409*-*-*) ;;
2356*) as_fn_error "invalid value of canonical build" "$LINENO" 5;; 2410*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2357esac 2411esac
2358build=$ac_cv_build 2412build=$ac_cv_build
2359ac_save_IFS=$IFS; IFS='-' 2413ac_save_IFS=$IFS; IFS='-'
@@ -2371,14 +2425,14 @@ case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2371 2425
2372{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 2426{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2373$as_echo_n "checking host system type... " >&6; } 2427$as_echo_n "checking host system type... " >&6; }
2374if test "${ac_cv_host+set}" = set; then : 2428if ${ac_cv_host+:} false; then :
2375 $as_echo_n "(cached) " >&6 2429 $as_echo_n "(cached) " >&6
2376else 2430else
2377 if test "x$host_alias" = x; then 2431 if test "x$host_alias" = x; then
2378 ac_cv_host=$ac_cv_build 2432 ac_cv_host=$ac_cv_build
2379else 2433else
2380 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 2434 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2381 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 2435 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2382fi 2436fi
2383 2437
2384fi 2438fi
@@ -2386,7 +2440,7 @@ fi
2386$as_echo "$ac_cv_host" >&6; } 2440$as_echo "$ac_cv_host" >&6; }
2387case $ac_cv_host in 2441case $ac_cv_host in
2388*-*-*) ;; 2442*-*-*) ;;
2389*) as_fn_error "invalid value of canonical host" "$LINENO" 5;; 2443*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2390esac 2444esac
2391host=$ac_cv_host 2445host=$ac_cv_host
2392ac_save_IFS=$IFS; IFS='-' 2446ac_save_IFS=$IFS; IFS='-'
@@ -2404,14 +2458,14 @@ case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2404 2458
2405{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 2459{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2406$as_echo_n "checking target system type... " >&6; } 2460$as_echo_n "checking target system type... " >&6; }
2407if test "${ac_cv_target+set}" = set; then : 2461if ${ac_cv_target+:} false; then :
2408 $as_echo_n "(cached) " >&6 2462 $as_echo_n "(cached) " >&6
2409else 2463else
2410 if test "x$target_alias" = x; then 2464 if test "x$target_alias" = x; then
2411 ac_cv_target=$ac_cv_host 2465 ac_cv_target=$ac_cv_host
2412else 2466else
2413 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 2467 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2414 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 2468 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2415fi 2469fi
2416 2470
2417fi 2471fi
@@ -2419,7 +2473,7 @@ fi
2419$as_echo "$ac_cv_target" >&6; } 2473$as_echo "$ac_cv_target" >&6; }
2420case $ac_cv_target in 2474case $ac_cv_target in
2421*-*-*) ;; 2475*-*-*) ;;
2422*) as_fn_error "invalid value of canonical target" "$LINENO" 5;; 2476*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2423esac 2477esac
2424target=$ac_cv_target 2478target=$ac_cv_target
2425ac_save_IFS=$IFS; IFS='-' 2479ac_save_IFS=$IFS; IFS='-'
@@ -2487,7 +2541,7 @@ fi
2487# No prefix. 2541# No prefix.
2488target_subdir=${target_noncanonical} 2542target_subdir=${target_noncanonical}
2489 2543
2490am__api_version='1.11' 2544am__api_version='1.15'
2491 2545
2492# Find a good install program. We prefer a C program (faster), 2546# Find a good install program. We prefer a C program (faster),
2493# so one script is as good as another. But avoid the broken or 2547# so one script is as good as another. But avoid the broken or
@@ -2506,7 +2560,7 @@ am__api_version='1.11'
2506{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2560{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2507$as_echo_n "checking for a BSD-compatible install... " >&6; } 2561$as_echo_n "checking for a BSD-compatible install... " >&6; }
2508if test -z "$INSTALL"; then 2562if test -z "$INSTALL"; then
2509if test "${ac_cv_path_install+set}" = set; then : 2563if ${ac_cv_path_install+:} false; then :
2510 $as_echo_n "(cached) " >&6 2564 $as_echo_n "(cached) " >&6
2511else 2565else
2512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -2526,7 +2580,7 @@ case $as_dir/ in #((
2526 # by default. 2580 # by default.
2527 for ac_prog in ginstall scoinst install; do 2581 for ac_prog in ginstall scoinst install; do
2528 for ac_exec_ext in '' $ac_executable_extensions; do 2582 for ac_exec_ext in '' $ac_executable_extensions; do
2529 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 2583 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2530 if test $ac_prog = install && 2584 if test $ac_prog = install &&
2531 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2585 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2532 # AIX install. It has an incompatible calling convention. 2586 # AIX install. It has an incompatible calling convention.
@@ -2584,56 +2638,71 @@ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2584 2638
2585{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2639{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2586$as_echo_n "checking whether build environment is sane... " >&6; } 2640$as_echo_n "checking whether build environment is sane... " >&6; }
2587# Just in case
2588sleep 1
2589echo timestamp > conftest.file
2590# Reject unsafe characters in $srcdir or the absolute working directory 2641# Reject unsafe characters in $srcdir or the absolute working directory
2591# name. Accept space and tab only in the latter. 2642# name. Accept space and tab only in the latter.
2592am_lf=' 2643am_lf='
2593' 2644'
2594case `pwd` in 2645case `pwd` in
2595 *[\\\"\#\$\&\'\`$am_lf]*) 2646 *[\\\"\#\$\&\'\`$am_lf]*)
2596 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;; 2647 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2597esac 2648esac
2598case $srcdir in 2649case $srcdir in
2599 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2650 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2600 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; 2651 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2601esac 2652esac
2602 2653
2603# Do `set' in a subshell so we don't clobber the current shell's 2654# Do 'set' in a subshell so we don't clobber the current shell's
2604# arguments. Must try -L first in case configure is actually a 2655# arguments. Must try -L first in case configure is actually a
2605# symlink; some systems play weird games with the mod time of symlinks 2656# symlink; some systems play weird games with the mod time of symlinks
2606# (eg FreeBSD returns the mod time of the symlink's containing 2657# (eg FreeBSD returns the mod time of the symlink's containing
2607# directory). 2658# directory).
2608if ( 2659if (
2609 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2660 am_has_slept=no
2610 if test "$*" = "X"; then 2661 for am_try in 1 2; do
2611 # -L didn't work. 2662 echo "timestamp, slept: $am_has_slept" > conftest.file
2612 set X `ls -t "$srcdir/configure" conftest.file` 2663 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2613 fi 2664 if test "$*" = "X"; then
2614 rm -f conftest.file 2665 # -L didn't work.
2615 if test "$*" != "X $srcdir/configure conftest.file" \ 2666 set X `ls -t "$srcdir/configure" conftest.file`
2616 && test "$*" != "X conftest.file $srcdir/configure"; then 2667 fi
2617 2668 if test "$*" != "X $srcdir/configure conftest.file" \
2618 # If neither matched, then we have a broken ls. This can happen 2669 && test "$*" != "X conftest.file $srcdir/configure"; then
2619 # if, for instance, CONFIG_SHELL is bash and it inherits a 2670
2620 # broken ls alias from the environment. This has actually 2671 # If neither matched, then we have a broken ls. This can happen
2621 # happened. Such a system could not be considered "sane". 2672 # if, for instance, CONFIG_SHELL is bash and it inherits a
2622 as_fn_error "ls -t appears to fail. Make sure there is not a broken 2673 # broken ls alias from the environment. This has actually
2623alias in your environment" "$LINENO" 5 2674 # happened. Such a system could not be considered "sane".
2624 fi 2675 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2625 2676 alias in your environment" "$LINENO" 5
2677 fi
2678 if test "$2" = conftest.file || test $am_try -eq 2; then
2679 break
2680 fi
2681 # Just in case.
2682 sleep 1
2683 am_has_slept=yes
2684 done
2626 test "$2" = conftest.file 2685 test "$2" = conftest.file
2627 ) 2686 )
2628then 2687then
2629 # Ok. 2688 # Ok.
2630 : 2689 :
2631else 2690else
2632 as_fn_error "newly created file is older than distributed files! 2691 as_fn_error $? "newly created file is older than distributed files!
2633Check your system clock" "$LINENO" 5 2692Check your system clock" "$LINENO" 5
2634fi 2693fi
2635{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2694{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2636$as_echo "yes" >&6; } 2695$as_echo "yes" >&6; }
2696# If we didn't sleep, we still need to ensure time stamps of config.status and
2697# generated files are strictly newer.
2698am_sleep_pid=
2699if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2700 ( sleep 1 ) &
2701 am_sleep_pid=$!
2702fi
2703
2704rm -f conftest.file
2705
2637test "$program_prefix" != NONE && 2706test "$program_prefix" != NONE &&
2638 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2707 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2639# Use a double $ so make ignores it. 2708# Use a double $ so make ignores it.
@@ -2644,8 +2713,8 @@ test "$program_suffix" != NONE &&
2644ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2713ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2645program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2714program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2646 2715
2647# expand $ac_aux_dir to an absolute path 2716# Expand $ac_aux_dir to an absolute path.
2648am_aux_dir=`cd $ac_aux_dir && pwd` 2717am_aux_dir=`cd "$ac_aux_dir" && pwd`
2649 2718
2650if test x"${MISSING+set}" != xset; then 2719if test x"${MISSING+set}" != xset; then
2651 case $am_aux_dir in 2720 case $am_aux_dir in
@@ -2656,15 +2725,15 @@ if test x"${MISSING+set}" != xset; then
2656 esac 2725 esac
2657fi 2726fi
2658# Use eval to expand $SHELL 2727# Use eval to expand $SHELL
2659if eval "$MISSING --run true"; then 2728if eval "$MISSING --is-lightweight"; then
2660 am_missing_run="$MISSING --run " 2729 am_missing_run="$MISSING "
2661else 2730else
2662 am_missing_run= 2731 am_missing_run=
2663 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 2732 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2664$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 2733$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2665fi 2734fi
2666 2735
2667if test x"${install_sh}" != xset; then 2736if test x"${install_sh+set}" != xset; then
2668 case $am_aux_dir in 2737 case $am_aux_dir in
2669 *\ * | *\ *) 2738 *\ * | *\ *)
2670 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2739 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
@@ -2673,17 +2742,17 @@ if test x"${install_sh}" != xset; then
2673 esac 2742 esac
2674fi 2743fi
2675 2744
2676# Installed binaries are usually stripped using `strip' when the user 2745# Installed binaries are usually stripped using 'strip' when the user
2677# run `make install-strip'. However `strip' might not be the right 2746# run "make install-strip". However 'strip' might not be the right
2678# tool to use in cross-compilation environments, therefore Automake 2747# tool to use in cross-compilation environments, therefore Automake
2679# will honor the `STRIP' environment variable to overrule this program. 2748# will honor the 'STRIP' environment variable to overrule this program.
2680if test "$cross_compiling" != no; then 2749if test "$cross_compiling" != no; then
2681 if test -n "$ac_tool_prefix"; then 2750 if test -n "$ac_tool_prefix"; then
2682 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2751 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2683set dummy ${ac_tool_prefix}strip; ac_word=$2 2752set dummy ${ac_tool_prefix}strip; ac_word=$2
2684{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2753{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2685$as_echo_n "checking for $ac_word... " >&6; } 2754$as_echo_n "checking for $ac_word... " >&6; }
2686if test "${ac_cv_prog_STRIP+set}" = set; then : 2755if ${ac_cv_prog_STRIP+:} false; then :
2687 $as_echo_n "(cached) " >&6 2756 $as_echo_n "(cached) " >&6
2688else 2757else
2689 if test -n "$STRIP"; then 2758 if test -n "$STRIP"; then
@@ -2695,7 +2764,7 @@ do
2695 IFS=$as_save_IFS 2764 IFS=$as_save_IFS
2696 test -z "$as_dir" && as_dir=. 2765 test -z "$as_dir" && as_dir=.
2697 for ac_exec_ext in '' $ac_executable_extensions; do 2766 for ac_exec_ext in '' $ac_executable_extensions; do
2698 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2767 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2699 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2768 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2700 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2769 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2701 break 2 2770 break 2
@@ -2723,7 +2792,7 @@ if test -z "$ac_cv_prog_STRIP"; then
2723set dummy strip; ac_word=$2 2792set dummy strip; ac_word=$2
2724{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2793{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2725$as_echo_n "checking for $ac_word... " >&6; } 2794$as_echo_n "checking for $ac_word... " >&6; }
2726if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : 2795if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2727 $as_echo_n "(cached) " >&6 2796 $as_echo_n "(cached) " >&6
2728else 2797else
2729 if test -n "$ac_ct_STRIP"; then 2798 if test -n "$ac_ct_STRIP"; then
@@ -2735,7 +2804,7 @@ do
2735 IFS=$as_save_IFS 2804 IFS=$as_save_IFS
2736 test -z "$as_dir" && as_dir=. 2805 test -z "$as_dir" && as_dir=.
2737 for ac_exec_ext in '' $ac_executable_extensions; do 2806 for ac_exec_ext in '' $ac_executable_extensions; do
2738 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2807 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2739 ac_cv_prog_ac_ct_STRIP="strip" 2808 ac_cv_prog_ac_ct_STRIP="strip"
2740 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2809 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2741 break 2 2810 break 2
@@ -2776,7 +2845,7 @@ INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2776{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2845{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2777$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2846$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2778if test -z "$MKDIR_P"; then 2847if test -z "$MKDIR_P"; then
2779 if test "${ac_cv_path_mkdir+set}" = set; then : 2848 if ${ac_cv_path_mkdir+:} false; then :
2780 $as_echo_n "(cached) " >&6 2849 $as_echo_n "(cached) " >&6
2781else 2850else
2782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -2786,7 +2855,7 @@ do
2786 test -z "$as_dir" && as_dir=. 2855 test -z "$as_dir" && as_dir=.
2787 for ac_prog in mkdir gmkdir; do 2856 for ac_prog in mkdir gmkdir; do
2788 for ac_exec_ext in '' $ac_executable_extensions; do 2857 for ac_exec_ext in '' $ac_executable_extensions; do
2789 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 2858 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2790 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2859 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2791 'mkdir (GNU coreutils) '* | \ 2860 'mkdir (GNU coreutils) '* | \
2792 'mkdir (coreutils) '* | \ 2861 'mkdir (coreutils) '* | \
@@ -2801,6 +2870,7 @@ IFS=$as_save_IFS
2801 2870
2802fi 2871fi
2803 2872
2873 test -d ./--version && rmdir ./--version
2804 if test "${ac_cv_path_mkdir+set}" = set; then 2874 if test "${ac_cv_path_mkdir+set}" = set; then
2805 MKDIR_P="$ac_cv_path_mkdir -p" 2875 MKDIR_P="$ac_cv_path_mkdir -p"
2806 else 2876 else
@@ -2808,26 +2878,19 @@ fi
2808 # value for MKDIR_P within a source directory, because that will 2878 # value for MKDIR_P within a source directory, because that will
2809 # break other packages using the cache if that directory is 2879 # break other packages using the cache if that directory is
2810 # removed, or if the value is a relative name. 2880 # removed, or if the value is a relative name.
2811 test -d ./--version && rmdir ./--version
2812 MKDIR_P="$ac_install_sh -d" 2881 MKDIR_P="$ac_install_sh -d"
2813 fi 2882 fi
2814fi 2883fi
2815{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2884{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2816$as_echo "$MKDIR_P" >&6; } 2885$as_echo "$MKDIR_P" >&6; }
2817 2886
2818mkdir_p="$MKDIR_P"
2819case $mkdir_p in
2820 [\\/$]* | ?:[\\/]*) ;;
2821 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2822esac
2823
2824for ac_prog in gawk mawk nawk awk 2887for ac_prog in gawk mawk nawk awk
2825do 2888do
2826 # Extract the first word of "$ac_prog", so it can be a program name with args. 2889 # Extract the first word of "$ac_prog", so it can be a program name with args.
2827set dummy $ac_prog; ac_word=$2 2890set dummy $ac_prog; ac_word=$2
2828{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2891{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2829$as_echo_n "checking for $ac_word... " >&6; } 2892$as_echo_n "checking for $ac_word... " >&6; }
2830if test "${ac_cv_prog_AWK+set}" = set; then : 2893if ${ac_cv_prog_AWK+:} false; then :
2831 $as_echo_n "(cached) " >&6 2894 $as_echo_n "(cached) " >&6
2832else 2895else
2833 if test -n "$AWK"; then 2896 if test -n "$AWK"; then
@@ -2839,7 +2902,7 @@ do
2839 IFS=$as_save_IFS 2902 IFS=$as_save_IFS
2840 test -z "$as_dir" && as_dir=. 2903 test -z "$as_dir" && as_dir=.
2841 for ac_exec_ext in '' $ac_executable_extensions; do 2904 for ac_exec_ext in '' $ac_executable_extensions; do
2842 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2905 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2843 ac_cv_prog_AWK="$ac_prog" 2906 ac_cv_prog_AWK="$ac_prog"
2844 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2907 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2845 break 2 2908 break 2
@@ -2867,7 +2930,7 @@ done
2867$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2930$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2868set x ${MAKE-make} 2931set x ${MAKE-make}
2869ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2932ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2870if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : 2933if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2871 $as_echo_n "(cached) " >&6 2934 $as_echo_n "(cached) " >&6
2872else 2935else
2873 cat >conftest.make <<\_ACEOF 2936 cat >conftest.make <<\_ACEOF
@@ -2875,7 +2938,7 @@ SHELL = /bin/sh
2875all: 2938all:
2876 @echo '@@@%%%=$(MAKE)=@@@%%%' 2939 @echo '@@@%%%=$(MAKE)=@@@%%%'
2877_ACEOF 2940_ACEOF
2878# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 2941# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2879case `${MAKE-make} -f conftest.make 2>/dev/null` in 2942case `${MAKE-make} -f conftest.make 2>/dev/null` in
2880 *@@@%%%=?*=@@@%%%*) 2943 *@@@%%%=?*=@@@%%%*)
2881 eval ac_cv_prog_make_${ac_make}_set=yes;; 2944 eval ac_cv_prog_make_${ac_make}_set=yes;;
@@ -2903,13 +2966,52 @@ else
2903fi 2966fi
2904rmdir .tst 2>/dev/null 2967rmdir .tst 2>/dev/null
2905 2968
2969# Check whether --enable-silent-rules was given.
2970if test "${enable_silent_rules+set}" = set; then :
2971 enableval=$enable_silent_rules;
2972fi
2973
2974case $enable_silent_rules in # (((
2975 yes) AM_DEFAULT_VERBOSITY=0;;
2976 no) AM_DEFAULT_VERBOSITY=1;;
2977 *) AM_DEFAULT_VERBOSITY=1;;
2978esac
2979am_make=${MAKE-make}
2980{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2981$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2982if ${am_cv_make_support_nested_variables+:} false; then :
2983 $as_echo_n "(cached) " >&6
2984else
2985 if $as_echo 'TRUE=$(BAR$(V))
2986BAR0=false
2987BAR1=true
2988V=1
2989am__doit:
2990 @$(TRUE)
2991.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2992 am_cv_make_support_nested_variables=yes
2993else
2994 am_cv_make_support_nested_variables=no
2995fi
2996fi
2997{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2998$as_echo "$am_cv_make_support_nested_variables" >&6; }
2999if test $am_cv_make_support_nested_variables = yes; then
3000 AM_V='$(V)'
3001 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3002else
3003 AM_V=$AM_DEFAULT_VERBOSITY
3004 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3005fi
3006AM_BACKSLASH='\'
3007
2906if test "`cd $srcdir && pwd`" != "`pwd`"; then 3008if test "`cd $srcdir && pwd`" != "`pwd`"; then
2907 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 3009 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2908 # is not polluted with repeated "-I." 3010 # is not polluted with repeated "-I."
2909 am__isrc=' -I$(srcdir)' 3011 am__isrc=' -I$(srcdir)'
2910 # test to see if srcdir already configured 3012 # test to see if srcdir already configured
2911 if test -f $srcdir/config.status; then 3013 if test -f $srcdir/config.status; then
2912 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 3014 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2913 fi 3015 fi
2914fi 3016fi
2915 3017
@@ -2953,12 +3055,22 @@ AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2953 3055
2954MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 3056MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2955 3057
2956# We need awk for the "check" target. The system "awk" is bad on 3058# For better backward compatibility. To be removed once Automake 1.9.x
2957# some platforms. 3059# dies out for good. For more background, see:
3060# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3061# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3062mkdir_p='$(MKDIR_P)'
3063
3064# We need awk for the "check" target (and possibly the TAP driver). The
3065# system "awk" is bad on some platforms.
2958# Always define AMTAR for backward compatibility. Yes, it's still used 3066# Always define AMTAR for backward compatibility. Yes, it's still used
2959# in the wild :-( We should find a proper way to deprecate it ... 3067# in the wild :-( We should find a proper way to deprecate it ...
2960AMTAR='$${TAR-tar}' 3068AMTAR='$${TAR-tar}'
2961 3069
3070
3071# We'll loop over all known methods to create a tar archive until one works.
3072_am_tools='gnutar pax cpio none'
3073
2962am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 3074am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2963 3075
2964 3076
@@ -2966,6 +3078,49 @@ am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2966 3078
2967 3079
2968 3080
3081# POSIX will say in a future version that running "rm -f" with no argument
3082# is OK; and we want to be able to make that assumption in our Makefile
3083# recipes. So use an aggressive probe to check that the usage we want is
3084# actually supported "in the wild" to an acceptable degree.
3085# See automake bug#10828.
3086# To make any issue more visible, cause the running configure to be aborted
3087# by default if the 'rm' program in use doesn't match our expectations; the
3088# user can still override this though.
3089if rm -f && rm -fr && rm -rf; then : OK; else
3090 cat >&2 <<'END'
3091Oops!
3092
3093Your 'rm' program seems unable to run without file operands specified
3094on the command line, even when the '-f' option is present. This is contrary
3095to the behaviour of most rm programs out there, and not conforming with
3096the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3097
3098Please tell bug-automake@gnu.org about your system, including the value
3099of your $PATH and any error possibly output before this message. This
3100can help us improve future automake versions.
3101
3102END
3103 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3104 echo 'Configuration will proceed anyway, since you have set the' >&2
3105 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3106 echo >&2
3107 else
3108 cat >&2 <<'END'
3109Aborting the configuration process, to ensure you take notice of the issue.
3110
3111You can download and install GNU coreutils to get an 'rm' implementation
3112that behaves properly: <http://www.gnu.org/software/coreutils/>.
3113
3114If you want to complete the configuration process using your problematic
3115'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3116to "yes", and re-run configure.
3117
3118END
3119 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3120 fi
3121fi
3122
3123
2969{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 3124{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2970$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 3125$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2971 # Check whether --enable-maintainer-mode was given. 3126 # Check whether --enable-maintainer-mode was given.
@@ -3016,7 +3171,7 @@ am__quote=
3016_am_result=none 3171_am_result=none
3017# First try GNU make style include. 3172# First try GNU make style include.
3018echo "include confinc" > confmf 3173echo "include confinc" > confmf
3019# Ignore all kinds of additional output from `make'. 3174# Ignore all kinds of additional output from 'make'.
3020case `$am_make -s -f confmf 2> /dev/null` in #( 3175case `$am_make -s -f confmf 2> /dev/null` in #(
3021*the\ am__doit\ target*) 3176*the\ am__doit\ target*)
3022 am__include=include 3177 am__include=include
@@ -3070,7 +3225,7 @@ if test -n "$ac_tool_prefix"; then
3070set dummy ${ac_tool_prefix}gcc; ac_word=$2 3225set dummy ${ac_tool_prefix}gcc; ac_word=$2
3071{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3226{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3072$as_echo_n "checking for $ac_word... " >&6; } 3227$as_echo_n "checking for $ac_word... " >&6; }
3073if test "${ac_cv_prog_CC+set}" = set; then : 3228if ${ac_cv_prog_CC+:} false; then :
3074 $as_echo_n "(cached) " >&6 3229 $as_echo_n "(cached) " >&6
3075else 3230else
3076 if test -n "$CC"; then 3231 if test -n "$CC"; then
@@ -3082,7 +3237,7 @@ do
3082 IFS=$as_save_IFS 3237 IFS=$as_save_IFS
3083 test -z "$as_dir" && as_dir=. 3238 test -z "$as_dir" && as_dir=.
3084 for ac_exec_ext in '' $ac_executable_extensions; do 3239 for ac_exec_ext in '' $ac_executable_extensions; do
3085 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3240 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3086 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3241 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3087 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3242 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3088 break 2 3243 break 2
@@ -3110,7 +3265,7 @@ if test -z "$ac_cv_prog_CC"; then
3110set dummy gcc; ac_word=$2 3265set dummy gcc; ac_word=$2
3111{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3266{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3112$as_echo_n "checking for $ac_word... " >&6; } 3267$as_echo_n "checking for $ac_word... " >&6; }
3113if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 3268if ${ac_cv_prog_ac_ct_CC+:} false; then :
3114 $as_echo_n "(cached) " >&6 3269 $as_echo_n "(cached) " >&6
3115else 3270else
3116 if test -n "$ac_ct_CC"; then 3271 if test -n "$ac_ct_CC"; then
@@ -3122,7 +3277,7 @@ do
3122 IFS=$as_save_IFS 3277 IFS=$as_save_IFS
3123 test -z "$as_dir" && as_dir=. 3278 test -z "$as_dir" && as_dir=.
3124 for ac_exec_ext in '' $ac_executable_extensions; do 3279 for ac_exec_ext in '' $ac_executable_extensions; do
3125 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3280 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3126 ac_cv_prog_ac_ct_CC="gcc" 3281 ac_cv_prog_ac_ct_CC="gcc"
3127 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3282 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3128 break 2 3283 break 2
@@ -3163,7 +3318,7 @@ if test -z "$CC"; then
3163set dummy ${ac_tool_prefix}cc; ac_word=$2 3318set dummy ${ac_tool_prefix}cc; ac_word=$2
3164{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3319{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3165$as_echo_n "checking for $ac_word... " >&6; } 3320$as_echo_n "checking for $ac_word... " >&6; }
3166if test "${ac_cv_prog_CC+set}" = set; then : 3321if ${ac_cv_prog_CC+:} false; then :
3167 $as_echo_n "(cached) " >&6 3322 $as_echo_n "(cached) " >&6
3168else 3323else
3169 if test -n "$CC"; then 3324 if test -n "$CC"; then
@@ -3175,7 +3330,7 @@ do
3175 IFS=$as_save_IFS 3330 IFS=$as_save_IFS
3176 test -z "$as_dir" && as_dir=. 3331 test -z "$as_dir" && as_dir=.
3177 for ac_exec_ext in '' $ac_executable_extensions; do 3332 for ac_exec_ext in '' $ac_executable_extensions; do
3178 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3333 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3179 ac_cv_prog_CC="${ac_tool_prefix}cc" 3334 ac_cv_prog_CC="${ac_tool_prefix}cc"
3180 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3335 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3181 break 2 3336 break 2
@@ -3203,7 +3358,7 @@ if test -z "$CC"; then
3203set dummy cc; ac_word=$2 3358set dummy cc; ac_word=$2
3204{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3359{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3205$as_echo_n "checking for $ac_word... " >&6; } 3360$as_echo_n "checking for $ac_word... " >&6; }
3206if test "${ac_cv_prog_CC+set}" = set; then : 3361if ${ac_cv_prog_CC+:} false; then :
3207 $as_echo_n "(cached) " >&6 3362 $as_echo_n "(cached) " >&6
3208else 3363else
3209 if test -n "$CC"; then 3364 if test -n "$CC"; then
@@ -3216,7 +3371,7 @@ do
3216 IFS=$as_save_IFS 3371 IFS=$as_save_IFS
3217 test -z "$as_dir" && as_dir=. 3372 test -z "$as_dir" && as_dir=.
3218 for ac_exec_ext in '' $ac_executable_extensions; do 3373 for ac_exec_ext in '' $ac_executable_extensions; do
3219 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3374 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3220 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3375 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3221 ac_prog_rejected=yes 3376 ac_prog_rejected=yes
3222 continue 3377 continue
@@ -3262,7 +3417,7 @@ if test -z "$CC"; then
3262set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3417set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3263{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3418{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3264$as_echo_n "checking for $ac_word... " >&6; } 3419$as_echo_n "checking for $ac_word... " >&6; }
3265if test "${ac_cv_prog_CC+set}" = set; then : 3420if ${ac_cv_prog_CC+:} false; then :
3266 $as_echo_n "(cached) " >&6 3421 $as_echo_n "(cached) " >&6
3267else 3422else
3268 if test -n "$CC"; then 3423 if test -n "$CC"; then
@@ -3274,7 +3429,7 @@ do
3274 IFS=$as_save_IFS 3429 IFS=$as_save_IFS
3275 test -z "$as_dir" && as_dir=. 3430 test -z "$as_dir" && as_dir=.
3276 for ac_exec_ext in '' $ac_executable_extensions; do 3431 for ac_exec_ext in '' $ac_executable_extensions; do
3277 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3432 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3278 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3433 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3279 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3434 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3280 break 2 3435 break 2
@@ -3306,7 +3461,7 @@ do
3306set dummy $ac_prog; ac_word=$2 3461set dummy $ac_prog; ac_word=$2
3307{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3462{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3308$as_echo_n "checking for $ac_word... " >&6; } 3463$as_echo_n "checking for $ac_word... " >&6; }
3309if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 3464if ${ac_cv_prog_ac_ct_CC+:} false; then :
3310 $as_echo_n "(cached) " >&6 3465 $as_echo_n "(cached) " >&6
3311else 3466else
3312 if test -n "$ac_ct_CC"; then 3467 if test -n "$ac_ct_CC"; then
@@ -3318,7 +3473,7 @@ do
3318 IFS=$as_save_IFS 3473 IFS=$as_save_IFS
3319 test -z "$as_dir" && as_dir=. 3474 test -z "$as_dir" && as_dir=.
3320 for ac_exec_ext in '' $ac_executable_extensions; do 3475 for ac_exec_ext in '' $ac_executable_extensions; do
3321 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3476 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3322 ac_cv_prog_ac_ct_CC="$ac_prog" 3477 ac_cv_prog_ac_ct_CC="$ac_prog"
3323 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3478 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3324 break 2 3479 break 2
@@ -3360,8 +3515,8 @@ fi
3360 3515
3361test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3516test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3362$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3517$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3363as_fn_error "no acceptable C compiler found in \$PATH 3518as_fn_error $? "no acceptable C compiler found in \$PATH
3364See \`config.log' for more details." "$LINENO" 5; } 3519See \`config.log' for more details" "$LINENO" 5; }
3365 3520
3366# Provide some information about the compiler. 3521# Provide some information about the compiler.
3367$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3522$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
@@ -3382,8 +3537,8 @@ $as_echo "$ac_try_echo"; } >&5
3382... rest of stderr output deleted ... 3537... rest of stderr output deleted ...
3383 10q' conftest.err >conftest.er1 3538 10q' conftest.err >conftest.er1
3384 cat conftest.er1 >&5 3539 cat conftest.er1 >&5
3385 rm -f conftest.er1 conftest.err
3386 fi 3540 fi
3541 rm -f conftest.er1 conftest.err
3387 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3542 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3388 test $ac_status = 0; } 3543 test $ac_status = 0; }
3389done 3544done
@@ -3400,12 +3555,12 @@ main ()
3400} 3555}
3401_ACEOF 3556_ACEOF
3402ac_clean_files_save=$ac_clean_files 3557ac_clean_files_save=$ac_clean_files
3403ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out" 3558ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3404# Try to create an executable without -o first, disregard a.out. 3559# Try to create an executable without -o first, disregard a.out.
3405# It will help us diagnose broken compilers, and finding out an intuition 3560# It will help us diagnose broken compilers, and finding out an intuition
3406# of exeext. 3561# of exeext.
3407{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3562{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3408$as_echo_n "checking for C compiler default output file name... " >&6; } 3563$as_echo_n "checking whether the C compiler works... " >&6; }
3409ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3564ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3410 3565
3411# The possible output files: 3566# The possible output files:
@@ -3467,62 +3622,28 @@ test "$ac_cv_exeext" = no && ac_cv_exeext=
3467else 3622else
3468 ac_file='' 3623 ac_file=''
3469fi 3624fi
3470{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3471$as_echo "$ac_file" >&6; }
3472if test -z "$ac_file"; then : 3625if test -z "$ac_file"; then :
3473 $as_echo "$as_me: failed program was:" >&5 3626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3627$as_echo "no" >&6; }
3628$as_echo "$as_me: failed program was:" >&5
3474sed 's/^/| /' conftest.$ac_ext >&5 3629sed 's/^/| /' conftest.$ac_ext >&5
3475 3630
3476{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3631{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3477$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3632$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3478{ as_fn_set_status 77 3633as_fn_error 77 "C compiler cannot create executables
3479as_fn_error "C compiler cannot create executables 3634See \`config.log' for more details" "$LINENO" 5; }
3480See \`config.log' for more details." "$LINENO" 5; }; } 3635else
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3637$as_echo "yes" >&6; }
3481fi 3638fi
3639{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3640$as_echo_n "checking for C compiler default output file name... " >&6; }
3641{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3642$as_echo "$ac_file" >&6; }
3482ac_exeext=$ac_cv_exeext 3643ac_exeext=$ac_cv_exeext
3483 3644
3484# Check that the compiler produces executables we can run. If not, either 3645rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3485# the compiler is broken, or we cross compile.
3486{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3487$as_echo_n "checking whether the C compiler works... " >&6; }
3488# If not cross compiling, check that we can run a simple program.
3489if test "$cross_compiling" != yes; then
3490 if { ac_try='./$ac_file'
3491 { { case "(($ac_try" in
3492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3493 *) ac_try_echo=$ac_try;;
3494esac
3495eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3496$as_echo "$ac_try_echo"; } >&5
3497 (eval "$ac_try") 2>&5
3498 ac_status=$?
3499 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3500 test $ac_status = 0; }; }; then
3501 cross_compiling=no
3502 else
3503 if test "$cross_compiling" = maybe; then
3504 cross_compiling=yes
3505 else
3506 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3507$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3508as_fn_error "cannot run C compiled programs.
3509If you meant to cross compile, use \`--host'.
3510See \`config.log' for more details." "$LINENO" 5; }
3511 fi
3512 fi
3513fi
3514{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3515$as_echo "yes" >&6; }
3516
3517rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3518ac_clean_files=$ac_clean_files_save 3646ac_clean_files=$ac_clean_files_save
3519# Check that the compiler produces executables we can run. If not, either
3520# the compiler is broken, or we cross compile.
3521{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3522$as_echo_n "checking whether we are cross compiling... " >&6; }
3523{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3524$as_echo "$cross_compiling" >&6; }
3525
3526{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3647{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3527$as_echo_n "checking for suffix of executables... " >&6; } 3648$as_echo_n "checking for suffix of executables... " >&6; }
3528if { { ac_try="$ac_link" 3649if { { ac_try="$ac_link"
@@ -3552,19 +3673,78 @@ done
3552else 3673else
3553 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3674 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3554$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3675$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3555as_fn_error "cannot compute suffix of executables: cannot compile and link 3676as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3556See \`config.log' for more details." "$LINENO" 5; } 3677See \`config.log' for more details" "$LINENO" 5; }
3557fi 3678fi
3558rm -f conftest$ac_cv_exeext 3679rm -f conftest conftest$ac_cv_exeext
3559{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3680{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3560$as_echo "$ac_cv_exeext" >&6; } 3681$as_echo "$ac_cv_exeext" >&6; }
3561 3682
3562rm -f conftest.$ac_ext 3683rm -f conftest.$ac_ext
3563EXEEXT=$ac_cv_exeext 3684EXEEXT=$ac_cv_exeext
3564ac_exeext=$EXEEXT 3685ac_exeext=$EXEEXT
3686cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3687/* end confdefs.h. */
3688#include <stdio.h>
3689int
3690main ()
3691{
3692FILE *f = fopen ("conftest.out", "w");
3693 return ferror (f) || fclose (f) != 0;
3694
3695 ;
3696 return 0;
3697}
3698_ACEOF
3699ac_clean_files="$ac_clean_files conftest.out"
3700# Check that the compiler produces executables we can run. If not, either
3701# the compiler is broken, or we cross compile.
3702{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3703$as_echo_n "checking whether we are cross compiling... " >&6; }
3704if test "$cross_compiling" != yes; then
3705 { { ac_try="$ac_link"
3706case "(($ac_try" in
3707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3708 *) ac_try_echo=$ac_try;;
3709esac
3710eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3711$as_echo "$ac_try_echo"; } >&5
3712 (eval "$ac_link") 2>&5
3713 ac_status=$?
3714 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3715 test $ac_status = 0; }
3716 if { ac_try='./conftest$ac_cv_exeext'
3717 { { case "(($ac_try" in
3718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3719 *) ac_try_echo=$ac_try;;
3720esac
3721eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3722$as_echo "$ac_try_echo"; } >&5
3723 (eval "$ac_try") 2>&5
3724 ac_status=$?
3725 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3726 test $ac_status = 0; }; }; then
3727 cross_compiling=no
3728 else
3729 if test "$cross_compiling" = maybe; then
3730 cross_compiling=yes
3731 else
3732 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3733$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3734as_fn_error $? "cannot run C compiled programs.
3735If you meant to cross compile, use \`--host'.
3736See \`config.log' for more details" "$LINENO" 5; }
3737 fi
3738 fi
3739fi
3740{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3741$as_echo "$cross_compiling" >&6; }
3742
3743rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3744ac_clean_files=$ac_clean_files_save
3565{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3745{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3566$as_echo_n "checking for suffix of object files... " >&6; } 3746$as_echo_n "checking for suffix of object files... " >&6; }
3567if test "${ac_cv_objext+set}" = set; then : 3747if ${ac_cv_objext+:} false; then :
3568 $as_echo_n "(cached) " >&6 3748 $as_echo_n "(cached) " >&6
3569else 3749else
3570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -3604,8 +3784,8 @@ sed 's/^/| /' conftest.$ac_ext >&5
3604 3784
3605{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3785{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3606$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3786$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3607as_fn_error "cannot compute suffix of object files: cannot compile 3787as_fn_error $? "cannot compute suffix of object files: cannot compile
3608See \`config.log' for more details." "$LINENO" 5; } 3788See \`config.log' for more details" "$LINENO" 5; }
3609fi 3789fi
3610rm -f conftest.$ac_cv_objext conftest.$ac_ext 3790rm -f conftest.$ac_cv_objext conftest.$ac_ext
3611fi 3791fi
@@ -3615,7 +3795,7 @@ OBJEXT=$ac_cv_objext
3615ac_objext=$OBJEXT 3795ac_objext=$OBJEXT
3616{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3796{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3617$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3797$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3618if test "${ac_cv_c_compiler_gnu+set}" = set; then : 3798if ${ac_cv_c_compiler_gnu+:} false; then :
3619 $as_echo_n "(cached) " >&6 3799 $as_echo_n "(cached) " >&6
3620else 3800else
3621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -3652,7 +3832,7 @@ ac_test_CFLAGS=${CFLAGS+set}
3652ac_save_CFLAGS=$CFLAGS 3832ac_save_CFLAGS=$CFLAGS
3653{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3833{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3654$as_echo_n "checking whether $CC accepts -g... " >&6; } 3834$as_echo_n "checking whether $CC accepts -g... " >&6; }
3655if test "${ac_cv_prog_cc_g+set}" = set; then : 3835if ${ac_cv_prog_cc_g+:} false; then :
3656 $as_echo_n "(cached) " >&6 3836 $as_echo_n "(cached) " >&6
3657else 3837else
3658 ac_save_c_werror_flag=$ac_c_werror_flag 3838 ac_save_c_werror_flag=$ac_c_werror_flag
@@ -3730,7 +3910,7 @@ else
3730fi 3910fi
3731{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3911{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3732$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3912$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3733if test "${ac_cv_prog_cc_c89+set}" = set; then : 3913if ${ac_cv_prog_cc_c89+:} false; then :
3734 $as_echo_n "(cached) " >&6 3914 $as_echo_n "(cached) " >&6
3735else 3915else
3736 ac_cv_prog_cc_c89=no 3916 ac_cv_prog_cc_c89=no
@@ -3739,8 +3919,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3739/* end confdefs.h. */ 3919/* end confdefs.h. */
3740#include <stdarg.h> 3920#include <stdarg.h>
3741#include <stdio.h> 3921#include <stdio.h>
3742#include <sys/types.h> 3922struct stat;
3743#include <sys/stat.h>
3744/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3923/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3745struct buf { int x; }; 3924struct buf { int x; };
3746FILE * (*rcsopen) (struct buf *, struct stat *, int); 3925FILE * (*rcsopen) (struct buf *, struct stat *, int);
@@ -3825,19 +4004,78 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3825ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4004ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3826ac_compiler_gnu=$ac_cv_c_compiler_gnu 4005ac_compiler_gnu=$ac_cv_c_compiler_gnu
3827 4006
4007ac_ext=c
4008ac_cpp='$CPP $CPPFLAGS'
4009ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4010ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4011ac_compiler_gnu=$ac_cv_c_compiler_gnu
4012{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4013$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4014if ${am_cv_prog_cc_c_o+:} false; then :
4015 $as_echo_n "(cached) " >&6
4016else
4017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4018/* end confdefs.h. */
4019
4020int
4021main ()
4022{
4023
4024 ;
4025 return 0;
4026}
4027_ACEOF
4028 # Make sure it works both with $CC and with simple cc.
4029 # Following AC_PROG_CC_C_O, we do the test twice because some
4030 # compilers refuse to overwrite an existing .o file with -o,
4031 # though they will create one.
4032 am_cv_prog_cc_c_o=yes
4033 for am_i in 1 2; do
4034 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4035 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4036 ac_status=$?
4037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4038 (exit $ac_status); } \
4039 && test -f conftest2.$ac_objext; then
4040 : OK
4041 else
4042 am_cv_prog_cc_c_o=no
4043 break
4044 fi
4045 done
4046 rm -f core conftest*
4047 unset am_i
4048fi
4049{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4050$as_echo "$am_cv_prog_cc_c_o" >&6; }
4051if test "$am_cv_prog_cc_c_o" != yes; then
4052 # Losing compiler, so override with the script.
4053 # FIXME: It is wrong to rewrite CC.
4054 # But if we don't then we get into trouble of one sort or another.
4055 # A longer-term fix would be to have automake use am__CC in this case,
4056 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4057 CC="$am_aux_dir/compile $CC"
4058fi
4059ac_ext=c
4060ac_cpp='$CPP $CPPFLAGS'
4061ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4062ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4063ac_compiler_gnu=$ac_cv_c_compiler_gnu
4064
4065
3828depcc="$CC" am_compiler_list= 4066depcc="$CC" am_compiler_list=
3829 4067
3830{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 4068{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3831$as_echo_n "checking dependency style of $depcc... " >&6; } 4069$as_echo_n "checking dependency style of $depcc... " >&6; }
3832if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : 4070if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3833 $as_echo_n "(cached) " >&6 4071 $as_echo_n "(cached) " >&6
3834else 4072else
3835 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 4073 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3836 # We make a subdir and do the tests there. Otherwise we can end up 4074 # We make a subdir and do the tests there. Otherwise we can end up
3837 # making bogus files that we don't know about and never remove. For 4075 # making bogus files that we don't know about and never remove. For
3838 # instance it was reported that on HP-UX the gcc test will end up 4076 # instance it was reported that on HP-UX the gcc test will end up
3839 # making a dummy file named `D' -- because `-MD' means `put the output 4077 # making a dummy file named 'D' -- because '-MD' means "put the output
3840 # in D'. 4078 # in D".
3841 rm -rf conftest.dir 4079 rm -rf conftest.dir
3842 mkdir conftest.dir 4080 mkdir conftest.dir
3843 # Copy depcomp to subdir because otherwise we won't find it if we're 4081 # Copy depcomp to subdir because otherwise we won't find it if we're
@@ -3872,16 +4110,16 @@ else
3872 : > sub/conftest.c 4110 : > sub/conftest.c
3873 for i in 1 2 3 4 5 6; do 4111 for i in 1 2 3 4 5 6; do
3874 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4112 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3875 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 4113 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3876 # Solaris 8's {/usr,}/bin/sh. 4114 # Solaris 10 /bin/sh.
3877 touch sub/conftst$i.h 4115 echo '/* dummy */' > sub/conftst$i.h
3878 done 4116 done
3879 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4117 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3880 4118
3881 # We check with `-c' and `-o' for the sake of the "dashmstdout" 4119 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3882 # mode. It turns out that the SunPro C++ compiler does not properly 4120 # mode. It turns out that the SunPro C++ compiler does not properly
3883 # handle `-M -o', and we need to detect this. Also, some Intel 4121 # handle '-M -o', and we need to detect this. Also, some Intel
3884 # versions had trouble with output in subdirs 4122 # versions had trouble with output in subdirs.
3885 am__obj=sub/conftest.${OBJEXT-o} 4123 am__obj=sub/conftest.${OBJEXT-o}
3886 am__minus_obj="-o $am__obj" 4124 am__minus_obj="-o $am__obj"
3887 case $depmode in 4125 case $depmode in
@@ -3890,8 +4128,8 @@ else
3890 test "$am__universal" = false || continue 4128 test "$am__universal" = false || continue
3891 ;; 4129 ;;
3892 nosideeffect) 4130 nosideeffect)
3893 # after this tag, mechanisms are not by side-effect, so they'll 4131 # After this tag, mechanisms are not by side-effect, so they'll
3894 # only be used when explicitly requested 4132 # only be used when explicitly requested.
3895 if test "x$enable_dependency_tracking" = xyes; then 4133 if test "x$enable_dependency_tracking" = xyes; then
3896 continue 4134 continue
3897 else 4135 else
@@ -3899,7 +4137,7 @@ else
3899 fi 4137 fi
3900 ;; 4138 ;;
3901 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 4139 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3902 # This compiler won't grok `-c -o', but also, the minuso test has 4140 # This compiler won't grok '-c -o', but also, the minuso test has
3903 # not run yet. These depmodes are late enough in the game, and 4141 # not run yet. These depmodes are late enough in the game, and
3904 # so weak that their functioning should not be impacted. 4142 # so weak that their functioning should not be impacted.
3905 am__obj=conftest.${OBJEXT-o} 4143 am__obj=conftest.${OBJEXT-o}
@@ -3966,7 +4204,7 @@ if test -n "$CPP" && test -d "$CPP"; then
3966 CPP= 4204 CPP=
3967fi 4205fi
3968if test -z "$CPP"; then 4206if test -z "$CPP"; then
3969 if test "${ac_cv_prog_CPP+set}" = set; then : 4207 if ${ac_cv_prog_CPP+:} false; then :
3970 $as_echo_n "(cached) " >&6 4208 $as_echo_n "(cached) " >&6
3971else 4209else
3972 # Double quotes because CPP needs to be expanded 4210 # Double quotes because CPP needs to be expanded
@@ -3996,7 +4234,7 @@ else
3996 # Broken: fails on valid input. 4234 # Broken: fails on valid input.
3997continue 4235continue
3998fi 4236fi
3999rm -f conftest.err conftest.$ac_ext 4237rm -f conftest.err conftest.i conftest.$ac_ext
4000 4238
4001 # OK, works on sane cases. Now check whether nonexistent headers 4239 # OK, works on sane cases. Now check whether nonexistent headers
4002 # can be detected and how. 4240 # can be detected and how.
@@ -4012,11 +4250,11 @@ else
4012ac_preproc_ok=: 4250ac_preproc_ok=:
4013break 4251break
4014fi 4252fi
4015rm -f conftest.err conftest.$ac_ext 4253rm -f conftest.err conftest.i conftest.$ac_ext
4016 4254
4017done 4255done
4018# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4256# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4019rm -f conftest.err conftest.$ac_ext 4257rm -f conftest.i conftest.err conftest.$ac_ext
4020if $ac_preproc_ok; then : 4258if $ac_preproc_ok; then :