summaryrefslogtreecommitdiffstats
path: root/fixincludes
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 /fixincludes
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 'fixincludes')
-rw-r--r--fixincludes/ChangeLog6
-rw-r--r--fixincludes/aclocal.m48
-rwxr-xr-xfixincludes/configure855
-rw-r--r--fixincludes/configure.ac1
4 files changed, 479 insertions, 391 deletions
diff --git a/fixincludes/ChangeLog b/fixincludes/ChangeLog
index e7223659ab6..918f33f7b15 100644
--- a/fixincludes/ChangeLog
+++ b/fixincludes/ChangeLog
@@ -1,3 +1,9 @@
12018-10-31 Joseph Myers <joseph@codesourcery.com>
2
3 PR bootstrap/82856
4 * configure.ac: Remove AC_PREREQ.
5 * aclocal.m4, configure: Regenerate.
6
12018-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk> 72018-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2 8
3 * inclhack.def (AAB_vxworks_regs_vxtypes): Add unconditional 9 * inclhack.def (AAB_vxworks_regs_vxtypes): Add unconditional
diff --git a/fixincludes/aclocal.m4 b/fixincludes/aclocal.m4
index 7092c900215..20b7f4d9a8d 100644
--- a/fixincludes/aclocal.m4
+++ b/fixincludes/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,6 +11,7 @@
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_include([../config/acx.m4]) 15m4_include([../config/acx.m4])
16m4_include([../config/mmap.m4]) 16m4_include([../config/mmap.m4])
17m4_include([../config/override.m4]) 17m4_include([../config/override.m4])
diff --git a/fixincludes/configure b/fixincludes/configure
index e4b03fd588c..6e2d67b655b 100755
--- a/fixincludes/configure
+++ b/fixincludes/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 fixincludes . 3# Generated by GNU Autoconf 2.69 for fixincludes .
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'\" &&
@@ -209,14 +236,25 @@ IFS=$as_save_IFS
209 236
210 237
211 if test "x$CONFIG_SHELL" != x; then : 238 if test "x$CONFIG_SHELL" != x; then :
212 # We cannot yet assume a decent shell, so we have to provide a 239 export CONFIG_SHELL
213 # neutralization value for shells without unset; and this also 240 # We cannot yet assume a decent shell, so we have to provide a
214 # works around shells that cannot unset nonexistent variables. 241# neutralization value for shells without unset; and this also
215 BASH_ENV=/dev/null 242# works around shells that cannot unset nonexistent variables.
216 ENV=/dev/null 243# Preserve -v and -x to the replacement shell.
217 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 244BASH_ENV=/dev/null
218 export CONFIG_SHELL 245ENV=/dev/null
219 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 246(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
247case $- in # ((((
248 *v*x* | *x*v* ) as_opts=-vx ;;
249 *v* ) as_opts=-v ;;
250 *x* ) as_opts=-x ;;
251 * ) as_opts= ;;
252esac
253exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
254# Admittedly, this is quite paranoid, since all the known shells bail
255# out after a failed `exec'.
256$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
257exit 255
220fi 258fi
221 259
222 if test x$as_have_required = xno; then : 260 if test x$as_have_required = xno; then :
@@ -314,10 +352,18 @@ $as_echo X"$as_dir" |
314 test -d "$as_dir" && break 352 test -d "$as_dir" && break
315 done 353 done
316 test -z "$as_dirs" || eval "mkdir $as_dirs" 354 test -z "$as_dirs" || eval "mkdir $as_dirs"
317 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 355 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
318 356
319 357
320} # as_fn_mkdir_p 358} # as_fn_mkdir_p
359
360# as_fn_executable_p FILE
361# -----------------------
362# Test if FILE is an executable regular file.
363as_fn_executable_p ()
364{
365 test -f "$1" && test -x "$1"
366} # as_fn_executable_p
321# as_fn_append VAR VALUE 367# as_fn_append VAR VALUE
322# ---------------------- 368# ----------------------
323# Append the text in VALUE to the end of the definition contained in VAR. Take 369# Append the text in VALUE to the end of the definition contained in VAR. Take
@@ -354,19 +400,19 @@ else
354fi # as_fn_arith 400fi # as_fn_arith
355 401
356 402
357# as_fn_error ERROR [LINENO LOG_FD] 403# as_fn_error STATUS ERROR [LINENO LOG_FD]
358# --------------------------------- 404# ----------------------------------------
359# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 405# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
360# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 406# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
361# script with status $?, using 1 if that was 0. 407# script with STATUS, using 1 if that was 0.
362as_fn_error () 408as_fn_error ()
363{ 409{
364 as_status=$?; test $as_status -eq 0 && as_status=1 410 as_status=$1; test $as_status -eq 0 && as_status=1
365 if test "$3"; then 411 if test "$4"; then
366 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 412 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
367 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 413 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
368 fi 414 fi
369 $as_echo "$as_me: error: $1" >&2 415 $as_echo "$as_me: error: $2" >&2
370 as_fn_exit $as_status 416 as_fn_exit $as_status
371} # as_fn_error 417} # as_fn_error
372 418
@@ -439,6 +485,10 @@ as_cr_alnum=$as_cr_Letters$as_cr_digits
439 chmod +x "$as_me.lineno" || 485 chmod +x "$as_me.lineno" ||
440 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 486 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
441 487
488 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
489 # already done that, so ensure we don't try to do so again and fall
490 # in an infinite loop. This has already happened in practice.
491 _as_can_reexec=no; export _as_can_reexec
442 # Don't try to exec as it changes $[0], causing all sort of problems 492 # Don't try to exec as it changes $[0], causing all sort of problems
443 # (the dirname of $[0] is not the place where we might find the 493 # (the dirname of $[0] is not the place where we might find the
444 # original and so on. Autoconf is especially sensitive to this). 494 # original and so on. Autoconf is especially sensitive to this).
@@ -473,16 +523,16 @@ if (echo >conf$$.file) 2>/dev/null; then
473 # ... but there are two gotchas: 523 # ... but there are two gotchas:
474 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 524 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
475 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 525 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
476 # In both cases, we have to default to `cp -p'. 526 # In both cases, we have to default to `cp -pR'.
477 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 527 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
478 as_ln_s='cp -p' 528 as_ln_s='cp -pR'
479 elif ln conf$$.file conf$$ 2>/dev/null; then 529 elif ln conf$$.file conf$$ 2>/dev/null; then
480 as_ln_s=ln 530 as_ln_s=ln
481 else 531 else
482 as_ln_s='cp -p' 532 as_ln_s='cp -pR'
483 fi 533 fi
484else 534else
485 as_ln_s='cp -p' 535 as_ln_s='cp -pR'
486fi 536fi
487rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 537rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
488rmdir conf$$.dir 2>/dev/null 538rmdir conf$$.dir 2>/dev/null
@@ -494,28 +544,8 @@ else
494 as_mkdir_p=false 544 as_mkdir_p=false
495fi 545fi
496 546
497if test -x / >/dev/null 2>&1; then 547as_test_x='test -x'
498 as_test_x='test -x' 548as_executable_p=as_fn_executable_p
499else
500 if ls -dL / >/dev/null 2>&1; then
501 as_ls_L_option=L
502 else
503 as_ls_L_option=
504 fi
505 as_test_x='
506 eval sh -c '\''
507 if test -d "$1"; then
508 test -d "$1/.";
509 else
510 case $1 in #(
511 -*)set "./$1";;
512 esac;
513 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
514 ???[sx]*):;;*)false;;esac;fi
515 '\'' sh
516 '
517fi
518as_executable_p=$as_test_x
519 549
520# Sed expression to map a string onto a valid CPP name. 550# Sed expression to map a string onto a valid CPP name.
521as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 551as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
@@ -524,10 +554,11 @@ as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
524as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 554as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
525 555
526 556
527exec 7<&0 </dev/null 6>&1 557test -n "$DJDIR" || exec 7<&0 </dev/null
558exec 6>&1
528 559
529# Name of the host. 560# Name of the host.
530# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 561# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
531# so uname gets run too. 562# so uname gets run too.
532ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 563ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
533 564
@@ -738,8 +769,9 @@ do
738 fi 769 fi
739 770
740 case $ac_option in 771 case $ac_option in
741 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 772 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
742 *) ac_optarg=yes ;; 773 *=) ac_optarg= ;;
774 *) ac_optarg=yes ;;
743 esac 775 esac
744 776
745 # Accept the important Cygnus configure options, so we can diagnose typos. 777 # Accept the important Cygnus configure options, so we can diagnose typos.
@@ -784,7 +816,7 @@ do
784 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 816 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
785 # Reject names that are not valid shell variable names. 817 # Reject names that are not valid shell variable names.
786 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 818 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
787 as_fn_error "invalid feature name: $ac_useropt" 819 as_fn_error $? "invalid feature name: $ac_useropt"
788 ac_useropt_orig=$ac_useropt 820 ac_useropt_orig=$ac_useropt
789 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 821 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
790 case $ac_user_opts in 822 case $ac_user_opts in
@@ -810,7 +842,7 @@ do
810 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 842 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
811 # Reject names that are not valid shell variable names. 843 # Reject names that are not valid shell variable names.
812 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 844 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
813 as_fn_error "invalid feature name: $ac_useropt" 845 as_fn_error $? "invalid feature name: $ac_useropt"
814 ac_useropt_orig=$ac_useropt 846 ac_useropt_orig=$ac_useropt
815 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 847 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
816 case $ac_user_opts in 848 case $ac_user_opts in
@@ -1014,7 +1046,7 @@ do
1014 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1046 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1015 # Reject names that are not valid shell variable names. 1047 # Reject names that are not valid shell variable names.
1016 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1048 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1017 as_fn_error "invalid package name: $ac_useropt" 1049 as_fn_error $? "invalid package name: $ac_useropt"
1018 ac_useropt_orig=$ac_useropt 1050 ac_useropt_orig=$ac_useropt
1019 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1051 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1020 case $ac_user_opts in 1052 case $ac_user_opts in
@@ -1030,7 +1062,7 @@ do
1030 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1062 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1031 # Reject names that are not valid shell variable names. 1063 # Reject names that are not valid shell variable names.
1032 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1064 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1033 as_fn_error "invalid package name: $ac_useropt" 1065 as_fn_error $? "invalid package name: $ac_useropt"
1034 ac_useropt_orig=$ac_useropt 1066 ac_useropt_orig=$ac_useropt
1035 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1067 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1036 case $ac_user_opts in 1068 case $ac_user_opts in
@@ -1060,8 +1092,8 @@ do
1060 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1092 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1061 x_libraries=$ac_optarg ;; 1093 x_libraries=$ac_optarg ;;
1062 1094
1063 -*) as_fn_error "unrecognized option: \`$ac_option' 1095 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1064Try \`$0 --help' for more information." 1096Try \`$0 --help' for more information"
1065 ;; 1097 ;;
1066 1098
1067 *=*) 1099 *=*)
@@ -1069,7 +1101,7 @@ Try \`$0 --help' for more information."
1069 # Reject names that are not valid shell variable names. 1101 # Reject names that are not valid shell variable names.
1070 case $ac_envvar in #( 1102 case $ac_envvar in #(
1071 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1103 '' | [0-9]* | *[!_$as_cr_alnum]* )
1072 as_fn_error "invalid variable name: \`$ac_envvar'" ;; 1104 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1073 esac 1105 esac
1074 eval $ac_envvar=\$ac_optarg 1106 eval $ac_envvar=\$ac_optarg
1075 export $ac_envvar ;; 1107 export $ac_envvar ;;
@@ -1079,7 +1111,7 @@ Try \`$0 --help' for more information."
1079 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1111 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1080 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1112 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1081 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1113 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1082 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1114 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1083 ;; 1115 ;;
1084 1116
1085 esac 1117 esac
@@ -1087,13 +1119,13 @@ done
1087 1119
1088if test -n "$ac_prev"; then 1120if test -n "$ac_prev"; then
1089 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1121 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1090 as_fn_error "missing argument to $ac_option" 1122 as_fn_error $? "missing argument to $ac_option"
1091fi 1123fi
1092 1124
1093if test -n "$ac_unrecognized_opts"; then 1125if test -n "$ac_unrecognized_opts"; then
1094 case $enable_option_checking in 1126 case $enable_option_checking in
1095 no) ;; 1127 no) ;;
1096 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; 1128 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1097 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1129 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1098 esac 1130 esac
1099fi 1131fi
@@ -1116,7 +1148,7 @@ do
1116 [\\/$]* | ?:[\\/]* ) continue;; 1148 [\\/$]* | ?:[\\/]* ) continue;;
1117 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1149 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1118 esac 1150 esac
1119 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" 1151 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1120done 1152done
1121 1153
1122# There might be people who depend on the old broken behavior: `$host' 1154# There might be people who depend on the old broken behavior: `$host'
@@ -1130,8 +1162,6 @@ target=$target_alias
1130if test "x$host_alias" != x; then 1162if test "x$host_alias" != x; then
1131 if test "x$build_alias" = x; then 1163 if test "x$build_alias" = x; then
1132 cross_compiling=maybe 1164 cross_compiling=maybe
1133 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1134 If a cross compiler is detected then cross compile mode will be used." >&2
1135 elif test "x$build_alias" != "x$host_alias"; then 1165 elif test "x$build_alias" != "x$host_alias"; then
1136 cross_compiling=yes 1166 cross_compiling=yes
1137 fi 1167 fi
@@ -1146,9 +1176,9 @@ test "$silent" = yes && exec 6>/dev/null
1146ac_pwd=`pwd` && test -n "$ac_pwd" && 1176ac_pwd=`pwd` && test -n "$ac_pwd" &&
1147ac_ls_di=`ls -di .` && 1177ac_ls_di=`ls -di .` &&
1148ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1178ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1149 as_fn_error "working directory cannot be determined" 1179 as_fn_error $? "working directory cannot be determined"
1150test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1180test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1151 as_fn_error "pwd does not report name of working directory" 1181 as_fn_error $? "pwd does not report name of working directory"
1152 1182
1153 1183
1154# Find the source files, if location was not specified. 1184# Find the source files, if location was not specified.
@@ -1187,11 +1217,11 @@ else
1187fi 1217fi
1188if test ! -r "$srcdir/$ac_unique_file"; then 1218if test ! -r "$srcdir/$ac_unique_file"; then
1189 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1219 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1190 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" 1220 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1191fi 1221fi
1192ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1222ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1193ac_abs_confdir=`( 1223ac_abs_confdir=`(
1194 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" 1224 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1195 pwd)` 1225 pwd)`
1196# When building in place, set srcdir=. 1226# When building in place, set srcdir=.
1197if test "$ac_abs_confdir" = "$ac_pwd"; then 1227if test "$ac_abs_confdir" = "$ac_pwd"; then
@@ -1231,7 +1261,7 @@ Configuration:
1231 --help=short display options specific to this package 1261 --help=short display options specific to this package
1232 --help=recursive display the short help of all the included packages 1262 --help=recursive display the short help of all the included packages
1233 -V, --version display version information and exit 1263 -V, --version display version information and exit
1234 -q, --quiet, --silent do not print \`checking...' messages 1264 -q, --quiet, --silent do not print \`checking ...' messages
1235 --cache-file=FILE cache test results in FILE [disabled] 1265 --cache-file=FILE cache test results in FILE [disabled]
1236 -C, --config-cache alias for \`--cache-file=config.cache' 1266 -C, --config-cache alias for \`--cache-file=config.cache'
1237 -n, --no-create do not create output files 1267 -n, --no-create do not create output files
@@ -1309,7 +1339,7 @@ Some influential environment variables:
1309 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1339 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1310 nonstandard directory <lib dir> 1340 nonstandard directory <lib dir>
1311 LIBS libraries to pass to the linker, e.g. -l<library> 1341 LIBS libraries to pass to the linker, e.g. -l<library>
1312 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1342 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1313 you have headers in a nonstandard directory <include dir> 1343 you have headers in a nonstandard directory <include dir>
1314 CPP C preprocessor 1344 CPP C preprocessor
1315 1345
@@ -1380,9 +1410,9 @@ test -n "$ac_init_help" && exit $ac_status
1380if $ac_init_version; then 1410if $ac_init_version; then
1381 cat <<\_ACEOF 1411 cat <<\_ACEOF
1382fixincludes configure 1412fixincludes configure
1383generated by GNU Autoconf 2.64 1413generated by GNU Autoconf 2.69
1384 1414
1385Copyright (C) 2009 Free Software Foundation, Inc. 1415Copyright (C) 2012 Free Software Foundation, Inc.
1386This configure script is free software; the Free Software Foundation 1416This configure script is free software; the Free Software Foundation
1387gives unlimited permission to copy, distribute and modify it. 1417gives unlimited permission to copy, distribute and modify it.
1388_ACEOF 1418_ACEOF
@@ -1426,8 +1456,8 @@ sed 's/^/| /' conftest.$ac_ext >&5
1426 1456
1427 ac_retval=1 1457 ac_retval=1
1428fi 1458fi
1429 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1459 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1430 return $ac_retval 1460 as_fn_set_status $ac_retval
1431 1461
1432} # ac_fn_c_try_compile 1462} # ac_fn_c_try_compile
1433 1463
@@ -1452,7 +1482,7 @@ $as_echo "$ac_try_echo"; } >&5
1452 mv -f conftest.er1 conftest.err 1482 mv -f conftest.er1 conftest.err
1453 fi 1483 fi
1454 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1484 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1455 test $ac_status = 0; } >/dev/null && { 1485 test $ac_status = 0; } > conftest.i && {
1456 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1486 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1457 test ! -s conftest.err 1487 test ! -s conftest.err
1458 }; then : 1488 }; then :
@@ -1463,8 +1493,8 @@ sed 's/^/| /' conftest.$ac_ext >&5
1463 1493
1464 ac_retval=1 1494 ac_retval=1
1465fi 1495fi
1466 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1496 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1467 return $ac_retval 1497 as_fn_set_status $ac_retval
1468 1498
1469} # ac_fn_c_try_cpp 1499} # ac_fn_c_try_cpp
1470 1500
@@ -1476,10 +1506,10 @@ fi
1476ac_fn_c_check_header_mongrel () 1506ac_fn_c_check_header_mongrel ()
1477{ 1507{
1478 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1508 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1479 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1509 if eval \${$3+:} false; then :
1480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1481$as_echo_n "checking for $2... " >&6; } 1511$as_echo_n "checking for $2... " >&6; }
1482if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1512if eval \${$3+:} false; then :
1483 $as_echo_n "(cached) " >&6 1513 $as_echo_n "(cached) " >&6
1484fi 1514fi
1485eval ac_res=\$$3 1515eval ac_res=\$$3
@@ -1515,7 +1545,7 @@ if ac_fn_c_try_cpp "$LINENO"; then :
1515else 1545else
1516 ac_header_preproc=no 1546 ac_header_preproc=no
1517fi 1547fi
1518rm -f conftest.err conftest.$ac_ext 1548rm -f conftest.err conftest.i conftest.$ac_ext
1519{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1549{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1520$as_echo "$ac_header_preproc" >&6; } 1550$as_echo "$ac_header_preproc" >&6; }
1521 1551
@@ -1542,7 +1572,7 @@ $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1542esac 1572esac
1543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1544$as_echo_n "checking for $2... " >&6; } 1574$as_echo_n "checking for $2... " >&6; }
1545if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1575if eval \${$3+:} false; then :
1546 $as_echo_n "(cached) " >&6 1576 $as_echo_n "(cached) " >&6
1547else 1577else
1548 eval "$3=\$ac_header_compiler" 1578 eval "$3=\$ac_header_compiler"
@@ -1551,7 +1581,7 @@ eval ac_res=\$$3
1551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1552$as_echo "$ac_res" >&6; } 1582$as_echo "$ac_res" >&6; }
1553fi 1583fi
1554 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1584 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1555 1585
1556} # ac_fn_c_check_header_mongrel 1586} # ac_fn_c_check_header_mongrel
1557 1587
@@ -1592,8 +1622,8 @@ sed 's/^/| /' conftest.$ac_ext >&5
1592 ac_retval=$ac_status 1622 ac_retval=$ac_status
1593fi 1623fi
1594 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1624 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1595 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1625 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1596 return $ac_retval 1626 as_fn_set_status $ac_retval
1597 1627
1598} # ac_fn_c_try_run 1628} # ac_fn_c_try_run
1599 1629
@@ -1606,7 +1636,7 @@ ac_fn_c_check_header_compile ()
1606 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1636 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1608$as_echo_n "checking for $2... " >&6; } 1638$as_echo_n "checking for $2... " >&6; }
1609if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1639if eval \${$3+:} false; then :
1610 $as_echo_n "(cached) " >&6 1640 $as_echo_n "(cached) " >&6
1611else 1641else
1612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -1624,7 +1654,7 @@ fi
1624eval ac_res=\$$3 1654eval ac_res=\$$3
1625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1626$as_echo "$ac_res" >&6; } 1656$as_echo "$ac_res" >&6; }
1627 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1657 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1628 1658
1629} # ac_fn_c_check_header_compile 1659} # ac_fn_c_check_header_compile
1630 1660
@@ -1655,7 +1685,7 @@ $as_echo "$ac_try_echo"; } >&5
1655 test ! -s conftest.err 1685 test ! -s conftest.err
1656 } && test -s conftest$ac_exeext && { 1686 } && test -s conftest$ac_exeext && {
1657 test "$cross_compiling" = yes || 1687 test "$cross_compiling" = yes ||
1658 $as_test_x conftest$ac_exeext 1688 test -x conftest$ac_exeext
1659 }; then : 1689 }; then :
1660 ac_retval=0 1690 ac_retval=0
1661else 1691else
@@ -1669,8 +1699,8 @@ fi
1669 # interfere with the next link command; also delete a directory that is 1699 # interfere with the next link command; also delete a directory that is
1670 # left behind by Apple's compiler. We do this before executing the actions. 1700 # left behind by Apple's compiler. We do this before executing the actions.
1671 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1701 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1672 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1702 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1673 return $ac_retval 1703 as_fn_set_status $ac_retval
1674 1704
1675} # ac_fn_c_try_link 1705} # ac_fn_c_try_link
1676 1706
@@ -1682,7 +1712,7 @@ ac_fn_c_check_func ()
1682 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1712 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1684$as_echo_n "checking for $2... " >&6; } 1714$as_echo_n "checking for $2... " >&6; }
1685if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1715if eval \${$3+:} false; then :
1686 $as_echo_n "(cached) " >&6 1716 $as_echo_n "(cached) " >&6
1687else 1717else
1688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -1737,13 +1767,14 @@ fi
1737eval ac_res=\$$3 1767eval ac_res=\$$3
1738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1739$as_echo "$ac_res" >&6; } 1769$as_echo "$ac_res" >&6; }
1740 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1770 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1741 1771
1742} # ac_fn_c_check_func 1772} # ac_fn_c_check_func
1743 1773
1744# ac_fn_c_check_decl LINENO SYMBOL VAR 1774# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1745# ------------------------------------ 1775# ---------------------------------------------
1746# Tests whether SYMBOL is declared, setting cache variable VAR accordingly. 1776# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1777# accordingly.
1747ac_fn_c_check_decl () 1778ac_fn_c_check_decl ()
1748{ 1779{
1749 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1780 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
@@ -1751,7 +1782,7 @@ ac_fn_c_check_decl ()
1751 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` 1782 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 1783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1753$as_echo_n "checking whether $as_decl_name is declared... " >&6; } 1784$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1754if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1785if eval \${$3+:} false; then :
1755 $as_echo_n "(cached) " >&6 1786 $as_echo_n "(cached) " >&6
1756else 1787else
1757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -1782,7 +1813,7 @@ fi
1782eval ac_res=\$$3 1813eval ac_res=\$$3
1783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1784$as_echo "$ac_res" >&6; } 1815$as_echo "$ac_res" >&6; }
1785 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1816 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1786 1817
1787} # ac_fn_c_check_decl 1818} # ac_fn_c_check_decl
1788cat >config.log <<_ACEOF 1819cat >config.log <<_ACEOF
@@ -1790,7 +1821,7 @@ This file contains any messages produced by compilers while
1790running configure, to aid debugging if configure makes a mistake. 1821running configure, to aid debugging if configure makes a mistake.
1791 1822
1792It was created by fixincludes $as_me , which was 1823It was created by fixincludes $as_me , which was
1793generated by GNU Autoconf 2.64. Invocation command line was 1824generated by GNU Autoconf 2.69. Invocation command line was
1794 1825
1795 $ $0 $@ 1826 $ $0 $@
1796 1827
@@ -1900,11 +1931,9 @@ trap 'exit_status=$?
1900 { 1931 {
1901 echo 1932 echo
1902 1933
1903 cat <<\_ASBOX 1934 $as_echo "## ---------------- ##
1904## ---------------- ##
1905## Cache variables. ## 1935## Cache variables. ##
1906## ---------------- ## 1936## ---------------- ##"
1907_ASBOX
1908 echo 1937 echo
1909 # The following way of writing the cache mishandles newlines in values, 1938 # The following way of writing the cache mishandles newlines in values,
1910( 1939(
@@ -1938,11 +1967,9 @@ $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1938) 1967)
1939 echo 1968 echo
1940 1969
1941 cat <<\_ASBOX 1970 $as_echo "## ----------------- ##
1942## ----------------- ##
1943## Output variables. ## 1971## Output variables. ##
1944## ----------------- ## 1972## ----------------- ##"
1945_ASBOX
1946 echo 1973 echo
1947 for ac_var in $ac_subst_vars 1974 for ac_var in $ac_subst_vars
1948 do 1975 do
@@ -1955,11 +1982,9 @@ _ASBOX
1955 echo 1982 echo
1956 1983
1957 if test -n "$ac_subst_files"; then 1984 if test -n "$ac_subst_files"; then
1958 cat <<\_ASBOX 1985 $as_echo "## ------------------- ##
1959## ------------------- ##
1960## File substitutions. ## 1986## File substitutions. ##
1961## ------------------- ## 1987## ------------------- ##"
1962_ASBOX
1963 echo 1988 echo
1964 for ac_var in $ac_subst_files 1989 for ac_var in $ac_subst_files
1965 do 1990 do
@@ -1973,11 +1998,9 @@ _ASBOX
1973 fi 1998 fi
1974 1999
1975 if test -s confdefs.h; then 2000 if test -s confdefs.h; then
1976 cat <<\_ASBOX 2001 $as_echo "## ----------- ##
1977## ----------- ##
1978## confdefs.h. ## 2002## confdefs.h. ##
1979## ----------- ## 2003## ----------- ##"
1980_ASBOX
1981 echo 2004 echo
1982 cat confdefs.h 2005 cat confdefs.h
1983 echo 2006 echo
@@ -2032,7 +2055,12 @@ _ACEOF
2032ac_site_file1=NONE 2055ac_site_file1=NONE
2033ac_site_file2=NONE 2056ac_site_file2=NONE
2034if test -n "$CONFIG_SITE"; then 2057if test -n "$CONFIG_SITE"; then
2035 ac_site_file1=$CONFIG_SITE 2058 # We do not want a PATH search for config.site.
2059 case $CONFIG_SITE in #((
2060 -*) ac_site_file1=./$CONFIG_SITE;;
2061 */*) ac_site_file1=$CONFIG_SITE;;
2062 *) ac_site_file1=./$CONFIG_SITE;;
2063 esac
2036elif test "x$prefix" != xNONE; then 2064elif test "x$prefix" != xNONE; then
2037 ac_site_file1=$prefix/share/config.site 2065 ac_site_file1=$prefix/share/config.site
2038 ac_site_file2=$prefix/etc/config.site 2066 ac_site_file2=$prefix/etc/config.site
@@ -2043,18 +2071,22 @@ fi
2043for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2071for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2044do 2072do
2045 test "x$ac_site_file" = xNONE && continue 2073 test "x$ac_site_file" = xNONE && continue
2046 if test -r "$ac_site_file"; then 2074 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2047 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2075 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2048$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2076$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2049 sed 's/^/| /' "$ac_site_file" >&5 2077 sed 's/^/| /' "$ac_site_file" >&5
2050 . "$ac_site_file" 2078 . "$ac_site_file" \
2079 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2080$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2081as_fn_error $? "failed to load site script $ac_site_file
2082See \`config.log' for more details" "$LINENO" 5; }
2051 fi 2083 fi
2052done 2084done
2053 2085
2054if test -r "$cache_file"; then 2086if test -r "$cache_file"; then
2055 # Some versions of bash will fail to source /dev/null (special 2087 # Some versions of bash will fail to source /dev/null (special files
2056 # files actually), so we avoid doing that. 2088 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2057 if test -f "$cache_file"; then 2089 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2058 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2090 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2059$as_echo "$as_me: loading cache $cache_file" >&6;} 2091$as_echo "$as_me: loading cache $cache_file" >&6;}
2060 case $cache_file in 2092 case $cache_file in
@@ -2123,7 +2155,7 @@ if $ac_cache_corrupted; then
2123$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2155$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2124 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2156 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2125$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2157$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2126 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2158 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2127fi 2159fi
2128## -------------------- ## 2160## -------------------- ##
2129## Main body of script. ## 2161## Main body of script. ##
@@ -2142,16 +2174,22 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
2142 2174
2143ac_aux_dir= 2175ac_aux_dir=
2144for ac_dir in .. "$srcdir"/..; do 2176for ac_dir in .. "$srcdir"/..; do
2145 for ac_t in install-sh install.sh shtool; do 2177 if test -f "$ac_dir/install-sh"; then
2146 if test -f "$ac_dir/$ac_t"; then 2178 ac_aux_dir=$ac_dir
2147 ac_aux_dir=$ac_dir 2179 ac_install_sh="$ac_aux_dir/install-sh -c"
2148 ac_install_sh="$ac_aux_dir/$ac_t -c" 2180 break
2149 break 2 2181 elif test -f "$ac_dir/install.sh"; then
2150 fi 2182 ac_aux_dir=$ac_dir
2151 done 2183 ac_install_sh="$ac_aux_dir/install.sh -c"
2184 break
2185 elif test -f "$ac_dir/shtool"; then
2186 ac_aux_dir=$ac_dir
2187 ac_install_sh="$ac_aux_dir/shtool install -c"
2188 break
2189 fi
2152done 2190done
2153if test -z "$ac_aux_dir"; then 2191if test -z "$ac_aux_dir"; then
2154 as_fn_error "cannot find install-sh, install.sh, or shtool in .. \"$srcdir\"/.." "$LINENO" 5 2192 as_fn_error $? "cannot find install-sh, install.sh, or shtool in .. \"$srcdir\"/.." "$LINENO" 5
2155fi 2193fi
2156 2194
2157# These three variables are undocumented and unsupported, 2195# These three variables are undocumented and unsupported,
@@ -3158,27 +3196,27 @@ ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3158 3196
3159# Make sure we can run config.sub. 3197# Make sure we can run config.sub.
3160$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 3198$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3161 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 3199 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3162 3200
3163{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 3201{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3164$as_echo_n "checking build system type... " >&6; } 3202$as_echo_n "checking build system type... " >&6; }
3165if test "${ac_cv_build+set}" = set; then : 3203if ${ac_cv_build+:} false; then :
3166 $as_echo_n "(cached) " >&6 3204 $as_echo_n "(cached) " >&6
3167else 3205else
3168 ac_build_alias=$build_alias 3206 ac_build_alias=$build_alias
3169test "x$ac_build_alias" = x && 3207test "x$ac_build_alias" = x &&
3170 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 3208 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3171test "x$ac_build_alias" = x && 3209test "x$ac_build_alias" = x &&
3172 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 3210 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3173ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 3211ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3174 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 3212 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3175 3213
3176fi 3214fi
3177{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 3215{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3178$as_echo "$ac_cv_build" >&6; } 3216$as_echo "$ac_cv_build" >&6; }
3179case $ac_cv_build in 3217case $ac_cv_build in
3180*-*-*) ;; 3218*-*-*) ;;
3181*) as_fn_error "invalid value of canonical build" "$LINENO" 5;; 3219*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3182esac 3220esac
3183build=$ac_cv_build 3221build=$ac_cv_build
3184ac_save_IFS=$IFS; IFS='-' 3222ac_save_IFS=$IFS; IFS='-'
@@ -3196,14 +3234,14 @@ case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3196 3234
3197{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 3235{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3198$as_echo_n "checking host system type... " >&6; } 3236$as_echo_n "checking host system type... " >&6; }
3199if test "${ac_cv_host+set}" = set; then : 3237if ${ac_cv_host+:} false; then :
3200 $as_echo_n "(cached) " >&6 3238 $as_echo_n "(cached) " >&6
3201else 3239else
3202 if test "x$host_alias" = x; then 3240 if test "x$host_alias" = x; then
3203 ac_cv_host=$ac_cv_build 3241 ac_cv_host=$ac_cv_build
3204else 3242else
3205 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 3243 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3206 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 3244 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3207fi 3245fi
3208 3246
3209fi 3247fi
@@ -3211,7 +3249,7 @@ fi
3211$as_echo "$ac_cv_host" >&6; } 3249$as_echo "$ac_cv_host" >&6; }
3212case $ac_cv_host in 3250case $ac_cv_host in
3213*-*-*) ;; 3251*-*-*) ;;
3214*) as_fn_error "invalid value of canonical host" "$LINENO" 5;; 3252*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3215esac 3253esac
3216host=$ac_cv_host 3254host=$ac_cv_host
3217ac_save_IFS=$IFS; IFS='-' 3255ac_save_IFS=$IFS; IFS='-'
@@ -3229,14 +3267,14 @@ case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3229 3267
3230{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 3268{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3231$as_echo_n "checking target system type... " >&6; } 3269$as_echo_n "checking target system type... " >&6; }
3232if test "${ac_cv_target+set}" = set; then : 3270if ${ac_cv_target+:} false; then :
3233 $as_echo_n "(cached) " >&6 3271 $as_echo_n "(cached) " >&6
3234else 3272else
3235 if test "x$target_alias" = x; then 3273 if test "x$target_alias" = x; then
3236 ac_cv_target=$ac_cv_host 3274 ac_cv_target=$ac_cv_host
3237else 3275else
3238 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 3276 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3239 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 3277 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3240fi 3278fi
3241 3279
3242fi 3280fi
@@ -3244,7 +3282,7 @@ fi
3244$as_echo "$ac_cv_target" >&6; } 3282$as_echo "$ac_cv_target" >&6; }
3245case $ac_cv_target in 3283case $ac_cv_target in
3246*-*-*) ;; 3284*-*-*) ;;
3247*) as_fn_error "invalid value of canonical target" "$LINENO" 5;; 3285*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
3248esac 3286esac
3249target=$ac_cv_target 3287target=$ac_cv_target
3250ac_save_IFS=$IFS; IFS='-' 3288ac_save_IFS=$IFS; IFS='-'
@@ -3277,7 +3315,7 @@ if test -n "$ac_tool_prefix"; then
3277set dummy ${ac_tool_prefix}gcc; ac_word=$2 3315set dummy ${ac_tool_prefix}gcc; ac_word=$2
3278{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3316{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3279$as_echo_n "checking for $ac_word... " >&6; } 3317$as_echo_n "checking for $ac_word... " >&6; }
3280if test "${ac_cv_prog_CC+set}" = set; then : 3318if ${ac_cv_prog_CC+:} false; then :
3281 $as_echo_n "(cached) " >&6 3319 $as_echo_n "(cached) " >&6
3282else 3320else
3283 if test -n "$CC"; then 3321 if test -n "$CC"; then
@@ -3289,7 +3327,7 @@ do
3289 IFS=$as_save_IFS 3327 IFS=$as_save_IFS
3290 test -z "$as_dir" && as_dir=. 3328 test -z "$as_dir" && as_dir=.
3291 for ac_exec_ext in '' $ac_executable_extensions; do 3329 for ac_exec_ext in '' $ac_executable_extensions; do
3292 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3330 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3293 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3331 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3294 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3332 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3295 break 2 3333 break 2
@@ -3317,7 +3355,7 @@ if test -z "$ac_cv_prog_CC"; then
3317set dummy gcc; ac_word=$2 3355set dummy gcc; ac_word=$2
3318{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3356{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3319$as_echo_n "checking for $ac_word... " >&6; } 3357$as_echo_n "checking for $ac_word... " >&6; }
3320if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 3358if ${ac_cv_prog_ac_ct_CC+:} false; then :
3321 $as_echo_n "(cached) " >&6 3359 $as_echo_n "(cached) " >&6
3322else 3360else
3323 if test -n "$ac_ct_CC"; then 3361 if test -n "$ac_ct_CC"; then
@@ -3329,7 +3367,7 @@ do
3329 IFS=$as_save_IFS 3367 IFS=$as_save_IFS
3330 test -z "$as_dir" && as_dir=. 3368 test -z "$as_dir" && as_dir=.
3331 for ac_exec_ext in '' $ac_executable_extensions; do 3369 for ac_exec_ext in '' $ac_executable_extensions; do
3332 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3370 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3333 ac_cv_prog_ac_ct_CC="gcc" 3371 ac_cv_prog_ac_ct_CC="gcc"
3334 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3372 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3335 break 2 3373 break 2
@@ -3370,7 +3408,7 @@ if test -z "$CC"; then
3370set dummy ${ac_tool_prefix}cc; ac_word=$2 3408set dummy ${ac_tool_prefix}cc; ac_word=$2
3371{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3409{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3372$as_echo_n "checking for $ac_word... " >&6; } 3410$as_echo_n "checking for $ac_word... " >&6; }
3373if test "${ac_cv_prog_CC+set}" = set; then : 3411if ${ac_cv_prog_CC+:} false; then :
3374 $as_echo_n "(cached) " >&6 3412 $as_echo_n "(cached) " >&6
3375else 3413else
3376 if test -n "$CC"; then 3414 if test -n "$CC"; then
@@ -3382,7 +3420,7 @@ do
3382 IFS=$as_save_IFS 3420 IFS=$as_save_IFS
3383 test -z "$as_dir" && as_dir=. 3421 test -z "$as_dir" && as_dir=.
3384 for ac_exec_ext in '' $ac_executable_extensions; do 3422 for ac_exec_ext in '' $ac_executable_extensions; do
3385 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3423 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3386 ac_cv_prog_CC="${ac_tool_prefix}cc" 3424 ac_cv_prog_CC="${ac_tool_prefix}cc"
3387 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3425 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3388 break 2 3426 break 2
@@ -3410,7 +3448,7 @@ if test -z "$CC"; then
3410set dummy cc; ac_word=$2 3448set dummy cc; ac_word=$2
3411{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3449{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3412$as_echo_n "checking for $ac_word... " >&6; } 3450$as_echo_n "checking for $ac_word... " >&6; }
3413if test "${ac_cv_prog_CC+set}" = set; then : 3451if ${ac_cv_prog_CC+:} false; then :
3414 $as_echo_n "(cached) " >&6 3452 $as_echo_n "(cached) " >&6
3415else 3453else
3416 if test -n "$CC"; then 3454 if test -n "$CC"; then
@@ -3423,7 +3461,7 @@ do
3423 IFS=$as_save_IFS 3461 IFS=$as_save_IFS
3424 test -z "$as_dir" && as_dir=. 3462 test -z "$as_dir" && as_dir=.
3425 for ac_exec_ext in '' $ac_executable_extensions; do 3463 for ac_exec_ext in '' $ac_executable_extensions; do
3426 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3464 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3427 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3465 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3428 ac_prog_rejected=yes 3466 ac_prog_rejected=yes
3429 continue 3467 continue
@@ -3469,7 +3507,7 @@ if test -z "$CC"; then
3469set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3507set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3470{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3508{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3471$as_echo_n "checking for $ac_word... " >&6; } 3509$as_echo_n "checking for $ac_word... " >&6; }
3472if test "${ac_cv_prog_CC+set}" = set; then : 3510if ${ac_cv_prog_CC+:} false; then :
3473 $as_echo_n "(cached) " >&6 3511 $as_echo_n "(cached) " >&6
3474else 3512else
3475 if test -n "$CC"; then 3513 if test -n "$CC"; then
@@ -3481,7 +3519,7 @@ do
3481 IFS=$as_save_IFS 3519 IFS=$as_save_IFS
3482 test -z "$as_dir" && as_dir=. 3520 test -z "$as_dir" && as_dir=.
3483 for ac_exec_ext in '' $ac_executable_extensions; do 3521 for ac_exec_ext in '' $ac_executable_extensions; do
3484 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3522 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3485 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3523 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3486 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3524 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3487 break 2 3525 break 2
@@ -3513,7 +3551,7 @@ do
3513set dummy $ac_prog; ac_word=$2 3551set dummy $ac_prog; ac_word=$2
3514{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3552{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3515$as_echo_n "checking for $ac_word... " >&6; } 3553$as_echo_n "checking for $ac_word... " >&6; }
3516if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 3554if ${ac_cv_prog_ac_ct_CC+:} false; then :
3517 $as_echo_n "(cached) " >&6 3555 $as_echo_n "(cached) " >&6
3518else 3556else
3519 if test -n "$ac_ct_CC"; then 3557 if test -n "$ac_ct_CC"; then
@@ -3525,7 +3563,7 @@ do
3525 IFS=$as_save_IFS 3563 IFS=$as_save_IFS
3526 test -z "$as_dir" && as_dir=. 3564 test -z "$as_dir" && as_dir=.
3527 for ac_exec_ext in '' $ac_executable_extensions; do 3565 for ac_exec_ext in '' $ac_executable_extensions; do
3528 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3566 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3529 ac_cv_prog_ac_ct_CC="$ac_prog" 3567 ac_cv_prog_ac_ct_CC="$ac_prog"
3530 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3568 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3531 break 2 3569 break 2
@@ -3567,8 +3605,8 @@ fi
3567 3605
3568test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3606test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3569$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3607$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3570as_fn_error "no acceptable C compiler found in \$PATH 3608as_fn_error $? "no acceptable C compiler found in \$PATH
3571See \`config.log' for more details." "$LINENO" 5; } 3609See \`config.log' for more details" "$LINENO" 5; }
3572 3610
3573# Provide some information about the compiler. 3611# Provide some information about the compiler.
3574$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3612$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
@@ -3589,8 +3627,8 @@ $as_echo "$ac_try_echo"; } >&5
3589... rest of stderr output deleted ... 3627... rest of stderr output deleted ...
3590 10q' conftest.err >conftest.er1 3628 10q' conftest.err >conftest.er1
3591 cat conftest.er1 >&5 3629 cat conftest.er1 >&5
3592 rm -f conftest.er1 conftest.err
3593 fi 3630 fi
3631 rm -f conftest.er1 conftest.err
3594 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3632 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3595 test $ac_status = 0; } 3633 test $ac_status = 0; }
3596done 3634done
@@ -3607,12 +3645,12 @@ main ()
3607} 3645}
3608_ACEOF 3646_ACEOF
3609ac_clean_files_save=$ac_clean_files 3647ac_clean_files_save=$ac_clean_files
3610ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out" 3648ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3611# Try to create an executable without -o first, disregard a.out. 3649# Try to create an executable without -o first, disregard a.out.
3612# It will help us diagnose broken compilers, and finding out an intuition 3650# It will help us diagnose broken compilers, and finding out an intuition
3613# of exeext. 3651# of exeext.
3614{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3652{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3615$as_echo_n "checking for C compiler default output file name... " >&6; } 3653$as_echo_n "checking whether the C compiler works... " >&6; }
3616ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3654ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3617 3655
3618# The possible output files: 3656# The possible output files:
@@ -3674,62 +3712,28 @@ test "$ac_cv_exeext" = no && ac_cv_exeext=
3674else 3712else
3675 ac_file='' 3713 ac_file=''
3676fi 3714fi
3677{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3678$as_echo "$ac_file" >&6; }
3679if test -z "$ac_file"; then : 3715if test -z "$ac_file"; then :
3680 $as_echo "$as_me: failed program was:" >&5 3716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3717$as_echo "no" >&6; }
3718$as_echo "$as_me: failed program was:" >&5
3681sed 's/^/| /' conftest.$ac_ext >&5 3719sed 's/^/| /' conftest.$ac_ext >&5
3682 3720
3683{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3721{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3684$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3722$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3685{ as_fn_set_status 77 3723as_fn_error 77 "C compiler cannot create executables
3686as_fn_error "C compiler cannot create executables 3724See \`config.log' for more details" "$LINENO" 5; }
3687See \`config.log' for more details." "$LINENO" 5; }; } 3725else
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3727$as_echo "yes" >&6; }
3688fi 3728fi
3729{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3730$as_echo_n "checking for C compiler default output file name... " >&6; }
3731{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3732$as_echo "$ac_file" >&6; }
3689ac_exeext=$ac_cv_exeext 3733ac_exeext=$ac_cv_exeext
3690 3734
3691# Check that the compiler produces executables we can run. If not, either 3735rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3692# the compiler is broken, or we cross compile.
3693{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3694$as_echo_n "checking whether the C compiler works... " >&6; }
3695# If not cross compiling, check that we can run a simple program.
3696if test "$cross_compiling" != yes; then
3697 if { ac_try='./$ac_file'
3698 { { case "(($ac_try" in
3699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3700 *) ac_try_echo=$ac_try;;
3701esac
3702eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3703$as_echo "$ac_try_echo"; } >&5
3704 (eval "$ac_try") 2>&5
3705 ac_status=$?
3706 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3707 test $ac_status = 0; }; }; then
3708 cross_compiling=no
3709 else
3710 if test "$cross_compiling" = maybe; then
3711 cross_compiling=yes
3712 else
3713 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3714$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3715as_fn_error "cannot run C compiled programs.
3716If you meant to cross compile, use \`--host'.
3717See \`config.log' for more details." "$LINENO" 5; }
3718 fi
3719 fi
3720fi
3721{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3722$as_echo "yes" >&6; }
3723
3724rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3725ac_clean_files=$ac_clean_files_save 3736ac_clean_files=$ac_clean_files_save
3726# Check that the compiler produces executables we can run. If not, either
3727# the compiler is broken, or we cross compile.
3728{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3729$as_echo_n "checking whether we are cross compiling... " >&6; }
3730{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3731$as_echo "$cross_compiling" >&6; }
3732
3733{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3737{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3734$as_echo_n "checking for suffix of executables... " >&6; } 3738$as_echo_n "checking for suffix of executables... " >&6; }
3735if { { ac_try="$ac_link" 3739if { { ac_try="$ac_link"
@@ -3759,19 +3763,78 @@ done
3759else 3763else
3760 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3764 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3761$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3765$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3762as_fn_error "cannot compute suffix of executables: cannot compile and link 3766as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3763See \`config.log' for more details." "$LINENO" 5; } 3767See \`config.log' for more details" "$LINENO" 5; }
3764fi 3768fi
3765rm -f conftest$ac_cv_exeext 3769rm -f conftest conftest$ac_cv_exeext
3766{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3770{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3767$as_echo "$ac_cv_exeext" >&6; } 3771$as_echo "$ac_cv_exeext" >&6; }
3768 3772
3769rm -f conftest.$ac_ext 3773rm -f conftest.$ac_ext
3770EXEEXT=$ac_cv_exeext 3774EXEEXT=$ac_cv_exeext
3771ac_exeext=$EXEEXT 3775ac_exeext=$EXEEXT
3776cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3777/* end confdefs.h. */
3778#include <stdio.h>
3779int
3780main ()
3781{
3782FILE *f = fopen ("conftest.out", "w");
3783 return ferror (f) || fclose (f) != 0;
3784
3785 ;
3786 return 0;
3787}
3788_ACEOF
3789ac_clean_files="$ac_clean_files conftest.out"
3790# Check that the compiler produces executables we can run. If not, either
3791# the compiler is broken, or we cross compile.
3792{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3793$as_echo_n "checking whether we are cross compiling... " >&6; }
3794if test "$cross_compiling" != yes; then
3795 { { ac_try="$ac_link"
3796case "(($ac_try" in
3797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3798 *) ac_try_echo=$ac_try;;
3799esac
3800eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3801$as_echo "$ac_try_echo"; } >&5
3802 (eval "$ac_link") 2>&5
3803 ac_status=$?
3804 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3805 test $ac_status = 0; }
3806 if { ac_try='./conftest$ac_cv_exeext'
3807 { { case "(($ac_try" in
3808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3809 *) ac_try_echo=$ac_try;;
3810esac
3811eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3812$as_echo "$ac_try_echo"; } >&5
3813 (eval "$ac_try") 2>&5
3814 ac_status=$?
3815 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3816 test $ac_status = 0; }; }; then
3817 cross_compiling=no
3818 else
3819 if test "$cross_compiling" = maybe; then
3820 cross_compiling=yes
3821 else
3822 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3823$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3824as_fn_error $? "cannot run C compiled programs.
3825If you meant to cross compile, use \`--host'.
3826See \`config.log' for more details" "$LINENO" 5; }
3827 fi
3828 fi
3829fi
3830{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3831$as_echo "$cross_compiling" >&6; }
3832
3833rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3834ac_clean_files=$ac_clean_files_save
3772{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3835{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3773$as_echo_n "checking for suffix of object files... " >&6; } 3836$as_echo_n "checking for suffix of object files... " >&6; }
3774if test "${ac_cv_objext+set}" = set; then : 3837if ${ac_cv_objext+:} false; then :
3775 $as_echo_n "(cached) " >&6 3838 $as_echo_n "(cached) " >&6
3776else 3839else
3777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -3811,8 +3874,8 @@ sed 's/^/| /' conftest.$ac_ext >&5
3811 3874
3812{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3875{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3813$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3876$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3814as_fn_error "cannot compute suffix of object files: cannot compile 3877as_fn_error $? "cannot compute suffix of object files: cannot compile
3815See \`config.log' for more details." "$LINENO" 5; } 3878See \`config.log' for more details" "$LINENO" 5; }
3816fi 3879fi
3817rm -f conftest.$ac_cv_objext conftest.$ac_ext 3880rm -f conftest.$ac_cv_objext conftest.$ac_ext
3818fi 3881fi
@@ -3822,7 +3885,7 @@ OBJEXT=$ac_cv_objext
3822ac_objext=$OBJEXT 3885ac_objext=$OBJEXT
3823{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3886{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3824$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3887$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3825if test "${ac_cv_c_compiler_gnu+set}" = set; then : 3888if ${ac_cv_c_compiler_gnu+:} false; then :
3826 $as_echo_n "(cached) " >&6 3889 $as_echo_n "(cached) " >&6
3827else 3890else
3828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -3859,7 +3922,7 @@ ac_test_CFLAGS=${CFLAGS+set}
3859ac_save_CFLAGS=$CFLAGS 3922ac_save_CFLAGS=$CFLAGS
3860{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3923{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3861$as_echo_n "checking whether $CC accepts -g... " >&6; } 3924$as_echo_n "checking whether $CC accepts -g... " >&6; }
3862if test "${ac_cv_prog_cc_g+set}" = set; then : 3925if ${ac_cv_prog_cc_g+:} false; then :
3863 $as_echo_n "(cached) " >&6 3926 $as_echo_n "(cached) " >&6
3864else 3927else
3865 ac_save_c_werror_flag=$ac_c_werror_flag 3928 ac_save_c_werror_flag=$ac_c_werror_flag
@@ -3937,7 +4000,7 @@ else
3937fi 4000fi
3938{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 4001{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3939$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 4002$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3940if test "${ac_cv_prog_cc_c89+set}" = set; then : 4003if ${ac_cv_prog_cc_c89+:} false; then :
3941 $as_echo_n "(cached) " >&6 4004 $as_echo_n "(cached) " >&6
3942else 4005else
3943 ac_cv_prog_cc_c89=no 4006 ac_cv_prog_cc_c89=no
@@ -3946,8 +4009,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3946/* end confdefs.h. */ 4009/* end confdefs.h. */
3947#include <stdarg.h> 4010#include <stdarg.h>
3948#include <stdio.h> 4011#include <stdio.h>
3949#include <sys/types.h> 4012struct stat;
3950#include <sys/stat.h>
3951/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 4013/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3952struct buf { int x; }; 4014struct buf { int x; };
3953FILE * (*rcsopen) (struct buf *, struct stat *, int); 4015FILE * (*rcsopen) (struct buf *, struct stat *, int);
@@ -4045,7 +4107,7 @@ if test -n "$CPP" && test -d "$CPP"; then
4045 CPP= 4107 CPP=
4046fi 4108fi
4047if test -z "$CPP"; then 4109if test -z "$CPP"; then
4048 if test "${ac_cv_prog_CPP+set}" = set; then : 4110 if ${ac_cv_prog_CPP+:} false; then :
4049 $as_echo_n "(cached) " >&6 4111 $as_echo_n "(cached) " >&6
4050else 4112else
4051 # Double quotes because CPP needs to be expanded 4113 # Double quotes because CPP needs to be expanded
@@ -4075,7 +4137,7 @@ else
4075 # Broken: fails on valid input. 4137 # Broken: fails on valid input.
4076continue 4138continue
4077fi 4139fi
4078rm -f conftest.err conftest.$ac_ext 4140rm -f conftest.err conftest.i conftest.$ac_ext
4079 4141
4080 # OK, works on sane cases. Now check whether nonexistent headers 4142 # OK, works on sane cases. Now check whether nonexistent headers
4081 # can be detected and how. 4143 # can be detected and how.
@@ -4091,11 +4153,11 @@ else
4091ac_preproc_ok=: 4153ac_preproc_ok=:
4092break 4154break
4093fi 4155fi
4094rm -f conftest.err conftest.$ac_ext 4156rm -f conftest.err conftest.i conftest.$ac_ext
4095 4157
4096done 4158done
4097# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4159# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4098rm -f conftest.err conftest.$ac_ext 4160rm -f conftest.i conftest.err conftest.$ac_ext
4099if $ac_preproc_ok; then : 4161if $ac_preproc_ok; then :
4100 break 4162 break
4101fi 4163fi
@@ -4134,7 +4196,7 @@ else
4134 # Broken: fails on valid input. 4196 # Broken: fails on valid input.
4135continue 4197continue
4136fi 4198fi
4137rm -f conftest.err conftest.$ac_ext 4199rm -f conftest.err conftest.i conftest.$ac_ext
4138 4200
4139 # OK, works on sane cases. Now check whether nonexistent headers 4201 # OK, works on sane cases. Now check whether nonexistent headers
4140 # can be detected and how. 4202 # can be detected and how.
@@ -4150,18 +4212,18 @@ else
4150ac_preproc_ok=: 4212ac_preproc_ok=:
4151break 4213break
4152fi 4214fi
4153rm -f conftest.err conftest.$ac_ext 4215rm -f conftest.err conftest.i conftest.$ac_ext
4154 4216
4155done 4217done
4156# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4218# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4157rm -f conftest.err conftest.$ac_ext 4219rm -f conftest.i conftest.err conftest.$ac_ext
4158if $ac_preproc_ok; then : 4220if $ac_preproc_ok; then :
4159 4221
4160else 4222else
4161 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4223 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4162$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4224$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4163as_fn_error "C preprocessor \"$CPP\" fails sanity check 4225as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4164See \`config.log' for more details." "$LINENO" 5; } 4226See \`config.log' for more details" "$LINENO" 5; }
4165fi 4227fi
4166 4228
4167ac_ext=c 4229ac_ext=c
@@ -4173,7 +4235,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
4173 4235
4174{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4236{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4175$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4237$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4176if test "${ac_cv_path_GREP+set}" = set; then : 4238if ${ac_cv_path_GREP+:} false; then :
4177 $as_echo_n "(cached) " >&6 4239 $as_echo_n "(cached) " >&6
4178else 4240else
4179 if test -z "$GREP"; then 4241 if test -z "$GREP"; then
@@ -4187,7 +4249,7 @@ do
4187 for ac_prog in grep ggrep; do 4249 for ac_prog in grep ggrep; do
4188 for ac_exec_ext in '' $ac_executable_extensions; do 4250 for ac_exec_ext in '' $ac_executable_extensions; do
4189 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4251 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4190 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 4252 as_fn_executable_p "$ac_path_GREP" || continue
4191# Check for GNU ac_path_GREP and select it if it is found. 4253# Check for GNU ac_path_GREP and select it if it is found.
4192 # Check for GNU $ac_path_GREP 4254 # Check for GNU $ac_path_GREP
4193case `"$ac_path_GREP" --version 2>&1` in 4255case `"$ac_path_GREP" --version 2>&1` in
@@ -4222,7 +4284,7 @@ esac
4222 done 4284 done
4223IFS=$as_save_IFS 4285IFS=$as_save_IFS
4224 if test -z "$ac_cv_path_GREP"; then 4286 if test -z "$ac_cv_path_GREP"; then
4225 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4287 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4226 fi 4288 fi
4227else 4289else
4228 ac_cv_path_GREP=$GREP 4290 ac_cv_path_GREP=$GREP
@@ -4236,7 +4298,7 @@ $as_echo "$ac_cv_path_GREP" >&6; }
4236 4298
4237{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4299{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4238$as_echo_n "checking for egrep... " >&6; } 4300$as_echo_n "checking for egrep... " >&6; }
4239if test "${ac_cv_path_EGREP+set}" = set; then : 4301if ${ac_cv_path_EGREP+:} false; then :
4240 $as_echo_n "(cached) " >&6 4302 $as_echo_n "(cached) " >&6
4241else 4303else
4242 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4304 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
@@ -4253,7 +4315,7 @@ do
4253 for ac_prog in egrep; do 4315 for ac_prog in egrep; do
4254 for ac_exec_ext in '' $ac_executable_extensions; do 4316 for ac_exec_ext in '' $ac_executable_extensions; do
4255 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4317 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4256 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4318 as_fn_executable_p "$ac_path_EGREP" || continue
4257# Check for GNU ac_path_EGREP and select it if it is found. 4319# Check for GNU ac_path_EGREP and select it if it is found.
4258 # Check for GNU $ac_path_EGREP 4320 # Check for GNU $ac_path_EGREP
4259case `"$ac_path_EGREP" --version 2>&1` in 4321case `"$ac_path_EGREP" --version 2>&1` in
@@ -4288,7 +4350,7 @@ esac
4288 done 4350 done
4289IFS=$as_save_IFS 4351IFS=$as_save_IFS
4290 if test -z "$ac_cv_path_EGREP"; then 4352 if test -z "$ac_cv_path_EGREP"; then
4291 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4353 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4292 fi 4354 fi
4293else 4355else
4294 ac_cv_path_EGREP=$EGREP 4356 ac_cv_path_EGREP=$EGREP
@@ -4303,7 +4365,7 @@ $as_echo "$ac_cv_path_EGREP" >&6; }
4303 4365
4304{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4366{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4305$as_echo_n "checking for ANSI C header files... " >&6; } 4367$as_echo_n "checking for ANSI C header files... " >&6; }
4306if test "${ac_cv_header_stdc+set}" = set; then : 4368if ${ac_cv_header_stdc+:} false; then :
4307 $as_echo_n "(cached) " >&6 4369 $as_echo_n "(cached) " >&6
4308else 4370else
4309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -4420,8 +4482,7 @@ do :
4420 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4482 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4421ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4483ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4422" 4484"
4423eval as_val=\$$as_ac_Header 4485if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4424 if test "x$as_val" = x""yes; then :
4425 cat >>confdefs.h <<_ACEOF 4486 cat >>confdefs.h <<_ACEOF
4426#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4487#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4427_ACEOF 4488_ACEOF
@@ -4433,7 +4494,7 @@ done
4433 4494
4434 4495
4435 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" 4496 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4436if test "x$ac_cv_header_minix_config_h" = x""yes; then : 4497if test "x$ac_cv_header_minix_config_h" = xyes; then :
4437 MINIX=yes 4498 MINIX=yes
4438else 4499else
4439 MINIX= 4500 MINIX=
@@ -4455,14 +4516,14 @@ $as_echo "#define _MINIX 1" >>confdefs.h
4455 4516
4456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 4517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4457$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } 4518$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4458if test "${ac_cv_safe_to_define___extensions__+set}" = set; then : 4519if ${ac_cv_safe_to_define___extensions__+:} false; then :
4459 $as_echo_n "(cached) " >&6 4520 $as_echo_n "(cached) " >&6
4460else 4521else
4461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4462/* end confdefs.h. */ 4523/* end confdefs.h. */
4463 4524
4464# define __EXTENSIONS__ 1 4525# define __EXTENSIONS__ 1
4465 $ac_includes_default 4526 $ac_includes_default
4466int 4527int
4467main () 4528main ()
4468{ 4529{
@@ -4494,7 +4555,7 @@ $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4494 4555
4495{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 4556{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4496$as_echo_n "checking for a sed that does not truncate output... " >&6; } 4557$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4497if test "${ac_cv_path_SED+set}" = set; then : 4558if ${ac_cv_path_SED+:} false; then :
4498 $as_echo_n "(cached) " >&6 4559 $as_echo_n "(cached) " >&6
4499else 4560else
4500 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 4561 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
@@ -4514,7 +4575,7 @@ do
4514 for ac_prog in sed gsed; do 4575 for ac_prog in sed gsed; do
4515 for ac_exec_ext in '' $ac_executable_extensions; do 4576 for ac_exec_ext in '' $ac_executable_extensions; do
4516 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 4577 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4517 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue 4578 as_fn_executable_p "$ac_path_SED" || continue
4518# Check for GNU ac_path_SED and select it if it is found. 4579# Check for GNU ac_path_SED and select it if it is found.
4519 # Check for GNU $ac_path_SED 4580 # Check for GNU $ac_path_SED
4520case `"$ac_path_SED" --version 2>&1` in 4581case `"$ac_path_SED" --version 2>&1` in
@@ -4549,7 +4610,7 @@ esac
4549 done 4610 done
4550IFS=$as_save_IFS 4611IFS=$as_save_IFS
4551 if test -z "$ac_cv_path_SED"; then 4612 if test -z "$ac_cv_path_SED"; then
4552 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5 4613 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4553 fi 4614 fi
4554else 4615else
4555 ac_cv_path_SED=$SED 4616 ac_cv_path_SED=$SED
@@ -4586,7 +4647,7 @@ for real_option in -W -Wall -Wwrite-strings -Wstrict-prototypes \
4586 4647
4587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5 4648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5
4588$as_echo_n "checking whether $CC supports $option... " >&6; } 4649$as_echo_n "checking whether $CC supports $option... " >&6; }
4589if { as_var=$as_acx_Woption; eval "test \"\${$as_var+set}\" = set"; }; then : 4650if eval \${$as_acx_Woption+:} false; then :
4590 $as_echo_n "(cached) " >&6 4651 $as_echo_n "(cached) " >&6
4591else 4652else
4592 CFLAGS="$option" 4653 CFLAGS="$option"
@@ -4636,7 +4697,7 @@ WARN_PEDANTIC=
4636if test "$GCC" = yes; then : 4697if test "$GCC" = yes; then :
4637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -pedantic -Wlong-long" >&5 4698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -pedantic -Wlong-long" >&5
4638$as_echo_n "checking whether $CC supports -pedantic -Wlong-long... " >&6; } 4699$as_echo_n "checking whether $CC supports -pedantic -Wlong-long... " >&6; }
4639if test "${acx_cv_prog_cc_pedantic__Wlong_long+set}" = set; then : 4700if ${acx_cv_prog_cc_pedantic__Wlong_long+:} false; then :
4640 $as_echo_n "(cached) " >&6 4701 $as_echo_n "(cached) " >&6
4641else 4702else
4642 save_CFLAGS="$CFLAGS" 4703 save_CFLAGS="$CFLAGS"
@@ -4728,7 +4789,7 @@ local_prefix=
4728# Check whether --with-local-prefix was given. 4789# Check whether --with-local-prefix was given.
4729if test "${with_local_prefix+set}" = set; then : 4790if test "${with_local_prefix+set}" = set; then :
4730 withval=$with_local_prefix; case "${withval}" in 4791 withval=$with_local_prefix; case "${withval}" in
4731yes) as_fn_error "bad value ${withval} given for local include directory prefix" "$LINENO" 5 ;; 4792yes) as_fn_error $? "bad value ${withval} given for local include directory prefix" "$LINENO" 5 ;;
4732no) ;; 4793no) ;;
4733*) local_prefix=$with_local_prefix ;; 4794*) local_prefix=$with_local_prefix ;;
4734esac 4795esac
@@ -4794,7 +4855,7 @@ _ACEOF
4794# Checks for header files. 4855# Checks for header files.
4795{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4856{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4796$as_echo_n "checking for ANSI C header files... " >&6; } 4857$as_echo_n "checking for ANSI C header files... " >&6; }
4797if test "${ac_cv_header_stdc+set}" = set; then : 4858if ${ac_cv_header_stdc+:} false; then :
4798 $as_echo_n "(cached) " >&6 4859 $as_echo_n "(cached) " >&6
4799else 4860else
4800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -4909,8 +4970,7 @@ for ac_header in stddef.h stdlib.h strings.h unistd.h fcntl.h sys/file.h \
4909do : 4970do :
4910 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4971 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4911ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 4972ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4912eval as_val=\$$as_ac_Header 4973if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4913 if test "x$as_val" = x""yes; then :
4914 cat >>confdefs.h <<_ACEOF 4974 cat >>confdefs.h <<_ACEOF
4915#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4975#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4916_ACEOF 4976_ACEOF
@@ -4924,8 +4984,7 @@ for ac_func in clearerr_unlocked feof_unlocked ferror_unlocked fflush_unlocked
4924do : 4984do :
4925 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 4985 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4926ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 4986ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
4927eval as_val=\$$as_ac_var 4987if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
4928 if test "x$as_val" = x""yes; then :
4929 cat >>confdefs.h <<_ACEOF 4988 cat >>confdefs.h <<_ACEOF
4930#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 4989#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4931_ACEOF 4990_ACEOF
@@ -4934,7 +4993,7 @@ fi
4934done 4993done
4935 4994
4936ac_fn_c_check_decl "$LINENO" "abort" "ac_cv_have_decl_abort" "$ac_includes_default" 4995ac_fn_c_check_decl "$LINENO" "abort" "ac_cv_have_decl_abort" "$ac_includes_default"
4937if test "x$ac_cv_have_decl_abort" = x""yes; then : 4996if test "x$ac_cv_have_decl_abort" = xyes; then :
4938 ac_have_decl=1 4997 ac_have_decl=1
4939else 4998else
4940 ac_have_decl=0 4999 ac_have_decl=0
@@ -4944,7 +5003,7 @@ cat >>confdefs.h <<_ACEOF
4944#define HAVE_DECL_ABORT $ac_have_decl 5003#define HAVE_DECL_ABORT $ac_have_decl
4945_ACEOF 5004_ACEOF
4946ac_fn_c_check_decl "$LINENO" "asprintf" "ac_cv_have_decl_asprintf" "$ac_includes_default" 5005ac_fn_c_check_decl "$LINENO" "asprintf" "ac_cv_have_decl_asprintf" "$ac_includes_default"
4947if test "x$ac_cv_have_decl_asprintf" = x""yes; then : 5006if test "x$ac_cv_have_decl_asprintf" = xyes; then :
4948 ac_have_decl=1 5007 ac_have_decl=1
4949else 5008else
4950 ac_have_decl=0 5009 ac_have_decl=0
@@ -4953,8 +5012,9 @@ fi
4953cat >>confdefs.h <<_ACEOF 5012cat >>confdefs.h <<_ACEOF
4954#define HAVE_DECL_ASPRINTF $ac_have_decl 5013#define HAVE_DECL_ASPRINTF $ac_have_decl
4955_ACEOF 5014_ACEOF
4956ac_fn_c_check_decl "$LINENO" "basename(char *)" "ac_cv_have_decl_basename_char_p_" "$ac_includes_default" 5015as_ac_Symbol=`$as_echo "ac_cv_have_decl_basename(char *)" | $as_tr_sh`
4957if test "x$ac_cv_have_decl_basename_char_p_" = x""yes; then : 5016ac_fn_c_check_decl "$LINENO" "basename(char *)" "$as_ac_Symbol" "$ac_includes_default"
5017if eval test \"x\$"$as_ac_Symbol"\" = x"yes"; then :
4958 ac_have_decl=1 5018 ac_have_decl=1
4959else 5019else
4960 ac_have_decl=0 5020 ac_have_decl=0
@@ -4964,7 +5024,7 @@ cat >>confdefs.h <<_ACEOF
4964#define HAVE_DECL_BASENAME $ac_have_decl 5024#define HAVE_DECL_BASENAME $ac_have_decl
4965_ACEOF 5025_ACEOF
4966ac_fn_c_check_decl "$LINENO" "errno" "ac_cv_have_decl_errno" "$ac_includes_default" 5026ac_fn_c_check_decl "$LINENO" "errno" "ac_cv_have_decl_errno" "$ac_includes_default"
4967if test "x$ac_cv_have_decl_errno" = x""yes; then : 5027if test "x$ac_cv_have_decl_errno" = xyes; then :
4968 ac_have_decl=1 5028 ac_have_decl=1
4969else 5029else
4970 ac_have_decl=0 5030 ac_have_decl=0
@@ -4974,7 +5034,7 @@ cat >>confdefs.h <<_ACEOF
4974#define HAVE_DECL_ERRNO $ac_have_decl 5034#define HAVE_DECL_ERRNO $ac_have_decl
4975_ACEOF 5035_ACEOF
4976ac_fn_c_check_decl "$LINENO" "vasprintf" "ac_cv_have_decl_vasprintf" "$ac_includes_default" 5036ac_fn_c_check_decl "$LINENO" "vasprintf" "ac_cv_have_decl_vasprintf" "$ac_includes_default"
4977if test "x$ac_cv_have_decl_vasprintf" = x""yes; then : 5037if test "x$ac_cv_have_decl_vasprintf" = xyes; then :
4978 ac_have_decl=1 5038 ac_have_decl=1
4979else 5039else
4980 ac_have_decl=0 5040 ac_have_decl=0
@@ -4985,7 +5045,7 @@ cat >>confdefs.h <<_ACEOF
4985_ACEOF 5045_ACEOF
4986 5046
4987ac_fn_c_check_decl "$LINENO" "clearerr_unlocked" "ac_cv_have_decl_clearerr_unlocked" "$ac_includes_default" 5047ac_fn_c_check_decl "$LINENO" "clearerr_unlocked" "ac_cv_have_decl_clearerr_unlocked" "$ac_includes_default"
4988if test "x$ac_cv_have_decl_clearerr_unlocked" = x""yes; then : 5048if test "x$ac_cv_have_decl_clearerr_unlocked" = xyes; then :
4989 ac_have_decl=1 5049 ac_have_decl=1
4990else 5050else
4991 ac_have_decl=0 5051 ac_have_decl=0
@@ -4995,7 +5055,7 @@ cat >>confdefs.h <<_ACEOF
4995#define HAVE_DECL_CLEARERR_UNLOCKED $ac_have_decl 5055#define HAVE_DECL_CLEARERR_UNLOCKED $ac_have_decl
4996_ACEOF 5056_ACEOF
4997ac_fn_c_check_decl "$LINENO" "feof_unlocked" "ac_cv_have_decl_feof_unlocked" "$ac_includes_default" 5057ac_fn_c_check_decl "$LINENO" "feof_unlocked" "ac_cv_have_decl_feof_unlocked" "$ac_includes_default"
4998if test "x$ac_cv_have_decl_feof_unlocked" = x""yes; then : 5058if test "x$ac_cv_have_decl_feof_unlocked" = xyes; then :
4999 ac_have_decl=1 5059 ac_have_decl=1
5000else 5060else
5001 ac_have_decl=0 5061 ac_have_decl=0
@@ -5005,7 +5065,7 @@ cat >>confdefs.h <<_ACEOF
5005#define HAVE_DECL_FEOF_UNLOCKED $ac_have_decl 5065#define HAVE_DECL_FEOF_UNLOCKED $ac_have_decl
5006_ACEOF 5066_ACEOF
5007ac_fn_c_check_decl "$LINENO" "ferror_unlocked" "ac_cv_have_decl_ferror_unlocked" "$ac_includes_default" 5067ac_fn_c_check_decl "$LINENO" "ferror_unlocked" "ac_cv_have_decl_ferror_unlocked" "$ac_includes_default"
5008if test "x$ac_cv_have_decl_ferror_unlocked" = x""yes; then : 5068if test "x$ac_cv_have_decl_ferror_unlocked" = xyes; then :
5009 ac_have_decl=1 5069 ac_have_decl=1
5010else 5070else
5011 ac_have_decl=0 5071 ac_have_decl=0
@@ -5015,7 +5075,7 @@ cat >>confdefs.h <<_ACEOF
5015#define HAVE_DECL_FERROR_UNLOCKED $ac_have_decl 5075#define HAVE_DECL_FERROR_UNLOCKED $ac_have_decl
5016_ACEOF 5076_ACEOF
5017ac_fn_c_check_decl "$LINENO" "fflush_unlocked" "ac_cv_have_decl_fflush_unlocked" "$ac_includes_default" 5077ac_fn_c_check_decl "$LINENO" "fflush_unlocked" "ac_cv_have_decl_fflush_unlocked" "$ac_includes_default"
5018if test "x$ac_cv_have_decl_fflush_unlocked" = x""yes; then : 5078if test "x$ac_cv_have_decl_fflush_unlocked" = xyes; then :
5019 ac_have_decl=1 5079 ac_have_decl=1
5020else 5080else
5021 ac_have_decl=0 5081 ac_have_decl=0
@@ -5025,7 +5085,7 @@ cat >>confdefs.h <<_ACEOF
5025#define HAVE_DECL_FFLUSH_UNLOCKED $ac_have_decl 5085#define HAVE_DECL_FFLUSH_UNLOCKED $ac_have_decl
5026_ACEOF 5086_ACEOF
5027ac_fn_c_check_decl "$LINENO" "fgetc_unlocked" "ac_cv_have_decl_fgetc_unlocked" "$ac_includes_default" 5087ac_fn_c_check_decl "$LINENO" "fgetc_unlocked" "ac_cv_have_decl_fgetc_unlocked" "$ac_includes_default"
5028if test "x$ac_cv_have_decl_fgetc_unlocked" = x""yes; then : 5088if test "x$ac_cv_have_decl_fgetc_unlocked" = xyes; then :
5029 ac_have_decl=1 5089 ac_have_decl=1
5030else 5090else
5031 ac_have_decl=0 5091 ac_have_decl=0
@@ -5035,7 +5095,7 @@ cat >>confdefs.h <<_ACEOF
5035#define HAVE_DECL_FGETC_UNLOCKED $ac_have_decl 5095#define HAVE_DECL_FGETC_UNLOCKED $ac_have_decl
5036_ACEOF 5096_ACEOF
5037ac_fn_c_check_decl "$LINENO" "fgets_unlocked" "ac_cv_have_decl_fgets_unlocked" "$ac_includes_default" 5097ac_fn_c_check_decl "$LINENO" "fgets_unlocked" "ac_cv_have_decl_fgets_unlocked" "$ac_includes_default"
5038if test "x$ac_cv_have_decl_fgets_unlocked" = x""yes; then : 5098if test "x$ac_cv_have_decl_fgets_unlocked" = xyes; then :
5039 ac_have_decl=1 5099 ac_have_decl=1
5040else 5100else
5041 ac_have_decl=0 5101 ac_have_decl=0
@@ -5045,7 +5105,7 @@ cat >>confdefs.h <<_ACEOF
5045#define HAVE_DECL_FGETS_UNLOCKED $ac_have_decl 5105#define HAVE_DECL_FGETS_UNLOCKED $ac_have_decl
5046_ACEOF 5106_ACEOF
5047ac_fn_c_check_decl "$LINENO" "fileno_unlocked" "ac_cv_have_decl_fileno_unlocked" "$ac_includes_default" 5107ac_fn_c_check_decl "$LINENO" "fileno_unlocked" "ac_cv_have_decl_fileno_unlocked" "$ac_includes_default"
5048if test "x$ac_cv_have_decl_fileno_unlocked" = x""yes; then : 5108if test "x$ac_cv_have_decl_fileno_unlocked" = xyes; then :
5049 ac_have_decl=1 5109 ac_have_decl=1
5050else 5110else
5051 ac_have_decl=0 5111 ac_have_decl=0
@@ -5055,7 +5115,7 @@ cat >>confdefs.h <<_ACEOF
5055#define HAVE_DECL_FILENO_UNLOCKED $ac_have_decl 5115#define HAVE_DECL_FILENO_UNLOCKED $ac_have_decl
5056_ACEOF 5116_ACEOF
5057ac_fn_c_check_decl "$LINENO" "fprintf_unlocked" "ac_cv_have_decl_fprintf_unlocked" "$ac_includes_default" 5117ac_fn_c_check_decl "$LINENO" "fprintf_unlocked" "ac_cv_have_decl_fprintf_unlocked" "$ac_includes_default"
5058if test "x$ac_cv_have_decl_fprintf_unlocked" = x""yes; then : 5118if test "x$ac_cv_have_decl_fprintf_unlocked" = xyes; then :
5059 ac_have_decl=1 5119 ac_have_decl=1
5060else 5120else
5061 ac_have_decl=0 5121 ac_have_decl=0
@@ -5065,7 +5125,7 @@ cat >>confdefs.h <<_ACEOF
5065#define HAVE_DECL_FPRINTF_UNLOCKED $ac_have_decl 5125#define HAVE_DECL_FPRINTF_UNLOCKED $ac_have_decl
5066_ACEOF 5126_ACEOF
5067ac_fn_c_check_decl "$LINENO" "fputc_unlocked" "ac_cv_have_decl_fputc_unlocked" "$ac_includes_default" 5127ac_fn_c_check_decl "$LINENO" "fputc_unlocked" "ac_cv_have_decl_fputc_unlocked" "$ac_includes_default"
5068if test "x$ac_cv_have_decl_fputc_unlocked" = x""yes; then : 5128if test "x$ac_cv_have_decl_fputc_unlocked" = xyes; then :
5069 ac_have_decl=1 5129 ac_have_decl=1
5070else 5130else
5071 ac_have_decl=0 5131 ac_have_decl=0
@@ -5075,7 +5135,7 @@ cat >>confdefs.h <<_ACEOF
5075#define HAVE_DECL_FPUTC_UNLOCKED $ac_have_decl 5135#define HAVE_DECL_FPUTC_UNLOCKED $ac_have_decl
5076_ACEOF 5136_ACEOF
5077ac_fn_c_check_decl "$LINENO" "fputs_unlocked" "ac_cv_have_decl_fputs_unlocked" "$ac_includes_default" 5137ac_fn_c_check_decl "$LINENO" "fputs_unlocked" "ac_cv_have_decl_fputs_unlocked" "$ac_includes_default"
5078if test "x$ac_cv_have_decl_fputs_unlocked" = x""yes; then : 5138if test "x$ac_cv_have_decl_fputs_unlocked" = xyes; then :
5079 ac_have_decl=1 5139 ac_have_decl=1
5080else 5140else
5081 ac_have_decl=0 5141 ac_have_decl=0
@@ -5085,7 +5145,7 @@ cat >>confdefs.h <<_ACEOF
5085#define HAVE_DECL_FPUTS_UNLOCKED $ac_have_decl 5145#define HAVE_DECL_FPUTS_UNLOCKED $ac_have_decl
5086_ACEOF 5146_ACEOF
5087ac_fn_c_check_decl "$LINENO" "fread_unlocked" "ac_cv_have_decl_fread_unlocked" "$ac_includes_default" 5147ac_fn_c_check_decl "$LINENO" "fread_unlocked" "ac_cv_have_decl_fread_unlocked" "$ac_includes_default"
5088if test "x$ac_cv_have_decl_fread_unlocked" = x""yes; then : 5148if test "x$ac_cv_have_decl_fread_unlocked" = xyes; then :
5089 ac_have_decl=1 5149 ac_have_decl=1
5090else 5150else
5091 ac_have_decl=0 5151 ac_have_decl=0
@@ -5095,7 +5155,7 @@ cat >>confdefs.h <<_ACEOF
5095#define HAVE_DECL_FREAD_UNLOCKED $ac_have_decl 5155#define HAVE_DECL_FREAD_UNLOCKED $ac_have_decl
5096_ACEOF 5156_ACEOF
5097ac_fn_c_check_decl "$LINENO" "fwrite_unlocked" "ac_cv_have_decl_fwrite_unlocked" "$ac_includes_default" 5157ac_fn_c_check_decl "$LINENO" "fwrite_unlocked" "ac_cv_have_decl_fwrite_unlocked" "$ac_includes_default"
5098if test "x$ac_cv_have_decl_fwrite_unlocked" = x""yes; then : 5158if test "x$ac_cv_have_decl_fwrite_unlocked" = xyes; then :
5099 ac_have_decl=1 5159 ac_have_decl=1
5100else 5160else
5101 ac_have_decl=0 5161 ac_have_decl=0
@@ -5105,7 +5165,7 @@ cat >>confdefs.h <<_ACEOF
5105#define HAVE_DECL_FWRITE_UNLOCKED $ac_have_decl 5165#define HAVE_DECL_FWRITE_UNLOCKED $ac_have_decl
5106_ACEOF 5166_ACEOF
5107ac_fn_c_check_decl "$LINENO" "getchar_unlocked" "ac_cv_have_decl_getchar_unlocked" "$ac_includes_default" 5167ac_fn_c_check_decl "$LINENO" "getchar_unlocked" "ac_cv_have_decl_getchar_unlocked" "$ac_includes_default"
5108if test "x$ac_cv_have_decl_getchar_unlocked" = x""yes; then : 5168if test "x$ac_cv_have_decl_getchar_unlocked" = xyes; then :
5109 ac_have_decl=1 5169 ac_have_decl=1
5110else 5170else
5111 ac_have_decl=0 5171 ac_have_decl=0
@@ -5115,7 +5175,7 @@ cat >>confdefs.h <<_ACEOF
5115#define HAVE_DECL_GETCHAR_UNLOCKED $ac_have_decl 5175#define HAVE_DECL_GETCHAR_UNLOCKED $ac_have_decl
5116_ACEOF 5176_ACEOF
5117ac_fn_c_check_decl "$LINENO" "getc_unlocked" "ac_cv_have_decl_getc_unlocked" "$ac_includes_default" 5177ac_fn_c_check_decl "$LINENO" "getc_unlocked" "ac_cv_have_decl_getc_unlocked" "$ac_includes_default"
5118if test "x$ac_cv_have_decl_getc_unlocked" = x""yes; then : 5178if test "x$ac_cv_have_decl_getc_unlocked" = xyes; then :
5119 ac_have_decl=1 5179 ac_have_decl=1
5120else 5180else
5121 ac_have_decl=0 5181 ac_have_decl=0
@@ -5125,7 +5185,7 @@ cat >>confdefs.h <<_ACEOF
5125#define HAVE_DECL_GETC_UNLOCKED $ac_have_decl 5185#define HAVE_DECL_GETC_UNLOCKED $ac_have_decl
5126_ACEOF 5186_ACEOF
5127ac_fn_c_check_decl "$LINENO" "putchar_unlocked" "ac_cv_have_decl_putchar_unlocked" "$ac_includes_default" 5187ac_fn_c_check_decl "$LINENO" "putchar_unlocked" "ac_cv_have_decl_putchar_unlocked" "$ac_includes_default"
5128if test "x$ac_cv_have_decl_putchar_unlocked" = x""yes; then : 5188if test "x$ac_cv_have_decl_putchar_unlocked" = xyes; then :
5129 ac_have_decl=1 5189 ac_have_decl=1
5130else 5190else
5131 ac_have_decl=0 5191 ac_have_decl=0
@@ -5135,7 +5195,7 @@ cat >>confdefs.h <<_ACEOF
5135#define HAVE_DECL_PUTCHAR_UNLOCKED $ac_have_decl 5195#define HAVE_DECL_PUTCHAR_UNLOCKED $ac_have_decl
5136_ACEOF 5196_ACEOF
5137ac_fn_c_check_decl "$LINENO" "putc_unlocked" "ac_cv_have_decl_putc_unlocked" "$ac_includes_default" 5197ac_fn_c_check_decl "$LINENO" "putc_unlocked" "ac_cv_have_decl_putc_unlocked" "$ac_includes_default"
5138if test "x$ac_cv_have_decl_putc_unlocked" = x""yes; then : 5198if test "x$ac_cv_have_decl_putc_unlocked" = xyes; then :
5139 ac_have_decl=1 5199 ac_have_decl=1
5140else 5200else
5141 ac_have_decl=0 5201 ac_have_decl=0
@@ -5149,7 +5209,7 @@ _ACEOF
5149# Checks for typedefs, structures, and compiler characteristics. 5209# Checks for typedefs, structures, and compiler characteristics.
5150{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 5210{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
5151$as_echo_n "checking for an ANSI C-conforming const... " >&6; } 5211$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
5152if test "${ac_cv_c_const+set}" = set; then : 5212if ${ac_cv_c_const+:} false; then :
5153 $as_echo_n "(cached) " >&6 5213 $as_echo_n "(cached) " >&6
5154else 5214else
5155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -5158,11 +5218,11 @@ else
5158int 5218int
5159main () 5219main ()
5160{ 5220{
5161/* FIXME: Include the comments suggested by Paul. */ 5221
5162#ifndef __cplusplus 5222#ifndef __cplusplus
5163 /* Ultrix mips cc rejects this. */ 5223 /* Ultrix mips cc rejects this sort of thing. */
5164 typedef int charset[2]; 5224 typedef int charset[2];
5165 const charset cs; 5225 const charset cs = { 0, 0 };
5166 /* SunOS 4.1.1 cc rejects this. */ 5226 /* SunOS 4.1.1 cc rejects this. */
5167 char const *const *pcpcc; 5227 char const *const *pcpcc;
5168 char **ppc; 5228 char **ppc;
@@ -5179,8 +5239,9 @@ main ()
5179 ++pcpcc; 5239 ++pcpcc;
5180 ppc = (char**) pcpcc; 5240 ppc = (char**) pcpcc;
5181 pcpcc = (char const *const *) ppc; 5241 pcpcc = (char const *const *) ppc;
5182 { /* SCO 3.2v4 cc rejects this. */ 5242 { /* SCO 3.2v4 cc rejects this sort of thing. */
5183 char *t; 5243 char tx;
5244 char *t = &tx;
5184 char const *s = 0 ? (char *) 0 : (char const *) 0; 5245 char const *s = 0 ? (char *) 0 : (char const *) 0;
5185 5246
5186 *t++ = 0; 5247 *t++ = 0;
@@ -5196,10 +5257,10 @@ main ()
5196 iptr p = 0; 5257 iptr p = 0;
5197 ++p; 5258 ++p;
5198 } 5259 }
5199 { /* AIX XL C 1.02.0.0 rejects this saying 5260 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
5200 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ 5261 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5201 struct s { int j; const int *ap[3]; }; 5262 struct s { int j; const int *ap[3]; } bx;
5202 struct s *b; b->j = 5; 5263 struct s *b = &bx; b->j = 5;
5203 } 5264 }
5204 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 5265 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5205 const int foo = 10; 5266 const int foo = 10;
@@ -5231,7 +5292,7 @@ fi
5231# Checks for library functions. 5292# Checks for library functions.
5232 5293
5233ac_fn_c_check_header_mongrel "$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default" 5294ac_fn_c_check_header_mongrel "$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"
5234if test "x$ac_cv_header_sys_mman_h" = x""yes; then : 5295if test "x$ac_cv_header_sys_mman_h" = xyes; then :
5235 gcc_header_sys_mman_h=yes 5296 gcc_header_sys_mman_h=yes
5236else 5297else
5237 gcc_header_sys_mman_h=no 5298 gcc_header_sys_mman_h=no
@@ -5239,7 +5300,7 @@ fi
5239 5300
5240 5301
5241ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap" 5302ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap"
5242if test "x$ac_cv_func_mmap" = x""yes; then : 5303if test "x$ac_cv_func_mmap" = xyes; then :
5243 gcc_func_mmap=yes 5304 gcc_func_mmap=yes
5244else 5305else
5245 gcc_func_mmap=no 5306 gcc_func_mmap=no
@@ -5253,7 +5314,7 @@ if test "$gcc_header_sys_mman_h" != yes \
5253else 5314else
5254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether read-only mmap of a plain file works" >&5 5315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether read-only mmap of a plain file works" >&5
5255$as_echo_n "checking whether read-only mmap of a plain file works... " >&6; } 5316$as_echo_n "checking whether read-only mmap of a plain file works... " >&6; }
5256if test "${gcc_cv_func_mmap_file+set}" = set; then : 5317if ${gcc_cv_func_mmap_file+:} false; then :
5257 $as_echo_n "(cached) " >&6 5318 $as_echo_n "(cached) " >&6
5258else 5319else
5259 # Add a system to this blacklist if 5320 # Add a system to this blacklist if
@@ -5272,7 +5333,7 @@ fi
5272$as_echo "$gcc_cv_func_mmap_file" >&6; } 5333$as_echo "$gcc_cv_func_mmap_file" >&6; }
5273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mmap from /dev/zero works" >&5 5334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mmap from /dev/zero works" >&5
5274$as_echo_n "checking whether mmap from /dev/zero works... " >&6; } 5335$as_echo_n "checking whether mmap from /dev/zero works... " >&6; }
5275if test "${gcc_cv_func_mmap_dev_zero+set}" = set; then : 5336if ${gcc_cv_func_mmap_dev_zero+:} false; then :
5276 $as_echo_n "(cached) " >&6 5337 $as_echo_n "(cached) " >&6
5277else 5338else
5278 # Add a system to this blacklist if it has mmap() but /dev/zero 5339 # Add a system to this blacklist if it has mmap() but /dev/zero
@@ -5298,7 +5359,7 @@ $as_echo "$gcc_cv_func_mmap_dev_zero" >&6; }
5298 # Unlike /dev/zero, the MAP_ANON(YMOUS) defines can be probed for. 5359 # Unlike /dev/zero, the MAP_ANON(YMOUS) defines can be probed for.
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAP_ANON(YMOUS)" >&5 5360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAP_ANON(YMOUS)" >&5
5300$as_echo_n "checking for MAP_ANON(YMOUS)... " >&6; } 5361$as_echo_n "checking for MAP_ANON(YMOUS)... " >&6; }
5301if test "${gcc_cv_decl_map_anon+set}" = set; then : 5362if ${gcc_cv_decl_map_anon+:} false; then :
5302 $as_echo_n "(cached) " >&6 5363 $as_echo_n "(cached) " >&6
5303else 5364else
5304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -5334,7 +5395,7 @@ $as_echo "$gcc_cv_decl_map_anon" >&6; }
5334 else 5395 else
5335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mmap with MAP_ANON(YMOUS) works" >&5 5396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mmap with MAP_ANON(YMOUS) works" >&5
5336$as_echo_n "checking whether mmap with MAP_ANON(YMOUS) works... " >&6; } 5397$as_echo_n "checking whether mmap with MAP_ANON(YMOUS) works... " >&6; }
5337if test "${gcc_cv_func_mmap_anon+set}" = set; then : 5398if ${gcc_cv_func_mmap_anon+:} false; then :
5338 $as_echo_n "(cached) " >&6 5399 $as_echo_n "(cached) " >&6
5339else 5400else
5340 # Add a system to this blacklist if it has mmap() and MAP_ANON or 5401 # Add a system to this blacklist if it has mmap() and MAP_ANON or
@@ -5477,10 +5538,21 @@ $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5477 :end' >>confcache 5538 :end' >>confcache
5478if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 5539if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5479 if test -w "$cache_file"; then 5540 if test -w "$cache_file"; then
5480 test "x$cache_file" != "x/dev/null" && 5541 if test "x$cache_file" != "x/dev/null"; then
5481 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 5542 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5482$as_echo "$as_me: updating cache $cache_file" >&6;} 5543$as_echo "$as_me: updating cache $cache_file" >&6;}
5483 cat confcache >$cache_file 5544 if test ! -f "$cache_file" || test -h "$cache_file"; then
5545 cat confcache >"$cache_file"
5546 else
5547 case $cache_file in #(
5548 */* | ?:*)
5549 mv -f confcache "$cache_file"$$ &&
5550 mv -f "$cache_file"$$ "$cache_file" ;; #(
5551 *)
5552 mv -f confcache "$cache_file" ;;
5553 esac
5554 fi
5555 fi
5484 else 5556 else
5485 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 5557 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5486$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 5558$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
@@ -5496,6 +5568,7 @@ DEFS=-DHAVE_CONFIG_H
5496 5568
5497ac_libobjs= 5569ac_libobjs=
5498ac_ltlibobjs= 5570ac_ltlibobjs=
5571U=
5499for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 5572for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5500 # 1. Remove the extension, and $U if already installed. 5573 # 1. Remove the extension, and $U if already installed.
5501 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 5574 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
@@ -5511,7 +5584,7 @@ LTLIBOBJS=$ac_ltlibobjs
5511 5584
5512 5585
5513 5586
5514: ${CONFIG_STATUS=./config.status} 5587: "${CONFIG_STATUS=./config.status}"
5515ac_write_fail=0 5588ac_write_fail=0
5516ac_clean_files_save=$ac_clean_files 5589ac_clean_files_save=$ac_clean_files
5517ac_clean_files="$ac_clean_files $CONFIG_STATUS" 5590ac_clean_files="$ac_clean_files $CONFIG_STATUS"
@@ -5612,6 +5685,7 @@ fi
5612IFS=" "" $as_nl" 5685IFS=" "" $as_nl"
5613 5686
5614# Find who we are. Look in the path if we contain no directory separator. 5687# Find who we are. Look in the path if we contain no directory separator.
5688as_myself=
5615case $0 in #(( 5689case $0 in #((
5616 *[\\/]* ) as_myself=$0 ;; 5690 *[\\/]* ) as_myself=$0 ;;
5617 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5691 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -5657,19 +5731,19 @@ export LANGUAGE
5657(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 5731(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5658 5732
5659 5733
5660# as_fn_error ERROR [LINENO LOG_FD] 5734# as_fn_error STATUS ERROR [LINENO LOG_FD]
5661# --------------------------------- 5735# ----------------------------------------
5662# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 5736# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5663# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 5737# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5664# script with status $?, using 1 if that was 0. 5738# script with STATUS, using 1 if that was 0.
5665as_fn_error () 5739as_fn_error ()
5666{ 5740{
5667 as_status=$?; test $as_status -eq 0 && as_status=1 5741 as_status=$1; test $as_status -eq 0 && as_status=1
5668 if test "$3"; then 5742 if test "$4"; then
5669 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 5743 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5670 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 5744 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5671 fi 5745 fi
5672 $as_echo "$as_me: error: $1" >&2 5746 $as_echo "$as_me: error: $2" >&2
5673 as_fn_exit $as_status 5747 as_fn_exit $as_status
5674} # as_fn_error 5748} # as_fn_error
5675 5749
@@ -5807,16 +5881,16 @@ if (echo >conf$$.file) 2>/dev/null; then
5807 # ... but there are two gotchas: 5881 # ... but there are two gotchas:
5808 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 5882 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5809 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 5883 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5810 # In both cases, we have to default to `cp -p'. 5884 # In both cases, we have to default to `cp -pR'.
5811 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 5885 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5812 as_ln_s='cp -p' 5886 as_ln_s='cp -pR'
5813 elif ln conf$$.file conf$$ 2>/dev/null; then 5887 elif ln conf$$.file conf$$ 2>/dev/null; then
5814 as_ln_s=ln 5888 as_ln_s=ln
5815 else 5889 else
5816 as_ln_s='cp -p' 5890 as_ln_s='cp -pR'
5817 fi 5891 fi
5818else 5892else
5819 as_ln_s='cp -p' 5893 as_ln_s='cp -pR'
5820fi 5894fi
5821rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 5895rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5822rmdir conf$$.dir 2>/dev/null 5896rmdir conf$$.dir 2>/dev/null
@@ -5865,7 +5939,7 @@ $as_echo X"$as_dir" |
5865 test -d "$as_dir" && break 5939 test -d "$as_dir" && break
5866 done 5940 done
5867 test -z "$as_dirs" || eval "mkdir $as_dirs" 5941 test -z "$as_dirs" || eval "mkdir $as_dirs"
5868 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 5942 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5869 5943
5870 5944
5871} # as_fn_mkdir_p 5945} # as_fn_mkdir_p
@@ -5876,28 +5950,16 @@ else
5876 as_mkdir_p=false 5950 as_mkdir_p=false
5877fi 5951fi
5878 5952
5879if test -x / >/dev/null 2>&1; then 5953
5880 as_test_x='test -x' 5954# as_fn_executable_p FILE
5881else 5955# -----------------------
5882 if ls -dL / >/dev/null 2>&1; then 5956# Test if FILE is an executable regular file.
5883 as_ls_L_option=L 5957as_fn_executable_p ()
5884 else 5958{
5885 as_ls_L_option= 5959 test -f "$1" && test -x "$1"
5886 fi 5960} # as_fn_executable_p
5887 as_test_x=' 5961as_test_x='test -x'
5888 eval sh -c '\'' 5962as_executable_p=as_fn_executable_p
5889 if test -d "$1"; then
5890 test -d "$1/.";
5891 else
5892 case $1 in #(
5893 -*)set "./$1";;
5894 esac;
5895 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5896 ???[sx]*):;;*)false;;esac;fi
5897 '\'' sh
5898 '
5899fi
5900as_executable_p=$as_test_x
5901 5963
5902# Sed expression to map a string onto a valid CPP name. 5964# Sed expression to map a string onto a valid CPP name.
5903as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 5965as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
@@ -5919,7 +5981,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5919# values after options handling. 5981# values after options handling.
5920ac_log=" 5982ac_log="
5921This file was extended by fixincludes $as_me , which was 5983This file was extended by fixincludes $as_me , which was
5922generated by GNU Autoconf 2.64. Invocation command line was 5984generated by GNU Autoconf 2.69. Invocation command line was
5923 5985
5924 CONFIG_FILES = $CONFIG_FILES 5986 CONFIG_FILES = $CONFIG_FILES
5925 CONFIG_HEADERS = $CONFIG_HEADERS 5987 CONFIG_HEADERS = $CONFIG_HEADERS
@@ -5958,6 +6020,7 @@ Usage: $0 [OPTION]... [TAG]...
5958 6020
5959 -h, --help print this help, then exit 6021 -h, --help print this help, then exit
5960 -V, --version print version number and configuration settings, then exit 6022 -V, --version print version number and configuration settings, then exit
6023 --config print configuration, then exit
5961 -q, --quiet, --silent 6024 -q, --quiet, --silent
5962 do not print progress messages 6025 do not print progress messages
5963 -d, --debug don't remove temporary files 6026 -d, --debug don't remove temporary files
@@ -5977,12 +6040,13 @@ Report bugs to the package provider."
5977 6040
5978_ACEOF 6041_ACEOF
5979cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6042cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6043ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5980ac_cs_version="\\ 6044ac_cs_version="\\
5981fixincludes config.status 6045fixincludes config.status
5982configured by $0, generated by GNU Autoconf 2.64, 6046configured by $0, generated by GNU Autoconf 2.69,
5983 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 6047 with options \\"\$ac_cs_config\\"
5984 6048
5985Copyright (C) 2009 Free Software Foundation, Inc. 6049Copyright (C) 2012 Free Software Foundation, Inc.
5986This config.status script is free software; the Free Software Foundation 6050This config.status script is free software; the Free Software Foundation
5987gives unlimited permission to copy, distribute and modify it." 6051gives unlimited permission to copy, distribute and modify it."
5988 6052
@@ -5997,11 +6061,16 @@ ac_need_defaults=:
5997while test $# != 0 6061while test $# != 0
5998do 6062do
5999 case $1 in 6063 case $1 in
6000 --*=*) 6064 --*=?*)
6001 ac_option=`expr "X$1" : 'X\([^=]*\)='` 6065 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6002 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 6066 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6003 ac_shift=: 6067 ac_shift=:
6004 ;; 6068 ;;
6069 --*=)
6070 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6071 ac_optarg=
6072 ac_shift=:
6073 ;;
6005 *) 6074 *)
6006 ac_option=$1 6075 ac_option=$1
6007 ac_optarg=$2 6076 ac_optarg=$2
@@ -6015,12 +6084,15 @@ do
6015 ac_cs_recheck=: ;; 6084 ac_cs_recheck=: ;;
6016 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 6085 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6017 $as_echo "$ac_cs_version"; exit ;; 6086 $as_echo "$ac_cs_version"; exit ;;
6087 --config | --confi | --conf | --con | --co | --c )
6088 $as_echo "$ac_cs_config"; exit ;;
6018 --debug | --debu | --deb | --de | --d | -d ) 6089 --debug | --debu | --deb | --de | --d | -d )
6019 debug=: ;; 6090 debug=: ;;
6020 --file | --fil | --fi | --f ) 6091 --file | --fil | --fi | --f )
6021 $ac_shift 6092 $ac_shift
6022 case $ac_optarg in 6093 case $ac_optarg in
6023 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 6094 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6095 '') as_fn_error $? "missing file argument" ;;
6024 esac 6096 esac
6025 as_fn_append CONFIG_FILES " '$ac_optarg'" 6097 as_fn_append CONFIG_FILES " '$ac_optarg'"
6026 ac_need_defaults=false;; 6098 ac_need_defaults=false;;
@@ -6033,7 +6105,7 @@ do
6033 ac_need_defaults=false;; 6105 ac_need_defaults=false;;
6034 --he | --h) 6106 --he | --h)
6035 # Conflict between --help and --header 6107 # Conflict between --help and --header
6036 as_fn_error "ambiguous option: \`$1' 6108 as_fn_error $? "ambiguous option: \`$1'
6037Try \`$0 --help' for more information.";; 6109Try \`$0 --help' for more information.";;
6038 --help | --hel | -h ) 6110 --help | --hel | -h )
6039 $as_echo "$ac_cs_usage"; exit ;; 6111 $as_echo "$ac_cs_usage"; exit ;;
@@ -6042,7 +6114,7 @@ Try \`$0 --help' for more information.";;
6042 ac_cs_silent=: ;; 6114 ac_cs_silent=: ;;
6043 6115
6044 # This is an error. 6116 # This is an error.
6045 -*) as_fn_error "unrecognized option: \`$1' 6117 -*) as_fn_error $? "unrecognized option: \`$1'
6046Try \`$0 --help' for more information." ;; 6118Try \`$0 --help' for more information." ;;
6047 6119
6048 *) as_fn_append ac_config_targets " $1" 6120 *) as_fn_append ac_config_targets " $1"
@@ -6062,7 +6134,7 @@ fi
6062_ACEOF 6134_ACEOF
6063cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6135cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6064if \$ac_cs_recheck; then 6136if \$ac_cs_recheck; then
6065 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 6137 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6066 shift 6138 shift
6067 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 6139 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6068 CONFIG_SHELL='$SHELL' 6140 CONFIG_SHELL='$SHELL'
@@ -6095,7 +6167,7 @@ do
6095 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 6167 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6096 "mkheaders.almost") CONFIG_FILES="$CONFIG_FILES mkheaders.almost:mkheaders.in" ;; 6168 "mkheaders.almost") CONFIG_FILES="$CONFIG_FILES mkheaders.almost:mkheaders.in" ;;
6097 6169
6098 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 6170 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6099 esac 6171 esac
6100done 6172done
6101 6173
@@ -6117,9 +6189,10 @@ fi
6117# after its creation but before its name has been assigned to `$tmp'. 6189# after its creation but before its name has been assigned to `$tmp'.
6118$debug || 6190$debug ||
6119{ 6191{
6120 tmp= 6192 tmp= ac_tmp=
6121 trap 'exit_status=$? 6193 trap 'exit_status=$?
6122 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 6194 : "${ac_tmp:=$tmp}"
6195 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
6123' 0 6196' 0
6124 trap 'as_fn_exit 1' 1 2 13 15 6197 trap 'as_fn_exit 1' 1 2 13 15
6125} 6198}
@@ -6127,12 +6200,13 @@ $debug ||
6127 6200
6128{ 6201{
6129 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 6202 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6130 test -n "$tmp" && test -d "$tmp" 6203 test -d "$tmp"
6131} || 6204} ||
6132{ 6205{
6133 tmp=./conf$$-$RANDOM 6206 tmp=./conf$$-$RANDOM
6134 (umask 077 && mkdir "$tmp") 6207 (umask 077 && mkdir "$tmp")
6135} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 6208} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
6209ac_tmp=$tmp
6136 6210
6137# Set up the scripts for CONFIG_FILES section. 6211# Set up the scripts for CONFIG_FILES section.
6138# No need to generate them if there are no CONFIG_FILES. 6212# No need to generate them if there are no CONFIG_FILES.
@@ -6149,12 +6223,12 @@ if test "x$ac_cr" = x; then
6149fi 6223fi
6150ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 6224ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6151if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 6225if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6152 ac_cs_awk_cr='\r' 6226 ac_cs_awk_cr='\\r'
6153else 6227else
6154 ac_cs_awk_cr=$ac_cr 6228 ac_cs_awk_cr=$ac_cr
6155fi 6229fi
6156 6230
6157echo 'BEGIN {' >"$tmp/subs1.awk" && 6231echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6158_ACEOF 6232_ACEOF
6159 6233
6160 6234
@@ -6163,18 +6237,18 @@ _ACEOF
6163 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 6237 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6164 echo "_ACEOF" 6238 echo "_ACEOF"
6165} >conf$$subs.sh || 6239} >conf$$subs.sh ||
6166 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 6240 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6167ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 6241ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6168ac_delim='%!_!# ' 6242ac_delim='%!_!# '
6169for ac_last_try in false false false false false :; do 6243for ac_last_try in false false false false false :; do
6170 . ./conf$$subs.sh || 6244 . ./conf$$subs.sh ||
6171 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 6245 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6172 6246
6173 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 6247 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6174 if test $ac_delim_n = $ac_delim_num; then 6248 if test $ac_delim_n = $ac_delim_num; then
6175 break 6249 break
6176 elif $ac_last_try; then 6250 elif $ac_last_try; then
6177 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 6251 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6178 else 6252 else
6179 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 6253 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6180 fi 6254 fi
@@ -6182,7 +6256,7 @@ done
6182rm -f conf$$subs.sh 6256rm -f conf$$subs.sh
6183 6257
6184cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6258cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6185cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 6259cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
6186_ACEOF 6260_ACEOF
6187sed -n ' 6261sed -n '
6188h 6262h
@@ -6196,7 +6270,7 @@ s/'"$ac_delim"'$//
6196t delim 6270t delim
6197:nl 6271:nl
6198h 6272h
6199s/\(.\{148\}\).*/\1/ 6273s/\(.\{148\}\)..*/\1/
6200t more1 6274t more1
6201s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 6275s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6202p 6276p
@@ -6210,7 +6284,7 @@ s/.\{148\}//
6210t nl 6284t nl
6211:delim 6285:delim
6212h 6286h
6213s/\(.\{148\}\).*/\1/ 6287s/\(.\{148\}\)..*/\1/
6214t more2 6288t more2
6215s/["\\]/\\&/g; s/^/"/; s/$/"/ 6289s/["\\]/\\&/g; s/^/"/; s/$/"/
6216p 6290p
@@ -6230,7 +6304,7 @@ t delim
6230rm -f conf$$subs.awk 6304rm -f conf$$subs.awk
6231cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6305cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6232_ACAWK 6306_ACAWK
6233cat >>"\$tmp/subs1.awk" <<_ACAWK && 6307cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
6234 for (key in S) S_is_set[key] = 1 6308 for (key in S) S_is_set[key] = 1
6235 FS = "" 6309 FS = ""
6236 6310
@@ -6262,21 +6336,29 @@ if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6262 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 6336 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6263else 6337else
6264 cat 6338 cat
6265fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 6339fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
6266 || as_fn_error "could not setup config files machinery" "$LINENO" 5 6340 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
6267_ACEOF 6341_ACEOF
6268 6342
6269# VPATH may cause trouble with some makes, so we remove $(srcdir), 6343# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6270# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 6344# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
6271# trailing colons and then remove the whole line if VPATH becomes empty 6345# trailing colons and then remove the whole line if VPATH becomes empty
6272# (actually we leave an empty line to preserve line numbers). 6346# (actually we leave an empty line to preserve line numbers).
6273if test "x$srcdir" = x.; then 6347if test "x$srcdir" = x.; then
6274 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 6348 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6275s/:*\$(srcdir):*/:/ 6349h
6276s/:*\${srcdir}:*/:/ 6350s///
6277s/:*@srcdir@:*/:/ 6351s/^/:/
6278s/^\([^=]*=[ ]*\):*/\1/ 6352s/[ ]*$/:/
6353s/:\$(srcdir):/:/g
6354s/:\${srcdir}:/:/g
6355s/:@srcdir@:/:/g
6356s/^:*//
6279s/:*$// 6357s/:*$//
6358x
6359s/\(=[ ]*\).*/\1/
6360G
6361s/\n//
6280s/^[^=]*=[ ]*$// 6362s/^[^=]*=[ ]*$//
6281}' 6363}'
6282fi 6364fi
@@ -6288,7 +6370,7 @@ fi # test -n "$CONFIG_FILES"
6288# No need to generate them if there are no CONFIG_HEADERS. 6370# No need to generate them if there are no CONFIG_HEADERS.
6289# This happens for instance with `./config.status Makefile'. 6371# This happens for instance with `./config.status Makefile'.
6290if test -n "$CONFIG_HEADERS"; then 6372if test -n "$CONFIG_HEADERS"; then
6291cat >"$tmp/defines.awk" <<\_ACAWK || 6373cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
6292BEGIN { 6374BEGIN {
6293_ACEOF 6375_ACEOF
6294 6376
@@ -6300,11 +6382,11 @@ _ACEOF
6300# handling of long lines. 6382# handling of long lines.
6301ac_delim='%!_!# ' 6383ac_delim='%!_!# '
6302for ac_last_try in false false :; do 6384for ac_last_try in false false :; do
6303 ac_t=`sed -n "/$ac_delim/p" confdefs.h` 6385 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
6304 if test -z "$ac_t"; then 6386 if test -z "$ac_tt"; then
6305 break 6387 break
6306 elif $ac_last_try; then 6388 elif $ac_last_try; then
6307 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 6389 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
6308 else 6390 else
6309 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 6391 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6310 fi 6392 fi
@@ -6389,7 +6471,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6389_ACAWK 6471_ACAWK
6390_ACEOF 6472_ACEOF
6391cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6473cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6392 as_fn_error "could not setup config headers machinery" "$LINENO" 5 6474 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
6393fi # test -n "$CONFIG_HEADERS" 6475fi # test -n "$CONFIG_HEADERS"
6394 6476
6395 6477
@@ -6402,7 +6484,7 @@ do
6402 esac 6484 esac
6403 case $ac_mode$ac_tag in 6485 case $ac_mode$ac_tag in
6404 :[FHL]*:*);; 6486 :[FHL]*:*);;
6405 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; 6487 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
6406 :[FH]-) ac_tag=-:-;; 6488 :[FH]-) ac_tag=-:-;;
6407 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 6489 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6408 esac 6490 esac
@@ -6421,7 +6503,7 @@ do
6421 for ac_f 6503 for ac_f
6422 do 6504 do
6423 case $ac_f in 6505 case $ac_f in
6424 -) ac_f="$tmp/stdin";; 6506 -) ac_f="$ac_tmp/stdin";;
6425 *) # Look for the file first in the build tree, then in the source tree 6507 *) # Look for the file first in the build tree, then in the source tree
6426 # (if the path is not absolute). The absolute path cannot be DOS-style, 6508 # (if the path is not absolute). The absolute path cannot be DOS-style,
6427 # because $ac_f cannot contain `:'. 6509 # because $ac_f cannot contain `:'.
@@ -6430,7 +6512,7 @@ do
6430 [\\/$]*) false;; 6512 [\\/$]*) false;;
6431 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 6513 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6432 esac || 6514 esac ||
6433 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; 6515 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6434 esac 6516 esac
6435 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 6517 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6436 as_fn_append ac_file_inputs " '$ac_f'" 6518 as_fn_append ac_file_inputs " '$ac_f'"
@@ -6456,8 +6538,8 @@ $as_echo "$as_me: creating $ac_file" >&6;}
6456 esac 6538 esac
6457 6539
6458 case $ac_tag in 6540 case $ac_tag in
6459 *:-:* | *:-) cat >"$tmp/stdin" \ 6541 *:-:* | *:-) cat >"$ac_tmp/stdin" \
6460 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; 6542 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
6461 esac 6543 esac
6462 ;; 6544 ;;
6463 esac 6545 esac
@@ -6582,23 +6664,24 @@ s&@abs_builddir@&$ac_abs_builddir&;t t
6582s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 6664s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6583$ac_datarootdir_hack 6665$ac_datarootdir_hack
6584" 6666"
6585eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 6667eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
6586 || as_fn_error "could not create $ac_file" "$LINENO" 5 6668 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6587 6669
6588test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 6670test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6589 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 6671 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
6590 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 6672 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6673 "$ac_tmp/out"`; test -z "$ac_out"; } &&
6591 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 6674 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6592which seems to be undefined. Please make sure it is defined." >&5 6675which seems to be undefined. Please make sure it is defined" >&5
6593$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 6676$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6594which seems to be undefined. Please make sure it is defined." >&2;} 6677which seems to be undefined. Please make sure it is defined" >&2;}
6595 6678
6596 rm -f "$tmp/stdin" 6679 rm -f "$ac_tmp/stdin"
6597 case $ac_file in 6680 case $ac_file in
6598 -) cat "$tmp/out" && rm -f "$tmp/out";; 6681 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6599 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 6682 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6600 esac \ 6683 esac \
6601 || as_fn_error "could not create $ac_file" "$LINENO" 5 6684 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6602 ;; 6685 ;;
6603 :H) 6686 :H)
6604 # 6687 #
@@ -6607,21 +6690,21 @@ which seems to be undefined. Please make sure it is defined." >&2;}
6607 if test x"$ac_file" != x-; then 6690 if test x"$ac_file" != x-; then
6608 { 6691 {
6609 $as_echo "/* $configure_input */" \ 6692 $as_echo "/* $configure_input */" \
6610 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 6693 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
6611 } >"$tmp/config.h" \ 6694 } >"$ac_tmp/config.h" \
6612 || as_fn_error "could not create $ac_file" "$LINENO" 5 6695 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6613 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 6696 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
6614 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 6697 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6615$as_echo "$as_me: $ac_file is unchanged" >&6;} 6698$as_echo "$as_me: $ac_file is unchanged" >&6;}
6616 else 6699 else
6617 rm -f "$ac_file" 6700 rm -f "$ac_file"
6618 mv "$tmp/config.h" "$ac_file" \ 6701 mv "$ac_tmp/config.h" "$ac_file" \
6619 || as_fn_error "could not create $ac_file" "$LINENO" 5 6702 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6620 fi 6703 fi
6621 else 6704 else
6622 $as_echo "/* $configure_input */" \ 6705 $as_echo "/* $configure_input */" \
6623 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 6706 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
6624 || as_fn_error "could not create -" "$LINENO" 5 6707 || as_fn_error $? "could not create -" "$LINENO" 5
6625 fi 6708 fi
6626 ;; 6709 ;;
6627 6710
@@ -6641,7 +6724,7 @@ _ACEOF
6641ac_clean_files=$ac_clean_files_save 6724ac_clean_files=$ac_clean_files_save
6642 6725
6643test $ac_write_fail = 0 || 6726test $ac_write_fail = 0 ||
6644 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 6727 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6645 6728
6646 6729
6647# configure is writing to config.log, and then calls config.status. 6730# configure is writing to config.log, and then calls config.status.
@@ -6662,7 +6745,7 @@ if test "$no_create" != yes; then
6662 exec 5>>config.log 6745 exec 5>>config.log
6663 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 6746 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6664 # would make configure fail if this is the last instruction. 6747 # would make configure fail if this is the last instruction.
6665 $ac_cs_success || as_fn_exit $? 6748 $ac_cs_success || as_fn_exit 1
6666fi 6749fi
6667if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 6750if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6668 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 6751 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
diff --git a/fixincludes/configure.ac b/fixincludes/configure.ac
index 190f5382874..14813b910f1 100644
--- a/fixincludes/configure.ac
+++ b/fixincludes/configure.ac
@@ -1,4 +1,3 @@
1AC_PREREQ(2.64)
2 1
3AC_INIT(fixincludes, [ ]) 2AC_INIT(fixincludes, [ ])
4AC_CONFIG_SRCDIR(inclhack.def) 3AC_CONFIG_SRCDIR(inclhack.def)