summaryrefslogtreecommitdiffstats
path: root/libssp
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 /libssp
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 'libssp')
-rw-r--r--libssp/ChangeLog9
-rw-r--r--libssp/Makefile.am3
-rw-r--r--libssp/Makefile.in394
-rw-r--r--libssp/aclocal.m4721
-rwxr-xr-xlibssp/configure1309
-rw-r--r--libssp/configure.ac5
6 files changed, 1495 insertions, 946 deletions
diff --git a/libssp/ChangeLog b/libssp/ChangeLog
index 828ca1c5296..ec06f41b857 100644
--- a/libssp/ChangeLog
+++ b/libssp/ChangeLog
@@ -1,3 +1,12 @@
12018-10-31 Joseph Myers <joseph@codesourcery.com>
2
3 PR bootstrap/82856
4 * Makefile.am: Include multilib.am.
5 (AUTOMAKE_OPTIONS): Remove 1.9.5.
6 * configure.ac: Remove AC_PREREQ. Quote argument to
7 AC_RUN_IFELSE.
8 * Makefile.in, aclocal.m4, configure: Regenerate.
9
12018-04-24 H.J. Lu <hongjiu.lu@intel.com> 102018-04-24 H.J. Lu <hongjiu.lu@intel.com>
2 11
3 * configure: Regenerated. 12 * configure: Regenerated.
diff --git a/libssp/Makefile.am b/libssp/Makefile.am
index 253c60cb6fb..3b56435709c 100644
--- a/libssp/Makefile.am
+++ b/libssp/Makefile.am
@@ -3,7 +3,7 @@
3## Copyright (C) 2005-2018 Free Software Foundation, Inc. 3## Copyright (C) 2005-2018 Free Software Foundation, Inc.
4## 4##
5 5
6AUTOMAKE_OPTIONS = 1.9.5 foreign 6AUTOMAKE_OPTIONS = foreign
7ACLOCAL_AMFLAGS = -I .. -I ../config 7ACLOCAL_AMFLAGS = -I .. -I ../config
8MAINT_CHARSET = latin1 8MAINT_CHARSET = latin1
9 9
@@ -107,3 +107,4 @@ MAKEOVERRIDES=
107 107
108## ################################################################ 108## ################################################################
109 109
110include $(top_srcdir)/../multilib.am
diff --git a/libssp/Makefile.in b/libssp/Makefile.in
index e2a75400894..c540450a5bb 100644
--- a/libssp/Makefile.in
+++ b/libssp/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.
@@ -17,23 +16,61 @@
17 16
18 17
19VPATH = @srcdir@ 18VPATH = @srcdir@
20am__make_dryrun = \ 19am__is_gnu_make = { \
21 { \ 20 if test -z '$(MAKELEVEL)'; then \
22 am__dry=no; \ 21 false; \
22 elif test -n '$(MAKE_HOST)'; then \
23 true; \
24 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
25 true; \
26 else \
27 false; \
28 fi; \
29}
30am__make_running_with_option = \
31 case $${target_option-} in \
32 ?) ;; \
33 *) echo "am__make_running_with_option: internal error: invalid" \
34 "target option '$${target_option-}' specified" >&2; \
35 exit 1;; \
36 esac; \
37 has_opt=no; \
38 sane_makeflags=$$MAKEFLAGS; \
39 if $(am__is_gnu_make); then \
40 sane_makeflags=$$MFLAGS; \
41 else \
23 case $$MAKEFLAGS in \ 42 case $$MAKEFLAGS in \
24 *\\[\ \ ]*) \ 43 *\\[\ \ ]*) \
25 echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ 44 bs=\\; \
26 | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ 45 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
27 *) \ 46 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
28 for am__flg in $$MAKEFLAGS; do \
29 case $$am__flg in \
30 *=*|--*) ;; \
31 *n*) am__dry=yes; break;; \
32 esac; \
33 done;; \
34 esac; \ 47 esac; \
35 test $$am__dry = yes; \ 48 fi; \
36 } 49 skip_next=no; \
50 strip_trailopt () \
51 { \
52 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
53 }; \
54 for flg in $$sane_makeflags; do \
55 test $$skip_next = yes && { skip_next=no; continue; }; \
56 case $$flg in \
57 *=*|--*) continue;; \
58 -*I) strip_trailopt 'I'; skip_next=yes;; \
59 -*I?*) strip_trailopt 'I';; \
60 -*O) strip_trailopt 'O'; skip_next=yes;; \
61 -*O?*) strip_trailopt 'O';; \
62 -*l) strip_trailopt 'l'; skip_next=yes;; \
63 -*l?*) strip_trailopt 'l';; \
64 -[dEDm]) skip_next=yes;; \
65 -[JT]) skip_next=yes;; \
66 esac; \
67 case $$flg in \
68 *$$target_option*) has_opt=yes; break;; \
69 esac; \
70 done; \
71 test $$has_opt = yes
72am__make_dryrun = (target_option=n; $(am__make_running_with_option))
73am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
37pkgdatadir = $(datadir)/@PACKAGE@ 74pkgdatadir = $(datadir)/@PACKAGE@
38pkgincludedir = $(includedir)/@PACKAGE@ 75pkgincludedir = $(includedir)/@PACKAGE@
39pkglibdir = $(libdir)/@PACKAGE@ 76pkglibdir = $(libdir)/@PACKAGE@
@@ -54,14 +91,11 @@ build_triplet = @build@
54host_triplet = @host@ 91host_triplet = @host@
55target_triplet = @target@ 92target_triplet = @target@
56subdir = . 93subdir = .
57DIST_COMMON = ChangeLog $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
58 $(top_srcdir)/configure $(am__configure_deps) \
59 $(srcdir)/config.h.in $(srcdir)/../mkinstalldirs \
60 $(top_srcdir)/ssp/ssp.h.in $(srcdir)/../depcomp \
61 $(nobase_libsubinclude_HEADERS)
62ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 94ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
63am__aclocal_m4_deps = $(top_srcdir)/../config/acx.m4 \ 95am__aclocal_m4_deps = $(top_srcdir)/../config/acx.m4 \
96 $(top_srcdir)/../config/cet.m4 \
64 $(top_srcdir)/../config/depstand.m4 \ 97 $(top_srcdir)/../config/depstand.m4 \
98 $(top_srcdir)/../config/enable.m4 \
65 $(top_srcdir)/../config/lead-dot.m4 \ 99 $(top_srcdir)/../config/lead-dot.m4 \
66 $(top_srcdir)/../config/lthostflags.m4 \ 100 $(top_srcdir)/../config/lthostflags.m4 \
67 $(top_srcdir)/../config/multi.m4 \ 101 $(top_srcdir)/../config/multi.m4 \
@@ -69,11 +103,11 @@ am__aclocal_m4_deps = $(top_srcdir)/../config/acx.m4 \
69 $(top_srcdir)/../config/override.m4 \ 103 $(top_srcdir)/../config/override.m4 \
70 $(top_srcdir)/../libtool.m4 $(top_srcdir)/../ltoptions.m4 \ 104 $(top_srcdir)/../libtool.m4 $(top_srcdir)/../ltoptions.m4 \
71 $(top_srcdir)/../ltsugar.m4 $(top_srcdir)/../ltversion.m4 \ 105 $(top_srcdir)/../ltsugar.m4 $(top_srcdir)/../ltversion.m4 \
72 $(top_srcdir)/../lt~obsolete.m4 \ 106 $(top_srcdir)/../lt~obsolete.m4 $(top_srcdir)/configure.ac
73 $(top_srcdir)/../config/enable.m4 \
74 $(top_srcdir)/../config/cet.m4 $(top_srcdir)/configure.ac
75am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 107am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
76 $(ACLOCAL_M4) 108 $(ACLOCAL_M4)
109DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
110 $(am__configure_deps) $(nobase_libsubinclude_HEADERS)
77am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ 111am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
78 configure.lineno config.status.lineno 112 configure.lineno config.status.lineno
79mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs 113mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
@@ -115,45 +149,85 @@ am_libssp_la_OBJECTS = ssp.lo gets-chk.lo memcpy-chk.lo memmove-chk.lo \
115 stpcpy-chk.lo strcat-chk.lo strcpy-chk.lo strncat-chk.lo \ 149 stpcpy-chk.lo strcat-chk.lo strcpy-chk.lo strncat-chk.lo \
116 strncpy-chk.lo vsnprintf-chk.lo vsprintf-chk.lo 150 strncpy-chk.lo vsnprintf-chk.lo vsprintf-chk.lo
117libssp_la_OBJECTS = $(am_libssp_la_OBJECTS) 151libssp_la_OBJECTS = $(am_libssp_la_OBJECTS)
118libssp_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ 152AM_V_lt = $(am__v_lt_@AM_V@)
153am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
154am__v_lt_0 = --silent
155am__v_lt_1 =
156libssp_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
119 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ 157 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
120 $(libssp_la_LDFLAGS) $(LDFLAGS) -o $@ 158 $(libssp_la_LDFLAGS) $(LDFLAGS) -o $@
121am_libssp_nonshared_la_OBJECTS = libssp_nonshared_la-ssp-local.lo 159am_libssp_nonshared_la_OBJECTS = libssp_nonshared_la-ssp-local.lo
122libssp_nonshared_la_OBJECTS = $(am_libssp_nonshared_la_OBJECTS) 160libssp_nonshared_la_OBJECTS = $(am_libssp_nonshared_la_OBJECTS)
123libssp_nonshared_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ 161libssp_nonshared_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \
124 $(LIBTOOLFLAGS) --mode=link $(CCLD) \ 162 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \
125 $(libssp_nonshared_la_CFLAGS) $(CFLAGS) \ 163 $(libssp_nonshared_la_CFLAGS) $(CFLAGS) \
126 $(libssp_nonshared_la_LDFLAGS) $(LDFLAGS) -o $@ 164 $(libssp_nonshared_la_LDFLAGS) $(LDFLAGS) -o $@
165AM_V_P = $(am__v_P_@AM_V@)
166am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
167am__v_P_0 = false
168am__v_P_1 = :
169AM_V_GEN = $(am__v_GEN_@AM_V@)
170am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
171am__v_GEN_0 = @echo " GEN " $@;
172am__v_GEN_1 =
173AM_V_at = $(am__v_at_@AM_V@)
174am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
175am__v_at_0 = @
176am__v_at_1 =
127DEFAULT_INCLUDES = -I.@am__isrc@ 177DEFAULT_INCLUDES = -I.@am__isrc@
128depcomp = $(SHELL) $(top_srcdir)/../depcomp 178depcomp = $(SHELL) $(top_srcdir)/../depcomp
129am__depfiles_maybe = depfiles 179am__depfiles_maybe = depfiles
130am__mv = mv -f 180am__mv = mv -f
131COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ 181COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
132 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) 182 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
133LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ 183LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
134 --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ 184 $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
135 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) 185 $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
186 $(AM_CFLAGS) $(CFLAGS)
187AM_V_CC = $(am__v_CC_@AM_V@)
188am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
189am__v_CC_0 = @echo " CC " $@;
190am__v_CC_1 =
136CCLD = $(CC) 191CCLD = $(CC)
137LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ 192LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
138 --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ 193 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
139 $(LDFLAGS) -o $@ 194 $(AM_LDFLAGS) $(LDFLAGS) -o $@
195AM_V_CCLD = $(am__v_CCLD_@AM_V@)
196am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
197am__v_CCLD_0 = @echo " CCLD " $@;
198am__v_CCLD_1 =
140SOURCES = $(libssp_la_SOURCES) $(libssp_nonshared_la_SOURCES) 199SOURCES = $(libssp_la_SOURCES) $(libssp_nonshared_la_SOURCES)
141MULTISRCTOP =
142MULTIBUILDTOP =
143MULTIDIRS =
144MULTISUBDIR =
145MULTIDO = true
146MULTICLEAN = true
147am__can_run_installinfo = \ 200am__can_run_installinfo = \
148 case $$AM_UPDATE_INFO_DIR in \ 201 case $$AM_UPDATE_INFO_DIR in \
149 n|no|NO) false;; \ 202 n|no|NO) false;; \
150 *) (install-info --version) >/dev/null 2>&1;; \ 203 *) (install-info --version) >/dev/null 2>&1;; \
151 esac 204 esac
152HEADERS = $(nobase_libsubinclude_HEADERS) 205HEADERS = $(nobase_libsubinclude_HEADERS)
206am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
207 $(LISP)config.h.in
208# Read a list of newline-separated strings from the standard input,
209# and print each of them once, without duplicates. Input order is
210# *not* preserved.
211am__uniquify_input = $(AWK) '\
212 BEGIN { nonempty = 0; } \
213 { items[$$0] = 1; nonempty = 1; } \
214 END { if (nonempty) { for (i in items) print i; }; } \
215'
216# Make sure the list of sources is unique. This is necessary because,
217# e.g., the same source file might be shared among _SOURCES variables
218# for different programs/libraries.
219am__define_uniq_tagged_files = \
220 list='$(am__tagged_files)'; \
221 unique=`for i in $$list; do \
222 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
223 done | $(am__uniquify_input)`
153ETAGS = etags 224ETAGS = etags
154CTAGS = ctags 225CTAGS = ctags
226CSCOPE = cscope
227AM_RECURSIVE_TARGETS = cscope
155ACLOCAL = @ACLOCAL@ 228ACLOCAL = @ACLOCAL@
156AMTAR = @AMTAR@ 229AMTAR = @AMTAR@
230AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
157AR = @AR@ 231AR = @AR@
158AUTOCONF = @AUTOCONF@ 232AUTOCONF = @AUTOCONF@
159AUTOHEADER = @AUTOHEADER@ 233AUTOHEADER = @AUTOHEADER@
@@ -277,7 +351,7 @@ toolexeclibdir = @toolexeclibdir@
277top_build_prefix = @top_build_prefix@ 351top_build_prefix = @top_build_prefix@
278top_builddir = @top_builddir@ 352top_builddir = @top_builddir@
279top_srcdir = @top_srcdir@ 353top_srcdir = @top_srcdir@
280AUTOMAKE_OPTIONS = 1.9.5 foreign 354AUTOMAKE_OPTIONS = foreign
281ACLOCAL_AMFLAGS = -I .. -I ../config 355ACLOCAL_AMFLAGS = -I .. -I ../config
282MAINT_CHARSET = latin1 356MAINT_CHARSET = latin1
283 357
@@ -356,6 +430,12 @@ AM_MAKEFLAGS = \
356 "DESTDIR=$(DESTDIR)" 430 "DESTDIR=$(DESTDIR)"
357 431
358MAKEOVERRIDES = 432MAKEOVERRIDES =
433MULTISRCTOP =
434MULTIBUILDTOP =
435MULTIDIRS =
436MULTISUBDIR =
437MULTIDO = true
438MULTICLEAN = true
359all: config.h 439all: config.h
360 $(MAKE) $(AM_MAKEFLAGS) all-am 440 $(MAKE) $(AM_MAKEFLAGS) all-am
361 441
@@ -363,7 +443,7 @@ all: config.h
363.SUFFIXES: .c .lo .o .obj 443.SUFFIXES: .c .lo .o .obj
364am--refresh: Makefile 444am--refresh: Makefile
365 @: 445 @:
366$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) 446$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/../multilib.am $(am__configure_deps)
367 @for dep in $?; do \ 447 @for dep in $?; do \
368 case '$(am__configure_deps)' in \ 448 case '$(am__configure_deps)' in \
369 *$$dep*) \ 449 *$$dep*) \
@@ -376,7 +456,6 @@ $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__confi
376 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \ 456 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
377 $(am__cd) $(top_srcdir) && \ 457 $(am__cd) $(top_srcdir) && \
378 $(AUTOMAKE) --foreign Makefile 458 $(AUTOMAKE) --foreign Makefile
379.PRECIOUS: Makefile
380Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 459Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
381 @case '$?' in \ 460 @case '$?' in \
382 *config.status*) \ 461 *config.status*) \
@@ -386,6 +465,7 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
386 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ 465 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
387 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ 466 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
388 esac; 467 esac;
468$(top_srcdir)/../multilib.am $(am__empty):
389 469
390$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) 470$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
391 $(SHELL) ./config.status --recheck 471 $(SHELL) ./config.status --recheck
@@ -397,8 +477,8 @@ $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
397$(am__aclocal_m4_deps): 477$(am__aclocal_m4_deps):
398 478
399config.h: stamp-h1 479config.h: stamp-h1
400 @if test ! -f $@; then rm -f stamp-h1; else :; fi 480 @test -f $@ || rm -f stamp-h1
401 @if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) stamp-h1; else :; fi 481 @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1
402 482
403stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status 483stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
404 @rm -f stamp-h1 484 @rm -f stamp-h1
@@ -412,6 +492,7 @@ distclean-hdr:
412 -rm -f config.h stamp-h1 492 -rm -f config.h stamp-h1
413ssp/ssp.h: $(top_builddir)/config.status $(top_srcdir)/ssp/ssp.h.in 493ssp/ssp.h: $(top_builddir)/config.status $(top_srcdir)/ssp/ssp.h.in
414 cd $(top_builddir) && $(SHELL) ./config.status $@ 494 cd $(top_builddir) && $(SHELL) ./config.status $@
495
415install-toolexeclibLTLIBRARIES: $(toolexeclib_LTLIBRARIES) 496install-toolexeclibLTLIBRARIES: $(toolexeclib_LTLIBRARIES)
416 @$(NORMAL_INSTALL) 497 @$(NORMAL_INSTALL)
417 @list='$(toolexeclib_LTLIBRARIES)'; test -n "$(toolexeclibdir)" || list=; \ 498 @list='$(toolexeclib_LTLIBRARIES)'; test -n "$(toolexeclibdir)" || list=; \
@@ -438,16 +519,20 @@ uninstall-toolexeclibLTLIBRARIES:
438 519
439clean-toolexeclibLTLIBRARIES: 520clean-toolexeclibLTLIBRARIES:
440 -test -z "$(toolexeclib_LTLIBRARIES)" || rm -f $(toolexeclib_LTLIBRARIES) 521 -test -z "$(toolexeclib_LTLIBRARIES)" || rm -f $(toolexeclib_LTLIBRARIES)
441 @list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \ 522 @list='$(toolexeclib_LTLIBRARIES)'; \
442 dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ 523 locs=`for p in $$list; do echo $$p; done | \
443 test "$$dir" != "$$p" || dir=.; \ 524 sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \
444 echo "rm -f \"$${dir}/so_locations\""; \ 525 sort -u`; \
445 rm -f "$${dir}/so_locations"; \ 526 test -z "$$locs" || { \
446 done 527 echo rm -f $${locs}; \
528 rm -f $${locs}; \
529 }
530
447libssp.la: $(libssp_la_OBJECTS) $(libssp_la_DEPENDENCIES) $(EXTRA_libssp_la_DEPENDENCIES) 531libssp.la: $(libssp_la_OBJECTS) $(libssp_la_DEPENDENCIES) $(EXTRA_libssp_la_DEPENDENCIES)
448 $(libssp_la_LINK) -rpath $(toolexeclibdir) $(libssp_la_OBJECTS) $(libssp_la_LIBADD) $(LIBS) 532 $(AM_V_CCLD)$(libssp_la_LINK) -rpath $(toolexeclibdir) $(libssp_la_OBJECTS) $(libssp_la_LIBADD) $(LIBS)
533
449libssp_nonshared.la: $(libssp_nonshared_la_OBJECTS) $(libssp_nonshared_la_DEPENDENCIES) $(EXTRA_libssp_nonshared_la_DEPENDENCIES) 534libssp_nonshared.la: $(libssp_nonshared_la_OBJECTS) $(libssp_nonshared_la_DEPENDENCIES) $(EXTRA_libssp_nonshared_la_DEPENDENCIES)
450 $(libssp_nonshared_la_LINK) -rpath $(toolexeclibdir) $(libssp_nonshared_la_OBJECTS) $(libssp_nonshared_la_LIBADD) $(LIBS) 535 $(AM_V_CCLD)$(libssp_nonshared_la_LINK) -rpath $(toolexeclibdir) $(libssp_nonshared_la_OBJECTS) $(libssp_nonshared_la_LIBADD) $(LIBS)
451 536
452mostlyclean-compile: 537mostlyclean-compile:
453 -rm -f *.$(OBJEXT) 538 -rm -f *.$(OBJEXT)
@@ -473,32 +558,32 @@ distclean-compile:
473@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/vsprintf-chk.Plo@am__quote@ 558@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/vsprintf-chk.Plo@am__quote@
474 559
475.c.o: 560.c.o:
476@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< 561@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
477@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po 562@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
478@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ 563@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
479@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 564@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
480@am__fastdepCC_FALSE@ $(COMPILE) -c $< 565@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
481 566
482.c.obj: 567.c.obj:
483@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` 568@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
484@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po 569@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
485@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ 570@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
486@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 571@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
487@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` 572@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
488 573
489.c.lo: 574.c.lo:
490@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< 575@am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
491@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo 576@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
492@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ 577@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
493@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 578@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
494@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< 579@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
495 580
496libssp_nonshared_la-ssp-local.lo: ssp-local.c 581libssp_nonshared_la-ssp-local.lo: ssp-local.c
497@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libssp_nonshared_la_CFLAGS) $(CFLAGS) -MT libssp_nonshared_la-ssp-local.lo -MD -MP -MF $(DEPDIR)/libssp_nonshared_la-ssp-local.Tpo -c -o libssp_nonshared_la-ssp-local.lo `test -f 'ssp-local.c' || echo '$(srcdir)/'`ssp-local.c 582@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libssp_nonshared_la_CFLAGS) $(CFLAGS) -MT libssp_nonshared_la-ssp-local.lo -MD -MP -MF $(DEPDIR)/libssp_nonshared_la-ssp-local.Tpo -c -o libssp_nonshared_la-ssp-local.lo `test -f 'ssp-local.c' || echo '$(srcdir)/'`ssp-local.c
498@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libssp_nonshared_la-ssp-local.Tpo $(DEPDIR)/libssp_nonshared_la-ssp-local.Plo 583@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libssp_nonshared_la-ssp-local.Tpo $(DEPDIR)/libssp_nonshared_la-ssp-local.Plo
499@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ssp-local.c' object='libssp_nonshared_la-ssp-local.lo' libtool=yes @AMDEPBACKSLASH@ 584@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='ssp-local.c' object='libssp_nonshared_la-ssp-local.lo' libtool=yes @AMDEPBACKSLASH@
500@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 585@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
501@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libssp_nonshared_la_CFLAGS) $(CFLAGS) -c -o libssp_nonshared_la-ssp-local.lo `test -f 'ssp-local.c' || echo '$(srcdir)/'`ssp-local.c 586@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libssp_nonshared_la_CFLAGS) $(CFLAGS) -c -o libssp_nonshared_la-ssp-local.lo `test -f 'ssp-local.c' || echo '$(srcdir)/'`ssp-local.c
502 587
503mostlyclean-libtool: 588mostlyclean-libtool:
504 -rm -f *.lo 589 -rm -f *.lo
@@ -508,23 +593,6 @@ clean-libtool:
508 593
509distclean-libtool: 594distclean-libtool:
510 -rm -f libtool config.lt 595 -rm -f libtool config.lt
511
512# GNU Make needs to see an explicit $(MAKE) variable in the command it
513# runs to enable its job server during parallel builds. Hence the
514# comments below.
515all-multi:
516 $(MULTIDO) $(AM_MAKEFLAGS) DO=all multi-do # $(MAKE)
517install-multi:
518 $(MULTIDO) $(AM_MAKEFLAGS) DO=install multi-do # $(MAKE)
519
520mostlyclean-multi:
521 $(MULTICLEAN) $(AM_MAKEFLAGS) DO=mostlyclean multi-clean # $(MAKE)
522clean-multi:
523 $(MULTICLEAN) $(AM_MAKEFLAGS) DO=clean multi-clean # $(MAKE)
524distclean-multi:
525 $(MULTICLEAN) $(AM_MAKEFLAGS) DO=distclean multi-clean # $(MAKE)
526maintainer-clean-multi:
527 $(MULTICLEAN) $(AM_MAKEFLAGS) DO=maintainer-clean multi-clean # $(MAKE)
528install-nobase_libsubincludeHEADERS: $(nobase_libsubinclude_HEADERS) 596install-nobase_libsubincludeHEADERS: $(nobase_libsubinclude_HEADERS)
529 @$(NORMAL_INSTALL) 597 @$(NORMAL_INSTALL)
530 @list='$(nobase_libsubinclude_HEADERS)'; test -n "$(libsubincludedir)" || list=; \ 598 @list='$(nobase_libsubinclude_HEADERS)'; test -n "$(libsubincludedir)" || list=; \
@@ -550,26 +618,15 @@ uninstall-nobase_libsubincludeHEADERS:
550 $(am__nobase_strip_setup); files=`$(am__nobase_strip)`; \ 618 $(am__nobase_strip_setup); files=`$(am__nobase_strip)`; \
551 dir='$(DESTDIR)$(libsubincludedir)'; $(am__uninstall_files_from_dir) 619 dir='$(DESTDIR)$(libsubincludedir)'; $(am__uninstall_files_from_dir)
552 620
553ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) 621ID: $(am__tagged_files)
554 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ 622 $(am__define_uniq_tagged_files); mkid -fID $$unique
555 unique=`for i in $$list; do \ 623tags: tags-am
556 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 624TAGS: tags
557 done | \ 625
558 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ 626tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
559 END { if (nonempty) { for (i in files) print i; }; }'`; \
560 mkid -fID $$unique
561tags: TAGS
562
563TAGS: $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
564 $(TAGS_FILES) $(LISP)
565 set x; \ 627 set x; \
566 here=`pwd`; \ 628 here=`pwd`; \
567 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ 629 $(am__define_uniq_tagged_files); \
568 unique=`for i in $$list; do \
569 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
570 done | \
571 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
572 END { if (nonempty) { for (i in files) print i; }; }'`; \
573 shift; \ 630 shift; \
574 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ 631 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
575 test -n "$$unique" || unique=$$empty_fix; \ 632 test -n "$$unique" || unique=$$empty_fix; \
@@ -581,15 +638,11 @@ TAGS: $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
581 $$unique; \ 638 $$unique; \
582 fi; \ 639 fi; \
583 fi 640 fi
584ctags: CTAGS 641ctags: ctags-am
585CTAGS: $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ 642
586 $(TAGS_FILES) $(LISP) 643CTAGS: ctags
587 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ 644ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
588 unique=`for i in $$list; do \ 645 $(am__define_uniq_tagged_files); \
589 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
590 done | \
591 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
592 END { if (nonempty) { for (i in files) print i; }; }'`; \
593 test -z "$(CTAGS_ARGS)$$unique" \ 646 test -z "$(CTAGS_ARGS)$$unique" \
594 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ 647 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
595 $$unique 648 $$unique
@@ -598,12 +651,34 @@ GTAGS:
598 here=`$(am__cd) $(top_builddir) && pwd` \ 651 here=`$(am__cd) $(top_builddir) && pwd` \
599 && $(am__cd) $(top_srcdir) \ 652 && $(am__cd) $(top_srcdir) \
600 && gtags -i $(GTAGS_ARGS) "$$here" 653 && gtags -i $(GTAGS_ARGS) "$$here"
654cscope: cscope.files
655 test ! -s cscope.files \
656 || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
657clean-cscope:
658 -rm -f cscope.files
659cscope.files: clean-cscope cscopelist
660cscopelist: cscopelist-am
661
662cscopelist-am: $(am__tagged_files)
663 list='$(am__tagged_files)'; \
664 case "$(srcdir)" in \
665 [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
666 *) sdir=$(subdir)/$(srcdir) ;; \
667 esac; \
668 for i in $$list; do \
669 if test -f "$$i"; then \
670 echo "$(subdir)/$$i"; \
671 else \
672 echo "$$sdir/$$i"; \
673 fi; \
674 done >> $(top_builddir)/cscope.files
601 675
602distclean-tags: 676distclean-tags:
603 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags 677 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
678 -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
604check-am: all-am 679check-am: all-am
605check: check-am 680check: check-am
606all-am: Makefile $(LTLIBRARIES) all-multi $(HEADERS) config.h 681all-am: Makefile $(LTLIBRARIES) $(HEADERS) config.h all-local
607installdirs: 682installdirs:
608 for dir in "$(DESTDIR)$(toolexeclibdir)" "$(DESTDIR)$(libsubincludedir)"; do \ 683 for dir in "$(DESTDIR)$(toolexeclibdir)" "$(DESTDIR)$(libsubincludedir)"; do \
609 test -z "$$dir" || $(MKDIR_P) "$$dir"; \ 684 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
@@ -638,17 +713,17 @@ distclean-generic:
638maintainer-clean-generic: 713maintainer-clean-generic:
639 @echo "This command is intended for maintainers to use" 714 @echo "This command is intended for maintainers to use"
640 @echo "it deletes files that may require special tools to rebuild." 715 @echo "it deletes files that may require special tools to rebuild."
641clean: clean-am clean-multi 716clean: clean-am
642 717
643clean-am: clean-generic clean-libtool clean-toolexeclibLTLIBRARIES \ 718clean-am: clean-generic clean-libtool clean-local \
644 mostlyclean-am 719 clean-toolexeclibLTLIBRARIES mostlyclean-am
645 720
646distclean: distclean-am distclean-multi 721distclean: distclean-am
647 -rm -f $(am__CONFIG_DISTCLEAN_FILES) 722 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
648 -rm -rf ./$(DEPDIR) 723 -rm -rf ./$(DEPDIR)
649 -rm -f Makefile 724 -rm -f Makefile
650distclean-am: clean-am distclean-compile distclean-generic \ 725distclean-am: clean-am distclean-compile distclean-generic \
651 distclean-hdr distclean-libtool distclean-tags 726 distclean-hdr distclean-libtool distclean-local distclean-tags
652 727
653dvi: dvi-am 728dvi: dvi-am
654 729
@@ -668,7 +743,7 @@ install-dvi: install-dvi-am
668 743
669install-dvi-am: 744install-dvi-am:
670 745
671install-exec-am: install-multi install-toolexeclibLTLIBRARIES 746install-exec-am: install-exec-local install-toolexeclibLTLIBRARIES
672 747
673install-html: install-html-am 748install-html: install-html-am
674 749
@@ -690,17 +765,18 @@ install-ps-am:
690 765
691installcheck-am: 766installcheck-am:
692 767
693maintainer-clean: maintainer-clean-am maintainer-clean-multi 768maintainer-clean: maintainer-clean-am
694 -rm -f $(am__CONFIG_DISTCLEAN_FILES) 769 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
695 -rm -rf $(top_srcdir)/autom4te.cache 770 -rm -rf $(top_srcdir)/autom4te.cache
696 -rm -rf ./$(DEPDIR) 771 -rm -rf ./$(DEPDIR)
697 -rm -f Makefile 772 -rm -f Makefile
698maintainer-clean-am: distclean-am maintainer-clean-generic 773maintainer-clean-am: distclean-am maintainer-clean-generic \
774 maintainer-clean-local
699 775
700mostlyclean: mostlyclean-am mostlyclean-multi 776mostlyclean: mostlyclean-am
701 777
702mostlyclean-am: mostlyclean-compile mostlyclean-generic \ 778mostlyclean-am: mostlyclean-compile mostlyclean-generic \
703 mostlyclean-libtool 779 mostlyclean-libtool mostlyclean-local
704 780
705pdf: pdf-am 781pdf: pdf-am
706 782
@@ -713,28 +789,29 @@ ps-am:
713uninstall-am: uninstall-nobase_libsubincludeHEADERS \ 789uninstall-am: uninstall-nobase_libsubincludeHEADERS \
714 uninstall-toolexeclibLTLIBRARIES 790 uninstall-toolexeclibLTLIBRARIES
715 791
716.MAKE: all all-multi clean-multi distclean-multi install-am \ 792.MAKE: all install-am install-strip
717 install-multi install-strip maintainer-clean-multi \ 793
718 mostlyclean-multi 794.PHONY: CTAGS GTAGS TAGS all all-am all-local am--refresh check \
719 795 check-am clean clean-cscope clean-generic clean-libtool \
720.PHONY: CTAGS GTAGS all all-am all-multi am--refresh check check-am \ 796 clean-local clean-toolexeclibLTLIBRARIES cscope cscopelist-am \
721 clean clean-generic clean-libtool clean-multi \ 797 ctags ctags-am distclean distclean-compile distclean-generic \
722 clean-toolexeclibLTLIBRARIES ctags distclean distclean-compile \ 798 distclean-hdr distclean-libtool distclean-local distclean-tags \
723 distclean-generic distclean-hdr distclean-libtool \ 799 dvi dvi-am html html-am info info-am install install-am \
724 distclean-multi distclean-tags dvi dvi-am html html-am info \ 800 install-data install-data-am install-dvi install-dvi-am \
725 info-am install install-am install-data install-data-am \ 801 install-exec install-exec-am install-exec-local install-html \
726 install-dvi install-dvi-am install-exec install-exec-am \ 802 install-html-am install-info install-info-am install-man \
727 install-html install-html-am install-info install-info-am \ 803 install-nobase_libsubincludeHEADERS install-pdf install-pdf-am \
728 install-man install-multi install-nobase_libsubincludeHEADERS \ 804 install-ps install-ps-am install-strip \
729 install-pdf install-pdf-am install-ps install-ps-am \ 805 install-toolexeclibLTLIBRARIES installcheck installcheck-am \
730 install-strip install-toolexeclibLTLIBRARIES installcheck \ 806 installdirs maintainer-clean maintainer-clean-generic \
731 installcheck-am installdirs maintainer-clean \ 807 maintainer-clean-local mostlyclean mostlyclean-compile \
732 maintainer-clean-generic maintainer-clean-multi mostlyclean \ 808 mostlyclean-generic mostlyclean-libtool mostlyclean-local pdf \
733 mostlyclean-compile mostlyclean-generic mostlyclean-libtool \ 809 pdf-am ps ps-am tags tags-am uninstall uninstall-am \
734 mostlyclean-multi pdf pdf-am ps ps-am tags uninstall \ 810 uninstall-nobase_libsubincludeHEADERS \
735 uninstall-am uninstall-nobase_libsubincludeHEADERS \
736 uninstall-toolexeclibLTLIBRARIES 811 uninstall-toolexeclibLTLIBRARIES
737 812
813.PRECIOUS: Makefile
814
738@LIBSSP_USE_SYMVER_SUN_TRUE@@LIBSSP_USE_SYMVER_TRUE@ssp.map-sun : $(srcdir)/ssp.map \ 815@LIBSSP_USE_SYMVER_SUN_TRUE@@LIBSSP_USE_SYMVER_TRUE@ssp.map-sun : $(srcdir)/ssp.map \
739@LIBSSP_USE_SYMVER_SUN_TRUE@@LIBSSP_USE_SYMVER_TRUE@ $(top_srcdir)/../contrib/make_sunver.pl \ 816@LIBSSP_USE_SYMVER_SUN_TRUE@@LIBSSP_USE_SYMVER_TRUE@ $(top_srcdir)/../contrib/make_sunver.pl \
740@LIBSSP_USE_SYMVER_SUN_TRUE@@LIBSSP_USE_SYMVER_TRUE@ $(libssp_la_OBJECTS) $(libssp_la_LIBADD) 817@LIBSSP_USE_SYMVER_SUN_TRUE@@LIBSSP_USE_SYMVER_TRUE@ $(libssp_la_OBJECTS) $(libssp_la_LIBADD)
@@ -745,6 +822,33 @@ uninstall-am: uninstall-nobase_libsubincludeHEADERS \
745@LIBSSP_USE_SYMVER_SUN_TRUE@@LIBSSP_USE_SYMVER_TRUE@ sed 's,/\([^/.]*\)\.la,/.libs/\1.a,g'` \ 822@LIBSSP_USE_SYMVER_SUN_TRUE@@LIBSSP_USE_SYMVER_TRUE@ sed 's,/\([^/.]*\)\.la,/.libs/\1.a,g'` \
746@LIBSSP_USE_SYMVER_SUN_TRUE@@LIBSSP_USE_SYMVER_TRUE@ > $@ || (rm -f $@ ; exit 1) 823@LIBSSP_USE_SYMVER_SUN_TRUE@@LIBSSP_USE_SYMVER_TRUE@ > $@ || (rm -f $@ ; exit 1)
747 824
825# GNU Make needs to see an explicit $(MAKE) variable in the command it
826# runs to enable its job server during parallel builds. Hence the
827# comments below.
828all-multi:
829 $(MULTIDO) $(AM_MAKEFLAGS) DO=all multi-do # $(MAKE)
830install-multi:
831 $(MULTIDO) $(AM_MAKEFLAGS) DO=install multi-do # $(MAKE)
832mostlyclean-multi:
833 $(MULTICLEAN) $(AM_MAKEFLAGS) DO=mostlyclean multi-clean # $(MAKE)
834clean-multi:
835 $(MULTICLEAN) $(AM_MAKEFLAGS) DO=clean multi-clean # $(MAKE)
836distclean-multi:
837 $(MULTICLEAN) $(AM_MAKEFLAGS) DO=distclean multi-clean # $(MAKE)
838maintainer-clean-multi:
839 $(MULTICLEAN) $(AM_MAKEFLAGS) DO=maintainer-clean multi-clean # $(MAKE)
840
841.MAKE .PHONY: all-multi clean-multi distclean-multi install-am \
842 install-multi maintainer-clean-multi mostlyclean-multi
843
844install-exec-local: install-multi
845
846all-local: all-multi
847mostlyclean-local: mostlyclean-multi
848clean-local: clean-multi
849distclean-local: distclean-multi
850maintainer-clean-local: maintainer-clean-multi
851
748# Tell versions [3.59,3.63) of GNU make to not export all variables. 852# Tell versions [3.59,3.63) of GNU make to not export all variables.
749# Otherwise a system limit (for SysV at least) may be exceeded. 853# Otherwise a system limit (for SysV at least) may be exceeded.
750.NOEXPORT: 854.NOEXPORT:
diff --git a/libssp/aclocal.m4 b/libssp/aclocal.m4
index 7eeae0cf2a9..5b8192e9a60 100644
--- a/libssp/aclocal.m4
+++ b/libssp/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.
781 790
782# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008 791# _AM_PROG_CC_C_O
783# Free Software Foundation, Inc. 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])])
831
832# Copyright (C) 2001-2017 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,82 +1055,122 @@ 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
990 1169
991m4_include([../config/acx.m4]) 1170m4_include([../config/acx.m4])
1171m4_include([../config/cet.m4])
992m4_include([../config/depstand.m4]) 1172m4_include([../config/depstand.m4])
1173m4_include([../config/enable.m4])
993m4_include([../config/lead-dot.m4]) 1174m4_include([../config/lead-dot.m4])
994m4_include([../config/lthostflags.m4]) 1175m4_include([../config/lthostflags.m4])
995m4_include([../config/multi.m4]) 1176m4_include([../config/multi.m4])
@@ -1000,5 +1181,3 @@ m4_include([../ltoptions.m4])
1000m4_include([../ltsugar.m4]) 1181m4_include([../ltsugar.m4])
1001m4_include([../ltversion.m4]) 1182m4_include([../ltversion.m4])
1002m4_include([../lt~obsolete.m4]) 1183m4_include([../lt~obsolete.m4])
1003m4_include([../config/enable.m4])
1004m4_include([../config/cet.m4])
diff --git a/libssp/configure b/libssp/configure
index 4e88e4916cc..2adbcc3fc22 100755
--- a/libssp/configure
+++ b/libssp/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 libssp 1.0. 3# Generated by GNU Autoconf 2.69 for libssp 1.0.
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
@@ -656,6 +687,10 @@ multi_basedir
656MAINT 687MAINT
657MAINTAINER_MODE_FALSE 688MAINTAINER_MODE_FALSE
658MAINTAINER_MODE_TRUE 689MAINTAINER_MODE_TRUE
690AM_BACKSLASH
691AM_DEFAULT_VERBOSITY
692AM_DEFAULT_V
693AM_V
659am__untar 694am__untar
660am__tar 695am__tar
661AMTAR 696AMTAR
@@ -733,6 +768,7 @@ SHELL'
733ac_subst_files='' 768ac_subst_files=''
734ac_user_opts=' 769ac_user_opts='
735enable_option_checking 770enable_option_checking
771enable_silent_rules
736enable_version_specific_runtime_libs 772enable_version_specific_runtime_libs
737enable_maintainer_mode 773enable_maintainer_mode
738enable_multilib 774enable_multilib
@@ -814,8 +850,9 @@ do
814 fi 850 fi
815 851
816 case $ac_option in 852 case $ac_option in
817 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 853 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
818 *) ac_optarg=yes ;; 854 *=) ac_optarg= ;;
855 *) ac_optarg=yes ;;
819 esac 856 esac
820 857
821 # Accept the important Cygnus configure options, so we can diagnose typos. 858 # Accept the important Cygnus configure options, so we can diagnose typos.
@@ -860,7 +897,7 @@ do
860 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 897 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
861 # Reject names that are not valid shell variable names. 898 # Reject names that are not valid shell variable names.
862 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 899 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
863 as_fn_error "invalid feature name: $ac_useropt" 900 as_fn_error $? "invalid feature name: $ac_useropt"
864 ac_useropt_orig=$ac_useropt 901 ac_useropt_orig=$ac_useropt
865 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 902 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
866 case $ac_user_opts in 903 case $ac_user_opts in
@@ -886,7 +923,7 @@ do
886 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 923 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
887 # Reject names that are not valid shell variable names. 924 # Reject names that are not valid shell variable names.
888 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 925 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
889 as_fn_error "invalid feature name: $ac_useropt" 926 as_fn_error $? "invalid feature name: $ac_useropt"
890 ac_useropt_orig=$ac_useropt 927 ac_useropt_orig=$ac_useropt
891 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 928 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
892 case $ac_user_opts in 929 case $ac_user_opts in
@@ -1090,7 +1127,7 @@ do
1090 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1127 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1091 # Reject names that are not valid shell variable names. 1128 # Reject names that are not valid shell variable names.
1092 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1129 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1093 as_fn_error "invalid package name: $ac_useropt" 1130 as_fn_error $? "invalid package name: $ac_useropt"
1094 ac_useropt_orig=$ac_useropt 1131 ac_useropt_orig=$ac_useropt
1095 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1132 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1096 case $ac_user_opts in 1133 case $ac_user_opts in
@@ -1106,7 +1143,7 @@ do
1106 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1143 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1107 # Reject names that are not valid shell variable names. 1144 # Reject names that are not valid shell variable names.
1108 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1145 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1109 as_fn_error "invalid package name: $ac_useropt" 1146 as_fn_error $? "invalid package name: $ac_useropt"
1110 ac_useropt_orig=$ac_useropt 1147 ac_useropt_orig=$ac_useropt
1111 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1148 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1112 case $ac_user_opts in 1149 case $ac_user_opts in
@@ -1136,8 +1173,8 @@ do
1136 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1173 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1137 x_libraries=$ac_optarg ;; 1174 x_libraries=$ac_optarg ;;
1138 1175
1139 -*) as_fn_error "unrecognized option: \`$ac_option' 1176 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1140Try \`$0 --help' for more information." 1177Try \`$0 --help' for more information"
1141 ;; 1178 ;;
1142 1179
1143 *=*) 1180 *=*)
@@ -1145,7 +1182,7 @@ Try \`$0 --help' for more information."
1145 # Reject names that are not valid shell variable names. 1182 # Reject names that are not valid shell variable names.
1146 case $ac_envvar in #( 1183 case $ac_envvar in #(
1147 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1184 '' | [0-9]* | *[!_$as_cr_alnum]* )
1148 as_fn_error "invalid variable name: \`$ac_envvar'" ;; 1185 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1149 esac 1186 esac
1150 eval $ac_envvar=\$ac_optarg 1187 eval $ac_envvar=\$ac_optarg
1151 export $ac_envvar ;; 1188 export $ac_envvar ;;
@@ -1155,7 +1192,7 @@ Try \`$0 --help' for more information."
1155 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1192 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1156 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1193 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1157 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1194 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1158 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1195 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1159 ;; 1196 ;;
1160 1197
1161 esac 1198 esac
@@ -1163,13 +1200,13 @@ done
1163 1200
1164if test -n "$ac_prev"; then 1201if test -n "$ac_prev"; then
1165 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1202 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1166 as_fn_error "missing argument to $ac_option" 1203 as_fn_error $? "missing argument to $ac_option"
1167fi 1204fi
1168 1205
1169if test -n "$ac_unrecognized_opts"; then 1206if test -n "$ac_unrecognized_opts"; then
1170 case $enable_option_checking in 1207 case $enable_option_checking in
1171 no) ;; 1208 no) ;;
1172 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; 1209 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1173 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1210 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1174 esac 1211 esac
1175fi 1212fi
@@ -1192,7 +1229,7 @@ do
1192 [\\/$]* | ?:[\\/]* ) continue;; 1229 [\\/$]* | ?:[\\/]* ) continue;;
1193 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1230 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1194 esac 1231 esac
1195 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" 1232 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1196done 1233done
1197 1234
1198# There might be people who depend on the old broken behavior: `$host' 1235# There might be people who depend on the old broken behavior: `$host'
@@ -1206,8 +1243,6 @@ target=$target_alias
1206if test "x$host_alias" != x; then 1243if test "x$host_alias" != x; then
1207 if test "x$build_alias" = x; then 1244 if test "x$build_alias" = x; then
1208 cross_compiling=maybe 1245 cross_compiling=maybe
1209 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1210 If a cross compiler is detected then cross compile mode will be used." >&2
1211 elif test "x$build_alias" != "x$host_alias"; then 1246 elif test "x$build_alias" != "x$host_alias"; then
1212 cross_compiling=yes 1247 cross_compiling=yes
1213 fi 1248 fi
@@ -1222,9 +1257,9 @@ test "$silent" = yes && exec 6>/dev/null
1222ac_pwd=`pwd` && test -n "$ac_pwd" && 1257ac_pwd=`pwd` && test -n "$ac_pwd" &&
1223ac_ls_di=`ls -di .` && 1258ac_ls_di=`ls -di .` &&
1224ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1259ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1225 as_fn_error "working directory cannot be determined" 1260 as_fn_error $? "working directory cannot be determined"
1226test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1261test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1227 as_fn_error "pwd does not report name of working directory" 1262 as_fn_error $? "pwd does not report name of working directory"
1228 1263
1229 1264
1230# Find the source files, if location was not specified. 1265# Find the source files, if location was not specified.
@@ -1263,11 +1298,11 @@ else
1263fi 1298fi
1264if test ! -r "$srcdir/$ac_unique_file"; then 1299if test ! -r "$srcdir/$ac_unique_file"; then
1265 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1300 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1266 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" 1301 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1267fi 1302fi
1268ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1303ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1269ac_abs_confdir=`( 1304ac_abs_confdir=`(
1270 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" 1305 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1271 pwd)` 1306 pwd)`
1272# When building in place, set srcdir=. 1307# When building in place, set srcdir=.
1273if test "$ac_abs_confdir" = "$ac_pwd"; then 1308if test "$ac_abs_confdir" = "$ac_pwd"; then
@@ -1307,7 +1342,7 @@ Configuration:
1307 --help=short display options specific to this package 1342 --help=short display options specific to this package
1308 --help=recursive display the short help of all the included packages 1343 --help=recursive display the short help of all the included packages
1309 -V, --version display version information and exit 1344 -V, --version display version information and exit
1310 -q, --quiet, --silent do not print \`checking...' messages 1345 -q, --quiet, --silent do not print \`checking ...' messages
1311 --cache-file=FILE cache test results in FILE [disabled] 1346 --cache-file=FILE cache test results in FILE [disabled]
1312 -C, --config-cache alias for \`--cache-file=config.cache' 1347 -C, --config-cache alias for \`--cache-file=config.cache'
1313 -n, --no-create do not create output files 1348 -n, --no-create do not create output files
@@ -1372,12 +1407,17 @@ Optional Features:
1372 --disable-option-checking ignore unrecognized --enable/--with options 1407 --disable-option-checking ignore unrecognized --enable/--with options
1373 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1408 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1374 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1409 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1410 --enable-silent-rules less verbose build output (undo: "make V=1")
1411 --disable-silent-rules verbose build output (undo: "make V=0")
1375 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory 1412 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory
1376 --enable-maintainer-mode enable make rules and dependencies not useful 1413 --enable-maintainer-mode
1377 (and sometimes confusing) to the casual installer 1414 enable make rules and dependencies not useful (and
1415 sometimes confusing) to the casual installer
1378 --enable-multilib build many library versions (default) 1416 --enable-multilib build many library versions (default)
1379 --disable-dependency-tracking speeds up one-time build 1417 --enable-dependency-tracking
1380 --enable-dependency-tracking do not reject slow dependency extractors 1418 do not reject slow dependency extractors
1419 --disable-dependency-tracking
1420 speeds up one-time build
1381 --enable-cet enable Intel CET in target libraries [default=no] 1421 --enable-cet enable Intel CET in target libraries [default=no]
1382 --disable-symvers disable symbol versioning for libssp 1422 --disable-symvers disable symbol versioning for libssp
1383 --enable-shared[=PKGS] build shared libraries [default=yes] 1423 --enable-shared[=PKGS] build shared libraries [default=yes]
@@ -1401,7 +1441,7 @@ Some influential environment variables:
1401 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1441 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1402 nonstandard directory <lib dir> 1442 nonstandard directory <lib dir>
1403 LIBS libraries to pass to the linker, e.g. -l<library> 1443 LIBS libraries to pass to the linker, e.g. -l<library>
1404 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1444 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1405 you have headers in a nonstandard directory <include dir> 1445 you have headers in a nonstandard directory <include dir>
1406 CPP C preprocessor 1446 CPP C preprocessor
1407 1447
@@ -1472,9 +1512,9 @@ test -n "$ac_init_help" && exit $ac_status
1472if $ac_init_version; then 1512if $ac_init_version; then
1473 cat <<\_ACEOF 1513 cat <<\_ACEOF
1474libssp configure 1.0 1514libssp configure 1.0
1475generated by GNU Autoconf 2.64 1515generated by GNU Autoconf 2.69
1476 1516
1477Copyright (C) 2009 Free Software Foundation, Inc. 1517Copyright (C) 2012 Free Software Foundation, Inc.
1478This configure script is free software; the Free Software Foundation 1518This configure script is free software; the Free Software Foundation
1479gives unlimited permission to copy, distribute and modify it. 1519gives unlimited permission to copy, distribute and modify it.
1480_ACEOF 1520_ACEOF
@@ -1518,8 +1558,8 @@ sed 's/^/| /' conftest.$ac_ext >&5
1518 1558
1519 ac_retval=1 1559 ac_retval=1
1520fi 1560fi
1521 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1561 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1522 return $ac_retval 1562 as_fn_set_status $ac_retval
1523 1563
1524} # ac_fn_c_try_compile 1564} # ac_fn_c_try_compile
1525 1565
@@ -1544,7 +1584,7 @@ $as_echo "$ac_try_echo"; } >&5
1544 mv -f conftest.er1 conftest.err 1584 mv -f conftest.er1 conftest.err
1545 fi 1585 fi
1546 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1586 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1547 test $ac_status = 0; } >/dev/null && { 1587 test $ac_status = 0; } > conftest.i && {
1548 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1588 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1549 test ! -s conftest.err 1589 test ! -s conftest.err
1550 }; then : 1590 }; then :
@@ -1555,8 +1595,8 @@ sed 's/^/| /' conftest.$ac_ext >&5
1555 1595
1556 ac_retval=1 1596 ac_retval=1
1557fi 1597fi
1558 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1598 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1559 return $ac_retval 1599 as_fn_set_status $ac_retval
1560 1600
1561} # ac_fn_c_try_cpp 1601} # ac_fn_c_try_cpp
1562 1602
@@ -1587,7 +1627,7 @@ $as_echo "$ac_try_echo"; } >&5
1587 test ! -s conftest.err 1627 test ! -s conftest.err
1588 } && test -s conftest$ac_exeext && { 1628 } && test -s conftest$ac_exeext && {
1589 test "$cross_compiling" = yes || 1629 test "$cross_compiling" = yes ||
1590 $as_test_x conftest$ac_exeext 1630 test -x conftest$ac_exeext
1591 }; then : 1631 }; then :
1592 ac_retval=0 1632 ac_retval=0
1593else 1633else
@@ -1601,8 +1641,8 @@ fi
1601 # interfere with the next link command; also delete a directory that is 1641 # interfere with the next link command; also delete a directory that is
1602 # left behind by Apple's compiler. We do this before executing the actions. 1642 # left behind by Apple's compiler. We do this before executing the actions.
1603 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1643 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1604 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1644 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1605 return $ac_retval 1645 as_fn_set_status $ac_retval
1606 1646
1607} # ac_fn_c_try_link 1647} # ac_fn_c_try_link
1608 1648
@@ -1614,10 +1654,10 @@ fi
1614ac_fn_c_check_header_mongrel () 1654ac_fn_c_check_header_mongrel ()
1615{ 1655{
1616 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1656 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1617 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1657 if eval \${$3+:} false; then :
1618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1619$as_echo_n "checking for $2... " >&6; } 1659$as_echo_n "checking for $2... " >&6; }
1620if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1660if eval \${$3+:} false; then :
1621 $as_echo_n "(cached) " >&6 1661 $as_echo_n "(cached) " >&6
1622fi 1662fi
1623eval ac_res=\$$3 1663eval ac_res=\$$3
@@ -1653,7 +1693,7 @@ if ac_fn_c_try_cpp "$LINENO"; then :
1653else 1693else
1654 ac_header_preproc=no 1694 ac_header_preproc=no
1655fi 1695fi
1656rm -f conftest.err conftest.$ac_ext 1696rm -f conftest.err conftest.i conftest.$ac_ext
1657{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1697{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1658$as_echo "$ac_header_preproc" >&6; } 1698$as_echo "$ac_header_preproc" >&6; }
1659 1699
@@ -1680,7 +1720,7 @@ $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1680esac 1720esac
1681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1682$as_echo_n "checking for $2... " >&6; } 1722$as_echo_n "checking for $2... " >&6; }
1683if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1723if eval \${$3+:} false; then :
1684 $as_echo_n "(cached) " >&6 1724 $as_echo_n "(cached) " >&6
1685else 1725else
1686 eval "$3=\$ac_header_compiler" 1726 eval "$3=\$ac_header_compiler"
@@ -1689,7 +1729,7 @@ eval ac_res=\$$3
1689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1690$as_echo "$ac_res" >&6; } 1730$as_echo "$ac_res" >&6; }
1691fi 1731fi
1692 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1732 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1693 1733
1694} # ac_fn_c_check_header_mongrel 1734} # ac_fn_c_check_header_mongrel
1695 1735
@@ -1730,8 +1770,8 @@ sed 's/^/| /' conftest.$ac_ext >&5
1730 ac_retval=$ac_status 1770 ac_retval=$ac_status
1731fi 1771fi
1732 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1772 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1733 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1773 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1734 return $ac_retval 1774 as_fn_set_status $ac_retval
1735 1775
1736} # ac_fn_c_try_run 1776} # ac_fn_c_try_run
1737 1777
@@ -1744,7 +1784,7 @@ ac_fn_c_check_header_compile ()
1744 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1784 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1746$as_echo_n "checking for $2... " >&6; } 1786$as_echo_n "checking for $2... " >&6; }
1747if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1787if eval \${$3+:} false; then :
1748 $as_echo_n "(cached) " >&6 1788 $as_echo_n "(cached) " >&6
1749else 1789else
1750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -1762,7 +1802,7 @@ fi
1762eval ac_res=\$$3 1802eval ac_res=\$$3
1763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1764$as_echo "$ac_res" >&6; } 1804$as_echo "$ac_res" >&6; }
1765 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1805 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1766 1806
1767} # ac_fn_c_check_header_compile 1807} # ac_fn_c_check_header_compile
1768 1808
@@ -1774,11 +1814,11 @@ ac_fn_c_check_func ()
1774 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1814 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1776$as_echo_n "checking for $2... " >&6; } 1816$as_echo_n "checking for $2... " >&6; }
1777if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1817if eval \${$3+:} false; then :
1778 $as_echo_n "(cached) " >&6 1818 $as_echo_n "(cached) " >&6
1779else 1819else
1780 if test x$gcc_no_link = xyes; then 1820 if test x$gcc_no_link = xyes; then
1781 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 1821 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1782fi 1822fi
1783cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1823cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1784/* end confdefs.h. */ 1824/* end confdefs.h. */
@@ -1832,7 +1872,7 @@ fi
1832eval ac_res=\$$3 1872eval ac_res=\$$3
1833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1834$as_echo "$ac_res" >&6; } 1874$as_echo "$ac_res" >&6; }
1835 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1875 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1836 1876
1837} # ac_fn_c_check_func 1877} # ac_fn_c_check_func
1838cat >config.log <<_ACEOF 1878cat >config.log <<_ACEOF
@@ -1840,7 +1880,7 @@ This file contains any messages produced by compilers while
1840running configure, to aid debugging if configure makes a mistake. 1880running configure, to aid debugging if configure makes a mistake.
1841 1881
1842It was created by libssp $as_me 1.0, which was 1882It was created by libssp $as_me 1.0, which was
1843generated by GNU Autoconf 2.64. Invocation command line was 1883generated by GNU Autoconf 2.69. Invocation command line was
1844 1884
1845 $ $0 $@ 1885 $ $0 $@
1846 1886
@@ -1950,11 +1990,9 @@ trap 'exit_status=$?
1950 { 1990 {
1951 echo 1991 echo
1952 1992
1953 cat <<\_ASBOX 1993 $as_echo "## ---------------- ##
1954## ---------------- ##
1955## Cache variables. ## 1994## Cache variables. ##
1956## ---------------- ## 1995## ---------------- ##"
1957_ASBOX
1958 echo 1996 echo
1959 # The following way of writing the cache mishandles newlines in values, 1997 # The following way of writing the cache mishandles newlines in values,
1960( 1998(
@@ -1988,11 +2026,9 @@ $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1988) 2026)
1989 echo 2027 echo
1990 2028
1991 cat <<\_ASBOX 2029 $as_echo "## ----------------- ##
1992## ----------------- ##
1993## Output variables. ## 2030## Output variables. ##
1994## ----------------- ## 2031## ----------------- ##"
1995_ASBOX
1996 echo 2032 echo
1997 for ac_var in $ac_subst_vars 2033 for ac_var in $ac_subst_vars
1998 do 2034 do
@@ -2005,11 +2041,9 @@ _ASBOX
2005 echo 2041 echo
2006 2042
2007 if test -n "$ac_subst_files"; then 2043 if test -n "$ac_subst_files"; then
2008 cat <<\_ASBOX 2044 $as_echo "## ------------------- ##
2009## ------------------- ##
2010## File substitutions. ## 2045## File substitutions. ##
2011## ------------------- ## 2046## ------------------- ##"
2012_ASBOX
2013 echo 2047 echo
2014 for ac_var in $ac_subst_files 2048 for ac_var in $ac_subst_files
2015 do 2049 do
@@ -2023,11 +2057,9 @@ _ASBOX
2023 fi 2057 fi
2024 2058
2025 if test -s confdefs.h; then 2059 if test -s confdefs.h; then
2026 cat <<\_ASBOX 2060 $as_echo "## ----------- ##
2027## ----------- ##
2028## confdefs.h. ## 2061## confdefs.h. ##
2029## ----------- ## 2062## ----------- ##"
2030_ASBOX
2031 echo 2063 echo
2032 cat confdefs.h 2064 cat confdefs.h
2033 echo 2065 echo
@@ -2082,7 +2114,12 @@ _ACEOF
2082ac_site_file1=NONE 2114ac_site_file1=NONE
2083ac_site_file2=NONE 2115ac_site_file2=NONE
2084if test -n "$CONFIG_SITE"; then 2116if test -n "$CONFIG_SITE"; then
2085 ac_site_file1=$CONFIG_SITE 2117 # We do not want a PATH search for config.site.
2118 case $CONFIG_SITE in #((
2119 -*) ac_site_file1=./$CONFIG_SITE;;
2120 */*) ac_site_file1=$CONFIG_SITE;;
2121 *) ac_site_file1=./$CONFIG_SITE;;
2122 esac
2086elif test "x$prefix" != xNONE; then 2123elif test "x$prefix" != xNONE; then
2087 ac_site_file1=$prefix/share/config.site 2124 ac_site_file1=$prefix/share/config.site
2088 ac_site_file2=$prefix/etc/config.site 2125 ac_site_file2=$prefix/etc/config.site
@@ -2093,18 +2130,22 @@ fi
2093for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2130for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2094do 2131do
2095 test "x$ac_site_file" = xNONE && continue 2132 test "x$ac_site_file" = xNONE && continue
2096 if test -r "$ac_site_file"; then 2133 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2097 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2134 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2098$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2135$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2099 sed 's/^/| /' "$ac_site_file" >&5 2136 sed 's/^/| /' "$ac_site_file" >&5
2100 . "$ac_site_file" 2137 . "$ac_site_file" \
2138 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2139$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2140as_fn_error $? "failed to load site script $ac_site_file
2141See \`config.log' for more details" "$LINENO" 5; }
2101 fi 2142 fi
2102done 2143done
2103 2144
2104if test -r "$cache_file"; then 2145if test -r "$cache_file"; then
2105 # Some versions of bash will fail to source /dev/null (special 2146 # Some versions of bash will fail to source /dev/null (special files
2106 # files actually), so we avoid doing that. 2147 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2107 if test -f "$cache_file"; then 2148 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2108 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2149 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2109$as_echo "$as_me: loading cache $cache_file" >&6;} 2150$as_echo "$as_me: loading cache $cache_file" >&6;}
2110 case $cache_file in 2151 case $cache_file in
@@ -2173,7 +2214,7 @@ if $ac_cache_corrupted; then
2173$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2214$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2174 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2215 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2175$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2216$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2176 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2217 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2177fi 2218fi
2178## -------------------- ## 2219## -------------------- ##
2179## Main body of script. ## 2220## Main body of script. ##
@@ -2192,16 +2233,22 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
2192 2233
2193ac_aux_dir= 2234ac_aux_dir=
2194for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2235for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2195 for ac_t in install-sh install.sh shtool; do 2236 if test -f "$ac_dir/install-sh"; then
2196 if test -f "$ac_dir/$ac_t"; then 2237 ac_aux_dir=$ac_dir
2197 ac_aux_dir=$ac_dir 2238 ac_install_sh="$ac_aux_dir/install-sh -c"
2198 ac_install_sh="$ac_aux_dir/$ac_t -c" 2239 break
2199 break 2 2240 elif test -f "$ac_dir/install.sh"; then
2200 fi 2241 ac_aux_dir=$ac_dir
2201 done 2242 ac_install_sh="$ac_aux_dir/install.sh -c"
2243 break
2244 elif test -f "$ac_dir/shtool"; then
2245 ac_aux_dir=$ac_dir
2246 ac_install_sh="$ac_aux_dir/shtool install -c"
2247 break
2248 fi
2202done 2249done
2203if test -z "$ac_aux_dir"; then 2250if test -z "$ac_aux_dir"; then
2204 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2251 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2205fi 2252fi
2206 2253
2207# These three variables are undocumented and unsupported, 2254# These three variables are undocumented and unsupported,
@@ -2215,27 +2262,27 @@ ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2215 2262
2216# Make sure we can run config.sub. 2263# Make sure we can run config.sub.
2217$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2264$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2218 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 2265 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2219 2266
2220{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 2267{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2221$as_echo_n "checking build system type... " >&6; } 2268$as_echo_n "checking build system type... " >&6; }
2222if test "${ac_cv_build+set}" = set; then : 2269if ${ac_cv_build+:} false; then :
2223 $as_echo_n "(cached) " >&6 2270 $as_echo_n "(cached) " >&6
2224else 2271else
2225 ac_build_alias=$build_alias 2272 ac_build_alias=$build_alias
2226test "x$ac_build_alias" = x && 2273test "x$ac_build_alias" = x &&
2227 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 2274 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2228test "x$ac_build_alias" = x && 2275test "x$ac_build_alias" = x &&
2229 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 2276 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2230ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 2277ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2231 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 2278 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2232 2279
2233fi 2280fi
2234{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 2281{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2235$as_echo "$ac_cv_build" >&6; } 2282$as_echo "$ac_cv_build" >&6; }
2236case $ac_cv_build in 2283case $ac_cv_build in
2237*-*-*) ;; 2284*-*-*) ;;
2238*) as_fn_error "invalid value of canonical build" "$LINENO" 5;; 2285*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2239esac 2286esac
2240build=$ac_cv_build 2287build=$ac_cv_build
2241ac_save_IFS=$IFS; IFS='-' 2288ac_save_IFS=$IFS; IFS='-'
@@ -2253,14 +2300,14 @@ case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2253 2300
2254{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 2301{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2255$as_echo_n "checking host system type... " >&6; } 2302$as_echo_n "checking host system type... " >&6; }
2256if test "${ac_cv_host+set}" = set; then : 2303if ${ac_cv_host+:} false; then :
2257 $as_echo_n "(cached) " >&6 2304 $as_echo_n "(cached) " >&6
2258else 2305else
2259 if test "x$host_alias" = x; then 2306 if test "x$host_alias" = x; then
2260 ac_cv_host=$ac_cv_build 2307 ac_cv_host=$ac_cv_build
2261else 2308else
2262 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 2309 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2263 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 2310 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2264fi 2311fi
2265 2312
2266fi 2313fi
@@ -2268,7 +2315,7 @@ fi
2268$as_echo "$ac_cv_host" >&6; } 2315$as_echo "$ac_cv_host" >&6; }
2269case $ac_cv_host in 2316case $ac_cv_host in
2270*-*-*) ;; 2317*-*-*) ;;
2271*) as_fn_error "invalid value of canonical host" "$LINENO" 5;; 2318*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2272esac 2319esac
2273host=$ac_cv_host 2320host=$ac_cv_host
2274ac_save_IFS=$IFS; IFS='-' 2321ac_save_IFS=$IFS; IFS='-'
@@ -2286,14 +2333,14 @@ case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2286 2333
2287{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 2334{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2288$as_echo_n "checking target system type... " >&6; } 2335$as_echo_n "checking target system type... " >&6; }
2289if test "${ac_cv_target+set}" = set; then : 2336if ${ac_cv_target+:} false; then :
2290 $as_echo_n "(cached) " >&6 2337 $as_echo_n "(cached) " >&6
2291else 2338else
2292 if test "x$target_alias" = x; then 2339 if test "x$target_alias" = x; then
2293 ac_cv_target=$ac_cv_host 2340 ac_cv_target=$ac_cv_host
2294else 2341else
2295 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 2342 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2296 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 2343 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2297fi 2344fi
2298 2345
2299fi 2346fi
@@ -2301,7 +2348,7 @@ fi
2301$as_echo "$ac_cv_target" >&6; } 2348$as_echo "$ac_cv_target" >&6; }
2302case $ac_cv_target in 2349case $ac_cv_target in
2303*-*-*) ;; 2350*-*-*) ;;
2304*) as_fn_error "invalid value of canonical target" "$LINENO" 5;; 2351*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2305esac 2352esac
2306target=$ac_cv_target 2353target=$ac_cv_target
2307ac_save_IFS=$IFS; IFS='-' 2354ac_save_IFS=$IFS; IFS='-'
@@ -2342,7 +2389,7 @@ esac
2342 2389
2343 2390
2344 2391
2345am__api_version='1.11' 2392am__api_version='1.15'
2346 2393
2347# Find a good install program. We prefer a C program (faster), 2394# Find a good install program. We prefer a C program (faster),
2348# so one script is as good as another. But avoid the broken or 2395# so one script is as good as another. But avoid the broken or
@@ -2361,7 +2408,7 @@ am__api_version='1.11'
2361{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2408{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2362$as_echo_n "checking for a BSD-compatible install... " >&6; } 2409$as_echo_n "checking for a BSD-compatible install... " >&6; }
2363if test -z "$INSTALL"; then 2410if test -z "$INSTALL"; then
2364if test "${ac_cv_path_install+set}" = set; then : 2411if ${ac_cv_path_install+:} false; then :
2365 $as_echo_n "(cached) " >&6 2412 $as_echo_n "(cached) " >&6
2366else 2413else
2367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -2381,7 +2428,7 @@ case $as_dir/ in #((
2381 # by default. 2428 # by default.
2382 for ac_prog in ginstall scoinst install; do 2429 for ac_prog in ginstall scoinst install; do
2383 for ac_exec_ext in '' $ac_executable_extensions; do 2430 for ac_exec_ext in '' $ac_executable_extensions; do
2384 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 2431 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2385 if test $ac_prog = install && 2432 if test $ac_prog = install &&
2386 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2433 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2387 # AIX install. It has an incompatible calling convention. 2434 # AIX install. It has an incompatible calling convention.
@@ -2439,56 +2486,71 @@ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2439 2486
2440{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2487{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2441$as_echo_n "checking whether build environment is sane... " >&6; } 2488$as_echo_n "checking whether build environment is sane... " >&6; }
2442# Just in case
2443sleep 1
2444echo timestamp > conftest.file
2445# Reject unsafe characters in $srcdir or the absolute working directory 2489# Reject unsafe characters in $srcdir or the absolute working directory
2446# name. Accept space and tab only in the latter. 2490# name. Accept space and tab only in the latter.
2447am_lf=' 2491am_lf='
2448' 2492'
2449case `pwd` in 2493case `pwd` in
2450 *[\\\"\#\$\&\'\`$am_lf]*) 2494 *[\\\"\#\$\&\'\`$am_lf]*)
2451 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;; 2495 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2452esac 2496esac
2453case $srcdir in 2497case $srcdir in
2454 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2498 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2455 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; 2499 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2456esac 2500esac
2457 2501
2458# Do `set' in a subshell so we don't clobber the current shell's 2502# Do 'set' in a subshell so we don't clobber the current shell's
2459# arguments. Must try -L first in case configure is actually a 2503# arguments. Must try -L first in case configure is actually a
2460# symlink; some systems play weird games with the mod time of symlinks 2504# symlink; some systems play weird games with the mod time of symlinks
2461# (eg FreeBSD returns the mod time of the symlink's containing 2505# (eg FreeBSD returns the mod time of the symlink's containing
2462# directory). 2506# directory).
2463if ( 2507if (
2464 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2508 am_has_slept=no
2465 if test "$*" = "X"; then 2509 for am_try in 1 2; do
2466 # -L didn't work. 2510 echo "timestamp, slept: $am_has_slept" > conftest.file
2467 set X `ls -t "$srcdir/configure" conftest.file` 2511 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2468 fi 2512 if test "$*" = "X"; then
2469 rm -f conftest.file 2513 # -L didn't work.
2470 if test "$*" != "X $srcdir/configure conftest.file" \ 2514 set X `ls -t "$srcdir/configure" conftest.file`
2471 && test "$*" != "X conftest.file $srcdir/configure"; then 2515 fi
2472 2516 if test "$*" != "X $srcdir/configure conftest.file" \
2473 # If neither matched, then we have a broken ls. This can happen 2517 && test "$*" != "X conftest.file $srcdir/configure"; then
2474 # if, for instance, CONFIG_SHELL is bash and it inherits a 2518
2475 # broken ls alias from the environment. This has actually 2519 # If neither matched, then we have a broken ls. This can happen
2476 # happened. Such a system could not be considered "sane". 2520 # if, for instance, CONFIG_SHELL is bash and it inherits a
2477 as_fn_error "ls -t appears to fail. Make sure there is not a broken 2521 # broken ls alias from the environment. This has actually
2478alias in your environment" "$LINENO" 5 2522 # happened. Such a system could not be considered "sane".
2479 fi 2523 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2480 2524 alias in your environment" "$LINENO" 5
2525 fi
2526 if test "$2" = conftest.file || test $am_try -eq 2; then
2527 break
2528 fi
2529 # Just in case.
2530 sleep 1
2531 am_has_slept=yes
2532 done
2481 test "$2" = conftest.file 2533 test "$2" = conftest.file
2482 ) 2534 )
2483then 2535then
2484 # Ok. 2536 # Ok.
2485 : 2537 :
2486else 2538else
2487 as_fn_error "newly created file is older than distributed files! 2539 as_fn_error $? "newly created file is older than distributed files!
2488Check your system clock" "$LINENO" 5 2540Check your system clock" "$LINENO" 5
2489fi 2541fi
2490{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2542{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2491$as_echo "yes" >&6; } 2543$as_echo "yes" >&6; }
2544# If we didn't sleep, we still need to ensure time stamps of config.status and
2545# generated files are strictly newer.
2546am_sleep_pid=
2547if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2548 ( sleep 1 ) &
2549 am_sleep_pid=$!
2550fi
2551
2552rm -f conftest.file
2553
2492test "$program_prefix" != NONE && 2554test "$program_prefix" != NONE &&
2493 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2555 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2494# Use a double $ so make ignores it. 2556# Use a double $ so make ignores it.
@@ -2499,8 +2561,8 @@ test "$program_suffix" != NONE &&
2499ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2561ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2500program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2562program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2501 2563
2502# expand $ac_aux_dir to an absolute path 2564# Expand $ac_aux_dir to an absolute path.
2503am_aux_dir=`cd $ac_aux_dir && pwd` 2565am_aux_dir=`cd "$ac_aux_dir" && pwd`
2504 2566
2505if test x"${MISSING+set}" != xset; then 2567if test x"${MISSING+set}" != xset; then
2506 case $am_aux_dir in 2568 case $am_aux_dir in
@@ -2511,15 +2573,15 @@ if test x"${MISSING+set}" != xset; then
2511 esac 2573 esac
2512fi 2574fi
2513# Use eval to expand $SHELL 2575# Use eval to expand $SHELL
2514if eval "$MISSING --run true"; then 2576if eval "$MISSING --is-lightweight"; then
2515 am_missing_run="$MISSING --run " 2577 am_missing_run="$MISSING "
2516else 2578else
2517 am_missing_run= 2579 am_missing_run=
2518 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 2580 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2519$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 2581$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2520fi 2582fi
2521 2583
2522if test x"${install_sh}" != xset; then 2584if test x"${install_sh+set}" != xset; then
2523 case $am_aux_dir in 2585 case $am_aux_dir in
2524 *\ * | *\ *) 2586 *\ * | *\ *)
2525 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2587 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
@@ -2528,17 +2590,17 @@ if test x"${install_sh}" != xset; then
2528 esac 2590 esac
2529fi 2591fi
2530 2592
2531# Installed binaries are usually stripped using `strip' when the user 2593# Installed binaries are usually stripped using 'strip' when the user
2532# run `make install-strip'. However `strip' might not be the right 2594# run "make install-strip". However 'strip' might not be the right
2533# tool to use in cross-compilation environments, therefore Automake 2595# tool to use in cross-compilation environments, therefore Automake
2534# will honor the `STRIP' environment variable to overrule this program. 2596# will honor the 'STRIP' environment variable to overrule this program.
2535if test "$cross_compiling" != no; then 2597if test "$cross_compiling" != no; then
2536 if test -n "$ac_tool_prefix"; then 2598 if test -n "$ac_tool_prefix"; then
2537 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2599 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2538set dummy ${ac_tool_prefix}strip; ac_word=$2 2600set dummy ${ac_tool_prefix}strip; ac_word=$2
2539{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2601{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2540$as_echo_n "checking for $ac_word... " >&6; } 2602$as_echo_n "checking for $ac_word... " >&6; }
2541if test "${ac_cv_prog_STRIP+set}" = set; then : 2603if ${ac_cv_prog_STRIP+:} false; then :
2542 $as_echo_n "(cached) " >&6 2604 $as_echo_n "(cached) " >&6
2543else 2605else
2544 if test -n "$STRIP"; then 2606 if test -n "$STRIP"; then
@@ -2550,7 +2612,7 @@ do
2550 IFS=$as_save_IFS 2612 IFS=$as_save_IFS
2551 test -z "$as_dir" && as_dir=. 2613 test -z "$as_dir" && as_dir=.
2552 for ac_exec_ext in '' $ac_executable_extensions; do 2614 for ac_exec_ext in '' $ac_executable_extensions; do
2553 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2615 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2554 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2616 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2555 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2617 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2556 break 2 2618 break 2
@@ -2578,7 +2640,7 @@ if test -z "$ac_cv_prog_STRIP"; then
2578set dummy strip; ac_word=$2 2640set dummy strip; ac_word=$2
2579{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2641{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2580$as_echo_n "checking for $ac_word... " >&6; } 2642$as_echo_n "checking for $ac_word... " >&6; }
2581if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : 2643if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2582 $as_echo_n "(cached) " >&6 2644 $as_echo_n "(cached) " >&6
2583else 2645else
2584 if test -n "$ac_ct_STRIP"; then 2646 if test -n "$ac_ct_STRIP"; then
@@ -2590,7 +2652,7 @@ do
2590 IFS=$as_save_IFS 2652 IFS=$as_save_IFS
2591 test -z "$as_dir" && as_dir=. 2653 test -z "$as_dir" && as_dir=.
2592 for ac_exec_ext in '' $ac_executable_extensions; do 2654 for ac_exec_ext in '' $ac_executable_extensions; do
2593 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2655 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2594 ac_cv_prog_ac_ct_STRIP="strip" 2656 ac_cv_prog_ac_ct_STRIP="strip"
2595 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2657 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2596 break 2 2658 break 2
@@ -2631,7 +2693,7 @@ INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2631{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2693{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2632$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2694$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2633if test -z "$MKDIR_P"; then 2695if test -z "$MKDIR_P"; then
2634 if test "${ac_cv_path_mkdir+set}" = set; then : 2696 if ${ac_cv_path_mkdir+:} false; then :
2635 $as_echo_n "(cached) " >&6 2697 $as_echo_n "(cached) " >&6
2636else 2698else
2637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -2641,7 +2703,7 @@ do
2641 test -z "$as_dir" && as_dir=. 2703 test -z "$as_dir" && as_dir=.
2642 for ac_prog in mkdir gmkdir; do 2704 for ac_prog in mkdir gmkdir; do
2643 for ac_exec_ext in '' $ac_executable_extensions; do 2705 for ac_exec_ext in '' $ac_executable_extensions; do
2644 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 2706 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2645 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2707 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2646 'mkdir (GNU coreutils) '* | \ 2708 'mkdir (GNU coreutils) '* | \
2647 'mkdir (coreutils) '* | \ 2709 'mkdir (coreutils) '* | \
@@ -2656,6 +2718,7 @@ IFS=$as_save_IFS
2656 2718
2657fi 2719fi
2658 2720
2721 test -d ./--version && rmdir ./--version
2659 if test "${ac_cv_path_mkdir+set}" = set; then 2722 if test "${ac_cv_path_mkdir+set}" = set; then
2660 MKDIR_P="$ac_cv_path_mkdir -p" 2723 MKDIR_P="$ac_cv_path_mkdir -p"
2661 else 2724 else
@@ -2663,26 +2726,19 @@ fi
2663 # value for MKDIR_P within a source directory, because that will 2726 # value for MKDIR_P within a source directory, because that will
2664 # break other packages using the cache if that directory is 2727 # break other packages using the cache if that directory is
2665 # removed, or if the value is a relative name. 2728 # removed, or if the value is a relative name.
2666 test -d ./--version && rmdir ./--version
2667 MKDIR_P="$ac_install_sh -d" 2729 MKDIR_P="$ac_install_sh -d"
2668 fi 2730 fi
2669fi 2731fi
2670{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2732{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2671$as_echo "$MKDIR_P" >&6; } 2733$as_echo "$MKDIR_P" >&6; }
2672 2734
2673mkdir_p="$MKDIR_P"
2674case $mkdir_p in
2675 [\\/$]* | ?:[\\/]*) ;;
2676 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2677esac
2678
2679for ac_prog in gawk mawk nawk awk 2735for ac_prog in gawk mawk nawk awk
2680do 2736do
2681 # Extract the first word of "$ac_prog", so it can be a program name with args. 2737 # Extract the first word of "$ac_prog", so it can be a program name with args.
2682set dummy $ac_prog; ac_word=$2 2738set dummy $ac_prog; ac_word=$2
2683{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2739{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2684$as_echo_n "checking for $ac_word... " >&6; } 2740$as_echo_n "checking for $ac_word... " >&6; }
2685if test "${ac_cv_prog_AWK+set}" = set; then : 2741if ${ac_cv_prog_AWK+:} false; then :
2686 $as_echo_n "(cached) " >&6 2742 $as_echo_n "(cached) " >&6
2687else 2743else
2688 if test -n "$AWK"; then 2744 if test -n "$AWK"; then
@@ -2694,7 +2750,7 @@ do
2694 IFS=$as_save_IFS 2750 IFS=$as_save_IFS
2695 test -z "$as_dir" && as_dir=. 2751 test -z "$as_dir" && as_dir=.
2696 for ac_exec_ext in '' $ac_executable_extensions; do 2752 for ac_exec_ext in '' $ac_executable_extensions; do
2697 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2753 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2698 ac_cv_prog_AWK="$ac_prog" 2754 ac_cv_prog_AWK="$ac_prog"
2699 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2755 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2700 break 2 2756 break 2
@@ -2722,7 +2778,7 @@ done
2722$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2778$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2723set x ${MAKE-make} 2779set x ${MAKE-make}
2724ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2780ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2725if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : 2781if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2726 $as_echo_n "(cached) " >&6 2782 $as_echo_n "(cached) " >&6
2727else 2783else
2728 cat >conftest.make <<\_ACEOF 2784 cat >conftest.make <<\_ACEOF
@@ -2730,7 +2786,7 @@ SHELL = /bin/sh
2730all: 2786all:
2731 @echo '@@@%%%=$(MAKE)=@@@%%%' 2787 @echo '@@@%%%=$(MAKE)=@@@%%%'
2732_ACEOF 2788_ACEOF
2733# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 2789# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2734case `${MAKE-make} -f conftest.make 2>/dev/null` in 2790case `${MAKE-make} -f conftest.make 2>/dev/null` in
2735 *@@@%%%=?*=@@@%%%*) 2791 *@@@%%%=?*=@@@%%%*)
2736 eval ac_cv_prog_make_${ac_make}_set=yes;; 2792 eval ac_cv_prog_make_${ac_make}_set=yes;;
@@ -2758,13 +2814,52 @@ else
2758fi 2814fi
2759rmdir .tst 2>/dev/null 2815rmdir .tst 2>/dev/null
2760 2816
2817# Check whether --enable-silent-rules was given.
2818if test "${enable_silent_rules+set}" = set; then :
2819 enableval=$enable_silent_rules;
2820fi
2821
2822case $enable_silent_rules in # (((
2823 yes) AM_DEFAULT_VERBOSITY=0;;
2824 no) AM_DEFAULT_VERBOSITY=1;;
2825 *) AM_DEFAULT_VERBOSITY=1;;
2826esac
2827am_make=${MAKE-make}
2828{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2829$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2830if ${am_cv_make_support_nested_variables+:} false; then :
2831 $as_echo_n "(cached) " >&6
2832else
2833 if $as_echo 'TRUE=$(BAR$(V))
2834BAR0=false
2835BAR1=true
2836V=1
2837am__doit:
2838 @$(TRUE)
2839.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2840 am_cv_make_support_nested_variables=yes
2841else
2842 am_cv_make_support_nested_variables=no
2843fi
2844fi
2845{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2846$as_echo "$am_cv_make_support_nested_variables" >&6; }
2847if test $am_cv_make_support_nested_variables = yes; then
2848 AM_V='$(V)'
2849 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2850else
2851 AM_V=$AM_DEFAULT_VERBOSITY
2852 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2853fi
2854AM_BACKSLASH='\'
2855
2761if test "`cd $srcdir && pwd`" != "`pwd`"; then 2856if test "`cd $srcdir && pwd`" != "`pwd`"; then
2762 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2857 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2763 # is not polluted with repeated "-I." 2858 # is not polluted with repeated "-I."
2764 am__isrc=' -I$(srcdir)' 2859 am__isrc=' -I$(srcdir)'
2765 # test to see if srcdir already configured 2860 # test to see if srcdir already configured
2766 if test -f $srcdir/config.status; then 2861 if test -f $srcdir/config.status; then
2767 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2862 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2768 fi 2863 fi
2769fi 2864fi
2770 2865
@@ -2808,12 +2903,22 @@ AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2808 2903
2809MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2904MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2810 2905
2811# We need awk for the "check" target. The system "awk" is bad on 2906# For better backward compatibility. To be removed once Automake 1.9.x
2812# some platforms. 2907# dies out for good. For more background, see:
2908# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2909# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2910mkdir_p='$(MKDIR_P)'
2911
2912# We need awk for the "check" target (and possibly the TAP driver). The
2913# system "awk" is bad on some platforms.
2813# Always define AMTAR for backward compatibility. Yes, it's still used 2914# Always define AMTAR for backward compatibility. Yes, it's still used
2814# in the wild :-( We should find a proper way to deprecate it ... 2915# in the wild :-( We should find a proper way to deprecate it ...
2815AMTAR='$${TAR-tar}' 2916AMTAR='$${TAR-tar}'
2816 2917
2918
2919# We'll loop over all known methods to create a tar archive until one works.
2920_am_tools='gnutar pax cpio none'
2921
2817am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 2922am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2818 2923
2819 2924
@@ -2821,6 +2926,49 @@ am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2821 2926
2822 2927
2823 2928
2929# POSIX will say in a future version that running "rm -f" with no argument
2930# is OK; and we want to be able to make that assumption in our Makefile
2931# recipes. So use an aggressive probe to check that the usage we want is
2932# actually supported "in the wild" to an acceptable degree.
2933# See automake bug#10828.
2934# To make any issue more visible, cause the running configure to be aborted
2935# by default if the 'rm' program in use doesn't match our expectations; the
2936# user can still override this though.
2937if rm -f && rm -fr && rm -rf; then : OK; else
2938 cat >&2 <<'END'
2939Oops!
2940
2941Your 'rm' program seems unable to run without file operands specified
2942on the command line, even when the '-f' option is present. This is contrary
2943to the behaviour of most rm programs out there, and not conforming with
2944the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2945
2946Please tell bug-automake@gnu.org about your system, including the value
2947of your $PATH and any error possibly output before this message. This
2948can help us improve future automake versions.
2949
2950END
2951 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2952 echo 'Configuration will proceed anyway, since you have set the' >&2
2953 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2954 echo >&2
2955 else
2956 cat >&2 <<'END'
2957Aborting the configuration process, to ensure you take notice of the issue.
2958
2959You can download and install GNU coreutils to get an 'rm' implementation
2960that behaves properly: <http://www.gnu.org/software/coreutils/>.
2961
2962If you want to complete the configuration process using your problematic
2963'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2964to "yes", and re-run configure.
2965
2966END
2967 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2968 fi
2969fi
2970
2971
2824{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5 2972{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2825$as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; } 2973$as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2826# Check whether --enable-version-specific-runtime-libs was given. 2974# Check whether --enable-version-specific-runtime-libs was given.
@@ -2828,7 +2976,7 @@ if test "${enable_version_specific_runtime_libs+set}" = set; then :
2828 enableval=$enable_version_specific_runtime_libs; case "$enableval" in 2976 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
2829 yes) version_specific_libs=yes ;; 2977 yes) version_specific_libs=yes ;;
2830 no) version_specific_libs=no ;; 2978 no) version_specific_libs=no ;;
2831 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;; 2979 *) as_fn_error $? "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2832 esac 2980 esac
2833else 2981else
2834 version_specific_libs=no 2982 version_specific_libs=no
@@ -2869,7 +3017,7 @@ if test "${enable_multilib+set}" = set; then :
2869 enableval=$enable_multilib; case "$enableval" in 3017 enableval=$enable_multilib; case "$enableval" in
2870 yes) multilib=yes ;; 3018 yes) multilib=yes ;;
2871 no) multilib=no ;; 3019 no) multilib=no ;;
2872 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;; 3020 *) as_fn_error $? "bad value $enableval for multilib option" "$LINENO" 5 ;;
2873 esac 3021 esac
2874else 3022else
2875 multilib=yes 3023 multilib=yes
@@ -2930,7 +3078,7 @@ if test -n "$ac_tool_prefix"; then
2930set dummy ${ac_tool_prefix}gcc; ac_word=$2 3078set dummy ${ac_tool_prefix}gcc; ac_word=$2
2931{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3079{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2932$as_echo_n "checking for $ac_word... " >&6; } 3080$as_echo_n "checking for $ac_word... " >&6; }
2933if test "${ac_cv_prog_CC+set}" = set; then : 3081if ${ac_cv_prog_CC+:} false; then :
2934 $as_echo_n "(cached) " >&6 3082 $as_echo_n "(cached) " >&6
2935else 3083else
2936 if test -n "$CC"; then 3084 if test -n "$CC"; then
@@ -2942,7 +3090,7 @@ do
2942 IFS=$as_save_IFS 3090 IFS=$as_save_IFS
2943 test -z "$as_dir" && as_dir=. 3091 test -z "$as_dir" && as_dir=.
2944 for ac_exec_ext in '' $ac_executable_extensions; do 3092 for ac_exec_ext in '' $ac_executable_extensions; do
2945 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3093 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2946 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3094 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2947 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3095 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2948 break 2 3096 break 2
@@ -2970,7 +3118,7 @@ if test -z "$ac_cv_prog_CC"; then
2970set dummy gcc; ac_word=$2 3118set dummy gcc; ac_word=$2
2971{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3119{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2972$as_echo_n "checking for $ac_word... " >&6; } 3120$as_echo_n "checking for $ac_word... " >&6; }
2973if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 3121if ${ac_cv_prog_ac_ct_CC+:} false; then :
2974 $as_echo_n "(cached) " >&6 3122 $as_echo_n "(cached) " >&6
2975else 3123else
2976 if test -n "$ac_ct_CC"; then 3124 if test -n "$ac_ct_CC"; then
@@ -2982,7 +3130,7 @@ do
2982 IFS=$as_save_IFS 3130 IFS=$as_save_IFS
2983 test -z "$as_dir" && as_dir=. 3131 test -z "$as_dir" && as_dir=.
2984 for ac_exec_ext in '' $ac_executable_extensions; do 3132 for ac_exec_ext in '' $ac_executable_extensions; do
2985 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3133 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2986 ac_cv_prog_ac_ct_CC="gcc" 3134 ac_cv_prog_ac_ct_CC="gcc"
2987 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3135 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2988 break 2 3136 break 2
@@ -3023,7 +3171,7 @@ if test -z "$CC"; then
3023set dummy ${ac_tool_prefix}cc; ac_word=$2 3171set dummy ${ac_tool_prefix}cc; ac_word=$2
3024{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3172{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3025$as_echo_n "checking for $ac_word... " >&6; } 3173$as_echo_n "checking for $ac_word... " >&6; }
3026if test "${ac_cv_prog_CC+set}" = set; then : 3174if ${ac_cv_prog_CC+:} false; then :
3027 $as_echo_n "(cached) " >&6 3175 $as_echo_n "(cached) " >&6
3028else 3176else
3029 if test -n "$CC"; then 3177 if test -n "$CC"; then
@@ -3035,7 +3183,7 @@ do
3035 IFS=$as_save_IFS 3183 IFS=$as_save_IFS
3036 test -z "$as_dir" && as_dir=. 3184 test -z "$as_dir" && as_dir=.
3037 for ac_exec_ext in '' $ac_executable_extensions; do 3185 for ac_exec_ext in '' $ac_executable_extensions; do
3038 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3186 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3039 ac_cv_prog_CC="${ac_tool_prefix}cc" 3187 ac_cv_prog_CC="${ac_tool_prefix}cc"
3040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3188 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3041 break 2 3189 break 2
@@ -3063,7 +3211,7 @@ if test -z "$CC"; then
3063set dummy cc; ac_word=$2 3211set dummy cc; ac_word=$2
3064{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3212{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3065$as_echo_n "checking for $ac_word... " >&6; } 3213$as_echo_n "checking for $ac_word... " >&6; }
3066if test "${ac_cv_prog_CC+set}" = set; then : 3214if ${ac_cv_prog_CC+:} false; then :
3067 $as_echo_n "(cached) " >&6 3215 $as_echo_n "(cached) " >&6
3068else 3216else
3069 if test -n "$CC"; then 3217 if test -n "$CC"; then
@@ -3076,7 +3224,7 @@ do
3076 IFS=$as_save_IFS 3224 IFS=$as_save_IFS
3077 test -z "$as_dir" && as_dir=. 3225 test -z "$as_dir" && as_dir=.
3078 for ac_exec_ext in '' $ac_executable_extensions; do 3226 for ac_exec_ext in '' $ac_executable_extensions; do
3079 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3227 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3080 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3228 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3081 ac_prog_rejected=yes 3229 ac_prog_rejected=yes
3082 continue 3230 continue
@@ -3122,7 +3270,7 @@ if test -z "$CC"; then
3122set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3270set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3123{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3271{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3124$as_echo_n "checking for $ac_word... " >&6; } 3272$as_echo_n "checking for $ac_word... " >&6; }
3125if test "${ac_cv_prog_CC+set}" = set; then : 3273if ${ac_cv_prog_CC+:} false; then :
3126 $as_echo_n "(cached) " >&6 3274 $as_echo_n "(cached) " >&6
3127else 3275else
3128 if test -n "$CC"; then 3276 if test -n "$CC"; then
@@ -3134,7 +3282,7 @@ do
3134 IFS=$as_save_IFS 3282 IFS=$as_save_IFS
3135 test -z "$as_dir" && as_dir=. 3283 test -z "$as_dir" && as_dir=.
3136 for ac_exec_ext in '' $ac_executable_extensions; do 3284 for ac_exec_ext in '' $ac_executable_extensions; do
3137 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3285 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3138 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3286 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3139 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3287 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3140 break 2 3288 break 2
@@ -3166,7 +3314,7 @@ do
3166set dummy $ac_prog; ac_word=$2 3314set dummy $ac_prog; ac_word=$2
3167{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3315{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3168$as_echo_n "checking for $ac_word... " >&6; } 3316$as_echo_n "checking for $ac_word... " >&6; }
3169if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 3317if ${ac_cv_prog_ac_ct_CC+:} false; then :
3170 $as_echo_n "(cached) " >&6 3318 $as_echo_n "(cached) " >&6
3171else 3319else
3172 if test -n "$ac_ct_CC"; then 3320 if test -n "$ac_ct_CC"; then
@@ -3178,7 +3326,7 @@ do
3178 IFS=$as_save_IFS 3326 IFS=$as_save_IFS
3179 test -z "$as_dir" && as_dir=. 3327 test -z "$as_dir" && as_dir=.
3180 for ac_exec_ext in '' $ac_executable_extensions; do 3328 for ac_exec_ext in '' $ac_executable_extensions; do
3181 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3329 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3182 ac_cv_prog_ac_ct_CC="$ac_prog" 3330 ac_cv_prog_ac_ct_CC="$ac_prog"
3183 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3331 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3184 break 2 3332 break 2
@@ -3220,8 +3368,8 @@ fi
3220 3368
3221test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3369test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3222$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3370$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3223as_fn_error "no acceptable C compiler found in \$PATH 3371as_fn_error $? "no acceptable C compiler found in \$PATH
3224See \`config.log' for more details." "$LINENO" 5; } 3372See \`config.log' for more details" "$LINENO" 5; }
3225 3373
3226# Provide some information about the compiler. 3374# Provide some information about the compiler.
3227$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3375$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
@@ -3242,8 +3390,8 @@ $as_echo "$ac_try_echo"; } >&5
3242... rest of stderr output deleted ... 3390... rest of stderr output deleted ...
3243 10q' conftest.err >conftest.er1 3391 10q' conftest.err >conftest.er1
3244 cat conftest.er1 >&5 3392 cat conftest.er1 >&5
3245 rm -f conftest.er1 conftest.err
3246 fi 3393 fi
3394 rm -f conftest.er1 conftest.err
3247 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3395 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3248 test $ac_status = 0; } 3396 test $ac_status = 0; }
3249done 3397done
@@ -3288,12 +3436,12 @@ main ()
3288} 3436}
3289_ACEOF 3437_ACEOF
3290ac_clean_files_save=$ac_clean_files 3438ac_clean_files_save=$ac_clean_files
3291ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out" 3439ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3292# Try to create an executable without -o first, disregard a.out. 3440# Try to create an executable without -o first, disregard a.out.
3293# It will help us diagnose broken compilers, and finding out an intuition 3441# It will help us diagnose broken compilers, and finding out an intuition
3294# of exeext. 3442# of exeext.
3295{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3443{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3296$as_echo_n "checking for C compiler default output file name... " >&6; } 3444$as_echo_n "checking whether the C compiler works... " >&6; }
3297ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3445ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3298 3446
3299# The possible output files: 3447# The possible output files:
@@ -3355,62 +3503,28 @@ test "$ac_cv_exeext" = no && ac_cv_exeext=
3355else 3503else
3356 ac_file='' 3504 ac_file=''
3357fi 3505fi
3358{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3359$as_echo "$ac_file" >&6; }
3360if test -z "$ac_file"; then : 3506if test -z "$ac_file"; then :
3361 $as_echo "$as_me: failed program was:" >&5 3507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3508$as_echo "no" >&6; }
3509$as_echo "$as_me: failed program was:" >&5
3362sed 's/^/| /' conftest.$ac_ext >&5 3510sed 's/^/| /' conftest.$ac_ext >&5
3363 3511
3364{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3512{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3365$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3513$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3366{ as_fn_set_status 77 3514as_fn_error 77 "C compiler cannot create executables
3367as_fn_error "C compiler cannot create executables 3515See \`config.log' for more details" "$LINENO" 5; }
3368See \`config.log' for more details." "$LINENO" 5; }; } 3516else
3517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3518$as_echo "yes" >&6; }
3369fi 3519fi
3520{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3521$as_echo_n "checking for C compiler default output file name... " >&6; }
3522{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3523$as_echo "$ac_file" >&6; }
3370ac_exeext=$ac_cv_exeext 3524ac_exeext=$ac_cv_exeext
3371 3525
3372# Check that the compiler produces executables we can run. If not, either 3526rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3373# the compiler is broken, or we cross compile.
3374{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3375$as_echo_n "checking whether the C compiler works... " >&6; }
3376# If not cross compiling, check that we can run a simple program.
3377if test "$cross_compiling" != yes; then
3378 if { ac_try='./$ac_file'
3379 { { case "(($ac_try" in
3380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3381 *) ac_try_echo=$ac_try;;
3382esac
3383eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3384$as_echo "$ac_try_echo"; } >&5
3385 (eval "$ac_try") 2>&5
3386 ac_status=$?
3387 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3388 test $ac_status = 0; }; }; then
3389 cross_compiling=no
3390 else
3391 if test "$cross_compiling" = maybe; then
3392 cross_compiling=yes
3393 else
3394 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3395$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3396as_fn_error "cannot run C compiled programs.
3397If you meant to cross compile, use \`--host'.
3398See \`config.log' for more details." "$LINENO" 5; }
3399 fi
3400 fi
3401fi
3402{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3403$as_echo "yes" >&6; }
3404
3405rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3406ac_clean_files=$ac_clean_files_save 3527ac_clean_files=$ac_clean_files_save
3407# Check that the compiler produces executables we can run. If not, either
3408# the compiler is broken, or we cross compile.
3409{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3410$as_echo_n "checking whether we are cross compiling... " >&6; }
3411{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3412$as_echo "$cross_compiling" >&6; }
3413
3414{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3528{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3415$as_echo_n "checking for suffix of executables... " >&6; } 3529$as_echo_n "checking for suffix of executables... " >&6; }
3416if { { ac_try="$ac_link" 3530if { { ac_try="$ac_link"
@@ -3440,20 +3554,79 @@ done
3440else 3554else
3441 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3555 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3442$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3556$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3443as_fn_error "cannot compute suffix of executables: cannot compile and link 3557as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3444See \`config.log' for more details." "$LINENO" 5; } 3558See \`config.log' for more details" "$LINENO" 5; }
3445fi 3559fi
3446rm -f conftest$ac_cv_exeext 3560rm -f conftest conftest$ac_cv_exeext
3447{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3561{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3448$as_echo "$ac_cv_exeext" >&6; } 3562$as_echo "$ac_cv_exeext" >&6; }
3449 3563
3450rm -f conftest.$ac_ext 3564rm -f conftest.$ac_ext
3451EXEEXT=$ac_cv_exeext 3565EXEEXT=$ac_cv_exeext
3452ac_exeext=$EXEEXT 3566ac_exeext=$EXEEXT
3567cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3568/* end confdefs.h. */
3569#include <stdio.h>
3570int
3571main ()
3572{
3573FILE *f = fopen ("conftest.out", "w");
3574 return ferror (f) || fclose (f) != 0;
3575
3576 ;
3577 return 0;
3578}
3579_ACEOF
3580ac_clean_files="$ac_clean_files conftest.out"
3581# Check that the compiler produces executables we can run. If not, either
3582# the compiler is broken, or we cross compile.
3583{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3584$as_echo_n "checking whether we are cross compiling... " >&6; }
3585if test "$cross_compiling" != yes; then
3586 { { ac_try="$ac_link"
3587case "(($ac_try" in
3588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3589 *) ac_try_echo=$ac_try;;
3590esac
3591eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3592$as_echo "$ac_try_echo"; } >&5
3593 (eval "$ac_link") 2>&5
3594 ac_status=$?
3595 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3596 test $ac_status = 0; }
3597 if { ac_try='./conftest$ac_cv_exeext'
3598 { { case "(($ac_try" in
3599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3600 *) ac_try_echo=$ac_try;;
3601esac
3602eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3603$as_echo "$ac_try_echo"; } >&5
3604 (eval "$ac_try") 2>&5
3605 ac_status=$?
3606 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3607 test $ac_status = 0; }; }; then
3608 cross_compiling=no
3609 else
3610 if test "$cross_compiling" = maybe; then
3611 cross_compiling=yes
3612 else
3613 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3614$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3615as_fn_error $? "cannot run C compiled programs.
3616If you meant to cross compile, use \`--host'.
3617See \`config.log' for more details" "$LINENO" 5; }
3618 fi
3619 fi
3620fi
3621{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3622$as_echo "$cross_compiling" >&6; }
3623
3624rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3625ac_clean_files=$ac_clean_files_save
3453fi 3626fi
3454{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3627{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3455$as_echo_n "checking for suffix of object files... " >&6; } 3628$as_echo_n "checking for suffix of object files... " >&6; }
3456if test "${ac_cv_objext+set}" = set; then : 3629if ${ac_cv_objext+:} false; then :
3457 $as_echo_n "(cached) " >&6 3630 $as_echo_n "(cached) " >&6
3458else 3631else
3459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -3493,8 +3666,8 @@ sed 's/^/| /' conftest.$ac_ext >&5
3493 3666
3494{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3667{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3495$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3668$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3496as_fn_error "cannot compute suffix of object files: cannot compile 3669as_fn_error $? "cannot compute suffix of object files: cannot compile
3497See \`config.log' for more details." "$LINENO" 5; } 3670See \`config.log' for more details" "$LINENO" 5; }
3498fi 3671fi
3499rm -f conftest.$ac_cv_objext conftest.$ac_ext 3672rm -f conftest.$ac_cv_objext conftest.$ac_ext
3500fi 3673fi
@@ -3504,7 +3677,7 @@ OBJEXT=$ac_cv_objext
3504ac_objext=$OBJEXT 3677ac_objext=$OBJEXT
3505{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3678{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3506$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3679$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3507if test "${ac_cv_c_compiler_gnu+set}" = set; then : 3680if ${ac_cv_c_compiler_gnu+:} false; then :
3508 $as_echo_n "(cached) " >&6 3681 $as_echo_n "(cached) " >&6
3509else 3682else
3510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -3541,7 +3714,7 @@ ac_test_CFLAGS=${CFLAGS+set}
3541ac_save_CFLAGS=$CFLAGS 3714ac_save_CFLAGS=$CFLAGS
3542{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3715{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3543$as_echo_n "checking whether $CC accepts -g... " >&6; } 3716$as_echo_n "checking whether $CC accepts -g... " >&6; }
3544if test "${ac_cv_prog_cc_g+set}" = set; then : 3717if ${ac_cv_prog_cc_g+:} false; then :
3545 $as_echo_n "(cached) " >&6 3718 $as_echo_n "(cached) " >&6
3546else 3719else
3547 ac_save_c_werror_flag=$ac_c_werror_flag 3720 ac_save_c_werror_flag=$ac_c_werror_flag
@@ -3619,7 +3792,7 @@ else
3619fi 3792fi
3620{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3793{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3621$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3794$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3622if test "${ac_cv_prog_cc_c89+set}" = set; then : 3795if ${ac_cv_prog_cc_c89+:} false; then :
3623 $as_echo_n "(cached) " >&6 3796 $as_echo_n "(cached) " >&6
3624else 3797else
3625 ac_cv_prog_cc_c89=no 3798 ac_cv_prog_cc_c89=no
@@ -3628,8 +3801,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3628/* end confdefs.h. */ 3801/* end confdefs.h. */
3629#include <stdarg.h> 3802#include <stdarg.h>
3630#include <stdio.h> 3803#include <stdio.h>
3631#include <sys/types.h> 3804struct stat;
3632#include <sys/stat.h>
3633/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3805/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3634struct buf { int x; }; 3806struct buf { int x; };
3635FILE * (*rcsopen) (struct buf *, struct stat *, int); 3807FILE * (*rcsopen) (struct buf *, struct stat *, int);
@@ -3713,6 +3885,65 @@ ac_cpp='$CPP $CPPFLAGS'
3713ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3885ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3714ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3886ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3715ac_compiler_gnu=$ac_cv_c_compiler_gnu 3887ac_compiler_gnu=$ac_cv_c_compiler_gnu
3888
3889ac_ext=c
3890ac_cpp='$CPP $CPPFLAGS'
3891ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3892ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3893ac_compiler_gnu=$ac_cv_c_compiler_gnu
3894{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3895$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3896if ${am_cv_prog_cc_c_o+:} false; then :
3897 $as_echo_n "(cached) " >&6
3898else
3899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3900/* end confdefs.h. */
3901
3902int
3903main ()
3904{
3905
3906 ;
3907 return 0;
3908}
3909_ACEOF
3910 # Make sure it works both with $CC and with simple cc.
3911 # Following AC_PROG_CC_C_O, we do the test twice because some
3912 # compilers refuse to overwrite an existing .o file with -o,
3913 # though they will create one.
3914 am_cv_prog_cc_c_o=yes
3915 for am_i in 1 2; do
3916 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3917 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3918 ac_status=$?
3919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3920 (exit $ac_status); } \
3921 && test -f conftest2.$ac_objext; then
3922 : OK
3923 else
3924 am_cv_prog_cc_c_o=no
3925 break
3926 fi
3927 done
3928 rm -f core conftest*
3929 unset am_i
3930fi
3931{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3932$as_echo "$am_cv_prog_cc_c_o" >&6; }
3933if test "$am_cv_prog_cc_c_o" != yes; then
3934 # Losing compiler, so override with the script.
3935 # FIXME: It is wrong to rewrite CC.
3936 # But if we don't then we get into trouble of one sort or another.
3937 # A longer-term fix would be to have automake use am__CC in this case,