FreeBSD Bugzilla – Attachment 154622 Details for
Bug 198766
[PATCH] www/links-hacked: Make EGD conditional/Fix build with LibreSSL
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
svn diff for www/links-hacked
patch-www_links-hacked (text/plain), 767.61 KB, created by
Bernard Spil
on 2015-03-21 13:15:09 UTC
(
hide
)
Description:
svn diff for www/links-hacked
Filename:
MIME Type:
Creator:
Bernard Spil
Created:
2015-03-21 13:15:09 UTC
Size:
767.61 KB
patch
obsolete
>Index: www/links-hacked/files/patch-config.h.in >=================================================================== >--- www/links-hacked/files/patch-config.h.in (revision 0) >+++ www/links-hacked/files/patch-config.h.in (working copy) >@@ -0,0 +1,22 @@ >+--- config.h.in.orig 2008-06-07 13:51:29 UTC >++++ config.h.in >+@@ -176,6 +176,9 @@ >+ /* Define to 1 if you have the `popen' function. */ >+ #undef HAVE_POPEN >+ >++/* Define if the libcrypto has RAND_egd */ >++#undef HAVE_RAND_EGD >++ >+ /* Define to 1 if you have the `resume_thread' function. */ >+ #undef HAVE_RESUME_THREAD >+ >+@@ -334,6 +337,9 @@ >+ /* Define to the one symbol short name of this package. */ >+ #undef PACKAGE_TARNAME >+ >++/* Define to the home page for this package. */ >++#undef PACKAGE_URL >++ >+ /* Define to the version of this package. */ >+ #undef PACKAGE_VERSION >+ > >Property changes on: www/links-hacked/files/patch-config.h.in >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: www/links-hacked/files/patch-configure >=================================================================== >--- www/links-hacked/files/patch-configure (revision 0) >+++ www/links-hacked/files/patch-configure (working copy) >@@ -0,0 +1,23225 @@ >+--- configure.orig 2008-06-07 13:51:15 UTC >++++ configure >+@@ -1,60 +1,81 @@ >+ #! /bin/sh >+ # Guess values for system-dependent variables and create Makefiles. >+-# Generated by GNU Autoconf 2.61. >++# Generated by GNU Autoconf 2.69. >++# >++# >++# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. >++# >+ # >+-# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, >+-# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. >+ # This configure script is free software; the Free Software Foundation >+ # gives unlimited permission to copy, distribute and modify it. >+-## --------------------- ## >+-## M4sh Initialization. ## >+-## --------------------- ## >++## -------------------- ## >++## M4sh Initialization. ## >++## -------------------- ## >+ >+ # Be more Bourne compatible >+ DUALCASE=1; export DUALCASE # for MKS sh >+-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then >++if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : >+ emulate sh >+ NULLCMD=: >+- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which >++ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which >+ # is contrary to our usage. Disable this feature. >+ alias -g '${1+"$@"}'='"$@"' >+ setopt NO_GLOB_SUBST >+ else >+- case `(set -o) 2>/dev/null` in >+- *posix*) set -o posix ;; >++ case `(set -o) 2>/dev/null` in #( >++ *posix*) : >++ set -o posix ;; #( >++ *) : >++ ;; >+ esac >+- >+ fi >+ >+ >+- >+- >+-# PATH needs CR >+-# Avoid depending upon Character Ranges. >+-as_cr_letters='abcdefghijklmnopqrstuvwxyz' >+-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' >+-as_cr_Letters=$as_cr_letters$as_cr_LETTERS >+-as_cr_digits='0123456789' >+-as_cr_alnum=$as_cr_Letters$as_cr_digits >+- >+-# The user is always right. >+-if test "${PATH_SEPARATOR+set}" != set; then >+- echo "#! /bin/sh" >conf$$.sh >+- echo "exit 0" >>conf$$.sh >+- chmod +x conf$$.sh >+- if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then >+- PATH_SEPARATOR=';' >++as_nl=' >++' >++export as_nl >++# Printing a long string crashes Solaris 7 /usr/bin/printf. >++as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' >++as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo >++as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo >++# Prefer a ksh shell builtin over an external printf program on Solaris, >++# but without wasting forks for bash or zsh. >++if test -z "$BASH_VERSION$ZSH_VERSION" \ >++ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then >++ as_echo='print -r --' >++ as_echo_n='print -rn --' >++elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then >++ as_echo='printf %s\n' >++ as_echo_n='printf %s' >++else >++ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then >++ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' >++ as_echo_n='/usr/ucb/echo -n' >+ else >+- PATH_SEPARATOR=: >++ as_echo_body='eval expr "X$1" : "X\\(.*\\)"' >++ as_echo_n_body='eval >++ arg=$1; >++ case $arg in #( >++ *"$as_nl"*) >++ expr "X$arg" : "X\\(.*\\)$as_nl"; >++ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; >++ esac; >++ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" >++ ' >++ export as_echo_n_body >++ as_echo_n='sh -c $as_echo_n_body as_echo' >+ fi >+- rm -f conf$$.sh >++ export as_echo_body >++ as_echo='sh -c $as_echo_body as_echo' >+ fi >+ >+-# Support unset when possible. >+-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then >+- as_unset=unset >+-else >+- as_unset=false >++# The user is always right. >++if test "${PATH_SEPARATOR+set}" != set; then >++ PATH_SEPARATOR=: >++ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { >++ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || >++ PATH_SEPARATOR=';' >++ } >+ fi >+ >+ >+@@ -63,20 +84,19 @@ fi >+ # there to prevent editors from complaining about space-tab. >+ # (If _AS_PATH_WALK were called with IFS unset, it would disable word >+ # splitting by setting IFS to empty value.) >+-as_nl=' >+-' >+ IFS=" "" $as_nl" >+ >+ # Find who we are. Look in the path if we contain no directory separator. >+-case $0 in >++as_myself= >++case $0 in #(( >+ *[\\/]* ) as_myself=$0 ;; >+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR >+ for as_dir in $PATH >+ do >+ IFS=$as_save_IFS >+ test -z "$as_dir" && as_dir=. >+- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break >+-done >++ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break >++ done >+ IFS=$as_save_IFS >+ >+ ;; >+@@ -87,354 +107,366 @@ if test "x$as_myself" = x; then >+ as_myself=$0 >+ fi >+ if test ! -f "$as_myself"; then >+- echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 >+- { (exit 1); exit 1; } >++ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 >++ exit 1 >+ fi >+ >+-# Work around bugs in pre-3.0 UWIN ksh. >+-for as_var in ENV MAIL MAILPATH >+-do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var >++# Unset variables that we do not need and which cause bugs (e.g. in >++# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" >++# suppresses any "Segmentation fault" message there. '((' could >++# trigger a bug in pdksh 5.2.14. >++for as_var in BASH_ENV ENV MAIL MAILPATH >++do eval test x\${$as_var+set} = xset \ >++ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : >+ done >+ PS1='$ ' >+ PS2='> ' >+ PS4='+ ' >+ >+ # NLS nuisances. >+-for as_var in \ >+- LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ >+- LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ >+- LC_TELEPHONE LC_TIME >+-do >+- if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then >+- eval $as_var=C; export $as_var >+- else >+- ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var >+- fi >+-done >+- >+-# Required to use basename. >+-if expr a : '\(a\)' >/dev/null 2>&1 && >+- test "X`expr 00001 : '.*\(...\)'`" = X001; then >+- as_expr=expr >+-else >+- as_expr=false >+-fi >+- >+-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then >+- as_basename=basename >+-else >+- as_basename=false >+-fi >+- >+- >+-# Name of the executable. >+-as_me=`$as_basename -- "$0" || >+-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ >+- X"$0" : 'X\(//\)$' \| \ >+- X"$0" : 'X\(/\)' \| . 2>/dev/null || >+-echo X/"$0" | >+- sed '/^.*\/\([^/][^/]*\)\/*$/{ >+- s//\1/ >+- q >+- } >+- /^X\/\(\/\/\)$/{ >+- s//\1/ >+- q >+- } >+- /^X\/\(\/\).*/{ >+- s//\1/ >+- q >+- } >+- s/.*/./; q'` >++LC_ALL=C >++export LC_ALL >++LANGUAGE=C >++export LANGUAGE >+ >+ # CDPATH. >+-$as_unset CDPATH >+- >++(unset CDPATH) >/dev/null 2>&1 && unset CDPATH >+ >++# Use a proper internal environment variable to ensure we don't fall >++ # into an infinite loop, continuously re-executing ourselves. >++ if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then >++ _as_can_reexec=no; export _as_can_reexec; >++ # We cannot yet assume a decent shell, so we have to provide a >++# neutralization value for shells without unset; and this also >++# works around shells that cannot unset nonexistent variables. >++# Preserve -v and -x to the replacement shell. >++BASH_ENV=/dev/null >++ENV=/dev/null >++(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV >++case $- in # (((( >++ *v*x* | *x*v* ) as_opts=-vx ;; >++ *v* ) as_opts=-v ;; >++ *x* ) as_opts=-x ;; >++ * ) as_opts= ;; >++esac >++exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} >++# Admittedly, this is quite paranoid, since all the known shells bail >++# out after a failed `exec'. >++$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 >++as_fn_exit 255 >++ fi >++ # We don't want this to propagate to other subprocesses. >++ { _as_can_reexec=; unset _as_can_reexec;} >+ if test "x$CONFIG_SHELL" = x; then >+- if (eval ":") 2>/dev/null; then >+- as_have_required=yes >++ as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : >++ emulate sh >++ NULLCMD=: >++ # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which >++ # is contrary to our usage. Disable this feature. >++ alias -g '\${1+\"\$@\"}'='\"\$@\"' >++ setopt NO_GLOB_SUBST >+ else >+- as_have_required=no >++ case \`(set -o) 2>/dev/null\` in #( >++ *posix*) : >++ set -o posix ;; #( >++ *) : >++ ;; >++esac >+ fi >+- >+- if test $as_have_required = yes && (eval ": >+-(as_func_return () { >+- (exit \$1) >+-} >+-as_func_success () { >+- as_func_return 0 >+-} >+-as_func_failure () { >+- as_func_return 1 >+-} >+-as_func_ret_success () { >+- return 0 >+-} >+-as_func_ret_failure () { >+- return 1 >+-} >++" >++ as_required="as_fn_return () { (exit \$1); } >++as_fn_success () { as_fn_return 0; } >++as_fn_failure () { as_fn_return 1; } >++as_fn_ret_success () { return 0; } >++as_fn_ret_failure () { return 1; } >+ >+ exitcode=0 >+-if as_func_success; then >+- : >+-else >+- exitcode=1 >+- echo as_func_success failed. >+-fi >+- >+-if as_func_failure; then >+- exitcode=1 >+- echo as_func_failure succeeded. >+-fi >++as_fn_success || { exitcode=1; echo as_fn_success failed.; } >++as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } >++as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } >++as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } >++if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : >+ >+-if as_func_ret_success; then >+- : >+ else >+- exitcode=1 >+- echo as_func_ret_success failed. >+-fi >+- >+-if as_func_ret_failure; then >+- exitcode=1 >+- echo as_func_ret_failure succeeded. >++ exitcode=1; echo positional parameters were not saved. >+ fi >+- >+-if ( set x; as_func_ret_success y && test x = \"\$1\" ); then >+- : >++test x\$exitcode = x0 || exit 1 >++test -x / || exit 1" >++ as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO >++ as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO >++ eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && >++ test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 >++test \$(( 1 + 1 )) = 2 || exit 1" >++ if (eval "$as_required") 2>/dev/null; then : >++ as_have_required=yes >+ else >+- exitcode=1 >+- echo positional parameters were not saved. >++ as_have_required=no >+ fi >++ if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : >+ >+-test \$exitcode = 0) || { (exit 1); exit 1; } >+- >+-( >+- as_lineno_1=\$LINENO >+- as_lineno_2=\$LINENO >+- test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && >+- test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } >+-") 2> /dev/null; then >+- : >+ else >+- as_candidate_shells= >+- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR >++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR >++as_found=false >+ for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH >+ do >+ IFS=$as_save_IFS >+ test -z "$as_dir" && as_dir=. >+- case $as_dir in >++ as_found=: >++ case $as_dir in #( >+ /*) >+ for as_base in sh bash ksh sh5; do >+- as_candidate_shells="$as_candidate_shells $as_dir/$as_base" >++ # Try only shells that exist, to save several forks. >++ as_shell=$as_dir/$as_base >++ if { test -f "$as_shell" || test -f "$as_shell.exe"; } && >++ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : >++ CONFIG_SHELL=$as_shell as_have_required=yes >++ if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : >++ break 2 >++fi >++fi >+ done;; >+ esac >++ as_found=false >+ done >++$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && >++ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : >++ CONFIG_SHELL=$SHELL as_have_required=yes >++fi; } >+ IFS=$as_save_IFS >+ >+ >+- for as_shell in $as_candidate_shells $SHELL; do >+- # Try only shells that exist, to save several forks. >+- if { test -f "$as_shell" || test -f "$as_shell.exe"; } && >+- { ("$as_shell") 2> /dev/null <<\_ASEOF >+-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then >+- emulate sh >+- NULLCMD=: >+- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which >+- # is contrary to our usage. Disable this feature. >+- alias -g '${1+"$@"}'='"$@"' >+- setopt NO_GLOB_SUBST >+-else >+- case `(set -o) 2>/dev/null` in >+- *posix*) set -o posix ;; >+-esac >+- >+-fi >+- >+- >+-: >+-_ASEOF >+-}; then >+- CONFIG_SHELL=$as_shell >+- as_have_required=yes >+- if { "$as_shell" 2> /dev/null <<\_ASEOF >+-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then >+- emulate sh >+- NULLCMD=: >+- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which >+- # is contrary to our usage. Disable this feature. >+- alias -g '${1+"$@"}'='"$@"' >+- setopt NO_GLOB_SUBST >+-else >+- case `(set -o) 2>/dev/null` in >+- *posix*) set -o posix ;; >++ if test "x$CONFIG_SHELL" != x; then : >++ export CONFIG_SHELL >++ # We cannot yet assume a decent shell, so we have to provide a >++# neutralization value for shells without unset; and this also >++# works around shells that cannot unset nonexistent variables. >++# Preserve -v and -x to the replacement shell. >++BASH_ENV=/dev/null >++ENV=/dev/null >++(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV >++case $- in # (((( >++ *v*x* | *x*v* ) as_opts=-vx ;; >++ *v* ) as_opts=-v ;; >++ *x* ) as_opts=-x ;; >++ * ) as_opts= ;; >+ esac >+- >+-fi >+- >+- >+-: >+-(as_func_return () { >+- (exit $1) >+-} >+-as_func_success () { >+- as_func_return 0 >+-} >+-as_func_failure () { >+- as_func_return 1 >+-} >+-as_func_ret_success () { >+- return 0 >+-} >+-as_func_ret_failure () { >+- return 1 >+-} >+- >+-exitcode=0 >+-if as_func_success; then >+- : >+-else >+- exitcode=1 >+- echo as_func_success failed. >+-fi >+- >+-if as_func_failure; then >+- exitcode=1 >+- echo as_func_failure succeeded. >+-fi >+- >+-if as_func_ret_success; then >+- : >+-else >+- exitcode=1 >+- echo as_func_ret_success failed. >++exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} >++# Admittedly, this is quite paranoid, since all the known shells bail >++# out after a failed `exec'. >++$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 >++exit 255 >+ fi >+ >+-if as_func_ret_failure; then >+- exitcode=1 >+- echo as_func_ret_failure succeeded. >++ if test x$as_have_required = xno; then : >++ $as_echo "$0: This script requires a shell more modern than all" >++ $as_echo "$0: the shells that I found on your system." >++ if test x${ZSH_VERSION+set} = xset ; then >++ $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" >++ $as_echo "$0: be upgraded to zsh 4.3.4 or later." >++ else >++ $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, >++$0: including any error possibly output before this >++$0: message. Then install a modern shell, or manually run >++$0: the script under such a shell if you do have one." >++ fi >++ exit 1 >+ fi >+- >+-if ( set x; as_func_ret_success y && test x = "$1" ); then >+- : >+-else >+- exitcode=1 >+- echo positional parameters were not saved. >+ fi >+- >+-test $exitcode = 0) || { (exit 1); exit 1; } >+- >+-( >+- as_lineno_1=$LINENO >+- as_lineno_2=$LINENO >+- test "x$as_lineno_1" != "x$as_lineno_2" && >+- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } >+- >+-_ASEOF >+-}; then >+- break >+ fi >++SHELL=${CONFIG_SHELL-/bin/sh} >++export SHELL >++# Unset more variables known to interfere with behavior of common tools. >++CLICOLOR_FORCE= GREP_OPTIONS= >++unset CLICOLOR_FORCE GREP_OPTIONS >+ >+-fi >++## --------------------- ## >++## M4sh Shell Functions. ## >++## --------------------- ## >++# as_fn_unset VAR >++# --------------- >++# Portably unset VAR. >++as_fn_unset () >++{ >++ { eval $1=; unset $1;} >++} >++as_unset=as_fn_unset >+ >+- done >++# as_fn_set_status STATUS >++# ----------------------- >++# Set $? to STATUS, without forking. >++as_fn_set_status () >++{ >++ return $1 >++} # as_fn_set_status >+ >+- if test "x$CONFIG_SHELL" != x; then >+- for as_var in BASH_ENV ENV >+- do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var >+- done >+- export CONFIG_SHELL >+- exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} >+-fi >++# as_fn_exit STATUS >++# ----------------- >++# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. >++as_fn_exit () >++{ >++ set +e >++ as_fn_set_status $1 >++ exit $1 >++} # as_fn_exit >+ >++# as_fn_mkdir_p >++# ------------- >++# Create "$as_dir" as a directory, including parents if necessary. >++as_fn_mkdir_p () >++{ >+ >+- if test $as_have_required = no; then >+- echo This script requires a shell more modern than all the >+- echo shells that I found on your system. Please install a >+- echo modern shell, or manually run the script under such a >+- echo shell if you do have one. >+- { (exit 1); exit 1; } >+-fi >++ case $as_dir in #( >++ -*) as_dir=./$as_dir;; >++ esac >++ test -d "$as_dir" || eval $as_mkdir_p || { >++ as_dirs= >++ while :; do >++ case $as_dir in #( >++ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( >++ *) as_qdir=$as_dir;; >++ esac >++ as_dirs="'$as_qdir' $as_dirs" >++ as_dir=`$as_dirname -- "$as_dir" || >++$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ >++ X"$as_dir" : 'X\(//\)[^/]' \| \ >++ X"$as_dir" : 'X\(//\)$' \| \ >++ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || >++$as_echo X"$as_dir" | >++ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ >++ s//\1/ >++ q >++ } >++ /^X\(\/\/\)[^/].*/{ >++ s//\1/ >++ q >++ } >++ /^X\(\/\/\)$/{ >++ s//\1/ >++ q >++ } >++ /^X\(\/\).*/{ >++ s//\1/ >++ q >++ } >++ s/.*/./; q'` >++ test -d "$as_dir" && break >++ done >++ test -z "$as_dirs" || eval "mkdir $as_dirs" >++ } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" >+ >+ >+-fi >++} # as_fn_mkdir_p >+ >+-fi >++# as_fn_executable_p FILE >++# ----------------------- >++# Test if FILE is an executable regular file. >++as_fn_executable_p () >++{ >++ test -f "$1" && test -x "$1" >++} # as_fn_executable_p >++# as_fn_append VAR VALUE >++# ---------------------- >++# Append the text in VALUE to the end of the definition contained in VAR. Take >++# advantage of any shell optimizations that allow amortized linear growth over >++# repeated appends, instead of the typical quadratic growth present in naive >++# implementations. >++if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : >++ eval 'as_fn_append () >++ { >++ eval $1+=\$2 >++ }' >++else >++ as_fn_append () >++ { >++ eval $1=\$$1\$2 >++ } >++fi # as_fn_append >+ >++# as_fn_arith ARG... >++# ------------------ >++# Perform arithmetic evaluation on the ARGs, and store the result in the >++# global $as_val. Take advantage of shells that can avoid forks. The arguments >++# must be portable across $(()) and expr. >++if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : >++ eval 'as_fn_arith () >++ { >++ as_val=$(( $* )) >++ }' >++else >++ as_fn_arith () >++ { >++ as_val=`expr "$@" || test $? -eq 1` >++ } >++fi # as_fn_arith >+ >+ >+-(eval "as_func_return () { >+- (exit \$1) >+-} >+-as_func_success () { >+- as_func_return 0 >+-} >+-as_func_failure () { >+- as_func_return 1 >+-} >+-as_func_ret_success () { >+- return 0 >+-} >+-as_func_ret_failure () { >+- return 1 >+-} >++# as_fn_error STATUS ERROR [LINENO LOG_FD] >++# ---------------------------------------- >++# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are >++# provided, also output the error to LOG_FD, referencing LINENO. Then exit the >++# script with STATUS, using 1 if that was 0. >++as_fn_error () >++{ >++ as_status=$1; test $as_status -eq 0 && as_status=1 >++ if test "$4"; then >++ as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack >++ $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 >++ fi >++ $as_echo "$as_me: error: $2" >&2 >++ as_fn_exit $as_status >++} # as_fn_error >+ >+-exitcode=0 >+-if as_func_success; then >+- : >++if expr a : '\(a\)' >/dev/null 2>&1 && >++ test "X`expr 00001 : '.*\(...\)'`" = X001; then >++ as_expr=expr >+ else >+- exitcode=1 >+- echo as_func_success failed. >+-fi >+- >+-if as_func_failure; then >+- exitcode=1 >+- echo as_func_failure succeeded. >++ as_expr=false >+ fi >+ >+-if as_func_ret_success; then >+- : >++if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then >++ as_basename=basename >+ else >+- exitcode=1 >+- echo as_func_ret_success failed. >+-fi >+- >+-if as_func_ret_failure; then >+- exitcode=1 >+- echo as_func_ret_failure succeeded. >++ as_basename=false >+ fi >+ >+-if ( set x; as_func_ret_success y && test x = \"\$1\" ); then >+- : >++if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then >++ as_dirname=dirname >+ else >+- exitcode=1 >+- echo positional parameters were not saved. >++ as_dirname=false >+ fi >+ >+-test \$exitcode = 0") || { >+- echo No shell found that supports shell functions. >+- echo Please tell autoconf@gnu.org about your system, >+- echo including any error possibly output before this >+- echo message >+-} >+- >++as_me=`$as_basename -- "$0" || >++$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ >++ X"$0" : 'X\(//\)$' \| \ >++ X"$0" : 'X\(/\)' \| . 2>/dev/null || >++$as_echo X/"$0" | >++ sed '/^.*\/\([^/][^/]*\)\/*$/{ >++ s//\1/ >++ q >++ } >++ /^X\/\(\/\/\)$/{ >++ s//\1/ >++ q >++ } >++ /^X\/\(\/\).*/{ >++ s//\1/ >++ q >++ } >++ s/.*/./; q'` >+ >++# Avoid depending upon Character Ranges. >++as_cr_letters='abcdefghijklmnopqrstuvwxyz' >++as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' >++as_cr_Letters=$as_cr_letters$as_cr_LETTERS >++as_cr_digits='0123456789' >++as_cr_alnum=$as_cr_Letters$as_cr_digits >+ >+- as_lineno_1=$LINENO >+- as_lineno_2=$LINENO >+- test "x$as_lineno_1" != "x$as_lineno_2" && >+- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { >+ >+- # Create $as_me.lineno as a copy of $as_myself, but with $LINENO >+- # uniformly replaced by the line number. The first 'sed' inserts a >+- # line-number line after each line using $LINENO; the second 'sed' >+- # does the real work. The second script uses 'N' to pair each >+- # line-number line with the line containing $LINENO, and appends >+- # trailing '-' during substitution so that $LINENO is not a special >+- # case at line end. >+- # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the >+- # scripts with optimization help from Paolo Bonzini. Blame Lee >+- # E. McMahon (1931-1989) for sed's syntax. :-) >++ as_lineno_1=$LINENO as_lineno_1a=$LINENO >++ as_lineno_2=$LINENO as_lineno_2a=$LINENO >++ eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && >++ test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { >++ # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) >+ sed -n ' >+ p >+ /[$]LINENO/= >+@@ -451,9 +483,12 @@ test \$exitcode = 0") || { >+ s/-\n.*// >+ ' >$as_me.lineno && >+ chmod +x "$as_me.lineno" || >+- { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 >+- { (exit 1); exit 1; }; } >++ { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } >+ >++ # If we had to re-execute with $CONFIG_SHELL, we're ensured to have >++ # already done that, so ensure we don't try to do so again and fall >++ # in an infinite loop. This has already happened in practice. >++ _as_can_reexec=no; export _as_can_reexec >+ # Don't try to exec as it changes $[0], causing all sort of problems >+ # (the dirname of $[0] is not the place where we might find the >+ # original and so on. Autoconf is especially sensitive to this). >+@@ -462,84 +497,55 @@ test \$exitcode = 0") || { >+ exit >+ } >+ >+- >+-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then >+- as_dirname=dirname >+-else >+- as_dirname=false >+-fi >+- >+ ECHO_C= ECHO_N= ECHO_T= >+-case `echo -n x` in >++case `echo -n x` in #((((( >+ -n*) >+- case `echo 'x\c'` in >++ case `echo 'xy\c'` in >+ *c*) ECHO_T=' ';; # ECHO_T is single tab character. >+- *) ECHO_C='\c';; >++ xy) ECHO_C='\c';; >++ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null >++ ECHO_T=' ';; >+ esac;; >+ *) >+ ECHO_N='-n';; >+ esac >+ >+-if expr a : '\(a\)' >/dev/null 2>&1 && >+- test "X`expr 00001 : '.*\(...\)'`" = X001; then >+- as_expr=expr >+-else >+- as_expr=false >+-fi >+- >+ rm -f conf$$ conf$$.exe conf$$.file >+ if test -d conf$$.dir; then >+ rm -f conf$$.dir/conf$$.file >+ else >+ rm -f conf$$.dir >+- mkdir conf$$.dir >++ mkdir conf$$.dir 2>/dev/null >+ fi >+-echo >conf$$.file >+-if ln -s conf$$.file conf$$ 2>/dev/null; then >+- as_ln_s='ln -s' >+- # ... but there are two gotchas: >+- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. >+- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. >+- # In both cases, we have to default to `cp -p'. >+- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || >+- as_ln_s='cp -p' >+-elif ln conf$$.file conf$$ 2>/dev/null; then >+- as_ln_s=ln >++if (echo >conf$$.file) 2>/dev/null; then >++ if ln -s conf$$.file conf$$ 2>/dev/null; then >++ as_ln_s='ln -s' >++ # ... but there are two gotchas: >++ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. >++ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. >++ # In both cases, we have to default to `cp -pR'. >++ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || >++ as_ln_s='cp -pR' >++ elif ln conf$$.file conf$$ 2>/dev/null; then >++ as_ln_s=ln >++ else >++ as_ln_s='cp -pR' >++ fi >+ else >+- as_ln_s='cp -p' >++ as_ln_s='cp -pR' >+ fi >+ rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file >+ rmdir conf$$.dir 2>/dev/null >+ >+ if mkdir -p . 2>/dev/null; then >+- as_mkdir_p=: >++ as_mkdir_p='mkdir -p "$as_dir"' >+ else >+ test -d ./-p && rmdir ./-p >+ as_mkdir_p=false >+ fi >+ >+-if test -x / >/dev/null 2>&1; then >+- as_test_x='test -x' >+-else >+- if ls -dL / >/dev/null 2>&1; then >+- as_ls_L_option=L >+- else >+- as_ls_L_option= >+- fi >+- as_test_x=' >+- eval sh -c '\'' >+- if test -d "$1"; then >+- test -d "$1/."; >+- else >+- case $1 in >+- -*)set "./$1";; >+- esac; >+- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in >+- ???[sx]*):;;*)false;;esac;fi >+- '\'' sh >+- ' >+-fi >+-as_executable_p=$as_test_x >++as_test_x='test -x' >++as_executable_p=as_fn_executable_p >+ >+ # Sed expression to map a string onto a valid CPP name. >+ as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" >+@@ -548,11 +554,11 @@ as_tr_cpp="eval sed 'y%*$as_cr_letters%P >+ as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" >+ >+ >+- >+-exec 7<&0 </dev/null 6>&1 >++test -n "$DJDIR" || exec 7<&0 </dev/null >++exec 6>&1 >+ >+ # Name of the host. >+-# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, >++# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, >+ # so uname gets run too. >+ ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` >+ >+@@ -567,7 +573,6 @@ cross_compiling=no >+ subdirs= >+ MFLAGS= >+ MAKEFLAGS= >+-SHELL=${CONFIG_SHELL-/bin/sh} >+ >+ # Identity of this package. >+ PACKAGE_NAME= >+@@ -575,6 +580,7 @@ PACKAGE_TARNAME= >+ PACKAGE_VERSION= >+ PACKAGE_STRING= >+ PACKAGE_BUGREPORT= >++PACKAGE_URL= >+ >+ ac_unique_file="main.c" >+ # Factoring default headers for most tests. >+@@ -613,100 +619,138 @@ ac_includes_default="\ >+ # include <unistd.h> >+ #endif" >+ >+-ac_subst_vars='SHELL >+-PATH_SEPARATOR >+-PACKAGE_NAME >+-PACKAGE_TARNAME >+-PACKAGE_VERSION >+-PACKAGE_STRING >+-PACKAGE_BUGREPORT >+-exec_prefix >+-prefix >+-program_transform_name >+-bindir >+-sbindir >+-libexecdir >+-datarootdir >+-datadir >+-sysconfdir >+-sharedstatedir >+-localstatedir >+-includedir >+-oldincludedir >+-docdir >+-infodir >+-htmldir >+-dvidir >+-pdfdir >+-psdir >+-libdir >+-localedir >+-mandir >+-DEFS >+-ECHO_C >+-ECHO_N >+-ECHO_T >+-LIBS >+-build_alias >+-host_alias >+-target_alias >+-INSTALL_PROGRAM >+-INSTALL_SCRIPT >+-INSTALL_DATA >+-CYGPATH_W >+-PACKAGE >+-VERSION >+-ACLOCAL >+-AUTOCONF >+-AUTOMAKE >+-AUTOHEADER >+-MAKEINFO >+-install_sh >+-STRIP >+-INSTALL_STRIP_PROGRAM >+-mkdir_p >+-AWK >+-SET_MAKE >+-am__leading_dot >+-AMTAR >+-am__tar >+-am__untar >+-CC >+-CFLAGS >+-LDFLAGS >+-CPPFLAGS >+-ac_ct_CC >+-EXEEXT >+-OBJEXT >+-DEPDIR >+-am__include >+-am__quote >+-AMDEP_TRUE >+-AMDEP_FALSE >+-AMDEPBACKSLASH >+-CCDEPMODE >+-am__fastdepCC_TRUE >+-am__fastdepCC_FALSE >+-CXX >+-CXXFLAGS >+-ac_ct_CXX >+-CXXDEPMODE >+-am__fastdepCXX_TRUE >+-am__fastdepCXX_FALSE >+-RANLIB >+-CPP >+-GREP >+-EGREP >+-LIBOBJS >+-GRAPHICS_TRUE >+-GRAPHICS_FALSE >+-DIRECTFB_CONFIG >+-XMKMF >+-ATHEOS_GR_TRUE >+-ATHEOS_GR_FALSE >++ac_subst_vars='am__EXEEXT_FALSE >++am__EXEEXT_TRUE >++LTLIBOBJS >+ FREETYPE >+-LTLIBOBJS' >++ATHEOS_GR_FALSE >++ATHEOS_GR_TRUE >++XMKMF >++DIRECTFB_CONFIG >++GRAPHICS_FALSE >++GRAPHICS_TRUE >++LIBOBJS >++EGREP >++GREP >++CPP >++RANLIB >++am__fastdepCXX_FALSE >++am__fastdepCXX_TRUE >++CXXDEPMODE >++ac_ct_CXX >++CXXFLAGS >++CXX >++am__fastdepCC_FALSE >++am__fastdepCC_TRUE >++CCDEPMODE >++am__nodep >++AMDEPBACKSLASH >++AMDEP_FALSE >++AMDEP_TRUE >++am__quote >++am__include >++DEPDIR >++OBJEXT >++EXEEXT >++ac_ct_CC >++CPPFLAGS >++LDFLAGS >++CFLAGS >++CC >++AM_BACKSLASH >++AM_DEFAULT_VERBOSITY >++AM_DEFAULT_V >++AM_V >++am__untar >++am__tar >++AMTAR >++am__leading_dot >++SET_MAKE >++AWK >++mkdir_p >++MKDIR_P >++INSTALL_STRIP_PROGRAM >++STRIP >++install_sh >++MAKEINFO >++AUTOHEADER >++AUTOMAKE >++AUTOCONF >++ACLOCAL >++VERSION >++PACKAGE >++CYGPATH_W >++am__isrc >++INSTALL_DATA >++INSTALL_SCRIPT >++INSTALL_PROGRAM >++target_alias >++host_alias >++build_alias >++LIBS >++ECHO_T >++ECHO_N >++ECHO_C >++DEFS >++mandir >++localedir >++libdir >++psdir >++pdfdir >++dvidir >++htmldir >++infodir >++docdir >++oldincludedir >++includedir >++localstatedir >++sharedstatedir >++sysconfdir >++datadir >++datarootdir >++libexecdir >++sbindir >++bindir >++program_transform_name >++prefix >++exec_prefix >++PACKAGE_URL >++PACKAGE_BUGREPORT >++PACKAGE_STRING >++PACKAGE_VERSION >++PACKAGE_TARNAME >++PACKAGE_NAME >++PATH_SEPARATOR >++SHELL' >+ ac_subst_files='' >++ac_user_opts=' >++enable_option_checking >++enable_silent_rules >++enable_dependency_tracking >++enable_form_saving >++enable_javascript >++with_libfl >++enable_graphics >++enable_static >++with_lua >++with_zlib >++with_bzlib >++with_ssl >++with_libjpeg >++with_libtiff >++with_libgd >++with_svgalib >++with_x >++with_joyfb >++with_fb >++with_directfb >++with_pmshell >++with_atheos >++with_freetype >++enable_globhist >++enable_backtrace >++enable_gamma_correction >++' >+ ac_precious_vars='build_alias >+ host_alias >+ target_alias >+@@ -725,6 +769,8 @@ XMKMF' >+ # Initialize some variables set by options. >+ ac_init_help= >+ ac_init_version=false >++ac_unrecognized_opts= >++ac_unrecognized_sep= >+ # The variables have the same names as the options, with >+ # dashes changed to underlines. >+ cache_file=/dev/null >+@@ -780,8 +826,9 @@ do >+ fi >+ >+ case $ac_option in >+- *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; >+- *) ac_optarg=yes ;; >++ *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; >++ *=) ac_optarg= ;; >++ *) ac_optarg=yes ;; >+ esac >+ >+ # Accept the important Cygnus configure options, so we can diagnose typos. >+@@ -823,13 +870,20 @@ do >+ datarootdir=$ac_optarg ;; >+ >+ -disable-* | --disable-*) >+- ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` >++ ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` >+ # Reject names that are not valid shell variable names. >+- expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && >+- { echo "$as_me: error: invalid feature name: $ac_feature" >&2 >+- { (exit 1); exit 1; }; } >+- ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` >+- eval enable_$ac_feature=no ;; >++ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && >++ as_fn_error $? "invalid feature name: $ac_useropt" >++ ac_useropt_orig=$ac_useropt >++ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` >++ case $ac_user_opts in >++ *" >++"enable_$ac_useropt" >++"*) ;; >++ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" >++ ac_unrecognized_sep=', ';; >++ esac >++ eval enable_$ac_useropt=no ;; >+ >+ -docdir | --docdir | --docdi | --doc | --do) >+ ac_prev=docdir ;; >+@@ -842,13 +896,20 @@ do >+ dvidir=$ac_optarg ;; >+ >+ -enable-* | --enable-*) >+- ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` >++ ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` >+ # Reject names that are not valid shell variable names. >+- expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && >+- { echo "$as_me: error: invalid feature name: $ac_feature" >&2 >+- { (exit 1); exit 1; }; } >+- ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` >+- eval enable_$ac_feature=\$ac_optarg ;; >++ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && >++ as_fn_error $? "invalid feature name: $ac_useropt" >++ ac_useropt_orig=$ac_useropt >++ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` >++ case $ac_user_opts in >++ *" >++"enable_$ac_useropt" >++"*) ;; >++ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" >++ ac_unrecognized_sep=', ';; >++ esac >++ eval enable_$ac_useropt=\$ac_optarg ;; >+ >+ -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ >+ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ >+@@ -1039,22 +1100,36 @@ do >+ ac_init_version=: ;; >+ >+ -with-* | --with-*) >+- ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` >++ ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` >+ # Reject names that are not valid shell variable names. >+- expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && >+- { echo "$as_me: error: invalid package name: $ac_package" >&2 >+- { (exit 1); exit 1; }; } >+- ac_package=`echo $ac_package | sed 's/[-.]/_/g'` >+- eval with_$ac_package=\$ac_optarg ;; >++ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && >++ as_fn_error $? "invalid package name: $ac_useropt" >++ ac_useropt_orig=$ac_useropt >++ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` >++ case $ac_user_opts in >++ *" >++"with_$ac_useropt" >++"*) ;; >++ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" >++ ac_unrecognized_sep=', ';; >++ esac >++ eval with_$ac_useropt=\$ac_optarg ;; >+ >+ -without-* | --without-*) >+- ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` >++ ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` >+ # Reject names that are not valid shell variable names. >+- expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && >+- { echo "$as_me: error: invalid package name: $ac_package" >&2 >+- { (exit 1); exit 1; }; } >+- ac_package=`echo $ac_package | sed 's/[-.]/_/g'` >+- eval with_$ac_package=no ;; >++ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && >++ as_fn_error $? "invalid package name: $ac_useropt" >++ ac_useropt_orig=$ac_useropt >++ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` >++ case $ac_user_opts in >++ *" >++"with_$ac_useropt" >++"*) ;; >++ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" >++ ac_unrecognized_sep=', ';; >++ esac >++ eval with_$ac_useropt=no ;; >+ >+ --x) >+ # Obsolete; use --with-x. >+@@ -1074,26 +1149,26 @@ do >+ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) >+ x_libraries=$ac_optarg ;; >+ >+- -*) { echo "$as_me: error: unrecognized option: $ac_option >+-Try \`$0 --help' for more information." >&2 >+- { (exit 1); exit 1; }; } >++ -*) as_fn_error $? "unrecognized option: \`$ac_option' >++Try \`$0 --help' for more information" >+ ;; >+ >+ *=*) >+ ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` >+ # Reject names that are not valid shell variable names. >+- expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && >+- { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 >+- { (exit 1); exit 1; }; } >++ case $ac_envvar in #( >++ '' | [0-9]* | *[!_$as_cr_alnum]* ) >++ as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; >++ esac >+ eval $ac_envvar=\$ac_optarg >+ export $ac_envvar ;; >+ >+ *) >+ # FIXME: should be removed in autoconf 3.0. >+- echo "$as_me: WARNING: you should use --build, --host, --target" >&2 >++ $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 >+ expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && >+- echo "$as_me: WARNING: invalid host type: $ac_option" >&2 >+- : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} >++ $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 >++ : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" >+ ;; >+ >+ esac >+@@ -1101,23 +1176,36 @@ done >+ >+ if test -n "$ac_prev"; then >+ ac_option=--`echo $ac_prev | sed 's/_/-/g'` >+- { echo "$as_me: error: missing argument to $ac_option" >&2 >+- { (exit 1); exit 1; }; } >++ as_fn_error $? "missing argument to $ac_option" >+ fi >+ >+-# Be sure to have absolute directory names. >++if test -n "$ac_unrecognized_opts"; then >++ case $enable_option_checking in >++ no) ;; >++ fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; >++ *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; >++ esac >++fi >++ >++# Check all directory arguments for consistency. >+ for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ >+ datadir sysconfdir sharedstatedir localstatedir includedir \ >+ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ >+ libdir localedir mandir >+ do >+ eval ac_val=\$$ac_var >++ # Remove trailing slashes. >++ case $ac_val in >++ */ ) >++ ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` >++ eval $ac_var=\$ac_val;; >++ esac >++ # Be sure to have absolute directory names. >+ case $ac_val in >+ [\\/$]* | ?:[\\/]* ) continue;; >+ NONE | '' ) case $ac_var in *prefix ) continue;; esac;; >+ esac >+- { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 >+- { (exit 1); exit 1; }; } >++ as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" >+ done >+ >+ # There might be people who depend on the old broken behavior: `$host' >+@@ -1131,8 +1219,6 @@ target=$target_alias >+ if test "x$host_alias" != x; then >+ if test "x$build_alias" = x; then >+ cross_compiling=maybe >+- echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. >+- If a cross compiler is detected then cross compile mode will be used." >&2 >+ elif test "x$build_alias" != "x$host_alias"; then >+ cross_compiling=yes >+ fi >+@@ -1147,23 +1233,21 @@ test "$silent" = yes && exec 6>/dev/null >+ ac_pwd=`pwd` && test -n "$ac_pwd" && >+ ac_ls_di=`ls -di .` && >+ ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || >+- { echo "$as_me: error: Working directory cannot be determined" >&2 >+- { (exit 1); exit 1; }; } >++ as_fn_error $? "working directory cannot be determined" >+ test "X$ac_ls_di" = "X$ac_pwd_ls_di" || >+- { echo "$as_me: error: pwd does not report name of working directory" >&2 >+- { (exit 1); exit 1; }; } >++ as_fn_error $? "pwd does not report name of working directory" >+ >+ >+ # Find the source files, if location was not specified. >+ if test -z "$srcdir"; then >+ ac_srcdir_defaulted=yes >+ # Try the directory containing this script, then the parent directory. >+- ac_confdir=`$as_dirname -- "$0" || >+-$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ >+- X"$0" : 'X\(//\)[^/]' \| \ >+- X"$0" : 'X\(//\)$' \| \ >+- X"$0" : 'X\(/\)' \| . 2>/dev/null || >+-echo X"$0" | >++ ac_confdir=`$as_dirname -- "$as_myself" || >++$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ >++ X"$as_myself" : 'X\(//\)[^/]' \| \ >++ X"$as_myself" : 'X\(//\)$' \| \ >++ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || >++$as_echo X"$as_myself" | >+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ >+ s//\1/ >+ q >+@@ -1190,13 +1274,11 @@ else >+ fi >+ if test ! -r "$srcdir/$ac_unique_file"; then >+ test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." >+- { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 >+- { (exit 1); exit 1; }; } >++ as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" >+ fi >+ ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" >+ ac_abs_confdir=`( >+- cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 >+- { (exit 1); exit 1; }; } >++ cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" >+ pwd)` >+ # When building in place, set srcdir=. >+ if test "$ac_abs_confdir" = "$ac_pwd"; then >+@@ -1236,7 +1318,7 @@ Configuration: >+ --help=short display options specific to this package >+ --help=recursive display the short help of all the included packages >+ -V, --version display version information and exit >+- -q, --quiet, --silent do not print \`checking...' messages >++ -q, --quiet, --silent do not print \`checking ...' messages >+ --cache-file=FILE cache test results in FILE [disabled] >+ -C, --config-cache alias for \`--cache-file=config.cache' >+ -n, --no-create do not create output files >+@@ -1244,9 +1326,9 @@ Configuration: >+ >+ Installation directories: >+ --prefix=PREFIX install architecture-independent files in PREFIX >+- [$ac_default_prefix] >++ [$ac_default_prefix] >+ --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX >+- [PREFIX] >++ [PREFIX] >+ >+ By default, \`make install' will install all the files in >+ \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify >+@@ -1256,25 +1338,25 @@ for instance \`--prefix=\$HOME'. >+ For better control, use the options below. >+ >+ Fine tuning of the installation directories: >+- --bindir=DIR user executables [EPREFIX/bin] >+- --sbindir=DIR system admin executables [EPREFIX/sbin] >+- --libexecdir=DIR program executables [EPREFIX/libexec] >+- --sysconfdir=DIR read-only single-machine data [PREFIX/etc] >+- --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] >+- --localstatedir=DIR modifiable single-machine data [PREFIX/var] >+- --libdir=DIR object code libraries [EPREFIX/lib] >+- --includedir=DIR C header files [PREFIX/include] >+- --oldincludedir=DIR C header files for non-gcc [/usr/include] >+- --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] >+- --datadir=DIR read-only architecture-independent data [DATAROOTDIR] >+- --infodir=DIR info documentation [DATAROOTDIR/info] >+- --localedir=DIR locale-dependent data [DATAROOTDIR/locale] >+- --mandir=DIR man documentation [DATAROOTDIR/man] >+- --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] >+- --htmldir=DIR html documentation [DOCDIR] >+- --dvidir=DIR dvi documentation [DOCDIR] >+- --pdfdir=DIR pdf documentation [DOCDIR] >+- --psdir=DIR ps documentation [DOCDIR] >++ --bindir=DIR user executables [EPREFIX/bin] >++ --sbindir=DIR system admin executables [EPREFIX/sbin] >++ --libexecdir=DIR program executables [EPREFIX/libexec] >++ --sysconfdir=DIR read-only single-machine data [PREFIX/etc] >++ --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] >++ --localstatedir=DIR modifiable single-machine data [PREFIX/var] >++ --libdir=DIR object code libraries [EPREFIX/lib] >++ --includedir=DIR C header files [PREFIX/include] >++ --oldincludedir=DIR C header files for non-gcc [/usr/include] >++ --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] >++ --datadir=DIR read-only architecture-independent data [DATAROOTDIR] >++ --infodir=DIR info documentation [DATAROOTDIR/info] >++ --localedir=DIR locale-dependent data [DATAROOTDIR/locale] >++ --mandir=DIR man documentation [DATAROOTDIR/man] >++ --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] >++ --htmldir=DIR html documentation [DOCDIR] >++ --dvidir=DIR dvi documentation [DOCDIR] >++ --pdfdir=DIR pdf documentation [DOCDIR] >++ --psdir=DIR ps documentation [DOCDIR] >+ _ACEOF >+ >+ cat <<\_ACEOF >+@@ -1295,10 +1377,15 @@ if test -n "$ac_init_help"; then >+ cat <<\_ACEOF >+ >+ Optional Features: >++ --disable-option-checking ignore unrecognized --enable/--with options >+ --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) >+ --enable-FEATURE[=ARG] include FEATURE [ARG=yes] >+- --disable-dependency-tracking speeds up one-time build >+- --enable-dependency-tracking do not reject slow dependency extractors >++ --enable-silent-rules less verbose build output (undo: "make V=1") >++ --disable-silent-rules verbose build output (undo: "make V=0") >++ --enable-dependency-tracking >++ do not reject slow dependency extractors >++ --disable-dependency-tracking >++ speeds up one-time build >+ --enable-form-saving enable form saving/loading support >+ --enable-javascript use javascript interpreter >+ --enable-graphics use graphics >+@@ -1334,7 +1421,7 @@ Some influential environment variables: >+ LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a >+ nonstandard directory <lib dir> >+ LIBS libraries to pass to the linker, e.g. -l<library> >+- CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if >++ CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if >+ you have headers in a nonstandard directory <include dir> >+ CXX C++ compiler command >+ CXXFLAGS C++ compiler flags >+@@ -1344,6 +1431,7 @@ Some influential environment variables: >+ Use these variables to override the choices made by `configure' or to help >+ it to find libraries and programs with nonstandard names/locations. >+ >++Report bugs to the package provider. >+ _ACEOF >+ ac_status=$? >+ fi >+@@ -1351,15 +1439,17 @@ fi >+ if test "$ac_init_help" = "recursive"; then >+ # If there are subdirs, report their specific --help. >+ for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue >+- test -d "$ac_dir" || continue >++ test -d "$ac_dir" || >++ { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || >++ continue >+ ac_builddir=. >+ >+ case "$ac_dir" in >+ .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; >+ *) >+- ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` >++ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` >+ # A ".." for each directory in $ac_dir_suffix. >+- ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` >++ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` >+ case $ac_top_builddir_sub in >+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;; >+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; >+@@ -1395,7 +1485,7 @@ ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_ >+ echo && >+ $SHELL "$ac_srcdir/configure" --help=recursive >+ else >+- echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 >++ $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 >+ fi || ac_status=$? >+ cd "$ac_pwd" || { ac_status=$?; break; } >+ done >+@@ -1405,21 +1495,647 @@ test -n "$ac_init_help" && exit $ac_stat >+ if $ac_init_version; then >+ cat <<\_ACEOF >+ configure >+-generated by GNU Autoconf 2.61 >++generated by GNU Autoconf 2.69 >+ >+-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, >+-2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. >++Copyright (C) 2012 Free Software Foundation, Inc. >+ This configure script is free software; the Free Software Foundation >+ gives unlimited permission to copy, distribute and modify it. >+ _ACEOF >+ exit >+ fi >++ >++## ------------------------ ## >++## Autoconf initialization. ## >++## ------------------------ ## >++ >++# ac_fn_c_try_compile LINENO >++# -------------------------- >++# Try to compile conftest.$ac_ext, and return whether this succeeded. >++ac_fn_c_try_compile () >++{ >++ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack >++ rm -f conftest.$ac_objext >++ if { { ac_try="$ac_compile" >++case "(($ac_try" in >++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >++ *) ac_try_echo=$ac_try;; >++esac >++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" >++$as_echo "$ac_try_echo"; } >&5 >++ (eval "$ac_compile") 2>conftest.err >++ ac_status=$? >++ if test -s conftest.err; then >++ grep -v '^ *+' conftest.err >conftest.er1 >++ cat conftest.er1 >&5 >++ mv -f conftest.er1 conftest.err >++ fi >++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 >++ test $ac_status = 0; } && { >++ test -z "$ac_c_werror_flag" || >++ test ! -s conftest.err >++ } && test -s conftest.$ac_objext; then : >++ ac_retval=0 >++else >++ $as_echo "$as_me: failed program was:" >&5 >++sed 's/^/| /' conftest.$ac_ext >&5 >++ >++ ac_retval=1 >++fi >++ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno >++ as_fn_set_status $ac_retval >++ >++} # ac_fn_c_try_compile >++ >++# ac_fn_cxx_try_compile LINENO >++# ---------------------------- >++# Try to compile conftest.$ac_ext, and return whether this succeeded. >++ac_fn_cxx_try_compile () >++{ >++ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack >++ rm -f conftest.$ac_objext >++ if { { ac_try="$ac_compile" >++case "(($ac_try" in >++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >++ *) ac_try_echo=$ac_try;; >++esac >++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" >++$as_echo "$ac_try_echo"; } >&5 >++ (eval "$ac_compile") 2>conftest.err >++ ac_status=$? >++ if test -s conftest.err; then >++ grep -v '^ *+' conftest.err >conftest.er1 >++ cat conftest.er1 >&5 >++ mv -f conftest.er1 conftest.err >++ fi >++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 >++ test $ac_status = 0; } && { >++ test -z "$ac_cxx_werror_flag" || >++ test ! -s conftest.err >++ } && test -s conftest.$ac_objext; then : >++ ac_retval=0 >++else >++ $as_echo "$as_me: failed program was:" >&5 >++sed 's/^/| /' conftest.$ac_ext >&5 >++ >++ ac_retval=1 >++fi >++ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno >++ as_fn_set_status $ac_retval >++ >++} # ac_fn_cxx_try_compile >++ >++# ac_fn_c_try_link LINENO >++# ----------------------- >++# Try to link conftest.$ac_ext, and return whether this succeeded. >++ac_fn_c_try_link () >++{ >++ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack >++ rm -f conftest.$ac_objext conftest$ac_exeext >++ if { { ac_try="$ac_link" >++case "(($ac_try" in >++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >++ *) ac_try_echo=$ac_try;; >++esac >++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" >++$as_echo "$ac_try_echo"; } >&5 >++ (eval "$ac_link") 2>conftest.err >++ ac_status=$? >++ if test -s conftest.err; then >++ grep -v '^ *+' conftest.err >conftest.er1 >++ cat conftest.er1 >&5 >++ mv -f conftest.er1 conftest.err >++ fi >++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 >++ test $ac_status = 0; } && { >++ test -z "$ac_c_werror_flag" || >++ test ! -s conftest.err >++ } && test -s conftest$ac_exeext && { >++ test "$cross_compiling" = yes || >++ test -x conftest$ac_exeext >++ }; then : >++ ac_retval=0 >++else >++ $as_echo "$as_me: failed program was:" >&5 >++sed 's/^/| /' conftest.$ac_ext >&5 >++ >++ ac_retval=1 >++fi >++ # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information >++ # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would >++ # interfere with the next link command; also delete a directory that is >++ # left behind by Apple's compiler. We do this before executing the actions. >++ rm -rf conftest.dSYM conftest_ipa8_conftest.oo >++ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno >++ as_fn_set_status $ac_retval >++ >++} # ac_fn_c_try_link >++ >++# ac_fn_c_try_cpp LINENO >++# ---------------------- >++# Try to preprocess conftest.$ac_ext, and return whether this succeeded. >++ac_fn_c_try_cpp () >++{ >++ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack >++ if { { ac_try="$ac_cpp conftest.$ac_ext" >++case "(($ac_try" in >++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >++ *) ac_try_echo=$ac_try;; >++esac >++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" >++$as_echo "$ac_try_echo"; } >&5 >++ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err >++ ac_status=$? >++ if test -s conftest.err; then >++ grep -v '^ *+' conftest.err >conftest.er1 >++ cat conftest.er1 >&5 >++ mv -f conftest.er1 conftest.err >++ fi >++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 >++ test $ac_status = 0; } > conftest.i && { >++ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || >++ test ! -s conftest.err >++ }; then : >++ ac_retval=0 >++else >++ $as_echo "$as_me: failed program was:" >&5 >++sed 's/^/| /' conftest.$ac_ext >&5 >++ >++ ac_retval=1 >++fi >++ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno >++ as_fn_set_status $ac_retval >++ >++} # ac_fn_c_try_cpp >++ >++# ac_fn_c_try_run LINENO >++# ---------------------- >++# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes >++# that executables *can* be run. >++ac_fn_c_try_run () >++{ >++ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack >++ if { { ac_try="$ac_link" >++case "(($ac_try" in >++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >++ *) ac_try_echo=$ac_try;; >++esac >++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" >++$as_echo "$ac_try_echo"; } >&5 >++ (eval "$ac_link") 2>&5 >++ ac_status=$? >++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 >++ test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' >++ { { case "(($ac_try" in >++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >++ *) ac_try_echo=$ac_try;; >++esac >++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" >++$as_echo "$ac_try_echo"; } >&5 >++ (eval "$ac_try") 2>&5 >++ ac_status=$? >++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 >++ test $ac_status = 0; }; }; then : >++ ac_retval=0 >++else >++ $as_echo "$as_me: program exited with status $ac_status" >&5 >++ $as_echo "$as_me: failed program was:" >&5 >++sed 's/^/| /' conftest.$ac_ext >&5 >++ >++ ac_retval=$ac_status >++fi >++ rm -rf conftest.dSYM conftest_ipa8_conftest.oo >++ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno >++ as_fn_set_status $ac_retval >++ >++} # ac_fn_c_try_run >++ >++# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES >++# ------------------------------------------------------- >++# Tests whether HEADER exists, giving a warning if it cannot be compiled using >++# the include files in INCLUDES and setting the cache variable VAR >++# accordingly. >++ac_fn_c_check_header_mongrel () >++{ >++ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack >++ if eval \${$3+:} false; then : >++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 >++$as_echo_n "checking for $2... " >&6; } >++if eval \${$3+:} false; then : >++ $as_echo_n "(cached) " >&6 >++fi >++eval ac_res=\$$3 >++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 >++$as_echo "$ac_res" >&6; } >++else >++ # Is the header compilable? >++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 >++$as_echo_n "checking $2 usability... " >&6; } >++cat confdefs.h - <<_ACEOF >conftest.$ac_ext >++/* end confdefs.h. */ >++$4 >++#include <$2> >++_ACEOF >++if ac_fn_c_try_compile "$LINENO"; then : >++ ac_header_compiler=yes >++else >++ ac_header_compiler=no >++fi >++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 >++$as_echo "$ac_header_compiler" >&6; } >++ >++# Is the header present? >++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 >++$as_echo_n "checking $2 presence... " >&6; } >++cat confdefs.h - <<_ACEOF >conftest.$ac_ext >++/* end confdefs.h. */ >++#include <$2> >++_ACEOF >++if ac_fn_c_try_cpp "$LINENO"; then : >++ ac_header_preproc=yes >++else >++ ac_header_preproc=no >++fi >++rm -f conftest.err conftest.i conftest.$ac_ext >++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 >++$as_echo "$ac_header_preproc" >&6; } >++ >++# So? What about this header? >++case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( >++ yes:no: ) >++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 >++$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} >++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 >++$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} >++ ;; >++ no:yes:* ) >++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 >++$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} >++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 >++$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} >++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 >++$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} >++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 >++$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} >++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 >++$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} >++ ;; >++esac >++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 >++$as_echo_n "checking for $2... " >&6; } >++if eval \${$3+:} false; then : >++ $as_echo_n "(cached) " >&6 >++else >++ eval "$3=\$ac_header_compiler" >++fi >++eval ac_res=\$$3 >++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 >++$as_echo "$ac_res" >&6; } >++fi >++ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno >++ >++} # ac_fn_c_check_header_mongrel >++ >++# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES >++# ------------------------------------------------------- >++# Tests whether HEADER exists and can be compiled using the include files in >++# INCLUDES, setting the cache variable VAR accordingly. >++ac_fn_c_check_header_compile () >++{ >++ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack >++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 >++$as_echo_n "checking for $2... " >&6; } >++if eval \${$3+:} false; then : >++ $as_echo_n "(cached) " >&6 >++else >++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext >++/* end confdefs.h. */ >++$4 >++#include <$2> >++_ACEOF >++if ac_fn_c_try_compile "$LINENO"; then : >++ eval "$3=yes" >++else >++ eval "$3=no" >++fi >++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >++fi >++eval ac_res=\$$3 >++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 >++$as_echo "$ac_res" >&6; } >++ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno >++ >++} # ac_fn_c_check_header_compile >++ >++# ac_fn_c_check_type LINENO TYPE VAR INCLUDES >++# ------------------------------------------- >++# Tests whether TYPE exists after having included INCLUDES, setting cache >++# variable VAR accordingly. >++ac_fn_c_check_type () >++{ >++ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack >++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 >++$as_echo_n "checking for $2... " >&6; } >++if eval \${$3+:} false; then : >++ $as_echo_n "(cached) " >&6 >++else >++ eval "$3=no" >++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext >++/* end confdefs.h. */ >++$4 >++int >++main () >++{ >++if (sizeof ($2)) >++ return 0; >++ ; >++ return 0; >++} >++_ACEOF >++if ac_fn_c_try_compile "$LINENO"; then : >++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext >++/* end confdefs.h. */ >++$4 >++int >++main () >++{ >++if (sizeof (($2))) >++ return 0; >++ ; >++ return 0; >++} >++_ACEOF >++if ac_fn_c_try_compile "$LINENO"; then : >++ >++else >++ eval "$3=yes" >++fi >++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >++fi >++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >++fi >++eval ac_res=\$$3 >++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 >++$as_echo "$ac_res" >&6; } >++ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno >++ >++} # ac_fn_c_check_type >++ >++# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES >++# -------------------------------------------- >++# Tries to find the compile-time value of EXPR in a program that includes >++# INCLUDES, setting VAR accordingly. Returns whether the value could be >++# computed >++ac_fn_c_compute_int () >++{ >++ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack >++ if test "$cross_compiling" = yes; then >++ # Depending upon the size, compute the lo and hi bounds. >++cat confdefs.h - <<_ACEOF >conftest.$ac_ext >++/* end confdefs.h. */ >++$4 >++int >++main () >++{ >++static int test_array [1 - 2 * !(($2) >= 0)]; >++test_array [0] = 0; >++return test_array [0]; >++ >++ ; >++ return 0; >++} >++_ACEOF >++if ac_fn_c_try_compile "$LINENO"; then : >++ ac_lo=0 ac_mid=0 >++ while :; do >++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext >++/* end confdefs.h. */ >++$4 >++int >++main () >++{ >++static int test_array [1 - 2 * !(($2) <= $ac_mid)]; >++test_array [0] = 0; >++return test_array [0]; >++ >++ ; >++ return 0; >++} >++_ACEOF >++if ac_fn_c_try_compile "$LINENO"; then : >++ ac_hi=$ac_mid; break >++else >++ as_fn_arith $ac_mid + 1 && ac_lo=$as_val >++ if test $ac_lo -le $ac_mid; then >++ ac_lo= ac_hi= >++ break >++ fi >++ as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val >++fi >++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >++ done >++else >++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext >++/* end confdefs.h. */ >++$4 >++int >++main () >++{ >++static int test_array [1 - 2 * !(($2) < 0)]; >++test_array [0] = 0; >++return test_array [0]; >++ >++ ; >++ return 0; >++} >++_ACEOF >++if ac_fn_c_try_compile "$LINENO"; then : >++ ac_hi=-1 ac_mid=-1 >++ while :; do >++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext >++/* end confdefs.h. */ >++$4 >++int >++main () >++{ >++static int test_array [1 - 2 * !(($2) >= $ac_mid)]; >++test_array [0] = 0; >++return test_array [0]; >++ >++ ; >++ return 0; >++} >++_ACEOF >++if ac_fn_c_try_compile "$LINENO"; then : >++ ac_lo=$ac_mid; break >++else >++ as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val >++ if test $ac_mid -le $ac_hi; then >++ ac_lo= ac_hi= >++ break >++ fi >++ as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val >++fi >++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >++ done >++else >++ ac_lo= ac_hi= >++fi >++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >++fi >++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >++# Binary search between lo and hi bounds. >++while test "x$ac_lo" != "x$ac_hi"; do >++ as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val >++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext >++/* end confdefs.h. */ >++$4 >++int >++main () >++{ >++static int test_array [1 - 2 * !(($2) <= $ac_mid)]; >++test_array [0] = 0; >++return test_array [0]; >++ >++ ; >++ return 0; >++} >++_ACEOF >++if ac_fn_c_try_compile "$LINENO"; then : >++ ac_hi=$ac_mid >++else >++ as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val >++fi >++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >++done >++case $ac_lo in #(( >++?*) eval "$3=\$ac_lo"; ac_retval=0 ;; >++'') ac_retval=1 ;; >++esac >++ else >++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext >++/* end confdefs.h. */ >++$4 >++static long int longval () { return $2; } >++static unsigned long int ulongval () { return $2; } >++#include <stdio.h> >++#include <stdlib.h> >++int >++main () >++{ >++ >++ FILE *f = fopen ("conftest.val", "w"); >++ if (! f) >++ return 1; >++ if (($2) < 0) >++ { >++ long int i = longval (); >++ if (i != ($2)) >++ return 1; >++ fprintf (f, "%ld", i); >++ } >++ else >++ { >++ unsigned long int i = ulongval (); >++ if (i != ($2)) >++ return 1; >++ fprintf (f, "%lu", i); >++ } >++ /* Do not output a trailing newline, as this causes \r\n confusion >++ on some platforms. */ >++ return ferror (f) || fclose (f) != 0; >++ >++ ; >++ return 0; >++} >++_ACEOF >++if ac_fn_c_try_run "$LINENO"; then : >++ echo >>conftest.val; read $3 <conftest.val; ac_retval=0 >++else >++ ac_retval=1 >++fi >++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ >++ conftest.$ac_objext conftest.beam conftest.$ac_ext >++rm -f conftest.val >++ >++ fi >++ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno >++ as_fn_set_status $ac_retval >++ >++} # ac_fn_c_compute_int >++ >++# ac_fn_c_check_func LINENO FUNC VAR >++# ---------------------------------- >++# Tests whether FUNC exists, setting the cache variable VAR accordingly >++ac_fn_c_check_func () >++{ >++ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack >++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 >++$as_echo_n "checking for $2... " >&6; } >++if eval \${$3+:} false; then : >++ $as_echo_n "(cached) " >&6 >++else >++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext >++/* end confdefs.h. */ >++/* Define $2 to an innocuous variant, in case <limits.h> declares $2. >++ For example, HP-UX 11i <limits.h> declares gettimeofday. */ >++#define $2 innocuous_$2 >++ >++/* System header to define __stub macros and hopefully few prototypes, >++ which can conflict with char $2 (); below. >++ Prefer <limits.h> to <assert.h> if __STDC__ is defined, since >++ <limits.h> exists even on freestanding compilers. */ >++ >++#ifdef __STDC__ >++# include <limits.h> >++#else >++# include <assert.h> >++#endif >++ >++#undef $2 >++ >++/* Override any GCC internal prototype to avoid an error. >++ Use char because int might match the return type of a GCC >++ builtin and then its argument prototype would still apply. */ >++#ifdef __cplusplus >++extern "C" >++#endif >++char $2 (); >++/* The GNU C library defines this for functions which it implements >++ to always fail with ENOSYS. Some functions are actually named >++ something starting with __ and the normal name is an alias. */ >++#if defined __stub_$2 || defined __stub___$2 >++choke me >++#endif >++ >++int >++main () >++{ >++return $2 (); >++ ; >++ return 0; >++} >++_ACEOF >++if ac_fn_c_try_link "$LINENO"; then : >++ eval "$3=yes" >++else >++ eval "$3=no" >++fi >++rm -f core conftest.err conftest.$ac_objext \ >++ conftest$ac_exeext conftest.$ac_ext >++fi >++eval ac_res=\$$3 >++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 >++$as_echo "$ac_res" >&6; } >++ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno >++ >++} # ac_fn_c_check_func >+ cat >config.log <<_ACEOF >+ This file contains any messages produced by compilers while >+ running configure, to aid debugging if configure makes a mistake. >+ >+ It was created by $as_me, which was >+-generated by GNU Autoconf 2.61. Invocation command line was >++generated by GNU Autoconf 2.69. Invocation command line was >+ >+ $ $0 $@ >+ >+@@ -1455,8 +2171,8 @@ for as_dir in $PATH >+ do >+ IFS=$as_save_IFS >+ test -z "$as_dir" && as_dir=. >+- echo "PATH: $as_dir" >+-done >++ $as_echo "PATH: $as_dir" >++ done >+ IFS=$as_save_IFS >+ >+ } >&5 >+@@ -1490,12 +2206,12 @@ do >+ | -silent | --silent | --silen | --sile | --sil) >+ continue ;; >+ *\'*) >+- ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; >++ ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; >+ esac >+ case $ac_pass in >+- 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; >++ 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; >+ 2) >+- ac_configure_args1="$ac_configure_args1 '$ac_arg'" >++ as_fn_append ac_configure_args1 " '$ac_arg'" >+ if test $ac_must_keep_next = true; then >+ ac_must_keep_next=false # Got value, back to normal. >+ else >+@@ -1511,13 +2227,13 @@ do >+ -* ) ac_must_keep_next=true ;; >+ esac >+ fi >+- ac_configure_args="$ac_configure_args '$ac_arg'" >++ as_fn_append ac_configure_args " '$ac_arg'" >+ ;; >+ esac >+ done >+ done >+-$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } >+-$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } >++{ ac_configure_args0=; unset ac_configure_args0;} >++{ ac_configure_args1=; unset ac_configure_args1;} >+ >+ # When interrupted or exit'd, cleanup temporary files, and complete >+ # config.log. We remove comments because anyway the quotes in there >+@@ -1529,11 +2245,9 @@ trap 'exit_status=$? >+ { >+ echo >+ >+- cat <<\_ASBOX >+-## ---------------- ## >++ $as_echo "## ---------------- ## >+ ## Cache variables. ## >+-## ---------------- ## >+-_ASBOX >++## ---------------- ##" >+ echo >+ # The following way of writing the cache mishandles newlines in values, >+ ( >+@@ -1542,12 +2256,13 @@ _ASBOX >+ case $ac_val in #( >+ *${as_nl}*) >+ case $ac_var in #( >+- *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 >+-echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; >++ *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 >++$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; >+ esac >+ case $ac_var in #( >+ _ | IFS | as_nl) ;; #( >+- *) $as_unset $ac_var ;; >++ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( >++ *) { eval $ac_var=; unset $ac_var;} ;; >+ esac ;; >+ esac >+ done >+@@ -1566,128 +2281,136 @@ echo "$as_me: WARNING: Cache variable $a >+ ) >+ echo >+ >+- cat <<\_ASBOX >+-## ----------------- ## >++ $as_echo "## ----------------- ## >+ ## Output variables. ## >+-## ----------------- ## >+-_ASBOX >++## ----------------- ##" >+ echo >+ for ac_var in $ac_subst_vars >+ do >+ eval ac_val=\$$ac_var >+ case $ac_val in >+- *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; >++ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; >+ esac >+- echo "$ac_var='\''$ac_val'\''" >++ $as_echo "$ac_var='\''$ac_val'\''" >+ done | sort >+ echo >+ >+ if test -n "$ac_subst_files"; then >+- cat <<\_ASBOX >+-## ------------------- ## >++ $as_echo "## ------------------- ## >+ ## File substitutions. ## >+-## ------------------- ## >+-_ASBOX >++## ------------------- ##" >+ echo >+ for ac_var in $ac_subst_files >+ do >+ eval ac_val=\$$ac_var >+ case $ac_val in >+- *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; >++ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; >+ esac >+- echo "$ac_var='\''$ac_val'\''" >++ $as_echo "$ac_var='\''$ac_val'\''" >+ done | sort >+ echo >+ fi >+ >+ if test -s confdefs.h; then >+- cat <<\_ASBOX >+-## ----------- ## >++ $as_echo "## ----------- ## >+ ## confdefs.h. ## >+-## ----------- ## >+-_ASBOX >++## ----------- ##" >+ echo >+ cat confdefs.h >+ echo >+ fi >+ test "$ac_signal" != 0 && >+- echo "$as_me: caught signal $ac_signal" >+- echo "$as_me: exit $exit_status" >++ $as_echo "$as_me: caught signal $ac_signal" >++ $as_echo "$as_me: exit $exit_status" >+ } >&5 >+ rm -f core *.core core.conftest.* && >+ rm -f -r conftest* confdefs* conf$$* $ac_clean_files && >+ exit $exit_status >+ ' 0 >+ for ac_signal in 1 2 13 15; do >+- trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal >++ trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal >+ done >+ ac_signal=0 >+ >+ # confdefs.h avoids OS command line length limits that DEFS can exceed. >+ rm -f -r conftest* confdefs.h >+ >++$as_echo "/* confdefs.h */" > confdefs.h >++ >+ # Predefined preprocessor variables. >+ >+ cat >>confdefs.h <<_ACEOF >+ #define PACKAGE_NAME "$PACKAGE_NAME" >+ _ACEOF >+ >+- >+ cat >>confdefs.h <<_ACEOF >+ #define PACKAGE_TARNAME "$PACKAGE_TARNAME" >+ _ACEOF >+ >+- >+ cat >>confdefs.h <<_ACEOF >+ #define PACKAGE_VERSION "$PACKAGE_VERSION" >+ _ACEOF >+ >+- >+ cat >>confdefs.h <<_ACEOF >+ #define PACKAGE_STRING "$PACKAGE_STRING" >+ _ACEOF >+ >+- >+ cat >>confdefs.h <<_ACEOF >+ #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" >+ _ACEOF >+ >++cat >>confdefs.h <<_ACEOF >++#define PACKAGE_URL "$PACKAGE_URL" >++_ACEOF >++ >+ >+ # Let the site file select an alternate cache file if it wants to. >+-# Prefer explicitly selected file to automatically selected ones. >++# Prefer an explicitly selected file to automatically selected ones. >++ac_site_file1=NONE >++ac_site_file2=NONE >+ if test -n "$CONFIG_SITE"; then >+- set x "$CONFIG_SITE" >++ # We do not want a PATH search for config.site. >++ case $CONFIG_SITE in #(( >++ -*) ac_site_file1=./$CONFIG_SITE;; >++ */*) ac_site_file1=$CONFIG_SITE;; >++ *) ac_site_file1=./$CONFIG_SITE;; >++ esac >+ elif test "x$prefix" != xNONE; then >+- set x "$prefix/share/config.site" "$prefix/etc/config.site" >++ ac_site_file1=$prefix/share/config.site >++ ac_site_file2=$prefix/etc/config.site >+ else >+- set x "$ac_default_prefix/share/config.site" \ >+- "$ac_default_prefix/etc/config.site" >++ ac_site_file1=$ac_default_prefix/share/config.site >++ ac_site_file2=$ac_default_prefix/etc/config.site >+ fi >+-shift >+-for ac_site_file >++for ac_site_file in "$ac_site_file1" "$ac_site_file2" >+ do >+- if test -r "$ac_site_file"; then >+- { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 >+-echo "$as_me: loading site script $ac_site_file" >&6;} >++ test "x$ac_site_file" = xNONE && continue >++ if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then >++ { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 >++$as_echo "$as_me: loading site script $ac_site_file" >&6;} >+ sed 's/^/| /' "$ac_site_file" >&5 >+- . "$ac_site_file" >++ . "$ac_site_file" \ >++ || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 >++$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} >++as_fn_error $? "failed to load site script $ac_site_file >++See \`config.log' for more details" "$LINENO" 5; } >+ fi >+ done >+ >+ if test -r "$cache_file"; then >+- # Some versions of bash will fail to source /dev/null (special >+- # files actually), so we avoid doing that. >+- if test -f "$cache_file"; then >+- { echo "$as_me:$LINENO: loading cache $cache_file" >&5 >+-echo "$as_me: loading cache $cache_file" >&6;} >++ # Some versions of bash will fail to source /dev/null (special files >++ # actually), so we avoid doing that. DJGPP emulates it as a regular file. >++ if test /dev/null != "$cache_file" && test -f "$cache_file"; then >++ { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 >++$as_echo "$as_me: loading cache $cache_file" >&6;} >+ case $cache_file in >+ [\\/]* | ?:[\\/]* ) . "$cache_file";; >+ *) . "./$cache_file";; >+ esac >+ fi >+ else >+- { echo "$as_me:$LINENO: creating cache $cache_file" >&5 >+-echo "$as_me: creating cache $cache_file" >&6;} >++ { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 >++$as_echo "$as_me: creating cache $cache_file" >&6;} >+ >$cache_file >+ fi >+ >+@@ -1701,60 +2424,56 @@ for ac_var in $ac_precious_vars; do >+ eval ac_new_val=\$ac_env_${ac_var}_value >+ case $ac_old_set,$ac_new_set in >+ set,) >+- { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 >+-echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} >++ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 >++$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} >+ ac_cache_corrupted=: ;; >+ ,set) >+- { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 >+-echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} >++ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 >++$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} >+ ac_cache_corrupted=: ;; >+ ,);; >+ *) >+ if test "x$ac_old_val" != "x$ac_new_val"; then >+- { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 >+-echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} >+- { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 >+-echo "$as_me: former value: $ac_old_val" >&2;} >+- { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 >+-echo "$as_me: current value: $ac_new_val" >&2;} >+- ac_cache_corrupted=: >++ # differences in whitespace do not lead to failure. >++ ac_old_val_w=`echo x $ac_old_val` >++ ac_new_val_w=`echo x $ac_new_val` >++ if test "$ac_old_val_w" != "$ac_new_val_w"; then >++ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 >++$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} >++ ac_cache_corrupted=: >++ else >++ { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 >++$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} >++ eval $ac_var=\$ac_old_val >++ fi >++ { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 >++$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} >++ { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 >++$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} >+ fi;; >+ esac >+ # Pass precious variables to config.status. >+ if test "$ac_new_set" = set; then >+ case $ac_new_val in >+- *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; >++ *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; >+ *) ac_arg=$ac_var=$ac_new_val ;; >+ esac >+ case " $ac_configure_args " in >+ *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. >+- *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; >++ *) as_fn_append ac_configure_args " '$ac_arg'" ;; >+ esac >+ fi >+ done >+ if $ac_cache_corrupted; then >+- { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 >+-echo "$as_me: error: changes in the environment can compromise the build" >&2;} >+- { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 >+-echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} >+- { (exit 1); exit 1; }; } >++ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 >++$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} >++ { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 >++$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} >++ as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 >+ fi >+- >+- >+- >+- >+- >+- >+- >+- >+- >+- >+- >+- >+- >+- >+- >+- >++## -------------------- ## >++## Main body of script. ## >++## -------------------- ## >+ >+ ac_ext=c >+ ac_cpp='$CPP $CPPFLAGS' >+@@ -1764,7 +2483,8 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu >+ >+ >+ >+-am__api_version="1.9" >++am__api_version='1.15' >++ >+ ac_aux_dir= >+ for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do >+ if test -f "$ac_dir/install-sh"; then >+@@ -1782,9 +2502,7 @@ for ac_dir in "$srcdir" "$srcdir/.." "$s >+ fi >+ done >+ if test -z "$ac_aux_dir"; then >+- { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 >+-echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} >+- { (exit 1); exit 1; }; } >++ as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 >+ fi >+ >+ # These three variables are undocumented and unsupported, >+@@ -1809,22 +2527,23 @@ ac_configure="$SHELL $ac_aux_dir/configu >+ # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" >+ # OS/2's system install, which has a completely different semantic >+ # ./install, which can be erroneously created by make from ./install.sh. >+-{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 >+-echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } >++# Reject install programs that cannot install multiple files. >++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 >++$as_echo_n "checking for a BSD-compatible install... " >&6; } >+ if test -z "$INSTALL"; then >+-if test "${ac_cv_path_install+set}" = set; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >++if ${ac_cv_path_install+:} false; then : >++ $as_echo_n "(cached) " >&6 >+ else >+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR >+ for as_dir in $PATH >+ do >+ IFS=$as_save_IFS >+ test -z "$as_dir" && as_dir=. >+- # Account for people who put trailing slashes in PATH elements. >+-case $as_dir/ in >+- ./ | .// | /cC/* | \ >++ # Account for people who put trailing slashes in PATH elements. >++case $as_dir/ in #(( >++ ./ | .// | /[cC]/* | \ >+ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ >+- ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ >++ ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ >+ /usr/ucb/* ) ;; >+ *) >+ # OSF1 and SCO ODT 3.0 have their own names for install. >+@@ -1832,7 +2551,7 @@ case $as_dir/ in >+ # by default. >+ for ac_prog in ginstall scoinst install; do >+ for ac_exec_ext in '' $ac_executable_extensions; do >+- if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then >++ if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then >+ if test $ac_prog = install && >+ grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then >+ # AIX install. It has an incompatible calling convention. >+@@ -1842,17 +2561,29 @@ case $as_dir/ in >+ # program-specific install script used by HP pwplus--don't use. >+ : >+ else >+- ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" >+- break 3 >++ rm -rf conftest.one conftest.two conftest.dir >++ echo one > conftest.one >++ echo two > conftest.two >++ mkdir conftest.dir >++ if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && >++ test -s conftest.one && test -s conftest.two && >++ test -s conftest.dir/conftest.one && >++ test -s conftest.dir/conftest.two >++ then >++ ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" >++ break 3 >++ fi >+ fi >+ fi >+ done >+ done >+ ;; >+ esac >+-done >++ >++ done >+ IFS=$as_save_IFS >+ >++rm -rf conftest.one conftest.two conftest.dir >+ >+ fi >+ if test "${ac_cv_path_install+set}" = set; then >+@@ -1865,8 +2596,8 @@ fi >+ INSTALL=$ac_install_sh >+ fi >+ fi >+-{ echo "$as_me:$LINENO: result: $INSTALL" >&5 >+-echo "${ECHO_T}$INSTALL" >&6; } >++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 >++$as_echo "$INSTALL" >&6; } >+ >+ # Use test -z because SunOS4 sh mishandles braces in ${var-val}. >+ # It thinks the first close brace ends the variable substitution. >+@@ -1876,118 +2607,262 @@ test -z "$INSTALL_SCRIPT" && INSTALL_SCR >+ >+ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' >+ >+-{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5 >+-echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; } >+-# Just in case >+-sleep 1 >+-echo timestamp > conftest.file >+-# Do `set' in a subshell so we don't clobber the current shell's >++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 >++$as_echo_n "checking whether build environment is sane... " >&6; } >++# Reject unsafe characters in $srcdir or the absolute working directory >++# name. Accept space and tab only in the latter. >++am_lf=' >++' >++case `pwd` in >++ *[\\\"\#\$\&\'\`$am_lf]*) >++ as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; >++esac >++case $srcdir in >++ *[\\\"\#\$\&\'\`$am_lf\ \ ]*) >++ as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; >++esac >++ >++# Do 'set' in a subshell so we don't clobber the current shell's >+ # arguments. Must try -L first in case configure is actually a >+ # symlink; some systems play weird games with the mod time of symlinks >+ # (eg FreeBSD returns the mod time of the symlink's containing >+ # directory). >+ if ( >+- set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` >+- if test "$*" = "X"; then >+- # -L didn't work. >+- set X `ls -t $srcdir/configure conftest.file` >+- fi >+- rm -f conftest.file >+- if test "$*" != "X $srcdir/configure conftest.file" \ >+- && test "$*" != "X conftest.file $srcdir/configure"; then >+- >+- # If neither matched, then we have a broken ls. This can happen >+- # if, for instance, CONFIG_SHELL is bash and it inherits a >+- # broken ls alias from the environment. This has actually >+- # happened. Such a system could not be considered "sane". >+- { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken >+-alias in your environment" >&5 >+-echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken >+-alias in your environment" >&2;} >+- { (exit 1); exit 1; }; } >+- fi >++ am_has_slept=no >++ for am_try in 1 2; do >++ echo "timestamp, slept: $am_has_slept" > conftest.file >++ set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` >++ if test "$*" = "X"; then >++ # -L didn't work. >++ set X `ls -t "$srcdir/configure" conftest.file` >++ fi >++ if test "$*" != "X $srcdir/configure conftest.file" \ >++ && test "$*" != "X conftest.file $srcdir/configure"; then >+ >++ # If neither matched, then we have a broken ls. This can happen >++ # if, for instance, CONFIG_SHELL is bash and it inherits a >++ # broken ls alias from the environment. This has actually >++ # happened. Such a system could not be considered "sane". >++ as_fn_error $? "ls -t appears to fail. Make sure there is not a broken >++ alias in your environment" "$LINENO" 5 >++ fi >++ if test "$2" = conftest.file || test $am_try -eq 2; then >++ break >++ fi >++ # Just in case. >++ sleep 1 >++ am_has_slept=yes >++ done >+ test "$2" = conftest.file >+ ) >+ then >+ # Ok. >+ : >+ else >+- { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! >+-Check your system clock" >&5 >+-echo "$as_me: error: newly created file is older than distributed files! >+-Check your system clock" >&2;} >+- { (exit 1); exit 1; }; } >++ as_fn_error $? "newly created file is older than distributed files! >++Check your system clock" "$LINENO" 5 >+ fi >+-{ echo "$as_me:$LINENO: result: yes" >&5 >+-echo "${ECHO_T}yes" >&6; } >++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 >++$as_echo "yes" >&6; } >++# If we didn't sleep, we still need to ensure time stamps of config.status and >++# generated files are strictly newer. >++am_sleep_pid= >++if grep 'slept: no' conftest.file >/dev/null 2>&1; then >++ ( sleep 1 ) & >++ am_sleep_pid=$! >++fi >++ >++rm -f conftest.file >++ >+ test "$program_prefix" != NONE && >+ program_transform_name="s&^&$program_prefix&;$program_transform_name" >+ # Use a double $ so make ignores it. >+ test "$program_suffix" != NONE && >+ program_transform_name="s&\$&$program_suffix&;$program_transform_name" >+-# Double any \ or $. echo might interpret backslashes. >++# Double any \ or $. >+ # By default was `s,x,x', remove it if useless. >+-cat <<\_ACEOF >conftest.sed >+-s/[\\$]/&&/g;s/;s,x,x,$// >+-_ACEOF >+-program_transform_name=`echo $program_transform_name | sed -f conftest.sed` >+-rm -f conftest.sed >++ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' >++program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` >+ >+-# expand $ac_aux_dir to an absolute path >+-am_aux_dir=`cd $ac_aux_dir && pwd` >++# Expand $ac_aux_dir to an absolute path. >++am_aux_dir=`cd "$ac_aux_dir" && pwd` >+ >+-test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" >++if test x"${MISSING+set}" != xset; then >++ case $am_aux_dir in >++ *\ * | *\ *) >++ MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; >++ *) >++ MISSING="\${SHELL} $am_aux_dir/missing" ;; >++ esac >++fi >+ # Use eval to expand $SHELL >+-if eval "$MISSING --run true"; then >+- am_missing_run="$MISSING --run " >++if eval "$MISSING --is-lightweight"; then >++ am_missing_run="$MISSING " >+ else >+ am_missing_run= >+- { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 >+-echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} >++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 >++$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} >+ fi >+ >+-if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then >+- # We used to keeping the `.' as first argument, in order to >+- # allow $(mkdir_p) to be used without argument. As in >+- # $(mkdir_p) $(somedir) >+- # where $(somedir) is conditionally defined. However this is wrong >+- # for two reasons: >+- # 1. if the package is installed by a user who cannot write `.' >+- # make install will fail, >+- # 2. the above comment should most certainly read >+- # $(mkdir_p) $(DESTDIR)$(somedir) >+- # so it does not work when $(somedir) is undefined and >+- # $(DESTDIR) is not. >+- # To support the latter case, we have to write >+- # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), >+- # so the `.' trick is pointless. >+- mkdir_p='mkdir -p --' >++if test x"${install_sh+set}" != xset; then >++ case $am_aux_dir in >++ *\ * | *\ *) >++ install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; >++ *) >++ install_sh="\${SHELL} $am_aux_dir/install-sh" >++ esac >++fi >++ >++# Installed binaries are usually stripped using 'strip' when the user >++# run "make install-strip". However 'strip' might not be the right >++# tool to use in cross-compilation environments, therefore Automake >++# will honor the 'STRIP' environment variable to overrule this program. >++if test "$cross_compiling" != no; then >++ if test -n "$ac_tool_prefix"; then >++ # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. >++set dummy ${ac_tool_prefix}strip; ac_word=$2 >++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 >++$as_echo_n "checking for $ac_word... " >&6; } >++if ${ac_cv_prog_STRIP+:} false; then : >++ $as_echo_n "(cached) " >&6 >+ else >+- # On NextStep and OpenStep, the `mkdir' command does not >+- # recognize any option. It will interpret all options as >+- # directories to create, and then abort because `.' already >+- # exists. >+- for d in ./-p ./--version; >+- do >+- test -d $d && rmdir $d >++ if test -n "$STRIP"; then >++ ac_cv_prog_STRIP="$STRIP" # Let the user override the test. >++else >++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR >++for as_dir in $PATH >++do >++ IFS=$as_save_IFS >++ test -z "$as_dir" && as_dir=. >++ for ac_exec_ext in '' $ac_executable_extensions; do >++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then >++ ac_cv_prog_STRIP="${ac_tool_prefix}strip" >++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 >++ break 2 >++ fi >++done >+ done >+- # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. >+- if test -f "$ac_aux_dir/mkinstalldirs"; then >+- mkdir_p='$(mkinstalldirs)' >++IFS=$as_save_IFS >++ >++fi >++fi >++STRIP=$ac_cv_prog_STRIP >++if test -n "$STRIP"; then >++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 >++$as_echo "$STRIP" >&6; } >++else >++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 >++$as_echo "no" >&6; } >++fi >++ >++ >++fi >++if test -z "$ac_cv_prog_STRIP"; then >++ ac_ct_STRIP=$STRIP >++ # Extract the first word of "strip", so it can be a program name with args. >++set dummy strip; ac_word=$2 >++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 >++$as_echo_n "checking for $ac_word... " >&6; } >++if ${ac_cv_prog_ac_ct_STRIP+:} false; then : >++ $as_echo_n "(cached) " >&6 >++else >++ if test -n "$ac_ct_STRIP"; then >++ ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. >++else >++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR >++for as_dir in $PATH >++do >++ IFS=$as_save_IFS >++ test -z "$as_dir" && as_dir=. >++ for ac_exec_ext in '' $ac_executable_extensions; do >++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then >++ ac_cv_prog_ac_ct_STRIP="strip" >++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 >++ break 2 >++ fi >++done >++ done >++IFS=$as_save_IFS >++ >++fi >++fi >++ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP >++if test -n "$ac_ct_STRIP"; then >++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 >++$as_echo "$ac_ct_STRIP" >&6; } >++else >++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 >++$as_echo "no" >&6; } >++fi >++ >++ if test "x$ac_ct_STRIP" = x; then >++ STRIP=":" >+ else >+- mkdir_p='$(install_sh) -d' >++ case $cross_compiling:$ac_tool_warned in >++yes:) >++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 >++$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} >++ac_tool_warned=yes ;; >++esac >++ STRIP=$ac_ct_STRIP >++ fi >++else >++ STRIP="$ac_cv_prog_STRIP" >++fi >++ >++fi >++INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" >++ >++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 >++$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } >++if test -z "$MKDIR_P"; then >++ if ${ac_cv_path_mkdir+:} false; then : >++ $as_echo_n "(cached) " >&6 >++else >++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR >++for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin >++do >++ IFS=$as_save_IFS >++ test -z "$as_dir" && as_dir=. >++ for ac_prog in mkdir gmkdir; do >++ for ac_exec_ext in '' $ac_executable_extensions; do >++ as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue >++ case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( >++ 'mkdir (GNU coreutils) '* | \ >++ 'mkdir (coreutils) '* | \ >++ 'mkdir (fileutils) '4.1*) >++ ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext >++ break 3;; >++ esac >++ done >++ done >++ done >++IFS=$as_save_IFS >++ >++fi >++ >++ test -d ./--version && rmdir ./--version >++ if test "${ac_cv_path_mkdir+set}" = set; then >++ MKDIR_P="$ac_cv_path_mkdir -p" >++ else >++ # As a last resort, use the slow shell script. Don't cache a >++ # value for MKDIR_P within a source directory, because that will >++ # break other packages using the cache if that directory is >++ # removed, or if the value is a relative name. >++ MKDIR_P="$ac_install_sh -d" >+ fi >+ fi >++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 >++$as_echo "$MKDIR_P" >&6; } >+ >+ for ac_prog in gawk mawk nawk awk >+ do >+ # Extract the first word of "$ac_prog", so it can be a program name with args. >+ set dummy $ac_prog; ac_word=$2 >+-{ echo "$as_me:$LINENO: checking for $ac_word" >&5 >+-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } >+-if test "${ac_cv_prog_AWK+set}" = set; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 >++$as_echo_n "checking for $ac_word... " >&6; } >++if ${ac_cv_prog_AWK+:} false; then : >++ $as_echo_n "(cached) " >&6 >+ else >+ if test -n "$AWK"; then >+ ac_cv_prog_AWK="$AWK" # Let the user override the test. >+@@ -1997,43 +2872,44 @@ for as_dir in $PATH >+ do >+ IFS=$as_save_IFS >+ test -z "$as_dir" && as_dir=. >+- for ac_exec_ext in '' $ac_executable_extensions; do >+- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then >++ for ac_exec_ext in '' $ac_executable_extensions; do >++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then >+ ac_cv_prog_AWK="$ac_prog" >+- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 >++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 >+ break 2 >+ fi >+ done >+-done >++ done >+ IFS=$as_save_IFS >+ >+ fi >+ fi >+ AWK=$ac_cv_prog_AWK >+ if test -n "$AWK"; then >+- { echo "$as_me:$LINENO: result: $AWK" >&5 >+-echo "${ECHO_T}$AWK" >&6; } >++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 >++$as_echo "$AWK" >&6; } >+ else >+- { echo "$as_me:$LINENO: result: no" >&5 >+-echo "${ECHO_T}no" >&6; } >++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 >++$as_echo "no" >&6; } >+ fi >+ >+ >+ test -n "$AWK" && break >+ done >+ >+-{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 >+-echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } >+-set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` >+-if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 >++$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } >++set x ${MAKE-make} >++ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` >++if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : >++ $as_echo_n "(cached) " >&6 >+ else >+ cat >conftest.make <<\_ACEOF >+ SHELL = /bin/sh >+ all: >+ @echo '@@@%%%=$(MAKE)=@@@%%%' >+ _ACEOF >+-# GNU make sometimes prints "make[1]: Entering...", which would confuse us. >++# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. >+ case `${MAKE-make} -f conftest.make 2>/dev/null` in >+ *@@@%%%=?*=@@@%%%*) >+ eval ac_cv_prog_make_${ac_make}_set=yes;; >+@@ -2043,12 +2919,12 @@ esac >+ rm -f conftest.make >+ fi >+ if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then >+- { echo "$as_me:$LINENO: result: yes" >&5 >+-echo "${ECHO_T}yes" >&6; } >++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 >++$as_echo "yes" >&6; } >+ SET_MAKE= >+ else >+- { echo "$as_me:$LINENO: result: no" >&5 >+-echo "${ECHO_T}no" >&6; } >++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 >++$as_echo "no" >&6; } >+ SET_MAKE="MAKE=${MAKE-make}" >+ fi >+ >+@@ -2061,12 +2937,53 @@ else >+ fi >+ rmdir .tst 2>/dev/null >+ >+-# test to see if srcdir already configured >+-if test "`cd $srcdir && pwd`" != "`pwd`" && >+- test -f $srcdir/config.status; then >+- { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 >+-echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} >+- { (exit 1); exit 1; }; } >++# Check whether --enable-silent-rules was given. >++if test "${enable_silent_rules+set}" = set; then : >++ enableval=$enable_silent_rules; >++fi >++ >++case $enable_silent_rules in # ((( >++ yes) AM_DEFAULT_VERBOSITY=0;; >++ no) AM_DEFAULT_VERBOSITY=1;; >++ *) AM_DEFAULT_VERBOSITY=1;; >++esac >++am_make=${MAKE-make} >++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 >++$as_echo_n "checking whether $am_make supports nested variables... " >&6; } >++if ${am_cv_make_support_nested_variables+:} false; then : >++ $as_echo_n "(cached) " >&6 >++else >++ if $as_echo 'TRUE=$(BAR$(V)) >++BAR0=false >++BAR1=true >++V=1 >++am__doit: >++ @$(TRUE) >++.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then >++ am_cv_make_support_nested_variables=yes >++else >++ am_cv_make_support_nested_variables=no >++fi >++fi >++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 >++$as_echo "$am_cv_make_support_nested_variables" >&6; } >++if test $am_cv_make_support_nested_variables = yes; then >++ AM_V='$(V)' >++ AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' >++else >++ AM_V=$AM_DEFAULT_VERBOSITY >++ AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY >++fi >++AM_BACKSLASH='\' >++ >++if test "`cd $srcdir && pwd`" != "`pwd`"; then >++ # Use -I$(srcdir) only when $(srcdir) != ., so that make's output >++ # is not polluted with repeated "-I." >++ am__isrc=' -I$(srcdir)' >++ # test to see if srcdir already configured >++ if test -f $srcdir/config.status; then >++ as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 >++ fi >+ fi >+ >+ # test whether we have cygpath >+@@ -2080,6 +2997,7 @@ fi >+ >+ >+ # Define the identity of the package. >++ >+ PACKAGE=links-hacked >+ VERSION=030709 >+ >+@@ -2109,123 +3027,70 @@ AUTOHEADER=${AUTOHEADER-"${am_missing_ru >+ >+ MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} >+ >+-install_sh=${install_sh-"$am_aux_dir/install-sh"} >++# For better backward compatibility. To be removed once Automake 1.9.x >++# dies out for good. For more background, see: >++# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> >++# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> >++mkdir_p='$(MKDIR_P)' >+ >+-# Installed binaries are usually stripped using `strip' when the user >+-# run `make install-strip'. However `strip' might not be the right >+-# tool to use in cross-compilation environments, therefore Automake >+-# will honor the `STRIP' environment variable to overrule this program. >+-if test "$cross_compiling" != no; then >+- if test -n "$ac_tool_prefix"; then >+- # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. >+-set dummy ${ac_tool_prefix}strip; ac_word=$2 >+-{ echo "$as_me:$LINENO: checking for $ac_word" >&5 >+-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } >+-if test "${ac_cv_prog_STRIP+set}" = set; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-else >+- if test -n "$STRIP"; then >+- ac_cv_prog_STRIP="$STRIP" # Let the user override the test. >+-else >+-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR >+-for as_dir in $PATH >+-do >+- IFS=$as_save_IFS >+- test -z "$as_dir" && as_dir=. >+- for ac_exec_ext in '' $ac_executable_extensions; do >+- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then >+- ac_cv_prog_STRIP="${ac_tool_prefix}strip" >+- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 >+- break 2 >+- fi >+-done >+-done >+-IFS=$as_save_IFS >++# We need awk for the "check" target (and possibly the TAP driver). The >++# system "awk" is bad on some platforms. >++# Always define AMTAR for backward compatibility. Yes, it's still used >++# in the wild :-( We should find a proper way to deprecate it ... >++AMTAR='$${TAR-tar}' >+ >+-fi >+-fi >+-STRIP=$ac_cv_prog_STRIP >+-if test -n "$STRIP"; then >+- { echo "$as_me:$LINENO: result: $STRIP" >&5 >+-echo "${ECHO_T}$STRIP" >&6; } >+-else >+- { echo "$as_me:$LINENO: result: no" >&5 >+-echo "${ECHO_T}no" >&6; } >+-fi >+ >++# We'll loop over all known methods to create a tar archive until one works. >++_am_tools='gnutar pax cpio none' >+ >+-fi >+-if test -z "$ac_cv_prog_STRIP"; then >+- ac_ct_STRIP=$STRIP >+- # Extract the first word of "strip", so it can be a program name with args. >+-set dummy strip; ac_word=$2 >+-{ echo "$as_me:$LINENO: checking for $ac_word" >&5 >+-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } >+-if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-else >+- if test -n "$ac_ct_STRIP"; then >+- ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. >+-else >+-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR >+-for as_dir in $PATH >+-do >+- IFS=$as_save_IFS >+- test -z "$as_dir" && as_dir=. >+- for ac_exec_ext in '' $ac_executable_extensions; do >+- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then >+- ac_cv_prog_ac_ct_STRIP="strip" >+- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 >+- break 2 >+- fi >+-done >+-done >+-IFS=$as_save_IFS >++am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' >+ >+-fi >+-fi >+-ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP >+-if test -n "$ac_ct_STRIP"; then >+- { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 >+-echo "${ECHO_T}$ac_ct_STRIP" >&6; } >+-else >+- { echo "$as_me:$LINENO: result: no" >&5 >+-echo "${ECHO_T}no" >&6; } >+-fi >+ >+- if test "x$ac_ct_STRIP" = x; then >+- STRIP=":" >+- else >+- case $cross_compiling:$ac_tool_warned in >+-yes:) >+-{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools >+-whose name does not start with the host triplet. If you think this >+-configuration is useful to you, please write to autoconf@gnu.org." >&5 >+-echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools >+-whose name does not start with the host triplet. If you think this >+-configuration is useful to you, please write to autoconf@gnu.org." >&2;} >+-ac_tool_warned=yes ;; >+-esac >+- STRIP=$ac_ct_STRIP >+- fi >+-else >+- STRIP="$ac_cv_prog_STRIP" >+-fi >+ >+-fi >+-INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" >+ >+-# We need awk for the "check" target. The system "awk" is bad on >+-# some platforms. >+-# Always define AMTAR for backward compatibility. >+ >+-AMTAR=${AMTAR-"${am_missing_run}tar"} >+ >+-am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' >++# POSIX will say in a future version that running "rm -f" with no argument >++# is OK; and we want to be able to make that assumption in our Makefile >++# recipes. So use an aggressive probe to check that the usage we want is >++# actually supported "in the wild" to an acceptable degree. >++# See automake bug#10828. >++# To make any issue more visible, cause the running configure to be aborted >++# by default if the 'rm' program in use doesn't match our expectations; the >++# user can still override this though. >++if rm -f && rm -fr && rm -rf; then : OK; else >++ cat >&2 <<'END' >++Oops! >+ >++Your 'rm' program seems unable to run without file operands specified >++on the command line, even when the '-f' option is present. This is contrary >++to the behaviour of most rm programs out there, and not conforming with >++the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> >+ >++Please tell bug-automake@gnu.org about your system, including the value >++of your $PATH and any error possibly output before this message. This >++can help us improve future automake versions. >+ >++END >++ if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then >++ echo 'Configuration will proceed anyway, since you have set the' >&2 >++ echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 >++ echo >&2 >++ else >++ cat >&2 <<'END' >++Aborting the configuration process, to ensure you take notice of the issue. >++ >++You can download and install GNU coreutils to get an 'rm' implementation >++that behaves properly: <http://www.gnu.org/software/coreutils/>. >++ >++If you want to complete the configuration process using your problematic >++'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM >++to "yes", and re-run configure. >+ >++END >++ as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 >++ fi >++fi >+ >+ >+ #ACLOCAL="$missing_dir/missing aclocal" >+@@ -2245,10 +3110,10 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu >+ if test -n "$ac_tool_prefix"; then >+ # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. >+ set dummy ${ac_tool_prefix}gcc; ac_word=$2 >+-{ echo "$as_me:$LINENO: checking for $ac_word" >&5 >+-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } >+-if test "${ac_cv_prog_CC+set}" = set; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 >++$as_echo_n "checking for $ac_word... " >&6; } >++if ${ac_cv_prog_CC+:} false; then : >++ $as_echo_n "(cached) " >&6 >+ else >+ if test -n "$CC"; then >+ ac_cv_prog_CC="$CC" # Let the user override the test. >+@@ -2258,25 +3123,25 @@ for as_dir in $PATH >+ do >+ IFS=$as_save_IFS >+ test -z "$as_dir" && as_dir=. >+- for ac_exec_ext in '' $ac_executable_extensions; do >+- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then >++ for ac_exec_ext in '' $ac_executable_extensions; do >++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then >+ ac_cv_prog_CC="${ac_tool_prefix}gcc" >+- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 >++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 >+ break 2 >+ fi >+ done >+-done >++ done >+ IFS=$as_save_IFS >+ >+ fi >+ fi >+ CC=$ac_cv_prog_CC >+ if test -n "$CC"; then >+- { echo "$as_me:$LINENO: result: $CC" >&5 >+-echo "${ECHO_T}$CC" >&6; } >++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 >++$as_echo "$CC" >&6; } >+ else >+- { echo "$as_me:$LINENO: result: no" >&5 >+-echo "${ECHO_T}no" >&6; } >++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 >++$as_echo "no" >&6; } >+ fi >+ >+ >+@@ -2285,10 +3150,10 @@ if test -z "$ac_cv_prog_CC"; then >+ ac_ct_CC=$CC >+ # Extract the first word of "gcc", so it can be a program name with args. >+ set dummy gcc; ac_word=$2 >+-{ echo "$as_me:$LINENO: checking for $ac_word" >&5 >+-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } >+-if test "${ac_cv_prog_ac_ct_CC+set}" = set; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 >++$as_echo_n "checking for $ac_word... " >&6; } >++if ${ac_cv_prog_ac_ct_CC+:} false; then : >++ $as_echo_n "(cached) " >&6 >+ else >+ if test -n "$ac_ct_CC"; then >+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. >+@@ -2298,25 +3163,25 @@ for as_dir in $PATH >+ do >+ IFS=$as_save_IFS >+ test -z "$as_dir" && as_dir=. >+- for ac_exec_ext in '' $ac_executable_extensions; do >+- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then >++ for ac_exec_ext in '' $ac_executable_extensions; do >++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then >+ ac_cv_prog_ac_ct_CC="gcc" >+- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 >++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 >+ break 2 >+ fi >+ done >+-done >++ done >+ IFS=$as_save_IFS >+ >+ fi >+ fi >+ ac_ct_CC=$ac_cv_prog_ac_ct_CC >+ if test -n "$ac_ct_CC"; then >+- { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 >+-echo "${ECHO_T}$ac_ct_CC" >&6; } >++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 >++$as_echo "$ac_ct_CC" >&6; } >+ else >+- { echo "$as_me:$LINENO: result: no" >&5 >+-echo "${ECHO_T}no" >&6; } >++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 >++$as_echo "no" >&6; } >+ fi >+ >+ if test "x$ac_ct_CC" = x; then >+@@ -2324,12 +3189,8 @@ fi >+ else >+ case $cross_compiling:$ac_tool_warned in >+ yes:) >+-{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools >+-whose name does not start with the host triplet. If you think this >+-configuration is useful to you, please write to autoconf@gnu.org." >&5 >+-echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools >+-whose name does not start with the host triplet. If you think this >+-configuration is useful to you, please write to autoconf@gnu.org." >&2;} >++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 >++$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} >+ ac_tool_warned=yes ;; >+ esac >+ CC=$ac_ct_CC >+@@ -2342,10 +3203,10 @@ if test -z "$CC"; then >+ if test -n "$ac_tool_prefix"; then >+ # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. >+ set dummy ${ac_tool_prefix}cc; ac_word=$2 >+-{ echo "$as_me:$LINENO: checking for $ac_word" >&5 >+-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } >+-if test "${ac_cv_prog_CC+set}" = set; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 >++$as_echo_n "checking for $ac_word... " >&6; } >++if ${ac_cv_prog_CC+:} false; then : >++ $as_echo_n "(cached) " >&6 >+ else >+ if test -n "$CC"; then >+ ac_cv_prog_CC="$CC" # Let the user override the test. >+@@ -2355,25 +3216,25 @@ for as_dir in $PATH >+ do >+ IFS=$as_save_IFS >+ test -z "$as_dir" && as_dir=. >+- for ac_exec_ext in '' $ac_executable_extensions; do >+- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then >++ for ac_exec_ext in '' $ac_executable_extensions; do >++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then >+ ac_cv_prog_CC="${ac_tool_prefix}cc" >+- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 >++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 >+ break 2 >+ fi >+ done >+-done >++ done >+ IFS=$as_save_IFS >+ >+ fi >+ fi >+ CC=$ac_cv_prog_CC >+ if test -n "$CC"; then >+- { echo "$as_me:$LINENO: result: $CC" >&5 >+-echo "${ECHO_T}$CC" >&6; } >++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 >++$as_echo "$CC" >&6; } >+ else >+- { echo "$as_me:$LINENO: result: no" >&5 >+-echo "${ECHO_T}no" >&6; } >++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 >++$as_echo "no" >&6; } >+ fi >+ >+ >+@@ -2382,10 +3243,10 @@ fi >+ if test -z "$CC"; then >+ # Extract the first word of "cc", so it can be a program name with args. >+ set dummy cc; ac_word=$2 >+-{ echo "$as_me:$LINENO: checking for $ac_word" >&5 >+-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } >+-if test "${ac_cv_prog_CC+set}" = set; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 >++$as_echo_n "checking for $ac_word... " >&6; } >++if ${ac_cv_prog_CC+:} false; then : >++ $as_echo_n "(cached) " >&6 >+ else >+ if test -n "$CC"; then >+ ac_cv_prog_CC="$CC" # Let the user override the test. >+@@ -2396,18 +3257,18 @@ for as_dir in $PATH >+ do >+ IFS=$as_save_IFS >+ test -z "$as_dir" && as_dir=. >+- for ac_exec_ext in '' $ac_executable_extensions; do >+- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then >++ for ac_exec_ext in '' $ac_executable_extensions; do >++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then >+ if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then >+ ac_prog_rejected=yes >+ continue >+ fi >+ ac_cv_prog_CC="cc" >+- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 >++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 >+ break 2 >+ fi >+ done >+-done >++ done >+ IFS=$as_save_IFS >+ >+ if test $ac_prog_rejected = yes; then >+@@ -2426,11 +3287,11 @@ fi >+ fi >+ CC=$ac_cv_prog_CC >+ if test -n "$CC"; then >+- { echo "$as_me:$LINENO: result: $CC" >&5 >+-echo "${ECHO_T}$CC" >&6; } >++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 >++$as_echo "$CC" >&6; } >+ else >+- { echo "$as_me:$LINENO: result: no" >&5 >+-echo "${ECHO_T}no" >&6; } >++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 >++$as_echo "no" >&6; } >+ fi >+ >+ >+@@ -2441,10 +3302,10 @@ if test -z "$CC"; then >+ do >+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. >+ set dummy $ac_tool_prefix$ac_prog; ac_word=$2 >+-{ echo "$as_me:$LINENO: checking for $ac_word" >&5 >+-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } >+-if test "${ac_cv_prog_CC+set}" = set; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 >++$as_echo_n "checking for $ac_word... " >&6; } >++if ${ac_cv_prog_CC+:} false; then : >++ $as_echo_n "(cached) " >&6 >+ else >+ if test -n "$CC"; then >+ ac_cv_prog_CC="$CC" # Let the user override the test. >+@@ -2454,25 +3315,25 @@ for as_dir in $PATH >+ do >+ IFS=$as_save_IFS >+ test -z "$as_dir" && as_dir=. >+- for ac_exec_ext in '' $ac_executable_extensions; do >+- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then >++ for ac_exec_ext in '' $ac_executable_extensions; do >++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then >+ ac_cv_prog_CC="$ac_tool_prefix$ac_prog" >+- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 >++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 >+ break 2 >+ fi >+ done >+-done >++ done >+ IFS=$as_save_IFS >+ >+ fi >+ fi >+ CC=$ac_cv_prog_CC >+ if test -n "$CC"; then >+- { echo "$as_me:$LINENO: result: $CC" >&5 >+-echo "${ECHO_T}$CC" >&6; } >++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 >++$as_echo "$CC" >&6; } >+ else >+- { echo "$as_me:$LINENO: result: no" >&5 >+-echo "${ECHO_T}no" >&6; } >++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 >++$as_echo "no" >&6; } >+ fi >+ >+ >+@@ -2485,10 +3346,10 @@ if test -z "$CC"; then >+ do >+ # Extract the first word of "$ac_prog", so it can be a program name with args. >+ set dummy $ac_prog; ac_word=$2 >+-{ echo "$as_me:$LINENO: checking for $ac_word" >&5 >+-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } >+-if test "${ac_cv_prog_ac_ct_CC+set}" = set; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 >++$as_echo_n "checking for $ac_word... " >&6; } >++if ${ac_cv_prog_ac_ct_CC+:} false; then : >++ $as_echo_n "(cached) " >&6 >+ else >+ if test -n "$ac_ct_CC"; then >+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. >+@@ -2498,25 +3359,25 @@ for as_dir in $PATH >+ do >+ IFS=$as_save_IFS >+ test -z "$as_dir" && as_dir=. >+- for ac_exec_ext in '' $ac_executable_extensions; do >+- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then >++ for ac_exec_ext in '' $ac_executable_extensions; do >++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then >+ ac_cv_prog_ac_ct_CC="$ac_prog" >+- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 >++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 >+ break 2 >+ fi >+ done >+-done >++ done >+ IFS=$as_save_IFS >+ >+ fi >+ fi >+ ac_ct_CC=$ac_cv_prog_ac_ct_CC >+ if test -n "$ac_ct_CC"; then >+- { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 >+-echo "${ECHO_T}$ac_ct_CC" >&6; } >++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 >++$as_echo "$ac_ct_CC" >&6; } >+ else >+- { echo "$as_me:$LINENO: result: no" >&5 >+-echo "${ECHO_T}no" >&6; } >++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 >++$as_echo "no" >&6; } >+ fi >+ >+ >+@@ -2528,12 +3389,8 @@ done >+ else >+ case $cross_compiling:$ac_tool_warned in >+ yes:) >+-{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools >+-whose name does not start with the host triplet. If you think this >+-configuration is useful to you, please write to autoconf@gnu.org." >&5 >+-echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools >+-whose name does not start with the host triplet. If you think this >+-configuration is useful to you, please write to autoconf@gnu.org." >&2;} >++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 >++$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} >+ ac_tool_warned=yes ;; >+ esac >+ CC=$ac_ct_CC >+@@ -2543,51 +3400,37 @@ fi >+ fi >+ >+ >+-test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH >+-See \`config.log' for more details." >&5 >+-echo "$as_me: error: no acceptable C compiler found in \$PATH >+-See \`config.log' for more details." >&2;} >+- { (exit 1); exit 1; }; } >++test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 >++$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} >++as_fn_error $? "no acceptable C compiler found in \$PATH >++See \`config.log' for more details" "$LINENO" 5; } >+ >+ # Provide some information about the compiler. >+-echo "$as_me:$LINENO: checking for C compiler version" >&5 >+-ac_compiler=`set X $ac_compile; echo $2` >+-{ (ac_try="$ac_compiler --version >&5" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compiler --version >&5") 2>&5 >+- ac_status=$? >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } >+-{ (ac_try="$ac_compiler -v >&5" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compiler -v >&5") 2>&5 >+- ac_status=$? >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } >+-{ (ac_try="$ac_compiler -V >&5" >++$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 >++set X $ac_compile >++ac_compiler=$2 >++for ac_option in --version -v -V -qversion; do >++ { { ac_try="$ac_compiler $ac_option >&5" >+ case "(($ac_try" in >+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+ *) ac_try_echo=$ac_try;; >+ esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compiler -V >&5") 2>&5 >++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" >++$as_echo "$ac_try_echo"; } >&5 >++ (eval "$ac_compiler $ac_option >&5") 2>conftest.err >+ ac_status=$? >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } >++ if test -s conftest.err; then >++ sed '10a\ >++... rest of stderr output deleted ... >++ 10q' conftest.err >conftest.er1 >++ cat conftest.er1 >&5 >++ fi >++ rm -f conftest.er1 conftest.err >++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 >++ test $ac_status = 0; } >++done >+ >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >++cat confdefs.h - <<_ACEOF >conftest.$ac_ext >+ /* end confdefs.h. */ >+ >+ int >+@@ -2599,42 +3442,38 @@ main () >+ } >+ _ACEOF >+ ac_clean_files_save=$ac_clean_files >+-ac_clean_files="$ac_clean_files a.out a.exe b.out" >++ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" >+ # Try to create an executable without -o first, disregard a.out. >+ # It will help us diagnose broken compilers, and finding out an intuition >+ # of exeext. >+-{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 >+-echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } >+-ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` >+-# >+-# List of possible output files, starting from the most likely. >+-# The algorithm is not robust to junk in `.', hence go to wildcards (a.*) >+-# only as a last resort. b.out is created by i960 compilers. >+-ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' >+-# >+-# The IRIX 6 linker writes into existing files which may not be >+-# executable, retaining their permissions. Remove them first so a >+-# subsequent execution test works. >++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 >++$as_echo_n "checking whether the C compiler works... " >&6; } >++ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` >++ >++# The possible output files: >++ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" >++ >+ ac_rmfiles= >+ for ac_file in $ac_files >+ do >+ case $ac_file in >+- *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; >++ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; >+ * ) ac_rmfiles="$ac_rmfiles $ac_file";; >+ esac >+ done >+ rm -f $ac_rmfiles >+ >+-if { (ac_try="$ac_link_default" >++if { { ac_try="$ac_link_default" >+ case "(($ac_try" in >+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+ *) ac_try_echo=$ac_try;; >+ esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" >++$as_echo "$ac_try_echo"; } >&5 >+ (eval "$ac_link_default") 2>&5 >+ ac_status=$? >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); }; then >++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 >++ test $ac_status = 0; }; then : >+ # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. >+ # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' >+ # in a Makefile. We should not override ac_cv_exeext if it was cached, >+@@ -2644,14 +3483,14 @@ for ac_file in $ac_files '' >+ do >+ test -f "$ac_file" || continue >+ case $ac_file in >+- *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) >++ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) >+ ;; >+ [ab].out ) >+ # We found the default executable, but exeext='' is most >+ # certainly right. >+ break;; >+ *.* ) >+- if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; >++ if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; >+ then :; else >+ ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` >+ fi >+@@ -2670,78 +3509,41 @@ test "$ac_cv_exeext" = no && ac_cv_exeex >+ else >+ ac_file='' >+ fi >+- >+-{ echo "$as_me:$LINENO: result: $ac_file" >&5 >+-echo "${ECHO_T}$ac_file" >&6; } >+-if test -z "$ac_file"; then >+- echo "$as_me: failed program was:" >&5 >++if test -z "$ac_file"; then : >++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 >++$as_echo "no" >&6; } >++$as_echo "$as_me: failed program was:" >&5 >+ sed 's/^/| /' conftest.$ac_ext >&5 >+ >+-{ { echo "$as_me:$LINENO: error: C compiler cannot create executables >+-See \`config.log' for more details." >&5 >+-echo "$as_me: error: C compiler cannot create executables >+-See \`config.log' for more details." >&2;} >+- { (exit 77); exit 77; }; } >++{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 >++$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} >++as_fn_error 77 "C compiler cannot create executables >++See \`config.log' for more details" "$LINENO" 5; } >++else >++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 >++$as_echo "yes" >&6; } >+ fi >+- >++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 >++$as_echo_n "checking for C compiler default output file name... " >&6; } >++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 >++$as_echo "$ac_file" >&6; } >+ ac_exeext=$ac_cv_exeext >+ >+-# Check that the compiler produces executables we can run. If not, either >+-# the compiler is broken, or we cross compile. >+-{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5 >+-echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } >+-# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 >+-# If not cross compiling, check that we can run a simple program. >+-if test "$cross_compiling" != yes; then >+- if { ac_try='./$ac_file' >+- { (case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_try") 2>&5 >+- ac_status=$? >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); }; }; then >+- cross_compiling=no >+- else >+- if test "$cross_compiling" = maybe; then >+- cross_compiling=yes >+- else >+- { { echo "$as_me:$LINENO: error: cannot run C compiled programs. >+-If you meant to cross compile, use \`--host'. >+-See \`config.log' for more details." >&5 >+-echo "$as_me: error: cannot run C compiled programs. >+-If you meant to cross compile, use \`--host'. >+-See \`config.log' for more details." >&2;} >+- { (exit 1); exit 1; }; } >+- fi >+- fi >+-fi >+-{ echo "$as_me:$LINENO: result: yes" >&5 >+-echo "${ECHO_T}yes" >&6; } >+- >+-rm -f a.out a.exe conftest$ac_cv_exeext b.out >++rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out >+ ac_clean_files=$ac_clean_files_save >+-# Check that the compiler produces executables we can run. If not, either >+-# the compiler is broken, or we cross compile. >+-{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 >+-echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } >+-{ echo "$as_me:$LINENO: result: $cross_compiling" >&5 >+-echo "${ECHO_T}$cross_compiling" >&6; } >+- >+-{ echo "$as_me:$LINENO: checking for suffix of executables" >&5 >+-echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } >+-if { (ac_try="$ac_link" >++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 >++$as_echo_n "checking for suffix of executables... " >&6; } >++if { { ac_try="$ac_link" >+ case "(($ac_try" in >+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+ *) ac_try_echo=$ac_try;; >+ esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" >++$as_echo "$ac_try_echo"; } >&5 >+ (eval "$ac_link") 2>&5 >+ ac_status=$? >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); }; then >++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 >++ test $ac_status = 0; }; then : >+ # If both `conftest.exe' and `conftest' are `present' (well, observable) >+ # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will >+ # work properly (i.e., refer to `conftest.exe'), while it won't with >+@@ -2749,37 +3551,90 @@ eval "echo \"\$as_me:$LINENO: $ac_try_ec >+ for ac_file in conftest.exe conftest conftest.*; do >+ test -f "$ac_file" || continue >+ case $ac_file in >+- *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; >++ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; >+ *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` >+ break;; >+ * ) break;; >+ esac >+ done >+ else >+- { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link >+-See \`config.log' for more details." >&5 >+-echo "$as_me: error: cannot compute suffix of executables: cannot compile and link >+-See \`config.log' for more details." >&2;} >+- { (exit 1); exit 1; }; } >++ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 >++$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} >++as_fn_error $? "cannot compute suffix of executables: cannot compile and link >++See \`config.log' for more details" "$LINENO" 5; } >+ fi >+- >+-rm -f conftest$ac_cv_exeext >+-{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 >+-echo "${ECHO_T}$ac_cv_exeext" >&6; } >++rm -f conftest conftest$ac_cv_exeext >++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 >++$as_echo "$ac_cv_exeext" >&6; } >+ >+ rm -f conftest.$ac_ext >+ EXEEXT=$ac_cv_exeext >+ ac_exeext=$EXEEXT >+-{ echo "$as_me:$LINENO: checking for suffix of object files" >&5 >+-echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } >+-if test "${ac_cv_objext+set}" = set; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-else >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >++cat confdefs.h - <<_ACEOF >conftest.$ac_ext >++/* end confdefs.h. */ >++#include <stdio.h> >++int >++main () >++{ >++FILE *f = fopen ("conftest.out", "w"); >++ return ferror (f) || fclose (f) != 0; >++ >++ ; >++ return 0; >++} >+ _ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >++ac_clean_files="$ac_clean_files conftest.out" >++# Check that the compiler produces executables we can run. If not, either >++# the compiler is broken, or we cross compile. >++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 >++$as_echo_n "checking whether we are cross compiling... " >&6; } >++if test "$cross_compiling" != yes; then >++ { { ac_try="$ac_link" >++case "(($ac_try" in >++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >++ *) ac_try_echo=$ac_try;; >++esac >++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" >++$as_echo "$ac_try_echo"; } >&5 >++ (eval "$ac_link") 2>&5 >++ ac_status=$? >++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 >++ test $ac_status = 0; } >++ if { ac_try='./conftest$ac_cv_exeext' >++ { { case "(($ac_try" in >++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >++ *) ac_try_echo=$ac_try;; >++esac >++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" >++$as_echo "$ac_try_echo"; } >&5 >++ (eval "$ac_try") 2>&5 >++ ac_status=$? >++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 >++ test $ac_status = 0; }; }; then >++ cross_compiling=no >++ else >++ if test "$cross_compiling" = maybe; then >++ cross_compiling=yes >++ else >++ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 >++$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} >++as_fn_error $? "cannot run C compiled programs. >++If you meant to cross compile, use \`--host'. >++See \`config.log' for more details" "$LINENO" 5; } >++ fi >++ fi >++fi >++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 >++$as_echo "$cross_compiling" >&6; } >++ >++rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out >++ac_clean_files=$ac_clean_files_save >++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 >++$as_echo_n "checking for suffix of object files... " >&6; } >++if ${ac_cv_objext+:} false; then : >++ $as_echo_n "(cached) " >&6 >++else >++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext >+ /* end confdefs.h. */ >+ >+ int >+@@ -2791,51 +3646,46 @@ main () >+ } >+ _ACEOF >+ rm -f conftest.o conftest.obj >+-if { (ac_try="$ac_compile" >++if { { ac_try="$ac_compile" >+ case "(($ac_try" in >+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+ *) ac_try_echo=$ac_try;; >+ esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" >++$as_echo "$ac_try_echo"; } >&5 >+ (eval "$ac_compile") 2>&5 >+ ac_status=$? >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); }; then >++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 >++ test $ac_status = 0; }; then : >+ for ac_file in conftest.o conftest.obj conftest.*; do >+ test -f "$ac_file" || continue; >+ case $ac_file in >+- *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; >++ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; >+ *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` >+ break;; >+ esac >+ done >+ else >+- echo "$as_me: failed program was:" >&5 >++ $as_echo "$as_me: failed program was:" >&5 >+ sed 's/^/| /' conftest.$ac_ext >&5 >+ >+-{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile >+-See \`config.log' for more details." >&5 >+-echo "$as_me: error: cannot compute suffix of object files: cannot compile >+-See \`config.log' for more details." >&2;} >+- { (exit 1); exit 1; }; } >++{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 >++$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} >++as_fn_error $? "cannot compute suffix of object files: cannot compile >++See \`config.log' for more details" "$LINENO" 5; } >+ fi >+- >+ rm -f conftest.$ac_cv_objext conftest.$ac_ext >+ fi >+-{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 >+-echo "${ECHO_T}$ac_cv_objext" >&6; } >++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 >++$as_echo "$ac_cv_objext" >&6; } >+ OBJEXT=$ac_cv_objext >+ ac_objext=$OBJEXT >+-{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 >+-echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } >+-if test "${ac_cv_c_compiler_gnu+set}" = set; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 >++$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } >++if ${ac_cv_c_compiler_gnu+:} false; then : >++ $as_echo_n "(cached) " >&6 >+ else >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext >+ /* end confdefs.h. */ >+ >+ int >+@@ -2849,54 +3699,34 @@ main () >+ return 0; >+ } >+ _ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >++if ac_fn_c_try_compile "$LINENO"; then : >+ ac_compiler_gnu=yes >+ else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_compiler_gnu=no >++ ac_compiler_gnu=no >+ fi >+- >+ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+ ac_cv_c_compiler_gnu=$ac_compiler_gnu >+ >+ fi >+-{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 >+-echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } >+-GCC=`test $ac_compiler_gnu = yes && echo yes` >++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 >++$as_echo "$ac_cv_c_compiler_gnu" >&6; } >++if test $ac_compiler_gnu = yes; then >++ GCC=yes >++else >++ GCC= >++fi >+ ac_test_CFLAGS=${CFLAGS+set} >+ ac_save_CFLAGS=$CFLAGS >+-{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 >+-echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } >+-if test "${ac_cv_prog_cc_g+set}" = set; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 >++$as_echo_n "checking whether $CC accepts -g... " >&6; } >++if ${ac_cv_prog_cc_g+:} false; then : >++ $as_echo_n "(cached) " >&6 >+ else >+ ac_save_c_werror_flag=$ac_c_werror_flag >+ ac_c_werror_flag=yes >+ ac_cv_prog_cc_g=no >+ CFLAGS="-g" >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext >+ /* end confdefs.h. */ >+ >+ int >+@@ -2907,34 +3737,11 @@ main () >+ return 0; >+ } >+ _ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >++if ac_fn_c_try_compile "$LINENO"; then : >+ ac_cv_prog_cc_g=yes >+ else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- CFLAGS="" >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >++ CFLAGS="" >++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext >+ /* end confdefs.h. */ >+ >+ int >+@@ -2945,35 +3752,12 @@ main () >+ return 0; >+ } >+ _ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >+- : >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >++if ac_fn_c_try_compile "$LINENO"; then : >+ >+- ac_c_werror_flag=$ac_save_c_werror_flag >++else >++ ac_c_werror_flag=$ac_save_c_werror_flag >+ CFLAGS="-g" >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext >+ /* end confdefs.h. */ >+ >+ int >+@@ -2984,42 +3768,18 @@ main () >+ return 0; >+ } >+ _ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >++if ac_fn_c_try_compile "$LINENO"; then : >+ ac_cv_prog_cc_g=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- >+ fi >+- >+ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+ fi >+- >+ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+ fi >+- >+ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+ ac_c_werror_flag=$ac_save_c_werror_flag >+ fi >+-{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 >+-echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } >++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 >++$as_echo "$ac_cv_prog_cc_g" >&6; } >+ if test "$ac_test_CFLAGS" = set; then >+ CFLAGS=$ac_save_CFLAGS >+ elif test $ac_cv_prog_cc_g = yes; then >+@@ -3035,23 +3795,18 @@ else >+ CFLAGS= >+ fi >+ fi >+-{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 >+-echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } >+-if test "${ac_cv_prog_cc_c89+set}" = set; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 >++$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } >++if ${ac_cv_prog_cc_c89+:} false; then : >++ $as_echo_n "(cached) " >&6 >+ else >+ ac_cv_prog_cc_c89=no >+ ac_save_CC=$CC >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >++cat confdefs.h - <<_ACEOF >conftest.$ac_ext >+ /* end confdefs.h. */ >+ #include <stdarg.h> >+ #include <stdio.h> >+-#include <sys/types.h> >+-#include <sys/stat.h> >++struct stat; >+ /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ >+ struct buf { int x; }; >+ FILE * (*rcsopen) (struct buf *, struct stat *, int); >+@@ -3103,31 +3858,9 @@ for ac_arg in '' -qlanglvl=extc89 -qlang >+ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" >+ do >+ CC="$ac_save_CC $ac_arg" >+- rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >++ if ac_fn_c_try_compile "$LINENO"; then : >+ ac_cv_prog_cc_c89=$ac_arg >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- >+ fi >+- >+ rm -f core conftest.err conftest.$ac_objext >+ test "x$ac_cv_prog_cc_c89" != "xno" && break >+ done >+@@ -3138,23 +3871,84 @@ fi >+ # AC_CACHE_VAL >+ case "x$ac_cv_prog_cc_c89" in >+ x) >+- { echo "$as_me:$LINENO: result: none needed" >&5 >+-echo "${ECHO_T}none needed" >&6; } ;; >++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 >++$as_echo "none needed" >&6; } ;; >+ xno) >+- { echo "$as_me:$LINENO: result: unsupported" >&5 >+-echo "${ECHO_T}unsupported" >&6; } ;; >++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 >++$as_echo "unsupported" >&6; } ;; >+ *) >+ CC="$CC $ac_cv_prog_cc_c89" >+- { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 >+-echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; >++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 >++$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; >+ esac >++if test "x$ac_cv_prog_cc_c89" != xno; then : >++ >++fi >+ >++ac_ext=c >++ac_cpp='$CPP $CPPFLAGS' >++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' >++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' >++ac_compiler_gnu=$ac_cv_c_compiler_gnu >+ >+ ac_ext=c >+ ac_cpp='$CPP $CPPFLAGS' >+ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' >+ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' >+ ac_compiler_gnu=$ac_cv_c_compiler_gnu >++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 >++$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } >++if ${am_cv_prog_cc_c_o+:} false; then : >++ $as_echo_n "(cached) " >&6 >++else >++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext >++/* end confdefs.h. */ >++ >++int >++main () >++{ >++ >++ ; >++ return 0; >++} >++_ACEOF >++ # Make sure it works both with $CC and with simple cc. >++ # Following AC_PROG_CC_C_O, we do the test twice because some >++ # compilers refuse to overwrite an existing .o file with -o, >++ # though they will create one. >++ am_cv_prog_cc_c_o=yes >++ for am_i in 1 2; do >++ if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 >++ ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 >++ ac_status=$? >++ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >++ (exit $ac_status); } \ >++ && test -f conftest2.$ac_objext; then >++ : OK >++ else >++ am_cv_prog_cc_c_o=no >++ break >++ fi >++ done >++ rm -f core conftest* >++ unset am_i >++fi >++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 >++$as_echo "$am_cv_prog_cc_c_o" >&6; } >++if test "$am_cv_prog_cc_c_o" != yes; then >++ # Losing compiler, so override with the script. >++ # FIXME: It is wrong to rewrite CC. >++ # But if we don't then we get into trouble of one sort or another. >++ # A longer-term fix would be to have automake use am__CC in this case, >++ # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" >++ CC="$am_aux_dir/compile $CC" >++fi >++ac_ext=c >++ac_cpp='$CPP $CPPFLAGS' >++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' >++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' >++ac_compiler_gnu=$ac_cv_c_compiler_gnu >++ >+ DEPDIR="${am__leading_dot}deps" >+ >+ ac_config_commands="$ac_config_commands depfiles" >+@@ -3163,54 +3957,53 @@ ac_config_commands="$ac_config_commands >+ am_make=${MAKE-make} >+ cat > confinc << 'END' >+ am__doit: >+- @echo done >++ @echo this is the am__doit target >+ .PHONY: am__doit >+ END >+ # If we don't find an include directive, just comment out the code. >+-{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 >+-echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; } >++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 >++$as_echo_n "checking for style of include used by $am_make... " >&6; } >+ am__include="#" >+ am__quote= >+ _am_result=none >+ # First try GNU make style include. >+ echo "include confinc" > confmf >+-# We grep out `Entering directory' and `Leaving directory' >+-# messages which can occur if `w' ends up in MAKEFLAGS. >+-# In particular we don't look at `^make:' because GNU make might >+-# be invoked under some other name (usually "gmake"), in which >+-# case it prints its new name instead of `make'. >+-if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then >+- am__include=include >+- am__quote= >+- _am_result=GNU >+-fi >++# Ignore all kinds of additional output from 'make'. >++case `$am_make -s -f confmf 2> /dev/null` in #( >++*the\ am__doit\ target*) >++ am__include=include >++ am__quote= >++ _am_result=GNU >++ ;; >++esac >+ # Now try BSD make style include. >+ if test "$am__include" = "#"; then >+ echo '.include "confinc"' > confmf >+- if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then >+- am__include=.include >+- am__quote="\"" >+- _am_result=BSD >+- fi >++ case `$am_make -s -f confmf 2> /dev/null` in #( >++ *the\ am__doit\ target*) >++ am__include=.include >++ am__quote="\"" >++ _am_result=BSD >++ ;; >++ esac >+ fi >+ >+ >+-{ echo "$as_me:$LINENO: result: $_am_result" >&5 >+-echo "${ECHO_T}$_am_result" >&6; } >++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 >++$as_echo "$_am_result" >&6; } >+ rm -f confinc confmf >+ >+ # Check whether --enable-dependency-tracking was given. >+-if test "${enable_dependency_tracking+set}" = set; then >++if test "${enable_dependency_tracking+set}" = set; then : >+ enableval=$enable_dependency_tracking; >+ fi >+ >+ if test "x$enable_dependency_tracking" != xno; then >+ am_depcomp="$ac_aux_dir/depcomp" >+ AMDEPBACKSLASH='\' >++ am__nodep='_no' >+ fi >+- >+- >+-if test "x$enable_dependency_tracking" != xno; then >++ if test "x$enable_dependency_tracking" != xno; then >+ AMDEP_TRUE= >+ AMDEP_FALSE='#' >+ else >+@@ -3220,20 +4013,20 @@ fi >+ >+ >+ >+- >+ depcc="$CC" am_compiler_list= >+ >+-{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 >+-echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; } >+-if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 >++$as_echo_n "checking dependency style of $depcc... " >&6; } >++if ${am_cv_CC_dependencies_compiler_type+:} false; then : >++ $as_echo_n "(cached) " >&6 >+ else >+ if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then >+ # We make a subdir and do the tests there. Otherwise we can end up >+ # making bogus files that we don't know about and never remove. For >+ # instance it was reported that on HP-UX the gcc test will end up >+- # making a dummy file named `D' -- because `-MD' means `put the output >+- # in D'. >++ # making a dummy file named 'D' -- because '-MD' means "put the output >++ # in D". >++ rm -rf conftest.dir >+ mkdir conftest.dir >+ # Copy depcomp to subdir because otherwise we won't find it if we're >+ # using a relative directory. >+@@ -3251,6 +4044,11 @@ else >+ if test "$am_compiler_list" = ""; then >+ am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` >+ fi >++ am__universal=false >++ case " $depcc " in #( >++ *\ -arch\ *\ -arch\ *) am__universal=true ;; >++ esac >++ >+ for depmode in $am_compiler_list; do >+ # Setup a source with many dependencies, because some compilers >+ # like to wrap large dependency lists on column 80 (with \), and >+@@ -3262,34 +4060,49 @@ else >+ : > sub/conftest.c >+ for i in 1 2 3 4 5 6; do >+ echo '#include "conftst'$i'.h"' >> sub/conftest.c >+- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with >+- # Solaris 8's {/usr,}/bin/sh. >+- touch sub/conftst$i.h >++ # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with >++ # Solaris 10 /bin/sh. >++ echo '/* dummy */' > sub/conftst$i.h >+ done >+ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf >+ >++ # We check with '-c' and '-o' for the sake of the "dashmstdout" >++ # mode. It turns out that the SunPro C++ compiler does not properly >++ # handle '-M -o', and we need to detect this. Also, some Intel >++ # versions had trouble with output in subdirs. >++ am__obj=sub/conftest.${OBJEXT-o} >++ am__minus_obj="-o $am__obj" >+ case $depmode in >++ gcc) >++ # This depmode causes a compiler race in universal mode. >++ test "$am__universal" = false || continue >++ ;; >+ nosideeffect) >+- # after this tag, mechanisms are not by side-effect, so they'll >+- # only be used when explicitly requested >++ # After this tag, mechanisms are not by side-effect, so they'll >++ # only be used when explicitly requested. >+ if test "x$enable_dependency_tracking" = xyes; then >+ continue >+ else >+ break >+ fi >+ ;; >++ msvc7 | msvc7msys | msvisualcpp | msvcmsys) >++ # This compiler won't grok '-c -o', but also, the minuso test has >++ # not run yet. These depmodes are late enough in the game, and >++ # so weak that their functioning should not be impacted. >++ am__obj=conftest.${OBJEXT-o} >++ am__minus_obj= >++ ;; >+ none) break ;; >+ esac >+- # We check with `-c' and `-o' for the sake of the "dashmstdout" >+- # mode. It turns out that the SunPro C++ compiler does not properly >+- # handle `-M -o', and we need to detect this. >+ if depmode=$depmode \ >+- source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ >++ source=sub/conftest.c object=$am__obj \ >+ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ >+- $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ >++ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ >+ >/dev/null 2>conftest.err && >++ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && >+ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && >+- grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && >++ grep $am__obj sub/conftest.Po > /dev/null 2>&1 && >+ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then >+ # icc doesn't choke on unknown options, it will just issue warnings >+ # or remarks (even with -Werror). So we grep stderr for any message >+@@ -3313,13 +4126,11 @@ else >+ fi >+ >+ fi >+-{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 >+-echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; } >++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 >++$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } >+ CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type >+ >+- >+- >+-if >++ if >+ test "x$enable_dependency_tracking" != xno \ >+ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then >+ am__fastdepCC_TRUE= >+@@ -3344,10 +4155,10 @@ if test -z "$CXX"; then >+ do >+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. >+ set dummy $ac_tool_prefix$ac_prog; ac_word=$2 >+-{ echo "$as_me:$LINENO: checking for $ac_word" >&5 >+-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } >+-if test "${ac_cv_prog_CXX+set}" = set; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 >++$as_echo_n "checking for $ac_word... " >&6; } >++if ${ac_cv_prog_CXX+:} false; then : >++ $as_echo_n "(cached) " >&6 >+ else >+ if test -n "$CXX"; then >+ ac_cv_prog_CXX="$CXX" # Let the user override the test. >+@@ -3357,25 +4168,25 @@ for as_dir in $PATH >+ do >+ IFS=$as_save_IFS >+ test -z "$as_dir" && as_dir=. >+- for ac_exec_ext in '' $ac_executable_extensions; do >+- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then >++ for ac_exec_ext in '' $ac_executable_extensions; do >++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then >+ ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" >+- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 >++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 >+ break 2 >+ fi >+ done >+-done >++ done >+ IFS=$as_save_IFS >+ >+ fi >+ fi >+ CXX=$ac_cv_prog_CXX >+ if test -n "$CXX"; then >+- { echo "$as_me:$LINENO: result: $CXX" >&5 >+-echo "${ECHO_T}$CXX" >&6; } >++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 >++$as_echo "$CXX" >&6; } >+ else >+- { echo "$as_me:$LINENO: result: no" >&5 >+-echo "${ECHO_T}no" >&6; } >++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 >++$as_echo "no" >&6; } >+ fi >+ >+ >+@@ -3388,10 +4199,10 @@ if test -z "$CXX"; then >+ do >+ # Extract the first word of "$ac_prog", so it can be a program name with args. >+ set dummy $ac_prog; ac_word=$2 >+-{ echo "$as_me:$LINENO: checking for $ac_word" >&5 >+-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } >+-if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 >++$as_echo_n "checking for $ac_word... " >&6; } >++if ${ac_cv_prog_ac_ct_CXX+:} false; then : >++ $as_echo_n "(cached) " >&6 >+ else >+ if test -n "$ac_ct_CXX"; then >+ ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. >+@@ -3401,25 +4212,25 @@ for as_dir in $PATH >+ do >+ IFS=$as_save_IFS >+ test -z "$as_dir" && as_dir=. >+- for ac_exec_ext in '' $ac_executable_extensions; do >+- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then >++ for ac_exec_ext in '' $ac_executable_extensions; do >++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then >+ ac_cv_prog_ac_ct_CXX="$ac_prog" >+- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 >++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 >+ break 2 >+ fi >+ done >+-done >++ done >+ IFS=$as_save_IFS >+ >+ fi >+ fi >+ ac_ct_CXX=$ac_cv_prog_ac_ct_CXX >+ if test -n "$ac_ct_CXX"; then >+- { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 >+-echo "${ECHO_T}$ac_ct_CXX" >&6; } >++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 >++$as_echo "$ac_ct_CXX" >&6; } >+ else >+- { echo "$as_me:$LINENO: result: no" >&5 >+-echo "${ECHO_T}no" >&6; } >++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 >++$as_echo "no" >&6; } >+ fi >+ >+ >+@@ -3431,12 +4242,8 @@ done >+ else >+ case $cross_compiling:$ac_tool_warned in >+ yes:) >+-{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools >+-whose name does not start with the host triplet. If you think this >+-configuration is useful to you, please write to autoconf@gnu.org." >&5 >+-echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools >+-whose name does not start with the host triplet. If you think this >+-configuration is useful to you, please write to autoconf@gnu.org." >&2;} >++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 >++$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} >+ ac_tool_warned=yes ;; >+ esac >+ CXX=$ac_ct_CXX >+@@ -3446,49 +4253,36 @@ fi >+ fi >+ fi >+ # Provide some information about the compiler. >+-echo "$as_me:$LINENO: checking for C++ compiler version" >&5 >+-ac_compiler=`set X $ac_compile; echo $2` >+-{ (ac_try="$ac_compiler --version >&5" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compiler --version >&5") 2>&5 >+- ac_status=$? >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } >+-{ (ac_try="$ac_compiler -v >&5" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compiler -v >&5") 2>&5 >+- ac_status=$? >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } >+-{ (ac_try="$ac_compiler -V >&5" >++$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 >++set X $ac_compile >++ac_compiler=$2 >++for ac_option in --version -v -V -qversion; do >++ { { ac_try="$ac_compiler $ac_option >&5" >+ case "(($ac_try" in >+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+ *) ac_try_echo=$ac_try;; >+ esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compiler -V >&5") 2>&5 >++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" >++$as_echo "$ac_try_echo"; } >&5 >++ (eval "$ac_compiler $ac_option >&5") 2>conftest.err >+ ac_status=$? >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } >++ if test -s conftest.err; then >++ sed '10a\ >++... rest of stderr output deleted ... >++ 10q' conftest.err >conftest.er1 >++ cat conftest.er1 >&5 >++ fi >++ rm -f conftest.er1 conftest.err >++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 >++ test $ac_status = 0; } >++done >+ >+-{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 >+-echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; } >+-if test "${ac_cv_cxx_compiler_gnu+set}" = set; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 >++$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } >++if ${ac_cv_cxx_compiler_gnu+:} false; then : >++ $as_echo_n "(cached) " >&6 >+ else >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext >+ /* end confdefs.h. */ >+ >+ int >+@@ -3502,54 +4296,34 @@ main () >+ return 0; >+ } >+ _ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_cxx_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >++if ac_fn_cxx_try_compile "$LINENO"; then : >+ ac_compiler_gnu=yes >+ else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_compiler_gnu=no >++ ac_compiler_gnu=no >+ fi >+- >+ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+ ac_cv_cxx_compiler_gnu=$ac_compiler_gnu >+ >+ fi >+-{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 >+-echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; } >+-GXX=`test $ac_compiler_gnu = yes && echo yes` >++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 >++$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } >++if test $ac_compiler_gnu = yes; then >++ GXX=yes >++else >++ GXX= >++fi >+ ac_test_CXXFLAGS=${CXXFLAGS+set} >+ ac_save_CXXFLAGS=$CXXFLAGS >+-{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 >+-echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; } >+-if test "${ac_cv_prog_cxx_g+set}" = set; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 >++$as_echo_n "checking whether $CXX accepts -g... " >&6; } >++if ${ac_cv_prog_cxx_g+:} false; then : >++ $as_echo_n "(cached) " >&6 >+ else >+ ac_save_cxx_werror_flag=$ac_cxx_werror_flag >+ ac_cxx_werror_flag=yes >+ ac_cv_prog_cxx_g=no >+ CXXFLAGS="-g" >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext >+ /* end confdefs.h. */ >+ >+ int >+@@ -3560,34 +4334,11 @@ main () >+ return 0; >+ } >+ _ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_cxx_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >++if ac_fn_cxx_try_compile "$LINENO"; then : >+ ac_cv_prog_cxx_g=yes >+ else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- CXXFLAGS="" >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >++ CXXFLAGS="" >++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext >+ /* end confdefs.h. */ >+ >+ int >+@@ -3598,35 +4349,12 @@ main () >+ return 0; >+ } >+ _ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_cxx_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >+- : >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >++if ac_fn_cxx_try_compile "$LINENO"; then : >+ >+- ac_cxx_werror_flag=$ac_save_cxx_werror_flag >++else >++ ac_cxx_werror_flag=$ac_save_cxx_werror_flag >+ CXXFLAGS="-g" >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext >+ /* end confdefs.h. */ >+ >+ int >+@@ -3637,42 +4365,18 @@ main () >+ return 0; >+ } >+ _ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_cxx_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >++if ac_fn_cxx_try_compile "$LINENO"; then : >+ ac_cv_prog_cxx_g=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- >+ fi >+- >+ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+ fi >+- >+ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+ fi >+- >+ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+ ac_cxx_werror_flag=$ac_save_cxx_werror_flag >+ fi >+-{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 >+-echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; } >++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 >++$as_echo "$ac_cv_prog_cxx_g" >&6; } >+ if test "$ac_test_CXXFLAGS" = set; then >+ CXXFLAGS=$ac_save_CXXFLAGS >+ elif test $ac_cv_prog_cxx_g = yes; then >+@@ -3696,17 +4400,18 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu >+ >+ depcc="$CXX" am_compiler_list= >+ >+-{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 >+-echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; } >+-if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 >++$as_echo_n "checking dependency style of $depcc... " >&6; } >++if ${am_cv_CXX_dependencies_compiler_type+:} false; then : >++ $as_echo_n "(cached) " >&6 >+ else >+ if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then >+ # We make a subdir and do the tests there. Otherwise we can end up >+ # making bogus files that we don't know about and never remove. For >+ # instance it was reported that on HP-UX the gcc test will end up >+- # making a dummy file named `D' -- because `-MD' means `put the output >+- # in D'. >++ # making a dummy file named 'D' -- because '-MD' means "put the output >++ # in D". >++ rm -rf conftest.dir >+ mkdir conftest.dir >+ # Copy depcomp to subdir because otherwise we won't find it if we're >+ # using a relative directory. >+@@ -3724,6 +4429,11 @@ else >+ if test "$am_compiler_list" = ""; then >+ am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` >+ fi >++ am__universal=false >++ case " $depcc " in #( >++ *\ -arch\ *\ -arch\ *) am__universal=true ;; >++ esac >++ >+ for depmode in $am_compiler_list; do >+ # Setup a source with many dependencies, because some compilers >+ # like to wrap large dependency lists on column 80 (with \), and >+@@ -3735,34 +4445,49 @@ else >+ : > sub/conftest.c >+ for i in 1 2 3 4 5 6; do >+ echo '#include "conftst'$i'.h"' >> sub/conftest.c >+- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with >+- # Solaris 8's {/usr,}/bin/sh. >+- touch sub/conftst$i.h >++ # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with >++ # Solaris 10 /bin/sh. >++ echo '/* dummy */' > sub/conftst$i.h >+ done >+ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf >+ >++ # We check with '-c' and '-o' for the sake of the "dashmstdout" >++ # mode. It turns out that the SunPro C++ compiler does not properly >++ # handle '-M -o', and we need to detect this. Also, some Intel >++ # versions had trouble with output in subdirs. >++ am__obj=sub/conftest.${OBJEXT-o} >++ am__minus_obj="-o $am__obj" >+ case $depmode in >++ gcc) >++ # This depmode causes a compiler race in universal mode. >++ test "$am__universal" = false || continue >++ ;; >+ nosideeffect) >+- # after this tag, mechanisms are not by side-effect, so they'll >+- # only be used when explicitly requested >++ # After this tag, mechanisms are not by side-effect, so they'll >++ # only be used when explicitly requested. >+ if test "x$enable_dependency_tracking" = xyes; then >+ continue >+ else >+ break >+ fi >+ ;; >++ msvc7 | msvc7msys | msvisualcpp | msvcmsys) >++ # This compiler won't grok '-c -o', but also, the minuso test has >++ # not run yet. These depmodes are late enough in the game, and >++ # so weak that their functioning should not be impacted. >++ am__obj=conftest.${OBJEXT-o} >++ am__minus_obj= >++ ;; >+ none) break ;; >+ esac >+- # We check with `-c' and `-o' for the sake of the "dashmstdout" >+- # mode. It turns out that the SunPro C++ compiler does not properly >+- # handle `-M -o', and we need to detect this. >+ if depmode=$depmode \ >+- source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ >++ source=sub/conftest.c object=$am__obj \ >+ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ >+- $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ >++ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ >+ >/dev/null 2>conftest.err && >++ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && >+ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && >+- grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && >++ grep $am__obj sub/conftest.Po > /dev/null 2>&1 && >+ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then >+ # icc doesn't choke on unknown options, it will just issue warnings >+ # or remarks (even with -Werror). So we grep stderr for any message >+@@ -3786,13 +4511,11 @@ else >+ fi >+ >+ fi >+-{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5 >+-echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; } >++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 >++$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } >+ CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type >+ >+- >+- >+-if >++ if >+ test "x$enable_dependency_tracking" != xno \ >+ && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then >+ am__fastdepCXX_TRUE= >+@@ -3806,10 +4529,10 @@ fi >+ if test -n "$ac_tool_prefix"; then >+ # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. >+ set dummy ${ac_tool_prefix}ranlib; ac_word=$2 >+-{ echo "$as_me:$LINENO: checking for $ac_word" >&5 >+-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } >+-if test "${ac_cv_prog_RANLIB+set}" = set; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 >++$as_echo_n "checking for $ac_word... " >&6; } >++if ${ac_cv_prog_RANLIB+:} false; then : >++ $as_echo_n "(cached) " >&6 >+ else >+ if test -n "$RANLIB"; then >+ ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. >+@@ -3819,25 +4542,25 @@ for as_dir in $PATH >+ do >+ IFS=$as_save_IFS >+ test -z "$as_dir" && as_dir=. >+- for ac_exec_ext in '' $ac_executable_extensions; do >+- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then >++ for ac_exec_ext in '' $ac_executable_extensions; do >++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then >+ ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" >+- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 >++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 >+ break 2 >+ fi >+ done >+-done >++ done >+ IFS=$as_save_IFS >+ >+ fi >+ fi >+ RANLIB=$ac_cv_prog_RANLIB >+ if test -n "$RANLIB"; then >+- { echo "$as_me:$LINENO: result: $RANLIB" >&5 >+-echo "${ECHO_T}$RANLIB" >&6; } >++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 >++$as_echo "$RANLIB" >&6; } >+ else >+- { echo "$as_me:$LINENO: result: no" >&5 >+-echo "${ECHO_T}no" >&6; } >++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 >++$as_echo "no" >&6; } >+ fi >+ >+ >+@@ -3846,10 +4569,10 @@ if test -z "$ac_cv_prog_RANLIB"; then >+ ac_ct_RANLIB=$RANLIB >+ # Extract the first word of "ranlib", so it can be a program name with args. >+ set dummy ranlib; ac_word=$2 >+-{ echo "$as_me:$LINENO: checking for $ac_word" >&5 >+-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } >+-if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 >++$as_echo_n "checking for $ac_word... " >&6; } >++if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : >++ $as_echo_n "(cached) " >&6 >+ else >+ if test -n "$ac_ct_RANLIB"; then >+ ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. >+@@ -3859,25 +4582,25 @@ for as_dir in $PATH >+ do >+ IFS=$as_save_IFS >+ test -z "$as_dir" && as_dir=. >+- for ac_exec_ext in '' $ac_executable_extensions; do >+- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then >++ for ac_exec_ext in '' $ac_executable_extensions; do >++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then >+ ac_cv_prog_ac_ct_RANLIB="ranlib" >+- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 >++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 >+ break 2 >+ fi >+ done >+-done >++ done >+ IFS=$as_save_IFS >+ >+ fi >+ fi >+ ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB >+ if test -n "$ac_ct_RANLIB"; then >+- { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 >+-echo "${ECHO_T}$ac_ct_RANLIB" >&6; } >++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 >++$as_echo "$ac_ct_RANLIB" >&6; } >+ else >+- { echo "$as_me:$LINENO: result: no" >&5 >+-echo "${ECHO_T}no" >&6; } >++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 >++$as_echo "no" >&6; } >+ fi >+ >+ if test "x$ac_ct_RANLIB" = x; then >+@@ -3885,12 +4608,8 @@ fi >+ else >+ case $cross_compiling:$ac_tool_warned in >+ yes:) >+-{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools >+-whose name does not start with the host triplet. If you think this >+-configuration is useful to you, please write to autoconf@gnu.org." >&5 >+-echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools >+-whose name does not start with the host triplet. If you think this >+-configuration is useful to you, please write to autoconf@gnu.org." >&2;} >++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 >++$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} >+ ac_tool_warned=yes ;; >+ esac >+ RANLIB=$ac_ct_RANLIB >+@@ -3905,17 +4624,13 @@ fi >+ >+ #AC_CHECK_LIB(fl,main,AC_DEFINE(JS) LIBS="$LIBS -lfl",AC_MSG_WARN(You don't have libfl; you won't be able to run javascript)) >+ >+-{ echo "$as_me:$LINENO: checking for EMX" >&5 >+-echo $ECHO_N "checking for EMX... $ECHO_C" >&6; } >+-if test "${ac_cv_have_emx+set}" = set; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EMX" >&5 >++$as_echo_n "checking for EMX... " >&6; } >++if ${ac_cv_have_emx+:} false; then : >++ $as_echo_n "(cached) " >&6 >+ else >+ >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >++cat confdefs.h - <<_ACEOF >conftest.$ac_ext >+ /* end confdefs.h. */ >+ >+ int >+@@ -3928,48 +4643,24 @@ main () >+ return 0; >+ } >+ _ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >++if ac_fn_c_try_compile "$LINENO"; then : >+ ac_cv_have_emx=yes >+ else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_cv_have_emx=no >++ ac_cv_have_emx=no >+ fi >+- >+ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+ >+ fi >+-{ echo "$as_me:$LINENO: result: $ac_cv_have_emx" >&5 >+-echo "${ECHO_T}$ac_cv_have_emx" >&6; } >++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_emx" >&5 >++$as_echo "$ac_cv_have_emx" >&6; } >+ test "$ac_cv_have_emx" = yes && LDFLAGS=`echo "$LDFLAGS" | sed "s/-Zexe//g" | sed "s/-Zbin-files//g"` >+ >+-{ echo "$as_me:$LINENO: checking for typeof" >&5 >+-echo $ECHO_N "checking for typeof... $ECHO_C" >&6; } >+-if test "${ac_cv_have_typeof+set}" = set; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for typeof" >&5 >++$as_echo_n "checking for typeof... " >&6; } >++if ${ac_cv_have_typeof+:} false; then : >++ $as_echo_n "(cached) " >&6 >+ else >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext >+ /* end confdefs.h. */ >+ >+ int >+@@ -3981,51 +4672,25 @@ int a; >+ return 0; >+ } >+ _ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >++if ac_fn_c_try_compile "$LINENO"; then : >+ ac_cv_have_typeof=yes >+ else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_cv_have_typeof=no >++ ac_cv_have_typeof=no >+ fi >+- >+ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+ >+ fi >+-{ echo "$as_me:$LINENO: result: $ac_cv_have_typeof" >&5 >+-echo "${ECHO_T}$ac_cv_have_typeof" >&6; } >+-test "$ac_cv_have_typeof" = yes && cat >>confdefs.h <<\_ACEOF >+-#define HAVE_TYPEOF 1 >+-_ACEOF >++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_typeof" >&5 >++$as_echo "$ac_cv_have_typeof" >&6; } >++test "$ac_cv_have_typeof" = yes && $as_echo "#define HAVE_TYPEOF 1" >>confdefs.h >+ >+ >+-{ echo "$as_me:$LINENO: checking for long long" >&5 >+-echo $ECHO_N "checking for long long... $ECHO_C" >&6; } >+-if test "${ac_cv_have_long_long+set}" = set; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for long long" >&5 >++$as_echo_n "checking for long long... " >&6; } >++if ${ac_cv_have_long_long+:} false; then : >++ $as_echo_n "(cached) " >&6 >+ else >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext >+ /* end confdefs.h. */ >+ >+ int >+@@ -4036,50 +4701,24 @@ unsigned long long a; >+ return 0; >+ } >+ _ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >++if ac_fn_c_try_compile "$LINENO"; then : >+ ac_cv_have_long_long=yes >+ else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_cv_have_long_long=no >++ ac_cv_have_long_long=no >+ fi >+- >+ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+ >+ fi >+-{ echo "$as_me:$LINENO: result: $ac_cv_have_long_long" >&5 >+-echo "${ECHO_T}$ac_cv_have_long_long" >&6; } >+-test "$ac_cv_have_long_long" = yes && cat >>confdefs.h <<\_ACEOF >+-#define HAVE_LONG_LONG 1 >+-_ACEOF >++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_long_long" >&5 >++$as_echo "$ac_cv_have_long_long" >&6; } >++test "$ac_cv_have_long_long" = yes && $as_echo "#define HAVE_LONG_LONG 1" >>confdefs.h >+ >+ >+-{ echo "$as_me:$LINENO: checking for -rdynamic" >&5 >+-echo $ECHO_N "checking for -rdynamic... $ECHO_C" >&6; } >++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -rdynamic" >&5 >++$as_echo_n "checking for -rdynamic... " >&6; } >+ LDFLAGS_X="$LDFLAGS" >+ LDFLAGS="$LDFLAGS -rdynamic" >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >++cat confdefs.h - <<_ACEOF >conftest.$ac_ext >+ /* end confdefs.h. */ >+ >+ int >+@@ -4090,56 +4729,26 @@ main () >+ return 0; >+ } >+ _ACEOF >+-rm -f conftest.$ac_objext conftest$ac_exeext >+-if { (ac_try="$ac_link" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_link") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest$ac_exeext && >+- $as_test_x conftest$ac_exeext; then >++if ac_fn_c_try_link "$LINENO"; then : >+ have_rdynamic=yes >+ else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- have_rdynamic=no >++ have_rdynamic=no >+ fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ >+- conftest$ac_exeext conftest.$ac_ext >++rm -f core conftest.err conftest.$ac_objext \ >++ conftest$ac_exeext conftest.$ac_ext >+ test "$have_rdynamic" = no && LDFLAGS="$LDFLAGS_X" >+-{ echo "$as_me:$LINENO: result: $have_rdynamic" >&5 >+-echo "${ECHO_T}$have_rdynamic" >&6; } >+- >+- >+- >+- >+- >++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_rdynamic" >&5 >++$as_echo "$have_rdynamic" >&6; } >+ >+ ac_header_dirent=no >+ for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do >+- as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` >+-{ echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5 >+-echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; } >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >++ as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` >++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5 >++$as_echo_n "checking for $ac_hdr that defines DIR... " >&6; } >++if eval \${$as_ac_Header+:} false; then : >++ $as_echo_n "(cached) " >&6 >+ else >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext >+ /* end confdefs.h. */ >+ #include <sys/types.h> >+ #include <$ac_hdr> >+@@ -4153,39 +4762,19 @@ return 0; >+ return 0; >+ } >+ _ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >++if ac_fn_c_try_compile "$LINENO"; then : >+ eval "$as_ac_Header=yes" >+ else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- eval "$as_ac_Header=no" >++ eval "$as_ac_Header=no" >+ fi >+- >+ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+ fi >+-ac_res=`eval echo '${'$as_ac_Header'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+-if test `eval echo '${'$as_ac_Header'}'` = yes; then >++eval ac_res=\$$as_ac_Header >++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 >++$as_echo "$ac_res" >&6; } >++if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : >+ cat >>confdefs.h <<_ACEOF >+-#define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 >++#define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 >+ _ACEOF >+ >+ ac_header_dirent=$ac_hdr; break >+@@ -4194,17 +4783,13 @@ fi >+ done >+ # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. >+ if test $ac_header_dirent = dirent.h; then >+- { echo "$as_me:$LINENO: checking for library containing opendir" >&5 >+-echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; } >+-if test "${ac_cv_search_opendir+set}" = set; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 >++$as_echo_n "checking for library containing opendir... " >&6; } >++if ${ac_cv_search_opendir+:} false; then : >++ $as_echo_n "(cached) " >&6 >+ else >+ ac_func_search_save_LIBS=$LIBS >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >++cat confdefs.h - <<_ACEOF >conftest.$ac_ext >+ /* end confdefs.h. */ >+ >+ /* Override any GCC internal prototype to avoid an error. >+@@ -4229,66 +4814,39 @@ for ac_lib in '' dir; do >+ ac_res=-l$ac_lib >+ LIBS="-l$ac_lib $ac_func_search_save_LIBS" >+ fi >+- rm -f conftest.$ac_objext conftest$ac_exeext >+-if { (ac_try="$ac_link" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_link") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest$ac_exeext && >+- $as_test_x conftest$ac_exeext; then >++ if ac_fn_c_try_link "$LINENO"; then : >+ ac_cv_search_opendir=$ac_res >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- >+ fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ >+- conftest$ac_exeext >+- if test "${ac_cv_search_opendir+set}" = set; then >++rm -f core conftest.err conftest.$ac_objext \ >++ conftest$ac_exeext >++ if ${ac_cv_search_opendir+:} false; then : >+ break >+ fi >+ done >+-if test "${ac_cv_search_opendir+set}" = set; then >+- : >++if ${ac_cv_search_opendir+:} false; then : >++ >+ else >+ ac_cv_search_opendir=no >+ fi >+ rm conftest.$ac_ext >+ LIBS=$ac_func_search_save_LIBS >+ fi >+-{ echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 >+-echo "${ECHO_T}$ac_cv_search_opendir" >&6; } >++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5 >++$as_echo "$ac_cv_search_opendir" >&6; } >+ ac_res=$ac_cv_search_opendir >+-if test "$ac_res" != no; then >++if test "$ac_res" != no; then : >+ test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" >+ >+ fi >+ >+ else >+- { echo "$as_me:$LINENO: checking for library containing opendir" >&5 >+-echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; } >+-if test "${ac_cv_search_opendir+set}" = set; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 >++$as_echo_n "checking for library containing opendir... " >&6; } >++if ${ac_cv_search_opendir+:} false; then : >++ $as_echo_n "(cached) " >&6 >+ else >+ ac_func_search_save_LIBS=$LIBS >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >++cat confdefs.h - <<_ACEOF >conftest.$ac_ext >+ /* end confdefs.h. */ >+ >+ /* Override any GCC internal prototype to avoid an error. >+@@ -4313,50 +4871,27 @@ for ac_lib in '' x; do >+ ac_res=-l$ac_lib >+ LIBS="-l$ac_lib $ac_func_search_save_LIBS" >+ fi >+- rm -f conftest.$ac_objext conftest$ac_exeext >+-if { (ac_try="$ac_link" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_link") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest$ac_exeext && >+- $as_test_x conftest$ac_exeext; then >++ if ac_fn_c_try_link "$LINENO"; then : >+ ac_cv_search_opendir=$ac_res >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- >+ fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ >+- conftest$ac_exeext >+- if test "${ac_cv_search_opendir+set}" = set; then >++rm -f core conftest.err conftest.$ac_objext \ >++ conftest$ac_exeext >++ if ${ac_cv_search_opendir+:} false; then : >+ break >+ fi >+ done >+-if test "${ac_cv_search_opendir+set}" = set; then >+- : >++if ${ac_cv_search_opendir+:} false; then : >++ >+ else >+ ac_cv_search_opendir=no >+ fi >+ rm conftest.$ac_ext >+ LIBS=$ac_func_search_save_LIBS >+ fi >+-{ echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 >+-echo "${ECHO_T}$ac_cv_search_opendir" >&6; } >++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5 >++$as_echo "$ac_cv_search_opendir" >&6; } >+ ac_res=$ac_cv_search_opendir >+-if test "$ac_res" != no; then >++if test "$ac_res" != no; then : >+ test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" >+ >+ fi >+@@ -4368,15 +4903,15 @@ ac_cpp='$CPP $CPPFLAGS' >+ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' >+ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' >+ ac_compiler_gnu=$ac_cv_c_compiler_gnu >+-{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 >+-echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } >++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 >++$as_echo_n "checking how to run the C preprocessor... " >&6; } >+ # On Suns, sometimes $CPP names a directory. >+ if test -n "$CPP" && test -d "$CPP"; then >+ CPP= >+ fi >+ if test -z "$CPP"; then >+- if test "${ac_cv_prog_CPP+set}" = set; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >++ if ${ac_cv_prog_CPP+:} false; then : >++ $as_echo_n "(cached) " >&6 >+ else >+ # Double quotes because CPP needs to be expanded >+ for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" >+@@ -4390,11 +4925,7 @@ do >+ # <limits.h> exists even on freestanding compilers. >+ # On the NeXT, cc -E runs the code through the compiler's parser, >+ # not just through cpp. "Syntax error" is here to catch this case. >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext >+ /* end confdefs.h. */ >+ #ifdef __STDC__ >+ # include <limits.h> >+@@ -4403,76 +4934,34 @@ cat >>conftest.$ac_ext <<_ACEOF >+ #endif >+ Syntax error >+ _ACEOF >+-if { (ac_try="$ac_cpp conftest.$ac_ext" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } >/dev/null && { >+- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || >+- test ! -s conftest.err >+- }; then >+- : >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >++if ac_fn_c_try_cpp "$LINENO"; then : >+ >++else >+ # Broken: fails on valid input. >+ continue >+ fi >+- >+-rm -f conftest.err conftest.$ac_ext >++rm -f conftest.err conftest.i conftest.$ac_ext >+ >+ # OK, works on sane cases. Now check whether nonexistent headers >+ # can be detected and how. >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext >+ /* end confdefs.h. */ >+ #include <ac_nonexistent.h> >+ _ACEOF >+-if { (ac_try="$ac_cpp conftest.$ac_ext" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } >/dev/null && { >+- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || >+- test ! -s conftest.err >+- }; then >++if ac_fn_c_try_cpp "$LINENO"; then : >+ # Broken: success on invalid input. >+ continue >+ else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+ # Passes both tests. >+ ac_preproc_ok=: >+ break >+ fi >+- >+-rm -f conftest.err conftest.$ac_ext >++rm -f conftest.err conftest.i conftest.$ac_ext >+ >+ done >+ # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. >+-rm -f conftest.err conftest.$ac_ext >+-if $ac_preproc_ok; then >++rm -f conftest.i conftest.err conftest.$ac_ext >++if $ac_preproc_ok; then : >+ break >+ fi >+ >+@@ -4484,8 +4973,8 @@ fi >+ else >+ ac_cv_prog_CPP=$CPP >+ fi >+-{ echo "$as_me:$LINENO: result: $CPP" >&5 >+-echo "${ECHO_T}$CPP" >&6; } >++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 >++$as_echo "$CPP" >&6; } >+ ac_preproc_ok=false >+ for ac_c_preproc_warn_flag in '' yes >+ do >+@@ -4495,11 +4984,7 @@ do >+ # <limits.h> exists even on freestanding compilers. >+ # On the NeXT, cc -E runs the code through the compiler's parser, >+ # not just through cpp. "Syntax error" is here to catch this case. >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext >+ /* end confdefs.h. */ >+ #ifdef __STDC__ >+ # include <limits.h> >+@@ -4508,83 +4993,40 @@ cat >>conftest.$ac_ext <<_ACEOF >+ #endif >+ Syntax error >+ _ACEOF >+-if { (ac_try="$ac_cpp conftest.$ac_ext" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } >/dev/null && { >+- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || >+- test ! -s conftest.err >+- }; then >+- : >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >++if ac_fn_c_try_cpp "$LINENO"; then : >+ >++else >+ # Broken: fails on valid input. >+ continue >+ fi >+- >+-rm -f conftest.err conftest.$ac_ext >++rm -f conftest.err conftest.i conftest.$ac_ext >+ >+ # OK, works on sane cases. Now check whether nonexistent headers >+ # can be detected and how. >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext >+ /* end confdefs.h. */ >+ #include <ac_nonexistent.h> >+ _ACEOF >+-if { (ac_try="$ac_cpp conftest.$ac_ext" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } >/dev/null && { >+- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || >+- test ! -s conftest.err >+- }; then >++if ac_fn_c_try_cpp "$LINENO"; then : >+ # Broken: success on invalid input. >+ continue >+ else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+ # Passes both tests. >+ ac_preproc_ok=: >+ break >+ fi >+- >+-rm -f conftest.err conftest.$ac_ext >++rm -f conftest.err conftest.i conftest.$ac_ext >+ >+ done >+ # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. >+-rm -f conftest.err conftest.$ac_ext >+-if $ac_preproc_ok; then >+- : >++rm -f conftest.i conftest.err conftest.$ac_ext >++if $ac_preproc_ok; then : >++ >+ else >+- { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check >+-See \`config.log' for more details." >&5 >+-echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check >+-See \`config.log' for more details." >&2;} >+- { (exit 1); exit 1; }; } >++ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 >++$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} >++as_fn_error $? "C preprocessor \"$CPP\" fails sanity check >++See \`config.log' for more details" "$LINENO" 5; } >+ fi >+ >+ ac_ext=c >+@@ -4594,45 +5036,40 @@ ac_link='$CC -o conftest$ac_exeext $CFLA >+ ac_compiler_gnu=$ac_cv_c_compiler_gnu >+ >+ >+-{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 >+-echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } >+-if test "${ac_cv_path_GREP+set}" = set; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-else >+- # Extract the first word of "grep ggrep" to use in msg output >+-if test -z "$GREP"; then >+-set dummy grep ggrep; ac_prog_name=$2 >+-if test "${ac_cv_path_GREP+set}" = set; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 >++$as_echo_n "checking for grep that handles long lines and -e... " >&6; } >++if ${ac_cv_path_GREP+:} false; then : >++ $as_echo_n "(cached) " >&6 >+ else >++ if test -z "$GREP"; then >+ ac_path_GREP_found=false >+-# Loop through the user's path and test for each of PROGNAME-LIST >+-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR >++ # Loop through the user's path and test for each of PROGNAME-LIST >++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR >+ for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin >+ do >+ IFS=$as_save_IFS >+ test -z "$as_dir" && as_dir=. >+- for ac_prog in grep ggrep; do >+- for ac_exec_ext in '' $ac_executable_extensions; do >+- ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" >+- { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue >+- # Check for GNU ac_path_GREP and select it if it is found. >++ for ac_prog in grep ggrep; do >++ for ac_exec_ext in '' $ac_executable_extensions; do >++ ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" >++ as_fn_executable_p "$ac_path_GREP" || continue >++# Check for GNU ac_path_GREP and select it if it is found. >+ # Check for GNU $ac_path_GREP >+ case `"$ac_path_GREP" --version 2>&1` in >+ *GNU*) >+ ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; >+ *) >+ ac_count=0 >+- echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" >++ $as_echo_n 0123456789 >"conftest.in" >+ while : >+ do >+ cat "conftest.in" "conftest.in" >"conftest.tmp" >+ mv "conftest.tmp" "conftest.in" >+ cp "conftest.in" "conftest.nl" >+- echo 'GREP' >> "conftest.nl" >++ $as_echo 'GREP' >> "conftest.nl" >+ "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break >+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break >+- ac_count=`expr $ac_count + 1` >++ as_fn_arith $ac_count + 1 && ac_count=$as_val >+ if test $ac_count -gt ${ac_path_GREP_max-0}; then >+ # Best one so far, save it but keep looking for a better one >+ ac_cv_path_GREP="$ac_path_GREP" >+@@ -4644,77 +5081,61 @@ case `"$ac_path_GREP" --version 2>&1` in >+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;; >+ esac >+ >+- >+- $ac_path_GREP_found && break 3 >++ $ac_path_GREP_found && break 3 >++ done >++ done >+ done >+-done >+- >+-done >+ IFS=$as_save_IFS >+- >+- >+-fi >+- >+-GREP="$ac_cv_path_GREP" >+-if test -z "$GREP"; then >+- { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 >+-echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} >+- { (exit 1); exit 1; }; } >+-fi >+- >++ if test -z "$ac_cv_path_GREP"; then >++ as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 >++ fi >+ else >+ ac_cv_path_GREP=$GREP >+ fi >+ >+- >+ fi >+-{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 >+-echo "${ECHO_T}$ac_cv_path_GREP" >&6; } >++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 >++$as_echo "$ac_cv_path_GREP" >&6; } >+ GREP="$ac_cv_path_GREP" >+ >+ >+-{ echo "$as_me:$LINENO: checking for egrep" >&5 >+-echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } >+-if test "${ac_cv_path_EGREP+set}" = set; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 >++$as_echo_n "checking for egrep... " >&6; } >++if ${ac_cv_path_EGREP+:} false; then : >++ $as_echo_n "(cached) " >&6 >+ else >+ if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 >+ then ac_cv_path_EGREP="$GREP -E" >+ else >+- # Extract the first word of "egrep" to use in msg output >+-if test -z "$EGREP"; then >+-set dummy egrep; ac_prog_name=$2 >+-if test "${ac_cv_path_EGREP+set}" = set; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-else >++ if test -z "$EGREP"; then >+ ac_path_EGREP_found=false >+-# Loop through the user's path and test for each of PROGNAME-LIST >+-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR >++ # Loop through the user's path and test for each of PROGNAME-LIST >++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR >+ for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin >+ do >+ IFS=$as_save_IFS >+ test -z "$as_dir" && as_dir=. >+- for ac_prog in egrep; do >+- for ac_exec_ext in '' $ac_executable_extensions; do >+- ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" >+- { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue >+- # Check for GNU ac_path_EGREP and select it if it is found. >++ for ac_prog in egrep; do >++ for ac_exec_ext in '' $ac_executable_extensions; do >++ ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" >++ as_fn_executable_p "$ac_path_EGREP" || continue >++# Check for GNU ac_path_EGREP and select it if it is found. >+ # Check for GNU $ac_path_EGREP >+ case `"$ac_path_EGREP" --version 2>&1` in >+ *GNU*) >+ ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; >+ *) >+ ac_count=0 >+- echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" >++ $as_echo_n 0123456789 >"conftest.in" >+ while : >+ do >+ cat "conftest.in" "conftest.in" >"conftest.tmp" >+ mv "conftest.tmp" "conftest.in" >+ cp "conftest.in" "conftest.nl" >+- echo 'EGREP' >> "conftest.nl" >++ $as_echo 'EGREP' >> "conftest.nl" >+ "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break >+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break >+- ac_count=`expr $ac_count + 1` >++ as_fn_arith $ac_count + 1 && ac_count=$as_val >+ if test $ac_count -gt ${ac_path_EGREP_max-0}; then >+ # Best one so far, save it but keep looking for a better one >+ ac_cv_path_EGREP="$ac_path_EGREP" >+@@ -4726,46 +5147,31 @@ case `"$ac_path_EGREP" --version 2>&1` i >+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;; >+ esac >+ >+- >+- $ac_path_EGREP_found && break 3 >++ $ac_path_EGREP_found && break 3 >++ done >++ done >+ done >+-done >+- >+-done >+ IFS=$as_save_IFS >+- >+- >+-fi >+- >+-EGREP="$ac_cv_path_EGREP" >+-if test -z "$EGREP"; then >+- { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 >+-echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} >+- { (exit 1); exit 1; }; } >+-fi >+- >++ if test -z "$ac_cv_path_EGREP"; then >++ as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 >++ fi >+ else >+ ac_cv_path_EGREP=$EGREP >+ fi >+ >+- >+ fi >+ fi >+-{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 >+-echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } >++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 >++$as_echo "$ac_cv_path_EGREP" >&6; } >+ EGREP="$ac_cv_path_EGREP" >+ >+ >+-{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5 >+-echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } >+-if test "${ac_cv_header_stdc+set}" = set; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 >++$as_echo_n "checking for ANSI C header files... " >&6; } >++if ${ac_cv_header_stdc+:} false; then : >++ $as_echo_n "(cached) " >&6 >+ else >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext >+ /* end confdefs.h. */ >+ #include <stdlib.h> >+ #include <stdarg.h> >+@@ -4780,47 +5186,23 @@ main () >+ return 0; >+ } >+ _ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >++if ac_fn_c_try_compile "$LINENO"; then : >+ ac_cv_header_stdc=yes >+ else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_cv_header_stdc=no >++ ac_cv_header_stdc=no >+ fi >+- >+ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+ >+ if test $ac_cv_header_stdc = yes; then >+ # SunOS 4.x string.h does not declare mem*, contrary to ANSI. >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext >+ /* end confdefs.h. */ >+ #include <string.h> >+ >+ _ACEOF >+ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | >+- $EGREP "memchr" >/dev/null 2>&1; then >+- : >++ $EGREP "memchr" >/dev/null 2>&1; then : >++ >+ else >+ ac_cv_header_stdc=no >+ fi >+@@ -4830,18 +5212,14 @@ fi >+ >+ if test $ac_cv_header_stdc = yes; then >+ # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext >+ /* end confdefs.h. */ >+ #include <stdlib.h> >+ >+ _ACEOF >+ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | >+- $EGREP "free" >/dev/null 2>&1; then >+- : >++ $EGREP "free" >/dev/null 2>&1; then : >++ >+ else >+ ac_cv_header_stdc=no >+ fi >+@@ -4851,14 +5229,10 @@ fi >+ >+ if test $ac_cv_header_stdc = yes; then >+ # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. >+- if test "$cross_compiling" = yes; then >++ if test "$cross_compiling" = yes; then : >+ : >+ else >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext >+ /* end confdefs.h. */ >+ #include <ctype.h> >+ #include <stdlib.h> >+@@ -4885,61 +5259,31 @@ main () >+ return 0; >+ } >+ _ACEOF >+-rm -f conftest$ac_exeext >+-if { (ac_try="$ac_link" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_link") 2>&5 >+- ac_status=$? >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { ac_try='./conftest$ac_exeext' >+- { (case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_try") 2>&5 >+- ac_status=$? >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); }; }; then >+- : >+-else >+- echo "$as_me: program exited with status $ac_status" >&5 >+-echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >++if ac_fn_c_try_run "$LINENO"; then : >+ >+-( exit $ac_status ) >+-ac_cv_header_stdc=no >++else >++ ac_cv_header_stdc=no >+ fi >+-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext >++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ >++ conftest.$ac_objext conftest.beam conftest.$ac_ext >+ fi >+ >+- >+ fi >+ fi >+-{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 >+-echo "${ECHO_T}$ac_cv_header_stdc" >&6; } >++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 >++$as_echo "$ac_cv_header_stdc" >&6; } >+ if test $ac_cv_header_stdc = yes; then >+ >+-cat >>confdefs.h <<\_ACEOF >+-#define STDC_HEADERS 1 >+-_ACEOF >++$as_echo "#define STDC_HEADERS 1" >>confdefs.h >+ >+ fi >+ >+-{ echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5 >+-echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; } >+-if test "${ac_cv_header_sys_wait_h+set}" = set; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5 >++$as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; } >++if ${ac_cv_header_sys_wait_h+:} false; then : >++ $as_echo_n "(cached) " >&6 >+ else >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext >+ /* end confdefs.h. */ >+ #include <sys/types.h> >+ #include <sys/wait.h> >+@@ -4960,105 +5304,31 @@ main () >+ return 0; >+ } >+ _ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >++if ac_fn_c_try_compile "$LINENO"; then : >+ ac_cv_header_sys_wait_h=yes >+ else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_cv_header_sys_wait_h=no >++ ac_cv_header_sys_wait_h=no >+ fi >+- >+ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+ fi >+-{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5 >+-echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; } >++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5 >++$as_echo "$ac_cv_header_sys_wait_h" >&6; } >+ if test $ac_cv_header_sys_wait_h = yes; then >+ >+-cat >>confdefs.h <<\_ACEOF >+-#define HAVE_SYS_WAIT_H 1 >+-_ACEOF >++$as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h >+ >+ fi >+ >+ # On IRIX 5.3, sys/types and inttypes.h are conflicting. >+- >+- >+- >+- >+- >+- >+- >+- >+- >+ for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ >+ inttypes.h stdint.h unistd.h >+-do >+-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` >+-{ echo "$as_me:$LINENO: checking for $ac_header" >&5 >+-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-else >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-$ac_includes_default >+- >+-#include <$ac_header> >+-_ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >+- eval "$as_ac_Header=yes" >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- eval "$as_ac_Header=no" >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+-fi >+-ac_res=`eval echo '${'$as_ac_Header'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+-if test `eval echo '${'$as_ac_Header'}'` = yes; then >++do : >++ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` >++ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default >++" >++if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : >+ cat >>confdefs.h <<_ACEOF >+-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 >++#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 >+ _ACEOF >+ >+ fi >+@@ -5066,2108 +5336,181 @@ fi >+ done >+ >+ >+- >+- >+- >+- >+- >+- >+- >+- >+- >+ for ac_header in fcntl.h limits.h sys/ioctl.h sys/time.h time.h unistd.h math.h ieee.h endian.h >+-do >+-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- { echo "$as_me:$LINENO: checking for $ac_header" >&5 >+-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-fi >+-ac_res=`eval echo '${'$as_ac_Header'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+-else >+- # Is the header compilable? >+-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 >+-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-$ac_includes_default >+-#include <$ac_header> >+-_ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >+- ac_header_compiler=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_header_compiler=no >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 >+-echo "${ECHO_T}$ac_header_compiler" >&6; } >+- >+-# Is the header present? >+-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 >+-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-#include <$ac_header> >+-_ACEOF >+-if { (ac_try="$ac_cpp conftest.$ac_ext" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } >/dev/null && { >+- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || >+- test ! -s conftest.err >+- }; then >+- ac_header_preproc=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_header_preproc=no >+-fi >+- >+-rm -f conftest.err conftest.$ac_ext >+-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 >+-echo "${ECHO_T}$ac_header_preproc" >&6; } >+- >+-# So? What about this header? >+-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in >+- yes:no: ) >+- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 >+-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 >+-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} >+- ac_header_preproc=yes >+- ;; >+- no:yes:* ) >+- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 >+-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 >+-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 >+-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 >+-echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 >+-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 >+-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} >+- >+- ;; >+-esac >+-{ echo "$as_me:$LINENO: checking for $ac_header" >&5 >+-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-else >+- eval "$as_ac_Header=\$ac_header_preproc" >+-fi >+-ac_res=`eval echo '${'$as_ac_Header'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+- >+-fi >+-if test `eval echo '${'$as_ac_Header'}'` = yes; then >++do : >++ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` >++ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" >++if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : >+ cat >>confdefs.h <<_ACEOF >+-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 >++#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 >+ _ACEOF >+ >+ fi >+ >+ done >+ >+- >+ for ac_header in values.h >+-do >+-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- { echo "$as_me:$LINENO: checking for $ac_header" >&5 >+-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-fi >+-ac_res=`eval echo '${'$as_ac_Header'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+-else >+- # Is the header compilable? >+-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 >+-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-$ac_includes_default >+-#include <$ac_header> >+-_ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >+- ac_header_compiler=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_header_compiler=no >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 >+-echo "${ECHO_T}$ac_header_compiler" >&6; } >+- >+-# Is the header present? >+-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 >+-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-#include <$ac_header> >+-_ACEOF >+-if { (ac_try="$ac_cpp conftest.$ac_ext" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } >/dev/null && { >+- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || >+- test ! -s conftest.err >+- }; then >+- ac_header_preproc=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_header_preproc=no >+-fi >+- >+-rm -f conftest.err conftest.$ac_ext >+-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 >+-echo "${ECHO_T}$ac_header_preproc" >&6; } >+- >+-# So? What about this header? >+-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in >+- yes:no: ) >+- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 >+-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 >+-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} >+- ac_header_preproc=yes >+- ;; >+- no:yes:* ) >+- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 >+-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 >+-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 >+-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 >+-echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 >+-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 >+-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} >+- >+- ;; >+-esac >+-{ echo "$as_me:$LINENO: checking for $ac_header" >&5 >+-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-else >+- eval "$as_ac_Header=\$ac_header_preproc" >+-fi >+-ac_res=`eval echo '${'$as_ac_Header'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+- >+-fi >+-if test `eval echo '${'$as_ac_Header'}'` = yes; then >++do : >++ ac_fn_c_check_header_mongrel "$LINENO" "values.h" "ac_cv_header_values_h" "$ac_includes_default" >++if test "x$ac_cv_header_values_h" = xyes; then : >+ cat >>confdefs.h <<_ACEOF >+-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 >++#define HAVE_VALUES_H 1 >+ _ACEOF >+ >+ fi >+ >+ done >+ >+- >+ for ac_header in sigaction.h >+-do >+-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- { echo "$as_me:$LINENO: checking for $ac_header" >&5 >+-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-fi >+-ac_res=`eval echo '${'$as_ac_Header'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+-else >+- # Is the header compilable? >+-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 >+-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-$ac_includes_default >+-#include <$ac_header> >+-_ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >+- ac_header_compiler=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_header_compiler=no >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 >+-echo "${ECHO_T}$ac_header_compiler" >&6; } >+- >+-# Is the header present? >+-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 >+-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-#include <$ac_header> >+-_ACEOF >+-if { (ac_try="$ac_cpp conftest.$ac_ext" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } >/dev/null && { >+- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || >+- test ! -s conftest.err >+- }; then >+- ac_header_preproc=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_header_preproc=no >+-fi >+- >+-rm -f conftest.err conftest.$ac_ext >+-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 >+-echo "${ECHO_T}$ac_header_preproc" >&6; } >+- >+-# So? What about this header? >+-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in >+- yes:no: ) >+- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 >+-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 >+-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} >+- ac_header_preproc=yes >+- ;; >+- no:yes:* ) >+- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 >+-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 >+-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 >+-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 >+-echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 >+-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 >+-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} >+- >+- ;; >+-esac >+-{ echo "$as_me:$LINENO: checking for $ac_header" >&5 >+-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-else >+- eval "$as_ac_Header=\$ac_header_preproc" >+-fi >+-ac_res=`eval echo '${'$as_ac_Header'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+- >+-fi >+-if test `eval echo '${'$as_ac_Header'}'` = yes; then >++do : >++ ac_fn_c_check_header_mongrel "$LINENO" "sigaction.h" "ac_cv_header_sigaction_h" "$ac_includes_default" >++if test "x$ac_cv_header_sigaction_h" = xyes; then : >+ cat >>confdefs.h <<_ACEOF >+-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 >++#define HAVE_SIGACTION_H 1 >+ _ACEOF >+ >+ fi >+ >+ done >+ >+- >+ for ac_header in netinet/in_systm.h >+-do >+-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- { echo "$as_me:$LINENO: checking for $ac_header" >&5 >+-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-fi >+-ac_res=`eval echo '${'$as_ac_Header'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+-else >+- # Is the header compilable? >+-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 >+-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-$ac_includes_default >+-#include <$ac_header> >+-_ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >+- ac_header_compiler=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_header_compiler=no >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 >+-echo "${ECHO_T}$ac_header_compiler" >&6; } >+- >+-# Is the header present? >+-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 >+-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-#include <$ac_header> >+-_ACEOF >+-if { (ac_try="$ac_cpp conftest.$ac_ext" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } >/dev/null && { >+- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || >+- test ! -s conftest.err >+- }; then >+- ac_header_preproc=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_header_preproc=no >+-fi >+- >+-rm -f conftest.err conftest.$ac_ext >+-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 >+-echo "${ECHO_T}$ac_header_preproc" >&6; } >+- >+-# So? What about this header? >+-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in >+- yes:no: ) >+- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 >+-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 >+-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} >+- ac_header_preproc=yes >+- ;; >+- no:yes:* ) >+- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 >+-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 >+-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 >+-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 >+-echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 >+-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 >+-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} >+- >+- ;; >+-esac >+-{ echo "$as_me:$LINENO: checking for $ac_header" >&5 >+-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-else >+- eval "$as_ac_Header=\$ac_header_preproc" >+-fi >+-ac_res=`eval echo '${'$as_ac_Header'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+- >+-fi >+-if test `eval echo '${'$as_ac_Header'}'` = yes; then >++do : >++ ac_fn_c_check_header_mongrel "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default" >++if test "x$ac_cv_header_netinet_in_systm_h" = xyes; then : >+ cat >>confdefs.h <<_ACEOF >+-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 >++#define HAVE_NETINET_IN_SYSTM_H 1 >+ _ACEOF >+ >+ fi >+ >+ done >+ >+- >+ for ac_header in netinet/in_system.h >+-do >+-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- { echo "$as_me:$LINENO: checking for $ac_header" >&5 >+-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-fi >+-ac_res=`eval echo '${'$as_ac_Header'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+-else >+- # Is the header compilable? >+-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 >+-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-$ac_includes_default >+-#include <$ac_header> >+-_ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >+- ac_header_compiler=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_header_compiler=no >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 >+-echo "${ECHO_T}$ac_header_compiler" >&6; } >+- >+-# Is the header present? >+-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 >+-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-#include <$ac_header> >+-_ACEOF >+-if { (ac_try="$ac_cpp conftest.$ac_ext" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } >/dev/null && { >+- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || >+- test ! -s conftest.err >+- }; then >+- ac_header_preproc=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_header_preproc=no >+-fi >+- >+-rm -f conftest.err conftest.$ac_ext >+-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 >+-echo "${ECHO_T}$ac_header_preproc" >&6; } >+- >+-# So? What about this header? >+-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in >+- yes:no: ) >+- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 >+-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 >+-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} >+- ac_header_preproc=yes >+- ;; >+- no:yes:* ) >+- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 >+-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 >+-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 >+-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 >+-echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 >+-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 >+-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} >+- >+- ;; >+-esac >+-{ echo "$as_me:$LINENO: checking for $ac_header" >&5 >+-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-else >+- eval "$as_ac_Header=\$ac_header_preproc" >+-fi >+-ac_res=`eval echo '${'$as_ac_Header'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+- >+-fi >+-if test `eval echo '${'$as_ac_Header'}'` = yes; then >++do : >++ ac_fn_c_check_header_mongrel "$LINENO" "netinet/in_system.h" "ac_cv_header_netinet_in_system_h" "$ac_includes_default" >++if test "x$ac_cv_header_netinet_in_system_h" = xyes; then : >+ cat >>confdefs.h <<_ACEOF >+-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 >++#define HAVE_NETINET_IN_SYSTEM_H 1 >+ _ACEOF >+ >+ fi >+ >+ done >+ >+- >+ for ac_header in netinet/ip.h >+-do >+-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- { echo "$as_me:$LINENO: checking for $ac_header" >&5 >+-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-fi >+-ac_res=`eval echo '${'$as_ac_Header'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+-else >+- # Is the header compilable? >+-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 >+-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-$ac_includes_default >+-#include <$ac_header> >+-_ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >+- ac_header_compiler=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_header_compiler=no >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 >+-echo "${ECHO_T}$ac_header_compiler" >&6; } >+- >+-# Is the header present? >+-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 >+-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-#include <$ac_header> >+-_ACEOF >+-if { (ac_try="$ac_cpp conftest.$ac_ext" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } >/dev/null && { >+- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || >+- test ! -s conftest.err >+- }; then >+- ac_header_preproc=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_header_preproc=no >+-fi >+- >+-rm -f conftest.err conftest.$ac_ext >+-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 >+-echo "${ECHO_T}$ac_header_preproc" >&6; } >+- >+-# So? What about this header? >+-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in >+- yes:no: ) >+- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 >+-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 >+-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} >+- ac_header_preproc=yes >+- ;; >+- no:yes:* ) >+- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 >+-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 >+-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 >+-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 >+-echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 >+-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 >+-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} >+- >+- ;; >+-esac >+-{ echo "$as_me:$LINENO: checking for $ac_header" >&5 >+-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-else >+- eval "$as_ac_Header=\$ac_header_preproc" >+-fi >+-ac_res=`eval echo '${'$as_ac_Header'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+- >+-fi >+-if test `eval echo '${'$as_ac_Header'}'` = yes; then >++do : >++ ac_fn_c_check_header_mongrel "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "$ac_includes_default" >++if test "x$ac_cv_header_netinet_ip_h" = xyes; then : >+ cat >>confdefs.h <<_ACEOF >+-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 >++#define HAVE_NETINET_IP_H 1 >+ _ACEOF >+ >+ fi >+ >+ done >+ >+- >+ for ac_header in sys/select.h >+-do >+-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- { echo "$as_me:$LINENO: checking for $ac_header" >&5 >+-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-fi >+-ac_res=`eval echo '${'$as_ac_Header'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+-else >+- # Is the header compilable? >+-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 >+-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-$ac_includes_default >+-#include <$ac_header> >+-_ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >+- ac_header_compiler=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_header_compiler=no >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 >+-echo "${ECHO_T}$ac_header_compiler" >&6; } >+- >+-# Is the header present? >+-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 >+-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-#include <$ac_header> >+-_ACEOF >+-if { (ac_try="$ac_cpp conftest.$ac_ext" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } >/dev/null && { >+- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || >+- test ! -s conftest.err >+- }; then >+- ac_header_preproc=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_header_preproc=no >+-fi >+- >+-rm -f conftest.err conftest.$ac_ext >+-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 >+-echo "${ECHO_T}$ac_header_preproc" >&6; } >+- >+-# So? What about this header? >+-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in >+- yes:no: ) >+- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 >+-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 >+-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} >+- ac_header_preproc=yes >+- ;; >+- no:yes:* ) >+- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 >+-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 >+-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 >+-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 >+-echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 >+-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 >+-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} >+- >+- ;; >+-esac >+-{ echo "$as_me:$LINENO: checking for $ac_header" >&5 >+-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-else >+- eval "$as_ac_Header=\$ac_header_preproc" >+-fi >+-ac_res=`eval echo '${'$as_ac_Header'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+- >+-fi >+-if test `eval echo '${'$as_ac_Header'}'` = yes; then >++do : >++ ac_fn_c_check_header_mongrel "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default" >++if test "x$ac_cv_header_sys_select_h" = xyes; then : >+ cat >>confdefs.h <<_ACEOF >+-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 >++#define HAVE_SYS_SELECT_H 1 >+ _ACEOF >+ >+ fi >+ >+ done >+ >+- >+ for ac_header in sys/resource.h >+-do >+-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- { echo "$as_me:$LINENO: checking for $ac_header" >&5 >+-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-fi >+-ac_res=`eval echo '${'$as_ac_Header'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+-else >+- # Is the header compilable? >+-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 >+-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-$ac_includes_default >+-#include <$ac_header> >+-_ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >+- ac_header_compiler=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_header_compiler=no >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 >+-echo "${ECHO_T}$ac_header_compiler" >&6; } >+- >+-# Is the header present? >+-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 >+-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-#include <$ac_header> >+-_ACEOF >+-if { (ac_try="$ac_cpp conftest.$ac_ext" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } >/dev/null && { >+- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || >+- test ! -s conftest.err >+- }; then >+- ac_header_preproc=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_header_preproc=no >+-fi >+- >+-rm -f conftest.err conftest.$ac_ext >+-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 >+-echo "${ECHO_T}$ac_header_preproc" >&6; } >+- >+-# So? What about this header? >+-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in >+- yes:no: ) >+- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 >+-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 >+-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} >+- ac_header_preproc=yes >+- ;; >+- no:yes:* ) >+- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 >+-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 >+-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 >+-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 >+-echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 >+-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 >+-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} >+- >+- ;; >+-esac >+-{ echo "$as_me:$LINENO: checking for $ac_header" >&5 >+-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-else >+- eval "$as_ac_Header=\$ac_header_preproc" >+-fi >+-ac_res=`eval echo '${'$as_ac_Header'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+- >+-fi >+-if test `eval echo '${'$as_ac_Header'}'` = yes; then >++do : >++ ac_fn_c_check_header_mongrel "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default" >++if test "x$ac_cv_header_sys_resource_h" = xyes; then : >+ cat >>confdefs.h <<_ACEOF >+-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 >++#define HAVE_SYS_RESOURCE_H 1 >+ _ACEOF >+ >+ fi >+ >+ done >+ >+- >+ for ac_header in sys/utsname.h >+-do >+-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- { echo "$as_me:$LINENO: checking for $ac_header" >&5 >+-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-fi >+-ac_res=`eval echo '${'$as_ac_Header'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+-else >+- # Is the header compilable? >+-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 >+-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-$ac_includes_default >+-#include <$ac_header> >+-_ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >+- ac_header_compiler=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_header_compiler=no >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 >+-echo "${ECHO_T}$ac_header_compiler" >&6; } >+- >+-# Is the header present? >+-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 >+-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-#include <$ac_header> >+-_ACEOF >+-if { (ac_try="$ac_cpp conftest.$ac_ext" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } >/dev/null && { >+- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || >+- test ! -s conftest.err >+- }; then >+- ac_header_preproc=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_header_preproc=no >+-fi >+- >+-rm -f conftest.err conftest.$ac_ext >+-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 >+-echo "${ECHO_T}$ac_header_preproc" >&6; } >+- >+-# So? What about this header? >+-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in >+- yes:no: ) >+- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 >+-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 >+-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} >+- ac_header_preproc=yes >+- ;; >+- no:yes:* ) >+- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 >+-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 >+-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 >+-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 >+-echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 >+-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 >+-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} >+- >+- ;; >+-esac >+-{ echo "$as_me:$LINENO: checking for $ac_header" >&5 >+-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-else >+- eval "$as_ac_Header=\$ac_header_preproc" >+-fi >+-ac_res=`eval echo '${'$as_ac_Header'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+- >+-fi >+-if test `eval echo '${'$as_ac_Header'}'` = yes; then >++do : >++ ac_fn_c_check_header_mongrel "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default" >++if test "x$ac_cv_header_sys_utsname_h" = xyes; then : >+ cat >>confdefs.h <<_ACEOF >+-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 >++#define HAVE_SYS_UTSNAME_H 1 >+ _ACEOF >+ >+ fi >+ >+ done >+ >+- >+ for ac_header in sys/un.h >+-do >+-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- { echo "$as_me:$LINENO: checking for $ac_header" >&5 >+-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-fi >+-ac_res=`eval echo '${'$as_ac_Header'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+-else >+- # Is the header compilable? >+-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 >+-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-$ac_includes_default >+-#include <$ac_header> >+-_ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >+- ac_header_compiler=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_header_compiler=no >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 >+-echo "${ECHO_T}$ac_header_compiler" >&6; } >+- >+-# Is the header present? >+-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 >+-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-#include <$ac_header> >+-_ACEOF >+-if { (ac_try="$ac_cpp conftest.$ac_ext" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } >/dev/null && { >+- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || >+- test ! -s conftest.err >+- }; then >+- ac_header_preproc=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_header_preproc=no >+-fi >+- >+-rm -f conftest.err conftest.$ac_ext >+-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 >+-echo "${ECHO_T}$ac_header_preproc" >&6; } >+- >+-# So? What about this header? >+-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in >+- yes:no: ) >+- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 >+-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 >+-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} >+- ac_header_preproc=yes >+- ;; >+- no:yes:* ) >+- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 >+-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 >+-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 >+-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 >+-echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 >+-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 >+-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} >+- >+- ;; >+-esac >+-{ echo "$as_me:$LINENO: checking for $ac_header" >&5 >+-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-else >+- eval "$as_ac_Header=\$ac_header_preproc" >+-fi >+-ac_res=`eval echo '${'$as_ac_Header'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+- >+-fi >+-if test `eval echo '${'$as_ac_Header'}'` = yes; then >++do : >++ ac_fn_c_check_header_mongrel "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "$ac_includes_default" >++if test "x$ac_cv_header_sys_un_h" = xyes; then : >+ cat >>confdefs.h <<_ACEOF >+-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 >++#define HAVE_SYS_UN_H 1 >+ _ACEOF >+ >+ fi >+ >+ done >+ >+- >+ for ac_header in sys/fmutex.h >+-do >+-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- { echo "$as_me:$LINENO: checking for $ac_header" >&5 >+-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-fi >+-ac_res=`eval echo '${'$as_ac_Header'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+-else >+- # Is the header compilable? >+-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 >+-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-$ac_includes_default >+-#include <$ac_header> >+-_ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >+- ac_header_compiler=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_header_compiler=no >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 >+-echo "${ECHO_T}$ac_header_compiler" >&6; } >+- >+-# Is the header present? >+-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 >+-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-#include <$ac_header> >+-_ACEOF >+-if { (ac_try="$ac_cpp conftest.$ac_ext" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } >/dev/null && { >+- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || >+- test ! -s conftest.err >+- }; then >+- ac_header_preproc=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_header_preproc=no >+-fi >+- >+-rm -f conftest.err conftest.$ac_ext >+-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 >+-echo "${ECHO_T}$ac_header_preproc" >&6; } >+- >+-# So? What about this header? >+-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in >+- yes:no: ) >+- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 >+-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 >+-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} >+- ac_header_preproc=yes >+- ;; >+- no:yes:* ) >+- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 >+-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 >+-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 >+-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 >+-echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 >+-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 >+-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} >+- >+- ;; >+-esac >+-{ echo "$as_me:$LINENO: checking for $ac_header" >&5 >+-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-else >+- eval "$as_ac_Header=\$ac_header_preproc" >+-fi >+-ac_res=`eval echo '${'$as_ac_Header'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+- >+-fi >+-if test `eval echo '${'$as_ac_Header'}'` = yes; then >++do : >++ ac_fn_c_check_header_mongrel "$LINENO" "sys/fmutex.h" "ac_cv_header_sys_fmutex_h" "$ac_includes_default" >++if test "x$ac_cv_header_sys_fmutex_h" = xyes; then : >+ cat >>confdefs.h <<_ACEOF >+-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 >++#define HAVE_SYS_FMUTEX_H 1 >+ _ACEOF >+ >+ fi >+ >+ done >+ >+- >+ for ac_header in sys/cygwin.h >+-do >+-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- { echo "$as_me:$LINENO: checking for $ac_header" >&5 >+-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-fi >+-ac_res=`eval echo '${'$as_ac_Header'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+-else >+- # Is the header compilable? >+-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 >+-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-$ac_includes_default >+-#include <$ac_header> >+-_ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >+- ac_header_compiler=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_header_compiler=no >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 >+-echo "${ECHO_T}$ac_header_compiler" >&6; } >+- >+-# Is the header present? >+-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 >+-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-#include <$ac_header> >+-_ACEOF >+-if { (ac_try="$ac_cpp conftest.$ac_ext" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } >/dev/null && { >+- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || >+- test ! -s conftest.err >+- }; then >+- ac_header_preproc=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_header_preproc=no >+-fi >+- >+-rm -f conftest.err conftest.$ac_ext >+-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 >+-echo "${ECHO_T}$ac_header_preproc" >&6; } >+- >+-# So? What about this header? >+-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in >+- yes:no: ) >+- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 >+-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 >+-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} >+- ac_header_preproc=yes >+- ;; >+- no:yes:* ) >+- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 >+-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 >+-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 >+-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 >+-echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 >+-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 >+-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} >+- >+- ;; >+-esac >+-{ echo "$as_me:$LINENO: checking for $ac_header" >&5 >+-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-else >+- eval "$as_ac_Header=\$ac_header_preproc" >+-fi >+-ac_res=`eval echo '${'$as_ac_Header'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+- >+-fi >+-if test `eval echo '${'$as_ac_Header'}'` = yes; then >++do : >++ ac_fn_c_check_header_mongrel "$LINENO" "sys/cygwin.h" "ac_cv_header_sys_cygwin_h" "$ac_includes_default" >++if test "x$ac_cv_header_sys_cygwin_h" = xyes; then : >+ cat >>confdefs.h <<_ACEOF >+-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 >++#define HAVE_SYS_CYGWIN_H 1 >+ _ACEOF >+ >+ fi >+ >+ done >+ >+- >+ for ac_header in io.h >+-do >+-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- { echo "$as_me:$LINENO: checking for $ac_header" >&5 >+-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-fi >+-ac_res=`eval echo '${'$as_ac_Header'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+-else >+- # Is the header compilable? >+-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 >+-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-$ac_includes_default >+-#include <$ac_header> >+-_ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >+- ac_header_compiler=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_header_compiler=no >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 >+-echo "${ECHO_T}$ac_header_compiler" >&6; } >+- >+-# Is the header present? >+-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 >+-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-#include <$ac_header> >+-_ACEOF >+-if { (ac_try="$ac_cpp conftest.$ac_ext" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } >/dev/null && { >+- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || >+- test ! -s conftest.err >+- }; then >+- ac_header_preproc=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_header_preproc=no >+-fi >+- >+-rm -f conftest.err conftest.$ac_ext >+-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 >+-echo "${ECHO_T}$ac_header_preproc" >&6; } >+- >+-# So? What about this header? >+-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in >+- yes:no: ) >+- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 >+-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 >+-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} >+- ac_header_preproc=yes >+- ;; >+- no:yes:* ) >+- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 >+-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 >+-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 >+-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 >+-echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 >+-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 >+-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} >+- >+- ;; >+-esac >+-{ echo "$as_me:$LINENO: checking for $ac_header" >&5 >+-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-else >+- eval "$as_ac_Header=\$ac_header_preproc" >+-fi >+-ac_res=`eval echo '${'$as_ac_Header'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+- >+-fi >+-if test `eval echo '${'$as_ac_Header'}'` = yes; then >++do : >++ ac_fn_c_check_header_mongrel "$LINENO" "io.h" "ac_cv_header_io_h" "$ac_includes_default" >++if test "x$ac_cv_header_io_h" = xyes; then : >+ cat >>confdefs.h <<_ACEOF >+-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 >++#define HAVE_IO_H 1 >+ _ACEOF >+ >+ fi >+ >+ done >+ >+- >+ for ac_header in setjmp.h >+-do >+-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- { echo "$as_me:$LINENO: checking for $ac_header" >&5 >+-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-fi >+-ac_res=`eval echo '${'$as_ac_Header'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+-else >+- # Is the header compilable? >+-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 >+-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-$ac_includes_default >+-#include <$ac_header> >+-_ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >+- ac_header_compiler=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_header_compiler=no >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 >+-echo "${ECHO_T}$ac_header_compiler" >&6; } >+- >+-# Is the header present? >+-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 >+-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-#include <$ac_header> >+-_ACEOF >+-if { (ac_try="$ac_cpp conftest.$ac_ext" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } >/dev/null && { >+- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || >+- test ! -s conftest.err >+- }; then >+- ac_header_preproc=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_header_preproc=no >+-fi >+- >+-rm -f conftest.err conftest.$ac_ext >+-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 >+-echo "${ECHO_T}$ac_header_preproc" >&6; } >+- >+-# So? What about this header? >+-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in >+- yes:no: ) >+- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 >+-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 >+-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} >+- ac_header_preproc=yes >+- ;; >+- no:yes:* ) >+- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 >+-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 >+-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 >+-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 >+-echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 >+-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 >+-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} >+- >+- ;; >+-esac >+-{ echo "$as_me:$LINENO: checking for $ac_header" >&5 >+-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-else >+- eval "$as_ac_Header=\$ac_header_preproc" >+-fi >+-ac_res=`eval echo '${'$as_ac_Header'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+- >+-fi >+-if test `eval echo '${'$as_ac_Header'}'` = yes; then >++do : >++ ac_fn_c_check_header_mongrel "$LINENO" "setjmp.h" "ac_cv_header_setjmp_h" "$ac_includes_default" >++if test "x$ac_cv_header_setjmp_h" = xyes; then : >+ cat >>confdefs.h <<_ACEOF >+-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 >++#define HAVE_SETJMP_H 1 >+ _ACEOF >+ >+ fi >+ >+ done >+ >+- >+ for ac_header in langinfo.h >+-do >+-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- { echo "$as_me:$LINENO: checking for $ac_header" >&5 >+-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-fi >+-ac_res=`eval echo '${'$as_ac_Header'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+-else >+- # Is the header compilable? >+-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 >+-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-$ac_includes_default >+-#include <$ac_header> >+-_ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >+- ac_header_compiler=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_header_compiler=no >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 >+-echo "${ECHO_T}$ac_header_compiler" >&6; } >+- >+-# Is the header present? >+-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 >+-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-#include <$ac_header> >+-_ACEOF >+-if { (ac_try="$ac_cpp conftest.$ac_ext" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } >/dev/null && { >+- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || >+- test ! -s conftest.err >+- }; then >+- ac_header_preproc=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_header_preproc=no >+-fi >+- >+-rm -f conftest.err conftest.$ac_ext >+-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 >+-echo "${ECHO_T}$ac_header_preproc" >&6; } >+- >+-# So? What about this header? >+-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in >+- yes:no: ) >+- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 >+-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 >+-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} >+- ac_header_preproc=yes >+- ;; >+- no:yes:* ) >+- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 >+-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 >+-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 >+-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 >+-echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 >+-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 >+-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} >+- >+- ;; >+-esac >+-{ echo "$as_me:$LINENO: checking for $ac_header" >&5 >+-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-else >+- eval "$as_ac_Header=\$ac_header_preproc" >+-fi >+-ac_res=`eval echo '${'$as_ac_Header'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+- >+-fi >+-if test `eval echo '${'$as_ac_Header'}'` = yes; then >++do : >++ ac_fn_c_check_header_mongrel "$LINENO" "langinfo.h" "ac_cv_header_langinfo_h" "$ac_includes_default" >++if test "x$ac_cv_header_langinfo_h" = xyes; then : >+ cat >>confdefs.h <<_ACEOF >+-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 >++#define HAVE_LANGINFO_H 1 >+ _ACEOF >+ >+ fi >+@@ -7175,26 +5518,22 @@ fi >+ done >+ >+ >+-{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 >+-echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; } >+-if test "${ac_cv_c_const+set}" = set; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 >++$as_echo_n "checking for an ANSI C-conforming const... " >&6; } >++if ${ac_cv_c_const+:} false; then : >++ $as_echo_n "(cached) " >&6 >+ else >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext >+ /* end confdefs.h. */ >+ >+ int >+ main () >+ { >+-/* FIXME: Include the comments suggested by Paul. */ >++ >+ #ifndef __cplusplus >+- /* Ultrix mips cc rejects this. */ >++ /* Ultrix mips cc rejects this sort of thing. */ >+ typedef int charset[2]; >+- const charset cs; >++ const charset cs = { 0, 0 }; >+ /* SunOS 4.1.1 cc rejects this. */ >+ char const *const *pcpcc; >+ char **ppc; >+@@ -7211,8 +5550,9 @@ main () >+ ++pcpcc; >+ ppc = (char**) pcpcc; >+ pcpcc = (char const *const *) ppc; >+- { /* SCO 3.2v4 cc rejects this. */ >+- char *t; >++ { /* SCO 3.2v4 cc rejects this sort of thing. */ >++ char tx; >++ char *t = &tx; >+ char const *s = 0 ? (char *) 0 : (char const *) 0; >+ >+ *t++ = 0; >+@@ -7228,10 +5568,10 @@ main () >+ iptr p = 0; >+ ++p; >+ } >+- { /* AIX XL C 1.02.0.0 rejects this saying >++ { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying >+ "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ >+- struct s { int j; const int *ap[3]; }; >+- struct s *b; b->j = 5; >++ struct s { int j; const int *ap[3]; } bx; >++ struct s *b = &bx; b->j = 5; >+ } >+ { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ >+ const int foo = 10; >+@@ -7244,55 +5584,29 @@ main () >+ return 0; >+ } >+ _ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >++if ac_fn_c_try_compile "$LINENO"; then : >+ ac_cv_c_const=yes >+ else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_cv_c_const=no >++ ac_cv_c_const=no >+ fi >+- >+ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+ fi >+-{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 >+-echo "${ECHO_T}$ac_cv_c_const" >&6; } >++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 >++$as_echo "$ac_cv_c_const" >&6; } >+ if test $ac_cv_c_const = no; then >+ >+-cat >>confdefs.h <<\_ACEOF >+-#define const >+-_ACEOF >++$as_echo "#define const /**/" >>confdefs.h >+ >+ fi >+ >+-{ echo "$as_me:$LINENO: checking for inline" >&5 >+-echo $ECHO_N "checking for inline... $ECHO_C" >&6; } >+-if test "${ac_cv_c_inline+set}" = set; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 >++$as_echo_n "checking for inline... " >&6; } >++if ${ac_cv_c_inline+:} false; then : >++ $as_echo_n "(cached) " >&6 >+ else >+ ac_cv_c_inline=no >+ for ac_kw in inline __inline__ __inline; do >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext >+ /* end confdefs.h. */ >+ #ifndef __cplusplus >+ typedef int foo_t; >+@@ -7301,39 +5615,16 @@ $ac_kw foo_t foo () {return 0; } >+ #endif >+ >+ _ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >++if ac_fn_c_try_compile "$LINENO"; then : >+ ac_cv_c_inline=$ac_kw >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- >+ fi >+- >+ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+ test "$ac_cv_c_inline" != no && break >+ done >+ >+ fi >+-{ echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 >+-echo "${ECHO_T}$ac_cv_c_inline" >&6; } >+- >++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 >++$as_echo "$ac_cv_c_inline" >&6; } >+ >+ case $ac_cv_c_inline in >+ inline | yes) ;; >+@@ -7350,61 +5641,9 @@ _ACEOF >+ ;; >+ esac >+ >+-{ echo "$as_me:$LINENO: checking for size_t" >&5 >+-echo $ECHO_N "checking for size_t... $ECHO_C" >&6; } >+-if test "${ac_cv_type_size_t+set}" = set; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-else >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-$ac_includes_default >+-typedef size_t ac__type_new_; >+-int >+-main () >+-{ >+-if ((ac__type_new_ *) 0) >+- return 0; >+-if (sizeof (ac__type_new_)) >+- return 0; >+- ; >+- return 0; >+-} >+-_ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >+- ac_cv_type_size_t=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_cv_type_size_t=no >+-fi >++ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" >++if test "x$ac_cv_type_size_t" = xyes; then : >+ >+-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+-fi >+-{ echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 >+-echo "${ECHO_T}$ac_cv_type_size_t" >&6; } >+-if test $ac_cv_type_size_t = yes; then >+- : >+ else >+ >+ cat >>confdefs.h <<_ACEOF >+@@ -7413,16 +5652,12 @@ _ACEOF >+ >+ fi >+ >+-{ echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 >+-echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; } >+-if test "${ac_cv_header_time+set}" = set; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5 >++$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } >++if ${ac_cv_header_time+:} false; then : >++ $as_echo_n "(cached) " >&6 >+ else >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext >+ /* end confdefs.h. */ >+ #include <sys/types.h> >+ #include <sys/time.h> >+@@ -7437,53 +5672,27 @@ return 0; >+ return 0; >+ } >+ _ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >++if ac_fn_c_try_compile "$LINENO"; then : >+ ac_cv_header_time=yes >+ else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_cv_header_time=no >++ ac_cv_header_time=no >+ fi >+- >+ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+ fi >+-{ echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 >+-echo "${ECHO_T}$ac_cv_header_time" >&6; } >++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5 >++$as_echo "$ac_cv_header_time" >&6; } >+ if test $ac_cv_header_time = yes; then >+ >+-cat >>confdefs.h <<\_ACEOF >+-#define TIME_WITH_SYS_TIME 1 >+-_ACEOF >++$as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h >+ >+ fi >+ >+-{ echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5 >+-echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; } >+-if test "${ac_cv_struct_tm+set}" = set; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5 >++$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } >++if ${ac_cv_struct_tm+:} false; then : >++ $as_echo_n "(cached) " >&6 >+ else >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext >+ /* end confdefs.h. */ >+ #include <sys/types.h> >+ #include <time.h> >+@@ -7493,45 +5702,23 @@ main () >+ { >+ struct tm tm; >+ int *p = &tm.tm_sec; >+- return !p; >++ return !p; >+ ; >+ return 0; >+ } >+ _ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >++if ac_fn_c_try_compile "$LINENO"; then : >+ ac_cv_struct_tm=time.h >+ else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_cv_struct_tm=sys/time.h >++ ac_cv_struct_tm=sys/time.h >+ fi >+- >+ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+ fi >+-{ echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 >+-echo "${ECHO_T}$ac_cv_struct_tm" >&6; } >++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5 >++$as_echo "$ac_cv_struct_tm" >&6; } >+ if test $ac_cv_struct_tm = sys/time.h; then >+ >+-cat >>confdefs.h <<\_ACEOF >+-#define TM_IN_SYS_TIME 1 >+-_ACEOF >++$as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h >+ >+ fi >+ >+@@ -7544,403 +5731,31 @@ else >+ default_int=0 >+ fi >+ >+-{ echo "$as_me:$LINENO: checking for short" >&5 >+-echo $ECHO_N "checking for short... $ECHO_C" >&6; } >+-if test "${ac_cv_type_short+set}" = set; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-else >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-$ac_includes_default >+-typedef short ac__type_new_; >+-int >+-main () >+-{ >+-if ((ac__type_new_ *) 0) >+- return 0; >+-if (sizeof (ac__type_new_)) >+- return 0; >+- ; >+- return 0; >+-} >+-_ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >+- ac_cv_type_short=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_cv_type_short=no >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+-fi >+-{ echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5 >+-echo "${ECHO_T}$ac_cv_type_short" >&6; } >+- >+ # The cast to long int works around a bug in the HP C Compiler >+ # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects >+ # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. >+ # This bug is HP SR number 8606223364. >+-{ echo "$as_me:$LINENO: checking size of short" >&5 >+-echo $ECHO_N "checking size of short... $ECHO_C" >&6; } >+-if test "${ac_cv_sizeof_short+set}" = set; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-else >+- if test "$cross_compiling" = yes; then >+- # Depending upon the size, compute the lo and hi bounds. >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-$ac_includes_default >+- typedef short ac__type_sizeof_; >+-int >+-main () >+-{ >+-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; >+-test_array [0] = 0 >+- >+- ; >+- return 0; >+-} >+-_ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >+- ac_lo=0 ac_mid=0 >+- while :; do >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-$ac_includes_default >+- typedef short ac__type_sizeof_; >+-int >+-main () >+-{ >+-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; >+-test_array [0] = 0 >+- >+- ; >+- return 0; >+-} >+-_ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >+- ac_hi=$ac_mid; break >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_lo=`expr $ac_mid + 1` >+- if test $ac_lo -le $ac_mid; then >+- ac_lo= ac_hi= >+- break >+- fi >+- ac_mid=`expr 2 '*' $ac_mid + 1` >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+- done >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-$ac_includes_default >+- typedef short ac__type_sizeof_; >+-int >+-main () >+-{ >+-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; >+-test_array [0] = 0 >+- >+- ; >+- return 0; >+-} >+-_ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >+- ac_hi=-1 ac_mid=-1 >+- while :; do >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-$ac_includes_default >+- typedef short ac__type_sizeof_; >+-int >+-main () >+-{ >+-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; >+-test_array [0] = 0 >+- >+- ; >+- return 0; >+-} >+-_ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >+- ac_lo=$ac_mid; break >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_hi=`expr '(' $ac_mid ')' - 1` >+- if test $ac_mid -le $ac_hi; then >+- ac_lo= ac_hi= >+- break >+- fi >+- ac_mid=`expr 2 '*' $ac_mid` >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+- done >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_lo= ac_hi= >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+-# Binary search between lo and hi bounds. >+-while test "x$ac_lo" != "x$ac_hi"; do >+- ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-$ac_includes_default >+- typedef short ac__type_sizeof_; >+-int >+-main () >+-{ >+-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; >+-test_array [0] = 0 >+- >+- ; >+- return 0; >+-} >+-_ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >+- ac_hi=$ac_mid >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_lo=`expr '(' $ac_mid ')' + 1` >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+-done >+-case $ac_lo in >+-?*) ac_cv_sizeof_short=$ac_lo;; >+-'') if test "$ac_cv_type_short" = yes; then >+- { { echo "$as_me:$LINENO: error: cannot compute sizeof (short) >+-See \`config.log' for more details." >&5 >+-echo "$as_me: error: cannot compute sizeof (short) >+-See \`config.log' for more details." >&2;} >+- { (exit 77); exit 77; }; } >+- else >+- ac_cv_sizeof_short=0 >+- fi ;; >+-esac >++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5 >++$as_echo_n "checking size of short... " >&6; } >++if ${ac_cv_sizeof_short+:} false; then : >++ $as_echo_n "(cached) " >&6 >+ else >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-$ac_includes_default >+- typedef short ac__type_sizeof_; >+-static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } >+-static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } >+-#include <stdio.h> >+-#include <stdlib.h> >+-int >+-main () >+-{ >+- >+- FILE *f = fopen ("conftest.val", "w"); >+- if (! f) >+- return 1; >+- if (((long int) (sizeof (ac__type_sizeof_))) < 0) >+- { >+- long int i = longval (); >+- if (i != ((long int) (sizeof (ac__type_sizeof_)))) >+- return 1; >+- fprintf (f, "%ld\n", i); >+- } >+- else >+- { >+- unsigned long int i = ulongval (); >+- if (i != ((long int) (sizeof (ac__type_sizeof_)))) >+- return 1; >+- fprintf (f, "%lu\n", i); >+- } >+- return ferror (f) || fclose (f) != 0; >++ if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then : >+ >+- ; >+- return 0; >+-} >+-_ACEOF >+-rm -f conftest$ac_exeext >+-if { (ac_try="$ac_link" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_link") 2>&5 >+- ac_status=$? >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { ac_try='./conftest$ac_exeext' >+- { (case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_try") 2>&5 >+- ac_status=$? >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); }; }; then >+- ac_cv_sizeof_short=`cat conftest.val` >+ else >+- echo "$as_me: program exited with status $ac_status" >&5 >+-echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+-( exit $ac_status ) >+-if test "$ac_cv_type_short" = yes; then >+- { { echo "$as_me:$LINENO: error: cannot compute sizeof (short) >+-See \`config.log' for more details." >&5 >+-echo "$as_me: error: cannot compute sizeof (short) >+-See \`config.log' for more details." >&2;} >+- { (exit 77); exit 77; }; } >++ if test "$ac_cv_type_short" = yes; then >++ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 >++$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} >++as_fn_error 77 "cannot compute sizeof (short) >++See \`config.log' for more details" "$LINENO" 5; } >+ else >+ ac_cv_sizeof_short=0 >+ fi >+ fi >+-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext >+-fi >+-rm -f conftest.val >++ >+ fi >+-{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5 >+-echo "${ECHO_T}$ac_cv_sizeof_short" >&6; } >++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5 >++$as_echo "$ac_cv_sizeof_short" >&6; } >+ >+ >+ >+@@ -7949,403 +5764,31 @@ cat >>confdefs.h <<_ACEOF >+ _ACEOF >+ >+ >+-{ echo "$as_me:$LINENO: checking for unsigned short" >&5 >+-echo $ECHO_N "checking for unsigned short... $ECHO_C" >&6; } >+-if test "${ac_cv_type_unsigned_short+set}" = set; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-else >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-$ac_includes_default >+-typedef unsigned short ac__type_new_; >+-int >+-main () >+-{ >+-if ((ac__type_new_ *) 0) >+- return 0; >+-if (sizeof (ac__type_new_)) >+- return 0; >+- ; >+- return 0; >+-} >+-_ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >+- ac_cv_type_unsigned_short=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_cv_type_unsigned_short=no >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+-fi >+-{ echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_short" >&5 >+-echo "${ECHO_T}$ac_cv_type_unsigned_short" >&6; } >+- >+ # The cast to long int works around a bug in the HP C Compiler >+ # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects >+ # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. >+ # This bug is HP SR number 8606223364. >+-{ echo "$as_me:$LINENO: checking size of unsigned short" >&5 >+-echo $ECHO_N "checking size of unsigned short... $ECHO_C" >&6; } >+-if test "${ac_cv_sizeof_unsigned_short+set}" = set; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-else >+- if test "$cross_compiling" = yes; then >+- # Depending upon the size, compute the lo and hi bounds. >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-$ac_includes_default >+- typedef unsigned short ac__type_sizeof_; >+-int >+-main () >+-{ >+-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; >+-test_array [0] = 0 >+- >+- ; >+- return 0; >+-} >+-_ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >+- ac_lo=0 ac_mid=0 >+- while :; do >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-$ac_includes_default >+- typedef unsigned short ac__type_sizeof_; >+-int >+-main () >+-{ >+-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; >+-test_array [0] = 0 >+- >+- ; >+- return 0; >+-} >+-_ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >+- ac_hi=$ac_mid; break >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_lo=`expr $ac_mid + 1` >+- if test $ac_lo -le $ac_mid; then >+- ac_lo= ac_hi= >+- break >+- fi >+- ac_mid=`expr 2 '*' $ac_mid + 1` >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+- done >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-$ac_includes_default >+- typedef unsigned short ac__type_sizeof_; >+-int >+-main () >+-{ >+-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; >+-test_array [0] = 0 >+- >+- ; >+- return 0; >+-} >+-_ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >+- ac_hi=-1 ac_mid=-1 >+- while :; do >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-$ac_includes_default >+- typedef unsigned short ac__type_sizeof_; >+-int >+-main () >+-{ >+-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; >+-test_array [0] = 0 >+- >+- ; >+- return 0; >+-} >+-_ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >+- ac_lo=$ac_mid; break >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_hi=`expr '(' $ac_mid ')' - 1` >+- if test $ac_mid -le $ac_hi; then >+- ac_lo= ac_hi= >+- break >+- fi >+- ac_mid=`expr 2 '*' $ac_mid` >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+- done >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_lo= ac_hi= >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+-# Binary search between lo and hi bounds. >+-while test "x$ac_lo" != "x$ac_hi"; do >+- ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-$ac_includes_default >+- typedef unsigned short ac__type_sizeof_; >+-int >+-main () >+-{ >+-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; >+-test_array [0] = 0 >+- >+- ; >+- return 0; >+-} >+-_ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >+- ac_hi=$ac_mid >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_lo=`expr '(' $ac_mid ')' + 1` >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+-done >+-case $ac_lo in >+-?*) ac_cv_sizeof_unsigned_short=$ac_lo;; >+-'') if test "$ac_cv_type_unsigned_short" = yes; then >+- { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned short) >+-See \`config.log' for more details." >&5 >+-echo "$as_me: error: cannot compute sizeof (unsigned short) >+-See \`config.log' for more details." >&2;} >+- { (exit 77); exit 77; }; } >+- else >+- ac_cv_sizeof_unsigned_short=0 >+- fi ;; >+-esac >++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned short" >&5 >++$as_echo_n "checking size of unsigned short... " >&6; } >++if ${ac_cv_sizeof_unsigned_short+:} false; then : >++ $as_echo_n "(cached) " >&6 >+ else >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-$ac_includes_default >+- typedef unsigned short ac__type_sizeof_; >+-static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } >+-static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } >+-#include <stdio.h> >+-#include <stdlib.h> >+-int >+-main () >+-{ >+- >+- FILE *f = fopen ("conftest.val", "w"); >+- if (! f) >+- return 1; >+- if (((long int) (sizeof (ac__type_sizeof_))) < 0) >+- { >+- long int i = longval (); >+- if (i != ((long int) (sizeof (ac__type_sizeof_)))) >+- return 1; >+- fprintf (f, "%ld\n", i); >+- } >+- else >+- { >+- unsigned long int i = ulongval (); >+- if (i != ((long int) (sizeof (ac__type_sizeof_)))) >+- return 1; >+- fprintf (f, "%lu\n", i); >+- } >+- return ferror (f) || fclose (f) != 0; >++ if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned short))" "ac_cv_sizeof_unsigned_short" "$ac_includes_default"; then : >+ >+- ; >+- return 0; >+-} >+-_ACEOF >+-rm -f conftest$ac_exeext >+-if { (ac_try="$ac_link" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_link") 2>&5 >+- ac_status=$? >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { ac_try='./conftest$ac_exeext' >+- { (case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_try") 2>&5 >+- ac_status=$? >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); }; }; then >+- ac_cv_sizeof_unsigned_short=`cat conftest.val` >+ else >+- echo "$as_me: program exited with status $ac_status" >&5 >+-echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+-( exit $ac_status ) >+-if test "$ac_cv_type_unsigned_short" = yes; then >+- { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned short) >+-See \`config.log' for more details." >&5 >+-echo "$as_me: error: cannot compute sizeof (unsigned short) >+-See \`config.log' for more details." >&2;} >+- { (exit 77); exit 77; }; } >++ if test "$ac_cv_type_unsigned_short" = yes; then >++ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 >++$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} >++as_fn_error 77 "cannot compute sizeof (unsigned short) >++See \`config.log' for more details" "$LINENO" 5; } >+ else >+ ac_cv_sizeof_unsigned_short=0 >+ fi >+ fi >+-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext >+-fi >+-rm -f conftest.val >++ >+ fi >+-{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_short" >&5 >+-echo "${ECHO_T}$ac_cv_sizeof_unsigned_short" >&6; } >++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_short" >&5 >++$as_echo "$ac_cv_sizeof_unsigned_short" >&6; } >+ >+ >+ >+@@ -8354,403 +5797,31 @@ cat >>confdefs.h <<_ACEOF >+ _ACEOF >+ >+ >+-{ echo "$as_me:$LINENO: checking for int" >&5 >+-echo $ECHO_N "checking for int... $ECHO_C" >&6; } >+-if test "${ac_cv_type_int+set}" = set; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-else >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-$ac_includes_default >+-typedef int ac__type_new_; >+-int >+-main () >+-{ >+-if ((ac__type_new_ *) 0) >+- return 0; >+-if (sizeof (ac__type_new_)) >+- return 0; >+- ; >+- return 0; >+-} >+-_ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >+- ac_cv_type_int=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_cv_type_int=no >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+-fi >+-{ echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5 >+-echo "${ECHO_T}$ac_cv_type_int" >&6; } >+- >+ # The cast to long int works around a bug in the HP C Compiler >+ # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects >+ # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. >+ # This bug is HP SR number 8606223364. >+-{ echo "$as_me:$LINENO: checking size of int" >&5 >+-echo $ECHO_N "checking size of int... $ECHO_C" >&6; } >+-if test "${ac_cv_sizeof_int+set}" = set; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-else >+- if test "$cross_compiling" = yes; then >+- # Depending upon the size, compute the lo and hi bounds. >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-$ac_includes_default >+- typedef int ac__type_sizeof_; >+-int >+-main () >+-{ >+-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; >+-test_array [0] = 0 >+- >+- ; >+- return 0; >+-} >+-_ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >+- ac_lo=0 ac_mid=0 >+- while :; do >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-$ac_includes_default >+- typedef int ac__type_sizeof_; >+-int >+-main () >+-{ >+-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; >+-test_array [0] = 0 >+- >+- ; >+- return 0; >+-} >+-_ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >+- ac_hi=$ac_mid; break >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_lo=`expr $ac_mid + 1` >+- if test $ac_lo -le $ac_mid; then >+- ac_lo= ac_hi= >+- break >+- fi >+- ac_mid=`expr 2 '*' $ac_mid + 1` >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+- done >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-$ac_includes_default >+- typedef int ac__type_sizeof_; >+-int >+-main () >+-{ >+-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; >+-test_array [0] = 0 >+- >+- ; >+- return 0; >+-} >+-_ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >+- ac_hi=-1 ac_mid=-1 >+- while :; do >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-$ac_includes_default >+- typedef int ac__type_sizeof_; >+-int >+-main () >+-{ >+-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; >+-test_array [0] = 0 >+- >+- ; >+- return 0; >+-} >+-_ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >+- ac_lo=$ac_mid; break >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_hi=`expr '(' $ac_mid ')' - 1` >+- if test $ac_mid -le $ac_hi; then >+- ac_lo= ac_hi= >+- break >+- fi >+- ac_mid=`expr 2 '*' $ac_mid` >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+- done >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_lo= ac_hi= >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+-# Binary search between lo and hi bounds. >+-while test "x$ac_lo" != "x$ac_hi"; do >+- ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-$ac_includes_default >+- typedef int ac__type_sizeof_; >+-int >+-main () >+-{ >+-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; >+-test_array [0] = 0 >+- >+- ; >+- return 0; >+-} >+-_ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >+- ac_hi=$ac_mid >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_lo=`expr '(' $ac_mid ')' + 1` >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+-done >+-case $ac_lo in >+-?*) ac_cv_sizeof_int=$ac_lo;; >+-'') if test "$ac_cv_type_int" = yes; then >+- { { echo "$as_me:$LINENO: error: cannot compute sizeof (int) >+-See \`config.log' for more details." >&5 >+-echo "$as_me: error: cannot compute sizeof (int) >+-See \`config.log' for more details." >&2;} >+- { (exit 77); exit 77; }; } >+- else >+- ac_cv_sizeof_int=0 >+- fi ;; >+-esac >++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5 >++$as_echo_n "checking size of int... " >&6; } >++if ${ac_cv_sizeof_int+:} false; then : >++ $as_echo_n "(cached) " >&6 >+ else >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-$ac_includes_default >+- typedef int ac__type_sizeof_; >+-static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } >+-static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } >+-#include <stdio.h> >+-#include <stdlib.h> >+-int >+-main () >+-{ >+- >+- FILE *f = fopen ("conftest.val", "w"); >+- if (! f) >+- return 1; >+- if (((long int) (sizeof (ac__type_sizeof_))) < 0) >+- { >+- long int i = longval (); >+- if (i != ((long int) (sizeof (ac__type_sizeof_)))) >+- return 1; >+- fprintf (f, "%ld\n", i); >+- } >+- else >+- { >+- unsigned long int i = ulongval (); >+- if (i != ((long int) (sizeof (ac__type_sizeof_)))) >+- return 1; >+- fprintf (f, "%lu\n", i); >+- } >+- return ferror (f) || fclose (f) != 0; >++ if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then : >+ >+- ; >+- return 0; >+-} >+-_ACEOF >+-rm -f conftest$ac_exeext >+-if { (ac_try="$ac_link" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_link") 2>&5 >+- ac_status=$? >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { ac_try='./conftest$ac_exeext' >+- { (case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_try") 2>&5 >+- ac_status=$? >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); }; }; then >+- ac_cv_sizeof_int=`cat conftest.val` >+ else >+- echo "$as_me: program exited with status $ac_status" >&5 >+-echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+-( exit $ac_status ) >+-if test "$ac_cv_type_int" = yes; then >+- { { echo "$as_me:$LINENO: error: cannot compute sizeof (int) >+-See \`config.log' for more details." >&5 >+-echo "$as_me: error: cannot compute sizeof (int) >+-See \`config.log' for more details." >&2;} >+- { (exit 77); exit 77; }; } >++ if test "$ac_cv_type_int" = yes; then >++ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 >++$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} >++as_fn_error 77 "cannot compute sizeof (int) >++See \`config.log' for more details" "$LINENO" 5; } >+ else >+ ac_cv_sizeof_int=0 >+ fi >+ fi >+-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext >+-fi >+-rm -f conftest.val >++ >+ fi >+-{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5 >+-echo "${ECHO_T}$ac_cv_sizeof_int" >&6; } >++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5 >++$as_echo "$ac_cv_sizeof_int" >&6; } >+ >+ >+ >+@@ -8759,403 +5830,31 @@ cat >>confdefs.h <<_ACEOF >+ _ACEOF >+ >+ >+-{ echo "$as_me:$LINENO: checking for unsigned" >&5 >+-echo $ECHO_N "checking for unsigned... $ECHO_C" >&6; } >+-if test "${ac_cv_type_unsigned+set}" = set; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-else >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-$ac_includes_default >+-typedef unsigned ac__type_new_; >+-int >+-main () >+-{ >+-if ((ac__type_new_ *) 0) >+- return 0; >+-if (sizeof (ac__type_new_)) >+- return 0; >+- ; >+- return 0; >+-} >+-_ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >+- ac_cv_type_unsigned=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_cv_type_unsigned=no >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+-fi >+-{ echo "$as_me:$LINENO: result: $ac_cv_type_unsigned" >&5 >+-echo "${ECHO_T}$ac_cv_type_unsigned" >&6; } >+- >+ # The cast to long int works around a bug in the HP C Compiler >+ # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects >+ # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. >+ # This bug is HP SR number 8606223364. >+-{ echo "$as_me:$LINENO: checking size of unsigned" >&5 >+-echo $ECHO_N "checking size of unsigned... $ECHO_C" >&6; } >+-if test "${ac_cv_sizeof_unsigned+set}" = set; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-else >+- if test "$cross_compiling" = yes; then >+- # Depending upon the size, compute the lo and hi bounds. >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-$ac_includes_default >+- typedef unsigned ac__type_sizeof_; >+-int >+-main () >+-{ >+-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; >+-test_array [0] = 0 >+- >+- ; >+- return 0; >+-} >+-_ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >+- ac_lo=0 ac_mid=0 >+- while :; do >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-$ac_includes_default >+- typedef unsigned ac__type_sizeof_; >+-int >+-main () >+-{ >+-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; >+-test_array [0] = 0 >+- >+- ; >+- return 0; >+-} >+-_ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >+- ac_hi=$ac_mid; break >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_lo=`expr $ac_mid + 1` >+- if test $ac_lo -le $ac_mid; then >+- ac_lo= ac_hi= >+- break >+- fi >+- ac_mid=`expr 2 '*' $ac_mid + 1` >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+- done >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-$ac_includes_default >+- typedef unsigned ac__type_sizeof_; >+-int >+-main () >+-{ >+-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; >+-test_array [0] = 0 >+- >+- ; >+- return 0; >+-} >+-_ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >+- ac_hi=-1 ac_mid=-1 >+- while :; do >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-$ac_includes_default >+- typedef unsigned ac__type_sizeof_; >+-int >+-main () >+-{ >+-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; >+-test_array [0] = 0 >+- >+- ; >+- return 0; >+-} >+-_ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >+- ac_lo=$ac_mid; break >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_hi=`expr '(' $ac_mid ')' - 1` >+- if test $ac_mid -le $ac_hi; then >+- ac_lo= ac_hi= >+- break >+- fi >+- ac_mid=`expr 2 '*' $ac_mid` >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+- done >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_lo= ac_hi= >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+-# Binary search between lo and hi bounds. >+-while test "x$ac_lo" != "x$ac_hi"; do >+- ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-$ac_includes_default >+- typedef unsigned ac__type_sizeof_; >+-int >+-main () >+-{ >+-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; >+-test_array [0] = 0 >+- >+- ; >+- return 0; >+-} >+-_ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >+- ac_hi=$ac_mid >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_lo=`expr '(' $ac_mid ')' + 1` >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+-done >+-case $ac_lo in >+-?*) ac_cv_sizeof_unsigned=$ac_lo;; >+-'') if test "$ac_cv_type_unsigned" = yes; then >+- { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned) >+-See \`config.log' for more details." >&5 >+-echo "$as_me: error: cannot compute sizeof (unsigned) >+-See \`config.log' for more details." >&2;} >+- { (exit 77); exit 77; }; } >+- else >+- ac_cv_sizeof_unsigned=0 >+- fi ;; >+-esac >++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned" >&5 >++$as_echo_n "checking size of unsigned... " >&6; } >++if ${ac_cv_sizeof_unsigned+:} false; then : >++ $as_echo_n "(cached) " >&6 >+ else >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-$ac_includes_default >+- typedef unsigned ac__type_sizeof_; >+-static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } >+-static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } >+-#include <stdio.h> >+-#include <stdlib.h> >+-int >+-main () >+-{ >+- >+- FILE *f = fopen ("conftest.val", "w"); >+- if (! f) >+- return 1; >+- if (((long int) (sizeof (ac__type_sizeof_))) < 0) >+- { >+- long int i = longval (); >+- if (i != ((long int) (sizeof (ac__type_sizeof_)))) >+- return 1; >+- fprintf (f, "%ld\n", i); >+- } >+- else >+- { >+- unsigned long int i = ulongval (); >+- if (i != ((long int) (sizeof (ac__type_sizeof_)))) >+- return 1; >+- fprintf (f, "%lu\n", i); >+- } >+- return ferror (f) || fclose (f) != 0; >++ if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned))" "ac_cv_sizeof_unsigned" "$ac_includes_default"; then : >+ >+- ; >+- return 0; >+-} >+-_ACEOF >+-rm -f conftest$ac_exeext >+-if { (ac_try="$ac_link" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_link") 2>&5 >+- ac_status=$? >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { ac_try='./conftest$ac_exeext' >+- { (case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_try") 2>&5 >+- ac_status=$? >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); }; }; then >+- ac_cv_sizeof_unsigned=`cat conftest.val` >+ else >+- echo "$as_me: program exited with status $ac_status" >&5 >+-echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+-( exit $ac_status ) >+-if test "$ac_cv_type_unsigned" = yes; then >+- { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned) >+-See \`config.log' for more details." >&5 >+-echo "$as_me: error: cannot compute sizeof (unsigned) >+-See \`config.log' for more details." >&2;} >+- { (exit 77); exit 77; }; } >++ if test "$ac_cv_type_unsigned" = yes; then >++ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 >++$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} >++as_fn_error 77 "cannot compute sizeof (unsigned) >++See \`config.log' for more details" "$LINENO" 5; } >+ else >+ ac_cv_sizeof_unsigned=0 >+ fi >+ fi >+-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext >+-fi >+-rm -f conftest.val >++ >+ fi >+-{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned" >&5 >+-echo "${ECHO_T}$ac_cv_sizeof_unsigned" >&6; } >++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned" >&5 >++$as_echo "$ac_cv_sizeof_unsigned" >&6; } >+ >+ >+ >+@@ -9164,403 +5863,31 @@ cat >>confdefs.h <<_ACEOF >+ _ACEOF >+ >+ >+-{ echo "$as_me:$LINENO: checking for long" >&5 >+-echo $ECHO_N "checking for long... $ECHO_C" >&6; } >+-if test "${ac_cv_type_long+set}" = set; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-else >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-$ac_includes_default >+-typedef long ac__type_new_; >+-int >+-main () >+-{ >+-if ((ac__type_new_ *) 0) >+- return 0; >+-if (sizeof (ac__type_new_)) >+- return 0; >+- ; >+- return 0; >+-} >+-_ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >+- ac_cv_type_long=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_cv_type_long=no >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+-fi >+-{ echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5 >+-echo "${ECHO_T}$ac_cv_type_long" >&6; } >+- >+ # The cast to long int works around a bug in the HP C Compiler >+ # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects >+ # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. >+ # This bug is HP SR number 8606223364. >+-{ echo "$as_me:$LINENO: checking size of long" >&5 >+-echo $ECHO_N "checking size of long... $ECHO_C" >&6; } >+-if test "${ac_cv_sizeof_long+set}" = set; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-else >+- if test "$cross_compiling" = yes; then >+- # Depending upon the size, compute the lo and hi bounds. >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-$ac_includes_default >+- typedef long ac__type_sizeof_; >+-int >+-main () >+-{ >+-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; >+-test_array [0] = 0 >+- >+- ; >+- return 0; >+-} >+-_ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >+- ac_lo=0 ac_mid=0 >+- while :; do >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-$ac_includes_default >+- typedef long ac__type_sizeof_; >+-int >+-main () >+-{ >+-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; >+-test_array [0] = 0 >+- >+- ; >+- return 0; >+-} >+-_ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >+- ac_hi=$ac_mid; break >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_lo=`expr $ac_mid + 1` >+- if test $ac_lo -le $ac_mid; then >+- ac_lo= ac_hi= >+- break >+- fi >+- ac_mid=`expr 2 '*' $ac_mid + 1` >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+- done >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-$ac_includes_default >+- typedef long ac__type_sizeof_; >+-int >+-main () >+-{ >+-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; >+-test_array [0] = 0 >+- >+- ; >+- return 0; >+-} >+-_ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >+- ac_hi=-1 ac_mid=-1 >+- while :; do >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-$ac_includes_default >+- typedef long ac__type_sizeof_; >+-int >+-main () >+-{ >+-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; >+-test_array [0] = 0 >+- >+- ; >+- return 0; >+-} >+-_ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >+- ac_lo=$ac_mid; break >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_hi=`expr '(' $ac_mid ')' - 1` >+- if test $ac_mid -le $ac_hi; then >+- ac_lo= ac_hi= >+- break >+- fi >+- ac_mid=`expr 2 '*' $ac_mid` >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+- done >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_lo= ac_hi= >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+-# Binary search between lo and hi bounds. >+-while test "x$ac_lo" != "x$ac_hi"; do >+- ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-$ac_includes_default >+- typedef long ac__type_sizeof_; >+-int >+-main () >+-{ >+-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; >+-test_array [0] = 0 >+- >+- ; >+- return 0; >+-} >+-_ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >+- ac_hi=$ac_mid >++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5 >++$as_echo_n "checking size of long... " >&6; } >++if ${ac_cv_sizeof_long+:} false; then : >++ $as_echo_n "(cached) " >&6 >+ else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_lo=`expr '(' $ac_mid ')' + 1` >+-fi >++ if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then : >+ >+-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+-done >+-case $ac_lo in >+-?*) ac_cv_sizeof_long=$ac_lo;; >+-'') if test "$ac_cv_type_long" = yes; then >+- { { echo "$as_me:$LINENO: error: cannot compute sizeof (long) >+-See \`config.log' for more details." >&5 >+-echo "$as_me: error: cannot compute sizeof (long) >+-See \`config.log' for more details." >&2;} >+- { (exit 77); exit 77; }; } >+- else >+- ac_cv_sizeof_long=0 >+- fi ;; >+-esac >+ else >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-$ac_includes_default >+- typedef long ac__type_sizeof_; >+-static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } >+-static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } >+-#include <stdio.h> >+-#include <stdlib.h> >+-int >+-main () >+-{ >+- >+- FILE *f = fopen ("conftest.val", "w"); >+- if (! f) >+- return 1; >+- if (((long int) (sizeof (ac__type_sizeof_))) < 0) >+- { >+- long int i = longval (); >+- if (i != ((long int) (sizeof (ac__type_sizeof_)))) >+- return 1; >+- fprintf (f, "%ld\n", i); >+- } >+- else >+- { >+- unsigned long int i = ulongval (); >+- if (i != ((long int) (sizeof (ac__type_sizeof_)))) >+- return 1; >+- fprintf (f, "%lu\n", i); >+- } >+- return ferror (f) || fclose (f) != 0; >+- >+- ; >+- return 0; >+-} >+-_ACEOF >+-rm -f conftest$ac_exeext >+-if { (ac_try="$ac_link" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_link") 2>&5 >+- ac_status=$? >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { ac_try='./conftest$ac_exeext' >+- { (case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_try") 2>&5 >+- ac_status=$? >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); }; }; then >+- ac_cv_sizeof_long=`cat conftest.val` >+-else >+- echo "$as_me: program exited with status $ac_status" >&5 >+-echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+-( exit $ac_status ) >+-if test "$ac_cv_type_long" = yes; then >+- { { echo "$as_me:$LINENO: error: cannot compute sizeof (long) >+-See \`config.log' for more details." >&5 >+-echo "$as_me: error: cannot compute sizeof (long) >+-See \`config.log' for more details." >&2;} >+- { (exit 77); exit 77; }; } >++ if test "$ac_cv_type_long" = yes; then >++ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 >++$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} >++as_fn_error 77 "cannot compute sizeof (long) >++See \`config.log' for more details" "$LINENO" 5; } >+ else >+ ac_cv_sizeof_long=0 >+ fi >+ fi >+-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext >+-fi >+-rm -f conftest.val >++ >+ fi >+-{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5 >+-echo "${ECHO_T}$ac_cv_sizeof_long" >&6; } >++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 >++$as_echo "$ac_cv_sizeof_long" >&6; } >+ >+ >+ >+@@ -9569,403 +5896,31 @@ cat >>confdefs.h <<_ACEOF >+ _ACEOF >+ >+ >+-{ echo "$as_me:$LINENO: checking for unsigned long" >&5 >+-echo $ECHO_N "checking for unsigned long... $ECHO_C" >&6; } >+-if test "${ac_cv_type_unsigned_long+set}" = set; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-else >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-$ac_includes_default >+-typedef unsigned long ac__type_new_; >+-int >+-main () >+-{ >+-if ((ac__type_new_ *) 0) >+- return 0; >+-if (sizeof (ac__type_new_)) >+- return 0; >+- ; >+- return 0; >+-} >+-_ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >+- ac_cv_type_unsigned_long=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_cv_type_unsigned_long=no >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+-fi >+-{ echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long" >&5 >+-echo "${ECHO_T}$ac_cv_type_unsigned_long" >&6; } >+- >+ # The cast to long int works around a bug in the HP C Compiler >+ # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects >+ # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. >+ # This bug is HP SR number 8606223364. >+-{ echo "$as_me:$LINENO: checking size of unsigned long" >&5 >+-echo $ECHO_N "checking size of unsigned long... $ECHO_C" >&6; } >+-if test "${ac_cv_sizeof_unsigned_long+set}" = set; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-else >+- if test "$cross_compiling" = yes; then >+- # Depending upon the size, compute the lo and hi bounds. >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-$ac_includes_default >+- typedef unsigned long ac__type_sizeof_; >+-int >+-main () >+-{ >+-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; >+-test_array [0] = 0 >+- >+- ; >+- return 0; >+-} >+-_ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >+- ac_lo=0 ac_mid=0 >+- while :; do >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-$ac_includes_default >+- typedef unsigned long ac__type_sizeof_; >+-int >+-main () >+-{ >+-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; >+-test_array [0] = 0 >+- >+- ; >+- return 0; >+-} >+-_ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >+- ac_hi=$ac_mid; break >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_lo=`expr $ac_mid + 1` >+- if test $ac_lo -le $ac_mid; then >+- ac_lo= ac_hi= >+- break >+- fi >+- ac_mid=`expr 2 '*' $ac_mid + 1` >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+- done >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-$ac_includes_default >+- typedef unsigned long ac__type_sizeof_; >+-int >+-main () >+-{ >+-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; >+-test_array [0] = 0 >+- >+- ; >+- return 0; >+-} >+-_ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >+- ac_hi=-1 ac_mid=-1 >+- while :; do >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-$ac_includes_default >+- typedef unsigned long ac__type_sizeof_; >+-int >+-main () >+-{ >+-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; >+-test_array [0] = 0 >+- >+- ; >+- return 0; >+-} >+-_ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >+- ac_lo=$ac_mid; break >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_hi=`expr '(' $ac_mid ')' - 1` >+- if test $ac_mid -le $ac_hi; then >+- ac_lo= ac_hi= >+- break >+- fi >+- ac_mid=`expr 2 '*' $ac_mid` >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+- done >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_lo= ac_hi= >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+-# Binary search between lo and hi bounds. >+-while test "x$ac_lo" != "x$ac_hi"; do >+- ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-$ac_includes_default >+- typedef unsigned long ac__type_sizeof_; >+-int >+-main () >+-{ >+-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; >+-test_array [0] = 0 >+- >+- ; >+- return 0; >+-} >+-_ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >+- ac_hi=$ac_mid >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_lo=`expr '(' $ac_mid ')' + 1` >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+-done >+-case $ac_lo in >+-?*) ac_cv_sizeof_unsigned_long=$ac_lo;; >+-'') if test "$ac_cv_type_unsigned_long" = yes; then >+- { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long) >+-See \`config.log' for more details." >&5 >+-echo "$as_me: error: cannot compute sizeof (unsigned long) >+-See \`config.log' for more details." >&2;} >+- { (exit 77); exit 77; }; } >+- else >+- ac_cv_sizeof_unsigned_long=0 >+- fi ;; >+-esac >++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned long" >&5 >++$as_echo_n "checking size of unsigned long... " >&6; } >++if ${ac_cv_sizeof_unsigned_long+:} false; then : >++ $as_echo_n "(cached) " >&6 >+ else >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-$ac_includes_default >+- typedef unsigned long ac__type_sizeof_; >+-static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } >+-static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } >+-#include <stdio.h> >+-#include <stdlib.h> >+-int >+-main () >+-{ >+- >+- FILE *f = fopen ("conftest.val", "w"); >+- if (! f) >+- return 1; >+- if (((long int) (sizeof (ac__type_sizeof_))) < 0) >+- { >+- long int i = longval (); >+- if (i != ((long int) (sizeof (ac__type_sizeof_)))) >+- return 1; >+- fprintf (f, "%ld\n", i); >+- } >+- else >+- { >+- unsigned long int i = ulongval (); >+- if (i != ((long int) (sizeof (ac__type_sizeof_)))) >+- return 1; >+- fprintf (f, "%lu\n", i); >+- } >+- return ferror (f) || fclose (f) != 0; >++ if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned long))" "ac_cv_sizeof_unsigned_long" "$ac_includes_default"; then : >+ >+- ; >+- return 0; >+-} >+-_ACEOF >+-rm -f conftest$ac_exeext >+-if { (ac_try="$ac_link" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_link") 2>&5 >+- ac_status=$? >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { ac_try='./conftest$ac_exeext' >+- { (case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_try") 2>&5 >+- ac_status=$? >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); }; }; then >+- ac_cv_sizeof_unsigned_long=`cat conftest.val` >+ else >+- echo "$as_me: program exited with status $ac_status" >&5 >+-echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+-( exit $ac_status ) >+-if test "$ac_cv_type_unsigned_long" = yes; then >+- { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long) >+-See \`config.log' for more details." >&5 >+-echo "$as_me: error: cannot compute sizeof (unsigned long) >+-See \`config.log' for more details." >&2;} >+- { (exit 77); exit 77; }; } >++ if test "$ac_cv_type_unsigned_long" = yes; then >++ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 >++$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} >++as_fn_error 77 "cannot compute sizeof (unsigned long) >++See \`config.log' for more details" "$LINENO" 5; } >+ else >+ ac_cv_sizeof_unsigned_long=0 >+ fi >+ fi >+-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext >+-fi >+-rm -f conftest.val >++ >+ fi >+-{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long" >&5 >+-echo "${ECHO_T}$ac_cv_sizeof_unsigned_long" >&6; } >++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_long" >&5 >++$as_echo "$ac_cv_sizeof_unsigned_long" >&6; } >+ >+ >+ >+@@ -9974,19 +5929,15 @@ cat >>confdefs.h <<_ACEOF >+ _ACEOF >+ >+ >+-{ echo "$as_me:$LINENO: checking for big endian" >&5 >+-echo $ECHO_N "checking for big endian... $ECHO_C" >&6; } >+-if test "${ac_cv_big_endian+set}" = set; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for big endian" >&5 >++$as_echo_n "checking for big endian... " >&6; } >++if ${ac_cv_big_endian+:} false; then : >++ $as_echo_n "(cached) " >&6 >+ else >+- if test "$cross_compiling" = yes; then >++ if test "$cross_compiling" = yes; then : >+ ac_cv_big_endian=no >+ else >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext >+ /* end confdefs.h. */ >+ >+ long l; >+@@ -9998,56 +5949,28 @@ cat >>conftest.$ac_ext <<_ACEOF >+ } >+ >+ _ACEOF >+-rm -f conftest$ac_exeext >+-if { (ac_try="$ac_link" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_link") 2>&5 >+- ac_status=$? >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { ac_try='./conftest$ac_exeext' >+- { (case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_try") 2>&5 >+- ac_status=$? >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); }; }; then >++if ac_fn_c_try_run "$LINENO"; then : >+ ac_cv_big_endian=yes >+ else >+- echo "$as_me: program exited with status $ac_status" >&5 >+-echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+-( exit $ac_status ) >+-ac_cv_big_endian=no >++ ac_cv_big_endian=no >+ fi >+-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext >++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ >++ conftest.$ac_objext conftest.beam conftest.$ac_ext >+ fi >+ >+ >+- >+ fi >+-{ echo "$as_me:$LINENO: result: $ac_cv_big_endian" >&5 >+-echo "${ECHO_T}$ac_cv_big_endian" >&6; } >+-{ echo "$as_me:$LINENO: checking for little endian" >&5 >+-echo $ECHO_N "checking for little endian... $ECHO_C" >&6; } >+-if test "${ac_cv_little_endian+set}" = set; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_big_endian" >&5 >++$as_echo "$ac_cv_big_endian" >&6; } >++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for little endian" >&5 >++$as_echo_n "checking for little endian... " >&6; } >++if ${ac_cv_little_endian+:} false; then : >++ $as_echo_n "(cached) " >&6 >+ else >+- if test "$cross_compiling" = yes; then >++ if test "$cross_compiling" = yes; then : >+ ac_cv_little_endian="$ac_cv_have_emx" >+ else >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext >+ /* end confdefs.h. */ >+ >+ long l; >+@@ -10059,75 +5982,43 @@ cat >>conftest.$ac_ext <<_ACEOF >+ } >+ >+ _ACEOF >+-rm -f conftest$ac_exeext >+-if { (ac_try="$ac_link" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_link") 2>&5 >+- ac_status=$? >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { ac_try='./conftest$ac_exeext' >+- { (case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_try") 2>&5 >+- ac_status=$? >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); }; }; then >++if ac_fn_c_try_run "$LINENO"; then : >+ ac_cv_little_endian=yes >+ else >+- echo "$as_me: program exited with status $ac_status" >&5 >+-echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+-( exit $ac_status ) >+-ac_cv_little_endian=no >++ ac_cv_little_endian=no >+ fi >+-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext >++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ >++ conftest.$ac_objext conftest.beam conftest.$ac_ext >+ fi >+ >+ >+- >+ fi >+-{ echo "$as_me:$LINENO: result: $ac_cv_little_endian" >&5 >+-echo "${ECHO_T}$ac_cv_little_endian" >&6; } >++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_little_endian" >&5 >++$as_echo "$ac_cv_little_endian" >&6; } >+ >+ if test "$ac_cv_big_endian" = yes; then >+- cat >>confdefs.h <<\_ACEOF >+-#define AC_BIG_ENDIAN 1 >+-_ACEOF >++ $as_echo "#define AC_BIG_ENDIAN 1" >>confdefs.h >+ >+ else if test "$ac_cv_little_endian" = yes; then >+- cat >>confdefs.h <<\_ACEOF >+-#define AC_LITTLE_ENDIAN 1 >+-_ACEOF >++ $as_echo "#define AC_LITTLE_ENDIAN 1" >>confdefs.h >+ >+ fi >+ fi >+ >+ if test $ac_cv_c_compiler_gnu = yes; then >+- { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5 >+-echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; } >+-if test "${ac_cv_prog_gcc_traditional+set}" = set; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5 >++$as_echo_n "checking whether $CC needs -traditional... " >&6; } >++if ${ac_cv_prog_gcc_traditional+:} false; then : >++ $as_echo_n "(cached) " >&6 >+ else >+ ac_pattern="Autoconf.*'x'" >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext >+ /* end confdefs.h. */ >+ #include <sgtty.h> >+ Autoconf TIOCGETP >+ _ACEOF >+ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | >+- $EGREP "$ac_pattern" >/dev/null 2>&1; then >++ $EGREP "$ac_pattern" >/dev/null 2>&1; then : >+ ac_cv_prog_gcc_traditional=yes >+ else >+ ac_cv_prog_gcc_traditional=no >+@@ -10136,43 +6027,35 @@ rm -f conftest* >+ >+ >+ if test $ac_cv_prog_gcc_traditional = no; then >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext >+ /* end confdefs.h. */ >+ #include <termio.h> >+ Autoconf TCGETA >+ _ACEOF >+ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | >+- $EGREP "$ac_pattern" >/dev/null 2>&1; then >++ $EGREP "$ac_pattern" >/dev/null 2>&1; then : >+ ac_cv_prog_gcc_traditional=yes >+ fi >+ rm -f conftest* >+ >+ fi >+ fi >+-{ echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5 >+-echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; } >++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5 >++$as_echo "$ac_cv_prog_gcc_traditional" >&6; } >+ if test $ac_cv_prog_gcc_traditional = yes; then >+ CC="$CC -traditional" >+ fi >+ fi >+ >+-{ echo "$as_me:$LINENO: checking for working memcmp" >&5 >+-echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6; } >+-if test "${ac_cv_func_memcmp_working+set}" = set; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working memcmp" >&5 >++$as_echo_n "checking for working memcmp... " >&6; } >++if ${ac_cv_func_memcmp_working+:} false; then : >++ $as_echo_n "(cached) " >&6 >+ else >+- if test "$cross_compiling" = yes; then >++ if test "$cross_compiling" = yes; then : >+ ac_cv_func_memcmp_working=no >+ else >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext >+ /* end confdefs.h. */ >+ $ac_includes_default >+ int >+@@ -10207,42 +6090,18 @@ main () >+ return 0; >+ } >+ _ACEOF >+-rm -f conftest$ac_exeext >+-if { (ac_try="$ac_link" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_link") 2>&5 >+- ac_status=$? >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { ac_try='./conftest$ac_exeext' >+- { (case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_try") 2>&5 >+- ac_status=$? >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); }; }; then >++if ac_fn_c_try_run "$LINENO"; then : >+ ac_cv_func_memcmp_working=yes >+ else >+- echo "$as_me: program exited with status $ac_status" >&5 >+-echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+-( exit $ac_status ) >+-ac_cv_func_memcmp_working=no >++ ac_cv_func_memcmp_working=no >+ fi >+-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext >++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ >++ conftest.$ac_objext conftest.beam conftest.$ac_ext >+ fi >+ >+- >+ fi >+-{ echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5 >+-echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6; } >++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_memcmp_working" >&5 >++$as_echo "$ac_cv_func_memcmp_working" >&6; } >+ test $ac_cv_func_memcmp_working = no && case " $LIBOBJS " in >+ *" memcmp.$ac_objext "* ) ;; >+ *) LIBOBJS="$LIBOBJS memcmp.$ac_objext" >+@@ -10250,16 +6109,12 @@ test $ac_cv_func_memcmp_working = no && >+ esac >+ >+ >+-{ echo "$as_me:$LINENO: checking return type of signal handlers" >&5 >+-echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; } >+-if test "${ac_cv_type_signal+set}" = set; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5 >++$as_echo_n "checking return type of signal handlers... " >&6; } >++if ${ac_cv_type_signal+:} false; then : >++ $as_echo_n "(cached) " >&6 >+ else >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext >+ /* end confdefs.h. */ >+ #include <sys/types.h> >+ #include <signal.h> >+@@ -10272,146 +6127,39 @@ return *(signal (0, 0)) (0) == 1; >+ return 0; >+ } >+ _ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >++if ac_fn_c_try_compile "$LINENO"; then : >+ ac_cv_type_signal=int >+ else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_cv_type_signal=void >++ ac_cv_type_signal=void >+ fi >+- >+ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+ fi >+-{ echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 >+-echo "${ECHO_T}$ac_cv_type_signal" >&6; } >++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5 >++$as_echo "$ac_cv_type_signal" >&6; } >+ >+ cat >>confdefs.h <<_ACEOF >+ #define RETSIGTYPE $ac_cv_type_signal >+ _ACEOF >+ >+ >+- >+ for ac_func in strftime >+-do >+-as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` >+-{ echo "$as_me:$LINENO: checking for $ac_func" >&5 >+-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } >+-if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-else >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. >+- For example, HP-UX 11i <limits.h> declares gettimeofday. */ >+-#define $ac_func innocuous_$ac_func >+- >+-/* System header to define __stub macros and hopefully few prototypes, >+- which can conflict with char $ac_func (); below. >+- Prefer <limits.h> to <assert.h> if __STDC__ is defined, since >+- <limits.h> exists even on freestanding compilers. */ >+- >+-#ifdef __STDC__ >+-# include <limits.h> >+-#else >+-# include <assert.h> >+-#endif >+- >+-#undef $ac_func >+- >+-/* Override any GCC internal prototype to avoid an error. >+- Use char because int might match the return type of a GCC >+- builtin and then its argument prototype would still apply. */ >+-#ifdef __cplusplus >+-extern "C" >+-#endif >+-char $ac_func (); >+-/* The GNU C library defines this for functions which it implements >+- to always fail with ENOSYS. Some functions are actually named >+- something starting with __ and the normal name is an alias. */ >+-#if defined __stub_$ac_func || defined __stub___$ac_func >+-choke me >+-#endif >+- >+-int >+-main () >+-{ >+-return $ac_func (); >+- ; >+- return 0; >+-} >+-_ACEOF >+-rm -f conftest.$ac_objext conftest$ac_exeext >+-if { (ac_try="$ac_link" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_link") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest$ac_exeext && >+- $as_test_x conftest$ac_exeext; then >+- eval "$as_ac_var=yes" >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- eval "$as_ac_var=no" >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ >+- conftest$ac_exeext conftest.$ac_ext >+-fi >+-ac_res=`eval echo '${'$as_ac_var'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+-if test `eval echo '${'$as_ac_var'}'` = yes; then >++do : >++ ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime" >++if test "x$ac_cv_func_strftime" = xyes; then : >+ cat >>confdefs.h <<_ACEOF >+-#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 >++#define HAVE_STRFTIME 1 >+ _ACEOF >+ >+ else >+ # strftime is in -lintl on SCO UNIX. >+-{ echo "$as_me:$LINENO: checking for strftime in -lintl" >&5 >+-echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6; } >+-if test "${ac_cv_lib_intl_strftime+set}" = set; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5 >++$as_echo_n "checking for strftime in -lintl... " >&6; } >++if ${ac_cv_lib_intl_strftime+:} false; then : >++ $as_echo_n "(cached) " >&6 >+ else >+ ac_check_lib_save_LIBS=$LIBS >+ LIBS="-lintl $LIBS" >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >++cat confdefs.h - <<_ACEOF >conftest.$ac_ext >+ /* end confdefs.h. */ >+ >+ /* Override any GCC internal prototype to avoid an error. >+@@ -10429,42 +6177,19 @@ return strftime (); >+ return 0; >+ } >+ _ACEOF >+-rm -f conftest.$ac_objext conftest$ac_exeext >+-if { (ac_try="$ac_link" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_link") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest$ac_exeext && >+- $as_test_x conftest$ac_exeext; then >++if ac_fn_c_try_link "$LINENO"; then : >+ ac_cv_lib_intl_strftime=yes >+ else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_cv_lib_intl_strftime=no >++ ac_cv_lib_intl_strftime=no >+ fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ >+- conftest$ac_exeext conftest.$ac_ext >++rm -f core conftest.err conftest.$ac_objext \ >++ conftest$ac_exeext conftest.$ac_ext >+ LIBS=$ac_check_lib_save_LIBS >+ fi >+-{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5 >+-echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6; } >+-if test $ac_cv_lib_intl_strftime = yes; then >+- cat >>confdefs.h <<\_ACEOF >+-#define HAVE_STRFTIME 1 >+-_ACEOF >++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5 >++$as_echo "$ac_cv_lib_intl_strftime" >&6; } >++if test "x$ac_cv_lib_intl_strftime" = xyes; then : >++ $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h >+ >+ LIBS="-lintl $LIBS" >+ fi >+@@ -10472,183 +6197,18 @@ fi >+ fi >+ done >+ >+- >+ for ac_func in vprintf >+-do >+-as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` >+-{ echo "$as_me:$LINENO: checking for $ac_func" >&5 >+-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } >+-if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-else >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. >+- For example, HP-UX 11i <limits.h> declares gettimeofday. */ >+-#define $ac_func innocuous_$ac_func >+- >+-/* System header to define __stub macros and hopefully few prototypes, >+- which can conflict with char $ac_func (); below. >+- Prefer <limits.h> to <assert.h> if __STDC__ is defined, since >+- <limits.h> exists even on freestanding compilers. */ >+- >+-#ifdef __STDC__ >+-# include <limits.h> >+-#else >+-# include <assert.h> >+-#endif >+- >+-#undef $ac_func >+- >+-/* Override any GCC internal prototype to avoid an error. >+- Use char because int might match the return type of a GCC >+- builtin and then its argument prototype would still apply. */ >+-#ifdef __cplusplus >+-extern "C" >+-#endif >+-char $ac_func (); >+-/* The GNU C library defines this for functions which it implements >+- to always fail with ENOSYS. Some functions are actually named >+- something starting with __ and the normal name is an alias. */ >+-#if defined __stub_$ac_func || defined __stub___$ac_func >+-choke me >+-#endif >+- >+-int >+-main () >+-{ >+-return $ac_func (); >+- ; >+- return 0; >+-} >+-_ACEOF >+-rm -f conftest.$ac_objext conftest$ac_exeext >+-if { (ac_try="$ac_link" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_link") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest$ac_exeext && >+- $as_test_x conftest$ac_exeext; then >+- eval "$as_ac_var=yes" >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- eval "$as_ac_var=no" >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ >+- conftest$ac_exeext conftest.$ac_ext >+-fi >+-ac_res=`eval echo '${'$as_ac_var'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+-if test `eval echo '${'$as_ac_var'}'` = yes; then >++do : >++ ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf" >++if test "x$ac_cv_func_vprintf" = xyes; then : >+ cat >>confdefs.h <<_ACEOF >+-#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 >+-_ACEOF >+- >+-{ echo "$as_me:$LINENO: checking for _doprnt" >&5 >+-echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6; } >+-if test "${ac_cv_func__doprnt+set}" = set; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-else >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-/* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt. >+- For example, HP-UX 11i <limits.h> declares gettimeofday. */ >+-#define _doprnt innocuous__doprnt >+- >+-/* System header to define __stub macros and hopefully few prototypes, >+- which can conflict with char _doprnt (); below. >+- Prefer <limits.h> to <assert.h> if __STDC__ is defined, since >+- <limits.h> exists even on freestanding compilers. */ >+- >+-#ifdef __STDC__ >+-# include <limits.h> >+-#else >+-# include <assert.h> >+-#endif >+- >+-#undef _doprnt >+- >+-/* Override any GCC internal prototype to avoid an error. >+- Use char because int might match the return type of a GCC >+- builtin and then its argument prototype would still apply. */ >+-#ifdef __cplusplus >+-extern "C" >+-#endif >+-char _doprnt (); >+-/* The GNU C library defines this for functions which it implements >+- to always fail with ENOSYS. Some functions are actually named >+- something starting with __ and the normal name is an alias. */ >+-#if defined __stub__doprnt || defined __stub____doprnt >+-choke me >+-#endif >+- >+-int >+-main () >+-{ >+-return _doprnt (); >+- ; >+- return 0; >+-} >++#define HAVE_VPRINTF 1 >+ _ACEOF >+-rm -f conftest.$ac_objext conftest$ac_exeext >+-if { (ac_try="$ac_link" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_link") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest$ac_exeext && >+- $as_test_x conftest$ac_exeext; then >+- ac_cv_func__doprnt=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+ >+- ac_cv_func__doprnt=no >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ >+- conftest$ac_exeext conftest.$ac_ext >+-fi >+-{ echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5 >+-echo "${ECHO_T}$ac_cv_func__doprnt" >&6; } >+-if test $ac_cv_func__doprnt = yes; then >++ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt" >++if test "x$ac_cv_func__doprnt" = xyes; then : >+ >+-cat >>confdefs.h <<\_ACEOF >+-#define HAVE_DOPRNT 1 >+-_ACEOF >++$as_echo "#define HAVE_DOPRNT 1" >>confdefs.h >+ >+ fi >+ >+@@ -10656,876 +6216,114 @@ fi >+ done >+ >+ >+- >+ for ac_func in calloc >+-do >+-as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` >+-{ echo "$as_me:$LINENO: checking for $ac_func" >&5 >+-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } >+-if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-else >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. >+- For example, HP-UX 11i <limits.h> declares gettimeofday. */ >+-#define $ac_func innocuous_$ac_func >+- >+-/* System header to define __stub macros and hopefully few prototypes, >+- which can conflict with char $ac_func (); below. >+- Prefer <limits.h> to <assert.h> if __STDC__ is defined, since >+- <limits.h> exists even on freestanding compilers. */ >+- >+-#ifdef __STDC__ >+-# include <limits.h> >+-#else >+-# include <assert.h> >+-#endif >+- >+-#undef $ac_func >+- >+-/* Override any GCC internal prototype to avoid an error. >+- Use char because int might match the return type of a GCC >+- builtin and then its argument prototype would still apply. */ >+-#ifdef __cplusplus >+-extern "C" >+-#endif >+-char $ac_func (); >+-/* The GNU C library defines this for functions which it implements >+- to always fail with ENOSYS. Some functions are actually named >+- something starting with __ and the normal name is an alias. */ >+-#if defined __stub_$ac_func || defined __stub___$ac_func >+-choke me >+-#endif >+- >+-int >+-main () >+-{ >+-return $ac_func (); >+- ; >+- return 0; >+-} >+-_ACEOF >+-rm -f conftest.$ac_objext conftest$ac_exeext >+-if { (ac_try="$ac_link" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_link") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest$ac_exeext && >+- $as_test_x conftest$ac_exeext; then >+- eval "$as_ac_var=yes" >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- eval "$as_ac_var=no" >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ >+- conftest$ac_exeext conftest.$ac_ext >+-fi >+-ac_res=`eval echo '${'$as_ac_var'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+-if test `eval echo '${'$as_ac_var'}'` = yes; then >++do : >++ ac_fn_c_check_func "$LINENO" "calloc" "ac_cv_func_calloc" >++if test "x$ac_cv_func_calloc" = xyes; then : >+ cat >>confdefs.h <<_ACEOF >+-#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 >++#define HAVE_CALLOC 1 >+ _ACEOF >+ >+ fi >+ done >+ >+- >+ for ac_func in snprintf >+-do >+-as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` >+-{ echo "$as_me:$LINENO: checking for $ac_func" >&5 >+-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } >+-if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-else >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. >+- For example, HP-UX 11i <limits.h> declares gettimeofday. */ >+-#define $ac_func innocuous_$ac_func >+- >+-/* System header to define __stub macros and hopefully few prototypes, >+- which can conflict with char $ac_func (); below. >+- Prefer <limits.h> to <assert.h> if __STDC__ is defined, since >+- <limits.h> exists even on freestanding compilers. */ >+- >+-#ifdef __STDC__ >+-# include <limits.h> >+-#else >+-# include <assert.h> >+-#endif >+- >+-#undef $ac_func >+- >+-/* Override any GCC internal prototype to avoid an error. >+- Use char because int might match the return type of a GCC >+- builtin and then its argument prototype would still apply. */ >+-#ifdef __cplusplus >+-extern "C" >+-#endif >+-char $ac_func (); >+-/* The GNU C library defines this for functions which it implements >+- to always fail with ENOSYS. Some functions are actually named >+- something starting with __ and the normal name is an alias. */ >+-#if defined __stub_$ac_func || defined __stub___$ac_func >+-choke me >+-#endif >+- >+-int >+-main () >+-{ >+-return $ac_func (); >+- ; >+- return 0; >+-} >+-_ACEOF >+-rm -f conftest.$ac_objext conftest$ac_exeext >+-if { (ac_try="$ac_link" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_link") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest$ac_exeext && >+- $as_test_x conftest$ac_exeext; then >+- eval "$as_ac_var=yes" >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- eval "$as_ac_var=no" >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ >+- conftest$ac_exeext conftest.$ac_ext >+-fi >+-ac_res=`eval echo '${'$as_ac_var'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+-if test `eval echo '${'$as_ac_var'}'` = yes; then >++do : >++ ac_fn_c_check_func "$LINENO" "snprintf" "ac_cv_func_snprintf" >++if test "x$ac_cv_func_snprintf" = xyes; then : >+ cat >>confdefs.h <<_ACEOF >+-#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 >++#define HAVE_SNPRINTF 1 >+ _ACEOF >+ >+ fi >+ done >+ >+- >+- >+- >+- >+- >+- >+- >+- >+- >+- >+ for ac_func in gettimeofday mkdir select strcspn strerror strstr strtol strtoul alarm chmod >+-do >+-as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` >+-{ echo "$as_me:$LINENO: checking for $ac_func" >&5 >+-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } >+-if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-else >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. >+- For example, HP-UX 11i <limits.h> declares gettimeofday. */ >+-#define $ac_func innocuous_$ac_func >+- >+-/* System header to define __stub macros and hopefully few prototypes, >+- which can conflict with char $ac_func (); below. >+- Prefer <limits.h> to <assert.h> if __STDC__ is defined, since >+- <limits.h> exists even on freestanding compilers. */ >+- >+-#ifdef __STDC__ >+-# include <limits.h> >+-#else >+-# include <assert.h> >+-#endif >+- >+-#undef $ac_func >+- >+-/* Override any GCC internal prototype to avoid an error. >+- Use char because int might match the return type of a GCC >+- builtin and then its argument prototype would still apply. */ >+-#ifdef __cplusplus >+-extern "C" >+-#endif >+-char $ac_func (); >+-/* The GNU C library defines this for functions which it implements >+- to always fail with ENOSYS. Some functions are actually named >+- something starting with __ and the normal name is an alias. */ >+-#if defined __stub_$ac_func || defined __stub___$ac_func >+-choke me >+-#endif >+- >+-int >+-main () >+-{ >+-return $ac_func (); >+- ; >+- return 0; >+-} >+-_ACEOF >+-rm -f conftest.$ac_objext conftest$ac_exeext >+-if { (ac_try="$ac_link" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_link") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest$ac_exeext && >+- $as_test_x conftest$ac_exeext; then >+- eval "$as_ac_var=yes" >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- eval "$as_ac_var=no" >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ >+- conftest$ac_exeext conftest.$ac_ext >+-fi >+-ac_res=`eval echo '${'$as_ac_var'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+-if test `eval echo '${'$as_ac_var'}'` = yes; then >++do : >++ as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` >++ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" >++if eval test \"x\$"$as_ac_var"\" = x"yes"; then : >+ cat >>confdefs.h <<_ACEOF >+-#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 >++#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 >+ _ACEOF >+ >+ fi >+ done >+ >+- >+- >+- >+- >+- >+ for ac_func in getpid setpgid getpgid setpgrp getpgrp >+-do >+-as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` >+-{ echo "$as_me:$LINENO: checking for $ac_func" >&5 >+-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } >+-if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-else >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. >+- For example, HP-UX 11i <limits.h> declares gettimeofday. */ >+-#define $ac_func innocuous_$ac_func >+- >+-/* System header to define __stub macros and hopefully few prototypes, >+- which can conflict with char $ac_func (); below. >+- Prefer <limits.h> to <assert.h> if __STDC__ is defined, since >+- <limits.h> exists even on freestanding compilers. */ >+- >+-#ifdef __STDC__ >+-# include <limits.h> >+-#else >+-# include <assert.h> >+-#endif >+- >+-#undef $ac_func >+- >+-/* Override any GCC internal prototype to avoid an error. >+- Use char because int might match the return type of a GCC >+- builtin and then its argument prototype would still apply. */ >+-#ifdef __cplusplus >+-extern "C" >+-#endif >+-char $ac_func (); >+-/* The GNU C library defines this for functions which it implements >+- to always fail with ENOSYS. Some functions are actually named >+- something starting with __ and the normal name is an alias. */ >+-#if defined __stub_$ac_func || defined __stub___$ac_func >+-choke me >+-#endif >+- >+-int >+-main () >+-{ >+-return $ac_func (); >+- ; >+- return 0; >+-} >+-_ACEOF >+-rm -f conftest.$ac_objext conftest$ac_exeext >+-if { (ac_try="$ac_link" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_link") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest$ac_exeext && >+- $as_test_x conftest$ac_exeext; then >+- eval "$as_ac_var=yes" >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- eval "$as_ac_var=no" >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ >+- conftest$ac_exeext conftest.$ac_ext >+-fi >+-ac_res=`eval echo '${'$as_ac_var'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+-if test `eval echo '${'$as_ac_var'}'` = yes; then >++do : >++ as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` >++ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" >++if eval test \"x\$"$as_ac_var"\" = x"yes"; then : >+ cat >>confdefs.h <<_ACEOF >+-#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 >++#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 >+ _ACEOF >+ >+ fi >+ done >+ >+- >+ for ac_func in popen >+-do >+-as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` >+-{ echo "$as_me:$LINENO: checking for $ac_func" >&5 >+-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } >+-if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-else >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. >+- For example, HP-UX 11i <limits.h> declares gettimeofday. */ >+-#define $ac_func innocuous_$ac_func >+- >+-/* System header to define __stub macros and hopefully few prototypes, >+- which can conflict with char $ac_func (); below. >+- Prefer <limits.h> to <assert.h> if __STDC__ is defined, since >+- <limits.h> exists even on freestanding compilers. */ >+- >+-#ifdef __STDC__ >+-# include <limits.h> >+-#else >+-# include <assert.h> >+-#endif >+- >+-#undef $ac_func >+- >+-/* Override any GCC internal prototype to avoid an error. >+- Use char because int might match the return type of a GCC >+- builtin and then its argument prototype would still apply. */ >+-#ifdef __cplusplus >+-extern "C" >+-#endif >+-char $ac_func (); >+-/* The GNU C library defines this for functions which it implements >+- to always fail with ENOSYS. Some functions are actually named >+- something starting with __ and the normal name is an alias. */ >+-#if defined __stub_$ac_func || defined __stub___$ac_func >+-choke me >+-#endif >+- >+-int >+-main () >+-{ >+-return $ac_func (); >+- ; >+- return 0; >+-} >+-_ACEOF >+-rm -f conftest.$ac_objext conftest$ac_exeext >+-if { (ac_try="$ac_link" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_link") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest$ac_exeext && >+- $as_test_x conftest$ac_exeext; then >+- eval "$as_ac_var=yes" >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- eval "$as_ac_var=no" >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ >+- conftest$ac_exeext conftest.$ac_ext >+-fi >+-ac_res=`eval echo '${'$as_ac_var'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+-if test `eval echo '${'$as_ac_var'}'` = yes; then >++do : >++ ac_fn_c_check_func "$LINENO" "popen" "ac_cv_func_popen" >++if test "x$ac_cv_func_popen" = xyes; then : >+ cat >>confdefs.h <<_ACEOF >+-#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 >++#define HAVE_POPEN 1 >+ _ACEOF >+ >+ fi >+ done >+ >+- >+ for ac_func in uname >+-do >+-as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` >+-{ echo "$as_me:$LINENO: checking for $ac_func" >&5 >+-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } >+-if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-else >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. >+- For example, HP-UX 11i <limits.h> declares gettimeofday. */ >+-#define $ac_func innocuous_$ac_func >+- >+-/* System header to define __stub macros and hopefully few prototypes, >+- which can conflict with char $ac_func (); below. >+- Prefer <limits.h> to <assert.h> if __STDC__ is defined, since >+- <limits.h> exists even on freestanding compilers. */ >+- >+-#ifdef __STDC__ >+-# include <limits.h> >+-#else >+-# include <assert.h> >+-#endif >+- >+-#undef $ac_func >+- >+-/* Override any GCC internal prototype to avoid an error. >+- Use char because int might match the return type of a GCC >+- builtin and then its argument prototype would still apply. */ >+-#ifdef __cplusplus >+-extern "C" >+-#endif >+-char $ac_func (); >+-/* The GNU C library defines this for functions which it implements >+- to always fail with ENOSYS. Some functions are actually named >+- something starting with __ and the normal name is an alias. */ >+-#if defined __stub_$ac_func || defined __stub___$ac_func >+-choke me >+-#endif >+- >+-int >+-main () >+-{ >+-return $ac_func (); >+- ; >+- return 0; >+-} >+-_ACEOF >+-rm -f conftest.$ac_objext conftest$ac_exeext >+-if { (ac_try="$ac_link" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_link") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest$ac_exeext && >+- $as_test_x conftest$ac_exeext; then >+- eval "$as_ac_var=yes" >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- eval "$as_ac_var=no" >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ >+- conftest$ac_exeext conftest.$ac_ext >+-fi >+-ac_res=`eval echo '${'$as_ac_var'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+-if test `eval echo '${'$as_ac_var'}'` = yes; then >++do : >++ ac_fn_c_check_func "$LINENO" "uname" "ac_cv_func_uname" >++if test "x$ac_cv_func_uname" = xyes; then : >+ cat >>confdefs.h <<_ACEOF >+-#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 >++#define HAVE_UNAME 1 >+ _ACEOF >+ >+ fi >+ done >+ >+- >+ for ac_func in strptime >+-do >+-as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` >+-{ echo "$as_me:$LINENO: checking for $ac_func" >&5 >+-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } >+-if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-else >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. >+- For example, HP-UX 11i <limits.h> declares gettimeofday. */ >+-#define $ac_func innocuous_$ac_func >+- >+-/* System header to define __stub macros and hopefully few prototypes, >+- which can conflict with char $ac_func (); below. >+- Prefer <limits.h> to <assert.h> if __STDC__ is defined, since >+- <limits.h> exists even on freestanding compilers. */ >+- >+-#ifdef __STDC__ >+-# include <limits.h> >+-#else >+-# include <assert.h> >+-#endif >+- >+-#undef $ac_func >+- >+-/* Override any GCC internal prototype to avoid an error. >+- Use char because int might match the return type of a GCC >+- builtin and then its argument prototype would still apply. */ >+-#ifdef __cplusplus >+-extern "C" >+-#endif >+-char $ac_func (); >+-/* The GNU C library defines this for functions which it implements >+- to always fail with ENOSYS. Some functions are actually named >+- something starting with __ and the normal name is an alias. */ >+-#if defined __stub_$ac_func || defined __stub___$ac_func >+-choke me >+-#endif >+- >+-int >+-main () >+-{ >+-return $ac_func (); >+- ; >+- return 0; >+-} >+-_ACEOF >+-rm -f conftest.$ac_objext conftest$ac_exeext >+-if { (ac_try="$ac_link" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_link") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest$ac_exeext && >+- $as_test_x conftest$ac_exeext; then >+- eval "$as_ac_var=yes" >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- eval "$as_ac_var=no" >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ >+- conftest$ac_exeext conftest.$ac_ext >+-fi >+-ac_res=`eval echo '${'$as_ac_var'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+-if test `eval echo '${'$as_ac_var'}'` = yes; then >++do : >++ ac_fn_c_check_func "$LINENO" "strptime" "ac_cv_func_strptime" >++if test "x$ac_cv_func_strptime" = xyes; then : >+ cat >>confdefs.h <<_ACEOF >+-#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 >++#define HAVE_STRPTIME 1 >+ _ACEOF >+ >+ fi >+ done >+ >+- >+ for ac_func in setlocale >+-do >+-as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` >+-{ echo "$as_me:$LINENO: checking for $ac_func" >&5 >+-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } >+-if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-else >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. >+- For example, HP-UX 11i <limits.h> declares gettimeofday. */ >+-#define $ac_func innocuous_$ac_func >+- >+-/* System header to define __stub macros and hopefully few prototypes, >+- which can conflict with char $ac_func (); below. >+- Prefer <limits.h> to <assert.h> if __STDC__ is defined, since >+- <limits.h> exists even on freestanding compilers. */ >+- >+-#ifdef __STDC__ >+-# include <limits.h> >+-#else >+-# include <assert.h> >+-#endif >+- >+-#undef $ac_func >+- >+-/* Override any GCC internal prototype to avoid an error. >+- Use char because int might match the return type of a GCC >+- builtin and then its argument prototype would still apply. */ >+-#ifdef __cplusplus >+-extern "C" >+-#endif >+-char $ac_func (); >+-/* The GNU C library defines this for functions which it implements >+- to always fail with ENOSYS. Some functions are actually named >+- something starting with __ and the normal name is an alias. */ >+-#if defined __stub_$ac_func || defined __stub___$ac_func >+-choke me >+-#endif >+- >+-int >+-main () >+-{ >+-return $ac_func (); >+- ; >+- return 0; >+-} >+-_ACEOF >+-rm -f conftest.$ac_objext conftest$ac_exeext >+-if { (ac_try="$ac_link" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_link") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest$ac_exeext && >+- $as_test_x conftest$ac_exeext; then >+- eval "$as_ac_var=yes" >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- eval "$as_ac_var=no" >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ >+- conftest$ac_exeext conftest.$ac_ext >+-fi >+-ac_res=`eval echo '${'$as_ac_var'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+-if test `eval echo '${'$as_ac_var'}'` = yes; then >++do : >++ ac_fn_c_check_func "$LINENO" "setlocale" "ac_cv_func_setlocale" >++if test "x$ac_cv_func_setlocale" = xyes; then : >+ cat >>confdefs.h <<_ACEOF >+-#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 >++#define HAVE_SETLOCALE 1 >+ _ACEOF >+ >+ fi >+ done >+ >+- >+ for ac_func in nl_langinfo >+-do >+-as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` >+-{ echo "$as_me:$LINENO: checking for $ac_func" >&5 >+-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } >+-if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-else >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. >+- For example, HP-UX 11i <limits.h> declares gettimeofday. */ >+-#define $ac_func innocuous_$ac_func >+- >+-/* System header to define __stub macros and hopefully few prototypes, >+- which can conflict with char $ac_func (); below. >+- Prefer <limits.h> to <assert.h> if __STDC__ is defined, since >+- <limits.h> exists even on freestanding compilers. */ >+- >+-#ifdef __STDC__ >+-# include <limits.h> >+-#else >+-# include <assert.h> >+-#endif >+- >+-#undef $ac_func >+- >+-/* Override any GCC internal prototype to avoid an error. >+- Use char because int might match the return type of a GCC >+- builtin and then its argument prototype would still apply. */ >+-#ifdef __cplusplus >+-extern "C" >+-#endif >+-char $ac_func (); >+-/* The GNU C library defines this for functions which it implements >+- to always fail with ENOSYS. Some functions are actually named >+- something starting with __ and the normal name is an alias. */ >+-#if defined __stub_$ac_func || defined __stub___$ac_func >+-choke me >+-#endif >+- >+-int >+-main () >+-{ >+-return $ac_func (); >+- ; >+- return 0; >+-} >+-_ACEOF >+-rm -f conftest.$ac_objext conftest$ac_exeext >+-if { (ac_try="$ac_link" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_link") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest$ac_exeext && >+- $as_test_x conftest$ac_exeext; then >+- eval "$as_ac_var=yes" >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- eval "$as_ac_var=no" >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ >+- conftest$ac_exeext conftest.$ac_ext >+-fi >+-ac_res=`eval echo '${'$as_ac_var'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+-if test `eval echo '${'$as_ac_var'}'` = yes; then >++do : >++ ac_fn_c_check_func "$LINENO" "nl_langinfo" "ac_cv_func_nl_langinfo" >++if test "x$ac_cv_func_nl_langinfo" = xyes; then : >+ cat >>confdefs.h <<_ACEOF >+-#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 >++#define HAVE_NL_LANGINFO 1 >+ _ACEOF >+ >+ fi >+ done >+ >+ >+-{ echo "$as_me:$LINENO: checking for sigsetjmp/siglongjmp" >&5 >+-echo $ECHO_N "checking for sigsetjmp/siglongjmp... $ECHO_C" >&6; } >+-if test "${ac_cv_have_sigsetjmp+set}" = set; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigsetjmp/siglongjmp" >&5 >++$as_echo_n "checking for sigsetjmp/siglongjmp... " >&6; } >++if ${ac_cv_have_sigsetjmp+:} false; then : >++ $as_echo_n "(cached) " >&6 >+ else >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext >+ /* end confdefs.h. */ >+ #include <setjmp.h> >+ int >+@@ -11536,58 +6334,30 @@ sigjmp_buf env;sigsetjmp(env, 1);siglong >+ return 0; >+ } >+ _ACEOF >+-rm -f conftest.$ac_objext conftest$ac_exeext >+-if { (ac_try="$ac_link" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_link") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest$ac_exeext && >+- $as_test_x conftest$ac_exeext; then >++if ac_fn_c_try_link "$LINENO"; then : >+ ac_cv_have_sigsetjmp=yes >+ else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_cv_have_sigsetjmp=no >++ ac_cv_have_sigsetjmp=no >+ fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ >+- conftest$ac_exeext conftest.$ac_ext >++rm -f core conftest.err conftest.$ac_objext \ >++ conftest$ac_exeext conftest.$ac_ext >+ >+ fi >+-{ echo "$as_me:$LINENO: result: $ac_cv_have_sigsetjmp" >&5 >+-echo "${ECHO_T}$ac_cv_have_sigsetjmp" >&6; } >++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_sigsetjmp" >&5 >++$as_echo "$ac_cv_have_sigsetjmp" >&6; } >+ if test "$ac_cv_have_sigsetjmp" = yes; then >+- cat >>confdefs.h <<\_ACEOF >+-#define HAVE_SIGSETJMP 1 >+-_ACEOF >++ $as_echo "#define HAVE_SIGSETJMP 1" >>confdefs.h >+ >+ fi >+ >+- >+-{ echo "$as_me:$LINENO: checking for atan in -lm" >&5 >+-echo $ECHO_N "checking for atan in -lm... $ECHO_C" >&6; } >+-if test "${ac_cv_lib_m_atan+set}" = set; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan in -lm" >&5 >++$as_echo_n "checking for atan in -lm... " >&6; } >++if ${ac_cv_lib_m_atan+:} false; then : >++ $as_echo_n "(cached) " >&6 >+ else >+ ac_check_lib_save_LIBS=$LIBS >+ LIBS="-lm $LIBS" >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >++cat confdefs.h - <<_ACEOF >conftest.$ac_ext >+ /* end confdefs.h. */ >+ >+ /* Override any GCC internal prototype to avoid an error. >+@@ -11605,39 +6375,18 @@ return atan (); >+ return 0; >+ } >+ _ACEOF >+-rm -f conftest.$ac_objext conftest$ac_exeext >+-if { (ac_try="$ac_link" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_link") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest$ac_exeext && >+- $as_test_x conftest$ac_exeext; then >++if ac_fn_c_try_link "$LINENO"; then : >+ ac_cv_lib_m_atan=yes >+ else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_cv_lib_m_atan=no >++ ac_cv_lib_m_atan=no >+ fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ >+- conftest$ac_exeext conftest.$ac_ext >++rm -f core conftest.err conftest.$ac_objext \ >++ conftest$ac_exeext conftest.$ac_ext >+ LIBS=$ac_check_lib_save_LIBS >+ fi >+-{ echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan" >&5 >+-echo "${ECHO_T}$ac_cv_lib_m_atan" >&6; } >+-if test $ac_cv_lib_m_atan = yes; then >++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atan" >&5 >++$as_echo "$ac_cv_lib_m_atan" >&6; } >++if test "x$ac_cv_lib_m_atan" = xyes; then : >+ cat >>confdefs.h <<_ACEOF >+ #define HAVE_LIBM 1 >+ _ACEOF >+@@ -11647,107 +6396,22 @@ _ACEOF >+ fi >+ >+ >+-{ echo "$as_me:$LINENO: checking for socket" >&5 >+-echo $ECHO_N "checking for socket... $ECHO_C" >&6; } >+-if test "${ac_cv_func_socket+set}" = set; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-else >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-/* Define socket to an innocuous variant, in case <limits.h> declares socket. >+- For example, HP-UX 11i <limits.h> declares gettimeofday. */ >+-#define socket innocuous_socket >+- >+-/* System header to define __stub macros and hopefully few prototypes, >+- which can conflict with char socket (); below. >+- Prefer <limits.h> to <assert.h> if __STDC__ is defined, since >+- <limits.h> exists even on freestanding compilers. */ >+- >+-#ifdef __STDC__ >+-# include <limits.h> >+-#else >+-# include <assert.h> >+-#endif >+- >+-#undef socket >+- >+-/* Override any GCC internal prototype to avoid an error. >+- Use char because int might match the return type of a GCC >+- builtin and then its argument prototype would still apply. */ >+-#ifdef __cplusplus >+-extern "C" >+-#endif >+-char socket (); >+-/* The GNU C library defines this for functions which it implements >+- to always fail with ENOSYS. Some functions are actually named >+- something starting with __ and the normal name is an alias. */ >+-#if defined __stub_socket || defined __stub___socket >+-choke me >+-#endif >+- >+-int >+-main () >+-{ >+-return socket (); >+- ; >+- return 0; >+-} >+-_ACEOF >+-rm -f conftest.$ac_objext conftest$ac_exeext >+-if { (ac_try="$ac_link" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_link") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest$ac_exeext && >+- $as_test_x conftest$ac_exeext; then >+- ac_cv_func_socket=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_cv_func_socket=no >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ >+- conftest$ac_exeext conftest.$ac_ext >+-fi >+-{ echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5 >+-echo "${ECHO_T}$ac_cv_func_socket" >&6; } >+-if test $ac_cv_func_socket = yes; then >++ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket" >++if test "x$ac_cv_func_socket" = xyes; then : >+ cf_result=yes >+ else >+ cf_result=no >+ fi >+ >+ if test "$cf_result" = no; then >+- >+-{ echo "$as_me:$LINENO: checking for socket in -lsocket" >&5 >+-echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; } >+-if test "${ac_cv_lib_socket_socket+set}" = set; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5 >++$as_echo_n "checking for socket in -lsocket... " >&6; } >++if ${ac_cv_lib_socket_socket+:} false; then : >++ $as_echo_n "(cached) " >&6 >+ else >+ ac_check_lib_save_LIBS=$LIBS >+ LIBS="-lsocket $LIBS" >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >++cat confdefs.h - <<_ACEOF >conftest.$ac_ext >+ /* end confdefs.h. */ >+ >+ /* Override any GCC internal prototype to avoid an error. >+@@ -11765,39 +6429,18 @@ return socket (); >+ return 0; >+ } >+ _ACEOF >+-rm -f conftest.$ac_objext conftest$ac_exeext >+-if { (ac_try="$ac_link" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_link") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest$ac_exeext && >+- $as_test_x conftest$ac_exeext; then >++if ac_fn_c_try_link "$LINENO"; then : >+ ac_cv_lib_socket_socket=yes >+ else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_cv_lib_socket_socket=no >++ ac_cv_lib_socket_socket=no >+ fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ >+- conftest$ac_exeext conftest.$ac_ext >++rm -f core conftest.err conftest.$ac_objext \ >++ conftest$ac_exeext conftest.$ac_ext >+ LIBS=$ac_check_lib_save_LIBS >+ fi >+-{ echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5 >+-echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; } >+-if test $ac_cv_lib_socket_socket = yes; then >++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5 >++$as_echo "$ac_cv_lib_socket_socket" >&6; } >++if test "x$ac_cv_lib_socket_socket" = xyes; then : >+ cat >>confdefs.h <<_ACEOF >+ #define HAVE_LIBSOCKET 1 >+ _ACEOF >+@@ -11807,107 +6450,22 @@ _ACEOF >+ fi >+ >+ fi >+-{ echo "$as_me:$LINENO: checking for setsockopt" >&5 >+-echo $ECHO_N "checking for setsockopt... $ECHO_C" >&6; } >+-if test "${ac_cv_func_setsockopt+set}" = set; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-else >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-/* Define setsockopt to an innocuous variant, in case <limits.h> declares setsockopt. >+- For example, HP-UX 11i <limits.h> declares gettimeofday. */ >+-#define setsockopt innocuous_setsockopt >+- >+-/* System header to define __stub macros and hopefully few prototypes, >+- which can conflict with char setsockopt (); below. >+- Prefer <limits.h> to <assert.h> if __STDC__ is defined, since >+- <limits.h> exists even on freestanding compilers. */ >+- >+-#ifdef __STDC__ >+-# include <limits.h> >+-#else >+-# include <assert.h> >+-#endif >+- >+-#undef setsockopt >+- >+-/* Override any GCC internal prototype to avoid an error. >+- Use char because int might match the return type of a GCC >+- builtin and then its argument prototype would still apply. */ >+-#ifdef __cplusplus >+-extern "C" >+-#endif >+-char setsockopt (); >+-/* The GNU C library defines this for functions which it implements >+- to always fail with ENOSYS. Some functions are actually named >+- something starting with __ and the normal name is an alias. */ >+-#if defined __stub_setsockopt || defined __stub___setsockopt >+-choke me >+-#endif >+- >+-int >+-main () >+-{ >+-return setsockopt (); >+- ; >+- return 0; >+-} >+-_ACEOF >+-rm -f conftest.$ac_objext conftest$ac_exeext >+-if { (ac_try="$ac_link" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_link") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest$ac_exeext && >+- $as_test_x conftest$ac_exeext; then >+- ac_cv_func_setsockopt=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_cv_func_setsockopt=no >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ >+- conftest$ac_exeext conftest.$ac_ext >+-fi >+-{ echo "$as_me:$LINENO: result: $ac_cv_func_setsockopt" >&5 >+-echo "${ECHO_T}$ac_cv_func_setsockopt" >&6; } >+-if test $ac_cv_func_setsockopt = yes; then >++ac_fn_c_check_func "$LINENO" "setsockopt" "ac_cv_func_setsockopt" >++if test "x$ac_cv_func_setsockopt" = xyes; then : >+ cf_result=yes >+ else >+ cf_result=no >+ fi >+ >+ if test "$cf_result" = no; then >+- >+-{ echo "$as_me:$LINENO: checking for setsockopt in -lsocket" >&5 >+-echo $ECHO_N "checking for setsockopt in -lsocket... $ECHO_C" >&6; } >+-if test "${ac_cv_lib_socket_setsockopt+set}" = set; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setsockopt in -lsocket" >&5 >++$as_echo_n "checking for setsockopt in -lsocket... " >&6; } >++if ${ac_cv_lib_socket_setsockopt+:} false; then : >++ $as_echo_n "(cached) " >&6 >+ else >+ ac_check_lib_save_LIBS=$LIBS >+ LIBS="-lsocket $LIBS" >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >++cat confdefs.h - <<_ACEOF >conftest.$ac_ext >+ /* end confdefs.h. */ >+ >+ /* Override any GCC internal prototype to avoid an error. >+@@ -11925,39 +6483,18 @@ return setsockopt (); >+ return 0; >+ } >+ _ACEOF >+-rm -f conftest.$ac_objext conftest$ac_exeext >+-if { (ac_try="$ac_link" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_link") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest$ac_exeext && >+- $as_test_x conftest$ac_exeext; then >++if ac_fn_c_try_link "$LINENO"; then : >+ ac_cv_lib_socket_setsockopt=yes >+ else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_cv_lib_socket_setsockopt=no >++ ac_cv_lib_socket_setsockopt=no >+ fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ >+- conftest$ac_exeext conftest.$ac_ext >++rm -f core conftest.err conftest.$ac_objext \ >++ conftest$ac_exeext conftest.$ac_ext >+ LIBS=$ac_check_lib_save_LIBS >+ fi >+-{ echo "$as_me:$LINENO: result: $ac_cv_lib_socket_setsockopt" >&5 >+-echo "${ECHO_T}$ac_cv_lib_socket_setsockopt" >&6; } >+-if test $ac_cv_lib_socket_setsockopt = yes; then >++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_setsockopt" >&5 >++$as_echo "$ac_cv_lib_socket_setsockopt" >&6; } >++if test "x$ac_cv_lib_socket_setsockopt" = xyes; then : >+ cat >>confdefs.h <<_ACEOF >+ #define HAVE_LIBSOCKET 1 >+ _ACEOF >+@@ -11971,106 +6508,22 @@ fi >+ #AC_MSG_CHECKING([for gethostbyname]) >+ #AC_TRY_LINK([#include <netdb.h>], [gethostbyname("")], cf_result=yes, cf_result=no) >+ #AC_MSG_RESULT($cf_result) >+-{ echo "$as_me:$LINENO: checking for gethostbyname" >&5 >+-echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; } >+-if test "${ac_cv_func_gethostbyname+set}" = set; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-else >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-/* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname. >+- For example, HP-UX 11i <limits.h> declares gettimeofday. */ >+-#define gethostbyname innocuous_gethostbyname >+- >+-/* System header to define __stub macros and hopefully few prototypes, >+- which can conflict with char gethostbyname (); below. >+- Prefer <limits.h> to <assert.h> if __STDC__ is defined, since >+- <limits.h> exists even on freestanding compilers. */ >+- >+-#ifdef __STDC__ >+-# include <limits.h> >+-#else >+-# include <assert.h> >+-#endif >+- >+-#undef gethostbyname >+- >+-/* Override any GCC internal prototype to avoid an error. >+- Use char because int might match the return type of a GCC >+- builtin and then its argument prototype would still apply. */ >+-#ifdef __cplusplus >+-extern "C" >+-#endif >+-char gethostbyname (); >+-/* The GNU C library defines this for functions which it implements >+- to always fail with ENOSYS. Some functions are actually named >+- something starting with __ and the normal name is an alias. */ >+-#if defined __stub_gethostbyname || defined __stub___gethostbyname >+-choke me >+-#endif >+- >+-int >+-main () >+-{ >+-return gethostbyname (); >+- ; >+- return 0; >+-} >+-_ACEOF >+-rm -f conftest.$ac_objext conftest$ac_exeext >+-if { (ac_try="$ac_link" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_link") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest$ac_exeext && >+- $as_test_x conftest$ac_exeext; then >+- ac_cv_func_gethostbyname=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_cv_func_gethostbyname=no >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ >+- conftest$ac_exeext conftest.$ac_ext >+-fi >+-{ echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5 >+-echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; } >+-if test $ac_cv_func_gethostbyname = yes; then >++ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname" >++if test "x$ac_cv_func_gethostbyname" = xyes; then : >+ cf_result=yes >+ else >+ cf_result=no >+ fi >+ >+ if test "$cf_result" = no; then >+- { echo "$as_me:$LINENO: checking for gethostbyname in -lsocket" >&5 >+-echo $ECHO_N "checking for gethostbyname in -lsocket... $ECHO_C" >&6; } >+-if test "${ac_cv_lib_socket_gethostbyname+set}" = set; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lsocket" >&5 >++$as_echo_n "checking for gethostbyname in -lsocket... " >&6; } >++if ${ac_cv_lib_socket_gethostbyname+:} false; then : >++ $as_echo_n "(cached) " >&6 >+ else >+ ac_check_lib_save_LIBS=$LIBS >+ LIBS="-lsocket $LIBS" >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >++cat confdefs.h - <<_ACEOF >conftest.$ac_ext >+ /* end confdefs.h. */ >+ >+ /* Override any GCC internal prototype to avoid an error. >+@@ -12088,58 +6541,32 @@ return gethostbyname (); >+ return 0; >+ } >+ _ACEOF >+-rm -f conftest.$ac_objext conftest$ac_exeext >+-if { (ac_try="$ac_link" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_link") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest$ac_exeext && >+- $as_test_x conftest$ac_exeext; then >++if ac_fn_c_try_link "$LINENO"; then : >+ ac_cv_lib_socket_gethostbyname=yes >+ else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_cv_lib_socket_gethostbyname=no >++ ac_cv_lib_socket_gethostbyname=no >+ fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ >+- conftest$ac_exeext conftest.$ac_ext >++rm -f core conftest.err conftest.$ac_objext \ >++ conftest$ac_exeext conftest.$ac_ext >+ LIBS=$ac_check_lib_save_LIBS >+ fi >+-{ echo "$as_me:$LINENO: result: $ac_cv_lib_socket_gethostbyname" >&5 >+-echo "${ECHO_T}$ac_cv_lib_socket_gethostbyname" >&6; } >+-if test $ac_cv_lib_socket_gethostbyname = yes; then >++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_gethostbyname" >&5 >++$as_echo "$ac_cv_lib_socket_gethostbyname" >&6; } >++if test "x$ac_cv_lib_socket_gethostbyname" = xyes; then : >+ cf_result=yes >+ else >+ cf_result=no >+ fi >+ >+ if test "$cf_result" = no; then >+- >+-{ echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5 >+-echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; } >+-if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5 >++$as_echo_n "checking for gethostbyname in -lnsl... " >&6; } >++if ${ac_cv_lib_nsl_gethostbyname+:} false; then : >++ $as_echo_n "(cached) " >&6 >+ else >+ ac_check_lib_save_LIBS=$LIBS >+ LIBS="-lnsl $LIBS" >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >++cat confdefs.h - <<_ACEOF >conftest.$ac_ext >+ /* end confdefs.h. */ >+ >+ /* Override any GCC internal prototype to avoid an error. >+@@ -12157,39 +6584,18 @@ return gethostbyname (); >+ return 0; >+ } >+ _ACEOF >+-rm -f conftest.$ac_objext conftest$ac_exeext >+-if { (ac_try="$ac_link" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_link") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest$ac_exeext && >+- $as_test_x conftest$ac_exeext; then >++if ac_fn_c_try_link "$LINENO"; then : >+ ac_cv_lib_nsl_gethostbyname=yes >+ else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_cv_lib_nsl_gethostbyname=no >++ ac_cv_lib_nsl_gethostbyname=no >+ fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ >+- conftest$ac_exeext conftest.$ac_ext >++rm -f core conftest.err conftest.$ac_objext \ >++ conftest$ac_exeext conftest.$ac_ext >+ LIBS=$ac_check_lib_save_LIBS >+ fi >+-{ echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5 >+-echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; } >+-if test $ac_cv_lib_nsl_gethostbyname = yes; then >++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5 >++$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; } >++if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then : >+ cat >>confdefs.h <<_ACEOF >+ #define HAVE_LIBNSL 1 >+ _ACEOF >+@@ -12203,272 +6609,25 @@ fi >+ fi >+ fi >+ >+-{ echo "$as_me:$LINENO: checking for herror" >&5 >+-echo $ECHO_N "checking for herror... $ECHO_C" >&6; } >+-if test "${ac_cv_func_herror+set}" = set; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-else >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-/* Define herror to an innocuous variant, in case <limits.h> declares herror. >+- For example, HP-UX 11i <limits.h> declares gettimeofday. */ >+-#define herror innocuous_herror >+- >+-/* System header to define __stub macros and hopefully few prototypes, >+- which can conflict with char herror (); below. >+- Prefer <limits.h> to <assert.h> if __STDC__ is defined, since >+- <limits.h> exists even on freestanding compilers. */ >+- >+-#ifdef __STDC__ >+-# include <limits.h> >+-#else >+-# include <assert.h> >+-#endif >+- >+-#undef herror >+- >+-/* Override any GCC internal prototype to avoid an error. >+- Use char because int might match the return type of a GCC >+- builtin and then its argument prototype would still apply. */ >+-#ifdef __cplusplus >+-extern "C" >+-#endif >+-char herror (); >+-/* The GNU C library defines this for functions which it implements >+- to always fail with ENOSYS. Some functions are actually named >+- something starting with __ and the normal name is an alias. */ >+-#if defined __stub_herror || defined __stub___herror >+-choke me >+-#endif >+- >+-int >+-main () >+-{ >+-return herror (); >+- ; >+- return 0; >+-} >+-_ACEOF >+-rm -f conftest.$ac_objext conftest$ac_exeext >+-if { (ac_try="$ac_link" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_link") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest$ac_exeext && >+- $as_test_x conftest$ac_exeext; then >+- ac_cv_func_herror=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_cv_func_herror=no >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ >+- conftest$ac_exeext conftest.$ac_ext >+-fi >+-{ echo "$as_me:$LINENO: result: $ac_cv_func_herror" >&5 >+-echo "${ECHO_T}$ac_cv_func_herror" >&6; } >+-if test $ac_cv_func_herror = yes; then >+- cat >>confdefs.h <<\_ACEOF >+-#define HAVE_HERROR 1 >+-_ACEOF >+- >+-fi >+- >+-{ echo "$as_me:$LINENO: checking for cfmakeraw" >&5 >+-echo $ECHO_N "checking for cfmakeraw... $ECHO_C" >&6; } >+-if test "${ac_cv_func_cfmakeraw+set}" = set; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-else >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-/* Define cfmakeraw to an innocuous variant, in case <limits.h> declares cfmakeraw. >+- For example, HP-UX 11i <limits.h> declares gettimeofday. */ >+-#define cfmakeraw innocuous_cfmakeraw >+- >+-/* System header to define __stub macros and hopefully few prototypes, >+- which can conflict with char cfmakeraw (); below. >+- Prefer <limits.h> to <assert.h> if __STDC__ is defined, since >+- <limits.h> exists even on freestanding compilers. */ >+- >+-#ifdef __STDC__ >+-# include <limits.h> >+-#else >+-# include <assert.h> >+-#endif >+- >+-#undef cfmakeraw >+- >+-/* Override any GCC internal prototype to avoid an error. >+- Use char because int might match the return type of a GCC >+- builtin and then its argument prototype would still apply. */ >+-#ifdef __cplusplus >+-extern "C" >+-#endif >+-char cfmakeraw (); >+-/* The GNU C library defines this for functions which it implements >+- to always fail with ENOSYS. Some functions are actually named >+- something starting with __ and the normal name is an alias. */ >+-#if defined __stub_cfmakeraw || defined __stub___cfmakeraw >+-choke me >+-#endif >+- >+-int >+-main () >+-{ >+-return cfmakeraw (); >+- ; >+- return 0; >+-} >+-_ACEOF >+-rm -f conftest.$ac_objext conftest$ac_exeext >+-if { (ac_try="$ac_link" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_link") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest$ac_exeext && >+- $as_test_x conftest$ac_exeext; then >+- ac_cv_func_cfmakeraw=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >++ac_fn_c_check_func "$LINENO" "herror" "ac_cv_func_herror" >++if test "x$ac_cv_func_herror" = xyes; then : >++ $as_echo "#define HAVE_HERROR 1" >>confdefs.h >+ >+- ac_cv_func_cfmakeraw=no >+ fi >+ >+-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ >+- conftest$ac_exeext conftest.$ac_ext >+-fi >+-{ echo "$as_me:$LINENO: result: $ac_cv_func_cfmakeraw" >&5 >+-echo "${ECHO_T}$ac_cv_func_cfmakeraw" >&6; } >+-if test $ac_cv_func_cfmakeraw = yes; then >+- cat >>confdefs.h <<\_ACEOF >+-#define HAVE_CFMAKERAW 1 >+-_ACEOF >++ac_fn_c_check_func "$LINENO" "cfmakeraw" "ac_cv_func_cfmakeraw" >++if test "x$ac_cv_func_cfmakeraw" = xyes; then : >++ $as_echo "#define HAVE_CFMAKERAW 1" >>confdefs.h >+ >+ fi >+ >+ >+- >+ for ac_func in cygwin_conv_to_full_win32_path >+-do >+-as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` >+-{ echo "$as_me:$LINENO: checking for $ac_func" >&5 >+-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } >+-if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-else >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. >+- For example, HP-UX 11i <limits.h> declares gettimeofday. */ >+-#define $ac_func innocuous_$ac_func >+- >+-/* System header to define __stub macros and hopefully few prototypes, >+- which can conflict with char $ac_func (); below. >+- Prefer <limits.h> to <assert.h> if __STDC__ is defined, since >+- <limits.h> exists even on freestanding compilers. */ >+- >+-#ifdef __STDC__ >+-# include <limits.h> >+-#else >+-# include <assert.h> >+-#endif >+- >+-#undef $ac_func >+- >+-/* Override any GCC internal prototype to avoid an error. >+- Use char because int might match the return type of a GCC >+- builtin and then its argument prototype would still apply. */ >+-#ifdef __cplusplus >+-extern "C" >+-#endif >+-char $ac_func (); >+-/* The GNU C library defines this for functions which it implements >+- to always fail with ENOSYS. Some functions are actually named >+- something starting with __ and the normal name is an alias. */ >+-#if defined __stub_$ac_func || defined __stub___$ac_func >+-choke me >+-#endif >+- >+-int >+-main () >+-{ >+-return $ac_func (); >+- ; >+- return 0; >+-} >+-_ACEOF >+-rm -f conftest.$ac_objext conftest$ac_exeext >+-if { (ac_try="$ac_link" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_link") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest$ac_exeext && >+- $as_test_x conftest$ac_exeext; then >+- eval "$as_ac_var=yes" >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- eval "$as_ac_var=no" >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ >+- conftest$ac_exeext conftest.$ac_ext >+-fi >+-ac_res=`eval echo '${'$as_ac_var'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+-if test `eval echo '${'$as_ac_var'}'` = yes; then >++do : >++ ac_fn_c_check_func "$LINENO" "cygwin_conv_to_full_win32_path" "ac_cv_func_cygwin_conv_to_full_win32_path" >++if test "x$ac_cv_func_cygwin_conv_to_full_win32_path" = xyes; then : >+ cat >>confdefs.h <<_ACEOF >+-#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 >++#define HAVE_CYGWIN_CONV_TO_FULL_WIN32_PATH 1 >+ _ACEOF >+ >+ fi >+@@ -12476,7 +6635,7 @@ done >+ >+ >+ # Check whether --enable-form-saving was given. >+-if test "${enable_form_saving+set}" = set; then >++if test "${enable_form_saving+set}" = set; then : >+ enableval=$enable_form_saving; enable_form_save=yes >+ else >+ enable_form_save=no >+@@ -12484,164 +6643,30 @@ fi >+ >+ cf_form_save=no >+ if test "$enable_form_save" = yes ; then >+- cat >>confdefs.h <<\_ACEOF >+-#define FORM_SAVE 1 >+-_ACEOF >++ $as_echo "#define FORM_SAVE 1" >>confdefs.h >+ >+ cf_form_save=yes >+ >+- >+-for ac_header in gdbm.h >+-do >+-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- { echo "$as_me:$LINENO: checking for $ac_header" >&5 >+-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-fi >+-ac_res=`eval echo '${'$as_ac_Header'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+-else >+- # Is the header compilable? >+-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 >+-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-$ac_includes_default >+-#include <$ac_header> >+-_ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >+- ac_header_compiler=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_header_compiler=no >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 >+-echo "${ECHO_T}$ac_header_compiler" >&6; } >+- >+-# Is the header present? >+-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 >+-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-#include <$ac_header> >+-_ACEOF >+-if { (ac_try="$ac_cpp conftest.$ac_ext" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } >/dev/null && { >+- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || >+- test ! -s conftest.err >+- }; then >+- ac_header_preproc=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_header_preproc=no >+-fi >+- >+-rm -f conftest.err conftest.$ac_ext >+-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 >+-echo "${ECHO_T}$ac_header_preproc" >&6; } >+- >+-# So? What about this header? >+-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in >+- yes:no: ) >+- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 >+-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 >+-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} >+- ac_header_preproc=yes >+- ;; >+- no:yes:* ) >+- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 >+-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 >+-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 >+-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 >+-echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 >+-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 >+-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} >+- >+- ;; >+-esac >+-{ echo "$as_me:$LINENO: checking for $ac_header" >&5 >+-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-else >+- eval "$as_ac_Header=\$ac_header_preproc" >+-fi >+-ac_res=`eval echo '${'$as_ac_Header'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+- >+-fi >+-if test `eval echo '${'$as_ac_Header'}'` = yes; then >++ for ac_header in gdbm.h >++do : >++ ac_fn_c_check_header_mongrel "$LINENO" "gdbm.h" "ac_cv_header_gdbm_h" "$ac_includes_default" >++if test "x$ac_cv_header_gdbm_h" = xyes; then : >+ cat >>confdefs.h <<_ACEOF >+-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 >++#define HAVE_GDBM_H 1 >+ _ACEOF >+ >+ fi >+ >+ done >+ >+- { echo "$as_me:$LINENO: checking for gdbm_open in -lgdbm" >&5 >+-echo $ECHO_N "checking for gdbm_open in -lgdbm... $ECHO_C" >&6; } >+-if test "${ac_cv_lib_gdbm_gdbm_open+set}" = set; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdbm_open in -lgdbm" >&5 >++$as_echo_n "checking for gdbm_open in -lgdbm... " >&6; } >++if ${ac_cv_lib_gdbm_gdbm_open+:} false; then : >++ $as_echo_n "(cached) " >&6 >+ else >+ ac_check_lib_save_LIBS=$LIBS >+ LIBS="-lgdbm $LIBS" >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >++cat confdefs.h - <<_ACEOF >conftest.$ac_ext >+ /* end confdefs.h. */ >+ >+ /* Override any GCC internal prototype to avoid an error. >+@@ -12659,96 +6684,67 @@ return gdbm_open (); >+ return 0; >+ } >+ _ACEOF >+-rm -f conftest.$ac_objext conftest$ac_exeext >+-if { (ac_try="$ac_link" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_link") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest$ac_exeext && >+- $as_test_x conftest$ac_exeext; then >++if ac_fn_c_try_link "$LINENO"; then : >+ ac_cv_lib_gdbm_gdbm_open=yes >+ else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_cv_lib_gdbm_gdbm_open=no >++ ac_cv_lib_gdbm_gdbm_open=no >+ fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ >+- conftest$ac_exeext conftest.$ac_ext >++rm -f core conftest.err conftest.$ac_objext \ >++ conftest$ac_exeext conftest.$ac_ext >+ LIBS=$ac_check_lib_save_LIBS >+ fi >+-{ echo "$as_me:$LINENO: result: $ac_cv_lib_gdbm_gdbm_open" >&5 >+-echo "${ECHO_T}$ac_cv_lib_gdbm_gdbm_open" >&6; } >+-if test $ac_cv_lib_gdbm_gdbm_open = yes; then >++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gdbm_gdbm_open" >&5 >++$as_echo "$ac_cv_lib_gdbm_gdbm_open" >&6; } >++if test "x$ac_cv_lib_gdbm_gdbm_open" = xyes; then : >+ LIBS="-lgdbm $LIBS" >+ fi >+ >+ if test "$ac_cv_header_gdbm_h" != yes || test "$ac_cv_lib_gdbm_gdbm_open" != yes; then >+- { { echo "$as_me:$LINENO: error: You need gdbm to compile form saving" >&5 >+-echo "$as_me: error: You need gdbm to compile form saving" >&2;} >+- { (exit 1); exit 1; }; } >++ as_fn_error $? "You need gdbm to compile form saving" "$LINENO" 5 >+ cf_form_save=no >+ fi >+ fi >+ >+ >+-{ echo "$as_me:$LINENO: checking if you want to enable javascript" >&5 >+-echo $ECHO_N "checking if you want to enable javascript... $ECHO_C" >&6; } >++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if you want to enable javascript" >&5 >++$as_echo_n "checking if you want to enable javascript... " >&6; } >+ # Check whether --enable-javascript was given. >+-if test "${enable_javascript+set}" = set; then >++if test "${enable_javascript+set}" = set; then : >+ enableval=$enable_javascript; cf_use_javascript=yes >+ else >+ cf_use_javascript=no >+ fi >+ >+-{ echo "$as_me:$LINENO: result: $cf_use_javascript" >&5 >+-echo "${ECHO_T}$cf_use_javascript" >&6; } >++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_use_javascript" >&5 >++$as_echo "$cf_use_javascript" >&6; } >+ if test "$cf_use_javascript" = yes; then >+- cat >>confdefs.h <<\_ACEOF >+-#define JS 1 >+-_ACEOF >++ $as_echo "#define JS 1" >>confdefs.h >+ >+ fi >+ >+ >+ # Check whether --with-libfl was given. >+-if test "${with_libfl+set}" = set; then >++if test "${with_libfl+set}" = set; then : >+ withval=$with_libfl; LIBS="$LIBS -lfl" >+ else >+- cat >>confdefs.h <<\_ACEOF >+-#define CHCEME_FLEXI_LIBU 1 >+-_ACEOF >++ $as_echo "#define CHCEME_FLEXI_LIBU 1" >>confdefs.h >+ >+ fi >+ >+ >+-{ echo "$as_me:$LINENO: checking if you want to use graphics" >&5 >+-echo $ECHO_N "checking if you want to use graphics... $ECHO_C" >&6; } >++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if you want to use graphics" >&5 >++$as_echo_n "checking if you want to use graphics... " >&6; } >+ # Check whether --enable-graphics was given. >+-if test "${enable_graphics+set}" = set; then >++if test "${enable_graphics+set}" = set; then : >+ enableval=$enable_graphics; cf_use_graphics=yes >+ else >+ cf_use_graphics=no >+ fi >+ >+-{ echo "$as_me:$LINENO: result: $cf_use_graphics" >&5 >+-echo "${ECHO_T}$cf_use_graphics" >&6; } >+- >+- >++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_use_graphics" >&5 >++$as_echo "$cf_use_graphics" >&6; } >+ >+-if test "$cf_use_graphics" = yes; then >++ if test "$cf_use_graphics" = yes; then >+ GRAPHICS_TRUE= >+ GRAPHICS_FALSE='#' >+ else >+@@ -12757,35 +6753,30 @@ else >+ fi >+ >+ >+-{ echo "$as_me:$LINENO: checking if you want the \"links\" executable to be static" >&5 >+-echo $ECHO_N "checking if you want the \"links\" executable to be static... $ECHO_C" >&6; } >++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if you want the \"links\" executable to be static" >&5 >++$as_echo_n "checking if you want the \"links\" executable to be static... " >&6; } >+ # Check whether --enable-static was given. >+-if test "${enable_static+set}" = set; then >++if test "${enable_static+set}" = set; then : >+ enableval=$enable_static; cf_use_static=yes >+ else >+ cf_use_static=no >+ fi >+ >+-{ echo "$as_me:$LINENO: result: $cf_use_static" >&5 >+-echo "${ECHO_T}$cf_use_static" >&6; } >++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_use_static" >&5 >++$as_echo "$cf_use_static" >&6; } >+ >+ if test "$cf_use_static" = yes; then >+ LDFLAGS=" -static $LDFLAGS" >+ fi >+ >+- >+-{ echo "$as_me:$LINENO: checking for Gpm_Open in -lgpm" >&5 >+-echo $ECHO_N "checking for Gpm_Open in -lgpm... $ECHO_C" >&6; } >+-if test "${ac_cv_lib_gpm_Gpm_Open+set}" = set; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Gpm_Open in -lgpm" >&5 >++$as_echo_n "checking for Gpm_Open in -lgpm... " >&6; } >++if ${ac_cv_lib_gpm_Gpm_Open+:} false; then : >++ $as_echo_n "(cached) " >&6 >+ else >+ ac_check_lib_save_LIBS=$LIBS >+ LIBS="-lgpm $LIBS" >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >++cat confdefs.h - <<_ACEOF >conftest.$ac_ext >+ /* end confdefs.h. */ >+ >+ /* Override any GCC internal prototype to avoid an error. >+@@ -12803,39 +6794,18 @@ return Gpm_Open (); >+ return 0; >+ } >+ _ACEOF >+-rm -f conftest.$ac_objext conftest$ac_exeext >+-if { (ac_try="$ac_link" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_link") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest$ac_exeext && >+- $as_test_x conftest$ac_exeext; then >++if ac_fn_c_try_link "$LINENO"; then : >+ ac_cv_lib_gpm_Gpm_Open=yes >+ else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_cv_lib_gpm_Gpm_Open=no >++ ac_cv_lib_gpm_Gpm_Open=no >+ fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ >+- conftest$ac_exeext conftest.$ac_ext >++rm -f core conftest.err conftest.$ac_objext \ >++ conftest$ac_exeext conftest.$ac_ext >+ LIBS=$ac_check_lib_save_LIBS >+ fi >+-{ echo "$as_me:$LINENO: result: $ac_cv_lib_gpm_Gpm_Open" >&5 >+-echo "${ECHO_T}$ac_cv_lib_gpm_Gpm_Open" >&6; } >+-if test $ac_cv_lib_gpm_Gpm_Open = yes; then >++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gpm_Gpm_Open" >&5 >++$as_echo "$ac_cv_lib_gpm_Gpm_Open" >&6; } >++if test "x$ac_cv_lib_gpm_Gpm_Open" = xyes; then : >+ cat >>confdefs.h <<_ACEOF >+ #define HAVE_LIBGPM 1 >+ _ACEOF >+@@ -12845,140 +6815,12 @@ _ACEOF >+ fi >+ >+ cf_have_gpm_lib=$ac_cv_lib_gpm_Gpm_Open >+- >+ for ac_header in gpm.h >+-do >+-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- { echo "$as_me:$LINENO: checking for $ac_header" >&5 >+-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-fi >+-ac_res=`eval echo '${'$as_ac_Header'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+-else >+- # Is the header compilable? >+-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 >+-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-$ac_includes_default >+-#include <$ac_header> >+-_ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >+- ac_header_compiler=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_header_compiler=no >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 >+-echo "${ECHO_T}$ac_header_compiler" >&6; } >+- >+-# Is the header present? >+-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 >+-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-#include <$ac_header> >+-_ACEOF >+-if { (ac_try="$ac_cpp conftest.$ac_ext" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } >/dev/null && { >+- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || >+- test ! -s conftest.err >+- }; then >+- ac_header_preproc=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_header_preproc=no >+-fi >+- >+-rm -f conftest.err conftest.$ac_ext >+-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 >+-echo "${ECHO_T}$ac_header_preproc" >&6; } >+- >+-# So? What about this header? >+-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in >+- yes:no: ) >+- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 >+-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 >+-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} >+- ac_header_preproc=yes >+- ;; >+- no:yes:* ) >+- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 >+-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 >+-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 >+-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 >+-echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 >+-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 >+-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} >+- >+- ;; >+-esac >+-{ echo "$as_me:$LINENO: checking for $ac_header" >&5 >+-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-else >+- eval "$as_ac_Header=\$ac_header_preproc" >+-fi >+-ac_res=`eval echo '${'$as_ac_Header'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+- >+-fi >+-if test `eval echo '${'$as_ac_Header'}'` = yes; then >++do : >++ ac_fn_c_check_header_mongrel "$LINENO" "gpm.h" "ac_cv_header_gpm_h" "$ac_includes_default" >++if test "x$ac_cv_header_gpm_h" = xyes; then : >+ cat >>confdefs.h <<_ACEOF >+-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 >++#define HAVE_GPM_H 1 >+ _ACEOF >+ >+ fi >+@@ -12988,18 +6830,14 @@ done >+ cf_have_gpm_includes=$ac_cv_header_gpm_h >+ if test "$cf_have_gpm_lib" = yes && test "$cf_have_gpm_includes" = yes ; then cf_have_gpm=yes ; else cf_have_gpm=no; fi >+ >+-{ echo "$as_me:$LINENO: checking for OS/2 threads" >&5 >+-echo $ECHO_N "checking for OS/2 threads... $ECHO_C" >&6; } >+-if test "${ac_cv_have_beginthread+set}" = set; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OS/2 threads" >&5 >++$as_echo_n "checking for OS/2 threads... " >&6; } >++if ${ac_cv_have_beginthread+:} false; then : >++ $as_echo_n "(cached) " >&6 >+ else >+ CFLAGS_X="$CFLAGS" >+ CFLAGS="$CFLAGS -Zmt" >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext >+ /* end confdefs.h. */ >+ #include <stdlib.h> >+ int >+@@ -13010,44 +6848,21 @@ _beginthread(NULL, NULL, 0, NULL) >+ return 0; >+ } >+ _ACEOF >+-rm -f conftest.$ac_objext conftest$ac_exeext >+-if { (ac_try="$ac_link" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_link") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest$ac_exeext && >+- $as_test_x conftest$ac_exeext; then >++if ac_fn_c_try_link "$LINENO"; then : >+ ac_cv_have_beginthread=yes >+ else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_cv_have_beginthread=no >++ ac_cv_have_beginthread=no >+ fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ >+- conftest$ac_exeext conftest.$ac_ext >++rm -f core conftest.err conftest.$ac_objext \ >++ conftest$ac_exeext conftest.$ac_ext >+ CFLAGS="$CFLAGS_X" >+ >+ fi >+-{ echo "$as_me:$LINENO: result: $ac_cv_have_beginthread" >&5 >+-echo "${ECHO_T}$ac_cv_have_beginthread" >&6; } >++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_beginthread" >&5 >++$as_echo "$ac_cv_have_beginthread" >&6; } >+ if test "$ac_cv_have_beginthread" = yes; then >+ CFLAGS="$CFLAGS -Zmt" >+- cat >>confdefs.h <<\_ACEOF >+-#define HAVE_BEGINTHREAD 1 >+-_ACEOF >++ $as_echo "#define HAVE_BEGINTHREAD 1" >>confdefs.h >+ >+ #else >+ # AC_CHECK_FUNC(pthread_create, cf_result=yes, cf_result=no) >+@@ -13059,516 +6874,58 @@ _ACEOF >+ # fi >+ fi >+ #AC_CHECK_FUNC(clone, AC_DEFINE(HAVE_CLONE)) >+- >+ for ac_header in atheos/threads.h >+-do >+-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- { echo "$as_me:$LINENO: checking for $ac_header" >&5 >+-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-fi >+-ac_res=`eval echo '${'$as_ac_Header'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+-else >+- # Is the header compilable? >+-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 >+-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-$ac_includes_default >+-#include <$ac_header> >+-_ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >+- ac_header_compiler=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_header_compiler=no >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 >+-echo "${ECHO_T}$ac_header_compiler" >&6; } >+- >+-# Is the header present? >+-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 >+-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-#include <$ac_header> >+-_ACEOF >+-if { (ac_try="$ac_cpp conftest.$ac_ext" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } >/dev/null && { >+- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || >+- test ! -s conftest.err >+- }; then >+- ac_header_preproc=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_header_preproc=no >+-fi >+- >+-rm -f conftest.err conftest.$ac_ext >+-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 >+-echo "${ECHO_T}$ac_header_preproc" >&6; } >+- >+-# So? What about this header? >+-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in >+- yes:no: ) >+- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 >+-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 >+-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} >+- ac_header_preproc=yes >+- ;; >+- no:yes:* ) >+- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 >+-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 >+-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 >+-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 >+-echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 >+-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 >+-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} >+- >+- ;; >+-esac >+-{ echo "$as_me:$LINENO: checking for $ac_header" >&5 >+-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-else >+- eval "$as_ac_Header=\$ac_header_preproc" >+-fi >+-ac_res=`eval echo '${'$as_ac_Header'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+- >+-fi >+-if test `eval echo '${'$as_ac_Header'}'` = yes; then >++do : >++ ac_fn_c_check_header_mongrel "$LINENO" "atheos/threads.h" "ac_cv_header_atheos_threads_h" "$ac_includes_default" >++if test "x$ac_cv_header_atheos_threads_h" = xyes; then : >+ cat >>confdefs.h <<_ACEOF >+-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 >++#define HAVE_ATHEOS_THREADS_H 1 >+ _ACEOF >+ >+ fi >+ >+ done >+ >+- >+ for ac_func in spawn_thread >+-do >+-as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` >+-{ echo "$as_me:$LINENO: checking for $ac_func" >&5 >+-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } >+-if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-else >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. >+- For example, HP-UX 11i <limits.h> declares gettimeofday. */ >+-#define $ac_func innocuous_$ac_func >+- >+-/* System header to define __stub macros and hopefully few prototypes, >+- which can conflict with char $ac_func (); below. >+- Prefer <limits.h> to <assert.h> if __STDC__ is defined, since >+- <limits.h> exists even on freestanding compilers. */ >+- >+-#ifdef __STDC__ >+-# include <limits.h> >+-#else >+-# include <assert.h> >+-#endif >+- >+-#undef $ac_func >+- >+-/* Override any GCC internal prototype to avoid an error. >+- Use char because int might match the return type of a GCC >+- builtin and then its argument prototype would still apply. */ >+-#ifdef __cplusplus >+-extern "C" >+-#endif >+-char $ac_func (); >+-/* The GNU C library defines this for functions which it implements >+- to always fail with ENOSYS. Some functions are actually named >+- something starting with __ and the normal name is an alias. */ >+-#if defined __stub_$ac_func || defined __stub___$ac_func >+-choke me >+-#endif >+- >+-int >+-main () >+-{ >+-return $ac_func (); >+- ; >+- return 0; >+-} >+-_ACEOF >+-rm -f conftest.$ac_objext conftest$ac_exeext >+-if { (ac_try="$ac_link" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_link") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest$ac_exeext && >+- $as_test_x conftest$ac_exeext; then >+- eval "$as_ac_var=yes" >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- eval "$as_ac_var=no" >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ >+- conftest$ac_exeext conftest.$ac_ext >+-fi >+-ac_res=`eval echo '${'$as_ac_var'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+-if test `eval echo '${'$as_ac_var'}'` = yes; then >++do : >++ ac_fn_c_check_func "$LINENO" "spawn_thread" "ac_cv_func_spawn_thread" >++if test "x$ac_cv_func_spawn_thread" = xyes; then : >+ cat >>confdefs.h <<_ACEOF >+-#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 >++#define HAVE_SPAWN_THREAD 1 >+ _ACEOF >+ >+ fi >+ done >+ >+- >+ for ac_func in resume_thread >+-do >+-as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` >+-{ echo "$as_me:$LINENO: checking for $ac_func" >&5 >+-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } >+-if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-else >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. >+- For example, HP-UX 11i <limits.h> declares gettimeofday. */ >+-#define $ac_func innocuous_$ac_func >+- >+-/* System header to define __stub macros and hopefully few prototypes, >+- which can conflict with char $ac_func (); below. >+- Prefer <limits.h> to <assert.h> if __STDC__ is defined, since >+- <limits.h> exists even on freestanding compilers. */ >+- >+-#ifdef __STDC__ >+-# include <limits.h> >+-#else >+-# include <assert.h> >+-#endif >+- >+-#undef $ac_func >+- >+-/* Override any GCC internal prototype to avoid an error. >+- Use char because int might match the return type of a GCC >+- builtin and then its argument prototype would still apply. */ >+-#ifdef __cplusplus >+-extern "C" >+-#endif >+-char $ac_func (); >+-/* The GNU C library defines this for functions which it implements >+- to always fail with ENOSYS. Some functions are actually named >+- something starting with __ and the normal name is an alias. */ >+-#if defined __stub_$ac_func || defined __stub___$ac_func >+-choke me >+-#endif >+- >+-int >+-main () >+-{ >+-return $ac_func (); >+- ; >+- return 0; >+-} >+-_ACEOF >+-rm -f conftest.$ac_objext conftest$ac_exeext >+-if { (ac_try="$ac_link" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_link") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest$ac_exeext && >+- $as_test_x conftest$ac_exeext; then >+- eval "$as_ac_var=yes" >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- eval "$as_ac_var=no" >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ >+- conftest$ac_exeext conftest.$ac_ext >+-fi >+-ac_res=`eval echo '${'$as_ac_var'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+-if test `eval echo '${'$as_ac_var'}'` = yes; then >++do : >++ ac_fn_c_check_func "$LINENO" "resume_thread" "ac_cv_func_resume_thread" >++if test "x$ac_cv_func_resume_thread" = xyes; then : >+ cat >>confdefs.h <<_ACEOF >+-#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 >++#define HAVE_RESUME_THREAD 1 >+ _ACEOF >+ >+ fi >+ done >+ >+ >+-{ echo "$as_me:$LINENO: checking for MouOpen" >&5 >+-echo $ECHO_N "checking for MouOpen... $ECHO_C" >&6; } >+-if test "${ac_cv_func_MouOpen+set}" = set; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-else >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-/* Define MouOpen to an innocuous variant, in case <limits.h> declares MouOpen. >+- For example, HP-UX 11i <limits.h> declares gettimeofday. */ >+-#define MouOpen innocuous_MouOpen >+- >+-/* System header to define __stub macros and hopefully few prototypes, >+- which can conflict with char MouOpen (); below. >+- Prefer <limits.h> to <assert.h> if __STDC__ is defined, since >+- <limits.h> exists even on freestanding compilers. */ >+- >+-#ifdef __STDC__ >+-# include <limits.h> >+-#else >+-# include <assert.h> >+-#endif >+- >+-#undef MouOpen >+- >+-/* Override any GCC internal prototype to avoid an error. >+- Use char because int might match the return type of a GCC >+- builtin and then its argument prototype would still apply. */ >+-#ifdef __cplusplus >+-extern "C" >+-#endif >+-char MouOpen (); >+-/* The GNU C library defines this for functions which it implements >+- to always fail with ENOSYS. Some functions are actually named >+- something starting with __ and the normal name is an alias. */ >+-#if defined __stub_MouOpen || defined __stub___MouOpen >+-choke me >+-#endif >+- >+-int >+-main () >+-{ >+-return MouOpen (); >+- ; >+- return 0; >+-} >+-_ACEOF >+-rm -f conftest.$ac_objext conftest$ac_exeext >+-if { (ac_try="$ac_link" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_link") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest$ac_exeext && >+- $as_test_x conftest$ac_exeext; then >+- ac_cv_func_MouOpen=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_cv_func_MouOpen=no >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ >+- conftest$ac_exeext conftest.$ac_ext >+-fi >+-{ echo "$as_me:$LINENO: result: $ac_cv_func_MouOpen" >&5 >+-echo "${ECHO_T}$ac_cv_func_MouOpen" >&6; } >+-if test $ac_cv_func_MouOpen = yes; then >+- cat >>confdefs.h <<\_ACEOF >+-#define HAVE_MOUOPEN 1 >+-_ACEOF >++ac_fn_c_check_func "$LINENO" "MouOpen" "ac_cv_func_MouOpen" >++if test "x$ac_cv_func_MouOpen" = xyes; then : >++ $as_echo "#define HAVE_MOUOPEN 1" >>confdefs.h >+ >+ fi >+ >+-{ echo "$as_me:$LINENO: checking for _read_kbd" >&5 >+-echo $ECHO_N "checking for _read_kbd... $ECHO_C" >&6; } >+-if test "${ac_cv_func__read_kbd+set}" = set; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-else >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-/* Define _read_kbd to an innocuous variant, in case <limits.h> declares _read_kbd. >+- For example, HP-UX 11i <limits.h> declares gettimeofday. */ >+-#define _read_kbd innocuous__read_kbd >+- >+-/* System header to define __stub macros and hopefully few prototypes, >+- which can conflict with char _read_kbd (); below. >+- Prefer <limits.h> to <assert.h> if __STDC__ is defined, since >+- <limits.h> exists even on freestanding compilers. */ >+- >+-#ifdef __STDC__ >+-# include <limits.h> >+-#else >+-# include <assert.h> >+-#endif >+- >+-#undef _read_kbd >+- >+-/* Override any GCC internal prototype to avoid an error. >+- Use char because int might match the return type of a GCC >+- builtin and then its argument prototype would still apply. */ >+-#ifdef __cplusplus >+-extern "C" >+-#endif >+-char _read_kbd (); >+-/* The GNU C library defines this for functions which it implements >+- to always fail with ENOSYS. Some functions are actually named >+- something starting with __ and the normal name is an alias. */ >+-#if defined __stub__read_kbd || defined __stub____read_kbd >+-choke me >+-#endif >+- >+-int >+-main () >+-{ >+-return _read_kbd (); >+- ; >+- return 0; >+-} >+-_ACEOF >+-rm -f conftest.$ac_objext conftest$ac_exeext >+-if { (ac_try="$ac_link" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_link") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest$ac_exeext && >+- $as_test_x conftest$ac_exeext; then >+- ac_cv_func__read_kbd=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_cv_func__read_kbd=no >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ >+- conftest$ac_exeext conftest.$ac_ext >+-fi >+-{ echo "$as_me:$LINENO: result: $ac_cv_func__read_kbd" >&5 >+-echo "${ECHO_T}$ac_cv_func__read_kbd" >&6; } >+-if test $ac_cv_func__read_kbd = yes; then >+- cat >>confdefs.h <<\_ACEOF >+-#define HAVE_READ_KBD 1 >+-_ACEOF >++ac_fn_c_check_func "$LINENO" "_read_kbd" "ac_cv_func__read_kbd" >++if test "x$ac_cv_func__read_kbd" = xyes; then : >++ $as_echo "#define HAVE_READ_KBD 1" >>confdefs.h >+ >+ fi >+ >+ >+-{ echo "$as_me:$LINENO: checking for XFree for OS/2" >&5 >+-echo $ECHO_N "checking for XFree for OS/2... $ECHO_C" >&6; } >+-if test "${ac_cv_have_x2+set}" = set; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XFree for OS/2" >&5 >++$as_echo_n "checking for XFree for OS/2... " >&6; } >++if ${ac_cv_have_x2+:} false; then : >++ $as_echo_n "(cached) " >&6 >+ else >+ CPPFLAGS_X="$CPPFLAGS" >+ LIBS_X="$LIBS" >+@@ -13576,11 +6933,7 @@ else >+ if test -n "$X11ROOT"; then >+ CPPFLAGS="$CPPFLAGS_X -I$X11ROOT/XFree86/include" >+ LIBS="$LIBS_X -L$X11ROOT/XFree86/lib -lxf86_gcc" >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext >+ /* end confdefs.h. */ >+ #include <pty.h> >+ int >+@@ -13591,41 +6944,16 @@ struct winsize win;ptioctl(1, TIOCGWINSZ >+ return 0; >+ } >+ _ACEOF >+-rm -f conftest.$ac_objext conftest$ac_exeext >+-if { (ac_try="$ac_link" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_link") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest$ac_exeext && >+- $as_test_x conftest$ac_exeext; then >++if ac_fn_c_try_link "$LINENO"; then : >+ ac_cv_have_x2=xf86_gcc >+ else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_cv_have_x2=no >++ ac_cv_have_x2=no >+ fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ >+- conftest$ac_exeext conftest.$ac_ext >++rm -f core conftest.err conftest.$ac_objext \ >++ conftest$ac_exeext conftest.$ac_ext >+ if test "$ac_cv_have_x2" = no; then >+ LIBS="$LIBS_X -L$X11ROOT/XFree86/lib -lxf86" >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext >+ /* end confdefs.h. */ >+ #include <pty.h> >+ int >+@@ -13636,65 +6964,37 @@ struct winsize win;ptioctl(1, TIOCGWINSZ >+ return 0; >+ } >+ _ACEOF >+-rm -f conftest.$ac_objext conftest$ac_exeext >+-if { (ac_try="$ac_link" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_link") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest$ac_exeext && >+- $as_test_x conftest$ac_exeext; then >++if ac_fn_c_try_link "$LINENO"; then : >+ ac_cv_have_x2=xf86 >+ else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_cv_have_x2=no >++ ac_cv_have_x2=no >+ fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ >+- conftest$ac_exeext conftest.$ac_ext >++rm -f core conftest.err conftest.$ac_objext \ >++ conftest$ac_exeext conftest.$ac_ext >+ fi >+ fi >+ CPPFLAGS="$CPPFLAGS_X" >+ LIBS="$LIBS_X" >+ >+ fi >+-{ echo "$as_me:$LINENO: result: $ac_cv_have_x2" >&5 >+-echo "${ECHO_T}$ac_cv_have_x2" >&6; } >++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_x2" >&5 >++$as_echo "$ac_cv_have_x2" >&6; } >+ if test "$ac_cv_have_x2" != no; then >+ CPPFLAGS="$CPPFLAGS -I$X11ROOT/XFree86/include" >+ LIBS="$LIBS -L$X11ROOT/XFree86/lib -l$ac_cv_have_x2" >+- cat >>confdefs.h <<\_ACEOF >+-#define X2 1 >+-_ACEOF >++ $as_echo "#define X2 1" >>confdefs.h >+ >+ fi >+ >+ >+- >+-{ echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 >+-echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; } >+-if test "${ac_cv_lib_dl_dlopen+set}" = set; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 >++$as_echo_n "checking for dlopen in -ldl... " >&6; } >++if ${ac_cv_lib_dl_dlopen+:} false; then : >++ $as_echo_n "(cached) " >&6 >+ else >+ ac_check_lib_save_LIBS=$LIBS >+ LIBS="-ldl $LIBS" >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >++cat confdefs.h - <<_ACEOF >conftest.$ac_ext >+ /* end confdefs.h. */ >+ >+ /* Override any GCC internal prototype to avoid an error. >+@@ -13712,39 +7012,18 @@ return dlopen (); >+ return 0; >+ } >+ _ACEOF >+-rm -f conftest.$ac_objext conftest$ac_exeext >+-if { (ac_try="$ac_link" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_link") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest$ac_exeext && >+- $as_test_x conftest$ac_exeext; then >++if ac_fn_c_try_link "$LINENO"; then : >+ ac_cv_lib_dl_dlopen=yes >+ else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_cv_lib_dl_dlopen=no >++ ac_cv_lib_dl_dlopen=no >+ fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ >+- conftest$ac_exeext conftest.$ac_ext >++rm -f core conftest.err conftest.$ac_objext \ >++ conftest$ac_exeext conftest.$ac_ext >+ LIBS=$ac_check_lib_save_LIBS >+ fi >+-{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 >+-echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; } >+-if test $ac_cv_lib_dl_dlopen = yes; then >++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 >++$as_echo "$ac_cv_lib_dl_dlopen" >&6; } >++if test "x$ac_cv_lib_dl_dlopen" = xyes; then : >+ cat >>confdefs.h <<_ACEOF >+ #define HAVE_LIBDL 1 >+ _ACEOF >+@@ -13757,12 +7036,12 @@ fi >+ >+ >+ # Check whether --with-lua was given. >+-if test "${with_lua+set}" = set; then >++if test "${with_lua+set}" = set; then : >+ withval=$with_lua; if test "$withval" = no; then disable_lua=yes; fi >+ fi >+ >+-{ echo "$as_me:$LINENO: checking for Lua" >&5 >+-echo $ECHO_N "checking for Lua... $ECHO_C" >&6; } >++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Lua" >&5 >++$as_echo_n "checking for Lua... " >&6; } >+ >+ CFLAGS_X="$CFLAGS" >+ LIBS_X="$LIBS" >+@@ -13791,11 +7070,7 @@ if test -z "$disable_lua"; then >+ fi >+ fi >+ >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext >+ /* end confdefs.h. */ >+ #include <lua.h> >+ int >+@@ -13806,34 +7081,13 @@ lua_open(0) >+ return 0; >+ } >+ _ACEOF >+-rm -f conftest.$ac_objext conftest$ac_exeext >+-if { (ac_try="$ac_link" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_link") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest$ac_exeext && >+- $as_test_x conftest$ac_exeext; then >++if ac_fn_c_try_link "$LINENO"; then : >+ cf_result=yes >+ else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- cf_result=no >++ cf_result=no >+ fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ >+- conftest$ac_exeext conftest.$ac_ext >++rm -f core conftest.err conftest.$ac_objext \ >++ conftest$ac_exeext conftest.$ac_ext >+ fi >+ done >+ fi >+@@ -13842,160 +7096,30 @@ if test "$cf_result" != yes; then >+ CFLAGS="$CFLAGS_X" >+ LIBS="$LIBS_X" >+ else >+- cat >>confdefs.h <<\_ACEOF >+-#define HAVE_LUA 1 >+-_ACEOF >++ $as_echo "#define HAVE_LUA 1" >>confdefs.h >+ >+ fi >+ cf_have_lua=$cf_result; >+ >+-{ echo "$as_me:$LINENO: result: $cf_result" >&5 >+-echo "${ECHO_T}$cf_result" >&6; } >++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_result" >&5 >++$as_echo "$cf_result" >&6; } >+ >+ >+ # Check whether --with-zlib was given. >+-if test "${with_zlib+set}" = set; then >++if test "${with_zlib+set}" = set; then : >+ withval=$with_zlib; if test "$withval" = no; then disable_zlib=yes; fi >+ fi >+ >+-{ echo "$as_me:$LINENO: checking for zlib support" >&5 >+-echo $ECHO_N "checking for zlib support... $ECHO_C" >&6; } >++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlib support" >&5 >++$as_echo_n "checking for zlib support... " >&6; } >+ >+ if test -z "$disable_zlib"; then >+- >+-for ac_header in zlib.h >+-do >+-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- { echo "$as_me:$LINENO: checking for $ac_header" >&5 >+-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-fi >+-ac_res=`eval echo '${'$as_ac_Header'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+-else >+- # Is the header compilable? >+-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 >+-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-$ac_includes_default >+-#include <$ac_header> >+-_ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >+- ac_header_compiler=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_header_compiler=no >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 >+-echo "${ECHO_T}$ac_header_compiler" >&6; } >+- >+-# Is the header present? >+-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 >+-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-#include <$ac_header> >+-_ACEOF >+-if { (ac_try="$ac_cpp conftest.$ac_ext" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } >/dev/null && { >+- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || >+- test ! -s conftest.err >+- }; then >+- ac_header_preproc=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_header_preproc=no >+-fi >+- >+-rm -f conftest.err conftest.$ac_ext >+-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 >+-echo "${ECHO_T}$ac_header_preproc" >&6; } >+- >+-# So? What about this header? >+-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in >+- yes:no: ) >+- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 >+-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 >+-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} >+- ac_header_preproc=yes >+- ;; >+- no:yes:* ) >+- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 >+-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 >+-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 >+-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 >+-echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 >+-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 >+-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} >+- >+- ;; >+-esac >+-{ echo "$as_me:$LINENO: checking for $ac_header" >&5 >+-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-else >+- eval "$as_ac_Header=\$ac_header_preproc" >+-fi >+-ac_res=`eval echo '${'$as_ac_Header'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+- >+-fi >+-if test `eval echo '${'$as_ac_Header'}'` = yes; then >++ for ac_header in zlib.h >++do : >++ ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default" >++if test "x$ac_cv_header_zlib_h" = xyes; then : >+ cat >>confdefs.h <<_ACEOF >+-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 >++#define HAVE_ZLIB_H 1 >+ _ACEOF >+ cf_result=yes >+ else >+@@ -14005,19 +7129,14 @@ fi >+ done >+ >+ if test "$cf_result" = yes; then >+- >+-{ echo "$as_me:$LINENO: checking for gzdopen in -lz" >&5 >+-echo $ECHO_N "checking for gzdopen in -lz... $ECHO_C" >&6; } >+-if test "${ac_cv_lib_z_gzdopen+set}" = set; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gzdopen in -lz" >&5 >++$as_echo_n "checking for gzdopen in -lz... " >&6; } >++if ${ac_cv_lib_z_gzdopen+:} false; then : >++ $as_echo_n "(cached) " >&6 >+ else >+ ac_check_lib_save_LIBS=$LIBS >+ LIBS="-lz $LIBS" >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >++cat confdefs.h - <<_ACEOF >conftest.$ac_ext >+ /* end confdefs.h. */ >+ >+ /* Override any GCC internal prototype to avoid an error. >+@@ -14035,39 +7154,18 @@ return gzdopen (); >+ return 0; >+ } >+ _ACEOF >+-rm -f conftest.$ac_objext conftest$ac_exeext >+-if { (ac_try="$ac_link" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_link") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest$ac_exeext && >+- $as_test_x conftest$ac_exeext; then >++if ac_fn_c_try_link "$LINENO"; then : >+ ac_cv_lib_z_gzdopen=yes >+ else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_cv_lib_z_gzdopen=no >++ ac_cv_lib_z_gzdopen=no >+ fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ >+- conftest$ac_exeext conftest.$ac_ext >++rm -f core conftest.err conftest.$ac_objext \ >++ conftest$ac_exeext conftest.$ac_ext >+ LIBS=$ac_check_lib_save_LIBS >+ fi >+-{ echo "$as_me:$LINENO: result: $ac_cv_lib_z_gzdopen" >&5 >+-echo "${ECHO_T}$ac_cv_lib_z_gzdopen" >&6; } >+-if test $ac_cv_lib_z_gzdopen = yes; then >++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_gzdopen" >&5 >++$as_echo "$ac_cv_lib_z_gzdopen" >&6; } >++if test "x$ac_cv_lib_z_gzdopen" = xyes; then : >+ cat >>confdefs.h <<_ACEOF >+ #define HAVE_LIBZ 1 >+ _ACEOF >+@@ -14078,158 +7176,30 @@ fi >+ >+ fi >+ else >+- { echo "$as_me:$LINENO: result: no" >&5 >+-echo "${ECHO_T}no" >&6; } >++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 >++$as_echo "no" >&6; } >+ fi >+ >+ >+ >+ # Check whether --with-bzlib was given. >+-if test "${with_bzlib+set}" = set; then >++if test "${with_bzlib+set}" = set; then : >+ withval=$with_bzlib; if test "$withval" = no; then disable_bzlib=yes; fi >+ fi >+ >+-{ echo "$as_me:$LINENO: checking for bzlib support" >&5 >+-echo $ECHO_N "checking for bzlib support... $ECHO_C" >&6; } >++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for bzlib support" >&5 >++$as_echo_n "checking for bzlib support... " >&6; } >+ >+ if test -z "$disable_bzlib"; then >+ # Note that we won't define HAVE_LIBBZ2, altough we will define >+ # HAVE_LIBZ. That's combination of autoconf's weirdness, my laziness >+ # and lack of need for such a thing. Always use HAVE_BZLIB_H. --pasky >+- >+-for ac_header in bzlib.h >+-do >+-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- { echo "$as_me:$LINENO: checking for $ac_header" >&5 >+-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-fi >+-ac_res=`eval echo '${'$as_ac_Header'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+-else >+- # Is the header compilable? >+-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 >+-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-$ac_includes_default >+-#include <$ac_header> >+-_ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >+- ac_header_compiler=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_header_compiler=no >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 >+-echo "${ECHO_T}$ac_header_compiler" >&6; } >+- >+-# Is the header present? >+-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 >+-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-#include <$ac_header> >+-_ACEOF >+-if { (ac_try="$ac_cpp conftest.$ac_ext" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } >/dev/null && { >+- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || >+- test ! -s conftest.err >+- }; then >+- ac_header_preproc=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_header_preproc=no >+-fi >+- >+-rm -f conftest.err conftest.$ac_ext >+-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 >+-echo "${ECHO_T}$ac_header_preproc" >&6; } >+- >+-# So? What about this header? >+-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in >+- yes:no: ) >+- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 >+-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 >+-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} >+- ac_header_preproc=yes >+- ;; >+- no:yes:* ) >+- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 >+-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 >+-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 >+-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 >+-echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 >+-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 >+-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} >+- >+- ;; >+-esac >+-{ echo "$as_me:$LINENO: checking for $ac_header" >&5 >+-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-else >+- eval "$as_ac_Header=\$ac_header_preproc" >+-fi >+-ac_res=`eval echo '${'$as_ac_Header'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+- >+-fi >+-if test `eval echo '${'$as_ac_Header'}'` = yes; then >++ for ac_header in bzlib.h >++do : >++ ac_fn_c_check_header_mongrel "$LINENO" "bzlib.h" "ac_cv_header_bzlib_h" "$ac_includes_default" >++if test "x$ac_cv_header_bzlib_h" = xyes; then : >+ cat >>confdefs.h <<_ACEOF >+-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 >++#define HAVE_BZLIB_H 1 >+ _ACEOF >+ cf_result=yes >+ else >+@@ -14239,19 +7209,14 @@ fi >+ done >+ >+ if test "$cf_result" = yes; then >+- >+-{ echo "$as_me:$LINENO: checking for BZ2_bzReadOpen in -lbz2" >&5 >+-echo $ECHO_N "checking for BZ2_bzReadOpen in -lbz2... $ECHO_C" >&6; } >+-if test "${ac_cv_lib_bz2_BZ2_bzReadOpen+set}" = set; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BZ2_bzReadOpen in -lbz2" >&5 >++$as_echo_n "checking for BZ2_bzReadOpen in -lbz2... " >&6; } >++if ${ac_cv_lib_bz2_BZ2_bzReadOpen+:} false; then : >++ $as_echo_n "(cached) " >&6 >+ else >+ ac_check_lib_save_LIBS=$LIBS >+ LIBS="-lbz2 $LIBS" >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >++cat confdefs.h - <<_ACEOF >conftest.$ac_ext >+ /* end confdefs.h. */ >+ >+ /* Override any GCC internal prototype to avoid an error. >+@@ -14269,39 +7234,18 @@ return BZ2_bzReadOpen (); >+ return 0; >+ } >+ _ACEOF >+-rm -f conftest.$ac_objext conftest$ac_exeext >+-if { (ac_try="$ac_link" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_link") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest$ac_exeext && >+- $as_test_x conftest$ac_exeext; then >++if ac_fn_c_try_link "$LINENO"; then : >+ ac_cv_lib_bz2_BZ2_bzReadOpen=yes >+ else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_cv_lib_bz2_BZ2_bzReadOpen=no >++ ac_cv_lib_bz2_BZ2_bzReadOpen=no >+ fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ >+- conftest$ac_exeext conftest.$ac_ext >++rm -f core conftest.err conftest.$ac_objext \ >++ conftest$ac_exeext conftest.$ac_ext >+ LIBS=$ac_check_lib_save_LIBS >+ fi >+-{ echo "$as_me:$LINENO: result: $ac_cv_lib_bz2_BZ2_bzReadOpen" >&5 >+-echo "${ECHO_T}$ac_cv_lib_bz2_BZ2_bzReadOpen" >&6; } >+-if test $ac_cv_lib_bz2_BZ2_bzReadOpen = yes; then >++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bz2_BZ2_bzReadOpen" >&5 >++$as_echo "$ac_cv_lib_bz2_BZ2_bzReadOpen" >&6; } >++if test "x$ac_cv_lib_bz2_BZ2_bzReadOpen" = xyes; then : >+ cat >>confdefs.h <<_ACEOF >+ #define HAVE_LIBBZ2 1 >+ _ACEOF >+@@ -14312,25 +7256,20 @@ fi >+ >+ fi >+ else >+- { echo "$as_me:$LINENO: result: no" >&5 >+-echo "${ECHO_T}no" >&6; } >++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 >++$as_echo "no" >&6; } >+ fi >+ >+ >+ >+- >+-{ echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 >+-echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; } >+-if test "${ac_cv_lib_dl_dlopen+set}" = set; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 >++$as_echo_n "checking for dlopen in -ldl... " >&6; } >++if ${ac_cv_lib_dl_dlopen+:} false; then : >++ $as_echo_n "(cached) " >&6 >+ else >+ ac_check_lib_save_LIBS=$LIBS >+ LIBS="-ldl $LIBS" >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >++cat confdefs.h - <<_ACEOF >conftest.$ac_ext >+ /* end confdefs.h. */ >+ >+ /* Override any GCC internal prototype to avoid an error. >+@@ -14348,39 +7287,18 @@ return dlopen (); >+ return 0; >+ } >+ _ACEOF >+-rm -f conftest.$ac_objext conftest$ac_exeext >+-if { (ac_try="$ac_link" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_link") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest$ac_exeext && >+- $as_test_x conftest$ac_exeext; then >++if ac_fn_c_try_link "$LINENO"; then : >+ ac_cv_lib_dl_dlopen=yes >+ else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_cv_lib_dl_dlopen=no >++ ac_cv_lib_dl_dlopen=no >+ fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ >+- conftest$ac_exeext conftest.$ac_ext >++rm -f core conftest.err conftest.$ac_objext \ >++ conftest$ac_exeext conftest.$ac_ext >+ LIBS=$ac_check_lib_save_LIBS >+ fi >+-{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 >+-echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; } >+-if test $ac_cv_lib_dl_dlopen = yes; then >++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 >++$as_echo "$ac_cv_lib_dl_dlopen" >&6; } >++if test "x$ac_cv_lib_dl_dlopen" = xyes; then : >+ cat >>confdefs.h <<_ACEOF >+ #define HAVE_LIBDL 1 >+ _ACEOF >+@@ -14393,12 +7311,12 @@ fi >+ #ifdef HAVE_SSL >+ >+ # Check whether --with-ssl was given. >+-if test "${with_ssl+set}" = set; then >++if test "${with_ssl+set}" = set; then : >+ withval=$with_ssl; if test "$withval" = no; then disable_ssl=yes; else ssld="$withval"; fi >+ fi >+ >+-{ echo "$as_me:$LINENO: checking for OpenSSL" >&5 >+-echo $ECHO_N "checking for OpenSSL... $ECHO_C" >&6; } >++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL" >&5 >++$as_echo_n "checking for OpenSSL... " >&6; } >+ CPPFLAGS_X="$CPPFLAGS" >+ LIBS_X="$LIBS" >+ cf_result=no >+@@ -14411,11 +7329,7 @@ if test -z "$disable_ssl"; then >+ else >+ LIBS="-lssl -lcrypto $LIBS_X" >+ fi >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext >+ /* end confdefs.h. */ >+ #include <openssl/ssl.h> >+ int >+@@ -14426,40 +7340,15 @@ OpenSSL_add_all_algorithms() >+ return 0; >+ } >+ _ACEOF >+-rm -f conftest.$ac_objext conftest$ac_exeext >+-if { (ac_try="$ac_link" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_link") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest$ac_exeext && >+- $as_test_x conftest$ac_exeext; then >++if ac_fn_c_try_link "$LINENO"; then : >+ cf_result=yes >+ else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- cf_result=no >++ cf_result=no >+ fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ >+- conftest$ac_exeext conftest.$ac_ext >++rm -f core conftest.err conftest.$ac_objext \ >++ conftest$ac_exeext conftest.$ac_ext >+ if test "$cf_result" != yes; then >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext >+ /* end confdefs.h. */ >+ #include <openssl/ssl.h> >+ int >+@@ -14470,81 +7359,93 @@ SSLeay_add_ssl_algorithms() >+ return 0; >+ } >+ _ACEOF >+-rm -f conftest.$ac_objext conftest$ac_exeext >+-if { (ac_try="$ac_link" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_link") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest$ac_exeext && >+- $as_test_x conftest$ac_exeext; then >++if ac_fn_c_try_link "$LINENO"; then : >+ cf_result=yes >+ else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- cf_result=no >++ cf_result=no >+ fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ >+- conftest$ac_exeext conftest.$ac_ext >++rm -f core conftest.err conftest.$ac_objext \ >++ conftest$ac_exeext conftest.$ac_ext >+ fi >+ fi >+ done >+ >+ if test "$cf_result" != yes; then >+ if test "$withval" = yes; then >+- { { echo "$as_me:$LINENO: error: \"OpenSSL not found\"" >&5 >+-echo "$as_me: error: \"OpenSSL not found\"" >&2;} >+- { (exit 1); exit 1; }; } >++ as_fn_error $? "\"OpenSSL not found\"" "$LINENO" 5 >+ fi >+ CPPFLAGS="$CPPFLAGS_X" >+ LIBS="$LIBS_X" >+ else >+- cat >>confdefs.h <<\_ACEOF >+-#define HAVE_SSL 1 >+-_ACEOF >++ $as_echo "#define HAVE_SSL 1" >>confdefs.h >+ >+ fi >+ fi >+-{ echo "$as_me:$LINENO: result: $cf_result" >&5 >+-echo "${ECHO_T}$cf_result" >&6; } >++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_result" >&5 >++$as_echo "$cf_result" >&6; } >+ cf_have_ssl=$cf_result; >++ >++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for RAND_egd in -lcrypto" >&5 >++$as_echo_n "checking for RAND_egd in -lcrypto... " >&6; } >++if ${ac_cv_lib_crypto_RAND_egd+:} false; then : >++ $as_echo_n "(cached) " >&6 >++else >++ ac_check_lib_save_LIBS=$LIBS >++LIBS="-lcrypto $LIBS" >++cat confdefs.h - <<_ACEOF >conftest.$ac_ext >++/* end confdefs.h. */ >++ >++/* Override any GCC internal prototype to avoid an error. >++ Use char because int might match the return type of a GCC >++ builtin and then its argument prototype would still apply. */ >++#ifdef __cplusplus >++extern "C" >++#endif >++char RAND_egd (); >++int >++main () >++{ >++return RAND_egd (); >++ ; >++ return 0; >++} >++_ACEOF >++if ac_fn_c_try_link "$LINENO"; then : >++ ac_cv_lib_crypto_RAND_egd=yes >++else >++ ac_cv_lib_crypto_RAND_egd=no >++fi >++rm -f core conftest.err conftest.$ac_objext \ >++ conftest$ac_exeext conftest.$ac_ext >++LIBS=$ac_check_lib_save_LIBS >++fi >++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RAND_egd" >&5 >++$as_echo "$ac_cv_lib_crypto_RAND_egd" >&6; } >++if test "x$ac_cv_lib_crypto_RAND_egd" = xyes; then : >++ >++$as_echo "#define HAVE_RAND_EGD 1" >>confdefs.h >++ >++fi >++ >++ >+ #endif >+ >+ cf_have_atheos=no >+ >+ if test "$cf_use_graphics" = yes; then >+- cat >>confdefs.h <<\_ACEOF >+-#define G 1 >+-_ACEOF >++ $as_echo "#define G 1" >>confdefs.h >+ >+ >+ CPPFLAGS="$CPPFLAGS -I/usr/local/include" >+ LDFLAGS="$LDFLAGS -L/usr/local/lib" >+- >+-{ echo "$as_me:$LINENO: checking for inflate in -lz" >&5 >+-echo $ECHO_N "checking for inflate in -lz... $ECHO_C" >&6; } >+-if test "${ac_cv_lib_z_inflate+set}" = set; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5 >++$as_echo_n "checking for inflate in -lz... " >&6; } >++if ${ac_cv_lib_z_inflate+:} false; then : >++ $as_echo_n "(cached) " >&6 >+ else >+ ac_check_lib_save_LIBS=$LIBS >+ LIBS="-lz $LIBS" >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >++cat confdefs.h - <<_ACEOF >conftest.$ac_ext >+ /* end confdefs.h. */ >+ >+ /* Override any GCC internal prototype to avoid an error. >+@@ -14562,39 +7463,18 @@ return inflate (); >+ return 0; >+ } >+ _ACEOF >+-rm -f conftest.$ac_objext conftest$ac_exeext >+-if { (ac_try="$ac_link" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_link") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest$ac_exeext && >+- $as_test_x conftest$ac_exeext; then >++if ac_fn_c_try_link "$LINENO"; then : >+ ac_cv_lib_z_inflate=yes >+ else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_cv_lib_z_inflate=no >++ ac_cv_lib_z_inflate=no >+ fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ >+- conftest$ac_exeext conftest.$ac_ext >++rm -f core conftest.err conftest.$ac_objext \ >++ conftest$ac_exeext conftest.$ac_ext >+ LIBS=$ac_check_lib_save_LIBS >+ fi >+-{ echo "$as_me:$LINENO: result: $ac_cv_lib_z_inflate" >&5 >+-echo "${ECHO_T}$ac_cv_lib_z_inflate" >&6; } >+-if test $ac_cv_lib_z_inflate = yes; then >++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5 >++$as_echo "$ac_cv_lib_z_inflate" >&6; } >++if test "x$ac_cv_lib_z_inflate" = xyes; then : >+ cat >>confdefs.h <<_ACEOF >+ #define HAVE_LIBZ 1 >+ _ACEOF >+@@ -14603,160 +7483,27 @@ _ACEOF >+ >+ fi >+ >+- >+- >+-for ac_header in png.h libpng/png.h >+-do >+-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- { echo "$as_me:$LINENO: checking for $ac_header" >&5 >+-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-fi >+-ac_res=`eval echo '${'$as_ac_Header'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+-else >+- # Is the header compilable? >+-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 >+-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-$ac_includes_default >+-#include <$ac_header> >+-_ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >+- ac_header_compiler=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_header_compiler=no >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 >+-echo "${ECHO_T}$ac_header_compiler" >&6; } >+- >+-# Is the header present? >+-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 >+-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-#include <$ac_header> >+-_ACEOF >+-if { (ac_try="$ac_cpp conftest.$ac_ext" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } >/dev/null && { >+- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || >+- test ! -s conftest.err >+- }; then >+- ac_header_preproc=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_header_preproc=no >+-fi >+- >+-rm -f conftest.err conftest.$ac_ext >+-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 >+-echo "${ECHO_T}$ac_header_preproc" >&6; } >+- >+-# So? What about this header? >+-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in >+- yes:no: ) >+- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 >+-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 >+-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} >+- ac_header_preproc=yes >+- ;; >+- no:yes:* ) >+- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 >+-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 >+-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 >+-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 >+-echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 >+-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 >+-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} >+- >+- ;; >+-esac >+-{ echo "$as_me:$LINENO: checking for $ac_header" >&5 >+-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-else >+- eval "$as_ac_Header=\$ac_header_preproc" >+-fi >+-ac_res=`eval echo '${'$as_ac_Header'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+- >+-fi >+-if test `eval echo '${'$as_ac_Header'}'` = yes; then >++ for ac_header in png.h libpng/png.h >++do : >++ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` >++ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" >++if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : >+ cat >>confdefs.h <<_ACEOF >+-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 >++#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 >+ _ACEOF >+ >+ fi >+ >+ done >+ >+- >+-{ echo "$as_me:$LINENO: checking for png_create_info_struct in -lpng" >&5 >+-echo $ECHO_N "checking for png_create_info_struct in -lpng... $ECHO_C" >&6; } >+-if test "${ac_cv_lib_png_png_create_info_struct+set}" = set; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_create_info_struct in -lpng" >&5 >++$as_echo_n "checking for png_create_info_struct in -lpng... " >&6; } >++if ${ac_cv_lib_png_png_create_info_struct+:} false; then : >++ $as_echo_n "(cached) " >&6 >+ else >+ ac_check_lib_save_LIBS=$LIBS >+ LIBS="-lpng $LIBS" >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >++cat confdefs.h - <<_ACEOF >conftest.$ac_ext >+ /* end confdefs.h. */ >+ >+ /* Override any GCC internal prototype to avoid an error. >+@@ -14774,39 +7521,18 @@ return png_create_info_struct (); >+ return 0; >+ } >+ _ACEOF >+-rm -f conftest.$ac_objext conftest$ac_exeext >+-if { (ac_try="$ac_link" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_link") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest$ac_exeext && >+- $as_test_x conftest$ac_exeext; then >++if ac_fn_c_try_link "$LINENO"; then : >+ ac_cv_lib_png_png_create_info_struct=yes >+ else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_cv_lib_png_png_create_info_struct=no >++ ac_cv_lib_png_png_create_info_struct=no >+ fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ >+- conftest$ac_exeext conftest.$ac_ext >++rm -f core conftest.err conftest.$ac_objext \ >++ conftest$ac_exeext conftest.$ac_ext >+ LIBS=$ac_check_lib_save_LIBS >+ fi >+-{ echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_create_info_struct" >&5 >+-echo "${ECHO_T}$ac_cv_lib_png_png_create_info_struct" >&6; } >+-if test $ac_cv_lib_png_png_create_info_struct = yes; then >++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_create_info_struct" >&5 >++$as_echo "$ac_cv_lib_png_png_create_info_struct" >&6; } >++if test "x$ac_cv_lib_png_png_create_info_struct" = xyes; then : >+ cat >>confdefs.h <<_ACEOF >+ #define HAVE_LIBPNG 1 >+ _ACEOF >+@@ -14816,116 +7542,27 @@ _ACEOF >+ fi >+ >+ if test "$ac_cv_header_png_h" != yes && test "ac_cv_header_libpng_png_h" != yes || test "$ac_cv_lib_png_png_create_info_struct" != yes; then >+- { { echo "$as_me:$LINENO: error: You need libpng to compile Links in graphics mode" >&5 >+-echo "$as_me: error: You need libpng to compile Links in graphics mode" >&2;} >+- { (exit 1); exit 1; }; } >++ as_fn_error $? "You need libpng to compile Links in graphics mode" "$LINENO" 5 >+ fi >+ >+- >+-for ac_func in png_set_rgb_to_gray >+-do >+-as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` >+-{ echo "$as_me:$LINENO: checking for $ac_func" >&5 >+-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } >+-if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-else >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. >+- For example, HP-UX 11i <limits.h> declares gettimeofday. */ >+-#define $ac_func innocuous_$ac_func >+- >+-/* System header to define __stub macros and hopefully few prototypes, >+- which can conflict with char $ac_func (); below. >+- Prefer <limits.h> to <assert.h> if __STDC__ is defined, since >+- <limits.h> exists even on freestanding compilers. */ >+- >+-#ifdef __STDC__ >+-# include <limits.h> >+-#else >+-# include <assert.h> >+-#endif >+- >+-#undef $ac_func >+- >+-/* Override any GCC internal prototype to avoid an error. >+- Use char because int might match the return type of a GCC >+- builtin and then its argument prototype would still apply. */ >+-#ifdef __cplusplus >+-extern "C" >+-#endif >+-char $ac_func (); >+-/* The GNU C library defines this for functions which it implements >+- to always fail with ENOSYS. Some functions are actually named >+- something starting with __ and the normal name is an alias. */ >+-#if defined __stub_$ac_func || defined __stub___$ac_func >+-choke me >+-#endif >+- >+-int >+-main () >+-{ >+-return $ac_func (); >+- ; >+- return 0; >+-} >+-_ACEOF >+-rm -f conftest.$ac_objext conftest$ac_exeext >+-if { (ac_try="$ac_link" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_link") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest$ac_exeext && >+- $as_test_x conftest$ac_exeext; then >+- eval "$as_ac_var=yes" >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- eval "$as_ac_var=no" >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ >+- conftest$ac_exeext conftest.$ac_ext >+-fi >+-ac_res=`eval echo '${'$as_ac_var'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+-if test `eval echo '${'$as_ac_var'}'` = yes; then >++ for ac_func in png_set_rgb_to_gray >++do : >++ ac_fn_c_check_func "$LINENO" "png_set_rgb_to_gray" "ac_cv_func_png_set_rgb_to_gray" >++if test "x$ac_cv_func_png_set_rgb_to_gray" = xyes; then : >+ cat >>confdefs.h <<_ACEOF >+-#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 >++#define HAVE_PNG_SET_RGB_TO_GRAY 1 >+ _ACEOF >+ >+ fi >+ done >+ >+ >+- { echo "$as_me:$LINENO: checking if you can include both setjmp.h and png.h" >&5 >+-echo $ECHO_N "checking if you can include both setjmp.h and png.h... $ECHO_C" >&6; } >+-if test "${ac_cv_include_setjmp_png+set}" = set; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if you can include both setjmp.h and png.h" >&5 >++$as_echo_n "checking if you can include both setjmp.h and png.h... " >&6; } >++if ${ac_cv_include_setjmp_png+:} false; then : >++ $as_echo_n "(cached) " >&6 >+ else >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext >+ /* end confdefs.h. */ >+ #include <setjmp.h> >+ #include <png.h> >+@@ -14937,205 +7574,50 @@ jmp_buf bla; >+ return 0; >+ } >+ _ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >++if ac_fn_c_try_compile "$LINENO"; then : >+ ac_cv_include_setjmp_png=yes >+ else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_cv_include_setjmp_png=no >++ ac_cv_include_setjmp_png=no >+ fi >+- >+ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+ >+ fi >+-{ echo "$as_me:$LINENO: result: $ac_cv_include_setjmp_png" >&5 >+-echo "${ECHO_T}$ac_cv_include_setjmp_png" >&6; } >++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_include_setjmp_png" >&5 >++$as_echo "$ac_cv_include_setjmp_png" >&6; } >+ >+ if test "$ac_cv_include_setjmp_png" != yes; then >+- cat >>confdefs.h <<\_ACEOF >+-#define DONT_INCLUDE_SETJMP 1 >+-_ACEOF >++ $as_echo "#define DONT_INCLUDE_SETJMP 1" >>confdefs.h >+ >+ fi >+ >+ >+ # Check whether --with-libjpeg was given. >+-if test "${with_libjpeg+set}" = set; then >++if test "${with_libjpeg+set}" = set; then : >+ withval=$with_libjpeg; if test "$withval" = no; then disable_jpeg=yes; else disable_jpeg=no; fi >+ fi >+ >+ cf_have_jpeg=no >+ if test "$disable_jpeg" != yes ; then >+- >+-for ac_header in jpeglib.h >+-do >+-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- { echo "$as_me:$LINENO: checking for $ac_header" >&5 >+-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-fi >+-ac_res=`eval echo '${'$as_ac_Header'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+-else >+- # Is the header compilable? >+-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 >+-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-$ac_includes_default >+-#include <$ac_header> >+-_ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >+- ac_header_compiler=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_header_compiler=no >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 >+-echo "${ECHO_T}$ac_header_compiler" >&6; } >+- >+-# Is the header present? >+-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 >+-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-#include <$ac_header> >+-_ACEOF >+-if { (ac_try="$ac_cpp conftest.$ac_ext" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } >/dev/null && { >+- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || >+- test ! -s conftest.err >+- }; then >+- ac_header_preproc=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_header_preproc=no >+-fi >+- >+-rm -f conftest.err conftest.$ac_ext >+-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 >+-echo "${ECHO_T}$ac_header_preproc" >&6; } >+- >+-# So? What about this header? >+-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in >+- yes:no: ) >+- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 >+-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 >+-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} >+- ac_header_preproc=yes >+- ;; >+- no:yes:* ) >+- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 >+-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 >+-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 >+-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 >+-echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 >+-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 >+-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} >+- >+- ;; >+-esac >+-{ echo "$as_me:$LINENO: checking for $ac_header" >&5 >+-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-else >+- eval "$as_ac_Header=\$ac_header_preproc" >+-fi >+-ac_res=`eval echo '${'$as_ac_Header'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+- >+-fi >+-if test `eval echo '${'$as_ac_Header'}'` = yes; then >++ for ac_header in jpeglib.h >++do : >++ ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default" >++if test "x$ac_cv_header_jpeglib_h" = xyes; then : >+ cat >>confdefs.h <<_ACEOF >+-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 >++#define HAVE_JPEGLIB_H 1 >+ _ACEOF >+ >+ fi >+ >+ done >+ >+- >+-{ echo "$as_me:$LINENO: checking for jpeg_destroy_decompress in -ljpeg" >&5 >+-echo $ECHO_N "checking for jpeg_destroy_decompress in -ljpeg... $ECHO_C" >&6; } >+-if test "${ac_cv_lib_jpeg_jpeg_destroy_decompress+set}" = set; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_destroy_decompress in -ljpeg" >&5 >++$as_echo_n "checking for jpeg_destroy_decompress in -ljpeg... " >&6; } >++if ${ac_cv_lib_jpeg_jpeg_destroy_decompress+:} false; then : >++ $as_echo_n "(cached) " >&6 >+ else >+ ac_check_lib_save_LIBS=$LIBS >+ LIBS="-ljpeg $LIBS" >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >++cat confdefs.h - <<_ACEOF >conftest.$ac_ext >+ /* end confdefs.h. */ >+ >+ /* Override any GCC internal prototype to avoid an error. >+@@ -15153,39 +7635,18 @@ return jpeg_destroy_decompress (); >+ return 0; >+ } >+ _ACEOF >+-rm -f conftest.$ac_objext conftest$ac_exeext >+-if { (ac_try="$ac_link" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_link") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest$ac_exeext && >+- $as_test_x conftest$ac_exeext; then >++if ac_fn_c_try_link "$LINENO"; then : >+ ac_cv_lib_jpeg_jpeg_destroy_decompress=yes >+ else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_cv_lib_jpeg_jpeg_destroy_decompress=no >++ ac_cv_lib_jpeg_jpeg_destroy_decompress=no >+ fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ >+- conftest$ac_exeext conftest.$ac_ext >++rm -f core conftest.err conftest.$ac_objext \ >++ conftest$ac_exeext conftest.$ac_ext >+ LIBS=$ac_check_lib_save_LIBS >+ fi >+-{ echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_destroy_decompress" >&5 >+-echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_destroy_decompress" >&6; } >+-if test $ac_cv_lib_jpeg_jpeg_destroy_decompress = yes; then >++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_destroy_decompress" >&5 >++$as_echo "$ac_cv_lib_jpeg_jpeg_destroy_decompress" >&6; } >++if test "x$ac_cv_lib_jpeg_jpeg_destroy_decompress" = xyes; then : >+ cat >>confdefs.h <<_ACEOF >+ #define HAVE_LIBJPEG 1 >+ _ACEOF >+@@ -15195,9 +7656,7 @@ _ACEOF >+ fi >+ >+ if test "$ac_cv_header_jpeglib_h" = yes && test "$ac_cv_lib_jpeg_jpeg_destroy_decompress" = yes; then >+- cat >>confdefs.h <<\_ACEOF >+-#define HAVE_JPEG 1 >+-_ACEOF >++ $as_echo "#define HAVE_JPEG 1" >>confdefs.h >+ >+ cf_have_jpeg=yes >+ image_formats="$image_formats JPEG" >+@@ -15206,165 +7665,32 @@ fi >+ >+ >+ # Check whether --with-libtiff was given. >+-if test "${with_libtiff+set}" = set; then >++if test "${with_libtiff+set}" = set; then : >+ withval=$with_libtiff; if test "$withval" = no; then disable_tiff=yes; else disable_tiff=no; fi >+ fi >+ >+ cf_have_tiff=no >+ if test "$disable_tiff" != yes ; then >+- >+-for ac_header in tiffio.h >+-do >+-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- { echo "$as_me:$LINENO: checking for $ac_header" >&5 >+-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-fi >+-ac_res=`eval echo '${'$as_ac_Header'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+-else >+- # Is the header compilable? >+-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 >+-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-$ac_includes_default >+-#include <$ac_header> >+-_ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >+- ac_header_compiler=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_header_compiler=no >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 >+-echo "${ECHO_T}$ac_header_compiler" >&6; } >+- >+-# Is the header present? >+-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 >+-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-#include <$ac_header> >+-_ACEOF >+-if { (ac_try="$ac_cpp conftest.$ac_ext" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } >/dev/null && { >+- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || >+- test ! -s conftest.err >+- }; then >+- ac_header_preproc=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_header_preproc=no >+-fi >+- >+-rm -f conftest.err conftest.$ac_ext >+-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 >+-echo "${ECHO_T}$ac_header_preproc" >&6; } >+- >+-# So? What about this header? >+-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in >+- yes:no: ) >+- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 >+-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 >+-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} >+- ac_header_preproc=yes >+- ;; >+- no:yes:* ) >+- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 >+-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 >+-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 >+-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 >+-echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 >+-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 >+-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} >+- >+- ;; >+-esac >+-{ echo "$as_me:$LINENO: checking for $ac_header" >&5 >+-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-else >+- eval "$as_ac_Header=\$ac_header_preproc" >+-fi >+-ac_res=`eval echo '${'$as_ac_Header'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+- >+-fi >+-if test `eval echo '${'$as_ac_Header'}'` = yes; then >++ for ac_header in tiffio.h >++do : >++ ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default" >++if test "x$ac_cv_header_tiffio_h" = xyes; then : >+ cat >>confdefs.h <<_ACEOF >+-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 >++#define HAVE_TIFFIO_H 1 >+ _ACEOF >+ >+ fi >+ >+ done >+ >+- >+-{ echo "$as_me:$LINENO: checking for TIFFOpen in -ltiff" >&5 >+-echo $ECHO_N "checking for TIFFOpen in -ltiff... $ECHO_C" >&6; } >+-if test "${ac_cv_lib_tiff_TIFFOpen+set}" = set; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFOpen in -ltiff" >&5 >++$as_echo_n "checking for TIFFOpen in -ltiff... " >&6; } >++if ${ac_cv_lib_tiff_TIFFOpen+:} false; then : >++ $as_echo_n "(cached) " >&6 >+ else >+ ac_check_lib_save_LIBS=$LIBS >+ LIBS="-ltiff $LIBS" >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >++cat confdefs.h - <<_ACEOF >conftest.$ac_ext >+ /* end confdefs.h. */ >+ >+ /* Override any GCC internal prototype to avoid an error. >+@@ -15382,39 +7708,18 @@ return TIFFOpen (); >+ return 0; >+ } >+ _ACEOF >+-rm -f conftest.$ac_objext conftest$ac_exeext >+-if { (ac_try="$ac_link" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_link") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest$ac_exeext && >+- $as_test_x conftest$ac_exeext; then >++if ac_fn_c_try_link "$LINENO"; then : >+ ac_cv_lib_tiff_TIFFOpen=yes >+ else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_cv_lib_tiff_TIFFOpen=no >++ ac_cv_lib_tiff_TIFFOpen=no >+ fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ >+- conftest$ac_exeext conftest.$ac_ext >++rm -f core conftest.err conftest.$ac_objext \ >++ conftest$ac_exeext conftest.$ac_ext >+ LIBS=$ac_check_lib_save_LIBS >+ fi >+-{ echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFOpen" >&5 >+-echo "${ECHO_T}$ac_cv_lib_tiff_TIFFOpen" >&6; } >+-if test $ac_cv_lib_tiff_TIFFOpen = yes; then >++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFOpen" >&5 >++$as_echo "$ac_cv_lib_tiff_TIFFOpen" >&6; } >++if test "x$ac_cv_lib_tiff_TIFFOpen" = xyes; then : >+ cat >>confdefs.h <<_ACEOF >+ #define HAVE_LIBTIFF 1 >+ _ACEOF >+@@ -15424,9 +7729,7 @@ _ACEOF >+ fi >+ >+ if test "$ac_cv_header_tiffio_h" = yes && test "$ac_cv_lib_tiff_TIFFOpen" = yes; then >+- cat >>confdefs.h <<\_ACEOF >+-#define HAVE_TIFF 1 >+-_ACEOF >++ $as_echo "#define HAVE_TIFF 1" >>confdefs.h >+ >+ cf_have_tiff=yes >+ image_formats="$image_formats TIFF" >+@@ -15435,165 +7738,32 @@ fi >+ >+ >+ # Check whether --with-libgd was given. >+-if test "${with_libgd+set}" = set; then >++if test "${with_libgd+set}" = set; then : >+ withval=$with_libgd; if test "$withval" = no; then disable_libgd=yes; else disable_libgd=no; fi >+ fi >+ >+ cb_have_libgd=no >+ if test "$disable_libgd" != yes ; then >+- >+-for ac_header in gd.h >+-do >+-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- { echo "$as_me:$LINENO: checking for $ac_header" >&5 >+-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-fi >+-ac_res=`eval echo '${'$as_ac_Header'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+-else >+- # Is the header compilable? >+-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 >+-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-$ac_includes_default >+-#include <$ac_header> >+-_ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >+- ac_header_compiler=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_header_compiler=no >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 >+-echo "${ECHO_T}$ac_header_compiler" >&6; } >+- >+-# Is the header present? >+-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 >+-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-#include <$ac_header> >+-_ACEOF >+-if { (ac_try="$ac_cpp conftest.$ac_ext" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } >/dev/null && { >+- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || >+- test ! -s conftest.err >+- }; then >+- ac_header_preproc=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_header_preproc=no >+-fi >+- >+-rm -f conftest.err conftest.$ac_ext >+-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 >+-echo "${ECHO_T}$ac_header_preproc" >&6; } >+- >+-# So? What about this header? >+-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in >+- yes:no: ) >+- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 >+-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 >+-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} >+- ac_header_preproc=yes >+- ;; >+- no:yes:* ) >+- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 >+-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 >+-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 >+-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 >+-echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 >+-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 >+-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} >+- >+- ;; >+-esac >+-{ echo "$as_me:$LINENO: checking for $ac_header" >&5 >+-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-else >+- eval "$as_ac_Header=\$ac_header_preproc" >+-fi >+-ac_res=`eval echo '${'$as_ac_Header'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+- >+-fi >+-if test `eval echo '${'$as_ac_Header'}'` = yes; then >++ for ac_header in gd.h >++do : >++ ac_fn_c_check_header_mongrel "$LINENO" "gd.h" "ac_cv_header_gd_h" "$ac_includes_default" >++if test "x$ac_cv_header_gd_h" = xyes; then : >+ cat >>confdefs.h <<_ACEOF >+-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 >++#define HAVE_GD_H 1 >+ _ACEOF >+ >+ fi >+ >+ done >+ >+- >+-{ echo "$as_me:$LINENO: checking for gdImagePng in -lgd" >&5 >+-echo $ECHO_N "checking for gdImagePng in -lgd... $ECHO_C" >&6; } >+-if test "${ac_cv_lib_gd_gdImagePng+set}" = set; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdImagePng in -lgd" >&5 >++$as_echo_n "checking for gdImagePng in -lgd... " >&6; } >++if ${ac_cv_lib_gd_gdImagePng+:} false; then : >++ $as_echo_n "(cached) " >&6 >+ else >+ ac_check_lib_save_LIBS=$LIBS >+ LIBS="-lgd $LIBS" >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >++cat confdefs.h - <<_ACEOF >conftest.$ac_ext >+ /* end confdefs.h. */ >+ >+ /* Override any GCC internal prototype to avoid an error. >+@@ -15611,39 +7781,18 @@ return gdImagePng (); >+ return 0; >+ } >+ _ACEOF >+-rm -f conftest.$ac_objext conftest$ac_exeext >+-if { (ac_try="$ac_link" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_link") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest$ac_exeext && >+- $as_test_x conftest$ac_exeext; then >++if ac_fn_c_try_link "$LINENO"; then : >+ ac_cv_lib_gd_gdImagePng=yes >+ else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_cv_lib_gd_gdImagePng=no >++ ac_cv_lib_gd_gdImagePng=no >+ fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ >+- conftest$ac_exeext conftest.$ac_ext >++rm -f core conftest.err conftest.$ac_objext \ >++ conftest$ac_exeext conftest.$ac_ext >+ LIBS=$ac_check_lib_save_LIBS >+ fi >+-{ echo "$as_me:$LINENO: result: $ac_cv_lib_gd_gdImagePng" >&5 >+-echo "${ECHO_T}$ac_cv_lib_gd_gdImagePng" >&6; } >+-if test $ac_cv_lib_gd_gdImagePng = yes; then >++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gd_gdImagePng" >&5 >++$as_echo "$ac_cv_lib_gd_gdImagePng" >&6; } >++if test "x$ac_cv_lib_gd_gdImagePng" = xyes; then : >+ cat >>confdefs.h <<_ACEOF >+ #define HAVE_LIBGD 1 >+ _ACEOF >+@@ -15659,49 +7808,49 @@ fi >+ >+ >+ # Check whether --with-svgalib was given. >+-if test "${with_svgalib+set}" = set; then >++if test "${with_svgalib+set}" = set; then : >+ withval=$with_svgalib; if test "$withval" = no; then disable_svgalib=yes; else disable_svgalib=no; fi >+ fi >+ >+ >+ # Check whether --with-x was given. >+-if test "${with_x+set}" = set; then >++if test "${with_x+set}" = set; then : >+ withval=$with_x; if test "$withval" = no; then disable_x=yes; else disable_x=no; fi >+ fi >+ >+ >+ # Check whether --with-joyfb was given. >+-if test "${with_joyfb+set}" = set; then >++if test "${with_joyfb+set}" = set; then : >+ withval=$with_joyfb; if test "$withval" = no; then disable_freamcast=yes; else disable_dreamcast=no; fi >+ fi >+ >+ >+ # Check whether --with-fb was given. >+-if test "${with_fb+set}" = set; then >++if test "${with_fb+set}" = set; then : >+ withval=$with_fb; if test "$withval" = no; then disable_fb=yes; else disable_fb=no; fi >+ fi >+ >+ >+ # Check whether --with-directfb was given. >+-if test "${with_directfb+set}" = set; then >++if test "${with_directfb+set}" = set; then : >+ withval=$with_directfb; if test "$withval" = no; then disable_directfb=yes; else disable_directfb=no; fi >+ fi >+ >+ >+ # Check whether --with-pmshell was given. >+-if test "${with_pmshell+set}" = set; then >++if test "${with_pmshell+set}" = set; then : >+ withval=$with_pmshell; if test "$withval" = no; then disable_pmshell=yes; else disable_pmshell=no; fi >+ fi >+ >+ >+ # Check whether --with-atheos was given. >+-if test "${with_atheos+set}" = set; then >++if test "${with_atheos+set}" = set; then : >+ withval=$with_atheos; if test "$withval" = no; then disable_atheos=yes; else disable_atheos; fi >+ fi >+ >+ >+ # Check whether --with-freetype was given. >+-if test "${with_freetype+set}" = set; then >++if test "${with_freetype+set}" = set; then : >+ withval=$with_freetype; if test "$withval" = no; then disable_freetype=yes; else disable_freetype; fi >+ fi >+ >+@@ -15709,18 +7858,14 @@ fi >+ drivers="" >+ >+ if test "$disable_svgalib" != yes ; then >+- { echo "$as_me:$LINENO: checking for svgalib" >&5 >+-echo $ECHO_N "checking for svgalib... $ECHO_C" >&6; } >+-if test "${ac_cv_have_svgalib+set}" = set; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for svgalib" >&5 >++$as_echo_n "checking for svgalib... " >&6; } >++if ${ac_cv_have_svgalib+:} false; then : >++ $as_echo_n "(cached) " >&6 >+ else >+ LIBS_X="$LIBS" >+ LIBS="$LIBS -lvga" >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext >+ /* end confdefs.h. */ >+ #include <vga.h> >+ int >+@@ -15731,44 +7876,21 @@ vga_setmode(0) >+ return 0; >+ } >+ _ACEOF >+-rm -f conftest.$ac_objext conftest$ac_exeext >+-if { (ac_try="$ac_link" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_link") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest$ac_exeext && >+- $as_test_x conftest$ac_exeext; then >++if ac_fn_c_try_link "$LINENO"; then : >+ ac_cv_have_svgalib=yes >+ else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_cv_have_svgalib=no >++ ac_cv_have_svgalib=no >+ fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ >+- conftest$ac_exeext conftest.$ac_ext >++rm -f core conftest.err conftest.$ac_objext \ >++ conftest$ac_exeext conftest.$ac_ext >+ LIBS="$LIBS_X" >+ >+ fi >+-{ echo "$as_me:$LINENO: result: $ac_cv_have_svgalib" >&5 >+-echo "${ECHO_T}$ac_cv_have_svgalib" >&6; } >++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_svgalib" >&5 >++$as_echo "$ac_cv_have_svgalib" >&6; } >+ >+ if test "$ac_cv_have_svgalib" = yes; then >+- cat >>confdefs.h <<\_ACEOF >+-#define GRDRV_SVGALIB 1 >+-_ACEOF >++ $as_echo "#define GRDRV_SVGALIB 1" >>confdefs.h >+ >+ LIBS="$LIBS -lvga" >+ drivers="$drivers SVGALIB" >+@@ -15777,700 +7899,60 @@ fi >+ >+ >+ if test "$disable_dreamcast" != yes ; then >+- >+-for ac_header in linux/fb.h >+-do >+-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- { echo "$as_me:$LINENO: checking for $ac_header" >&5 >+-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-fi >+-ac_res=`eval echo '${'$as_ac_Header'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+-else >+- # Is the header compilable? >+-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 >+-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-$ac_includes_default >+-#include <$ac_header> >+-_ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >+- ac_header_compiler=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_header_compiler=no >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 >+-echo "${ECHO_T}$ac_header_compiler" >&6; } >+- >+-# Is the header present? >+-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 >+-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-#include <$ac_header> >+-_ACEOF >+-if { (ac_try="$ac_cpp conftest.$ac_ext" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } >/dev/null && { >+- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || >+- test ! -s conftest.err >+- }; then >+- ac_header_preproc=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_header_preproc=no >+-fi >+- >+-rm -f conftest.err conftest.$ac_ext >+-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 >+-echo "${ECHO_T}$ac_header_preproc" >&6; } >+- >+-# So? What about this header? >+-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in >+- yes:no: ) >+- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 >+-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 >+-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} >+- ac_header_preproc=yes >+- ;; >+- no:yes:* ) >+- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 >+-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 >+-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 >+-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 >+-echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 >+-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 >+-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} >+- >+- ;; >+-esac >+-{ echo "$as_me:$LINENO: checking for $ac_header" >&5 >+-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-else >+- eval "$as_ac_Header=\$ac_header_preproc" >+-fi >+-ac_res=`eval echo '${'$as_ac_Header'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+- >+-fi >+-if test `eval echo '${'$as_ac_Header'}'` = yes; then >++ for ac_header in linux/fb.h >++do : >++ ac_fn_c_check_header_mongrel "$LINENO" "linux/fb.h" "ac_cv_header_linux_fb_h" "$ac_includes_default" >++if test "x$ac_cv_header_linux_fb_h" = xyes; then : >+ cat >>confdefs.h <<_ACEOF >+-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 >++#define HAVE_LINUX_FB_H 1 >+ _ACEOF >+ >+ fi >+ >+ done >+ >+- >+-for ac_header in linux/kd.h >+-do >+-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- { echo "$as_me:$LINENO: checking for $ac_header" >&5 >+-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-fi >+-ac_res=`eval echo '${'$as_ac_Header'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+-else >+- # Is the header compilable? >+-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 >+-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-$ac_includes_default >+-#include <$ac_header> >+-_ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >+- ac_header_compiler=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_header_compiler=no >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 >+-echo "${ECHO_T}$ac_header_compiler" >&6; } >+- >+-# Is the header present? >+-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 >+-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-#include <$ac_header> >+-_ACEOF >+-if { (ac_try="$ac_cpp conftest.$ac_ext" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } >/dev/null && { >+- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || >+- test ! -s conftest.err >+- }; then >+- ac_header_preproc=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_header_preproc=no >+-fi >+- >+-rm -f conftest.err conftest.$ac_ext >+-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 >+-echo "${ECHO_T}$ac_header_preproc" >&6; } >+- >+-# So? What about this header? >+-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in >+- yes:no: ) >+- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 >+-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 >+-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} >+- ac_header_preproc=yes >+- ;; >+- no:yes:* ) >+- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 >+-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 >+-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 >+-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 >+-echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 >+-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 >+-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} >+- >+- ;; >+-esac >+-{ echo "$as_me:$LINENO: checking for $ac_header" >&5 >+-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-else >+- eval "$as_ac_Header=\$ac_header_preproc" >+-fi >+-ac_res=`eval echo '${'$as_ac_Header'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+- >+-fi >+-if test `eval echo '${'$as_ac_Header'}'` = yes; then >++ for ac_header in linux/kd.h >++do : >++ ac_fn_c_check_header_mongrel "$LINENO" "linux/kd.h" "ac_cv_header_linux_kd_h" "$ac_includes_default" >++if test "x$ac_cv_header_linux_kd_h" = xyes; then : >+ cat >>confdefs.h <<_ACEOF >+-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 >++#define HAVE_LINUX_KD_H 1 >+ _ACEOF >+ >+ fi >+ >+ done >+ >+- >+-for ac_header in linux/vt.h >+-do >+-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- { echo "$as_me:$LINENO: checking for $ac_header" >&5 >+-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-fi >+-ac_res=`eval echo '${'$as_ac_Header'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+-else >+- # Is the header compilable? >+-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 >+-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-$ac_includes_default >+-#include <$ac_header> >+-_ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >+- ac_header_compiler=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_header_compiler=no >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 >+-echo "${ECHO_T}$ac_header_compiler" >&6; } >+- >+-# Is the header present? >+-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 >+-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-#include <$ac_header> >+-_ACEOF >+-if { (ac_try="$ac_cpp conftest.$ac_ext" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } >/dev/null && { >+- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || >+- test ! -s conftest.err >+- }; then >+- ac_header_preproc=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_header_preproc=no >+-fi >+- >+-rm -f conftest.err conftest.$ac_ext >+-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 >+-echo "${ECHO_T}$ac_header_preproc" >&6; } >+- >+-# So? What about this header? >+-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in >+- yes:no: ) >+- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 >+-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 >+-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} >+- ac_header_preproc=yes >+- ;; >+- no:yes:* ) >+- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 >+-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 >+-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 >+-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 >+-echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 >+-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 >+-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} >+- >+- ;; >+-esac >+-{ echo "$as_me:$LINENO: checking for $ac_header" >&5 >+-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-else >+- eval "$as_ac_Header=\$ac_header_preproc" >+-fi >+-ac_res=`eval echo '${'$as_ac_Header'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+- >+-fi >+-if test `eval echo '${'$as_ac_Header'}'` = yes; then >++ for ac_header in linux/vt.h >++do : >++ ac_fn_c_check_header_mongrel "$LINENO" "linux/vt.h" "ac_cv_header_linux_vt_h" "$ac_includes_default" >++if test "x$ac_cv_header_linux_vt_h" = xyes; then : >+ cat >>confdefs.h <<_ACEOF >+-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 >++#define HAVE_LINUX_VT_H 1 >+ _ACEOF >+ >+ fi >+ >+ done >+ >+- >+-for ac_header in linux/joystick.h >+-do >+-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- { echo "$as_me:$LINENO: checking for $ac_header" >&5 >+-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-fi >+-ac_res=`eval echo '${'$as_ac_Header'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+-else >+- # Is the header compilable? >+-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 >+-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-$ac_includes_default >+-#include <$ac_header> >+-_ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >+- ac_header_compiler=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_header_compiler=no >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 >+-echo "${ECHO_T}$ac_header_compiler" >&6; } >+- >+-# Is the header present? >+-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 >+-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-#include <$ac_header> >+-_ACEOF >+-if { (ac_try="$ac_cpp conftest.$ac_ext" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } >/dev/null && { >+- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || >+- test ! -s conftest.err >+- }; then >+- ac_header_preproc=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_header_preproc=no >+-fi >+- >+-rm -f conftest.err conftest.$ac_ext >+-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 >+-echo "${ECHO_T}$ac_header_preproc" >&6; } >+- >+-# So? What about this header? >+-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in >+- yes:no: ) >+- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 >+-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 >+-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} >+- ac_header_preproc=yes >+- ;; >+- no:yes:* ) >+- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 >+-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 >+-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 >+-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 >+-echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 >+-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 >+-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} >+- >+- ;; >+-esac >+-{ echo "$as_me:$LINENO: checking for $ac_header" >&5 >+-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-else >+- eval "$as_ac_Header=\$ac_header_preproc" >+-fi >+-ac_res=`eval echo '${'$as_ac_Header'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+- >+-fi >+-if test `eval echo '${'$as_ac_Header'}'` = yes; then >++ for ac_header in linux/joystick.h >++do : >++ ac_fn_c_check_header_mongrel "$LINENO" "linux/joystick.h" "ac_cv_header_linux_joystick_h" "$ac_includes_default" >++if test "x$ac_cv_header_linux_joystick_h" = xyes; then : >+ cat >>confdefs.h <<_ACEOF >+-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 >++#define HAVE_LINUX_JOYSTICK_H 1 >+ _ACEOF >+ >+ fi >+ >+ done >+ >+- >+-for ac_header in sys/mman.h >+-do >+-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- { echo "$as_me:$LINENO: checking for $ac_header" >&5 >+-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-fi >+-ac_res=`eval echo '${'$as_ac_Header'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+-else >+- # Is the header compilable? >+-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 >+-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-$ac_includes_default >+-#include <$ac_header> >+-_ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >+- ac_header_compiler=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_header_compiler=no >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 >+-echo "${ECHO_T}$ac_header_compiler" >&6; } >+- >+-# Is the header present? >+-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 >+-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-#include <$ac_header> >+-_ACEOF >+-if { (ac_try="$ac_cpp conftest.$ac_ext" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } >/dev/null && { >+- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || >+- test ! -s conftest.err >+- }; then >+- ac_header_preproc=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_header_preproc=no >+-fi >+- >+-rm -f conftest.err conftest.$ac_ext >+-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 >+-echo "${ECHO_T}$ac_header_preproc" >&6; } >+- >+-# So? What about this header? >+-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in >+- yes:no: ) >+- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 >+-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 >+-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} >+- ac_header_preproc=yes >+- ;; >+- no:yes:* ) >+- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 >+-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 >+-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 >+-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 >+-echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 >+-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 >+-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} >+- >+- ;; >+-esac >+-{ echo "$as_me:$LINENO: checking for $ac_header" >&5 >+-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-else >+- eval "$as_ac_Header=\$ac_header_preproc" >+-fi >+-ac_res=`eval echo '${'$as_ac_Header'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+- >+-fi >+-if test `eval echo '${'$as_ac_Header'}'` = yes; then >++ for ac_header in sys/mman.h >++do : >++ ac_fn_c_check_header_mongrel "$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default" >++if test "x$ac_cv_header_sys_mman_h" = xyes; then : >+ cat >>confdefs.h <<_ACEOF >+-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 >++#define HAVE_SYS_MMAN_H 1 >+ _ACEOF >+ >+ fi >+@@ -16478,569 +7960,55 @@ fi >+ done >+ >+ if test "$ac_cv_header_linux_fb_h" = yes && test "$ac_cv_header_linux_kd_h" = yes && test "$ac_cv_header_linux_vt_h" = yes && test "$ac_cv_header_sys_mman_h" = yes && test "$ac_cv_header_linux_joystick_h" = yes && test "$ac_cv_header_sys_ioctl_h" = yes; then >+- cat >>confdefs.h <<\_ACEOF >+-#define GRDRV_DREAMCAST 1 >+-_ACEOF >++ $as_echo "#define GRDRV_DREAMCAST 1" >>confdefs.h >+ >+ drivers="$drivers DREAMCAST" >+ fi >+ fi >+ >+ if test "$disable_fb" != yes ; then >+- >+-for ac_header in linux/fb.h >+-do >+-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- { echo "$as_me:$LINENO: checking for $ac_header" >&5 >+-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-fi >+-ac_res=`eval echo '${'$as_ac_Header'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+-else >+- # Is the header compilable? >+-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 >+-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-$ac_includes_default >+-#include <$ac_header> >+-_ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >+- ac_header_compiler=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_header_compiler=no >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 >+-echo "${ECHO_T}$ac_header_compiler" >&6; } >+- >+-# Is the header present? >+-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 >+-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-#include <$ac_header> >+-_ACEOF >+-if { (ac_try="$ac_cpp conftest.$ac_ext" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } >/dev/null && { >+- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || >+- test ! -s conftest.err >+- }; then >+- ac_header_preproc=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_header_preproc=no >+-fi >+- >+-rm -f conftest.err conftest.$ac_ext >+-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 >+-echo "${ECHO_T}$ac_header_preproc" >&6; } >+- >+-# So? What about this header? >+-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in >+- yes:no: ) >+- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 >+-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 >+-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} >+- ac_header_preproc=yes >+- ;; >+- no:yes:* ) >+- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 >+-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 >+-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 >+-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 >+-echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 >+-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 >+-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} >+- >+- ;; >+-esac >+-{ echo "$as_me:$LINENO: checking for $ac_header" >&5 >+-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-else >+- eval "$as_ac_Header=\$ac_header_preproc" >+-fi >+-ac_res=`eval echo '${'$as_ac_Header'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+- >+-fi >+-if test `eval echo '${'$as_ac_Header'}'` = yes; then >++ for ac_header in linux/fb.h >++do : >++ ac_fn_c_check_header_mongrel "$LINENO" "linux/fb.h" "ac_cv_header_linux_fb_h" "$ac_includes_default" >++if test "x$ac_cv_header_linux_fb_h" = xyes; then : >+ cat >>confdefs.h <<_ACEOF >+-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 >++#define HAVE_LINUX_FB_H 1 >+ _ACEOF >+ >+ fi >+ >+ done >+ >+- >+-for ac_header in linux/kd.h >+-do >+-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- { echo "$as_me:$LINENO: checking for $ac_header" >&5 >+-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-fi >+-ac_res=`eval echo '${'$as_ac_Header'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+-else >+- # Is the header compilable? >+-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 >+-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-$ac_includes_default >+-#include <$ac_header> >+-_ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >+- ac_header_compiler=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_header_compiler=no >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 >+-echo "${ECHO_T}$ac_header_compiler" >&6; } >+- >+-# Is the header present? >+-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 >+-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-#include <$ac_header> >+-_ACEOF >+-if { (ac_try="$ac_cpp conftest.$ac_ext" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } >/dev/null && { >+- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || >+- test ! -s conftest.err >+- }; then >+- ac_header_preproc=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_header_preproc=no >+-fi >+- >+-rm -f conftest.err conftest.$ac_ext >+-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 >+-echo "${ECHO_T}$ac_header_preproc" >&6; } >+- >+-# So? What about this header? >+-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in >+- yes:no: ) >+- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 >+-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 >+-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} >+- ac_header_preproc=yes >+- ;; >+- no:yes:* ) >+- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 >+-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 >+-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 >+-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 >+-echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 >+-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 >+-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} >+- >+- ;; >+-esac >+-{ echo "$as_me:$LINENO: checking for $ac_header" >&5 >+-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-else >+- eval "$as_ac_Header=\$ac_header_preproc" >+-fi >+-ac_res=`eval echo '${'$as_ac_Header'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+- >+-fi >+-if test `eval echo '${'$as_ac_Header'}'` = yes; then >++ for ac_header in linux/kd.h >++do : >++ ac_fn_c_check_header_mongrel "$LINENO" "linux/kd.h" "ac_cv_header_linux_kd_h" "$ac_includes_default" >++if test "x$ac_cv_header_linux_kd_h" = xyes; then : >+ cat >>confdefs.h <<_ACEOF >+-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 >++#define HAVE_LINUX_KD_H 1 >+ _ACEOF >+ >+ fi >+ >+ done >+ >+- >+-for ac_header in linux/vt.h >+-do >+-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- { echo "$as_me:$LINENO: checking for $ac_header" >&5 >+-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-fi >+-ac_res=`eval echo '${'$as_ac_Header'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+-else >+- # Is the header compilable? >+-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 >+-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-$ac_includes_default >+-#include <$ac_header> >+-_ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >+- ac_header_compiler=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_header_compiler=no >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 >+-echo "${ECHO_T}$ac_header_compiler" >&6; } >+- >+-# Is the header present? >+-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 >+-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-#include <$ac_header> >+-_ACEOF >+-if { (ac_try="$ac_cpp conftest.$ac_ext" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } >/dev/null && { >+- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || >+- test ! -s conftest.err >+- }; then >+- ac_header_preproc=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_header_preproc=no >+-fi >+- >+-rm -f conftest.err conftest.$ac_ext >+-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 >+-echo "${ECHO_T}$ac_header_preproc" >&6; } >+- >+-# So? What about this header? >+-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in >+- yes:no: ) >+- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 >+-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 >+-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} >+- ac_header_preproc=yes >+- ;; >+- no:yes:* ) >+- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 >+-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 >+-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 >+-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 >+-echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 >+-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 >+-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} >+- >+- ;; >+-esac >+-{ echo "$as_me:$LINENO: checking for $ac_header" >&5 >+-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-else >+- eval "$as_ac_Header=\$ac_header_preproc" >+-fi >+-ac_res=`eval echo '${'$as_ac_Header'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+- >+-fi >+-if test `eval echo '${'$as_ac_Header'}'` = yes; then >++ for ac_header in linux/vt.h >++do : >++ ac_fn_c_check_header_mongrel "$LINENO" "linux/vt.h" "ac_cv_header_linux_vt_h" "$ac_includes_default" >++if test "x$ac_cv_header_linux_vt_h" = xyes; then : >+ cat >>confdefs.h <<_ACEOF >+-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 >++#define HAVE_LINUX_VT_H 1 >+ _ACEOF >+ >+ fi >+ >+ done >+ >+- >+-for ac_header in sys/mman.h >+-do >+-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- { echo "$as_me:$LINENO: checking for $ac_header" >&5 >+-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-fi >+-ac_res=`eval echo '${'$as_ac_Header'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+-else >+- # Is the header compilable? >+-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 >+-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-$ac_includes_default >+-#include <$ac_header> >+-_ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >+- ac_header_compiler=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_header_compiler=no >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 >+-echo "${ECHO_T}$ac_header_compiler" >&6; } >+- >+-# Is the header present? >+-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 >+-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-#include <$ac_header> >+-_ACEOF >+-if { (ac_try="$ac_cpp conftest.$ac_ext" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } >/dev/null && { >+- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || >+- test ! -s conftest.err >+- }; then >+- ac_header_preproc=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_header_preproc=no >+-fi >+- >+-rm -f conftest.err conftest.$ac_ext >+-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 >+-echo "${ECHO_T}$ac_header_preproc" >&6; } >+- >+-# So? What about this header? >+-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in >+- yes:no: ) >+- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 >+-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 >+-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} >+- ac_header_preproc=yes >+- ;; >+- no:yes:* ) >+- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 >+-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 >+-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 >+-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 >+-echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 >+-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 >+-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} >+- >+- ;; >+-esac >+-{ echo "$as_me:$LINENO: checking for $ac_header" >&5 >+-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-else >+- eval "$as_ac_Header=\$ac_header_preproc" >+-fi >+-ac_res=`eval echo '${'$as_ac_Header'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+- >+-fi >+-if test `eval echo '${'$as_ac_Header'}'` = yes; then >++ for ac_header in sys/mman.h >++do : >++ ac_fn_c_check_header_mongrel "$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default" >++if test "x$ac_cv_header_sys_mman_h" = xyes; then : >+ cat >>confdefs.h <<_ACEOF >+-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 >++#define HAVE_SYS_MMAN_H 1 >+ _ACEOF >+ >+ fi >+@@ -17048,9 +8016,7 @@ fi >+ done >+ >+ if test "$ac_cv_header_linux_fb_h" = yes && test "$ac_cv_header_linux_kd_h" = yes && test "$ac_cv_header_linux_vt_h" = yes && test "$ac_cv_header_sys_mman_h" = yes && test "$ac_cv_header_sys_ioctl_h" = yes && test "$cf_have_gpm" = yes; then >+- cat >>confdefs.h <<\_ACEOF >+-#define GRDRV_FB 1 >+-_ACEOF >++ $as_echo "#define GRDRV_FB 1" >>confdefs.h >+ >+ drivers="$drivers FB" >+ fi >+@@ -17059,10 +8025,10 @@ fi >+ if test "$disable_directfb" != yes ; then >+ # Extract the first word of "directfb-config", so it can be a program name with args. >+ set dummy directfb-config; ac_word=$2 >+-{ echo "$as_me:$LINENO: checking for $ac_word" >&5 >+-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } >+-if test "${ac_cv_path_DIRECTFB_CONFIG+set}" = set; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 >++$as_echo_n "checking for $ac_word... " >&6; } >++if ${ac_cv_path_DIRECTFB_CONFIG+:} false; then : >++ $as_echo_n "(cached) " >&6 >+ else >+ case $DIRECTFB_CONFIG in >+ [\\/]* | ?:[\\/]*) >+@@ -17074,14 +8040,14 @@ for as_dir in $PATH >+ do >+ IFS=$as_save_IFS >+ test -z "$as_dir" && as_dir=. >+- for ac_exec_ext in '' $ac_executable_extensions; do >+- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then >++ for ac_exec_ext in '' $ac_executable_extensions; do >++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then >+ ac_cv_path_DIRECTFB_CONFIG="$as_dir/$ac_word$ac_exec_ext" >+- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 >++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 >+ break 2 >+ fi >+ done >+-done >++ done >+ IFS=$as_save_IFS >+ >+ test -z "$ac_cv_path_DIRECTFB_CONFIG" && ac_cv_path_DIRECTFB_CONFIG="no" >+@@ -17090,44 +8056,42 @@ esac >+ fi >+ DIRECTFB_CONFIG=$ac_cv_path_DIRECTFB_CONFIG >+ if test -n "$DIRECTFB_CONFIG"; then >+- { echo "$as_me:$LINENO: result: $DIRECTFB_CONFIG" >&5 >+-echo "${ECHO_T}$DIRECTFB_CONFIG" >&6; } >++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DIRECTFB_CONFIG" >&5 >++$as_echo "$DIRECTFB_CONFIG" >&6; } >+ else >+- { echo "$as_me:$LINENO: result: no" >&5 >+-echo "${ECHO_T}no" >&6; } >++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 >++$as_echo "no" >&6; } >+ fi >+ >+ >+ if test "$DIRECTFB_CONFIG" != "no"; then >+- { echo "$as_me:$LINENO: checking for DirectFB >= 0.9.11" >&5 >+-echo $ECHO_N "checking for DirectFB >= 0.9.11... $ECHO_C" >&6; } >++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DirectFB >= 0.9.11" >&5 >++$as_echo_n "checking for DirectFB >= 0.9.11... " >&6; } >+ directfb_version=`$DIRECTFB_CONFIG --version` >+ if expr $directfb_version \>= 0.9.11 >/dev/null; then >+- { echo "$as_me:$LINENO: result: yes" >&5 >+-echo "${ECHO_T}yes" >&6; } >++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 >++$as_echo "yes" >&6; } >+ DIRECTFB_CFLAGS=`$DIRECTFB_CONFIG --cflags` >+ DIRECTFB_LIBS=`$DIRECTFB_CONFIG --libs` >+- cat >>confdefs.h <<\_ACEOF >+-#define GRDRV_DIRECTFB 1 >+-_ACEOF >++ $as_echo "#define GRDRV_DIRECTFB 1" >>confdefs.h >+ >+ drivers="$drivers DIRECTFB" >+ CPPFLAGS="$CPPFLAGS $DIRECTFB_CFLAGS" >+ LIBS="$LIBS $DIRECTFB_LIBS" >+ else >+- { echo "$as_me:$LINENO: result: no" >&5 >+-echo "${ECHO_T}no" >&6; } >++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 >++$as_echo "no" >&6; } >+ fi >+ fi >+ fi >+ >+ >+- { echo "$as_me:$LINENO: checking for X" >&5 >+-echo $ECHO_N "checking for X... $ECHO_C" >&6; } >++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5 >++$as_echo_n "checking for X... " >&6; } >+ >+ >+ # Check whether --with-x was given. >+-if test "${with_x+set}" = set; then >++if test "${with_x+set}" = set; then : >+ withval=$with_x; >+ fi >+ >+@@ -17137,11 +8101,9 @@ if test "x$with_x" = xno; then >+ have_x=disabled >+ else >+ case $x_includes,$x_libraries in #( >+- *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5 >+-echo "$as_me: error: Cannot use X directory names containing '" >&2;} >+- { (exit 1); exit 1; }; };; #( >+- *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >++ *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #( >++ *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then : >++ $as_echo_n "(cached) " >&6 >+ else >+ # One or both of the vars are not set, and there is no cached value. >+ ac_x_includes=no ac_x_libraries=no >+@@ -17157,12 +8119,12 @@ libdir: >+ @echo libdir='${LIBDIR}' >+ _ACEOF >+ if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then >+- # GNU make sometimes prints "make[1]: Entering...", which would confuse us. >++ # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. >+ for ac_var in incroot usrlibdir libdir; do >+ eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`" >+ done >+ # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. >+- for ac_extension in a so sl; do >++ for ac_extension in a so sl dylib la dll; do >+ if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" && >+ test -f "$ac_im_libdir/libX11.$ac_extension"; then >+ ac_im_usrlibdir=$ac_im_libdir; break >+@@ -17176,7 +8138,7 @@ _ACEOF >+ *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;; >+ esac >+ case $ac_im_usrlibdir in >+- /usr/lib | /lib) ;; >++ /usr/lib | /usr/lib64 | /lib | /lib64) ;; >+ *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;; >+ esac >+ fi >+@@ -17188,21 +8150,25 @@ fi >+ # Check X11 before X11Rn because it is often a symlink to the current release. >+ ac_x_header_dirs=' >+ /usr/X11/include >++/usr/X11R7/include >+ /usr/X11R6/include >+ /usr/X11R5/include >+ /usr/X11R4/include >+ >+ /usr/include/X11 >++/usr/include/X11R7 >+ /usr/include/X11R6 >+ /usr/include/X11R5 >+ /usr/include/X11R4 >+ >+ /usr/local/X11/include >++/usr/local/X11R7/include >+ /usr/local/X11R6/include >+ /usr/local/X11R5/include >+ /usr/local/X11R4/include >+ >+ /usr/local/include/X11 >++/usr/local/include/X11R7 >+ /usr/local/include/X11R6 >+ /usr/local/include/X11R5 >+ /usr/local/include/X11R4 >+@@ -17224,36 +8190,14 @@ ac_x_header_dirs=' >+ if test "$ac_x_includes" = no; then >+ # Guess where to find include files, by looking for Xlib.h. >+ # First, try using that file with no special directory specified. >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext >+ /* end confdefs.h. */ >+ #include <X11/Xlib.h> >+ _ACEOF >+-if { (ac_try="$ac_cpp conftest.$ac_ext" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } >/dev/null && { >+- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || >+- test ! -s conftest.err >+- }; then >++if ac_fn_c_try_cpp "$LINENO"; then : >+ # We can compile using X headers with no special include directory. >+ ac_x_includes= >+ else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+ for ac_dir in $ac_x_header_dirs; do >+ if test -r "$ac_dir/X11/Xlib.h"; then >+ ac_x_includes=$ac_dir >+@@ -17261,8 +8205,7 @@ sed 's/^/| /' conftest.$ac_ext >&5 >+ fi >+ done >+ fi >+- >+-rm -f conftest.err conftest.$ac_ext >++rm -f conftest.err conftest.i conftest.$ac_ext >+ fi # $ac_x_includes = no >+ >+ if test "$ac_x_libraries" = no; then >+@@ -17271,11 +8214,7 @@ if test "$ac_x_libraries" = no; then >+ # Don't add to $LIBS permanently. >+ ac_save_LIBS=$LIBS >+ LIBS="-lX11 $LIBS" >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext >+ /* end confdefs.h. */ >+ #include <X11/Xlib.h> >+ int >+@@ -17286,36 +8225,16 @@ XrmInitialize () >+ return 0; >+ } >+ _ACEOF >+-rm -f conftest.$ac_objext conftest$ac_exeext >+-if { (ac_try="$ac_link" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_link") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest$ac_exeext && >+- $as_test_x conftest$ac_exeext; then >++if ac_fn_c_try_link "$LINENO"; then : >+ LIBS=$ac_save_LIBS >+ # We can link X programs with no special library path. >+ ac_x_libraries= >+ else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- LIBS=$ac_save_LIBS >+-for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` >++ LIBS=$ac_save_LIBS >++for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` >+ do >+ # Don't even attempt the hair of trying to link an X program! >+- for ac_extension in a so sl; do >++ for ac_extension in a so sl dylib la dll; do >+ if test -r "$ac_dir/libX11.$ac_extension"; then >+ ac_x_libraries=$ac_dir >+ break 2 >+@@ -17323,9 +8242,8 @@ do >+ done >+ done >+ fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ >+- conftest$ac_exeext conftest.$ac_ext >++rm -f core conftest.err conftest.$ac_objext \ >++ conftest$ac_exeext conftest.$ac_ext >+ fi # $ac_x_libraries = no >+ >+ case $ac_x_includes,$ac_x_libraries in #( >+@@ -17346,8 +8264,8 @@ fi >+ fi # $with_x != no >+ >+ if test "$have_x" != yes; then >+- { echo "$as_me:$LINENO: result: $have_x" >&5 >+-echo "${ECHO_T}$have_x" >&6; } >++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5 >++$as_echo "$have_x" >&6; } >+ no_x=yes >+ else >+ # If each of the values was on the command line, it overrides each guess. >+@@ -17357,34 +8275,27 @@ else >+ ac_cv_have_x="have_x=yes\ >+ ac_x_includes='$x_includes'\ >+ ac_x_libraries='$x_libraries'" >+- { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5 >+-echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; } >++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5 >++$as_echo "libraries $x_libraries, headers $x_includes" >&6; } >+ fi >+ >+ >+ if test "$have_x" = yes; then >+- cat >>confdefs.h <<\_ACEOF >+-#define GRDRV_X 1 >+-_ACEOF >++ $as_echo "#define GRDRV_X 1" >>confdefs.h >+ >+ test -n "$x_libraries" && LIBS="$LIBS -L$x_libraries" >+ LIBS="$LIBS -lX11" >+ test -n "$x_includes" && CPPFLAGS="$CPPFLAGS -I$x_includes" >+ drivers="$drivers X" >+ elif test "$ac_cv_have_x2" != no; then >+- >+-{ echo "$as_me:$LINENO: checking for XOpenDisplay in -lX11" >&5 >+-echo $ECHO_N "checking for XOpenDisplay in -lX11... $ECHO_C" >&6; } >+-if test "${ac_cv_lib_X11_XOpenDisplay+set}" = set; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XOpenDisplay in -lX11" >&5 >++$as_echo_n "checking for XOpenDisplay in -lX11... " >&6; } >++if ${ac_cv_lib_X11_XOpenDisplay+:} false; then : >++ $as_echo_n "(cached) " >&6 >+ else >+ ac_check_lib_save_LIBS=$LIBS >+ LIBS="-lX11 $LIBS" >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >++cat confdefs.h - <<_ACEOF >conftest.$ac_ext >+ /* end confdefs.h. */ >+ >+ /* Override any GCC internal prototype to avoid an error. >+@@ -17402,39 +8313,18 @@ return XOpenDisplay (); >+ return 0; >+ } >+ _ACEOF >+-rm -f conftest.$ac_objext conftest$ac_exeext >+-if { (ac_try="$ac_link" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_link") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest$ac_exeext && >+- $as_test_x conftest$ac_exeext; then >++if ac_fn_c_try_link "$LINENO"; then : >+ ac_cv_lib_X11_XOpenDisplay=yes >+ else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_cv_lib_X11_XOpenDisplay=no >++ ac_cv_lib_X11_XOpenDisplay=no >+ fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ >+- conftest$ac_exeext conftest.$ac_ext >++rm -f core conftest.err conftest.$ac_objext \ >++ conftest$ac_exeext conftest.$ac_ext >+ LIBS=$ac_check_lib_save_LIBS >+ fi >+-{ echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XOpenDisplay" >&5 >+-echo "${ECHO_T}$ac_cv_lib_X11_XOpenDisplay" >&6; } >+-if test $ac_cv_lib_X11_XOpenDisplay = yes; then >++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XOpenDisplay" >&5 >++$as_echo "$ac_cv_lib_X11_XOpenDisplay" >&6; } >++if test "x$ac_cv_lib_X11_XOpenDisplay" = xyes; then : >+ cat >>confdefs.h <<_ACEOF >+ #define HAVE_LIBX11 1 >+ _ACEOF >+@@ -17443,143 +8333,13 @@ _ACEOF >+ >+ fi >+ >+- >+- >+- >+- >+-for ac_header in X11/Xlib.h X11/X.h X11/Xutil.h X11/Xlocale.h >+-do >+-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- { echo "$as_me:$LINENO: checking for $ac_header" >&5 >+-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-fi >+-ac_res=`eval echo '${'$as_ac_Header'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+-else >+- # Is the header compilable? >+-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 >+-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-$ac_includes_default >+-#include <$ac_header> >+-_ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >+- ac_header_compiler=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_header_compiler=no >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 >+-echo "${ECHO_T}$ac_header_compiler" >&6; } >+- >+-# Is the header present? >+-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 >+-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-#include <$ac_header> >+-_ACEOF >+-if { (ac_try="$ac_cpp conftest.$ac_ext" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } >/dev/null && { >+- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || >+- test ! -s conftest.err >+- }; then >+- ac_header_preproc=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_header_preproc=no >+-fi >+- >+-rm -f conftest.err conftest.$ac_ext >+-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 >+-echo "${ECHO_T}$ac_header_preproc" >&6; } >+- >+-# So? What about this header? >+-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in >+- yes:no: ) >+- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 >+-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 >+-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} >+- ac_header_preproc=yes >+- ;; >+- no:yes:* ) >+- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 >+-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 >+-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 >+-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 >+-echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 >+-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 >+-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} >+- >+- ;; >+-esac >+-{ echo "$as_me:$LINENO: checking for $ac_header" >&5 >+-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-else >+- eval "$as_ac_Header=\$ac_header_preproc" >+-fi >+-ac_res=`eval echo '${'$as_ac_Header'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+- >+-fi >+-if test `eval echo '${'$as_ac_Header'}'` = yes; then >++ for ac_header in X11/Xlib.h X11/X.h X11/Xutil.h X11/Xlocale.h >++do : >++ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` >++ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" >++if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : >+ cat >>confdefs.h <<_ACEOF >+-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 >++#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 >+ _ACEOF >+ >+ fi >+@@ -17587,9 +8347,7 @@ fi >+ done >+ >+ if test "$ac_cv_have_libx11" = yes && test "$ac_cv_have_x11_xlib_h" = test && test "$ac_cv_have_x11_x_h" = test && test "$ac_cv_have_x11_xutil_h" = test && test "$ac_cv_have_x11_xlocale_h" = test; then >+- cat >>confdefs.h <<\_ACEOF >+-#define GRDRV_X 1 >+-_ACEOF >++ $as_echo "#define GRDRV_X 1" >>confdefs.h >+ >+ drivers="$drivers X" >+ LIBS="$LIBS -lX11" >+@@ -17597,16 +8355,12 @@ _ACEOF >+ fi >+ >+ if test "$disable_pmshell" != yes ; then >+- { echo "$as_me:$LINENO: checking for pmshell" >&5 >+-echo $ECHO_N "checking for pmshell... $ECHO_C" >&6; } >+-if test "${ac_cv_have_pmshell+set}" = set; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pmshell" >&5 >++$as_echo_n "checking for pmshell... " >&6; } >++if ${ac_cv_have_pmshell+:} false; then : >++ $as_echo_n "(cached) " >&6 >+ else >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext >+ /* end confdefs.h. */ >+ #define INCL_WIN >+ #define INCL_GPI >+@@ -17622,43 +8376,20 @@ _fmutex mutex; >+ return 0; >+ } >+ _ACEOF >+-rm -f conftest.$ac_objext conftest$ac_exeext >+-if { (ac_try="$ac_link" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_link") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest$ac_exeext && >+- $as_test_x conftest$ac_exeext; then >++if ac_fn_c_try_link "$LINENO"; then : >+ ac_cv_have_pmshell=yes >+ else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_cv_have_pmshell=no >++ ac_cv_have_pmshell=no >+ fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ >+- conftest$ac_exeext conftest.$ac_ext >++rm -f core conftest.err conftest.$ac_objext \ >++ conftest$ac_exeext conftest.$ac_ext >+ >+ fi >+-{ echo "$as_me:$LINENO: result: $ac_cv_have_pmshell" >&5 >+-echo "${ECHO_T}$ac_cv_have_pmshell" >&6; } >++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_pmshell" >&5 >++$as_echo "$ac_cv_have_pmshell" >&6; } >+ >+ if test "$ac_cv_have_pmshell" = yes; then >+- cat >>confdefs.h <<\_ACEOF >+-#define GRDRV_PMSHELL 1 >+-_ACEOF >++ $as_echo "#define GRDRV_PMSHELL 1" >>confdefs.h >+ >+ drivers="$drivers PMSHELL" >+ fi >+@@ -17667,840 +8398,72 @@ fi >+ if test "$disable_atheos" != yes ; then >+ old_ext="$ac_ext" >+ ac_ext=cpp >+- >+-for ac_header in gui/view.h >+-do >+-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- { echo "$as_me:$LINENO: checking for $ac_header" >&5 >+-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-fi >+-ac_res=`eval echo '${'$as_ac_Header'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+-else >+- # Is the header compilable? >+-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 >+-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-$ac_includes_default >+-#include <$ac_header> >+-_ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >+- ac_header_compiler=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_header_compiler=no >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 >+-echo "${ECHO_T}$ac_header_compiler" >&6; } >+- >+-# Is the header present? >+-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 >+-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-#include <$ac_header> >+-_ACEOF >+-if { (ac_try="$ac_cpp conftest.$ac_ext" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } >/dev/null && { >+- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || >+- test ! -s conftest.err >+- }; then >+- ac_header_preproc=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_header_preproc=no >+-fi >+- >+-rm -f conftest.err conftest.$ac_ext >+-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 >+-echo "${ECHO_T}$ac_header_preproc" >&6; } >+- >+-# So? What about this header? >+-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in >+- yes:no: ) >+- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 >+-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 >+-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} >+- ac_header_preproc=yes >+- ;; >+- no:yes:* ) >+- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 >+-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 >+-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 >+-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 >+-echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 >+-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 >+-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} >+- >+- ;; >+-esac >+-{ echo "$as_me:$LINENO: checking for $ac_header" >&5 >+-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-else >+- eval "$as_ac_Header=\$ac_header_preproc" >+-fi >+-ac_res=`eval echo '${'$as_ac_Header'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+- >+-fi >+-if test `eval echo '${'$as_ac_Header'}'` = yes; then >++ for ac_header in gui/view.h >++do : >++ ac_fn_c_check_header_mongrel "$LINENO" "gui/view.h" "ac_cv_header_gui_view_h" "$ac_includes_default" >++if test "x$ac_cv_header_gui_view_h" = xyes; then : >+ cat >>confdefs.h <<_ACEOF >+-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 >++#define HAVE_GUI_VIEW_H 1 >+ _ACEOF >+ >+ fi >+ >+ done >+ >+- >+-for ac_header in gui/window.h >+-do >+-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- { echo "$as_me:$LINENO: checking for $ac_header" >&5 >+-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-fi >+-ac_res=`eval echo '${'$as_ac_Header'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+-else >+- # Is the header compilable? >+-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 >+-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-$ac_includes_default >+-#include <$ac_header> >+-_ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >+- ac_header_compiler=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_header_compiler=no >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 >+-echo "${ECHO_T}$ac_header_compiler" >&6; } >+- >+-# Is the header present? >+-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 >+-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-#include <$ac_header> >+-_ACEOF >+-if { (ac_try="$ac_cpp conftest.$ac_ext" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } >/dev/null && { >+- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || >+- test ! -s conftest.err >+- }; then >+- ac_header_preproc=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_header_preproc=no >+-fi >+- >+-rm -f conftest.err conftest.$ac_ext >+-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 >+-echo "${ECHO_T}$ac_header_preproc" >&6; } >+- >+-# So? What about this header? >+-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in >+- yes:no: ) >+- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 >+-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 >+-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} >+- ac_header_preproc=yes >+- ;; >+- no:yes:* ) >+- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 >+-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 >+-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 >+-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 >+-echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 >+-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 >+-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} >+- >+- ;; >+-esac >+-{ echo "$as_me:$LINENO: checking for $ac_header" >&5 >+-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-else >+- eval "$as_ac_Header=\$ac_header_preproc" >+-fi >+-ac_res=`eval echo '${'$as_ac_Header'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+- >+-fi >+-if test `eval echo '${'$as_ac_Header'}'` = yes; then >++ for ac_header in gui/window.h >++do : >++ ac_fn_c_check_header_mongrel "$LINENO" "gui/window.h" "ac_cv_header_gui_window_h" "$ac_includes_default" >++if test "x$ac_cv_header_gui_window_h" = xyes; then : >+ cat >>confdefs.h <<_ACEOF >+-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 >++#define HAVE_GUI_WINDOW_H 1 >+ _ACEOF >+ >+ fi >+ >+ done >+ >+- >+-for ac_header in gui/desktop.h >+-do >+-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- { echo "$as_me:$LINENO: checking for $ac_header" >&5 >+-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-fi >+-ac_res=`eval echo '${'$as_ac_Header'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+-else >+- # Is the header compilable? >+-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 >+-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-$ac_includes_default >+-#include <$ac_header> >+-_ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >+- ac_header_compiler=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_header_compiler=no >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 >+-echo "${ECHO_T}$ac_header_compiler" >&6; } >+- >+-# Is the header present? >+-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 >+-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-#include <$ac_header> >+-_ACEOF >+-if { (ac_try="$ac_cpp conftest.$ac_ext" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } >/dev/null && { >+- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || >+- test ! -s conftest.err >+- }; then >+- ac_header_preproc=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_header_preproc=no >+-fi >+- >+-rm -f conftest.err conftest.$ac_ext >+-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 >+-echo "${ECHO_T}$ac_header_preproc" >&6; } >+- >+-# So? What about this header? >+-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in >+- yes:no: ) >+- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 >+-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 >+-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} >+- ac_header_preproc=yes >+- ;; >+- no:yes:* ) >+- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 >+-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 >+-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 >+-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 >+-echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 >+-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 >+-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} >+- >+- ;; >+-esac >+-{ echo "$as_me:$LINENO: checking for $ac_header" >&5 >+-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-else >+- eval "$as_ac_Header=\$ac_header_preproc" >+-fi >+-ac_res=`eval echo '${'$as_ac_Header'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+- >+-fi >+-if test `eval echo '${'$as_ac_Header'}'` = yes; then >++ for ac_header in gui/desktop.h >++do : >++ ac_fn_c_check_header_mongrel "$LINENO" "gui/desktop.h" "ac_cv_header_gui_desktop_h" "$ac_includes_default" >++if test "x$ac_cv_header_gui_desktop_h" = xyes; then : >+ cat >>confdefs.h <<_ACEOF >+-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 >++#define HAVE_GUI_DESKTOP_H 1 >+ _ACEOF >+ >+ fi >+ >+ done >+ >+- >+-for ac_header in gui/bitmap.h >+-do >+-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- { echo "$as_me:$LINENO: checking for $ac_header" >&5 >+-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-fi >+-ac_res=`eval echo '${'$as_ac_Header'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+-else >+- # Is the header compilable? >+-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 >+-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-$ac_includes_default >+-#include <$ac_header> >+-_ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >+- ac_header_compiler=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_header_compiler=no >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 >+-echo "${ECHO_T}$ac_header_compiler" >&6; } >+- >+-# Is the header present? >+-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 >+-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-#include <$ac_header> >+-_ACEOF >+-if { (ac_try="$ac_cpp conftest.$ac_ext" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } >/dev/null && { >+- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || >+- test ! -s conftest.err >+- }; then >+- ac_header_preproc=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_header_preproc=no >+-fi >+- >+-rm -f conftest.err conftest.$ac_ext >+-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 >+-echo "${ECHO_T}$ac_header_preproc" >&6; } >+- >+-# So? What about this header? >+-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in >+- yes:no: ) >+- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 >+-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 >+-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} >+- ac_header_preproc=yes >+- ;; >+- no:yes:* ) >+- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 >+-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 >+-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 >+-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 >+-echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 >+-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 >+-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} >+- >+- ;; >+-esac >+-{ echo "$as_me:$LINENO: checking for $ac_header" >&5 >+-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-else >+- eval "$as_ac_Header=\$ac_header_preproc" >+-fi >+-ac_res=`eval echo '${'$as_ac_Header'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+- >+-fi >+-if test `eval echo '${'$as_ac_Header'}'` = yes; then >++ for ac_header in gui/bitmap.h >++do : >++ ac_fn_c_check_header_mongrel "$LINENO" "gui/bitmap.h" "ac_cv_header_gui_bitmap_h" "$ac_includes_default" >++if test "x$ac_cv_header_gui_bitmap_h" = xyes; then : >+ cat >>confdefs.h <<_ACEOF >+-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 >++#define HAVE_GUI_BITMAP_H 1 >+ _ACEOF >+ >+ fi >+ >+ done >+ >+- >+-for ac_header in util/locker.h >+-do >+-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- { echo "$as_me:$LINENO: checking for $ac_header" >&5 >+-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-fi >+-ac_res=`eval echo '${'$as_ac_Header'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+-else >+- # Is the header compilable? >+-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 >+-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-$ac_includes_default >+-#include <$ac_header> >+-_ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >+- ac_header_compiler=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_header_compiler=no >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 >+-echo "${ECHO_T}$ac_header_compiler" >&6; } >+- >+-# Is the header present? >+-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 >+-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-#include <$ac_header> >+-_ACEOF >+-if { (ac_try="$ac_cpp conftest.$ac_ext" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } >/dev/null && { >+- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || >+- test ! -s conftest.err >+- }; then >+- ac_header_preproc=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_header_preproc=no >+-fi >+- >+-rm -f conftest.err conftest.$ac_ext >+-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 >+-echo "${ECHO_T}$ac_header_preproc" >&6; } >+- >+-# So? What about this header? >+-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in >+- yes:no: ) >+- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 >+-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 >+-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} >+- ac_header_preproc=yes >+- ;; >+- no:yes:* ) >+- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 >+-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 >+-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 >+-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 >+-echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 >+-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 >+-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} >+- >+- ;; >+-esac >+-{ echo "$as_me:$LINENO: checking for $ac_header" >&5 >+-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-else >+- eval "$as_ac_Header=\$ac_header_preproc" >+-fi >+-ac_res=`eval echo '${'$as_ac_Header'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+- >+-fi >+-if test `eval echo '${'$as_ac_Header'}'` = yes; then >++ for ac_header in util/locker.h >++do : >++ ac_fn_c_check_header_mongrel "$LINENO" "util/locker.h" "ac_cv_header_util_locker_h" "$ac_includes_default" >++if test "x$ac_cv_header_util_locker_h" = xyes; then : >+ cat >>confdefs.h <<_ACEOF >+-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 >++#define HAVE_UTIL_LOCKER_H 1 >+ _ACEOF >+ >+ fi >+ >+ done >+ >+- >+-for ac_header in util/application.h >+-do >+-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- { echo "$as_me:$LINENO: checking for $ac_header" >&5 >+-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-fi >+-ac_res=`eval echo '${'$as_ac_Header'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+-else >+- # Is the header compilable? >+-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 >+-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-$ac_includes_default >+-#include <$ac_header> >+-_ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >+- ac_header_compiler=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_header_compiler=no >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 >+-echo "${ECHO_T}$ac_header_compiler" >&6; } >+- >+-# Is the header present? >+-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 >+-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-#include <$ac_header> >+-_ACEOF >+-if { (ac_try="$ac_cpp conftest.$ac_ext" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } >/dev/null && { >+- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || >+- test ! -s conftest.err >+- }; then >+- ac_header_preproc=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_header_preproc=no >+-fi >+- >+-rm -f conftest.err conftest.$ac_ext >+-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 >+-echo "${ECHO_T}$ac_header_preproc" >&6; } >+- >+-# So? What about this header? >+-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in >+- yes:no: ) >+- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 >+-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 >+-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} >+- ac_header_preproc=yes >+- ;; >+- no:yes:* ) >+- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 >+-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 >+-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 >+-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 >+-echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 >+-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 >+-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} >+- >+- ;; >+-esac >+-{ echo "$as_me:$LINENO: checking for $ac_header" >&5 >+-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-else >+- eval "$as_ac_Header=\$ac_header_preproc" >+-fi >+-ac_res=`eval echo '${'$as_ac_Header'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+- >+-fi >+-if test `eval echo '${'$as_ac_Header'}'` = yes; then >++ for ac_header in util/application.h >++do : >++ ac_fn_c_check_header_mongrel "$LINENO" "util/application.h" "ac_cv_header_util_application_h" "$ac_includes_default" >++if test "x$ac_cv_header_util_application_h" = xyes; then : >+ cat >>confdefs.h <<_ACEOF >+-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 >++#define HAVE_UTIL_APPLICATION_H 1 >+ _ACEOF >+ >+ fi >+@@ -18516,19 +8479,14 @@ done >+ test "$ac_cv_header_gui_bitmap_h" = yes && >+ test "$ac_cv_header_util_locker_h" = yes && >+ test "$ac_cv_header_util_application_h" = yes; then >+- >+-{ echo "$as_me:$LINENO: checking for main in -lstdc++" >&5 >+-echo $ECHO_N "checking for main in -lstdc++... $ECHO_C" >&6; } >+-if test "${ac_cv_lib_stdcpp_main+set}" = set; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lstdc++" >&5 >++$as_echo_n "checking for main in -lstdc++... " >&6; } >++if ${ac_cv_lib_stdcpp_main+:} false; then : >++ $as_echo_n "(cached) " >&6 >+ else >+ ac_check_lib_save_LIBS=$LIBS >+ LIBS="-lstdc++ $LIBS" >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >++cat confdefs.h - <<_ACEOF >conftest.$ac_ext >+ /* end confdefs.h. */ >+ >+ >+@@ -18540,39 +8498,18 @@ return main (); >+ return 0; >+ } >+ _ACEOF >+-rm -f conftest.$ac_objext conftest$ac_exeext >+-if { (ac_try="$ac_link" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_link") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest$ac_exeext && >+- $as_test_x conftest$ac_exeext; then >++if ac_fn_c_try_link "$LINENO"; then : >+ ac_cv_lib_stdcpp_main=yes >+ else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_cv_lib_stdcpp_main=no >++ ac_cv_lib_stdcpp_main=no >+ fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ >+- conftest$ac_exeext conftest.$ac_ext >++rm -f core conftest.err conftest.$ac_objext \ >++ conftest$ac_exeext conftest.$ac_ext >+ LIBS=$ac_check_lib_save_LIBS >+ fi >+-{ echo "$as_me:$LINENO: result: $ac_cv_lib_stdcpp_main" >&5 >+-echo "${ECHO_T}$ac_cv_lib_stdcpp_main" >&6; } >+-if test $ac_cv_lib_stdcpp_main = yes; then >++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_stdcpp_main" >&5 >++$as_echo "$ac_cv_lib_stdcpp_main" >&6; } >++if test "x$ac_cv_lib_stdcpp_main" = xyes; then : >+ cat >>confdefs.h <<_ACEOF >+ #define HAVE_LIBSTDC__ 1 >+ _ACEOF >+@@ -18581,19 +8518,14 @@ _ACEOF >+ >+ fi >+ >+- >+-{ echo "$as_me:$LINENO: checking for main in -latheos" >&5 >+-echo $ECHO_N "checking for main in -latheos... $ECHO_C" >&6; } >+-if test "${ac_cv_lib_atheos_main+set}" = set; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -latheos" >&5 >++$as_echo_n "checking for main in -latheos... " >&6; } >++if ${ac_cv_lib_atheos_main+:} false; then : >++ $as_echo_n "(cached) " >&6 >+ else >+ ac_check_lib_save_LIBS=$LIBS >+ LIBS="-latheos $LIBS" >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >++cat confdefs.h - <<_ACEOF >conftest.$ac_ext >+ /* end confdefs.h. */ >+ >+ >+@@ -18605,39 +8537,18 @@ return main (); >+ return 0; >+ } >+ _ACEOF >+-rm -f conftest.$ac_objext conftest$ac_exeext >+-if { (ac_try="$ac_link" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_link") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest$ac_exeext && >+- $as_test_x conftest$ac_exeext; then >++if ac_fn_c_try_link "$LINENO"; then : >+ ac_cv_lib_atheos_main=yes >+ else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_cv_lib_atheos_main=no >++ ac_cv_lib_atheos_main=no >+ fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ >+- conftest$ac_exeext conftest.$ac_ext >++rm -f core conftest.err conftest.$ac_objext \ >++ conftest$ac_exeext conftest.$ac_ext >+ LIBS=$ac_check_lib_save_LIBS >+ fi >+-{ echo "$as_me:$LINENO: result: $ac_cv_lib_atheos_main" >&5 >+-echo "${ECHO_T}$ac_cv_lib_atheos_main" >&6; } >+-if test $ac_cv_lib_atheos_main = yes; then >++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_atheos_main" >&5 >++$as_echo "$ac_cv_lib_atheos_main" >&6; } >++if test "x$ac_cv_lib_atheos_main" = xyes; then : >+ cat >>confdefs.h <<_ACEOF >+ #define HAVE_LIBATHEOS 1 >+ _ACEOF >+@@ -18661,10 +8572,10 @@ if test -z "$CXX"; then >+ do >+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. >+ set dummy $ac_tool_prefix$ac_prog; ac_word=$2 >+-{ echo "$as_me:$LINENO: checking for $ac_word" >&5 >+-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } >+-if test "${ac_cv_prog_CXX+set}" = set; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 >++$as_echo_n "checking for $ac_word... " >&6; } >++if ${ac_cv_prog_CXX+:} false; then : >++ $as_echo_n "(cached) " >&6 >+ else >+ if test -n "$CXX"; then >+ ac_cv_prog_CXX="$CXX" # Let the user override the test. >+@@ -18674,25 +8585,25 @@ for as_dir in $PATH >+ do >+ IFS=$as_save_IFS >+ test -z "$as_dir" && as_dir=. >+- for ac_exec_ext in '' $ac_executable_extensions; do >+- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then >++ for ac_exec_ext in '' $ac_executable_extensions; do >++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then >+ ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" >+- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 >++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 >+ break 2 >+ fi >+ done >+-done >++ done >+ IFS=$as_save_IFS >+ >+ fi >+ fi >+ CXX=$ac_cv_prog_CXX >+ if test -n "$CXX"; then >+- { echo "$as_me:$LINENO: result: $CXX" >&5 >+-echo "${ECHO_T}$CXX" >&6; } >++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 >++$as_echo "$CXX" >&6; } >+ else >+- { echo "$as_me:$LINENO: result: no" >&5 >+-echo "${ECHO_T}no" >&6; } >++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 >++$as_echo "no" >&6; } >+ fi >+ >+ >+@@ -18705,10 +8616,10 @@ if test -z "$CXX"; then >+ do >+ # Extract the first word of "$ac_prog", so it can be a program name with args. >+ set dummy $ac_prog; ac_word=$2 >+-{ echo "$as_me:$LINENO: checking for $ac_word" >&5 >+-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } >+-if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 >++$as_echo_n "checking for $ac_word... " >&6; } >++if ${ac_cv_prog_ac_ct_CXX+:} false; then : >++ $as_echo_n "(cached) " >&6 >+ else >+ if test -n "$ac_ct_CXX"; then >+ ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. >+@@ -18718,25 +8629,25 @@ for as_dir in $PATH >+ do >+ IFS=$as_save_IFS >+ test -z "$as_dir" && as_dir=. >+- for ac_exec_ext in '' $ac_executable_extensions; do >+- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then >++ for ac_exec_ext in '' $ac_executable_extensions; do >++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then >+ ac_cv_prog_ac_ct_CXX="$ac_prog" >+- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 >++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 >+ break 2 >+ fi >+ done >+-done >++ done >+ IFS=$as_save_IFS >+ >+ fi >+ fi >+ ac_ct_CXX=$ac_cv_prog_ac_ct_CXX >+ if test -n "$ac_ct_CXX"; then >+- { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 >+-echo "${ECHO_T}$ac_ct_CXX" >&6; } >++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 >++$as_echo "$ac_ct_CXX" >&6; } >+ else >+- { echo "$as_me:$LINENO: result: no" >&5 >+-echo "${ECHO_T}no" >&6; } >++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 >++$as_echo "no" >&6; } >+ fi >+ >+ >+@@ -18748,12 +8659,8 @@ done >+ else >+ case $cross_compiling:$ac_tool_warned in >+ yes:) >+-{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools >+-whose name does not start with the host triplet. If you think this >+-configuration is useful to you, please write to autoconf@gnu.org." >&5 >+-echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools >+-whose name does not start with the host triplet. If you think this >+-configuration is useful to you, please write to autoconf@gnu.org." >&2;} >++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 >++$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} >+ ac_tool_warned=yes ;; >+ esac >+ CXX=$ac_ct_CXX >+@@ -18763,49 +8670,36 @@ fi >+ fi >+ fi >+ # Provide some information about the compiler. >+-echo "$as_me:$LINENO: checking for C++ compiler version" >&5 >+-ac_compiler=`set X $ac_compile; echo $2` >+-{ (ac_try="$ac_compiler --version >&5" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compiler --version >&5") 2>&5 >+- ac_status=$? >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } >+-{ (ac_try="$ac_compiler -v >&5" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compiler -v >&5") 2>&5 >+- ac_status=$? >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } >+-{ (ac_try="$ac_compiler -V >&5" >++$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 >++set X $ac_compile >++ac_compiler=$2 >++for ac_option in --version -v -V -qversion; do >++ { { ac_try="$ac_compiler $ac_option >&5" >+ case "(($ac_try" in >+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+ *) ac_try_echo=$ac_try;; >+ esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compiler -V >&5") 2>&5 >++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" >++$as_echo "$ac_try_echo"; } >&5 >++ (eval "$ac_compiler $ac_option >&5") 2>conftest.err >+ ac_status=$? >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } >++ if test -s conftest.err; then >++ sed '10a\ >++... rest of stderr output deleted ... >++ 10q' conftest.err >conftest.er1 >++ cat conftest.er1 >&5 >++ fi >++ rm -f conftest.er1 conftest.err >++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 >++ test $ac_status = 0; } >++done >+ >+-{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 >+-echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; } >+-if test "${ac_cv_cxx_compiler_gnu+set}" = set; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 >++$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } >++if ${ac_cv_cxx_compiler_gnu+:} false; then : >++ $as_echo_n "(cached) " >&6 >+ else >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext >+ /* end confdefs.h. */ >+ >+ int >+@@ -18819,54 +8713,34 @@ main () >+ return 0; >+ } >+ _ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_cxx_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >++if ac_fn_cxx_try_compile "$LINENO"; then : >+ ac_compiler_gnu=yes >+ else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_compiler_gnu=no >++ ac_compiler_gnu=no >+ fi >+- >+ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+ ac_cv_cxx_compiler_gnu=$ac_compiler_gnu >+ >+ fi >+-{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 >+-echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; } >+-GXX=`test $ac_compiler_gnu = yes && echo yes` >++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 >++$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } >++if test $ac_compiler_gnu = yes; then >++ GXX=yes >++else >++ GXX= >++fi >+ ac_test_CXXFLAGS=${CXXFLAGS+set} >+ ac_save_CXXFLAGS=$CXXFLAGS >+-{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 >+-echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; } >+-if test "${ac_cv_prog_cxx_g+set}" = set; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 >++$as_echo_n "checking whether $CXX accepts -g... " >&6; } >++if ${ac_cv_prog_cxx_g+:} false; then : >++ $as_echo_n "(cached) " >&6 >+ else >+ ac_save_cxx_werror_flag=$ac_cxx_werror_flag >+ ac_cxx_werror_flag=yes >+ ac_cv_prog_cxx_g=no >+ CXXFLAGS="-g" >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext >+ /* end confdefs.h. */ >+ >+ int >+@@ -18877,34 +8751,11 @@ main () >+ return 0; >+ } >+ _ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_cxx_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >++if ac_fn_cxx_try_compile "$LINENO"; then : >+ ac_cv_prog_cxx_g=yes >+ else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- CXXFLAGS="" >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >++ CXXFLAGS="" >++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext >+ /* end confdefs.h. */ >+ >+ int >+@@ -18915,35 +8766,12 @@ main () >+ return 0; >+ } >+ _ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_cxx_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >+- : >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >++if ac_fn_cxx_try_compile "$LINENO"; then : >+ >+- ac_cxx_werror_flag=$ac_save_cxx_werror_flag >++else >++ ac_cxx_werror_flag=$ac_save_cxx_werror_flag >+ CXXFLAGS="-g" >+- cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext >+ /* end confdefs.h. */ >+ >+ int >+@@ -18954,42 +8782,18 @@ main () >+ return 0; >+ } >+ _ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_cxx_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >++if ac_fn_cxx_try_compile "$LINENO"; then : >+ ac_cv_prog_cxx_g=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- >+ fi >+- >+ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+ fi >+- >+ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+ fi >+- >+ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+ ac_cxx_werror_flag=$ac_save_cxx_werror_flag >+ fi >+-{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 >+-echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; } >++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 >++$as_echo "$ac_cv_prog_cxx_g" >&6; } >+ if test "$ac_test_CXXFLAGS" = set; then >+ CXXFLAGS=$ac_save_CXXFLAGS >+ elif test $ac_cv_prog_cxx_g = yes; then >+@@ -19013,17 +8817,18 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu >+ >+ depcc="$CXX" am_compiler_list= >+ >+-{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 >+-echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; } >+-if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 >++$as_echo_n "checking dependency style of $depcc... " >&6; } >++if ${am_cv_CXX_dependencies_compiler_type+:} false; then : >++ $as_echo_n "(cached) " >&6 >+ else >+ if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then >+ # We make a subdir and do the tests there. Otherwise we can end up >+ # making bogus files that we don't know about and never remove. For >+ # instance it was reported that on HP-UX the gcc test will end up >+- # making a dummy file named `D' -- because `-MD' means `put the output >+- # in D'. >++ # making a dummy file named 'D' -- because '-MD' means "put the output >++ # in D". >++ rm -rf conftest.dir >+ mkdir conftest.dir >+ # Copy depcomp to subdir because otherwise we won't find it if we're >+ # using a relative directory. >+@@ -19041,6 +8846,11 @@ else >+ if test "$am_compiler_list" = ""; then >+ am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` >+ fi >++ am__universal=false >++ case " $depcc " in #( >++ *\ -arch\ *\ -arch\ *) am__universal=true ;; >++ esac >++ >+ for depmode in $am_compiler_list; do >+ # Setup a source with many dependencies, because some compilers >+ # like to wrap large dependency lists on column 80 (with \), and >+@@ -19052,34 +8862,49 @@ else >+ : > sub/conftest.c >+ for i in 1 2 3 4 5 6; do >+ echo '#include "conftst'$i'.h"' >> sub/conftest.c >+- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with >+- # Solaris 8's {/usr,}/bin/sh. >+- touch sub/conftst$i.h >++ # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with >++ # Solaris 10 /bin/sh. >++ echo '/* dummy */' > sub/conftst$i.h >+ done >+ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf >+ >++ # We check with '-c' and '-o' for the sake of the "dashmstdout" >++ # mode. It turns out that the SunPro C++ compiler does not properly >++ # handle '-M -o', and we need to detect this. Also, some Intel >++ # versions had trouble with output in subdirs. >++ am__obj=sub/conftest.${OBJEXT-o} >++ am__minus_obj="-o $am__obj" >+ case $depmode in >++ gcc) >++ # This depmode causes a compiler race in universal mode. >++ test "$am__universal" = false || continue >++ ;; >+ nosideeffect) >+- # after this tag, mechanisms are not by side-effect, so they'll >+- # only be used when explicitly requested >++ # After this tag, mechanisms are not by side-effect, so they'll >++ # only be used when explicitly requested. >+ if test "x$enable_dependency_tracking" = xyes; then >+ continue >+ else >+ break >+ fi >+ ;; >++ msvc7 | msvc7msys | msvisualcpp | msvcmsys) >++ # This compiler won't grok '-c -o', but also, the minuso test has >++ # not run yet. These depmodes are late enough in the game, and >++ # so weak that their functioning should not be impacted. >++ am__obj=conftest.${OBJEXT-o} >++ am__minus_obj= >++ ;; >+ none) break ;; >+ esac >+- # We check with `-c' and `-o' for the sake of the "dashmstdout" >+- # mode. It turns out that the SunPro C++ compiler does not properly >+- # handle `-M -o', and we need to detect this. >+ if depmode=$depmode \ >+- source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ >++ source=sub/conftest.c object=$am__obj \ >+ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ >+- $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ >++ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ >+ >/dev/null 2>conftest.err && >++ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && >+ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && >+- grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && >++ grep $am__obj sub/conftest.Po > /dev/null 2>&1 && >+ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then >+ # icc doesn't choke on unknown options, it will just issue warnings >+ # or remarks (even with -Werror). So we grep stderr for any message >+@@ -19103,13 +8928,11 @@ else >+ fi >+ >+ fi >+-{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5 >+-echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; } >++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 >++$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } >+ CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type >+ >+- >+- >+-if >++ if >+ test "x$enable_dependency_tracking" != xno \ >+ && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then >+ am__fastdepCXX_TRUE= >+@@ -19120,9 +8943,7 @@ else >+ fi >+ >+ >+- cat >>confdefs.h <<\_ACEOF >+-#define GRDRV_ATHEOS 1 >+-_ACEOF >++ $as_echo "#define GRDRV_ATHEOS 1" >>confdefs.h >+ >+ drivers="$drivers ATHEOS" >+ cf_have_atheos=yes >+@@ -19131,15 +8952,11 @@ _ACEOF >+ fi >+ >+ if test -z "$drivers"; then >+- { { echo "$as_me:$LINENO: error: No graphics drivers found." >&5 >+-echo "$as_me: error: No graphics drivers found." >&2;} >+- { (exit 1); exit 1; }; } >++ as_fn_error $? "No graphics drivers found." "$LINENO" 5 >+ fi >+ fi >+ >+- >+- >+-if test "$cf_have_atheos" = yes; then >++ if test "$cf_have_atheos" = yes; then >+ ATHEOS_GR_TRUE= >+ ATHEOS_GR_FALSE='#' >+ else >+@@ -19154,10 +8971,10 @@ test "$have_emx" = yes && LDFLAGS=`echo >+ if test "$disable_freetype" != yes ; then >+ # Extract the first word of "freetype-config", so it can be a program name with args. >+ set dummy freetype-config; ac_word=$2 >+-{ echo "$as_me:$LINENO: checking for $ac_word" >&5 >+-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } >+-if test "${ac_cv_prog_FREETYPE+set}" = set; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 >++$as_echo_n "checking for $ac_word... " >&6; } >++if ${ac_cv_prog_FREETYPE+:} false; then : >++ $as_echo_n "(cached) " >&6 >+ else >+ if test -n "$FREETYPE"; then >+ ac_cv_prog_FREETYPE="$FREETYPE" # Let the user override the test. >+@@ -19167,14 +8984,14 @@ for as_dir in $PATH >+ do >+ IFS=$as_save_IFS >+ test -z "$as_dir" && as_dir=. >+- for ac_exec_ext in '' $ac_executable_extensions; do >+- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then >++ for ac_exec_ext in '' $ac_executable_extensions; do >++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then >+ ac_cv_prog_FREETYPE="yes" >+- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 >++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 >+ break 2 >+ fi >+ done >+-done >++ done >+ IFS=$as_save_IFS >+ >+ test -z "$ac_cv_prog_FREETYPE" && ac_cv_prog_FREETYPE="no" >+@@ -19182,11 +8999,11 @@ fi >+ fi >+ FREETYPE=$ac_cv_prog_FREETYPE >+ if test -n "$FREETYPE"; then >+- { echo "$as_me:$LINENO: result: $FREETYPE" >&5 >+-echo "${ECHO_T}$FREETYPE" >&6; } >++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FREETYPE" >&5 >++$as_echo "$FREETYPE" >&6; } >+ else >+- { echo "$as_me:$LINENO: result: no" >&5 >+-echo "${ECHO_T}no" >&6; } >++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 >++$as_echo "no" >&6; } >+ fi >+ >+ >+@@ -19194,23 +9011,17 @@ fi >+ if test "$FREETYPE" != "no"; then >+ CFLAGS="$CFLAGS `freetype-config --cflags`" >+ LIBS="$LIBS `freetype-config --libs`" >+- cat >>confdefs.h <<\_ACEOF >+-#define HAVE_FREETYPE 1 >+-_ACEOF >++ $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h >+ >+ fi >+ fi >+ >+ # Check whether --enable-globhist was given. >+-if test "${enable_globhist+set}" = set; then >+- enableval=$enable_globhist; if test "$enableval" = yes; then cat >>confdefs.h <<\_ACEOF >+-#define GLOBHIST 1 >+-_ACEOF >++if test "${enable_globhist+set}" = set; then : >++ enableval=$enable_globhist; if test "$enableval" = yes; then $as_echo "#define GLOBHIST 1" >>confdefs.h >+ fi >+ else >+- cat >>confdefs.h <<\_ACEOF >+-#define GLOBHIST 1 >+-_ACEOF >++ $as_echo "#define GLOBHIST 1" >>confdefs.h >+ >+ fi >+ >+@@ -19218,151 +9029,23 @@ fi >+ hm_enabled_backtrace=1 >+ >+ # Check whether --enable-backtrace was given. >+-if test "${enable_backtrace+set}" = set; then >++if test "${enable_backtrace+set}" = set; then : >+ enableval=$enable_backtrace; if test "$enableval" != yes; then >+ hm_enabled_backtrace=0 >+ fi >+ fi >+ >+ >+-{ echo "$as_me:$LINENO: checking for backtrace displaying support" >&5 >+-echo $ECHO_N "checking for backtrace displaying support... $ECHO_C" >&6; } >++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for backtrace displaying support" >&5 >++$as_echo_n "checking for backtrace displaying support... " >&6; } >+ >+ if test "$hm_enabled_backtrace"; then >+- >+-for ac_header in execinfo.h >+-do >+-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- { echo "$as_me:$LINENO: checking for $ac_header" >&5 >+-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-fi >+-ac_res=`eval echo '${'$as_ac_Header'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+-else >+- # Is the header compilable? >+-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 >+-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-$ac_includes_default >+-#include <$ac_header> >+-_ACEOF >+-rm -f conftest.$ac_objext >+-if { (ac_try="$ac_compile" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_compile") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } && { >+- test -z "$ac_c_werror_flag" || >+- test ! -s conftest.err >+- } && test -s conftest.$ac_objext; then >+- ac_header_compiler=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_header_compiler=no >+-fi >+- >+-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 >+-echo "${ECHO_T}$ac_header_compiler" >&6; } >+- >+-# Is the header present? >+-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 >+-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } >+-cat >conftest.$ac_ext <<_ACEOF >+-/* confdefs.h. */ >+-_ACEOF >+-cat confdefs.h >>conftest.$ac_ext >+-cat >>conftest.$ac_ext <<_ACEOF >+-/* end confdefs.h. */ >+-#include <$ac_header> >+-_ACEOF >+-if { (ac_try="$ac_cpp conftest.$ac_ext" >+-case "(($ac_try" in >+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; >+- *) ac_try_echo=$ac_try;; >+-esac >+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 >+- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 >+- ac_status=$? >+- grep -v '^ *+' conftest.er1 >conftest.err >+- rm -f conftest.er1 >+- cat conftest.err >&5 >+- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+- (exit $ac_status); } >/dev/null && { >+- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || >+- test ! -s conftest.err >+- }; then >+- ac_header_preproc=yes >+-else >+- echo "$as_me: failed program was:" >&5 >+-sed 's/^/| /' conftest.$ac_ext >&5 >+- >+- ac_header_preproc=no >+-fi >+- >+-rm -f conftest.err conftest.$ac_ext >+-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 >+-echo "${ECHO_T}$ac_header_preproc" >&6; } >+- >+-# So? What about this header? >+-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in >+- yes:no: ) >+- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 >+-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 >+-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} >+- ac_header_preproc=yes >+- ;; >+- no:yes:* ) >+- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 >+-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 >+-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 >+-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 >+-echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 >+-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} >+- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 >+-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} >+- >+- ;; >+-esac >+-{ echo "$as_me:$LINENO: checking for $ac_header" >&5 >+-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } >+-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then >+- echo $ECHO_N "(cached) $ECHO_C" >&6 >+-else >+- eval "$as_ac_Header=\$ac_header_preproc" >+-fi >+-ac_res=`eval echo '${'$as_ac_Header'}'` >+- { echo "$as_me:$LINENO: result: $ac_res" >&5 >+-echo "${ECHO_T}$ac_res" >&6; } >+- >+-fi >+-if test `eval echo '${'$as_ac_Header'}'` = yes; then >++ for ac_header in execinfo.h >++do : >++ ac_fn_c_check_header_mongrel "$LINENO" "execinfo.h" "ac_cv_header_execinfo_h" "$ac_includes_default" >++if test "x$ac_cv_header_execinfo_h" = xyes; then : >+ cat >>confdefs.h <<_ACEOF >+-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 >++#define HAVE_EXECINFO_H 1 >+ _ACEOF >+ have_execinfo=1 >+ else >+@@ -19373,27 +9056,21 @@ done >+ >+ # possible checks for other system-specific means go here >+ if test "$have_execinfo"; then >+- cat >>confdefs.h <<\_ACEOF >+-#define BACKTRACE 1 >+-_ACEOF >++ $as_echo "#define BACKTRACE 1" >>confdefs.h >+ >+ fi >+ else >+- { echo "$as_me:$LINENO: result: no" >&5 >+-echo "${ECHO_T}no" >&6; } >++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 >++$as_echo "no" >&6; } >+ fi >+ >+ >+ # Check whether --enable-gamma-correction was given. >+-if test "${enable_gamma_correction+set}" = set; then >+- enableval=$enable_gamma_correction; if test "$enableval" = yes; then cat >>confdefs.h <<\_ACEOF >+-#define USE_GAMMA_CORRECTION 1 >+-_ACEOF >++if test "${enable_gamma_correction+set}" = set; then : >++ enableval=$enable_gamma_correction; if test "$enableval" = yes; then $as_echo "#define USE_GAMMA_CORRECTION 1" >>confdefs.h >+ fi >+ else >+- cat >>confdefs.h <<\_ACEOF >+-#define USE_GAMMA_CORRECTION 1 >+-_ACEOF >++ $as_echo "#define USE_GAMMA_CORRECTION 1" >>confdefs.h >+ >+ fi >+ >+@@ -19427,12 +9104,13 @@ _ACEOF >+ case $ac_val in #( >+ *${as_nl}*) >+ case $ac_var in #( >+- *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 >+-echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; >++ *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 >++$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; >+ esac >+ case $ac_var in #( >+ _ | IFS | as_nl) ;; #( >+- *) $as_unset $ac_var ;; >++ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( >++ *) { eval $ac_var=; unset $ac_var;} ;; >+ esac ;; >+ esac >+ done >+@@ -19440,8 +9118,8 @@ echo "$as_me: WARNING: Cache variable $a >+ (set) 2>&1 | >+ case $as_nl`(ac_space=' '; set) 2>&1` in #( >+ *${as_nl}ac_space=\ *) >+- # `set' does not quote correctly, so add quotes (double-quote >+- # substitution turns \\\\ into \\, and sed turns \\ into \). >++ # `set' does not quote correctly, so add quotes: double-quote >++ # substitution turns \\\\ into \\, and sed turns \\ into \. >+ sed -n \ >+ "s/'/'\\\\''/g; >+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" >+@@ -19463,13 +9141,24 @@ echo "$as_me: WARNING: Cache variable $a >+ :end' >>confcache >+ if diff "$cache_file" confcache >/dev/null 2>&1; then :; else >+ if test -w "$cache_file"; then >+- test "x$cache_file" != "x/dev/null" && >+- { echo "$as_me:$LINENO: updating cache $cache_file" >&5 >+-echo "$as_me: updating cache $cache_file" >&6;} >+- cat confcache >$cache_file >++ if test "x$cache_file" != "x/dev/null"; then >++ { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 >++$as_echo "$as_me: updating cache $cache_file" >&6;} >++ if test ! -f "$cache_file" || test -h "$cache_file"; then >++ cat confcache >"$cache_file" >++ else >++ case $cache_file in #( >++ */* | ?:*) >++ mv -f confcache "$cache_file"$$ && >++ mv -f "$cache_file"$$ "$cache_file" ;; #( >++ *) >++ mv -f confcache "$cache_file" ;; >++ esac >++ fi >++ fi >+ else >+- { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 >+-echo "$as_me: not updating unwritable cache $cache_file" >&6;} >++ { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 >++$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} >+ fi >+ fi >+ rm -f confcache >+@@ -19485,66 +9174,66 @@ ac_ltlibobjs= >+ for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue >+ # 1. Remove the extension, and $U if already installed. >+ ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' >+- ac_i=`echo "$ac_i" | sed "$ac_script"` >++ ac_i=`$as_echo "$ac_i" | sed "$ac_script"` >+ # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR >+ # will be set to the directory where LIBOBJS objects are built. >+- ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" >+- ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' >++ as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" >++ as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' >+ done >+ LIBOBJS=$ac_libobjs >+ >+ LTLIBOBJS=$ac_ltlibobjs >+ >+ >++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 >++$as_echo_n "checking that generated files are newer than configure... " >&6; } >++ if test -n "$am_sleep_pid"; then >++ # Hide warnings about reused PIDs. >++ wait $am_sleep_pid 2>/dev/null >++ fi >++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 >++$as_echo "done" >&6; } >++ if test -n "$EXEEXT"; then >++ am__EXEEXT_TRUE= >++ am__EXEEXT_FALSE='#' >++else >++ am__EXEEXT_TRUE='#' >++ am__EXEEXT_FALSE= >++fi >++ >+ if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then >+- { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. >+-Usually this means the macro was only invoked conditionally." >&5 >+-echo "$as_me: error: conditional \"AMDEP\" was never defined. >+-Usually this means the macro was only invoked conditionally." >&2;} >+- { (exit 1); exit 1; }; } >++ as_fn_error $? "conditional \"AMDEP\" was never defined. >++Usually this means the macro was only invoked conditionally." "$LINENO" 5 >+ fi >+ if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then >+- { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. >+-Usually this means the macro was only invoked conditionally." >&5 >+-echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. >+-Usually this means the macro was only invoked conditionally." >&2;} >+- { (exit 1); exit 1; }; } >++ as_fn_error $? "conditional \"am__fastdepCC\" was never defined. >++Usually this means the macro was only invoked conditionally." "$LINENO" 5 >+ fi >+ if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then >+- { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined. >+-Usually this means the macro was only invoked conditionally." >&5 >+-echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined. >+-Usually this means the macro was only invoked conditionally." >&2;} >+- { (exit 1); exit 1; }; } >++ as_fn_error $? "conditional \"am__fastdepCXX\" was never defined. >++Usually this means the macro was only invoked conditionally." "$LINENO" 5 >+ fi >+ if test -z "${GRAPHICS_TRUE}" && test -z "${GRAPHICS_FALSE}"; then >+- { { echo "$as_me:$LINENO: error: conditional \"GRAPHICS\" was never defined. >+-Usually this means the macro was only invoked conditionally." >&5 >+-echo "$as_me: error: conditional \"GRAPHICS\" was never defined. >+-Usually this means the macro was only invoked conditionally." >&2;} >+- { (exit 1); exit 1; }; } >++ as_fn_error $? "conditional \"GRAPHICS\" was never defined. >++Usually this means the macro was only invoked conditionally." "$LINENO" 5 >+ fi >+ if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then >+- { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined. >+-Usually this means the macro was only invoked conditionally." >&5 >+-echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined. >+-Usually this means the macro was only invoked conditionally." >&2;} >+- { (exit 1); exit 1; }; } >++ as_fn_error $? "conditional \"am__fastdepCXX\" was never defined. >++Usually this means the macro was only invoked conditionally." "$LINENO" 5 >+ fi >+ if test -z "${ATHEOS_GR_TRUE}" && test -z "${ATHEOS_GR_FALSE}"; then >+- { { echo "$as_me:$LINENO: error: conditional \"ATHEOS_GR\" was never defined. >+-Usually this means the macro was only invoked conditionally." >&5 >+-echo "$as_me: error: conditional \"ATHEOS_GR\" was never defined. >+-Usually this means the macro was only invoked conditionally." >&2;} >+- { (exit 1); exit 1; }; } >++ as_fn_error $? "conditional \"ATHEOS_GR\" was never defined. >++Usually this means the macro was only invoked conditionally." "$LINENO" 5 >+ fi >+ >+-: ${CONFIG_STATUS=./config.status} >++: "${CONFIG_STATUS=./config.status}" >++ac_write_fail=0 >+ ac_clean_files_save=$ac_clean_files >+ ac_clean_files="$ac_clean_files $CONFIG_STATUS" >+-{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 >+-echo "$as_me: creating $CONFIG_STATUS" >&6;} >+-cat >$CONFIG_STATUS <<_ACEOF >++{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 >++$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} >++as_write_fail=0 >++cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 >+ #! $SHELL >+ # Generated by $as_me. >+ # Run this file to recreate the current configuration. >+@@ -19554,59 +9243,79 @@ cat >$CONFIG_STATUS <<_ACEOF >+ debug=false >+ ac_cs_recheck=false >+ ac_cs_silent=false >+-SHELL=\${CONFIG_SHELL-$SHELL} >+-_ACEOF >+ >+-cat >>$CONFIG_STATUS <<\_ACEOF >+-## --------------------- ## >+-## M4sh Initialization. ## >+-## --------------------- ## >++SHELL=\${CONFIG_SHELL-$SHELL} >++export SHELL >++_ASEOF >++cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 >++## -------------------- ## >++## M4sh Initialization. ## >++## -------------------- ## >+ >+ # Be more Bourne compatible >+ DUALCASE=1; export DUALCASE # for MKS sh >+-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then >++if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : >+ emulate sh >+ NULLCMD=: >+- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which >++ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which >+ # is contrary to our usage. Disable this feature. >+ alias -g '${1+"$@"}'='"$@"' >+ setopt NO_GLOB_SUBST >+ else >+- case `(set -o) 2>/dev/null` in >+- *posix*) set -o posix ;; >++ case `(set -o) 2>/dev/null` in #( >++ *posix*) : >++ set -o posix ;; #( >++ *) : >++ ;; >+ esac >+- >+ fi >+ >+ >+- >+- >+-# PATH needs CR >+-# Avoid depending upon Character Ranges. >+-as_cr_letters='abcdefghijklmnopqrstuvwxyz' >+-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' >+-as_cr_Letters=$as_cr_letters$as_cr_LETTERS >+-as_cr_digits='0123456789' >+-as_cr_alnum=$as_cr_Letters$as_cr_digits >+- >+-# The user is always right. >+-if test "${PATH_SEPARATOR+set}" != set; then >+- echo "#! /bin/sh" >conf$$.sh >+- echo "exit 0" >>conf$$.sh >+- chmod +x conf$$.sh >+- if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then >+- PATH_SEPARATOR=';' >++as_nl=' >++' >++export as_nl >++# Printing a long string crashes Solaris 7 /usr/bin/printf. >++as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' >++as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo >++as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo >++# Prefer a ksh shell builtin over an external printf program on Solaris, >++# but without wasting forks for bash or zsh. >++if test -z "$BASH_VERSION$ZSH_VERSION" \ >++ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then >++ as_echo='print -r --' >++ as_echo_n='print -rn --' >++elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then >++ as_echo='printf %s\n' >++ as_echo_n='printf %s' >++else >++ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then >++ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' >++ as_echo_n='/usr/ucb/echo -n' >+ else >+- PATH_SEPARATOR=: >++ as_echo_body='eval expr "X$1" : "X\\(.*\\)"' >++ as_echo_n_body='eval >++ arg=$1; >++ case $arg in #( >++ *"$as_nl"*) >++ expr "X$arg" : "X\\(.*\\)$as_nl"; >++ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; >++ esac; >++ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" >++ ' >++ export as_echo_n_body >++ as_echo_n='sh -c $as_echo_n_body as_echo' >+ fi >+- rm -f conf$$.sh >++ export as_echo_body >++ as_echo='sh -c $as_echo_body as_echo' >+ fi >+ >+-# Support unset when possible. >+-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then >+- as_unset=unset >+-else >+- as_unset=false >++# The user is always right. >++if test "${PATH_SEPARATOR+set}" != set; then >++ PATH_SEPARATOR=: >++ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { >++ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || >++ PATH_SEPARATOR=';' >++ } >+ fi >+ >+ >+@@ -19615,20 +9324,19 @@ fi >+ # there to prevent editors from complaining about space-tab. >+ # (If _AS_PATH_WALK were called with IFS unset, it would disable word >+ # splitting by setting IFS to empty value.) >+-as_nl=' >+-' >+ IFS=" "" $as_nl" >+ >+ # Find who we are. Look in the path if we contain no directory separator. >+-case $0 in >++as_myself= >++case $0 in #(( >+ *[\\/]* ) as_myself=$0 ;; >+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR >+ for as_dir in $PATH >+ do >+ IFS=$as_save_IFS >+ test -z "$as_dir" && as_dir=. >+- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break >+-done >++ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break >++ done >+ IFS=$as_save_IFS >+ >+ ;; >+@@ -19639,32 +9347,111 @@ if test "x$as_myself" = x; then >+ as_myself=$0 >+ fi >+ if test ! -f "$as_myself"; then >+- echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 >+- { (exit 1); exit 1; } >++ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 >++ exit 1 >+ fi >+ >+-# Work around bugs in pre-3.0 UWIN ksh. >+-for as_var in ENV MAIL MAILPATH >+-do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var >++# Unset variables that we do not need and which cause bugs (e.g. in >++# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" >++# suppresses any "Segmentation fault" message there. '((' could >++# trigger a bug in pdksh 5.2.14. >++for as_var in BASH_ENV ENV MAIL MAILPATH >++do eval test x\${$as_var+set} = xset \ >++ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : >+ done >+ PS1='$ ' >+ PS2='> ' >+ PS4='+ ' >+ >+ # NLS nuisances. >+-for as_var in \ >+- LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ >+- LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ >+- LC_TELEPHONE LC_TIME >+-do >+- if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then >+- eval $as_var=C; export $as_var >+- else >+- ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var >++LC_ALL=C >++export LC_ALL >++LANGUAGE=C >++export LANGUAGE >++ >++# CDPATH. >++(unset CDPATH) >/dev/null 2>&1 && unset CDPATH >++ >++ >++# as_fn_error STATUS ERROR [LINENO LOG_FD] >++# ---------------------------------------- >++# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are >++# provided, also output the error to LOG_FD, referencing LINENO. Then exit the >++# script with STATUS, using 1 if that was 0. >++as_fn_error () >++{ >++ as_status=$1; test $as_status -eq 0 && as_status=1 >++ if test "$4"; then >++ as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack >++ $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 >+ fi >+-done >++ $as_echo "$as_me: error: $2" >&2 >++ as_fn_exit $as_status >++} # as_fn_error >++ >++ >++# as_fn_set_status STATUS >++# ----------------------- >++# Set $? to STATUS, without forking. >++as_fn_set_status () >++{ >++ return $1 >++} # as_fn_set_status >++ >++# as_fn_exit STATUS >++# ----------------- >++# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. >++as_fn_exit () >++{ >++ set +e >++ as_fn_set_status $1 >++ exit $1 >++} # as_fn_exit >++ >++# as_fn_unset VAR >++# --------------- >++# Portably unset VAR. >++as_fn_unset () >++{ >++ { eval $1=; unset $1;} >++} >++as_unset=as_fn_unset >++# as_fn_append VAR VALUE >++# ---------------------- >++# Append the text in VALUE to the end of the definition contained in VAR. Take >++# advantage of any shell optimizations that allow amortized linear growth over >++# repeated appends, instead of the typical quadratic growth present in naive >++# implementations. >++if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : >++ eval 'as_fn_append () >++ { >++ eval $1+=\$2 >++ }' >++else >++ as_fn_append () >++ { >++ eval $1=\$$1\$2 >++ } >++fi # as_fn_append >++ >++# as_fn_arith ARG... >++# ------------------ >++# Perform arithmetic evaluation on the ARGs, and store the result in the >++# global $as_val. Take advantage of shells that can avoid forks. The arguments >++# must be portable across $(()) and expr. >++if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : >++ eval 'as_fn_arith () >++ { >++ as_val=$(( $* )) >++ }' >++else >++ as_fn_arith () >++ { >++ as_val=`expr "$@" || test $? -eq 1` >++ } >++fi # as_fn_arith >++ >+ >+-# Required to use basename. >+ if expr a : '\(a\)' >/dev/null 2>&1 && >+ test "X`expr 00001 : '.*\(...\)'`" = X001; then >+ as_expr=expr >+@@ -19678,13 +9465,17 @@ else >+ as_basename=false >+ fi >+ >++if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then >++ as_dirname=dirname >++else >++ as_dirname=false >++fi >+ >+-# Name of the executable. >+ as_me=`$as_basename -- "$0" || >+ $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ >+ X"$0" : 'X\(//\)$' \| \ >+ X"$0" : 'X\(/\)' \| . 2>/dev/null || >+-echo X/"$0" | >++$as_echo X/"$0" | >+ sed '/^.*\/\([^/][^/]*\)\/*$/{ >+ s//\1/ >+ q >+@@ -19699,131 +9490,118 @@ echo X/"$0" | >+ } >+ s/.*/./; q'` >+ >+-# CDPATH. >+-$as_unset CDPATH >+- >+- >+- >+- as_lineno_1=$LINENO >+- as_lineno_2=$LINENO >+- test "x$as_lineno_1" != "x$as_lineno_2" && >+- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { >+- >+- # Create $as_me.lineno as a copy of $as_myself, but with $LINENO >+- # uniformly replaced by the line number. The first 'sed' inserts a >+- # line-number line after each line using $LINENO; the second 'sed' >+- # does the real work. The second script uses 'N' to pair each >+- # line-number line with the line containing $LINENO, and appends >+- # trailing '-' during substitution so that $LINENO is not a special >+- # case at line end. >+- # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the >+- # scripts with optimization help from Paolo Bonzini. Blame Lee >+- # E. McMahon (1931-1989) for sed's syntax. :-) >+- sed -n ' >+- p >+- /[$]LINENO/= >+- ' <$as_myself | >+- sed ' >+- s/[$]LINENO.*/&-/ >+- t lineno >+- b >+- :lineno >+- N >+- :loop >+- s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ >+- t loop >+- s/-\n.*// >+- ' >$as_me.lineno && >+- chmod +x "$as_me.lineno" || >+- { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 >+- { (exit 1); exit 1; }; } >+- >+- # Don't try to exec as it changes $[0], causing all sort of problems >+- # (the dirname of $[0] is not the place where we might find the >+- # original and so on. Autoconf is especially sensitive to this). >+- . "./$as_me.lineno" >+- # Exit status is that of the last command. >+- exit >+-} >+- >+- >+-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then >+- as_dirname=dirname >+-else >+- as_dirname=false >+-fi >++# Avoid depending upon Character Ranges. >++as_cr_letters='abcdefghijklmnopqrstuvwxyz' >++as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' >++as_cr_Letters=$as_cr_letters$as_cr_LETTERS >++as_cr_digits='0123456789' >++as_cr_alnum=$as_cr_Letters$as_cr_digits >+ >+ ECHO_C= ECHO_N= ECHO_T= >+-case `echo -n x` in >++case `echo -n x` in #((((( >+ -n*) >+- case `echo 'x\c'` in >++ case `echo 'xy\c'` in >+ *c*) ECHO_T=' ';; # ECHO_T is single tab character. >+- *) ECHO_C='\c';; >++ xy) ECHO_C='\c';; >++ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null >++ ECHO_T=' ';; >+ esac;; >+ *) >+ ECHO_N='-n';; >+ esac >+ >+-if expr a : '\(a\)' >/dev/null 2>&1 && >+- test "X`expr 00001 : '.*\(...\)'`" = X001; then >+- as_expr=expr >+-else >+- as_expr=false >+-fi >+- >+ rm -f conf$$ conf$$.exe conf$$.file >+ if test -d conf$$.dir; then >+ rm -f conf$$.dir/conf$$.file >+ else >+ rm -f conf$$.dir >+- mkdir conf$$.dir >++ mkdir conf$$.dir 2>/dev/null >+ fi >+-echo >conf$$.file >+-if ln -s conf$$.file conf$$ 2>/dev/null; then >+- as_ln_s='ln -s' >+- # ... but there are two gotchas: >+- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. >+- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. >+- # In both cases, we have to default to `cp -p'. >+- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || >+- as_ln_s='cp -p' >+-elif ln conf$$.file conf$$ 2>/dev/null; then >+- as_ln_s=ln >++if (echo >conf$$.file) 2>/dev/null; then >++ if ln -s conf$$.file conf$$ 2>/dev/null; then >++ as_ln_s='ln -s' >++ # ... but there are two gotchas: >++ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. >++ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. >++ # In both cases, we have to default to `cp -pR'. >++ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || >++ as_ln_s='cp -pR' >++ elif ln conf$$.file conf$$ 2>/dev/null; then >++ as_ln_s=ln >++ else >++ as_ln_s='cp -pR' >++ fi >+ else >+- as_ln_s='cp -p' >++ as_ln_s='cp -pR' >+ fi >+ rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file >+ rmdir conf$$.dir 2>/dev/null >+ >++ >++# as_fn_mkdir_p >++# ------------- >++# Create "$as_dir" as a directory, including parents if necessary. >++as_fn_mkdir_p () >++{ >++ >++ case $as_dir in #( >++ -*) as_dir=./$as_dir;; >++ esac >++ test -d "$as_dir" || eval $as_mkdir_p || { >++ as_dirs= >++ while :; do >++ case $as_dir in #( >++ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( >++ *) as_qdir=$as_dir;; >++ esac >++ as_dirs="'$as_qdir' $as_dirs" >++ as_dir=`$as_dirname -- "$as_dir" || >++$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ >++ X"$as_dir" : 'X\(//\)[^/]' \| \ >++ X"$as_dir" : 'X\(//\)$' \| \ >++ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || >++$as_echo X"$as_dir" | >++ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ >++ s//\1/ >++ q >++ } >++ /^X\(\/\/\)[^/].*/{ >++ s//\1/ >++ q >++ } >++ /^X\(\/\/\)$/{ >++ s//\1/ >++ q >++ } >++ /^X\(\/\).*/{ >++ s//\1/ >++ q >++ } >++ s/.*/./; q'` >++ test -d "$as_dir" && break >++ done >++ test -z "$as_dirs" || eval "mkdir $as_dirs" >++ } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" >++ >++ >++} # as_fn_mkdir_p >+ if mkdir -p . 2>/dev/null; then >+- as_mkdir_p=: >++ as_mkdir_p='mkdir -p "$as_dir"' >+ else >+ test -d ./-p && rmdir ./-p >+ as_mkdir_p=false >+ fi >+ >+-if test -x / >/dev/null 2>&1; then >+- as_test_x='test -x' >+-else >+- if ls -dL / >/dev/null 2>&1; then >+- as_ls_L_option=L >+- else >+- as_ls_L_option= >+- fi >+- as_test_x=' >+- eval sh -c '\'' >+- if test -d "$1"; then >+- test -d "$1/."; >+- else >+- case $1 in >+- -*)set "./$1";; >+- esac; >+- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in >+- ???[sx]*):;;*)false;;esac;fi >+- '\'' sh >+- ' >+-fi >+-as_executable_p=$as_test_x >++ >++# as_fn_executable_p FILE >++# ----------------------- >++# Test if FILE is an executable regular file. >++as_fn_executable_p () >++{ >++ test -f "$1" && test -x "$1" >++} # as_fn_executable_p >++as_test_x='test -x' >++as_executable_p=as_fn_executable_p >+ >+ # Sed expression to map a string onto a valid CPP name. >+ as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" >+@@ -19833,13 +9611,19 @@ as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr >+ >+ >+ exec 6>&1 >++## ----------------------------------- ## >++## Main body of $CONFIG_STATUS script. ## >++## ----------------------------------- ## >++_ASEOF >++test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 >+ >+-# Save the log message, to keep $[0] and so on meaningful, and to >++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 >++# Save the log message, to keep $0 and so on meaningful, and to >+ # report actual input values of CONFIG_FILES etc. instead of their >+ # values after options handling. >+ ac_log=" >+ This file was extended by $as_me, which was >+-generated by GNU Autoconf 2.61. Invocation command line was >++generated by GNU Autoconf 2.69. Invocation command line was >+ >+ CONFIG_FILES = $CONFIG_FILES >+ CONFIG_HEADERS = $CONFIG_HEADERS >+@@ -19852,7 +9636,16 @@ on `(hostname || uname -n) 2>/dev/null | >+ >+ _ACEOF >+ >+-cat >>$CONFIG_STATUS <<_ACEOF >++case $ac_config_files in *" >++"*) set x $ac_config_files; shift; ac_config_files=$*;; >++esac >++ >++case $ac_config_headers in *" >++"*) set x $ac_config_headers; shift; ac_config_headers=$*;; >++esac >++ >++ >++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 >+ # Files that config.status was made for. >+ config_files="$ac_config_files" >+ config_headers="$ac_config_headers" >+@@ -19860,22 +9653,25 @@ config_commands="$ac_config_commands" >+ >+ _ACEOF >+ >+-cat >>$CONFIG_STATUS <<\_ACEOF >++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 >+ ac_cs_usage="\ >+-\`$as_me' instantiates files from templates according to the >+-current configuration. >++\`$as_me' instantiates files and other configuration actions >++from templates according to the current configuration. Unless the files >++and actions are specified as TAGs, all are instantiated by default. >+ >+-Usage: $0 [OPTIONS] [FILE]... >++Usage: $0 [OPTION]... [TAG]... >+ >+ -h, --help print this help, then exit >+ -V, --version print version number and configuration settings, then exit >+- -q, --quiet do not print progress messages >++ --config print configuration, then exit >++ -q, --quiet, --silent >++ do not print progress messages >+ -d, --debug don't remove temporary files >+ --recheck update $as_me by reconfiguring in the same conditions >+- --file=FILE[:TEMPLATE] >+- instantiate the configuration file FILE >+- --header=FILE[:TEMPLATE] >+- instantiate the configuration header FILE >++ --file=FILE[:TEMPLATE] >++ instantiate the configuration file FILE >++ --header=FILE[:TEMPLATE] >++ instantiate the configuration header FILE >+ >+ Configuration files: >+ $config_files >+@@ -19886,36 +9682,44 @@ $config_headers >+ Configuration commands: >+ $config_commands >+ >+-Report bugs to <bug-autoconf@gnu.org>." >++Report bugs to the package provider." >+ >+ _ACEOF >+-cat >>$CONFIG_STATUS <<_ACEOF >++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 >++ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" >+ ac_cs_version="\\ >+ config.status >+-configured by $0, generated by GNU Autoconf 2.61, >+- with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" >++configured by $0, generated by GNU Autoconf 2.69, >++ with options \\"\$ac_cs_config\\" >+ >+-Copyright (C) 2006 Free Software Foundation, Inc. >++Copyright (C) 2012 Free Software Foundation, Inc. >+ This config.status script is free software; the Free Software Foundation >+ gives unlimited permission to copy, distribute and modify it." >+ >+ ac_pwd='$ac_pwd' >+ srcdir='$srcdir' >+ INSTALL='$INSTALL' >++MKDIR_P='$MKDIR_P' >++AWK='$AWK' >++test -n "\$AWK" || AWK=awk >+ _ACEOF >+ >+-cat >>$CONFIG_STATUS <<\_ACEOF >+-# If no file are specified by the user, then we need to provide default >+-# value. By we need to know if files were specified by the user. >++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 >++# The default lists apply if the user does not specify any file. >+ ac_need_defaults=: >+ while test $# != 0 >+ do >+ case $1 in >+- --*=*) >++ --*=?*) >+ ac_option=`expr "X$1" : 'X\([^=]*\)='` >+ ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` >+ ac_shift=: >+ ;; >++ --*=) >++ ac_option=`expr "X$1" : 'X\([^=]*\)='` >++ ac_optarg= >++ ac_shift=: >++ ;; >+ *) >+ ac_option=$1 >+ ac_optarg=$2 >+@@ -19928,34 +9732,41 @@ do >+ -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) >+ ac_cs_recheck=: ;; >+ --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) >+- echo "$ac_cs_version"; exit ;; >++ $as_echo "$ac_cs_version"; exit ;; >++ --config | --confi | --conf | --con | --co | --c ) >++ $as_echo "$ac_cs_config"; exit ;; >+ --debug | --debu | --deb | --de | --d | -d ) >+ debug=: ;; >+ --file | --fil | --fi | --f ) >+ $ac_shift >+- CONFIG_FILES="$CONFIG_FILES $ac_optarg" >++ case $ac_optarg in >++ *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; >++ '') as_fn_error $? "missing file argument" ;; >++ esac >++ as_fn_append CONFIG_FILES " '$ac_optarg'" >+ ac_need_defaults=false;; >+ --header | --heade | --head | --hea ) >+ $ac_shift >+- CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" >++ case $ac_optarg in >++ *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; >++ esac >++ as_fn_append CONFIG_HEADERS " '$ac_optarg'" >+ ac_need_defaults=false;; >+ --he | --h) >+ # Conflict between --help and --header >+- { echo "$as_me: error: ambiguous option: $1 >+-Try \`$0 --help' for more information." >&2 >+- { (exit 1); exit 1; }; };; >++ as_fn_error $? "ambiguous option: \`$1' >++Try \`$0 --help' for more information.";; >+ --help | --hel | -h ) >+- echo "$ac_cs_usage"; exit ;; >++ $as_echo "$ac_cs_usage"; exit ;; >+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \ >+ | -silent | --silent | --silen | --sile | --sil | --si | --s) >+ ac_cs_silent=: ;; >+ >+ # This is an error. >+- -*) { echo "$as_me: error: unrecognized option: $1 >+-Try \`$0 --help' for more information." >&2 >+- { (exit 1); exit 1; }; } ;; >++ -*) as_fn_error $? "unrecognized option: \`$1' >++Try \`$0 --help' for more information." ;; >+ >+- *) ac_config_targets="$ac_config_targets $1" >++ *) as_fn_append ac_config_targets " $1" >+ ac_need_defaults=false ;; >+ >+ esac >+@@ -19970,27 +9781,29 @@ if $ac_cs_silent; then >+ fi >+ >+ _ACEOF >+-cat >>$CONFIG_STATUS <<_ACEOF >++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 >+ if \$ac_cs_recheck; then >+- echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 >+- CONFIG_SHELL=$SHELL >++ set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion >++ shift >++ \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 >++ CONFIG_SHELL='$SHELL' >+ export CONFIG_SHELL >+- exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion >++ exec "\$@" >+ fi >+ >+ _ACEOF >+-cat >>$CONFIG_STATUS <<\_ACEOF >++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 >+ exec 5>>config.log >+ { >+ echo >+ sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX >+ ## Running $as_me. ## >+ _ASBOX >+- echo "$ac_log" >++ $as_echo "$ac_log" >+ } >&5 >+ >+ _ACEOF >+-cat >>$CONFIG_STATUS <<_ACEOF >++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 >+ # >+ # INIT-COMMANDS >+ # >+@@ -19998,7 +9811,7 @@ AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac >+ >+ _ACEOF >+ >+-cat >>$CONFIG_STATUS <<\_ACEOF >++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 >+ >+ # Handling of arguments. >+ for ac_config_target in $ac_config_targets >+@@ -20011,9 +9824,7 @@ do >+ "js/Makefile") CONFIG_FILES="$CONFIG_FILES js/Makefile" ;; >+ "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;; >+ >+- *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 >+-echo "$as_me: error: invalid argument: $ac_config_target" >&2;} >+- { (exit 1); exit 1; }; };; >++ *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; >+ esac >+ done >+ >+@@ -20036,204 +9847,302 @@ fi >+ # after its creation but before its name has been assigned to `$tmp'. >+ $debug || >+ { >+- tmp= >++ tmp= ac_tmp= >+ trap 'exit_status=$? >+- { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status >++ : "${ac_tmp:=$tmp}" >++ { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status >+ ' 0 >+- trap '{ (exit 1); exit 1; }' 1 2 13 15 >++ trap 'as_fn_exit 1' 1 2 13 15 >+ } >+ # Create a (secure) tmp directory for tmp files. >+ >+ { >+ tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && >+- test -n "$tmp" && test -d "$tmp" >++ test -d "$tmp" >+ } || >+ { >+ tmp=./conf$$-$RANDOM >+ (umask 077 && mkdir "$tmp") >+-} || >+-{ >+- echo "$me: cannot create a temporary directory in ." >&2 >+- { (exit 1); exit 1; } >+-} >+- >+-# >+-# Set up the sed scripts for CONFIG_FILES section. >+-# >++} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 >++ac_tmp=$tmp >+ >+-# No need to generate the scripts if there are no CONFIG_FILES. >+-# This happens for instance when ./config.status config.h >++# Set up the scripts for CONFIG_FILES section. >++# No need to generate them if there are no CONFIG_FILES. >++# This happens for instance with `./config.status config.h'. >+ if test -n "$CONFIG_FILES"; then >+ >+-_ACEOF >+ >++ac_cr=`echo X | tr X '\015'` >++# On cygwin, bash can eat \r inside `` if the user requested igncr. >++# But we know of no other shell where ac_cr would be empty at this >++# point, so we can use a bashism as a fallback. >++if test "x$ac_cr" = x; then >++ eval ac_cr=\$\'\\r\' >++fi >++ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` >++if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then >++ ac_cs_awk_cr='\\r' >++else >++ ac_cs_awk_cr=$ac_cr >++fi >++ >++echo 'BEGIN {' >"$ac_tmp/subs1.awk" && >++_ACEOF >+ >+ >++{ >++ echo "cat >conf$$subs.awk <<_ACEOF" && >++ echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && >++ echo "_ACEOF" >++} >conf$$subs.sh || >++ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 >++ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` >+ ac_delim='%!_!# ' >+ for ac_last_try in false false false false false :; do >+- cat >conf$$subs.sed <<_ACEOF >+-SHELL!$SHELL$ac_delim >+-PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim >+-PACKAGE_NAME!$PACKAGE_NAME$ac_delim >+-PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim >+-PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim >+-PACKAGE_STRING!$PACKAGE_STRING$ac_delim >+-PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim >+-exec_prefix!$exec_prefix$ac_delim >+-prefix!$prefix$ac_delim >+-program_transform_name!$program_transform_name$ac_delim >+-bindir!$bindir$ac_delim >+-sbindir!$sbindir$ac_delim >+-libexecdir!$libexecdir$ac_delim >+-datarootdir!$datarootdir$ac_delim >+-datadir!$datadir$ac_delim >+-sysconfdir!$sysconfdir$ac_delim >+-sharedstatedir!$sharedstatedir$ac_delim >+-localstatedir!$localstatedir$ac_delim >+-includedir!$includedir$ac_delim >+-oldincludedir!$oldincludedir$ac_delim >+-docdir!$docdir$ac_delim >+-infodir!$infodir$ac_delim >+-htmldir!$htmldir$ac_delim >+-dvidir!$dvidir$ac_delim >+-pdfdir!$pdfdir$ac_delim >+-psdir!$psdir$ac_delim >+-libdir!$libdir$ac_delim >+-localedir!$localedir$ac_delim >+-mandir!$mandir$ac_delim >+-DEFS!$DEFS$ac_delim >+-ECHO_C!$ECHO_C$ac_delim >+-ECHO_N!$ECHO_N$ac_delim >+-ECHO_T!$ECHO_T$ac_delim >+-LIBS!$LIBS$ac_delim >+-build_alias!$build_alias$ac_delim >+-host_alias!$host_alias$ac_delim >+-target_alias!$target_alias$ac_delim >+-INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim >+-INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim >+-INSTALL_DATA!$INSTALL_DATA$ac_delim >+-CYGPATH_W!$CYGPATH_W$ac_delim >+-PACKAGE!$PACKAGE$ac_delim >+-VERSION!$VERSION$ac_delim >+-ACLOCAL!$ACLOCAL$ac_delim >+-AUTOCONF!$AUTOCONF$ac_delim >+-AUTOMAKE!$AUTOMAKE$ac_delim >+-AUTOHEADER!$AUTOHEADER$ac_delim >+-MAKEINFO!$MAKEINFO$ac_delim >+-install_sh!$install_sh$ac_delim >+-STRIP!$STRIP$ac_delim >+-INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim >+-mkdir_p!$mkdir_p$ac_delim >+-AWK!$AWK$ac_delim >+-SET_MAKE!$SET_MAKE$ac_delim >+-am__leading_dot!$am__leading_dot$ac_delim >+-AMTAR!$AMTAR$ac_delim >+-am__tar!$am__tar$ac_delim >+-am__untar!$am__untar$ac_delim >+-CC!$CC$ac_delim >+-CFLAGS!$CFLAGS$ac_delim >+-LDFLAGS!$LDFLAGS$ac_delim >+-CPPFLAGS!$CPPFLAGS$ac_delim >+-ac_ct_CC!$ac_ct_CC$ac_delim >+-EXEEXT!$EXEEXT$ac_delim >+-OBJEXT!$OBJEXT$ac_delim >+-DEPDIR!$DEPDIR$ac_delim >+-am__include!$am__include$ac_delim >+-am__quote!$am__quote$ac_delim >+-AMDEP_TRUE!$AMDEP_TRUE$ac_delim >+-AMDEP_FALSE!$AMDEP_FALSE$ac_delim >+-AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim >+-CCDEPMODE!$CCDEPMODE$ac_delim >+-am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim >+-am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim >+-CXX!$CXX$ac_delim >+-CXXFLAGS!$CXXFLAGS$ac_delim >+-ac_ct_CXX!$ac_ct_CXX$ac_delim >+-CXXDEPMODE!$CXXDEPMODE$ac_delim >+-am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim >+-am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim >+-RANLIB!$RANLIB$ac_delim >+-CPP!$CPP$ac_delim >+-GREP!$GREP$ac_delim >+-EGREP!$EGREP$ac_delim >+-LIBOBJS!$LIBOBJS$ac_delim >+-GRAPHICS_TRUE!$GRAPHICS_TRUE$ac_delim >+-GRAPHICS_FALSE!$GRAPHICS_FALSE$ac_delim >+-DIRECTFB_CONFIG!$DIRECTFB_CONFIG$ac_delim >+-XMKMF!$XMKMF$ac_delim >+-ATHEOS_GR_TRUE!$ATHEOS_GR_TRUE$ac_delim >+-ATHEOS_GR_FALSE!$ATHEOS_GR_FALSE$ac_delim >+-FREETYPE!$FREETYPE$ac_delim >+-LTLIBOBJS!$LTLIBOBJS$ac_delim >+-_ACEOF >++ . ./conf$$subs.sh || >++ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 >+ >+- if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 93; then >++ ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` >++ if test $ac_delim_n = $ac_delim_num; then >+ break >+ elif $ac_last_try; then >+- { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 >+-echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} >+- { (exit 1); exit 1; }; } >++ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 >+ else >+ ac_delim="$ac_delim!$ac_delim _$ac_delim!! " >+ fi >+ done >++rm -f conf$$subs.sh >+ >+-ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` >+-if test -n "$ac_eof"; then >+- ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` >+- ac_eof=`expr $ac_eof + 1` >+-fi >++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 >++cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && >++_ACEOF >++sed -n ' >++h >++s/^/S["/; s/!.*/"]=/ >++p >++g >++s/^[^!]*!// >++:repl >++t repl >++s/'"$ac_delim"'$// >++t delim >++:nl >++h >++s/\(.\{148\}\)..*/\1/ >++t more1 >++s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ >++p >++n >++b repl >++:more1 >++s/["\\]/\\&/g; s/^/"/; s/$/"\\/ >++p >++g >++s/.\{148\}// >++t nl >++:delim >++h >++s/\(.\{148\}\)..*/\1/ >++t more2 >++s/["\\]/\\&/g; s/^/"/; s/$/"/ >++p >++b >++:more2 >++s/["\\]/\\&/g; s/^/"/; s/$/"\\/ >++p >++g >++s/.\{148\}// >++t delim >++' <conf$$subs.awk | sed ' >++/^[^""]/{ >++ N >++ s/\n// >++} >++' >>$CONFIG_STATUS || ac_write_fail=1 >++rm -f conf$$subs.awk >++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 >++_ACAWK >++cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && >++ for (key in S) S_is_set[key] = 1 >++ FS = "" >+ >+-cat >>$CONFIG_STATUS <<_ACEOF >+-cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof >+-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end >++} >++{ >++ line = $ 0 >++ nfields = split(line, field, "@") >++ substed = 0 >++ len = length(field[1]) >++ for (i = 2; i < nfields; i++) { >++ key = field[i] >++ keylen = length(key) >++ if (S_is_set[key]) { >++ value = S[key] >++ line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) >++ len += length(value) + length(field[++i]) >++ substed = 1 >++ } else >++ len += 1 + keylen >++ } >++ >++ print line >++} >++ >++_ACAWK >+ _ACEOF >+-sed ' >+-s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g >+-s/^/s,@/; s/!/@,|#_!!_#|/ >+-:n >+-t n >+-s/'"$ac_delim"'$/,g/; t >+-s/$/\\/; p >+-N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n >+-' >>$CONFIG_STATUS <conf$$subs.sed >+-rm -f conf$$subs.sed >+-cat >>$CONFIG_STATUS <<_ACEOF >+-:end >+-s/|#_!!_#|//g >+-CEOF$ac_eof >++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 >++if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then >++ sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" >++else >++ cat >++fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ >++ || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 >+ _ACEOF >+ >+- >+-# VPATH may cause trouble with some makes, so we remove $(srcdir), >+-# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and >++# VPATH may cause trouble with some makes, so we remove sole $(srcdir), >++# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and >+ # trailing colons and then remove the whole line if VPATH becomes empty >+ # (actually we leave an empty line to preserve line numbers). >+ if test "x$srcdir" = x.; then >+- ac_vpsub='/^[ ]*VPATH[ ]*=/{ >+-s/:*\$(srcdir):*/:/ >+-s/:*\${srcdir}:*/:/ >+-s/:*@srcdir@:*/:/ >+-s/^\([^=]*=[ ]*\):*/\1/ >++ ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ >++h >++s/// >++s/^/:/ >++s/[ ]*$/:/ >++s/:\$(srcdir):/:/g >++s/:\${srcdir}:/:/g >++s/:@srcdir@:/:/g >++s/^:*// >+ s/:*$// >++x >++s/\(=[ ]*\).*/\1/ >++G >++s/\n// >+ s/^[^=]*=[ ]*$// >+ }' >+ fi >+ >+-cat >>$CONFIG_STATUS <<\_ACEOF >++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 >+ fi # test -n "$CONFIG_FILES" >+ >++# Set up the scripts for CONFIG_HEADERS section. >++# No need to generate them if there are no CONFIG_HEADERS. >++# This happens for instance with `./config.status Makefile'. >++if test -n "$CONFIG_HEADERS"; then >++cat >"$ac_tmp/defines.awk" <<\_ACAWK || >++BEGIN { >++_ACEOF >+ >+-for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS >++# Transform confdefs.h into an awk script `defines.awk', embedded as >++# here-document in config.status, that substitutes the proper values into >++# config.h.in to produce config.h. >++ >++# Create a delimiter string that does not exist in confdefs.h, to ease >++# handling of long lines. >++ac_delim='%!_!# ' >++for ac_last_try in false false :; do >++ ac_tt=`sed -n "/$ac_delim/p" confdefs.h` >++ if test -z "$ac_tt"; then >++ break >++ elif $ac_last_try; then >++ as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 >++ else >++ ac_delim="$ac_delim!$ac_delim _$ac_delim!! " >++ fi >++done >++ >++# For the awk script, D is an array of macro values keyed by name, >++# likewise P contains macro parameters if any. Preserve backslash >++# newline sequences. >++ >++ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* >++sed -n ' >++s/.\{148\}/&'"$ac_delim"'/g >++t rset >++:rset >++s/^[ ]*#[ ]*define[ ][ ]*/ / >++t def >++d >++:def >++s/\\$// >++t bsnl >++s/["\\]/\\&/g >++s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ >++D["\1"]=" \3"/p >++s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p >++d >++:bsnl >++s/["\\]/\\&/g >++s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ >++D["\1"]=" \3\\\\\\n"\\/p >++t cont >++s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p >++t cont >++d >++:cont >++n >++s/.\{148\}/&'"$ac_delim"'/g >++t clear >++:clear >++s/\\$// >++t bsnlc >++s/["\\]/\\&/g; s/^/"/; s/$/"/p >++d >++:bsnlc >++s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p >++b cont >++' <confdefs.h | sed ' >++s/'"$ac_delim"'/"\\\ >++"/g' >>$CONFIG_STATUS || ac_write_fail=1 >++ >++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 >++ for (key in D) D_is_set[key] = 1 >++ FS = "" >++} >++/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { >++ line = \$ 0 >++ split(line, arg, " ") >++ if (arg[1] == "#") { >++ defundef = arg[2] >++ mac1 = arg[3] >++ } else { >++ defundef = substr(arg[1], 2) >++ mac1 = arg[2] >++ } >++ split(mac1, mac2, "(") #) >++ macro = mac2[1] >++ prefix = substr(line, 1, index(line, defundef) - 1) >++ if (D_is_set[macro]) { >++ # Preserve the white space surrounding the "#". >++ print prefix "define", macro P[macro] D[macro] >++ next >++ } else { >++ # Replace #undef with comments. This is necessary, for example, >++ # in the case of _POSIX_SOURCE, which is predefined and required >++ # on some systems where configure will not decide to define it. >++ if (defundef == "undef") { >++ print "/*", prefix defundef, macro, "*/" >++ next >++ } >++ } >++} >++{ print } >++_ACAWK >++_ACEOF >++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 >++ as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 >++fi # test -n "$CONFIG_HEADERS" >++ >++ >++eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" >++shift >++for ac_tag >+ do >+ case $ac_tag in >+ :[FHLC]) ac_mode=$ac_tag; continue;; >+ esac >+ case $ac_mode$ac_tag in >+ :[FHL]*:*);; >+- :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 >+-echo "$as_me: error: Invalid tag $ac_tag." >&2;} >+- { (exit 1); exit 1; }; };; >++ :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; >+ :[FH]-) ac_tag=-:-;; >+ :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; >+ esac >+@@ -20252,7 +10161,7 @@ echo "$as_me: error: Invalid tag $ac_tag >+ for ac_f >+ do >+ case $ac_f in >+- -) ac_f="$tmp/stdin";; >++ -) ac_f="$ac_tmp/stdin";; >+ *) # Look for the file first in the build tree, then in the source tree >+ # (if the path is not absolute). The absolute path cannot be DOS-style, >+ # because $ac_f cannot contain `:'. >+@@ -20261,26 +10170,34 @@ echo "$as_me: error: Invalid tag $ac_tag >+ [\\/$]*) false;; >+ *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; >+ esac || >+- { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 >+-echo "$as_me: error: cannot find input file: $ac_f" >&2;} >+- { (exit 1); exit 1; }; };; >++ as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; >+ esac >+- ac_file_inputs="$ac_file_inputs $ac_f" >++ case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac >++ as_fn_append ac_file_inputs " '$ac_f'" >+ done >+ >+ # Let's still pretend it is `configure' which instantiates (i.e., don't >+ # use $as_me), people would be surprised to read: >+ # /* config.h. Generated by config.status. */ >+- configure_input="Generated from "`IFS=: >+- echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." >++ configure_input='Generated from '` >++ $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' >++ `' by configure.' >+ if test x"$ac_file" != x-; then >+ configure_input="$ac_file. $configure_input" >+- { echo "$as_me:$LINENO: creating $ac_file" >&5 >+-echo "$as_me: creating $ac_file" >&6;} >++ { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 >++$as_echo "$as_me: creating $ac_file" >&6;} >+ fi >++ # Neutralize special characters interpreted by sed in replacement strings. >++ case $configure_input in #( >++ *\&* | *\|* | *\\* ) >++ ac_sed_conf_input=`$as_echo "$configure_input" | >++ sed 's/[\\\\&|]/\\\\&/g'`;; #( >++ *) ac_sed_conf_input=$configure_input;; >++ esac >+ >+ case $ac_tag in >+- *:-:* | *:-) cat >"$tmp/stdin";; >++ *:-:* | *:-) cat >"$ac_tmp/stdin" \ >++ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; >+ esac >+ ;; >+ esac >+@@ -20290,42 +10207,7 @@ $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^ >+ X"$ac_file" : 'X\(//\)[^/]' \| \ >+ X"$ac_file" : 'X\(//\)$' \| \ >+ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || >+-echo X"$ac_file" | >+- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ >+- s//\1/ >+- q >+- } >+- /^X\(\/\/\)[^/].*/{ >+- s//\1/ >+- q >+- } >+- /^X\(\/\/\)$/{ >+- s//\1/ >+- q >+- } >+- /^X\(\/\).*/{ >+- s//\1/ >+- q >+- } >+- s/.*/./; q'` >+- { as_dir="$ac_dir" >+- case $as_dir in #( >+- -*) as_dir=./$as_dir;; >+- esac >+- test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { >+- as_dirs= >+- while :; do >+- case $as_dir in #( >+- *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( >+- *) as_qdir=$as_dir;; >+- esac >+- as_dirs="'$as_qdir' $as_dirs" >+- as_dir=`$as_dirname -- "$as_dir" || >+-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ >+- X"$as_dir" : 'X\(//\)[^/]' \| \ >+- X"$as_dir" : 'X\(//\)$' \| \ >+- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || >+-echo X"$as_dir" | >++$as_echo X"$ac_file" | >+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ >+ s//\1/ >+ q >+@@ -20343,20 +10225,15 @@ echo X"$as_dir" | >+ q >+ } >+ s/.*/./; q'` >+- test -d "$as_dir" && break >+- done >+- test -z "$as_dirs" || eval "mkdir $as_dirs" >+- } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 >+-echo "$as_me: error: cannot create directory $as_dir" >&2;} >+- { (exit 1); exit 1; }; }; } >++ as_dir="$ac_dir"; as_fn_mkdir_p >+ ac_builddir=. >+ >+ case "$ac_dir" in >+ .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; >+ *) >+- ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` >++ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` >+ # A ".." for each directory in $ac_dir_suffix. >+- ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` >++ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` >+ case $ac_top_builddir_sub in >+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;; >+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; >+@@ -20394,14 +10271,19 @@ ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_ >+ [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; >+ *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; >+ esac >++ ac_MKDIR_P=$MKDIR_P >++ case $MKDIR_P in >++ [\\/$]* | ?:[\\/]* ) ;; >++ */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; >++ esac >+ _ACEOF >+ >+-cat >>$CONFIG_STATUS <<\_ACEOF >++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 >+ # If the template does not know about datarootdir, expand it. >+ # FIXME: This hack should be removed a few years after 2.60. >+ ac_datarootdir_hack=; ac_datarootdir_seen= >+- >+-case `sed -n '/datarootdir/ { >++ac_sed_dataroot=' >++/datarootdir/ { >+ p >+ q >+ } >+@@ -20409,36 +10291,37 @@ case `sed -n '/datarootdir/ { >+ /@docdir@/p >+ /@infodir@/p >+ /@localedir@/p >+-/@mandir@/p >+-' $ac_file_inputs` in >++/@mandir@/p' >++case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in >+ *datarootdir*) ac_datarootdir_seen=yes;; >+ *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) >+- { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 >+-echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} >++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 >++$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} >+ _ACEOF >+-cat >>$CONFIG_STATUS <<_ACEOF >++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 >+ ac_datarootdir_hack=' >+ s&@datadir@&$datadir&g >+ s&@docdir@&$docdir&g >+ s&@infodir@&$infodir&g >+ s&@localedir@&$localedir&g >+ s&@mandir@&$mandir&g >+- s&\\\${datarootdir}&$datarootdir&g' ;; >++ s&\\\${datarootdir}&$datarootdir&g' ;; >+ esac >+ _ACEOF >+ >+ # Neutralize VPATH when `$srcdir' = `.'. >+ # Shell code in configure.ac might set extrasub. >+ # FIXME: do we really want to maintain this feature? >+-cat >>$CONFIG_STATUS <<_ACEOF >+- sed "$ac_vpsub >++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 >++ac_sed_extra="$ac_vpsub >+ $extrasub >+ _ACEOF >+-cat >>$CONFIG_STATUS <<\_ACEOF >++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 >+ :t >+ /@[a-zA-Z_][a-zA-Z_0-9]*@/!b >+-s&@configure_input@&$configure_input&;t t >++s|@configure_input@|$ac_sed_conf_input|;t t >+ s&@top_builddir@&$ac_top_builddir_sub&;t t >++s&@top_build_prefix@&$ac_top_build_prefix&;t t >+ s&@srcdir@&$ac_srcdir&;t t >+ s&@abs_srcdir@&$ac_abs_srcdir&;t t >+ s&@top_srcdir@&$ac_top_srcdir&;t t >+@@ -20447,136 +10330,68 @@ s&@builddir@&$ac_builddir&;t t >+ s&@abs_builddir@&$ac_abs_builddir&;t t >+ s&@abs_top_builddir@&$ac_abs_top_builddir&;t t >+ s&@INSTALL@&$ac_INSTALL&;t t >++s&@MKDIR_P@&$ac_MKDIR_P&;t t >+ $ac_datarootdir_hack >+-" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out >++" >++eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ >++ >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 >+ >+ test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && >+- { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && >+- { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && >+- { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' >+-which seems to be undefined. Please make sure it is defined." >&5 >+-echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' >+-which seems to be undefined. Please make sure it is defined." >&2;} >++ { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && >++ { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ >++ "$ac_tmp/out"`; test -z "$ac_out"; } && >++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' >++which seems to be undefined. Please make sure it is defined" >&5 >++$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' >++which seems to be undefined. Please make sure it is defined" >&2;} >+ >+- rm -f "$tmp/stdin" >++ rm -f "$ac_tmp/stdin" >+ case $ac_file in >+- -) cat "$tmp/out"; rm -f "$tmp/out";; >+- *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; >+- esac >++ -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; >++ *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; >++ esac \ >++ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 >+ ;; >+ :H) >+ # >+ # CONFIG_HEADER >+ # >+-_ACEOF >+- >+-# Transform confdefs.h into a sed script `conftest.defines', that >+-# substitutes the proper values into config.h.in to produce config.h. >+-rm -f conftest.defines conftest.tail >+-# First, append a space to every undef/define line, to ease matching. >+-echo 's/$/ /' >conftest.defines >+-# Then, protect against being on the right side of a sed subst, or in >+-# an unquoted here document, in config.status. If some macros were >+-# called several times there might be several #defines for the same >+-# symbol, which is useless. But do not sort them, since the last >+-# AC_DEFINE must be honored. >+-ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* >+-# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where >+-# NAME is the cpp macro being defined, VALUE is the value it is being given. >+-# PARAMS is the parameter list in the macro definition--in most cases, it's >+-# just an empty string. >+-ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*' >+-ac_dB='\\)[ (].*,\\1define\\2' >+-ac_dC=' ' >+-ac_dD=' ,' >+- >+-uniq confdefs.h | >+- sed -n ' >+- t rset >+- :rset >+- s/^[ ]*#[ ]*define[ ][ ]*// >+- t ok >+- d >+- :ok >+- s/[\\&,]/\\&/g >+- s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p >+- s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p >+- ' >>conftest.defines >+- >+-# Remove the space that was appended to ease matching. >+-# Then replace #undef with comments. This is necessary, for >+-# example, in the case of _POSIX_SOURCE, which is predefined and required >+-# on some systems where configure will not decide to define it. >+-# (The regexp can be short, since the line contains either #define or #undef.) >+-echo 's/ $// >+-s,^[ #]*u.*,/* & */,' >>conftest.defines >+- >+-# Break up conftest.defines: >+-ac_max_sed_lines=50 >+- >+-# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1" >+-# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2" >+-# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1" >+-# et cetera. >+-ac_in='$ac_file_inputs' >+-ac_out='"$tmp/out1"' >+-ac_nxt='"$tmp/out2"' >+- >+-while : >+-do >+- # Write a here document: >+- cat >>$CONFIG_STATUS <<_ACEOF >+- # First, check the format of the line: >+- cat >"\$tmp/defines.sed" <<\\CEOF >+-/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def >+-/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def >+-b >+-:def >+-_ACEOF >+- sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS >+- echo 'CEOF >+- sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS >+- ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in >+- sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail >+- grep . conftest.tail >/dev/null || break >+- rm -f conftest.defines >+- mv conftest.tail conftest.defines >+-done >+-rm -f conftest.defines conftest.tail >+- >+-echo "ac_result=$ac_in" >>$CONFIG_STATUS >+-cat >>$CONFIG_STATUS <<\_ACEOF >+ if test x"$ac_file" != x-; then >+- echo "/* $configure_input */" >"$tmp/config.h" >+- cat "$ac_result" >>"$tmp/config.h" >+- if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then >+- { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 >+-echo "$as_me: $ac_file is unchanged" >&6;} >++ { >++ $as_echo "/* $configure_input */" \ >++ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" >++ } >"$ac_tmp/config.h" \ >++ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 >++ if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then >++ { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 >++$as_echo "$as_me: $ac_file is unchanged" >&6;} >+ else >+- rm -f $ac_file >+- mv "$tmp/config.h" $ac_file >++ rm -f "$ac_file" >++ mv "$ac_tmp/config.h" "$ac_file" \ >++ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 >+ fi >+ else >+- echo "/* $configure_input */" >+- cat "$ac_result" >++ $as_echo "/* $configure_input */" \ >++ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ >++ || as_fn_error $? "could not create -" "$LINENO" 5 >+ fi >+- rm -f "$tmp/out12" >+-# Compute $ac_file's index in $config_headers. >++# Compute "$ac_file"'s index in $config_headers. >++_am_arg="$ac_file" >+ _am_stamp_count=1 >+ for _am_header in $config_headers :; do >+ case $_am_header in >+- $ac_file | $ac_file:* ) >++ $_am_arg | $_am_arg:* ) >+ break ;; >+ * ) >+ _am_stamp_count=`expr $_am_stamp_count + 1` ;; >+ esac >+ done >+-echo "timestamp for $ac_file" >`$as_dirname -- $ac_file || >+-$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ >+- X$ac_file : 'X\(//\)[^/]' \| \ >+- X$ac_file : 'X\(//\)$' \| \ >+- X$ac_file : 'X\(/\)' \| . 2>/dev/null || >+-echo X$ac_file | >++echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || >++$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ >++ X"$_am_arg" : 'X\(//\)[^/]' \| \ >++ X"$_am_arg" : 'X\(//\)$' \| \ >++ X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || >++$as_echo X"$_am_arg" | >+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ >+ s//\1/ >+ q >+@@ -20596,29 +10411,40 @@ echo X$ac_file | >+ s/.*/./; q'`/stamp-h$_am_stamp_count >+ ;; >+ >+- :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5 >+-echo "$as_me: executing $ac_file commands" >&6;} >++ :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 >++$as_echo "$as_me: executing $ac_file commands" >&6;} >+ ;; >+ esac >+ >+ >+ case $ac_file$ac_mode in >+- "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do >+- # Strip MF so we end up with the name of the file. >+- mf=`echo "$mf" | sed -e 's/:.*$//'` >+- # Check whether this is an Automake generated Makefile or not. >+- # We used to match only the files named `Makefile.in', but >+- # some people rename them; so instead we look at the file content. >+- # Grep'ing the first line is not enough: some people post-process >+- # each Makefile.in and add a new line on top of each file to say so. >+- # So let's grep whole file. >+- if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then >+- dirpart=`$as_dirname -- "$mf" || >++ "depfiles":C) test x"$AMDEP_TRUE" != x"" || { >++ # Older Autoconf quotes --file arguments for eval, but not when files >++ # are listed without --file. Let's play safe and only enable the eval >++ # if we detect the quoting. >++ case $CONFIG_FILES in >++ *\'*) eval set x "$CONFIG_FILES" ;; >++ *) set x $CONFIG_FILES ;; >++ esac >++ shift >++ for mf >++ do >++ # Strip MF so we end up with the name of the file. >++ mf=`echo "$mf" | sed -e 's/:.*$//'` >++ # Check whether this is an Automake generated Makefile or not. >++ # We used to match only the files named 'Makefile.in', but >++ # some people rename them; so instead we look at the file content. >++ # Grep'ing the first line is not enough: some people post-process >++ # each Makefile.in and add a new line on top of each file to say so. >++ # Grep'ing the whole file is not good either: AIX grep has a line >++ # limit of 2048, but all sed's we know have understand at least 4000. >++ if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then >++ dirpart=`$as_dirname -- "$mf" || >+ $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ >+ X"$mf" : 'X\(//\)[^/]' \| \ >+ X"$mf" : 'X\(//\)$' \| \ >+ X"$mf" : 'X\(/\)' \| . 2>/dev/null || >+-echo X"$mf" | >++$as_echo X"$mf" | >+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ >+ s//\1/ >+ q >+@@ -20636,68 +10462,31 @@ echo X"$mf" | >+ q >+ } >+ s/.*/./; q'` >+- else >+- continue >+- fi >+- # Extract the definition of DEPDIR, am__include, and am__quote >+- # from the Makefile without running `make'. >+- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` >+- test -z "$DEPDIR" && continue >+- am__include=`sed -n 's/^am__include = //p' < "$mf"` >+- test -z "am__include" && continue >+- am__quote=`sed -n 's/^am__quote = //p' < "$mf"` >+- # When using ansi2knr, U may be empty or an underscore; expand it >+- U=`sed -n 's/^U = //p' < "$mf"` >+- # Find all dependency output files, they are included files with >+- # $(DEPDIR) in their names. We invoke sed twice because it is the >+- # simplest approach to changing $(DEPDIR) to its actual value in the >+- # expansion. >+- for file in `sed -n " >+- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ >+- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do >+- # Make sure the directory exists. >+- test -f "$dirpart/$file" && continue >+- fdir=`$as_dirname -- "$file" || >++ else >++ continue >++ fi >++ # Extract the definition of DEPDIR, am__include, and am__quote >++ # from the Makefile without running 'make'. >++ DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` >++ test -z "$DEPDIR" && continue >++ am__include=`sed -n 's/^am__include = //p' < "$mf"` >++ test -z "$am__include" && continue >++ am__quote=`sed -n 's/^am__quote = //p' < "$mf"` >++ # Find all dependency output files, they are included files with >++ # $(DEPDIR) in their names. We invoke sed twice because it is the >++ # simplest approach to changing $(DEPDIR) to its actual value in the >++ # expansion. >++ for file in `sed -n " >++ s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ >++ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do >++ # Make sure the directory exists. >++ test -f "$dirpart/$file" && continue >++ fdir=`$as_dirname -- "$file" || >+ $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ >+ X"$file" : 'X\(//\)[^/]' \| \ >+ X"$file" : 'X\(//\)$' \| \ >+ X"$file" : 'X\(/\)' \| . 2>/dev/null || >+-echo X"$file" | >+- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ >+- s//\1/ >+- q >+- } >+- /^X\(\/\/\)[^/].*/{ >+- s//\1/ >+- q >+- } >+- /^X\(\/\/\)$/{ >+- s//\1/ >+- q >+- } >+- /^X\(\/\).*/{ >+- s//\1/ >+- q >+- } >+- s/.*/./; q'` >+- { as_dir=$dirpart/$fdir >+- case $as_dir in #( >+- -*) as_dir=./$as_dir;; >+- esac >+- test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { >+- as_dirs= >+- while :; do >+- case $as_dir in #( >+- *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( >+- *) as_qdir=$as_dir;; >+- esac >+- as_dirs="'$as_qdir' $as_dirs" >+- as_dir=`$as_dirname -- "$as_dir" || >+-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ >+- X"$as_dir" : 'X\(//\)[^/]' \| \ >+- X"$as_dir" : 'X\(//\)$' \| \ >+- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || >+-echo X"$as_dir" | >++$as_echo X"$file" | >+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ >+ s//\1/ >+ q >+@@ -20715,27 +10504,25 @@ echo X"$as_dir" | >+ q >+ } >+ s/.*/./; q'` >+- test -d "$as_dir" && break >++ as_dir=$dirpart/$fdir; as_fn_mkdir_p >++ # echo "creating $dirpart/$file" >++ echo '# dummy' > "$dirpart/$file" >+ done >+- test -z "$as_dirs" || eval "mkdir $as_dirs" >+- } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 >+-echo "$as_me: error: cannot create directory $as_dir" >&2;} >+- { (exit 1); exit 1; }; }; } >+- # echo "creating $dirpart/$file" >+- echo '# dummy' > "$dirpart/$file" >+ done >+-done >++} >+ ;; >+ >+ esac >+ done # for ac_tag >+ >+ >+-{ (exit 0); exit 0; } >++as_fn_exit 0 >+ _ACEOF >+-chmod +x $CONFIG_STATUS >+ ac_clean_files=$ac_clean_files_save >+ >++test $ac_write_fail = 0 || >++ as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 >++ >+ >+ # configure is writing to config.log, and then calls config.status. >+ # config.status does its own redirection, appending to config.log. >+@@ -20755,7 +10542,11 @@ if test "$no_create" != yes; then >+ exec 5>>config.log >+ # Use ||, not &&, to avoid exiting from the if with $? = 1, which >+ # would make configure fail if this is the last instruction. >+- $ac_cs_success || { (exit 1); exit 1; } >++ $ac_cs_success || as_fn_exit 1 >++fi >++if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then >++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 >++$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} >+ fi >+ >+ > >Property changes on: www/links-hacked/files/patch-configure >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: www/links-hacked/files/patch-configure.in >=================================================================== >--- www/links-hacked/files/patch-configure.in (revision 0) >+++ www/links-hacked/files/patch-configure.in (working copy) >@@ -0,0 +1,12 @@ >+--- configure.in.orig 2008-06-07 13:50:42 UTC >++++ configure.in >+@@ -402,6 +402,9 @@ if test -z "$disable_ssl"; then >+ fi >+ AC_MSG_RESULT($cf_result) >+ cf_have_ssl=$cf_result; >++ >++AC_CHECK_LIB(crypto, RAND_egd, AC_DEFINE(HAVE_RAND_EGD, 1, [Define if the libcrypto has RAND_egd])) >++ >+ #endif >+ >+ cf_have_atheos=no > >Property changes on: www/links-hacked/files/patch-configure.in >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: www/links-hacked/files/patch-https.c >=================================================================== >--- www/links-hacked/files/patch-https.c (revision 0) >+++ www/links-hacked/files/patch-https.c (working copy) >@@ -0,0 +1,14 @@ >+--- https.c.orig 2008-06-07 07:41:41 UTC >++++ https.c >+@@ -15,7 +15,10 @@ SSL *getSSL(void) >+ char f_randfile[PATH_MAX]; >+ >+ if (!context) { >+- if (RAND_egd(RAND_file_name(f_randfile, sizeof(f_randfile)))<0){ >++#ifdef HAVE_RAND_EGD >++ if (RAND_egd(RAND_file_name(f_randfile, sizeof(f_randfile)))<0) >++#endif >++ { >+ /* Not an EGD, so read and write to it */ >+ if (RAND_load_file(f_randfile, -1)) >+ RAND_write_file(f_randfile); > >Property changes on: www/links-hacked/files/patch-https.c >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: www/links-hacked/files/patch-png.c >=================================================================== >--- www/links-hacked/files/patch-png.c (revision 381793) >+++ www/links-hacked/files/patch-png.c (working copy) >@@ -1,6 +1,6 @@ >---- png.c.orig 2008-06-07 09:41:41.000000000 +0200 >-+++ png.c 2012-05-06 09:32:52.000000000 +0200 >-@@ -38,7 +38,7 @@ >+--- png.c.orig 2008-06-07 07:41:41 UTC >++++ png.c >+@@ -38,7 +38,7 @@ void img_my_png_warning(png_structp a, p > /* Error for from-web PNG images. */ > void img_my_png_error(png_structp png_ptr, png_const_charp error_string) > { >@@ -9,7 +9,7 @@ > } > > void png_info_callback(png_structp png_ptr, png_infop info_ptr) >-@@ -192,7 +192,7 @@ >+@@ -192,7 +192,7 @@ void png_start(struct cached_image *cimg > #ifdef DEBUG > if (!info_ptr) internal ("png_create_info_struct failed\n"); > #endif /* #ifdef DEBUG */ >@@ -18,7 +18,7 @@ > error: > png_destroy_read_struct(&png_ptr, &info_ptr, > (png_infopp)NULL); >-@@ -202,7 +202,7 @@ >+@@ -202,7 +202,7 @@ error: > png_set_progressive_read_fn(png_ptr, NULL, > png_info_callback, png_row_callback, > png_end_callback); >@@ -27,7 +27,7 @@ > decoder=mem_alloc(sizeof(*decoder)); > decoder->png_ptr=png_ptr; > decoder->info_ptr=info_ptr; >-@@ -221,7 +221,7 @@ >+@@ -221,7 +221,7 @@ void png_restart(struct cached_image *ci > png_ptr=((struct png_decoder *)(cimg->decoder))->png_ptr; > info_ptr=((struct png_decoder *)(cimg->decoder))->info_ptr; > end_callback_hit=0;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 198766
:
154622
|
154623
|
162414